/* ============================================================
   HONORÉ IMMOBILIER — DESIGN SYSTEM
   ============================================================ */

/* --- Variables --- */
/* Couleurs et polices : charte.css (chargée avant cette feuille). */
:root {
    --gold-dim:      color-mix(in srgb, var(--gold) 35%, transparent);
    --border:        color-mix(in srgb, var(--navy) 11%, transparent);
    --border-light:  color-mix(in srgb, var(--white) 7%, transparent);

    --container:  1240px;
    --gutter:     clamp(1.75rem, calc(9.09vw - 4.5rem), 2rem); /* 1,75 rem à 1024 px, 2 rem dès 1200 px : remplace l'ancien seuil 1199 (audit 12/11, lot 6) */
    --header-h:   80px;

    --ease:        250ms ease;
    --ease-slow:   480ms cubic-bezier(0.25, 0, 0.1, 1);

    --shadow-soft:   0 2px 24px color-mix(in srgb, var(--navy) 7%, transparent);
    --shadow-raised: 0 12px 56px color-mix(in srgb, var(--navy) 18%, transparent);
}


/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol { list-style: none; }


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.section-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header--centered {
    text-align: center;
}

.section-header--centered .section-subtitle {
    margin-inline: auto;
}


/* ============================================================
   TYPOGRAPHY TOKENS
   ============================================================ */

.section-title {
    font-family: var(--heading);
    font-size: clamp(1.875rem, 3vw, 2.625rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 1.125rem;
}

/* Section title inversé (sur fond sombre) */
.section-title--light {
    color: var(--white);
}

/* Contrastes (audit 24/10) : petits textes en navy sur fond clair, l'or reste lisible sur les fonds navy. */
.dual-cta__panel--seller .dual-cta__tag {
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 50ch;
    line-height: 1.8;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition:
        background-color var(--ease),
        color            var(--ease),
        border-color     var(--ease),
        transform        var(--ease);
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Bouton principal : blanc, texte navy (Honoré 26/11 : plus de bouton doré).
   Le nom de classe est gardé pour ne pas toucher aux pages. */
.btn--gold {
    background-color: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn--gold:hover {
    background-color: var(--fond-outil);
    border-color: var(--fond-outil);
}

.btn--outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: color-mix(in srgb, var(--white) 40%, transparent);
}
.btn--outline-white:hover {
    background-color: color-mix(in srgb, var(--white) 6%, transparent);
    border-color: var(--white);
}

.btn--outline-navy {
    background-color: transparent;
    color: var(--navy);
    border-color: color-mix(in srgb, var(--navy) 50%, transparent);
}
.btn--outline-navy:hover {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}


/* ============================================================
   HEADER
   ============================================================ */

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    height: var(--header-h);
    transition:
        background-color var(--ease-slow),
        box-shadow       var(--ease-slow),
        height           var(--ease-slow);
}

.header--transparent {
    background-color: transparent;
    border-bottom: 1px solid color-mix(in srgb, var(--white) 6%, transparent);
}

.header--scrolled {
    background-color: color-mix(in srgb, var(--navy-darker) 97%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border-light);
    height: 66px;
    border-bottom: none;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.header__logo { flex-shrink: 0; } /* le logo ne se déforme jamais quand la place manque */

.header__logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Bouton Contact header */
.header__contact-btn {
    background: none;
    border: 1.5px solid color-mix(in srgb, var(--white) 28%, transparent);
    cursor: pointer;
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--white) 75%, transparent);
    padding: 0.45rem 1rem;
    transition: color var(--ease), border-color var(--ease);
    white-space: nowrap;
    /* Collé à droite, juste avant le menu (Honoré 25/10) : l'icône du menu laisse déjà 11 px de vide. */
    margin-left: auto;
    margin-right: 0.25rem;
}
.header__contact-btn:hover {
    color: var(--white);
    border-color: color-mix(in srgb, var(--white) 60%, transparent);
}

/* ============================================================
   BACKDROP + DRAWER MOBILE
   ============================================================ */

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 299;
    background-color: color-mix(in srgb, var(--navy-darker) 55%, transparent);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 280ms ease, visibility 280ms ease;
}
.menu-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 300;
    width: 320px;
    height: 100dvh;
    background-color: var(--navy);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(100%);
    /* Fermé : caché aussi au clavier et aux lecteurs d'écran (visibility), après l'animation de fermeture. */
    visibility: hidden;
    transition: transform 320ms cubic-bezier(0.25, 0, 0.1, 1), visibility 0s linear 320ms;
    pointer-events: none;
}
.drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 320ms cubic-bezier(0.25, 0, 0.1, 1), visibility 0s;
    pointer-events: auto;
}

/* Head */
.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
    flex-shrink: 0;
}
.drawer__logo {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
}
.drawer__close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}
.drawer__close span {
    display: block;
    width: 18px;
    height: 1.5px;
    background-color: color-mix(in srgb, var(--white) 75%, transparent);
    position: absolute;
}
.drawer__close span:nth-child(1) { transform: rotate(45deg); }
.drawer__close span:nth-child(2) { transform: rotate(-45deg); }

/* Body — liens */
.drawer__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.drawer__link {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: var(--body);
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--white) 82%, transparent);
    text-decoration: none;
    min-height: 52px;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
    position: relative;
    overflow: hidden;
    transition: color 0.2s;
}
.drawer__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.25s;
}
.drawer__link:hover        { color: var(--gold); }
.drawer__link:hover::after { width: 100%; }
.drawer__link.is-active    { color: var(--gold); font-weight: 500; }

.drawer__link--primary {
    font-size: 15px;
    letter-spacing: 0.14em;
    min-height: 56px;
}

/* Footer */
.drawer__footer {
    flex-shrink: 0;
    margin-top: auto;
}

.drawer__legal {
    display: flex;
    border-top: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
}
.drawer__legal-link {
    flex: 1;
    padding: 12px 20px;
    font-family: var(--body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}
.drawer__legal-link:first-child { border-right: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); }
.drawer__legal-link:hover       { color: color-mix(in srgb, var(--white) 90%, transparent); }

.drawer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    min-height: 52px;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
}
.drawer__social-link {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
    transition: color 0.3s, transform 0.3s;
}
.drawer__social-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.drawer__skyline {
    padding: 8px 0 0;
    text-align: center;
}
.drawer__skyline img {
    width: 82%;
    opacity: 0.2;
    margin: 0 auto;
    filter: brightness(0) invert(1) sepia(1) hue-rotate(10deg) saturate(1.8);
}

/* Burger — toujours visible */
.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
}

.header__burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--white);
    transition: transform var(--ease), opacity var(--ease);
    transform-origin: center;
}

.header__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


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

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background-color: var(--navy-deep);
    overflow: hidden;
}

/* Panneau photo — droite du hero, desktop uniquement */
.hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 44%;
    background-image: url('assets/images/hero-desktop.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Fondu de gauche pour intégrer la photo dans le fond navy */
.hero__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        var(--navy-deep) 0%,
        color-mix(in srgb, var(--navy-night) 70%, transparent) 35%,
        color-mix(in srgb, var(--navy-night) 20%, transparent) 100%);
}

