/* PAGE CONTACT — charger ce fichier après style.css */

.cns-contact-page {
    background: #f5f8f6;
}

.cns-contact-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.14), transparent 30%),
        linear-gradient(120deg, #004f31 0%, #00683f 58%, #8b1022 140%);
}

.cns-contact-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -190px;
    width: 360px;
    height: 360px;
    border: 55px solid rgba(255,255,255,.05);
    border-radius: 50%;
}

.cns-contact-hero__inner {
    position: relative;
    z-index: 1;
    width: min(86%, 1400px);
    margin: auto;
    padding: 72px 0;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 55px;
    align-items: center;
}

.cns-contact-hero__content h1 {
    max-width: 900px;
    margin: 18px 0;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.cns-contact-hero__content > p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.7;
}

.cns-contact-badge,
.cns-contact-kicker {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cns-contact-badge {
    color: #fff;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
}

.cns-contact-kicker {
    color: #8b1022;
    background: rgba(139,16,34,.09);
}

.cns-contact-hero__actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cns-contact-btn {
    min-height: 48px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.cns-contact-btn:hover {
    transform: translateY(-3px);
}

.cns-contact-btn--light {
    color: #8b1022;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.16);
}

.cns-contact-btn--outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.42);
    background: rgba(255,255,255,.08);
}

.cns-contact-quick {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(0,0,0,.15);
    backdrop-filter: blur(12px);
}

.cns-contact-quick__item {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255,255,255,.08);
    border-radius: 14px;
}

.cns-contact-quick__item > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(255,255,255,.14);
    border-radius: 12px;
    font-size: 21px;
}

.cns-contact-quick__item small {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cns-contact-quick__item a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    word-break: break-word;
}

.cns-contact-layout {
    position: relative;
    z-index: 2;
    width: min(86%, 1400px);
    margin: -38px auto 0;
    padding-bottom: 70px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.cns-contact-info,
.cns-contact-form-box {
    padding: 32px;
    background: #fff;
    border: 1px solid rgba(0,91,56,.08);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(0,45,28,.09);
}

.cns-contact-heading {
    margin-bottom: 25px;
}

.cns-contact-heading h2 {
    margin: 12px 0 9px;
    color: #0f2c20;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
}

.cns-contact-heading p {
    margin: 0;
    color: #66736c;
    line-height: 1.65;
}

.cns-contact-info__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.cns-contact-card {
    min-height: 145px;
    padding: 19px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(145deg, #f8fbf9, #fff);
    border: 1px solid #e5eee9;
    border-radius: 16px;
    transition: .25s ease;
}

.cns-contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,91,56,.28);
    box-shadow: 0 12px 28px rgba(0,45,28,.08);
}

.cns-contact-card--wide {
    grid-column: 1 / -1;
    min-height: auto;
}

.cns-contact-card__icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #005b38;
    background: #eaf5ef;
    border: 1px solid rgba(0,91,56,.12);
    border-radius: 13px;
    font-size: 20px;
    font-weight: 800;
}

.cns-contact-card h3 {
    margin: 3px 0 8px;
    color: #123126;
    font-size: 17px;
}

.cns-contact-card p {
    margin: 3px 0;
    color: #647068;
    font-size: 14px;
    line-height: 1.5;
}

.cns-contact-card a {
    color: #005b38;
    font-weight: 800;
    text-decoration: none;
    word-break: break-word;
}

.cns-contact-hours {
    width: 100%;
}

.cns-contact-hours > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 0;
}

.cns-contact-hours span {
    color: #647068;
}

.cns-contact-hours strong {
    color: #8b1022;
}

.cns-contact-note {
    margin-top: 18px;
    padding: 18px;
    color: #3f4f47;
    background: #faf8f3;
    border-left: 5px solid #8b1022;
    border-radius: 10px;
}

.cns-contact-note strong {
    color: #005b38;
}

.cns-contact-note p {
    margin: 6px 0 0;
    line-height: 1.6;
}

.cns-contact-form-box {
    scroll-margin-top: 25px;
}

.cns-contact-alert {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 11px;
    font-weight: 700;
}

.cns-contact-alert.success {
    color: #155c34;
    background: #e7f7ed;
    border: 1px solid #c8ead5;
}

