/* ==========================================================================
   Julie Urcissin — Avocate au Barreau de Roanne
   styles.css — Feuille de styles principale
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Couleurs — inspirées Merkil */
    --bg: #f9f9f9;
    --bg-white: #FFFFFF;
    --bg-dark: #1a1a1a;
    --bg-dark-l: #2a2a2a;
    --warm: #f0ebe6;
    --warm-d: #e5ddd5;
    --text: #222222;
    --text-2: #50545a;
    --text-3: #898989;
    --text-inv: #FFFFFF;
    --accent: #B76E5D;
    --accent-l: #C98A7A;
    --accent-bg: rgba(183, 110, 93, .06);
    --peach: #D4A48E;
    --peach-bg: #f5efe9;
    --stroke: #e0e0e0;

    /* Typographie */
    --serif: 'League Spartan', system-ui, sans-serif;
    --sans: 'Inter Tight', system-ui, sans-serif;

    /* Espacements & rayons — système Merkil */
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 100px;
    --max-w: 1440px;
    --nav-h: 72px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 2rem);
    overflow-x: hidden;
}

body {
    font-family: var(--sans);
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    letter-spacing: -.01em;
}

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

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    background: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* --------------------------------------------------------------------------
   3. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1),
                transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal.vis {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: all .3s;
}

/* Fond blur avec fondu progressif vers le bas */
.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    bottom: -20px;
    z-index: -1;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(249, 249, 249, .7) 0%, rgba(249, 249, 249, .3) 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}

.nav .container {
    width: 100%;
    position: relative;
}

.nav.scrolled {
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid hsl(0deg 0% 0% / 10%);
    box-shadow: none;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a:not(.nav-cta) {
    font-size: .88rem;
    color: var(--text-2);
    font-weight: 500;
    transition: color .3s;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text);
}

.nav-tel {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--text);
    font-weight: 500;
}

.nav-tel svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent);
    color: #fff;
    padding: .6rem 1.4rem .6rem 1.6rem;
    border-radius: var(--r-pill);
    font-size: .85rem;
    font-weight: 600;
    transition: all .3s;
}

.nav-cta svg {
    width: 14px;
    height: 14px;
    fill: #fff;
    transition: transform .3s;
}

.nav-cta:hover {
    background: #a25e4e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(183, 110, 93, .3);
}

.nav-cta:hover svg {
    transform: translateX(3px);
}


.nav-mobile-actions {
    display: none;
    align-items: center;
    gap: .5rem;
}

.nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    transition: background .3s, transform .3s;
}

.nav-mobile-cta:hover {
    background: #a25e4e;
    transform: scale(1.05);
}

.nav-mobile-cta svg {
    width: 14px;
    height: 14px;
}

.nav-mobile {
    display: none;
    color: var(--text);
    padding: 4px;
}

.nav-mobile svg {
    width: 24px;
    height: 24px;
}

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */
/* Wrapper dégradé — scroll-driven color transition */
.hero-gradient {
    position: relative;
    z-index: 2;
    background: linear-gradient(72deg, #f5efe9 6%, #f4f4f4 52%, #fff0d1 100%);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
}

/* Cercles concentriques orbitants */
.hero-orbits {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Masques dégradés haut et bas pour fondu des cercles */
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--stroke);
}

.orbit-1 {
    width: 160vh;
    height: 160vh;
    animation: orbitSpin 180s linear infinite;
}

.orbit-2 {
    width: 120vh;
    height: 120vh;
    animation: orbitSpin 150s linear infinite reverse;
}

.orbit-3 {
    width: 85vh;
    height: 85vh;
    animation: orbitSpin 120s linear infinite;
}

/*
   Images sur le bord du cercle :
   - Positionnées avec top/left en % (calcul trigonométrique exact)
   - translate(-50%,-50%) pour centrer l'image sur le point du bord
   - Contre-rotation pour rester droites pendant que le parent tourne
*/
.orbit-img {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    transform: translate(-50%, -50%);
}

.orbit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cercle 1 (160vh, forward 180s) — 3 images à 0°, 120°, 240° */
/* 0° = haut */
.orbit-1 .orbit-img:nth-child(1) {
    top: 0%;
    left: 50%;
    animation: counterFwd 180s linear infinite;
}
/* 120° : top=75%, left=93.3% */
.orbit-1 .orbit-img:nth-child(2) {
    top: 75%;
    left: 93.3%;
    animation: counterFwd 180s linear infinite;
}
/* 240° : top=75%, left=6.7% */
.orbit-1 .orbit-img:nth-child(3) {
    top: 75%;
    left: 6.7%;
    animation: counterFwd 180s linear infinite;
}

