/* ══════════════════════════════════════════════════════
   Components — Native CSS (served directly by Asset Mapper)
   ══════════════════════════════════════════════════════ */

/* ── Layout ── */
.main-content {
    flex: 1 1 0%;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.main-content .container {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ── Form card ── */
.form-card {
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    border: 1px solid oklch(95% 0 0);
    border-radius: var(--radius-box, 1rem);
}

.form-card .form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: oklch(12% 0.042 264.695);
    margin-bottom: .5rem;
}

.form-card .form-description {
    font-size: 1rem;
    color: oklch(12% 0.042 264.695 / .6);
    margin-bottom: 1.5rem;
}

/* ── Form fields ── */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: oklch(12% 0.042 264.695);
    margin-bottom: .375rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 767px) {
    .form-row { grid-template-columns: 1fr; }
}

.field-help {
    font-size: .75rem;
    color: oklch(12% 0.042 264.695 / .5);
    margin-top: .25rem;
}

/* ── Radio group ── */
.radio-group {
    display: flex;
    gap: .75rem;
}

.radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .625rem 1rem;
    border: 2px solid oklch(95% 0 0);
    border-radius: .5rem;
    cursor: pointer;
    font-size: .875rem;
    font-weight: 500;
    color: oklch(12% 0.042 264.695 / .6);
    background: #fff;
    transition: all .2s;
}
.radio-label:hover {
    border-color: #00885b;
}
.radio-label:has(:checked) {
    border-color: #00885b;
    background: oklch(76% 0.177 163.223 / .05);
    color: #00885b;
    font-weight: 600;
}

/* ── Quick amounts ── */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
    .quick-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Company fields ── */
.company-fields {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px dashed oklch(95% 0 0);
}

.company-fields-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: oklch(12% 0.042 264.695);
    margin-bottom: .5rem;
}

/* ── Buttons ── */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
}
@media (max-width: 767px) {
    .form-actions { flex-direction: column-reverse; }
}

/* ── Progress bar (stepper) ── */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding-top: 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    position: relative;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid oklch(95% 0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: oklch(12% 0.042 264.695 / .5);
    transition: all .2s;
}

.step-label {
    font-size: .875rem;
    color: oklch(12% 0.042 264.695 / .5);
    font-weight: 500;
}
@media (max-width: 767px) {
    .step-label { display: none; }
}

.progress-step.active .step-number {
    background: #00885b;
    border-color: #00885b;
    color: #fff;
}
.progress-step.active .step-label { color: #00885b; }

.progress-step.completed .step-number {
    background: oklch(76% 0.177 163.223);
    border-color: oklch(76% 0.177 163.223);
    color: #fff;
}
.progress-step.completed .step-label { color: oklch(76% 0.177 163.223); }

.progress-line {
    width: 5rem;
    height: 2px;
    background: oklch(95% 0 0);
    margin: 0 .5rem;
    align-self: flex-start;
    margin-top: 19px;
    transition: all .2s;
}
@media (max-width: 767px) {
    .progress-line { width: 2.5rem; }
}
.progress-line.completed { background: oklch(76% 0.177 163.223); }

/* ── Confirmation ── */
.confirmation-card {
    background: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1);
    border: 1px solid oklch(95% 0 0);
    border-radius: var(--radius-box, 1rem);
    padding: 2rem;
}
@media (max-width: 767px) {
    .confirmation-card { padding: 1.5rem; }
}

.confirmation-success,
.confirmation-error { text-align: center; padding: 2rem 0; }

.confirmation-icon { margin: 0 auto 1.5rem; width: 4rem; height: 4rem; }

.confirmation-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: oklch(12% 0.042 264.695);
    margin-bottom: 1rem;
}

.confirmation-message {
    font-size: 1.125rem;
    color: oklch(12% 0.042 264.695 / .6);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}
.confirmation-message strong { color: oklch(12% 0.042 264.695); }

.confirmation-details {
    background: oklch(97% 0.001 106.424);
    border-radius: .5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}
.confirmation-details p { margin-bottom: 1rem; color: oklch(12% 0.042 264.695 / .6); }

.confirmation-list { list-style: none; padding: 0; }

.confirmation-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .75rem 0;
    color: oklch(12% 0.042 264.695);
}
.confirmation-list li svg { flex-shrink: 0; margin-top: 2px; color: oklch(76% 0.177 163.223); }
.confirmation-list li div { flex: 1; }

.confirmation-thanks,
.confirmation-retry { font-size: 1rem; color: oklch(12% 0.042 264.695 / .6); margin-bottom: 1.5rem; }

.confirmation-actions { display: flex; gap: 1rem; justify-content: center; }
@media (max-width: 767px) {
    .confirmation-actions { flex-direction: column; }
}

.confirmation-error .confirmation-list li::before {
    content: '•';
    color: oklch(71% 0.194 13.428);
    font-weight: 700;
    display: inline-block;
    width: 1rem;
}
.confirmation-error .confirmation-list li svg { display: none; }

/* ── Utilities ── */
.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: oklch(12% 0.042 264.695);
    margin-bottom: 1rem;
}

.list-description { font-size: .875rem; color: oklch(12% 0.042 264.695 / .6); }