/* Fondu haut et bas pour lier la photo au contexte */
.hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        color-mix(in srgb, var(--navy-deeper) 55%, transparent) 0%,
        transparent 25%,
        transparent 75%,
        color-mix(in srgb, var(--navy-deeper) 70%, transparent) 100%);
}


/* Skyline Paris — élément de marque en bas du hero */
.hero__skyline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.09;
    line-height: 0;
    mix-blend-mode: luminosity;
}

.hero__skyline img {
    width: 100%;
    filter: brightness(0) invert(1) sepia(1) hue-rotate(10deg) saturate(1.5);
}

/* Contenu textuel */
.hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    padding-top: calc(var(--header-h) + 5rem);
    padding-bottom: 9rem;
}

.hero__content {
    max-width: 620px;
}

.hero__eyebrow {
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2.25rem;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.15s forwards;
}

.hero__title {
    font-family: var(--heading);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.35s forwards;
}

/* Première ligne — ton affirmatif, plein */
.hero__title-line {
    display: block;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Seconde ligne — qualification italique, plus légère (italique remis par Honoré le 26/11) */
.hero__title em {
    display: block;
    font-weight: 300;
    font-style: italic;
    color: color-mix(in srgb, var(--white) 60%, transparent);
    letter-spacing: 0;
}

.hero__subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: color-mix(in srgb, var(--white) 52%, transparent);
    line-height: 1.85;
    max-width: 40ch;
    margin-bottom: 2.75rem;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.72s forwards;
}

/* Filet doré sous "en confiance" — tracé après l'apparition de la phrase */
.hero__promise-emphasis {
    background-image: linear-gradient(color-mix(in srgb, var(--gold) 55%, transparent), color-mix(in srgb, var(--gold) 55%, transparent));
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    padding-bottom: 3px;
    animation: underlineTrace 0.9s ease 1.75s forwards;
}

.hero__ctas {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.88s forwards;
}

/* Note Google sous les CTA du hero (avis recopiés de la fiche Google, plus d'Elfsight depuis le 24/10) */
.hero__note {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    margin-top: 2.25rem;
    font-family: var(--body);
    font-size: 0.875rem;
    color: color-mix(in srgb, var(--white) 80%, transparent);
    opacity: 0;
    animation: fadeIn 0.9s ease 1.05s forwards;
}
.hero__note-etoiles { color: var(--gold); letter-spacing: 0.12em; font-size: 1rem; }
.hero__note:hover .hero__note-texte { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }


/* ============================================================
   POSITIONNEMENT
   — fond blanc, numéros ordinaux, pas d'icônes
   ============================================================ */