/* Cercle 2 (110vh, reverse 150s) — 2 images à 45° et 225° */
/* 45° : top=14.6%, left=85.4% */
.orbit-2 .orbit-img:nth-child(1) {
    top: 14.6%;
    left: 85.4%;
    animation: counterRev 150s linear infinite;
}
/* 225° : top=85.4%, left=14.6% */
.orbit-2 .orbit-img:nth-child(2) {
    top: 85.4%;
    left: 14.6%;
    animation: counterRev 150s linear infinite;
}

/* Cercle 3 (65vh, forward 120s) — 2 images à 90° et 270° */
/* 90° = droite */
.orbit-3 .orbit-img:nth-child(1) {
    top: 50%;
    left: 100%;
    animation: counterFwd 120s linear infinite;
}
/* 270° = gauche */
.orbit-3 .orbit-img:nth-child(2) {
    top: 50%;
    left: 0%;
    animation: counterFwd 120s linear infinite;
}

/* Parent : rotation du cercle entier */
@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

/* Contre-rotations pour garder les images droites */
@keyframes counterFwd {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes counterRev {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Contenu centré */
.hero-center {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-label {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
}


/* Boutons globaux */
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--bg-dark);
    color: var(--text-inv);
    padding: .9rem 2rem;
    border-radius: var(--r-pill);
    font-size: .88rem;
    font-weight: 500;
    transition: all .3s;
}

.btn-dark:hover {
    background: var(--bg-dark-l);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.btn-dark svg {
    width: 14px;
    height: 14px;
    transition: transform .3s;
}

.btn-dark:hover svg {
    transform: translateX(3px);
}

.btn-light {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.8rem;
    border: 1px solid var(--stroke);
    border-radius: var(--r-pill);
    color: var(--text);
    font-size: .88rem;
    font-weight: 500;
    transition: all .3s;
    background: var(--bg-white);
}

.btn-light:hover {
    border-color: var(--text-3);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}

.btn-peach {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--bg-white);
    color: var(--text);
    padding: .9rem 2rem;
    border-radius: var(--r-pill);
    font-size: .88rem;
    font-weight: 500;
    border: 1px solid var(--stroke);
    transition: all .3s;
}

.btn-peach:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    border-color: var(--text-3);
}

/* Preuve sociale hero */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-avatars {
    display: flex;
}

.hero-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-av:nth-child(1) { z-index: 4; }
.hero-av:nth-child(2) { margin-left: -8px; z-index: 3; }
.hero-av:nth-child(3) { margin-left: -8px; z-index: 2; }
.hero-av:nth-child(4) { margin-left: -8px; z-index: 1; }

.hero-stars {
    display: flex;
    gap: 1px;
}

.hero-star {
    width: 14px;
    height: 14px;
    fill: var(--accent);
}

.hero-proof-text {
    font-size: .8rem;
    color: var(--text-3);
}

/* --------------------------------------------------------------------------
   6. SECTIONS COMMUNES
   -------------------------------------------------------------------------- */
.section {
    padding: 6rem 0;
}

.section-label {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
    font-weight: 600;
    margin-bottom: .75rem;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.section-title em {
    font-style: italic;
    color: var(--accent);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-top: .5rem;
    max-width: 520px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.section-header-center-sm {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header-center-sm .section-label {
    text-align: center;
}

.section-header-center-sm .section-title {
    text-align: center;
}

/* --------------------------------------------------------------------------
   7. SITUATIONS (SERVICES)
   -------------------------------------------------------------------------- */
.sit-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 3rem;
    gap: 2rem;
}

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

.sit-card {
    position: relative;
    border-radius: var(--r-xl);
    cursor: pointer;
    background: var(--bg-white);
    padding: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    transition: transform .8s, box-shadow .3s;
}

@media (hover: hover) {
    .sit-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,.1);
    }
}

