/* ============================================================
   PAGE PUBLIQUE — CONTACT
   ============================================================ */

.contact-page {
    background: #f7f2e8;
}

.contact-kicker {
    margin: 0 0 10px;
    color: #d39b50;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ---------- HERO ---------- */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 76px;
    background:
        radial-gradient(
            circle at 84% 18%,
            rgba(239, 189, 117, .18),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #173f2e 0%,
            #244f3a 72%,
            #315d46 100%
        );
    color: #fff;
}

.contact-shape {
    position: absolute;
    pointer-events: none;
}

.contact-shape-one {
    left: -90px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border: 52px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
}

.contact-shape-two {
    right: 8%;
    top: 40px;
    width: 190px;
    height: 90px;
    border: 18px solid rgba(239, 189, 117, .13);
    border-radius: 999px;
    transform: rotate(-13deg);
}

.contact-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .42fr;
    gap: 50px;
    align-items: center;
}

.contact-hero-copy h1 {
    margin: 0;
    max-width: 780px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5.5vw, 78px);
    font-style: italic;
    line-height: .94;
    letter-spacing: -.04em;
}

.contact-hero-copy h1 span {
    display: block;
    color: #efbd75;
}

.contact-hero-copy > p:last-child {
    max-width: 650px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
    line-height: 1.72;
}

.contact-hero-note {
    justify-self: end;
    width: 260px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-radius:
        48% 52% 43% 57%
        / 53% 43% 57% 47%;
    background: #efd69d;
    color: #173f2e;
    transform: rotate(4deg);
    box-shadow:
        0 20px 46px rgba(0, 0, 0, .18);
}

.contact-hero-note strong {
    display: block;
    margin-bottom: 9px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 28px;
    font-style: italic;
    line-height: 1.05;
}

.contact-hero-note span {
    font-size: 13px;
    line-height: 1.55;
}

/* ---------- CONTENU ---------- */

.contact-main {
    position: relative;
    overflow: hidden;
    padding: 54px 0 78px;
}

.contact-main::before {
    content: "";
    position: absolute;
    left: -120px;
    top: 210px;
    width: 340px;
    height: 340px;
    border-radius:
        46% 54% 62% 38%
        / 45% 40% 60% 55%;
    background: rgba(36, 83, 58, .07);
}

.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 24px;
    align-items: start;
}

/* ---------- COORDONNÉES ---------- */

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-info-main,
.contact-hours {
    padding: 34px 32px;
    border-radius: 30px 9px 30px 9px;
    box-shadow:
        0 14px 34px rgba(42, 52, 44, .09);
}

.contact-info-main {
    background: #173f2e;
    color: #fff;
}

.contact-info-main h2,
.contact-hours h3,
.contact-form-heading h2,
.contact-bottom-copy h2 {
    margin: 0;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-style: italic;
    line-height: 1;
}

.contact-info-main h2 {
    font-size: clamp(32px, 3.6vw, 48px);
}

.contact-info-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}

.contact-info-item > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .11);
    color: #efbd75;
    font-size: 20px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: #efbd75;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-info-item p,
.contact-info-item a {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-hours {
    background: #e9d19c;
}

.contact-hours h3 {
    color: #173f2e;
    font-size: 31px;
}

.contact-hours p {
    margin: 18px 0 0;
    color: #5c513d;
    font-size: 14px;
    line-height: 1.65;
}

.contact-hours-closed {
    padding-top: 16px;
    border-top:
        1px solid rgba(23, 63, 46, .14);
}

/* ---------- FORMULAIRE ---------- */

.contact-form-card {
    padding: 38px 38px 36px;
    border-radius: 34px 10px 34px 10px;
    background: #fffdf8;
    box-shadow:
        0 18px 44px rgba(42, 52, 44, .11);
}

.contact-form-heading {
    margin-bottom: 26px;
}

.contact-form-heading h2 {
    color: #173f2e;
    font-size: clamp(38px, 4vw, 54px);
}

.contact-form-heading > p:last-child {
    margin: 12px 0 0;
    color: #687168;
    font-size: 13px;
}

.contact-alert {
    margin-bottom: 22px;
    padding: 17px 19px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.55;
}

.contact-alert strong {
    display: block;
    margin-bottom: 4px;
}

.contact-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.contact-alert-success {
    background: #e7f2e9;
    color: #20563b;
    border: 1px solid #c7dfcd;
}

.contact-alert-error {
    background: #fff0eb;
    color: #85402e;
    border: 1px solid #f0c9bd;
}

.contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #173f2e;
    font-size: 13px;
    font-weight: 800;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border:
        1px solid rgba(23, 63, 46, .18);
    border-radius: 13px;
    background: #fbfaf6;
    color: #2d372f;
    font: inherit;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

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

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

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #2f7653;
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(47, 118, 83, .10);
}

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin-top: 24px;
    padding-top: 22px;
    border-top:
        1px solid rgba(23, 63, 46, .10);
}

.contact-form-footer p {
    max-width: 500px;
    margin: 0;
    color: #757b75;
    font-size: 12px;
    line-height: 1.55;
}

.contact-form-footer a {
    color: #256545;
    font-weight: 700;
}

.contact-submit {
    flex: 0 0 auto;
    min-height: 47px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    background: #1f6847;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow:
        0 9px 20px rgba(31, 104, 71, .22);
}

.contact-submit:hover {
    background: #174f37;
}

/* ---------- BAS DE PAGE ---------- */

.contact-bottom {
    padding: 62px 0;
    background: #efe1c2;
}

.contact-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.contact-bottom-image {
    overflow: hidden;
    min-height: 390px;
    border-radius: 30px 9px 30px 9px;
    box-shadow:
        0 16px 38px rgba(42, 52, 44, .12);
}

.contact-bottom-image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.contact-bottom-copy {
    padding: 24px;
}

.contact-bottom-copy h2 {
    color: #173f2e;
    font-size: clamp(38px, 4vw, 56px);
}

.contact-bottom-copy h2 span {
    display: block;
    color: #c58c41;
}

.contact-bottom-copy > p:last-of-type {
    margin: 22px 0 0;
    max-width: 560px;
    color: #625844;
    font-size: 15px;
    line-height: 1.72;
}

.contact-bottom-copy .btn {
    margin-top: 26px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px) {
    .contact-hero-grid,
    .contact-layout,
    .contact-bottom-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-note {
        justify-self: start;
    }

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

@media (max-width: 680px) {
    .contact-hero {
        padding-top: 48px;
        padding-bottom: 54px;
    }

    .contact-hero-note {
        width: 210px;
        min-height: 180px;
    }

    .contact-main {
        padding-top: 36px;
        padding-bottom: 54px;
    }

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

    .contact-info-main,
    .contact-hours,
    .contact-form-card {
        padding: 28px 22px;
    }

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

    .contact-field-full {
        grid-column: auto;
    }

    .contact-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-bottom {
        padding: 50px 0;
    }

    .contact-bottom-image,
    .contact-bottom-image img {
        min-height: 290px;
    }

    .contact-bottom-copy {
        padding: 10px 0 0;
    }
}
