﻿/* ════════════════════════════════════════════════════════
   PAGE HERO
════════════════════════════════════════════════════════ */
.contact-hero {
    width: 100%;
    height: 52vh;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 10, 22, 0.42) 0%,
        rgba(6, 10, 22, 0.06) 45%,
        rgba(6, 10, 22, 0.62) 100%
    );
}

.contact-hero-label {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 56px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-hero-eyebrow {
    font-family: "Jost", sans-serif;
    font-size: 0.60rem;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.50);
}

.contact-hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin: 0;
}

.contact-hero-title em {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 1.12em;
}

/* ════════════════════════════════════════════════════════
   LAYOUT PRINCIPAL — wrap + carte flottante
════════════════════════════════════════════════════════ */
.contact-body-wrap {
    padding: 80px max(4vw, 28px) 80px;
    background: #FDFAF5;
}

.contact-main {
    display: grid;
    grid-template-columns: 5fr 7fr;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(27, 39, 68, 0.06),
        0 24px 72px rgba(27, 39, 68, 0.08);
}

/* ════════════════════════════════════════════════════════
   COLONNE GAUCHE — Infos & Portrait
════════════════════════════════════════════════════════ */
.contact-aside {
    background: #F6F1EA;
    padding: 72px 52px 72px 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

/* Grand "L" décoratif en filigrane */
.contact-aside::after {
    content: "L";
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: clamp(160px, 18vw, 220px);
    color: rgba(197, 180, 154, 0.10);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.contact-aside-intro {
    position: relative;
    z-index: 1;
}

.contact-aside-intro .section-title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    margin-bottom: 18px;
}

.contact-aside-text {
    font-family: "Inter", sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 1.9;
    color: #6B7A8D;
    margin: 0;
}

/* ── Blocs coordonnées ── */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.contact-channel {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-channel-label {
    font-family: "Jost", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #C5B49A;
}

.contact-channel-value {
    font-family: "Playfair Display", serif;
    font-size: 1.18rem;
    font-weight: 400;
    color: #1B2744;
    text-decoration: none;
    transition: opacity 0.2s ease;
    letter-spacing: 0.02em;
}

.contact-channel-value:hover {
    opacity: 0.65;
}

.contact-channel-sub {
    font-family: "Jost", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8A94A6;
}

/* ── Séparateur ── */
.contact-divider {
    width: 32px;
    height: 1px;
    background: rgba(197, 180, 154, 0.45);
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════
   COLONNE DROITE — Formulaire
════════════════════════════════════════════════════════ */
.contact-form-wrap {
    background: #ffffff;
    padding: 72px 60px 72px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.3rem, 1.8vw, 1.7rem);
    font-weight: 400;
    color: #1B2744;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.contact-form-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: #8A94A6;
    margin: 0 0 40px;
    line-height: 1.7;
}

.contact-form-subtitle em {
    color: #C5B49A;
    font-style: normal;
}

/* ── Grille des champs ── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

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

/* ── Champ individuel ── */
.contact-field {
    display: flex;
    flex-direction: column;
    padding-bottom: 28px;
}

.contact-label {
    font-family: "Jost", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8A94A6;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.contact-field:focus-within .contact-label {
    color: #9B7E54;
}

.contact-input,
.contact-select,
.contact-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(197, 180, 154, 0.45);
    border-radius: 0;
    padding: 8px 0 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    color: #1B2744;
    outline: none;
    transition: border-color 0.25s ease;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: rgba(139, 148, 166, 0.55);
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    border-bottom-color: #C5B49A;
}

/* ── Select avec flèche custom ── */
.contact-select-wrap {
    position: relative;
}

.contact-select-wrap::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #C5B49A;
    pointer-events: none;
}

.contact-select {
    cursor: pointer;
    color: #1B2744;
}

.contact-select option[value=""] {
    color: rgba(139, 148, 166, 0.55);
}

/* ── Textarea ── */
.contact-textarea {
    resize: none;
    min-height: 100px;
    line-height: 1.8;
    border-bottom: 1px solid rgba(197, 180, 154, 0.45);
}

/* ── Civilité — boutons radio visuels ── */
.contact-civility-group {
    display: flex;
    gap: 16px;
    padding: 8px 0 10px;
}

.contact-civility-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contact-civility-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(197, 180, 154, 0.60);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.contact-civility-option input[type="radio"]:checked {
    border-color: #C5B49A;
}

.contact-civility-option input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #C5B49A;
    border-radius: 50%;
}

.contact-civility-option span {
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    color: #4A566A;
}

/* ── RGPD ── */
.contact-rgpd {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px 0 32px;
    border-top: 1px solid rgba(197, 180, 154, 0.20);
    margin-top: 8px;
}

.contact-rgpd input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(197, 180, 154, 0.60);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-rgpd input[type="checkbox"]:checked {
    background: #C5B49A;
    border-color: #C5B49A;
}

.contact-rgpd input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #ffffff;
    line-height: 16px;
    text-align: center;
}

.contact-rgpd-text {
    font-family: "Inter", sans-serif;
    font-size: 0.80rem;
    font-weight: 300;
    line-height: 1.75;
    color: #8A94A6;
}

.contact-rgpd-text a {
    color: #9B7E54;
    text-decoration: none;
    border-bottom: 1px solid rgba(155, 126, 84, 0.35);
}

/* ── Bouton submit ── */
.contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Jost", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #ffffff;
    background: #1B2744;
    border: none;
    padding: 16px 44px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    align-self: flex-start;
    box-shadow: 0 4px 20px rgba(27, 39, 68, 0.15);
}

.contact-submit:hover {
    background: #253360;
    box-shadow: 0 6px 28px rgba(27, 39, 68, 0.22);
    transform: translateY(-1px);
}

.contact-submit::after {
    content: "→";
    font-size: 1em;
    transition: transform 0.25s ease;
}

.contact-submit:hover::after {
    transform: translateX(5px);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .contact-aside     { padding: 56px 40px 56px 44px; }
    .contact-form-wrap { padding: 56px 44px 56px 40px; }
}

@media (max-width: 900px) {
    .contact-body-wrap {
        padding: 48px 16px 64px;
    }

    .contact-main {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .contact-aside {
        padding: 52px 28px 44px;
    }

    .contact-aside::after { display: none; }

    .contact-form-wrap {
        padding: 44px 28px 56px;
    }
}

@media (max-width: 600px) {
    .contact-body-wrap { padding: 32px 12px 48px; }

    .contact-main { border-radius: 16px; }

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

    .contact-hero { height: 48vh; min-height: 300px; }
}