/* Zone image en haut de la carte */
.sit-card-img {
    height: 180px;
    overflow: hidden;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.sit-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

@media (hover: hover) {
    .sit-card:hover .sit-card-img img {
        transform: scale(1.05);
    }
}

/* Placeholder dégradé pour cartes sans image */
.sit-card-img--placeholder {
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}
.sit-card:nth-child(4) .sit-card-img--placeholder {
    background: linear-gradient(135deg, #e6f0e0, #c8ddb8);
}
.sit-card:nth-child(6) .sit-card-img--placeholder {
    background: linear-gradient(135deg, #e8e8e8, #ccc);
}

/* Icône circulaire superposée */
.sit-icon {
    position: absolute;
    top: 158px;
    left: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.sit-icon svg {
    width: 24px;
    height: 24px;
}

/* Couleurs d'icônes par carte */
.sit-card:nth-child(1) .sit-icon { background: #fce8e3; }
.sit-card:nth-child(1) .sit-icon svg { stroke: #B76E5D; }

.sit-card:nth-child(2) .sit-icon { background: #e4ecf5; }
.sit-card:nth-child(2) .sit-icon svg { stroke: #648CA0; }

.sit-card:nth-child(3) .sit-icon { background: #f5f0e0; }
.sit-card:nth-child(3) .sit-icon svg { stroke: #A08C64; }

.sit-card:nth-child(4) .sit-icon { background: #e6f0e0; }
.sit-card:nth-child(4) .sit-icon svg { stroke: #8CA064; }

.sit-card:nth-child(5) .sit-icon { background: #f0e4f3; }
.sit-card:nth-child(5) .sit-icon svg { stroke: #8C64A0; }

.sit-card:nth-child(6) .sit-icon { background: #e8e8e8; }
.sit-card:nth-child(6) .sit-icon svg { stroke: #5A5A5A; }

.sit-card:nth-child(7) .sit-icon { background: #f5ead8; }
.sit-card:nth-child(7) .sit-icon svg { stroke: #B48264; }

.sit-card:nth-child(8) .sit-icon { background: #f3e4ea; }
.sit-card:nth-child(8) .sit-icon svg { stroke: #A06E82; }

/* Corps de carte */
.sit-card-body {
    padding: 2rem 1.5rem 1.5rem;
}

.sit-card h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .5rem;
}

.sit-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--accent);
    transition: gap .3s;
}

@media (hover: hover) {
    .sit-card:hover .sit-cta {
        gap: .7rem;
    }
}

.sit-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1rem;
}

.sit-badge {
    font-size: .72rem;
    color: var(--text-2);
    padding: .35rem .7rem;
    border: 1px solid var(--stroke);
    border-radius: var(--r-pill);
    background: var(--bg);
    white-space: nowrap;
    font-weight: 500;
    transition: color .3s, background .3s, border-color .3s;
}

/* --------------------------------------------------------------------------
   7b. SITUATIONS V2 — SANS IMAGE (style original)
   -------------------------------------------------------------------------- */
.sit-grid--noimg {
    grid-template-columns: repeat(3, 1fr);
}

.sit-card--noimg {
    padding: 2.5rem 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
}

/* Overlay dark animé du haut vers le bas */
.sit-card--noimg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    border-radius: inherit;
    z-index: -1;
    transform: translateY(calc(-100% - 2px));
    transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) {
    .sit-card--noimg:hover::before {
        transform: translateY(0);
    }

    .sit-card--noimg:hover h3,
    .sit-card--noimg:hover p,
    .sit-card--noimg:hover .sit-cta {
        color: #fff;
    }

    .sit-card--noimg:hover .sit-badge {
        color: rgba(255, 255, 255, .85);
        background: rgba(255, 255, 255, .1);
        border-color: rgba(255, 255, 255, .2);
    }

    .sit-card--noimg:hover .sit-icon--flat {
        background: rgba(255, 255, 255, .12);
    }

    .sit-card--noimg:hover .sit-icon--flat svg {
        stroke: #fff;
    }
}

/* Inversion des couleurs au hover */
.sit-card--noimg h3,
.sit-card--noimg p,
.sit-card--noimg .sit-cta {
    transition: color .3s;
}

.sit-card--noimg .sit-cta {
    margin-top: auto;
    padding-top: 1.5rem;
}

.sit-icon--flat {
    width: 52px;
    height: 52px;
    border-radius: var(--r);
    background: var(--peach-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background .3s;
}

.sit-icon--flat svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    transition: stroke .3s;
}

/* Sections Situations — fond gris clair */
#situations,
#situations-v2 { background:var(--warm); }

/* Cartes V2 — fond blanc uniforme */
.sit-card--noimg { background: #fff; }

/* Couleurs d'icônes par carte */
.sit-card--noimg:nth-child(1) .sit-icon--flat { background: rgba(200, 80, 80, .12); }
.sit-card--noimg:nth-child(1) .sit-icon--flat svg { stroke: #C85050; }

.sit-card--noimg:nth-child(2) .sit-icon--flat { background: rgba(60, 140, 180, .12); }
.sit-card--noimg:nth-child(2) .sit-icon--flat svg { stroke: #3C8CB4; }

.sit-card--noimg:nth-child(3) .sit-icon--flat { background: rgba(180, 140, 60, .12); }
.sit-card--noimg:nth-child(3) .sit-icon--flat svg { stroke: #B48C3C; }

.sit-card--noimg:nth-child(4) .sit-icon--flat { background: rgba(100, 160, 100, .12); }
.sit-card--noimg:nth-child(4) .sit-icon--flat svg { stroke: #64A064; }

.sit-card--noimg:nth-child(5) .sit-icon--flat { background: rgba(150, 100, 160, .12); }
.sit-card--noimg:nth-child(5) .sit-icon--flat svg { stroke: #9664A0; }

.sit-card--noimg:nth-child(6) .sit-icon--flat { background: rgba(90, 107, 138, .12); }
.sit-card--noimg:nth-child(6) .sit-icon--flat svg { stroke: #5A6B8A; }

/* Mention discrète DU droit routier */
.sit-du {
    font-size: .85rem;
    color: var(--text-2);
    opacity: .8;
    margin-top: 1rem;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   8. PREUVE SOCIALE & TEMOIGNAGES
   -------------------------------------------------------------------------- */
.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.proof-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    border: 1px solid var(--stroke);
}

.proof-stat-val {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--text);
}

.proof-stat-lbl {
    font-size: .78rem;
    color: var(--text-3);
    margin-top: .3rem;
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    min-height: 520px;
}

/* Grande photo à gauche — occupe 2 rangées */
.testi-photo {
    border-radius: var(--r-lg);
    overflow: hidden;
}

.testi-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cartes témoignages */
.testi-card {
    background: #f0ebe6;
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.testi-text {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.testi-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.testi-avatar {
        width: 104px;
    height: 104px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    border: white solid 0.5rem;
    flex-shrink: 0;
    align-self: flex-end;
    margin-right: -2.5rem;
    margin-bottom: -0.5rem;
    overflow: auto;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testi-info {
    padding-bottom: 1.5rem;
}

.testi-info strong {
    font-size: .95rem;
    color: var(--text);
    display: block;
    font-weight: 600;
}

.testi-info span {
    font-size: .78rem;
    color: var(--text-3);
}

/* --------------------------------------------------------------------------
   9. CTA DARK
   -------------------------------------------------------------------------- */
/* --- Wrapper dégradé chaud --- */
.cta-wrap {
    padding: 6rem 0;
    background: linear-gradient(87deg, #f5efe9 6%, #f4f4f4 52%, #fff0d1 100%);
}

/* --- Carte sombre --- */
.cta-card {
    background: var(--bg-dark);
    border-radius: var(--r-xl);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Lueur subtile dans la carte */
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 500px 400px at 90% 10%, rgba(183, 110, 93, .08) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Texte (colonne gauche) --- */
.cta-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 400;
    color: var(--text-inv);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}

.cta-title em {
    font-style: italic;
    color: var(--peach);
}

.cta-text p {
    font-size: .92rem;
    color: rgba(247, 243, 238, .55);
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* --- Photo (colonne droite) --- */
.cta-photo {
    position: relative;
    z-index: 2;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--bg-dark-l) 0%, rgba(183, 110, 93, .08) 100%);
}

.cta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --------------------------------------------------------------------------
   10. METHODE & A PROPOS
   -------------------------------------------------------------------------- */
#demarche {
    padding-bottom: 2rem;
}


/* --- Layout principal : 2 colonnes --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    align-items: start;
}

/* --- Colonne gauche : texte + valeurs --- */
.about-content {
    padding-top: 1rem;
}

.about-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}

.about-title em {
    color: var(--accent);
    font-style: italic;
}

.about-p {
    font-size: .92rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-val {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.about-val-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--peach-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .25rem;
}

.about-val-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.about-val h4 {
    font-size: .92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .1rem;
}

.about-val p {
    font-size: .82rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* --- Colonne droite : citation + photo --- */
.about-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.about-quote-card {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background: var(--warm);
    border-radius: var(--r-xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-quote-text {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 2rem;
}

.about-quote-text em {
    color: var(--accent);
    font-style: italic;
}

.about-quote-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--bg-dark);
    color: var(--text-inv);
    padding: .75rem 1.5rem;
    border-radius: var(--r-pill);
    font-size: .85rem;
    font-weight: 500;
    transition: all .3s;
    width: fit-content;
}

.about-quote-cta:hover {
    background: var(--bg-dark-l);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.about-photo {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    min-height: 380px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

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

.about-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: var(--bg-white);
    padding: .65rem 1rem;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.about-badge strong {
    font-size: 1.125rem;
    color: var(--text);
}

.about-badge span {
    font-size: .85rem;
    color: var(--text-3);
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--stroke);
    overflow: hidden;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    cursor: pointer;
    gap: 1rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.faq-q h3 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

.faq-q svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-3);
    transition: transform .3s;
    flex-shrink: 0;
}

.faq-item.open .faq-q svg {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.22, 1, .36, 1);
}

.faq-a-inner {
    padding: 0 0 1.25rem;
    font-size: .88rem;
    color: var(--text-2);
    line-height: 1.75;
}

.faq-item.open .faq-a {
    max-height: 300px;
}

/* --------------------------------------------------------------------------
   12. CONTACT & FORMULAIRE
   -------------------------------------------------------------------------- */
/* Fond accent */
#faq,
#contact { background: var(--accent-bg); }

/* Carte englobante */
#contact .contact-grid {
    background: #fff;
    border-radius: var(--r-xl);
    padding: clamp(2.5rem, 4vw, 4rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.contact-left > p:not(.section-title) {
    font-size: .92rem;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.ci-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}

.ci-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: var(--peach-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
}

.ci-text strong {
    display: block;
    font-size: .85rem;
    color: var(--text);
    font-weight: 500;
}

.ci-text span {
    font-size: .8rem;
    color: var(--text-2);
}

.form-card {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

/* Séparateur infos contact */
.contact-infos {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--stroke);
}

.form-title {
    font-family: var(--sans);
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: .3rem;
}

.form-sub {
    font-size: .78rem;
    color: var(--text-3);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.form-group {
    margin-bottom: .75rem;
}

.form-group label {
    display: block;
    font-size: .7rem;
    color: var(--text-3);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .3rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    color: var(--text);
    font-family: var(--sans);
    font-size: .88rem;
    outline: none;
    transition: border-color .3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    width: 100%;
    margin-top: .5rem;
    padding: .9rem;
    background: var(--bg-dark);
    color: var(--text-inv);
    border-radius: var(--r-pill);
    font-size: .88rem;
    font-weight: 500;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.form-submit:hover {
    background: var(--bg-dark-l);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.form-submit svg {
    width: 14px;
    height: 14px;
}

.form-consent {
    margin: .75rem 0;
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .78rem;
    color: var(--text-2);
    line-height: 1.5;
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.form-consent a {
    color: var(--accent);
    text-decoration: underline;
}

.form-consent a:hover {
    color: var(--text);
}

.form-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.form-feedback {
    font-size: .85rem;
    text-align: center;
    margin-top: .75rem;
    min-height: 1.2em;
}

.form-feedback.success {
    color: #22C55E;
}

.form-feedback.error {
    color: #EF4444;
}

/* --------------------------------------------------------------------------
   12b. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /*filter: saturate(.3) brightness(.9);*/
    transform: scale(1.15);
    will-change: transform;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(181deg, rgba(183, 110, 93, 1) 0%, rgb(100 140 160 / 20%) 70%);
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    padding: 2rem;
}

.cta-banner-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-banner-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-banner-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 2rem;
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 600;
    transition: background .3s, color .3s, transform .3s;
}

.cta-banner-btn--primary {
    background: #fff;
    color: var(--text);
}

.cta-banner-btn--primary:hover {
    background: var(--warm);
    transform: translateY(-2px);
}

.cta-banner-btn--outline {
    border: 1.5px solid rgba(255, 255, 255, .5);
    color: #fff;
}

.cta-banner-btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
/* --- Footer sombre style Nomad Partners --- */
.footer {
    background: #111;
    color: rgba(255,255,255,.7);
    padding: 5rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Colonne Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    height: 32px;
}

.footer-desc {
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    max-width: 300px;
}

/* Colonnes navigation */
.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-left: 1px solid rgba(255,255,255,.1);
    padding-left: 3rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-col a {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    transition: color .25s;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 500;
}

.footer-col a:hover {
    color: #fff;
}

/* Colonne contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-left: 1px solid rgba(255,255,255,.1);
    padding-left: 3rem;
}

.footer-address {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: rgba(255,255,255,.8);
    line-height: 1.5;
    font-style: italic;
}

.footer-tel,
.footer-email {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity .25s;
}

.footer-tel:hover,
.footer-email:hover {
    opacity: .7;
}

/* Container query pour la typo décorative */
.footer .container {
    container-type: inline-size;
}

/* Grande typo décorative — alignée au container */
.footer-big-name {
    font-weight: 800;
    letter-spacing: -.03em;
    color: rgba(255,255,255,.07);
    text-align: center;
    line-height: .85;
    padding: 2rem 0 1rem;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    font-size: 14.5cqi;
}

/* Copyright */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .75rem;
    color: rgba(255,255,255,.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --------------------------------------------------------------------------
   14. SLIDE PANEL (MODAL CONTACT)
   -------------------------------------------------------------------------- */
.slide-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 2000;
    pointer-events: none;
    transition: background .45s cubic-bezier(.22, 1, .36, 1);
}

.slide-overlay.open {
    background: rgba(0, 0, 0, .35);
    pointer-events: all;
}

.slide-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 600px;
    max-width: 92vw;
    height: 100vh;
    height: 100dvh;
    z-index: 2001;
    background: var(--bg);
    border-left: 1px solid var(--stroke);
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.slide-panel.open {
    transform: translateX(0);
}

.slide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--stroke);
    flex-shrink: 0;
}

.slide-header-left {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.slide-header-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
}

.slide-header-text {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
    font-weight: 500;
}

.slide-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-white);
    color: var(--text-2);
    transition: all .3s;
}

.slide-close:hover {
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.slide-close svg {
    width: 16px;
    height: 16px;
}

.slide-body {
    padding: 2rem;
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.slide-title {
    font-family: var(--sans);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: .35rem;
}

.slide-title em {
    font-style: italic;
    color: var(--accent);
}

.slide-sub {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.slide-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--stroke);
    margin-bottom: 1.75rem;
}

.slide-tab {
    flex: 1;
    padding: .85rem .5rem;
    text-align: center;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-3);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .3s;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
}

.slide-tab:hover {
    color: var(--text-2);
}

.slide-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.slide-tab svg {
    width: 20px;
    height: 20px;
    transition: stroke .3s;
}

.slide-tab.active svg {
    stroke: var(--accent);
}

.slide-tab:not(.active) svg {
    stroke: var(--text-3);
}

.slide-pane {
    display: none;
    animation: fadeIn .35s ease;
}

.slide-pane.active {
    display: block;
}

.slide-pane-desc {
    font-size: .82rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    padding: .75rem;
    border-radius: var(--r);
    background: var(--bg-white);
}

.slide-sep {
    height: 1px;
    background: var(--stroke);
    margin: 1.75rem 0;
}

.sq-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .5rem;
}

.sq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: var(--peach-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sq-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
}

.sq-text {
    font-size: .8rem;
    color: var(--text-2);
}

.sq-text strong {
    color: var(--text);
    font-weight: 500;
    display: block;
    font-size: .82rem;
}

body.panel-open {
    overflow: hidden;
}

.slide-body .form-group input,
.slide-body .form-group textarea,
.slide-body .form-group select {
    background: var(--bg-white);
}

/* --------------------------------------------------------------------------
   15. CURSEUR CUSTOM — CARTES SITUATIONS
   -------------------------------------------------------------------------- */
.cursor-follow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.4);
    transition: opacity .35s cubic-bezier(.22, 1, .36, 1),
                transform .35s cubic-bezier(.22, 1, .36, 1);
    will-change: transform, left, top;
}

.cursor-follow svg {
    width: 20px;
    height: 20px;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.cursor-follow.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cursor-follow.active svg {
    animation: cursorPulse 1.5s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(4px); }
}

/* Masquer le curseur par defaut sur les cartes (desktop uniquement) */
@media (hover: hover) {
    .sit-card--noimg {
        cursor: none;
    }
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-orbits { opacity: .6; }
    .sit-header { flex-direction: column; align-items: flex-start; }
    .sit-grid, .sit-grid--noimg { grid-template-columns: repeat(2, 1fr); }
    .proof-stats { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; min-height: auto; }
    .testi-photo { grid-row: auto; grid-column: 1 / -1; min-height: 350px; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-right { grid-template-columns: 1fr 1fr; }
    .about-quote-card { grid-row: 1 / 2; }
    .about-photo { grid-row: 1 / 2; min-height: 300px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-nav { border-left: none; padding-left: 0; }
    .footer-contact { border-left: none; padding-left: 0; }
    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
    .cta-card { gap: 2rem; padding: 2.5rem; }
}

/* --- Overlay mobile --- */
.nav-overlay {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 0 2rem;
        gap: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .45s cubic-bezier(.22, 1, .36, 1),
                    opacity .35s cubic-bezier(.22, 1, .36, 1),
                    padding .45s cubic-bezier(.22, 1, .36, 1);
    }

    .nav-mobile-actions { display: flex; }
    .nav-mobile { display: block; }

    /* Menu mobile ouvert */
    .nav-links.mobile-open {
        max-height: 420px;
        opacity: 1;
        padding: 1.5rem 2rem 2rem;
        border-radius: 0 0 var(--r-xl) var(--r-xl);
        box-shadow: none;
    }

    /* Liens — grands, aérés, avec séparateurs */
    .nav-links li {
        border-bottom: 1px solid rgba(0, 0, 0, .06);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a:not(.nav-cta) {
        display: block;
        font-size: 1.05rem;
        font-weight: 500;
        padding: 1rem 0;
        color: var(--text);
    }

    /* Téléphone — mis en avant */
    .nav-links .nav-tel {
        font-size: 1rem;
        padding: 1rem 0;
        color: var(--text);
        font-weight: 600;
    }

    .nav-links .nav-tel svg {
        width: 18px;
        height: 18px;
    }

    /* CTA — pleine largeur, séparé visuellement */
    .nav-links li:has(.nav-cta) {
        border-bottom: none;
        padding-top: .5rem;
    }

    .nav-links.mobile-open .nav-cta {
        align-self: stretch;
        justify-content: center;
        padding: 1rem;
        font-size: .95rem;
    }

    /* Overlay sombre */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        z-index: 900;
        pointer-events: none;
        transition: background .4s;
    }

    .nav-overlay.open {
        background: rgba(0, 0, 0, .3);
        pointer-events: all;
    }

    /* Nav — fond blanc opaque quand menu ouvert (override .scrolled) */
    .nav.menu-open,
    .nav.scrolled.menu-open {
        background: #fff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: none;
        box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
        overflow: visible;
        transition: none !important;
    }

    .nav.menu-open::before,
    .nav.scrolled.menu-open::before {
        display: none !important;
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Hamburger -> X animation */
    .nav-mobile svg line {
        transition: transform .35s cubic-bezier(.22, 1, .36, 1),
                    opacity .25s;
        transform-origin: center;
    }

    .nav-mobile[aria-expanded="true"] .ham-top {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-mobile[aria-expanded="true"] .ham-mid {
        opacity: 0;
    }

    .nav-mobile[aria-expanded="true"] .ham-bot {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Slide panel plein ecran mobile */
    .slide-panel {
        width: 100vw;
        max-width: 100vw;
        border-left: none;
    }
    .slide-body {
        padding: 1.25rem;
    }
    .slide-header {
        padding: 1rem 1.25rem;
    }
    .slide-title {
        font-size: 1.25rem;
    }

    /* Orbites réduites pour mobile */
    .orbit-1 { width: 120vh; height: 120vh; }
    .orbit-2 { width: 100vh; height: 100vh; }
    .orbit-3 { width: 80vh; height: 80vh; }

    /* Social proof hero : compact centré */
    .hero-proof {
        flex-direction: column;
        align-items: center;
        gap: .5rem;
        margin-top: 1.5rem;
    }
    .hero-proof-text {
        font-size: .72rem;
        text-align: center;
    }

    .container { padding: 0 1.5rem; }
    .sit-grid, .sit-grid--noimg { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .testi-photo { min-height: 280px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-wrap { padding: 3rem 0; }
    .cta-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
    .cta-photo { aspect-ratio: 16 / 9; max-height: 280px; }
    .about-right { grid-template-columns: 1fr; }
    .about-quote-card { grid-column: 1; grid-row: auto; }
    .about-photo { grid-column: 1; grid-row: auto; min-height: 260px; }
    .about-values { grid-template-columns: 1fr; }
}
