/* =========================================================
   SkinZenitude — Contactez-nous FR
   ========================================================= */

:root {
    --contact-bg: #f6f1ea;
    --contact-panel: rgba(255,255,255,.86);
    --contact-text: #41483d;
    --contact-radius: 28px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--contact-bg);
    color: var(--contact-text);
}

.contact-page {
    width: min(1500px, 94vw);
    margin: 4vh auto 6vh;
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: clamp(20px, 3vw, 44px);
    align-items: stretch;
}

.contact-image {
    position: relative;
    min-height: 620px;
    overflow: visible;
}

.contact-image picture,
.contact-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-image img {
    object-fit: cover;
    border-radius: var(--contact-radius);
}

.contact-hero-content,
.contact-introduction,
.contact-faq,
.contact-form-wrapper {
    background: var(--contact-panel);
    border-radius: var(--contact-radius);
    box-shadow: 0 14px 35px rgba(55, 60, 50, .08);
}

.contact-hero-content {
    padding: clamp(34px, 4vw, 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-hero h1 {
    margin: 0 0 28px;
    font-size: clamp(2rem, 3.2vw, 3.5rem);
    font-weight: 400;
    line-height: 1.08;
}

.contact-lead {
    margin: 0 0 28px;
    font-size: clamp(1.05rem, 1.35vw, 1.3rem);
    line-height: 1.6;
}

.contact-intro {
    margin: 0 0 34px;
    line-height: 1.75;
}

.contact-button {
    display: inline-block;
    width: fit-content;
    border: 0;
    border-radius: 999px;
    padding: 13px 24px;
    background: #596351;
    color: #fff;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.contact-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
    gap: clamp(20px, 3vw, 44px);
    margin-top: clamp(24px, 4vw, 48px);
}

.contact-left {
    display: grid;
    gap: 24px;
}

.contact-introduction,
.contact-faq,
.contact-form-wrapper {
    padding: clamp(28px, 3.5vw, 48px);
}

.contact-page h2 {
    margin: 0 0 18px;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 400;
}

.contact-page h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-page p {
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 24px;
}

.faq-item p {
    margin: 0;
}

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

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: .95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(65,72,61,.22);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,.78);
    color: inherit;
    font: inherit;
}

.form-group textarea {
    resize: vertical;
}

.contact-legal {
    margin: 28px auto 0;
    max-width: 1000px;
    text-align: center;
    font-size: .82rem;
    opacity: .72;
}

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

    .contact-image {
        min-height: auto;
    }

    .contact-image img {
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .contact-page {
        width: 92vw;
        max-width: 100%;
        margin: 16px auto 30px;
    }

    .contact-hero,
    .contact-body {
        width: 100%;
    }

    .contact-hero {
        gap: 18px;
    }

    .contact-image {
        width: 100%;
        min-height: 0;
        overflow: visible;
    }

    .contact-image picture {
        display: block;
        width: 100%;
        height: auto;
    }

    .contact-image img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
        border-radius: 22px;
    }

    .contact-hero-content,
    .contact-introduction,
    .contact-faq,
    .contact-form-wrapper {
        width: 100%;
        border-radius: 22px;
        padding: 24px 20px;
    }

    .contact-hero-content {
        justify-content: flex-start;
    }

    .contact-hero h1 {
        margin-bottom: 18px;
        font-size: clamp(1.75rem, 8vw, 2rem);
        line-height: 1.12;
    }

    .contact-lead {
        margin-bottom: 18px;
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .contact-intro {
        margin-bottom: 0;
        line-height: 1.65;
    }

    .contact-body {
        gap: 18px;
        margin-top: 18px;
    }

    .contact-left {
        gap: 18px;
    }

    .contact-page h2 {
        margin-bottom: 14px;
        font-size: 1.45rem;
        line-height: 1.2;
    }

    .contact-page h3 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .contact-page p {
        line-height: 1.6;
    }

    .faq-list {
        gap: 20px;
    }

    .contact-form {
        gap: 17px;
    }

    .form-group {
        gap: 7px;
    }

    .form-group input,
    .form-group textarea {
        min-height: 46px;
        padding: 11px 12px;
        font-size: 16px;
    }

    .form-group textarea {
        min-height: 150px;
    }

    .contact-button {
        width: 100%;
        min-height: 48px;
        padding: 12px 18px;
        text-align: center;
    }

    .contact-legal {
        margin: 20px auto 0;
        width: 94%;
        font-size: .78rem;
        line-height: 1.55;
    }

    /* Ava reste attachée à l'image sur téléphone. */
    .contact-image > #ava {
        max-width: 72px;
    }
}