.positioning {
    background-color: var(--white);
    padding-block: 5.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.positioning__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Colonnes de texte séparées par un filet (plus de cartes encadrées) */
.positioning__item {
    padding: 2rem 2.5rem;
    border-right: 1px solid var(--border);
    position: relative;
}

.positioning__item:last-child { border-right: none; }


.positioning__label {
    font-family: var(--heading);
    font-size: 1.4375rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

.positioning__text {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Manifeste — axiome centré ouvrant la section */
.positioning__manifesto {
    margin-bottom: 3.75rem;
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
}

.positioning__conviction {
    font-family: var(--heading);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 300;
    font-style: italic;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.positioning__sub {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 480px;
    margin-inline: auto;
}

/* Liaison — bridge vers le split vendeur / acquéreur */
.positioning__liaison {
    margin-top: 3rem;
    padding-top: 2.75rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.positioning__liaison p {
    font-family: var(--heading);
    font-size: clamp(1.125rem, 1.8vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.55;
}


/* ============================================================
   DUAL CTA
   ============================================================ */

.dual-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.dual-cta__panel {
    position: relative;
    display: flex;
    align-items: center;
    /* 4 rem × 3 rem à 1024 px, 5 rem × 4 rem dès 1200 px, sans seuil d'écran (ancien 1199, audit 12/11 lot 6) */
    padding: clamp(4rem, calc(9.09vw - 29px), 5rem) clamp(3rem, calc(9.09vw - 45px), 4rem);
    overflow: hidden;
}

/* Panneau vendeur — navy + photo */
.dual-cta__panel--seller {
    --photo: url('assets/images/cadre-vendeur.webp');
    background-color: var(--navy-deep);
    /* voile navy posé sur la photo, dans le fond lui-même */
    background-image: linear-gradient(140deg, color-mix(in srgb, var(--navy-deeper) 72%, transparent) 0%, color-mix(in srgb, var(--navy-night) 62%, transparent) 55%, color-mix(in srgb, var(--navy-slate) 52%, transparent) 100%), var(--photo);
    background-size: cover;
    background-position: center;
}

/* ── Overlay Vendeur — 3 niveaux de test ─────────────────────────────
   TEST A : overlay très lisible / image subtile
            color-mix(in srgb, var(--navy-deeper) 88%, transparent) → color-mix(in srgb, var(--navy-slate) 76%, transparent)
   TEST B : équilibre image / texte
            color-mix(in srgb, var(--navy-deeper) 68%, transparent) → color-mix(in srgb, var(--navy-slate) 50%, transparent)
   TEST C : image plus présente / texte encore lisible
            color-mix(in srgb, var(--navy-deeper) 50%, transparent) → color-mix(in srgb, var(--navy-slate) 34%, transparent)
   ─────────────────────────────────────────────────────────────────── */

/* Trait doré séparateur */
.dual-cta__panel--seller::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent,
        color-mix(in srgb, var(--gold) 40%, transparent) 35%,
        color-mix(in srgb, var(--gold) 40%, transparent) 65%,
        transparent);
}

/* Panneau acquéreur — fond bleu clair + photo voilée */
.dual-cta__panel--buyer {
    --photo: url('assets/images/cadre-acquereur.webp');
    background-color: var(--fond-outil);
    /* voile blanc (--fond) posé sur la photo, dans le fond lui-même */
    background-image: linear-gradient(color-mix(in srgb, var(--fond) 72%, transparent), color-mix(in srgb, var(--fond) 72%, transparent)), var(--photo);
    background-size: cover;
    background-position: center;
}

/* ── Overlay Acquéreur — 3 niveaux de test ───────────────────────────
   TEST A : overlay très lisible / image subtile
            color-mix(in srgb, var(--fond) 88%, transparent)
   TEST B : équilibre image / texte
            color-mix(in srgb, var(--fond) 76%, transparent)
   TEST C : image plus présente / texte encore lisible
            color-mix(in srgb, var(--fond) 62%, transparent)
   ─────────────────────────────────────────────────────────────────── */


.dual-cta__content {
    max-width: 420px;
}

.dual-cta__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1.375rem;
}

.dual-cta__title {
    font-family: var(--heading);
    font-size: clamp(1.625rem, 2.5vw, 2.375rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.dual-cta__panel--seller .dual-cta__title { color: var(--white); text-shadow: 0 1px 14px color-mix(in srgb, var(--navy-deeper) 55%, transparent); }
.dual-cta__panel--buyer  .dual-cta__title { color: var(--navy); text-shadow: 0 0 16px color-mix(in srgb, var(--fond) 90%, transparent); }

.dual-cta__text {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 2.25rem;
}

/* Lisibilité (Honoré 29/10) : la photo reste visible, c'est le texte qui gagne en contraste (couleur, graisse, léger halo) */
.dual-cta__panel--seller .dual-cta__text { color: color-mix(in srgb, var(--white) 92%, transparent); font-weight: 400; text-shadow: 0 1px 12px color-mix(in srgb, var(--navy-deeper) 60%, transparent); }
.dual-cta__panel--buyer  .dual-cta__text { color: var(--navy); font-weight: 400; text-shadow: 0 0 14px color-mix(in srgb, var(--fond) 90%, transparent); }


/* ============================================================
   MÉTHODE HONORÉ
   — fond de la page (--fond, blanc depuis le 06/11), entre deux filets
   ============================================================ */

.method {
    padding-block: 8rem;
    background-color: var(--fond);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Deux phases côte à côte + filet vertical */
.method__phases {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 5rem;
    margin-top: 4rem;
}

/* Filet vertical doré entre les phases */
.method__divider {
    background: linear-gradient(to bottom,
        transparent,
        color-mix(in srgb, var(--gold) 30%, transparent) 15%,
        color-mix(in srgb, var(--gold) 30%, transparent) 85%,
        transparent);
    align-self: stretch;
}

/* Label de phase — capsule catégorielle */
.method__phase-label {
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

/* Fil conducteur — tracé architectural vertical, structure invisible au premier regard */
.method__phase-steps {
    position: relative;
    padding-left: 24px;
}

.method__phase-steps::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        color-mix(in srgb, var(--gold) 14%, transparent) 8%,
        color-mix(in srgb, var(--gold) 14%, transparent) 92%,
        transparent
    );
}

/* Étape individuelle */
.method__step {
    position: relative;
    padding: 1.875rem 0;
    border-bottom: 1px solid var(--border);
    cursor: default;
}

.method__step:last-child { border-bottom: none; }

/* Nœud — repère de passage sur le fil */
.method__step::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 2.7rem;   /* à hauteur du numéro d'étape */
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
    background: var(--fond);
    z-index: 1;
}

/* Numéro d'étape — au-dessus du titre, en or plein comme les 01-04 du positionnement (Honoré 29/10) */
.method__step-number {
    display: block;
    font-family: var(--heading);
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.625rem;
    user-select: none;
}

.method__step-body {
    position: relative;
}

.method__step-title {
    font-family: var(--heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 0.625rem;
}

.method__step-text {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}


/* ============================================================
   TÉMOIGNAGES
   — fond navy profond : rupture franche, premium
   — sans guillemet générique : filet gold + numéro
   ============================================================ */

.testimonials {
    position: relative;
    padding-block: 8rem;
    background-color: var(--navy-deep);
    overflow: hidden;
}


.testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        color-mix(in srgb, var(--gold) 30%, transparent) 25%,
        color-mix(in srgb, var(--gold) 30%, transparent) 75%,
        transparent);
}

/* Titres de section sur fond sombre */
.testimonials .section-title {
    color: var(--white);
}

/* Intro éditoriale — phrase client avant le carousel */
.testimonials__intro {
    font-family: var(--heading);
    font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
    font-weight: 300;
    font-style: italic;
    color: color-mix(in srgb, var(--white) 60%, transparent);
    text-align: center;
    max-width: 500px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
    line-height: 1.65;
}

/* Avis Google (table AVIS_GOOGLE, via avis-google.php) : bandeau défilant de cartes, flèches au clavier comme à la souris */
.avis {
    position: relative;
    margin-bottom: 2.75rem;
}
.avis__piste {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, calc((100% - 3rem) / 3));
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}
.avis__piste::-webkit-scrollbar { display: none; }
.avis__carte {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    background: color-mix(in srgb, var(--white) 3%, transparent);
    border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
}
.avis__etoiles { color: var(--gold); letter-spacing: 0.15em; font-size: 0.875rem; }
.avis__texte {
    margin: 0;
    font-family: var(--heading);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.55;
    color: color-mix(in srgb, var(--white) 88%, transparent);
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.avis__carte.is-deplie .avis__texte { -webkit-line-clamp: unset; display: block; }
.avis__suite {
    align-self: flex-start;
    min-height: 44px;
    padding: 0;
    background: none;
    border: none;
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    cursor: pointer;
}
.avis__auteur {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--white) 8%, transparent);
    font-family: var(--body);
    font-size: 0.875rem;
    color: color-mix(in srgb, var(--white) 60%, transparent);
}
.avis__auteur strong { display: block; font-weight: 600; color: var(--white); }
.avis__navigation {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}
.avis__bouton {
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
    color: var(--gold);
    font-size: 1.125rem;
    cursor: pointer;
    transition: border-color var(--ease), color var(--ease);
}
.avis__bouton:hover { border-color: var(--gold); color: var(--white); }
@media (max-width: 1023px) { .avis__piste { grid-auto-columns: minmax(280px, calc((100% - 1.5rem) / 2)); } }
@media (max-width: 767px)  { .avis__piste { grid-auto-columns: 86%; } }

/* Lien Google */
.testimonials__footer {
    display: flex;
    justify-content: center;
}

.testimonials__google-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--white) 60%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
    padding-bottom: 0.3rem;
    transition: color var(--ease), border-color var(--ease);
}

.testimonials__google-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}


/* ============================================================
   PARTENAIRES / DIFFUSION
   — section réintégrée depuis le site source
   ============================================================ */

.partners {
    padding-block: 6rem;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

.partners__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem 4rem;
}

.partners__logos img {
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.45);
    transition: filter var(--ease-slow);
}

.partners__logos a {
    display: inline-flex;
    align-items: center;
}

.partners__logos a:hover img,
.partners__logos a:focus-visible img {
    filter: grayscale(0) opacity(1);
}

/* Lux et Belles Demeures : canvas 240px vs 150px pour Logic-Immo — hauteur compensée */
.partners__logos img[alt="Lux Résidence"]  { height: 39px; }
.partners__logos img[alt="Belles Demeures"] { height: 48px; }


/* ============================================================
   CTA FINAL
   ============================================================ */

.cta-final {
    position: relative;
    padding-block: 8rem;
    background-color: var(--navy-deeper);
    /* lumière dorée subtile en bas, puis dégradé navy */
    background-image:
        radial-gradient(ellipse 60% 45% at 50% 110%, color-mix(in srgb, var(--gold) 10%, transparent) 0%, transparent 70%),
        linear-gradient(160deg, var(--navy-deeper) 0%, var(--navy-night) 50%, var(--navy-ink) 100%);
    overflow: hidden;
}

.cta-final::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        color-mix(in srgb, var(--gold) 30%, transparent) 25%,
        color-mix(in srgb, var(--gold) 30%, transparent) 75%,
        transparent);
}

.cta-final__content {
    text-align: center;
    max-width: 620px;
    margin-inline: auto;
}

.cta-final__title {
    font-family: var(--heading);
    font-size: clamp(1.875rem, 3.5vw, 3.125rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.22;
    margin-bottom: 1.25rem;
}

.cta-final__subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: color-mix(in srgb, var(--white) 45%, transparent);
    line-height: 1.85;
    margin-bottom: 2.75rem;
}

.cta-final__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}