.important-note {
    background: oklch(76% 0.177 163.223 / .05);
    border: 1px solid oklch(76% 0.177 163.223 / .2);
    border-radius: .5rem;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.75;
}
.important-note strong { color: #00885b; }

.project-description {
    background: oklch(76% 0.177 163.223 / .05);
    border-left: 3px solid #00885b;
    padding: .75rem 1rem;
    margin-top: .75rem;
    border-radius: .25rem;
    font-size: 1rem;
    color: oklch(12% 0.042 264.695);
    line-height: 1.75;
}

/* ── Footer ── */
.main-footer {
    background: #fff;
    color: oklch(12% 0.042 264.695);
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    margin-top: auto;
    border-top: 1px solid oklch(95% 0 0);
}

.main-footer .container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid oklch(95% 0 0);
}
@media (max-width: 767px) {
    .footer-brand { flex-direction: column; text-align: center; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 1023px) {
    .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (max-width: 767px) {
    .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    border-radius: .75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
    flex-shrink: 0;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: oklch(12% 0.042 264.695);
    margin: 0;
    line-height: 1.1;
}

.footer-description {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #27ae60;
    margin-top: 1px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: oklch(12% 0.042 264.695);
    margin-bottom: .75rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.footer-links li { font-size: .9375rem; }

.footer-links a {
    color: oklch(12% 0.042 264.695 / .5);
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: oklch(76% 0.177 163.223); }

.footer-bottom {
    border-top: 1px solid oklch(95% 0 0);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .875rem;
    color: oklch(12% 0.042 264.695 / .5);
}
@media (max-width: 767px) {
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
.footer-bottom p { margin: 0; }

.footer-secure {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: oklch(76% 0.177 163.223);
    font-weight: 500;
}
.footer-secure svg { flex-shrink: 0; }

/* ── Pages légales ── */
.table-of-contents {
    background: oklch(97% 0.001 106.424);
    border-radius: .5rem;
    padding: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    border-radius: .5rem;
    background: oklch(97% 0.001 106.424);
    text-decoration: none;
    color: oklch(12% 0.042 264.695);
    transition: background .2s;
}
.contact-method:hover { background: oklch(95% 0 0); }

.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 767px) {
    .rights-grid { grid-template-columns: 1fr; }
}

.right-card {
    background: oklch(97% 0.001 106.424);
    border-radius: var(--radius-box, 1rem);
    padding: 1rem;
}

/* ── Social share buttons ── */
.share-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.95em;
    transition: all 0.3s ease;
}
.share-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: #fff !important;
    text-decoration: none !important;
}
.share-social-btn i { color: inherit !important; }
.share-social-btn--square { border-radius: 10px; }
.share-social-btn--fb { background: #1877f2; }
.share-social-btn--tw { background: #1da1f2; }
.share-social-btn--li { background: #0077b5; }
.share-social-btn--wa { background: #25d366; }

/* ── Article content (rich HTML from WordPress) ── */
.post-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #2d3436;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #00885a;
    display: inline-block;
}
.post-body h2:first-child { margin-top: 0; }

.post-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35em;
    font-weight: 700;
    color: #2d3436;
    margin-top: 32px;
    margin-bottom: 14px;
}

.post-body p {
    font-size: 1.1em;
    line-height: 1.85;
    color: #636e72;
    margin-bottom: 20px;
}

.post-body a {
    color: #00885a;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0, 136, 90, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s;
}
.post-body a:hover {
    color: #006644;
    text-decoration-color: #00885a;
}

.post-body strong {
    color: #2d3436;
    font-weight: 700;
}

.post-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.post-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #636e72;
}
.post-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: #00885a;
    border-radius: 50%;
}

.post-body ol {
    padding-left: 24px;
    margin-bottom: 24px;
}
.post-body ol li {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #636e72;
}

.post-body blockquote {
    margin: 32px 0;
    padding: 28px 32px;
    background: #f8f9fa;
    border-left: 4px solid #00885a;
    border-radius: 10px;
    position: relative;
}
.post-body blockquote::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4em;
    color: #00885a;
    opacity: 0.15;
    position: absolute;
    top: -10px;
    left: 16px;
    line-height: 1;
}
.post-body blockquote p {
    font-style: italic;
    color: #2d3436;
    font-size: 1.15em;
    line-height: 1.65;
    margin-bottom: 0;
}
.post-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: 8px;
}
.post-body .wp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 1.5em 0;
}
.post-body .wp-gallery > div {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}
.post-body .wp-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

@media (max-width: 768px) {
    .post-body h2 { font-size: 1.4em; }
    .post-body h3 { font-size: 1.2em; }
    .post-body p, .post-body ul li, .post-body ol li { font-size: 1em; }
    .post-body blockquote { padding: 20px; }
    .post-body blockquote p { font-size: 1.05em; }
}

@media (max-width: 480px) {
    .post-body blockquote { padding: 16px; }
}

/* ── Project content variant ── */
.post-body--project h2 {
    color: #00885a;
    font-style: italic;
    border-bottom: 3px solid #00885a;
    display: inline-block;
    padding-bottom: 12px;
}
.post-body--project h2:first-child { margin-top: 0; }

.post-body--project strong {
    color: #00885a;
    font-weight: 700;
}
