/* =========================================================
   PAGE CONTACT
========================================================= */

#contenu {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =========================================================
   HERO
========================================================= */

.contact-hero {
    padding: 74px 0 68px;
    background: #10151a;
    color: #fff;
}

.contact-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    align-items: end;
    gap: 56px;
}

.contact-hero h1 {
    margin: 10px 0 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: .92;
}

.contact-hero__inner > p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
}

/* =========================================================
   PAGE
========================================================= */

.contact-page {
    padding: 72px 0 94px;
    background: #f3efe6;
    color: #10151a;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    gap: 26px;
}

.contact-main {
    padding: 44px;
    border: 1px solid rgba(16, 21, 26, .1);
    border-radius: 18px;
    background: #fff;
}

.contact-main__heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.contact-main__heading h2 {
    margin: 8px 0 16px;
    color: #10151a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: .98;
}

.contact-main__heading > p:not(.section-kicker) {
    margin: 0;
    color: #5b6267;
    line-height: 1.75;
}

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

.contact-card {
    min-height: 190px;
    padding: 26px;
    border: 1px solid rgba(16, 21, 26, .1);
    border-radius: 14px;
    background: #f7f4ed;
}

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

.contact-card__label {
    display: block;
    margin-bottom: 18px;
    color: #b98920;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-card__value {
    display: inline-block;
    max-width: 100%;
    color: #10151a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

a.contact-card__value {
    text-decoration: none;
}

/* Adresse e-mail : rester lisible sur une seule ligne */
.contact-card a.contact-card__value[href^="mailto:"] {
    font-size: clamp(1rem, 1.65vw, 1.45rem);
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    letter-spacing: -0.02em;
}

a.contact-card__value:hover {
    color: #b98920;
}

.contact-card p {
    margin: 16px 0 0;
    color: #60666a;
    line-height: 1.65;
}

/* =========================================================
   ASIDE
========================================================= */

.contact-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    border-radius: 18px;
    background: #10151a;
    color: #fff;
}

.contact-aside__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    margin-bottom: 48px;
    border: 1px solid rgba(209, 164, 55, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .03);
}

.contact-aside__logo img {
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.contact-aside h2 {
    margin: 8px 0 18px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.contact-aside > p:not(.section-kicker) {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .68);
    line-height: 1.7;
}

.contact-aside .button {
    margin-top: auto;
}

/* =========================================================
   LIENS
========================================================= */

.contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
}

.contact-links article {
    padding: 36px;
    border: 1px solid rgba(16, 21, 26, .1);
    border-radius: 16px;
    background: #fff;
}

.contact-links h2 {
    margin: 8px 0 14px;
    color: #10151a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-links p:not(.section-kicker) {
    margin: 0 0 20px;
    color: #60666a;
    line-height: 1.65;
}

/* =========================================================
   FORMULAIRE
========================================================= */

.contact-form-section {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: 30px;
    align-items: start;
    margin-top: 28px;
    padding: 42px;
    border-radius: 18px;
    background: #ede5d3;
    scroll-margin-top: 110px;
}

.contact-form-section__intro h2 {
    margin: 8px 0 14px;
    color: #10151a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1;
}

.contact-form-section__intro > p:last-child {
    margin: 0;
    color: #596065;
    line-height: 1.7;
}

.contact-form-card {
    padding: 28px;
    border: 1px solid rgba(16, 21, 26, .10);
    border-radius: 14px;
    background: #fff;
}

.contact-form {
    display: grid;
    gap: 18px;
}

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

.contact-form-field {
    display: grid;
    gap: 7px;
}

.contact-form-field label {
    color: #3f474c;
    font-size: .79rem;
    font-weight: 850;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d7d3ca;
    border-radius: 9px;
    background: #fff;
    color: #10151a;
    font: inherit;
}

.contact-form-field input {
    min-height: 46px;
    padding: 0 13px;
}

.contact-form-field textarea {
    min-height: 180px;
    padding: 12px 13px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: 2px solid rgba(185, 137, 32, .22);
    outline-offset: 1px;
    border-color: #b98920;
}

.contact-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #596065;
    font-size: .76rem;
    line-height: 1.55;
}

.contact-consent input {
    margin-top: 3px;
}

.contact-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    padding-top: 2px;
}

.contact-form-actions small {
    color: #7a8084;
}

.contact-form-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 9px;
    line-height: 1.55;
}

.contact-form-message ul {
    margin: 8px 0 0;
    padding-left: 19px;
}

.contact-form-message--success {
    border: 1px solid #bad9c2;
    background: #eef8f0;
    color: #285e38;
}

.contact-form-message--error {
    border: 1px solid #e1b5ba;
    background: #fff1f2;
    color: #922b36;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .contact-hero__inner,
    .contact-layout,
    .contact-form-section {
        grid-template-columns: 1fr;
    }

    .contact-aside .button {
        margin-top: 18px;
    }
}

@media (max-width: 700px) {
    .contact-cards,
    .contact-links,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-card--address {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .contact-hero {
        padding: 52px 0;
    }

    .contact-page {
        padding: 48px 0 64px;
    }

    .contact-main,
    .contact-aside,
    .contact-links article,
    .contact-form-section,
    .contact-form-card {
        padding: 28px 24px;
    }

    .contact-aside__logo {
        width: 112px;
        height: 112px;
        margin-bottom: 34px;
    }

    .contact-aside__logo img {
        width: 92px;
        height: 92px;
    }
}