/* ============================================================
   FOOTER
   — skyline Paris comme élément de marque
   — ancrage géographique ajouté
   ============================================================ */

.footer {
    position: relative;
    background-color: var(--navy-darker);
    border-top: 1px solid var(--border-light);
    overflow: hidden;
}

/* Skyline — couvre tout le footer, scale proportionnel, ancré en bas */
.footer__skyline {
    position: absolute;
    inset: 0;
    line-height: 0;
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}

.footer__skyline img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: brightness(0) invert(1);
}

.footer__container {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.footer__top {
    display: grid;
    grid-template-columns: clamp(240px, calc(22.73vw + 7px), 280px) 1fr; /* 240 px à 1024, 280 dès 1200 (ancien seuil 1199) */
    gap: clamp(3rem, calc(9.09vw - 45px), 4rem);
    padding-block: 4.5rem;
    border-bottom: 1px solid var(--border-light);
}

.footer__bottom {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-block: 1.5rem;
    flex-wrap: wrap;
}

.footer__logo {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 1.25rem;
}

.footer__tagline {
    font-size: 0.875rem;
    font-weight: 300;
    color: color-mix(in srgb, var(--white) 60%, transparent);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Ancrage géographique */
.footer__address {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* Bouton Contact footer */
.footer__contact-btn {
    /* Zone tactile de 44 px (audit 24/10), texte inchangé. */
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--white) 60%, transparent);
    margin-bottom: 1rem;
    padding: 0;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--white) 15%, transparent);
    text-underline-offset: 3px;
    transition: color var(--ease);
}
.footer__contact-btn:hover { color: color-mix(in srgb, var(--white) 70%, transparent); }

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
    color: color-mix(in srgb, var(--white) 60%, transparent);
    transition: color var(--ease), border-color var(--ease);
}

.footer__social-link:hover {
    color: var(--gold);
    border-color: color-mix(in srgb, var(--gold) 45%, transparent);
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-content: start;
}

.footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__nav-title {
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.footer__nav-link {
    font-size: 0.875rem;
    font-weight: 300;
    color: color-mix(in srgb, var(--white) 60%, transparent); /* 0.38 avant le 24/10 : contraste 3,5:1 */
    transition: color var(--ease);
    position: relative;
}

.footer__nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    opacity: 0.5;
    transition: width var(--ease);
}

.footer__nav-link:hover         { color: color-mix(in srgb, var(--white) 80%, transparent); }
.footer__nav-link:hover::after  { width: 100%; }


.footer__legal {
    font-size: 0.75rem;
    font-weight: 300;
    color: color-mix(in srgb, var(--white) 60%, transparent); /* 0.22 avant le 24/10 : illisible sur le navy */
    letter-spacing: 0.05em;
}

.footer__legal-links {
    display: flex;
    gap: 2rem;
}

.footer__legal-link {
    font-size: 0.75rem;
    font-weight: 300;
    color: color-mix(in srgb, var(--white) 60%, transparent);
    transition: color var(--ease);
}

.footer__legal-link:hover { color: color-mix(in srgb, var(--white) 90%, transparent); }


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes underlineTrace {
    to { background-size: 100% 1px; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.22s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.31s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.40s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.49s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.58s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.67s; opacity: 1; transform: none; }


/* Ancien bloc « 1024–1199 px » retiré (audit 12/11, lot 6 : seuil hors charte) : marges, panneaux et pied de page
   suivent la largeur de l’écran (clamp) ; la photo d’accueil garde 44 % (42 % avant entre 1024 et 1199 px). */


/* ============================================================
   RESPONSIVE — TABLETTE 768–1023px
   ============================================================ */

@media (max-width: 1023px) {
    :root {
        --gutter:   1.5rem;
        --header-h: 68px;
    }

    /* Hero */
    .hero__photo  { width: 38%; }

    /* Positioning */
    .positioning__grid { grid-template-columns: 1fr; }

    .positioning__item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .positioning__item:last-child { border-bottom: none; }

    /* Dual CTA */
    .dual-cta {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .dual-cta__panel { padding: 4rem var(--gutter); }

    /* Method */
    .method__phases { gap: 0 2.5rem; }

    /* Partners */
    .partners__logos { gap: 2.5rem 3rem; }
    .partners__logos img { height: 24px; }
    .partners__logos img[alt="Lux Résidence"]  { height: 34px; }
    .partners__logos img[alt="Belles Demeures"] { height: 36px; }

    /* Footer */
    .footer__top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Logo header */
    .header__logo-img { height: 32px; }
}


/* ============================================================
   RESPONSIVE — MOBILE ≤ 767px
   ============================================================ */

@media (max-width: 767px) {
    :root {
        --gutter:   1.25rem;
        --header-h: 62px;
    }

    /* Hero */
    .hero__photo         { display: none; }
    .hero__title         { font-size: min(8.9vw, 2.5rem); } /* seconde ligne sur une ligne (Honoré 26/11) */

    /* Haut de l'accueil sur téléphone (maquette d'Honoré, 28/11) : plus de surtitre, note Google sous le titre,
       puis la phrase et les boutons ; la silhouette de Paris passe sous les boutons, jamais derrière. */
    .hero { align-items: flex-start; }
    .hero__container {
        padding-top:    calc(var(--header-h) + 2rem); /* resserré : la silhouette entière se voit dès l'arrivée (Honoré 28/11) */
        padding-bottom: 48.5vw; /* hauteur de la silhouette (496/1024 de la largeur) */
    }
    .hero__content  { display: flex; flex-direction: column; }
    .hero__eyebrow  { display: none; }
    .hero__title    { order: 1; margin-bottom: 0; }
    .hero__note     { order: 2; align-self: flex-start; margin-top: 0; animation-delay: 0.55s; }
    .hero__note[hidden] { display: inline-flex; visibility: hidden; } /* place gardée : rien ne saute à l'arrivée de la note */
    .hero__subtitle { order: 3; margin-top: 1.25rem; margin-bottom: 2rem; font-size: 1rem; } /* 16 px au lieu de 18 (Honoré 28/11) */

    .hero__ctas {
        order: 4;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero__ctas .btn { justify-content: center; }

    /* Skyline hero — pleine largeur sur mobile */
    .hero__skyline { width: 100%; left: 0; }

    /* Positioning */
    .positioning           { padding-block: 3.5rem; }
    .positioning__item     { padding: 2rem 1.5rem; }
    .positioning__manifesto { margin-bottom: 2.5rem; }
    .positioning__conviction { font-size: clamp(1.625rem, 6vw, 2rem); }
    .positioning__liaison  { margin-top: 2rem; padding-top: 2rem; }

    /* Dual CTA */
    .dual-cta__panel  { padding: 3.5rem var(--gutter); }
    /* photos en 800 px sur téléphone */
    .dual-cta__panel--seller { --photo: url('assets/images/cadre-vendeur-800.webp'); }
    .dual-cta__panel--buyer  { --photo: url('assets/images/cadre-acquereur-800.webp'); }

    /* Method */
    .method              { padding-block: 5rem; }
    .method__phases {
        grid-template-columns: 1fr;
        gap: 3rem 0;
        margin-top: 2.5rem;
    }
    .method__divider {
        height: 1px;
        background: linear-gradient(to right,
            transparent,
            color-mix(in srgb, var(--gold) 30%, transparent) 15%,
            color-mix(in srgb, var(--gold) 30%, transparent) 85%,
            transparent);
    }
    .method__step-number {
        font-size: 2rem;
    }

    /* Testimonials */
    .testimonials            { padding-block: 5rem; }
    .testimonials__intro     { margin-bottom: 2.25rem; }

    /* Partners */
    .partners              { padding-block: 4rem; }
    .partners__logos       { gap: 2rem 2.5rem; }
    .partners__logos img   { height: 22px; filter: grayscale(1) opacity(0.55); }
    .partners__logos img[alt="Lux Résidence"]  { height: 31px; }
    .partners__logos img[alt="Belles Demeures"] { height: 28px; }

    /* CTA final */
    .cta-final            { padding-block: 5rem; }
    .cta-final__actions   { flex-direction: column; align-items: center; }
    .cta-final__actions .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer__nav         { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .footer__bottom      { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .footer__legal-links { flex-wrap: wrap; gap: 1rem; }

    /* Skyline — au-dessus de la barre légale (≈97px en colonne) */
    .footer__skyline     { inset: auto 0 6rem 0; }
    .footer__skyline img { height: auto; }
}


/* ============================================================
   RESPONSIVE — TABLETTE (debout ou couchée, téléphone tenu en largeur compris : Honoré 01/12)
   ============================================================ */

@media (min-width: 768px) and (max-width: 1023px) {
    /* Skyline — bande de 160px juste au-dessus de la barre légale (≈67px en ligne) */
    .footer__skyline {
        inset: auto 0 4.25rem 0;
        height: 160px;
    }
    .footer__skyline img { object-fit: cover; }

    /* Logo header */
    .header__logo-img { height: 28px; }
}


/* ============================================================
   RESPONSIVE — MOBILE ÉTROIT 360–390px
   ============================================================ */

@media (max-width: 400px) {
    :root { --gutter: 1rem; }

    /* Petits iPhone : Contact affiché aussi (Honoré 25/10), en version plus compacte pour laisser la place au logo. */
    .header__container { gap: 8px; }
    .header__contact-btn { padding: 0.4rem 0.7rem; letter-spacing: 0.1em; margin-right: -4px; } /* même écart avec le menu malgré le gap */

    /* Logo plus petit pour garder le bouton Contact à côté (Honoré 25/10) */
    .header__logo-img { height: 26px; }

    /* « avec méthode et précision » tient sur une ligne (Honoré 26/11) : 8,9 % de la largeur, mesuré de 320 à 430 px */
    .hero__title    { font-size: min(8.9vw, 2.25rem); }
    .footer__nav    { grid-template-columns: 1fr; }

    .footer__top    { padding-block: 3rem; }
}


/* ============================================================
   PAGE HERO — intérieur (sans photo plein fond)
   ============================================================ */

.page-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    background-color: var(--navy-deep);
    overflow: hidden;
}

/* Panneau photo — droite du hero intérieur */
.page-hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 44%;
    background-image: url('assets/images/Cadre_CARRE_3-1024x1024.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        var(--navy-deep) 0%,
        color-mix(in srgb, var(--navy-night) 72%, transparent) 35%,
        color-mix(in srgb, var(--navy-night) 22%, transparent) 100%);
}

.page-hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        color-mix(in srgb, var(--navy-deeper) 55%, transparent) 0%,
        transparent 25%,
        transparent 75%,
        color-mix(in srgb, var(--navy-deeper) 65%, transparent) 100%);
}

/* Skyline Paris */
.page-hero__skyline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.07;
    line-height: 0;
    mix-blend-mode: luminosity;
}