.cns-contact-alert.error,
.cns-contact-alert.warning {
    color: #811225;
    background: #fae9ed;
    border: 1px solid #f0c9d1;
}

.cns-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cns-contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

.cns-contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #17392c;
    font-size: 14px;
    font-weight: 800;
}

.cns-contact-field label span {
    color: #8b1022;
}

.cns-contact-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cns-contact-label-row small {
    color: #7d8782;
    font-size: 11px;
}

.cns-contact-field input,
.cns-contact-field textarea {
    width: 100%;
    border: 1px solid #d8e2dd;
    background: #fbfdfc;
    border-radius: 11px;
    color: #1d2e26;
    font: inherit;
    transition: .2s ease;
}

.cns-contact-field input {
    min-height: 50px;
    padding: 0 15px;
}

.cns-contact-field textarea {
    min-height: 180px;
    padding: 14px 15px;
    resize: vertical;
    line-height: 1.6;
}

.cns-contact-field input:focus,
.cns-contact-field textarea:focus {
    outline: none;
    border-color: #005b38;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,91,56,.10);
}

.cns-contact-field.is-invalid input,
.cns-contact-field.is-invalid textarea {
    border-color: #b4233c;
    box-shadow: 0 0 0 4px rgba(180,35,60,.08);
}

.cns-contact-error {
    display: block;
    min-height: 15px;
    margin-top: 6px;
    color: #9f1c34;
    font-size: 11px;
    font-weight: 700;
}

.cns-contact-security {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    background: #f7faf8;
    border: 1px solid #e1ebe6;
    border-radius: 14px;
}

.cns-contact-security strong {
    color: #17392c;
}

.cns-contact-security p {
    margin: 5px 0 0;
    color: #758079;
    font-size: 12px;
    line-height: 1.5;
}

.turnstile-container {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.cns-contact-form__footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.cns-contact-form__footer p {
    max-width: 470px;
    margin: 0;
    color: #7c8580;
    font-size: 11px;
    line-height: 1.5;
}

.cns-contact-submit {
    min-height: 50px;
    padding: 13px 22px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #005b38, #00784a);
    box-shadow: 0 10px 22px rgba(0,91,56,.20);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.cns-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,91,56,.26);
}

.cns-contact-submit:disabled {
    opacity: .68;
    cursor: wait;
    transform: none;
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.cns-contact-faq {
    padding: 70px 0;
    background: #fff;
}

.cns-contact-faq__inner {
    width: min(86%, 1050px);
    margin: auto;
}

.cns-contact-heading--center {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.cns-contact-faq details {
    margin-bottom: 12px;
    background: #f8fbf9;
    border: 1px solid #e2ebe6;
    border-radius: 14px;
    overflow: hidden;
}

.cns-contact-faq summary {
    padding: 19px 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #17392c;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.cns-contact-faq summary::-webkit-details-marker {
    display: none;
}

.cns-contact-faq summary span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: #005b38;
    border-radius: 50%;
    transition: .2s ease;
}

.cns-contact-faq details[open] summary span {
    transform: rotate(45deg);
    background: #8b1022;
}

.cns-contact-faq details p {
    margin: 0;
    padding: 0 21px 20px;
    color: #627068;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .cns-contact-hero__inner,
    .cns-contact-layout {
        width: 90%;
    }

    .cns-contact-hero__inner,
    .cns-contact-layout {
        grid-template-columns: 1fr;
    }

    .cns-contact-quick {
        display: grid;
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .cns-contact-hero__inner {
        width: 92%;
        padding: 55px 0 75px;
    }

    .cns-contact-hero__content h1 {
        font-size: 36px;
    }

    .cns-contact-quick,
    .cns-contact-info__grid,
    .cns-contact-form__row {
        grid-template-columns: 1fr;
    }

    .cns-contact-layout {
        width: 92%;
        margin-top: -28px;
    }

    .cns-contact-info,
    .cns-contact-form-box {
        padding: 22px;
    }

    .cns-contact-card--wide {
        grid-column: auto;
    }

    .cns-contact-security {
        grid-template-columns: 1fr;
    }

    .turnstile-container {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .cns-contact-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cns-contact-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cns-contact-hero__actions {
        flex-direction: column;
    }

    .cns-contact-btn {
        width: 100%;
    }

    .cns-contact-hours > div {
        flex-direction: column;
        gap: 3px;
    }
}