.page-hero__skyline img {
    width: 100%;
    filter: brightness(0) invert(1) sepia(1) hue-rotate(10deg) saturate(1.5);
}


.page-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    padding-top:    calc(var(--header-h) + 4rem);
    padding-bottom: 5rem;
}

.page-hero__content { max-width: 600px; }

.page-hero__title {
    font-family: var(--heading);
    font-size: clamp(2.75rem, 5.5vw, 5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeUp 0.85s ease 0.25s forwards;
}

.page-hero__subtitle {
    font-family: var(--heading);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: color-mix(in srgb, var(--white) 52%, transparent);
    line-height: 1.5;
    opacity: 0;
    animation: fadeUp 0.85s ease 0.45s forwards;
}


/* ============================================================
   POSITIONNEMENT — variante voilée (nom « --beige » gardé : fond blanc depuis le 06/11)
   ============================================================ */

.positioning--beige {
    background-color: var(--fond);
    /* voile blanc à 90 % sur une photo réduite (elle ne se voit qu'à 10 %) */
    background-image: linear-gradient(color-mix(in srgb, var(--fond) 90%, transparent), color-mix(in srgb, var(--fond) 90%, transparent)), url('assets/images/cadre-vendeur-voile.webp');
    background-size: cover;
    background-position: center top;
}


/* ============================================================
   POSITIONNEMENT — grille 4 items (2 × 2)
   ============================================================ */

.positioning__grid--quad {
    grid-template-columns: repeat(2, 1fr);
}

.positioning__grid--quad .positioning__item:nth-child(even) {
    border-right: none;
}

.positioning__grid--quad .positioning__item:nth-child(1),
.positioning__grid--quad .positioning__item:nth-child(2) {
    border-bottom: 1px solid var(--border);
}

/* Liste à tirets — rigueur concrète */
.identity__checklist {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.identity__checklist li {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 1.375rem;
    position: relative;
}

.identity__checklist li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    opacity: 0.65;
    font-size: 0.75rem;
    top: 0.18em;
}


/* ============================================================
   IDENTITÉ — Section histoire & sensibilité
   ============================================================ */

.identity__history {
    padding-block: 6rem;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.identity__history-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 5rem;
    align-items: center;
}

.identity__history-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.identity__history-text p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 58ch;
}

.identity__history-quote {
    font-family: var(--heading);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--navy);
    margin-top: 0.25rem;
    line-height: 1.65;
    max-width: 52ch;
    quotes: none;
}

.identity__history-photo {
    position: relative;
    overflow: hidden;
}

.identity__history-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
    pointer-events: none;
}

.identity__history-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    filter: sepia(0.08) contrast(1.02);
    transition: transform 0.8s ease;
}

.identity__history-photo:hover .identity__history-img {
    transform: scale(1.03);
}


/* ============================================================
   IDENTITÉ — Section conscience (fond navy)
   ============================================================ */

.identity__conscience {
    position: relative;
    background-color: var(--navy);
    padding-block: 6rem;
    border-top: 1px solid color-mix(in srgb, var(--gold) 15%, transparent);
    overflow: hidden;
}


.identity__conscience::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        color-mix(in srgb, var(--gold) 30%, transparent) 25%,
        color-mix(in srgb, var(--gold) 30%, transparent) 75%,
        transparent);
}

.identity__conscience-inner {
    max-width: 700px;
    margin-inline: auto;
}

.identity__conscience-text {
    font-size: 1rem;
    font-weight: 300;
    color: color-mix(in srgb, var(--white) 50%, transparent);
    line-height: 1.9;
    margin-bottom: 0.875rem;
}

.identity__conscience-quote {
    font-family: var(--heading);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 300;
    font-style: italic;
    color: var(--gold);
    line-height: 1.5;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
    quotes: none;
}


/* ============================================================
   RESPONSIVE — page intérieure tablette ≤ 1023px
   ============================================================ */

@media (max-width: 1023px) {
    .identity__history-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .identity__history-photo {
        height: 260px;
    }

    .identity__history-img {
        aspect-ratio: auto;
        height: 100%;
    }
}


/* ============================================================
   RESPONSIVE — page intérieure mobile ≤ 767px
   ============================================================ */

@media (max-width: 767px) {
    .page-hero__photo  { width: 38%; }

    .page-hero__container {
        padding-top:    calc(var(--header-h) + 2.5rem);
        padding-bottom: 4rem;
    }

    .positioning__grid--quad {
        grid-template-columns: 1fr;
    }

    .identity__history  { padding-block: 4rem; }
    .identity__conscience { padding-block: 4rem; }
}


/* ============================================================
   ACCESSIBILITÉ — Réduction des animations
   ============================================================ */

/* Entrée du logo, à chaque chargement de page (Honoré 20/11) : le nom s'écrit de gauche à droite
   (« Honoré », le trait, puis « IMMOBILIER »), sans autre ornement. Version courte (1,2 s) par défaut ;
   version longue (2,4 s) sur la première page de la visite : classe « logo-long » posée dans le <head> de chaque page.
   Tout est en CSS, sans attendre script.js : pas de logo qui apparaît puis se réécrit.
   Le logo est une image : un masque à bord doux glisse dessus (mask-position), rien d'autre ne bouge. */
@media (prefers-reduced-motion: no-preference) {
    .header__logo-img {
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 40%, transparent 43%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 0, #000 40%, transparent 43%, transparent 100%);
        -webkit-mask-size: 250% 100%;
        mask-size: 250% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        animation: logo-ecriture 1200ms linear 100ms both;
    }
    .logo-long .header__logo-img {
        animation-duration: 2400ms;
        animation-delay: 150ms;
    }
}
/* Position du masque : 71,7 % = rien d'écrit, 0 % = tout ; vitesse constante d'un bout à l'autre (Honoré 18/11) */
@keyframes logo-ecriture {
    from { -webkit-mask-position: 71.7% 0; mask-position: 71.7% 0; }
    to   { -webkit-mask-position: 0 0;     mask-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__promise-emphasis {
        background-size: 100% 1px;
        animation: none;
    }
}


/* ============================================================
   POPUP CONTACT
   ============================================================ */

.contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 399;
    background-color: color-mix(in srgb, var(--navy-darker) 65%, transparent);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 280ms ease, visibility 280ms ease;
}
.contact-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    pointer-events: none;
    visibility: hidden;
}
.contact-modal.is-open {
    pointer-events: auto;
    visibility: visible;
}

.contact-modal__inner {
    background: var(--white);
    width: 100%;
    max-width: 520px;
    max-height: calc(100dvh - 3rem);
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    box-shadow: var(--shadow-raised);
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 300ms ease,
        transform 320ms cubic-bezier(0.25, 0, 0.1, 1);
}
.contact-modal.is-open .contact-modal__inner {
    opacity: 1;
    transform: translateY(0);
}

/* En-tête modale */
.contact-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.contact-modal__title {
    font-family: var(--heading);
    font-size: 1.625rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy);
}

.contact-modal__close {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-top: 2px;
    margin-right: -6px;
    transition: color var(--ease);
}
.contact-modal__close:hover { color: var(--navy); }
.contact-modal__close span {
    display: block;
    width: 16px;
    height: 1.5px;
    background-color: currentColor;
    position: absolute;
}
.contact-modal__close span:nth-child(1) { transform: rotate(45deg); }
.contact-modal__close span:nth-child(2) { transform: rotate(-45deg); }

/* Intro */
.contact-modal__intro {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Téléphone reveal */
.contact-modal__phone-wrap {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.contact-modal__phone-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--navy);
    padding: 0;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--gold) 35%, transparent);
    text-underline-offset: 3px;
    transition: color var(--ease);
}
.contact-modal__phone-btn:hover { color: var(--gold-hover); }
.contact-modal__phone-link {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--navy);
    transition: color var(--ease);
}
.contact-modal__phone-link:hover { color: var(--gold); }

/* Liens d'orientation */
.contact-modal__links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}
.contact-modal__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    transition: color var(--ease), gap var(--ease);
}
.contact-modal__link:hover {
    color: var(--gold);
    gap: 0.75rem;
}

/* Formulaire */
.contact-modal__form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}
.contact-modal__field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.contact-modal__field label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.contact-modal__optional {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.75rem;
    opacity: 0.7;
}
.contact-modal__field input,
.contact-modal__field textarea {
    font-family: var(--body);
    font-size: var(--fs-corps); /* 16 px : en dessous, l'iPhone zoome dans le champ (audit 30/10) */
    font-weight: 400;
    color: var(--navy);
    background: var(--fond);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    width: 100%;
    outline: none;
    transition: border-color var(--ease);
    resize: vertical;
}
.contact-modal__field input:focus,
.contact-modal__field textarea:focus {
    border-color: var(--gold);
}
.contact-modal__field textarea { min-height: 100px; }

/* Consentement */
.contact-modal__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}
.contact-modal__consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    accent-color: var(--gold);
    cursor: pointer;
}
.contact-modal__consent span {
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.65;
}
.contact-modal__consent a {
    color: var(--gold-text);
    text-decoration: underline;
}

/* Fenêtre sur fond blanc : le bouton principal y est navy, texte blanc (Honoré 26/11) */
.contact-modal__submit { width: 100%; }
.contact-modal__submit.btn--gold {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.contact-modal__submit.btn--gold:hover {
    background-color: var(--navy-hover);
    border-color: var(--navy-hover);
}

/* Téléphone (≤ 767 px, seuil de la charte ; 520 avant le lot 6 de l’audit 12/11) : la fenêtre monte du bas de l’écran */
@media (max-width: 767px) {
    .contact-modal__consent span { font-size: 0.875rem; }
    .contact-modal {
        padding: 0;
        align-items: flex-end;
    }
    .contact-modal__inner {
        max-width: none; /* pleine largeur jusqu'à 767 px, comme avant sous 520 px */
        max-height: 92dvh;
        padding: 2rem 1.25rem 2.5rem;
    }
    .contact-modal__title { font-size: 1.375rem; }
}

/* ==========================================================
   Navigation au clavier (audit 24/10)
   ========================================================== */
/* Contour doré visible sur l'élément atteint au clavier (pas au clic). */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
/* Texte sélectionné aux couleurs de la charte */
::selection {
    background: var(--gold);
    color: var(--navy);
}
/* « Aller au contenu » : premier lien de la page, visible seulement quand il reçoit le focus. */
.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: var(--navy);
    color: var(--white);
    font-family: var(--body);
    font-size: 0.875rem;
    font-weight: 600;
    transform: translateY(-200%);
}
.skip-link:focus {
    transform: translateY(0);
}

/* Écrans tactiles (téléphone, tablette) : liens du pied de page et réseaux du menu à 44 px de haut au moins. */
@media (pointer: coarse) {
    .footer__nav-col { gap: 0; } /* la hauteur de 44 px fait déjà l'espacement */
    .footer__nav-link,
    .footer__legal-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .drawer__social-link {
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Fenêtre Contact : message affiché si l'envoi échoue (audit 24/10). */
.contact-modal__echec {
    margin: 0 0 1rem;
    padding: 0.875rem 1rem;
    background: var(--fond);
    border: 1px solid var(--line-strong);
    font-family: var(--body);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--navy);
}
.contact-modal__echec p { margin: 0 0 0.5rem; }
.contact-modal__echec a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.contact-modal__echec-mail {
    min-height: 44px;
    padding: 0 1rem;
    background: none;
    border: 1px solid var(--navy);
    font-family: var(--body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
}

/* ============================================================
   Lisibilité sur téléphone (audit 04/11) : textes d'au moins 13-14 px, zones à toucher de 44 px,
   textes pâles rendus lisibles (contraste ≥ 4,5:1). Les grands chiffres dorés 01-04 restent en or plein (Honoré 29/10).
   ============================================================ */
@media (max-width: 767px) {
    .btn { font-size: 0.875rem; }
    /* Rien sous 14 px sur téléphone (audit 12/11, lot 6 : boutons, surtitres, avis, pied de page étaient à 12-13 px). */
    .header__contact-btn,
    .hero__eyebrow,
    .dual-cta__tag,
    .avis__suite,
    .testimonials__google-link,
    .method__phase-label,
    .footer__address,
    .footer__contact-btn,
    .footer__nav-title,
    .footer__legal,
    .footer__legal-link { font-size: 0.875rem; }
    /* Lien vers la fiche Google : zone à toucher agrandie autour (44 px), le trait doré reste collé au texte. */
    .testimonials__google-link { position: relative; }
    .testimonials__google-link::after { content: ""; position: absolute; inset: -10px 0; }
    .drawer__link { font-size: 14px; }
    .drawer__legal-link { font-size: 14px; }
    .contact-modal__echec-mail { font-size: 0.875rem; }
    .contact-modal__field label { font-size: 0.875rem; }
    .contact-modal__optional { font-size: 0.875rem; }
    .contact-modal__phone-btn { font-size: 0.875rem; min-height: 44px; display: inline-flex; align-items: center; }
    /* Bouton Contact : même dessin, zone à toucher agrandie autour (44 px de haut) sans alourdir l’en-tête. */
    .header__contact-btn { position: relative; }
    .header__contact-btn::after { content: ""; position: absolute; inset: -8px -6px; }
    /* Logo de l’en-tête : même agrandissement de la zone à toucher (26 px de haut → 44 px ; audit 12/11, lot 6). */
    .header__logo { position: relative; }
    .header__logo::after { content: ""; position: absolute; inset: -9px 0; }
    .contact-modal__close { width: 44px; height: 44px; margin-right: -10px; }
    .drawer__close { width: 44px; height: 44px; }
}

/* Petits téléphones (Honoré 26/11) : le texte de chaque bouton reste sur une ligne, et tous les boutons
   ont la même taille de texte (3,7 % de la largeur d'écran, 14 px au plus ; 11,8 px à 320 px de large).
   Mesuré sur les 8 pages, de 320 à 400 px. Même règle pour les boutons des formulaires (formulaires.css). */
@media (max-width: 400px) {
    .btn {
        font-size: min(3.7vw, 0.875rem);
        letter-spacing: 0.08em;
        padding-inline: 1rem;
    }
}


/* ============================================================
   CHARTE CLAIRE — Honoré 26/11 : fonds bleu nuit → blanc, fonds blancs → beige,
   textes gris → bleu à peine plus clair que le navy (--bleu-texte), frise en traits bleu nuit.
   Restent bleu nuit : le menu latéral, le récapitulatif des formulaires, les voiles derrière les fenêtres.
   Restent à l'identique : l'or (surtitres, étoiles, chiffres), les deux encarts photo Vendeur / Acquéreur.
   ============================================================ */

:root { --text-muted: var(--bleu-texte); }

/* Fonds : blanc → beige */
body,
.positioning,
.partners,
.method,
.identity__history { background-color: var(--beige); }
.positioning--beige {
    background-color: var(--beige);
    background-image: linear-gradient(color-mix(in srgb, var(--beige) 90%, transparent), color-mix(in srgb, var(--beige) 90%, transparent)), url('assets/images/cadre-vendeur-voile.webp');
}

/* Boutons : le bouton principal devient bleu nuit (sauf sur la photo de l'encart Vendeur, où il reste blanc) */
.btn--gold { background-color: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--gold:hover { background-color: var(--navy-hover); border-color: var(--navy-hover); }
.dual-cta__panel--seller .btn--gold { background-color: var(--white); border-color: var(--white); color: var(--navy); }
.dual-cta__panel--seller .btn--gold:hover { background-color: var(--fond-outil); border-color: var(--fond-outil); }
.btn--outline-white { color: var(--navy); border-color: color-mix(in srgb, var(--navy) 28%, transparent); }
.btn--outline-white:hover { background-color: color-mix(in srgb, var(--navy) 5%, transparent); border-color: var(--navy); }
.section-title--light { color: var(--navy); }

/* En-tête */
.header--transparent { border-bottom: 1px solid color-mix(in srgb, var(--navy) 10%, transparent); }
.header--scrolled {
    background-color: color-mix(in srgb, var(--white) 97%, transparent);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--navy) 10%, transparent);
}
.header__logo-img { filter: none; }
.header__contact-btn { color: var(--navy); border-color: color-mix(in srgb, var(--navy) 28%, transparent); }
.header__contact-btn:hover { color: var(--navy); border-color: var(--navy); }
.header__burger span { background-color: var(--navy); }

/* Haut de l'accueil */
.hero { background-color: var(--white); }
.hero__title { color: var(--navy); }
.hero__title em,
.hero__subtitle { color: var(--bleu-texte); }
.hero__note { color: var(--navy); }
.hero__note:hover .hero__note-texte { color: var(--navy); }
.hero__photo::before { background: linear-gradient(to right, var(--white) 0%, color-mix(in srgb, var(--white) 55%, transparent) 30%, transparent 60%); }
.hero__photo::after { background: linear-gradient(to bottom, color-mix(in srgb, var(--white) 85%, transparent) 0%, transparent 18%); }
.hero__skyline,
.page-hero__skyline { opacity: 0.16; mix-blend-mode: normal; }
.hero__skyline img,
.page-hero__skyline img,
.footer__skyline img { filter: brightness(0); }

/* En-tête des pages intérieures */
.page-hero { background-color: var(--white); }
.page-hero__photo::before { background: linear-gradient(to right, var(--white) 0%, color-mix(in srgb, var(--white) 55%, transparent) 30%, transparent 60%); }
.page-hero__photo::after { background: linear-gradient(to bottom, color-mix(in srgb, var(--white) 85%, transparent) 0%, transparent 18%); }
.page-hero__title { color: var(--navy); }
.page-hero__subtitle { color: var(--bleu-texte); }

/* Avis clients */
.testimonials { background-color: var(--white); }
.testimonials .section-title { color: var(--navy); }
.testimonials__intro,
.testimonials__google-link { color: var(--bleu-texte); }
.avis__carte { background: var(--white); border-color: color-mix(in srgb, var(--navy) 14%, transparent); }
.avis__texte { color: var(--navy); }
.avis__auteur { color: var(--bleu-texte); border-top-color: color-mix(in srgb, var(--navy) 12%, transparent); }
.avis__auteur strong { color: var(--navy); }
.avis__bouton:hover { color: var(--navy); }

/* Appel de fin de page */
.cta-final { background-color: var(--white); background-image: none; border-top: 1px solid var(--line); }
.cta-final__title { color: var(--navy); }
.cta-final__subtitle { color: var(--bleu-texte); }

/* Page identité : section « conscience » */
.identity__conscience { background-color: var(--white); }
.identity__conscience-text { color: var(--bleu-texte); }

/* Pied de page */
.footer { background-color: var(--white); border-top: 1px solid var(--line); }
.footer__skyline { opacity: 0.096; }
.footer__logo { filter: none; }
.footer__tagline,
.footer__contact-btn,
.footer__nav-link,
.footer__legal,
.footer__legal-link { color: var(--bleu-texte); }
.footer__contact-btn { text-decoration-color: color-mix(in srgb, var(--navy) 25%, transparent); }
.footer__contact-btn:hover,
.footer__nav-link:hover,
.footer__legal-link:hover { color: var(--navy); }
.footer__social-link { color: var(--bleu-texte); border-color: color-mix(in srgb, var(--navy) 18%, transparent); }

/* Méthode sur téléphone : chaque phase devient une file de cartes à faire glisser (Honoré 26/11) */
@media (max-width: 767px) {
    .method { padding-block: 3.5rem; }
    .method__phases { grid-template-columns: minmax(0, 1fr); margin-top: 2rem; }
    .method__phase { min-width: 0; }
    .method__phase-label { margin-bottom: 0.9rem; }
    .method__divider { display: none; }
    .method__phases { row-gap: 3.5rem; } /* même espace entre les deux phases qu'au-dessus de la première (Honoré 26/11) */
    .method__phase-steps {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-left: 0;
        margin-right: calc(-1 * var(--gutter));
        padding-right: var(--gutter);
        scrollbar-width: none;
    }
    .method__phase-steps::-webkit-scrollbar { display: none; }
    .method__phase-steps::before { display: none; }
    .method__step {
        flex: 0 0 76%;
        padding: 1.25rem 1.25rem 1.4rem;
        border: 1px solid color-mix(in srgb, var(--navy) 14%, transparent);
        scroll-snap-align: start;
        background: var(--white);
    }
    .method__step:last-child { border-bottom: 1px solid color-mix(in srgb, var(--navy) 14%, transparent); }
    .method__step::before { display: none; }
    .method__step-number { font-size: 1.75rem; margin-bottom: 0.4rem; }
}

/* Téléphone : la photo de l'en-tête des pages intérieures passe sous le texte → fondu blanc plus couvrant */
@media (max-width: 767px) {
    .page-hero__photo::before {
        background: linear-gradient(to right, var(--white) 0%, color-mix(in srgb, var(--white) 82%, transparent) 55%, color-mix(in srgb, var(--white) 30%, transparent) 100%);
    }
}

/* Pied de page, téléphone : le numéro de carte professionnelle tient sur une ligne (Honoré 26/11) */
@media (max-width: 767px) {
    .footer__legal {
        white-space: nowrap;
        letter-spacing: 0.02em;
        font-size: min(0.875rem, 3.6vw);
    }
}

/* En-tête (Honoré 26/11) — téléphone : bouton Contact plus petit, logo plus grand ;
   ordinateur : logo, bouton Contact et menu plus grands. */
/* Bouton Contact : texte sur ordinateur et tablette, enveloppe sans cadre sur téléphone (Honoré 26/11) */
.header__contact-icone { display: none; }
@media (max-width: 767px) {
    .header__logo-img { height: 38px; }
    .header__contact-texte { display: none; }
    .header__contact-icone { display: block; }
    .header__contact-btn {
        border: none;
        padding: 0;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 0;
        flex-shrink: 0;
    }
    .header__contact-btn::after { display: none; } /* la zone à toucher fait déjà 44 px */
}
@media (max-width: 400px) {
    .header__logo-img { height: min(38px, 9.5vw); }  /* 37 px sur iPhone (390), 26 px avant */
}
@media (max-width: 360px) { /* seule exception aux seuils (Honoré 01/12) : logo un peu plus petit, le bouton menu garde sa place */
    .header__logo-img { height: 9vw; }
}
@media (min-width: 1024px) {
    .header__logo-img { height: 50px; }
    .header__contact-btn { font-size: 0.875rem; padding: 0.6rem 1.35rem; margin-right: 0.5rem; }
    .header__burger { width: 52px; height: 52px; gap: 7px; }
    .header__burger span { width: 30px; height: 2px; }
    .header__burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .header__burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Méthode : flèches rondes de défilement, téléphone seulement (Honoré 26/11) — sous les cartes, centrées,
   pour ne jamais cacher le texte ; la flèche sans effet (début ou fin de rangée) est grisée. */
.method__defile { position: relative; }
.method__fleche { display: none; }
@media (max-width: 767px) {
    .method__defile { padding-bottom: 56px; }
    .method__fleche {
        position: absolute;
        bottom: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        border: 1px solid color-mix(in srgb, var(--navy) 22%, transparent);
        background: var(--white);
        color: var(--navy);
        cursor: pointer;
        transition: opacity var(--ease);
    }
    .method__fleche:disabled { opacity: 0.3; cursor: default; }
    .method__fleche--prec { left: calc(50% - 48px); }
    .method__fleche--suiv { left: calc(50% + 8px); }
    .method__fleche:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
}

/* En-tête tablette et ordinateur (Honoré 26/11, version B) : menu à gauche, logo deux fois plus gros au centre,
   enveloppe à droite (comme sur téléphone). Au défilement, l'en-tête se resserre et le logo reprend une taille moyenne. */
@media (min-width: 768px) {
    :root { --header-h: 100px; }
    .header__container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 0;
    }
    .header__burger { order: 1; justify-self: start; margin-left: -10px; }
    .header__logo   { order: 2; justify-self: center; }
    .header__logo-img { height: 60px; }
    .header__contact-btn {
        order: 3;
        justify-self: end;
        border: none;
        padding: 0;
        margin: 0 -10px 0 0;
        width: 52px;
        height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .header__contact-texte { display: none; }
    .header__contact-icone { display: block; width: 26px; height: 26px; }
    .header__burger span { width: 28px; height: 2px; }
    .header--scrolled { height: 72px; }
    .header--scrolled .header__logo-img { height: 40px; }
    .header__logo-img { transition: height var(--ease-slow); }
}
@media (min-width: 1024px) {
    :root { --header-h: 140px; }
    .header__logo-img { height: 100px; }
    .header__contact-icone { width: 32px; height: 32px; }
    .header__burger { width: 52px; height: 52px; }
    .header__burger span { width: 34px; }
    .header--scrolled { height: 80px; }
    .header--scrolled .header__logo-img { height: 50px; }
}
