/* ==========================================================================
   La Fée du Logis — Thème "Alpine Atelier"
   Refonte esthétique complète (2026)
   Palette dérivée du logo : prune profond → magenta → cyan glacier
   Ce fichier est autonome : il ne dépend plus du template "Presento"
   (assets/css/style.css n'est plus chargé sur les pages publiques).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Marque */
    --plum-900: #24092b;
    --plum-800: #37103f;
    --plum-700: #4d1657;
    --plum-600: #6a1f75;

    --magenta: #d81b7c;
    --magenta-600: #e23a90;
    --magenta-700: #b31463;
    --magenta-050: #fdeef6;
    --magenta-100: #fbdcea;

    --cyan: #22b3e6;
    --cyan-050: #e8f7fd;

    /* Neutres */
    --ink: #1d1122;
    --ink-soft: #574b5e;
    --muted: #8a7f92;
    --line: #ece4ef;
    --line-strong: #ded2e2;

    --surface: #ffffff;
    --canvas: #fbf9fb;
    --canvas-warm: #f7f1f5;

    /* Dégradés */
    --grad-brand: linear-gradient(115deg, var(--plum-700) 0%, var(--magenta) 58%, var(--cyan) 130%);
    --grad-brand-soft: linear-gradient(115deg, #fbe9f3 0%, #fdf3f8 55%, #eaf7fd 100%);
    --grad-dark: linear-gradient(160deg, var(--plum-800) 0%, var(--plum-900) 100%);
    --grad-line: linear-gradient(90deg, var(--plum-700), var(--magenta) 55%, var(--cyan));

    /* Rayons */
    --r-xs: 10px;
    --r-sm: 14px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 40px;
    --r-pill: 999px;

    /* Ombres */
    --sh-xs: 0 1px 2px rgba(36, 9, 43, .05);
    --sh-sm: 0 6px 18px rgba(36, 9, 43, .06);
    --sh-md: 0 18px 44px rgba(36, 9, 43, .10);
    --sh-lg: 0 34px 80px rgba(36, 9, 43, .16);
    --sh-brand: 0 16px 38px rgba(216, 27, 124, .28);

    /* Typo */
    --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --ease: cubic-bezier(.22, .68, .24, 1);
    --t: 300ms var(--ease);

    --header-h: 84px;

    /* --- Surcharges des variables Bootstrap 5.3 --- */
    --bs-primary: #d81b7c;
    --bs-primary-rgb: 216, 27, 124;
    --bs-secondary: #4d1657;
    --bs-secondary-rgb: 77, 22, 87;
    --bs-secondary-color: #b31463;
    --bs-body-color: #574b5e;
    --bs-body-color-rgb: 87, 75, 94;
    --bs-body-bg: #fbf9fb;
    --bs-emphasis-color: #1d1122;
    --bs-heading-color: #24092b;
    --bs-border-color: #ece4ef;
    --bs-border-radius: 14px;
    --bs-link-color: #d81b7c;
    --bs-link-color-rgb: 216, 27, 124;
    --bs-link-hover-color: #b31463;
    --bs-body-font-family: var(--font-sans);
    --bs-body-font-size: 1.0125rem;
    --bs-body-line-height: 1.72;
    --bs-font-sans-serif: var(--font-sans);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { -webkit-tap-highlight-color: rgba(216, 27, 124, .12); }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    font-family: var(--font-sans);
    font-size: 1.0125rem;
    line-height: 1.72;
    color: var(--ink-soft);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--plum-900);
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.18;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--magenta); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--magenta-700); }

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

strong, b { color: var(--plum-900); font-weight: 700; }

hr { border-color: var(--line); opacity: 1; }

::selection { background: var(--magenta-100); color: var(--plum-900); }

:focus-visible {
    outline: 3px solid rgba(216, 27, 124, .35);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Barre de défilement (navigateurs compatibles) */
@supports (scrollbar-color: auto) {
    html { scrollbar-color: var(--magenta-100) transparent; }
}

/* --------------------------------------------------------------------------
   3. Sections & titres
   -------------------------------------------------------------------------- */
section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(38px, 5vw, 64px);
    text-align: center;
}
.section-head.is-left { margin-left: 0; text-align: left; }

.section-head h2,
.section-title h1,
.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.05rem);
    font-weight: 500;
    color: var(--plum-900);
    margin: 0 0 .6rem;
    letter-spacing: -.025em;
}

.section-head .lede,
.section-title p {
    font-size: 1.06rem;
    color: var(--ink-soft);
    margin: 0;
}

/* Eyebrow / sur-titre */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-sans);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--magenta);
    margin: 0 0 1rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-line);
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-line);
}

.text-gradient {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Fonds alternés */
.bg-canvas { background: var(--canvas); }
.bg-warm { background: var(--canvas-warm); }
.bg-surface { background: var(--surface); }

.bg-warm-fade {
    background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-warm) 45%, var(--canvas) 100%);
}

/* Halo décoratif */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}
.glow-pink { background: rgba(216, 27, 124, .16); }
.glow-cyan { background: rgba(34, 179, 230, .14); }

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .93rem;
    letter-spacing: .01em;
    border-radius: var(--r-pill);
    padding: .85rem 1.7rem;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: 1.5px solid transparent;
    line-height: 1.35;
}
.btn:active { transform: translateY(0); }

.btn-brand {
    background: var(--grad-brand);
    background-size: 180% 100%;
    background-position: 0% 50%;
    color: #fff;
    box-shadow: var(--sh-brand);
}
.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 22px 46px rgba(216, 27, 124, .34);
}

.btn-ink {
    background: var(--plum-800);
    color: #fff;
    box-shadow: var(--sh-sm);
}
.btn-ink:hover { background: var(--plum-700); color: #fff; transform: translateY(-2px); }

.btn-outline-brand {
    background: transparent;
    color: var(--plum-800);
    border-color: var(--line-strong);
}
.btn-outline-brand:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    background: var(--magenta-050);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: #fff;
    color: var(--plum-900);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

/* Cohérence avec les classes Bootstrap encore présentes */
.btn-outline-primary {
    --bs-btn-color: var(--magenta);
    --bs-btn-border-color: var(--magenta);
    --bs-btn-hover-bg: var(--magenta);
    --bs-btn-hover-border-color: var(--magenta);
    --bs-btn-active-bg: var(--magenta-700);
    --bs-btn-active-border-color: var(--magenta-700);
    --bs-btn-focus-shadow-rgb: 216, 27, 124;
}
.btn-primary {
    --bs-btn-bg: var(--magenta);
    --bs-btn-border-color: var(--magenta);
    --bs-btn-hover-bg: var(--magenta-700);
    --bs-btn-hover-border-color: var(--magenta-700);
    --bs-btn-active-bg: var(--magenta-700);
    --bs-btn-active-border-color: var(--magenta-700);
    --bs-btn-focus-shadow-rgb: 216, 27, 124;
}
.btn-secondary {
    --bs-btn-bg: var(--plum-700);
    --bs-btn-border-color: var(--plum-700);
    --bs-btn-hover-bg: var(--plum-800);
    --bs-btn-hover-border-color: var(--plum-800);
}

/* --------------------------------------------------------------------------
   5. Header / Navigation
   -------------------------------------------------------------------------- */
#header {
    height: var(--header-h);
    background: transparent;
    transition: background var(--t), box-shadow var(--t), height var(--t), backdrop-filter var(--t);
    z-index: 1040;
}
#header > .container { height: 100%; gap: .5rem; }

#header.header-scrolled,
body.has-solid-header #header {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 1px 0 rgba(36, 9, 43, .07), 0 12px 34px rgba(36, 9, 43, .07);
    height: 72px;
}

#logo-nav {
    width: auto;
    height: 52px;
    transition: transform 420ms var(--ease), filter var(--t), opacity 420ms var(--ease);
    filter: drop-shadow(0 4px 14px rgba(36, 9, 43, .28));
}
#header.header-scrolled #logo-nav,
body.has-solid-header #logo-nav { filter: none; height: 46px; }
#logo-nav:hover { transform: scale(1.03); }

/* En haut de la page d'accueil, le logo du hero suffit : celui de la barre
   n'apparaît qu'une fois le premier dépassé. La règle est conditionnée à une
   classe posée en JS, pour que le logo reste visible si le script ne tourne pas.
   L'espace reste réservé (opacité seule) : aucun décalage de la barre. */
body.brand-swap #logo-nav {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}
body.brand-swap.brand-visible #logo-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
body.brand-swap.brand-visible #logo-nav:hover { transform: scale(1.03); }

.nav-tel {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
    margin-right: .75rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .01em;
    color: #fff;
    padding: .55rem 1.05rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--t);
    white-space: nowrap;
}
.nav-tel:hover { background: #fff; color: var(--plum-900); }
#header.header-scrolled .nav-tel,
body.has-solid-header .nav-tel {
    color: var(--plum-800);
    background: var(--magenta-050);
    border-color: var(--magenta-100);
}
#header.header-scrolled .nav-tel:hover,
body.has-solid-header .nav-tel:hover { background: var(--magenta-100); color: var(--magenta-700); }

#navbar ul {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
#navbar a {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .93rem;
    color: #fff;
    padding: .6rem 1rem;
    border-radius: var(--r-pill);
    transition: all var(--t);
}
#navbar a:hover,
#navbar a.active { background: rgba(255, 255, 255, .16); color: #fff; }
#header.header-scrolled #navbar a,
body.has-solid-header #navbar a { color: var(--plum-800); }
#header.header-scrolled #navbar a:hover,
body.has-solid-header #navbar a:hover { background: var(--magenta-050); color: var(--magenta); }

#navbar a.nav-cta,
#header.header-scrolled #navbar a.nav-cta,
body.has-solid-header #navbar a.nav-cta {
    background: var(--grad-brand);
    background-size: 180% 100%;
    color: #fff;
    font-weight: 700;
    padding: .7rem 1.35rem;
    box-shadow: var(--sh-brand);
    margin-left: .35rem;
}
#navbar a.nav-cta:hover { background-position: 100% 50%; transform: translateY(-1px); color: #fff; }

.mobile-nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
#hero {
    position: relative;
    min-height: min(94vh, 900px);
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 56px) 0 clamp(70px, 9vw, 120px);
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: url("../img/hero-1920.webp") center 60% / cover no-repeat;
    transform: scale(1.04);
    z-index: -2;
}
/* Variantes légères pour les petits écrans (LCP) */
@media (max-width: 800px) {
    .hero-media { background-image: url("../img/hero-800.webp"); }
}
@media (min-width: 801px) and (max-width: 1280px) {
    .hero-media { background-image: url("../img/hero-1280.webp"); }
}
/* Voile neutre : il assombrit juste assez pour la lisibilité du texte blanc,
   sans teinter la photo. Pondéré à gauche (côté titre) sur grand écran,
   la partie droite reste quasi fidèle à l'image d'origine. */
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg,
            rgba(16, 12, 18, .84) 0%,
            rgba(16, 12, 18, .68) 26%,
            rgba(16, 12, 18, .34) 54%,
            rgba(16, 12, 18, .12) 78%,
            rgba(16, 12, 18, .06) 100%),
        linear-gradient(180deg,
            rgba(16, 12, 18, .42) 0%,
            rgba(16, 12, 18, 0) 26%,
            rgba(16, 12, 18, 0) 62%,
            rgba(16, 12, 18, .5) 100%);
}

#hero .container { position: relative; z-index: 2; }

.hero-brand {
    display: block;
    width: clamp(168px, 20vw, 226px);
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35));
}

#hero .eyebrow {
    color: #ffd9ec;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--r-pill);
    padding: .5rem 1.05rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#hero .eyebrow::before { background: #ffd9ec; }

#hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.4vw, 4.5rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -.035em;
    line-height: 1.04;
    margin: 0 0 1.15rem;
    text-wrap: balance;
}

.hero-sub {
    font-family: var(--font-sans);
    font-size: clamp(1.02rem, 1.35vw, 1.22rem);
    font-weight: 300;
    line-height: 1.68;
    color: rgba(255, 255, 255, .9);
    max-width: 40ch;
    margin: 0 0 2.1rem;
}
.hero-sub .hl {
    color: #fff;
    font-weight: 600;
    background-image: linear-gradient(90deg, rgba(255, 217, 236, .95), rgba(150, 226, 250, .95));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    padding-bottom: 3px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-bottom: 2.6rem;
}

/* Carte "faits" en verre */
.hero-card {
    background: rgba(16, 12, 18, .42);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-lg);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    padding: clamp(24px, 3vw, 34px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
    color: #fff;
}
.hero-card-title {
    font-family: var(--font-sans);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .68);
    margin: 0 0 1.35rem;
}
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.hero-card li { display: flex; align-items: flex-start; gap: .95rem; }
.hero-card li i {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #ffd9ec;
    font-size: 1.02rem;
}
.hero-card .k {
    display: block;
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
}
.hero-card .v {
    display: block;
    font-size: .86rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.45;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 104px;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, .8);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll i { font-size: 1.35rem; animation: bob 2.2s var(--ease) infinite; }

@keyframes bob {
    0%, 100% { transform: translateY(0); opacity: .75; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   7. Bandeau de confiance
   -------------------------------------------------------------------------- */
.trust-strip {
    position: relative;
    z-index: 3;
    margin-top: clamp(-60px, -5vw, -46px);
    padding: 0;
}
.trust-grid {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.trust-item {
    padding: clamp(22px, 2.6vw, 32px) clamp(16px, 2vw, 26px);
    text-align: center;
    border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-item i {
    font-size: 1.5rem;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .55rem;
    display: block;
}
.trust-item .t {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--plum-900);
    line-height: 1.2;
}
.trust-item .s {
    display: block;
    font-size: .82rem;
    color: var(--muted);
    letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   8. Formules
   -------------------------------------------------------------------------- */
#formules { background: var(--canvas); padding-top: clamp(56px, 6vw, 92px); }

.formule-card {
    position: relative;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(26px, 3vw, 38px) clamp(22px, 2.6vw, 32px);
    box-shadow: var(--sh-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.formule-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--line);
    transition: background var(--t);
}
.formule-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
    border-color: var(--magenta-100);
}
.formule-card:hover::before { background: var(--grad-line); }

.formule-card.is-featured {
    border-color: transparent;
    box-shadow: 0 28px 68px rgba(216, 27, 124, .2);
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        var(--grad-brand) border-box;
    border: 2px solid transparent;
}
.formule-card.is-featured::before { background: var(--grad-line); }

.formule-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--grad-brand);
    color: #fff;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .4rem .85rem;
    border-radius: var(--r-pill);
    box-shadow: var(--sh-brand);
}

.formule-stars {
    display: inline-flex;
    gap: .18rem;
    color: var(--magenta);
    font-size: .82rem;
    margin-bottom: .9rem;
}
.formule-card h3 {
    font-family: var(--font-display);
    font-size: 1.62rem;
    font-weight: 600;
    color: var(--plum-900);
    margin: 0 0 .35rem;
    letter-spacing: -.02em;
}
.formule-card .formule-tag {
    font-size: .84rem;
    color: var(--muted);
    display: block;
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px dashed var(--line-strong);
}

.formule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .78rem; }
.formule-list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    font-size: .945rem;
    line-height: 1.55;
    color: var(--ink-soft);
}
.formule-list li i {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    margin-top: 3px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: .6rem;
    background: var(--magenta-050);
    color: var(--magenta);
}
.formule-list li.is-inherit { color: var(--plum-900); font-weight: 600; }
.formule-list li.is-inherit i { background: var(--cyan-050); color: var(--cyan); }

.formule-cta { margin-top: auto; padding-top: 1.8rem; }
.formule-cta .btn { width: 100%; }

/* --- Carrousel réutilisable (mobile / tablette) ---------------------------
   La même grille Bootstrap devient une piste à défilement horizontal avec
   accrochage natif : aucun balisage dupliqué, aucune librairie.
   Utilisé par les formules et par les avis clients. */
.track-dots { display: none; }

@media (max-width: 991.98px) {
    .snap-track {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 12px;
        gap: 16px;
        margin: 0 -12px;
        padding: 6px 12px 14px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .snap-track::-webkit-scrollbar { display: none; }

    .snap-track > [class*="col-"] {
        flex: 0 0 auto;
        width: min(84vw, 380px);
        margin-top: 0;
        scroll-snap-align: center;
    }

    /* Pas de translation au survol : elle déborderait de la piste */
    .snap-track .formule-card:hover,
    .snap-track .avis-card:hover { transform: none; }

    .track-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 4px;
    }
    .track-dots .dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: none;
        border-radius: var(--r-pill);
        background: var(--line-strong);
        cursor: pointer;
        transition: width var(--t), background var(--t);
        position: relative;
    }
    /* Zone tactile confortable sans agrandir la pastille */
    .track-dots .dot::after {
        content: "";
        position: absolute;
        inset: -12px -8px;
    }
    .track-dots .dot.is-active {
        width: 26px;
        background: var(--grad-brand);
    }
}

/* --------------------------------------------------------------------------
   9. Zone d'intervention
   -------------------------------------------------------------------------- */
.zone-intervention {
    position: relative;
    isolation: isolate;
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(38px, 5vw, 64px) clamp(28px, 4.5vw, 58px);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    background: var(--plum-900);
}

/* Panorama du massif du Mont-Blanc, extrait d'une photo de La Fée du Logis */
.zone-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../img/vallee-mont-blanc.webp") center 34% / cover no-repeat;
}
@media (max-width: 800px) {
    .zone-media { background-image: url("../img/vallee-mont-blanc-800.webp"); }
}

/* Voile assez sombre pour le texte blanc, assez léger pour garder le massif */
.zone-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(95deg,
            rgba(24, 10, 30, .86) 0%,
            rgba(24, 10, 30, .68) 30%,
            rgba(24, 10, 30, .36) 62%,
            rgba(24, 10, 30, .2) 100%),
        linear-gradient(180deg, rgba(24, 10, 30, .12) 0%, rgba(24, 10, 30, .38) 100%);
}

.zone-inner { position: relative; z-index: 1; }

.zone-intervention .eyebrow {
    color: #ffd9ec;
    gap: .5rem;
    margin-bottom: .75rem;
}
.zone-intervention .eyebrow::before { display: none; }
.zone-intervention .eyebrow i { font-size: 1rem; }

.zone-intervention h3 {
    font-family: var(--font-display);
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -.025em;
    margin: 0 0 .55rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.zone-intervention .zone-lede {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 2rem;
    max-width: 46ch;
}

/* Une carte par commune, avec ses hameaux — la hiérarchie réelle du terrain */
.zone-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.zone-commune {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-md);
    padding: 1.1rem 1.25rem;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transition: background var(--t), border-color var(--t), transform var(--t);
}
.zone-commune:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 217, 236, .5);
    transform: translateY(-3px);
}
.zc-name {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.02rem;
    color: #fff;
    line-height: 1.3;
    margin-bottom: .3rem;
}
.zc-name::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(34, 179, 230, .22);
}
.zc-sub {
    display: block;
    font-size: .85rem;
    color: rgba(255, 255, 255, .68);
    padding-left: 1.15rem;
}

/* --------------------------------------------------------------------------
   10. À propos
   -------------------------------------------------------------------------- */
#about { background: var(--surface); }

.about-portrait { position: relative; }
.about-portrait img {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    position: relative;
    z-index: 1;
}
.about-portrait::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    max-width: 460px;
    border-radius: var(--r-xl);
    background: var(--grad-brand-soft);
    border: 1px solid var(--magenta-100);
    z-index: 0;
}
.about-portrait .portrait-tag {
    position: absolute;
    bottom: 22px;
    left: -18px;
    z-index: 2;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-md);
    padding: .95rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}
.about-portrait .portrait-tag i {
    font-size: 1.35rem;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.about-portrait .portrait-tag .k {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--plum-900);
    line-height: 1.1;
}
.about-portrait .portrait-tag .v { display: block; font-size: .78rem; color: var(--muted); }

#about h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 3.1rem);
    font-weight: 500;
    letter-spacing: -.03em;
    margin: 0 0 .3rem;
}
.about-role {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 1.5rem;
}
.about-text { font-size: 1.06rem; }
.about-text p + p { margin-top: 1.1rem; }

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 26px);
    margin-top: clamp(44px, 5vw, 72px);
}
.value-card {
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(24px, 2.8vw, 34px);
    transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-md);
    background: var(--surface);
}
.value-card .value-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--grad-brand-soft);
    border: 1px solid var(--magenta-100);
    color: var(--magenta);
    font-size: 1.3rem;
    margin-bottom: 1.15rem;
}
.value-card h3 {
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--plum-900);
    margin: 0 0 .7rem;
}
.value-card p { font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------------------
   11. Galerie / carrousel
   -------------------------------------------------------------------------- */
#galerie { background: var(--canvas-warm); }

#carouselExampleIndicators {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}
.img-carousel {
    height: clamp(280px, 52vw, 600px);
    object-fit: cover;
    filter: saturate(1.04);
}
.carousel-indicators { margin-bottom: 1.4rem; }
.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, .55);
    opacity: 1;
    transition: all var(--t);
}
.carousel-indicators .active {
    background: #fff;
    width: 28px;
    border-radius: var(--r-pill);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(36, 9, 43, .5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    padding: 24px;
    background-size: 42% 42%;
}

/* --------------------------------------------------------------------------
   12. Avis clients
   -------------------------------------------------------------------------- */
#avis { background: var(--surface); overflow: hidden; }

.avis-card {
    position: relative;
    height: 100%;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(28px, 3vw, 38px);
    display: flex;
    flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
}
.avis-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-md);
    background: var(--surface);
    border-color: var(--magenta-100);
}
.avis-card .quote-mark {
    font-family: var(--font-display);
    font-size: 4.4rem;
    line-height: .7;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .28;
    margin-bottom: .2rem;
    display: block;
}
.avis-stars {
    display: flex;
    gap: .22rem;
    color: #e8a020;
    font-size: .92rem;
    margin-bottom: 1rem;
}
.avis-card blockquote {
    font-family: var(--font-display);
    font-size: 1.16rem;
    font-weight: 400;
    line-height: 1.62;
    color: var(--plum-900);
    margin: 0 0 1.6rem;
    letter-spacing: -.01em;
}
.avis-meta {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: .85rem;
}
.avis-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad-brand);
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: .02em;
}
.avis-meta .n {
    display: block;
    font-weight: 700;
    font-size: .93rem;
    color: var(--plum-900);
    line-height: 1.3;
}
.avis-meta .c { display: block; font-size: .8rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
#faq { background: var(--canvas-warm); }

#faqAccordion .accordion-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md) !important;
    margin-bottom: .85rem;
    overflow: hidden;
    box-shadow: var(--sh-xs);
    transition: box-shadow var(--t), border-color var(--t);
}
#faqAccordion .accordion-item:hover { box-shadow: var(--sh-sm); }
#faqAccordion .accordion-header { margin: 0; }
#faqAccordion .accordion-button {
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--plum-900);
    background: transparent;
    padding: 1.35rem 1.55rem;
    box-shadow: none;
    border-radius: var(--r-md) !important;
}
#faqAccordion .accordion-button:not(.collapsed) {
    color: var(--magenta);
    background: var(--magenta-050);
}
#faqAccordion .accordion-button::after {
    background-image: none;
    content: "\002B";
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: var(--magenta-050);
    color: var(--magenta);
    transition: transform var(--t), background-color var(--t);
    flex-shrink: 0;
}
#faqAccordion .accordion-button:not(.collapsed)::after {
    content: "\2212";
    transform: rotate(180deg);
    background-color: var(--magenta);
    color: #fff;
}
#faqAccordion .accordion-body {
    padding: .3rem 1.55rem 1.5rem;
    color: var(--ink-soft);
    font-size: .99rem;
}

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
#contact { background: var(--canvas); }

.contact-aside {
    background: var(--grad-dark);
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(30px, 3.6vw, 46px);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--sh-lg);
}
.contact-aside::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -140px;
    bottom: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 27, 124, .48), transparent 70%);
}
.contact-aside > * { position: relative; z-index: 1; }
.contact-aside h3 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0 0 .7rem;
}
.contact-aside .aside-lede { color: rgba(255, 255, 255, .74); margin-bottom: 2rem; }

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.05rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.contact-line:first-of-type { border-top: none; }
.contact-line i {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #ffd9ec;
    font-size: 1.05rem;
}
.contact-line .l {
    display: block;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: .12rem;
}
.contact-line .v { display: block; color: #fff; font-weight: 600; font-size: 1.02rem; }
.contact-line a.v:hover { color: #ffd9ec; }

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(26px, 3.4vw, 46px);
    box-shadow: var(--sh-md);
}
.form-step-label {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.35rem;
}
.form-step-label span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: .72rem;
    letter-spacing: 0;
}
.form-step-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.form-control,
.form-select {
    border: 1.5px solid var(--line-strong);
    border-radius: var(--r-sm);
    background-color: var(--canvas);
    color: var(--ink);
    font-size: .98rem;
    transition: border-color var(--t), box-shadow var(--t), background-color var(--t);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--magenta);
    background-color: var(--surface);
    box-shadow: 0 0 0 4px rgba(216, 27, 124, .1);
}
.form-control::placeholder { color: var(--muted); }

/* Champ pré-rempli depuis un bouton « Demander cette formule » */
.form-select.is-prefilled {
    border-color: var(--magenta);
    background-color: var(--magenta-050);
    box-shadow: 0 0 0 5px rgba(216, 27, 124, .14);
}
.form-floating:has(.is-prefilled) > label i { color: var(--magenta-700); }

.form-floating > label { color: var(--muted); font-size: .95rem; }
.form-floating > label i { color: var(--magenta); }
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label { color: var(--muted); }
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-select ~ label::after {
    background-color: transparent !important;
}

.form-note { font-size: .84rem; color: var(--muted); font-style: italic; }

.map-frame {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-md);
    border: 1px solid var(--line);
    line-height: 0;
}
.map-frame iframe { display: block; width: 100%; min-height: 340px; border: 0; }

/* --------------------------------------------------------------------------
   15. Modales
   -------------------------------------------------------------------------- */
.modal-content {
    border: none;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    overflow: hidden;
}
.modal-header { border-bottom: 1px solid var(--line); padding: 1.35rem 1.7rem; }
.modal-title { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; }
.modal-body { padding: 1.5rem 1.7rem; }
.modal-footer { border-top: 1px solid var(--line); padding: 1.1rem 1.7rem; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
#footer {
    background: var(--grad-dark);
    color: rgba(255, 255, 255, .72);
    font-size: .94rem;
    position: relative;
    overflow: hidden;
}
#footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad-line);
}
#footer::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 27, 124, .22), transparent 70%);
    pointer-events: none;
}
#footer .container { position: relative; z-index: 1; }

#footer .footer-top {
    padding: clamp(52px, 6vw, 80px) 0 clamp(30px, 4vw, 44px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#footer h3 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: .9rem;
}
#footer h3 span { color: var(--magenta-600); }

#footer h4 {
    font-family: var(--font-sans);
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    padding-bottom: .8rem;
    position: relative;
}
#footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-line);
}

#footer .footer-links ul { list-style: none; margin: 0; padding: 0; }
#footer .footer-links li { padding: .38rem 0; }
#footer .footer-links a {
    color: rgba(255, 255, 255, .7);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: all var(--t);
}
#footer .footer-links a:hover { color: #fff; transform: translateX(3px); }
#footer .footer-links i { color: var(--magenta-600); }

#footer address { font-style: normal; }
#footer .footer-contact a {
    color: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    transition: all var(--t);
}
#footer .footer-contact a:hover { color: #ffd9ec; border-color: #ffd9ec; }
#footer .footer-contact strong { color: #fff; }

#footer .copyright { color: rgba(255, 255, 255, .65); display: flex; align-items: center; flex-wrap: wrap; gap: .2rem; }
#footer .copyright span { color: #fff; }

.agency-credit {
    margin-top: 1rem;
    padding: .85rem 1.15rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-pill);
    font-size: .86rem;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    transition: all var(--t);
}
.agency-credit:hover { background: rgba(255, 255, 255, .09); border-color: rgba(216, 27, 124, .5); }
.agency-credit i { color: var(--magenta-600); }
.agency-credit .agency-label {
    color: rgba(255, 255, 255, .55);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .13em;
}
.agency-credit a {
    color: #fff;
    font-weight: 800;
    border-bottom: 2px solid var(--magenta);
    padding-bottom: 1px;
}
.agency-credit a:hover { color: #ffd9ec; border-bottom-color: var(--cyan); }
.agency-credit a::after { content: " \2197"; font-weight: 400; opacity: .7; }

.social-links a {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: .45rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.15rem;
    transition: all var(--t);
}
.social-links a:hover {
    background: var(--grad-brand);
    border-color: transparent;
    transform: translateY(-3px);
    color: #fff;
}

/* --------------------------------------------------------------------------
   17. Retour en haut
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 996;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: var(--sh-brand);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--t);
}
.back-to-top.active { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   18. Pages de contenu (CGU…)
   -------------------------------------------------------------------------- */
.page-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(26px, 4vw, 56px);
    box-shadow: var(--sh-sm);
}
.page-content h2 {
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}
.page-hero {
    padding: calc(var(--header-h) + 56px) 0 clamp(30px, 4vw, 50px);
    background: var(--grad-brand-soft);
    border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   19. Navigation mobile
   -------------------------------------------------------------------------- */
/* Entre 992 et 1199 px, .container plafonne à 960 px alors que les rangées g-5
   conservent leurs marges de -24px : il restait quelques pixels de débordement
   juste après le point de rupture. Une gouttière de 2rem (marges de -16px)
   rentre exactement dans la marge disponible. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 2rem; }
}

@media (max-width: 991.98px) {
    :root { --header-h: 76px; }

    /* Une rangée Bootstrap porte des marges négatives égales à la moitié de sa
       gouttière : g-5 vaut 48px, donc -24px de chaque côté, alors que .container
       n'a que 12px de padding. La rangée dépassait de 12px de part et d'autre et
       provoquait un défilement horizontal. Les colonnes étant empilées à cette
       taille, la gouttière horizontale ne sert à rien : on la ramène à 1.5rem,
       la valeur des autres rangées de la page. */
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }

    /* Appel direct depuis la barre de navigation (pas seulement dans le menu) */
    .nav-tel {
        gap: .45rem;
        margin-right: .5rem;
        padding: .5rem .85rem;
        font-size: .84rem;
    }
    .nav-tel i { font-size: .92rem; }

    .mobile-nav-toggle {
        display: inline-grid;
        place-items: center;
        width: 46px;
        height: 46px;
        flex-shrink: 0;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 50%;
        background: rgba(255, 255, 255, .14);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: #fff;
        font-size: 1.5rem;
        line-height: 1;
        padding: 0;
        cursor: pointer;
        transition: all var(--t);
        z-index: 1100;
    }
    #header.header-scrolled .mobile-nav-toggle,
    body.has-solid-header .mobile-nav-toggle {
        background: var(--magenta-050);
        border-color: var(--magenta-100);
        color: var(--magenta);
    }
    .mobile-nav-toggle::before { line-height: 1; }
    .mobile-nav-toggle.fa-xmark {
        position: fixed;
        top: 18px;
        right: 18px;
        background: #fff;
        border-color: transparent;
        color: var(--plum-900);
        box-shadow: var(--sh-md);
        z-index: 1200;
    }

    #navbar:not(.navbar-mobile) ul { display: none; }

    #navbar.navbar-mobile {
        position: fixed;
        inset: 0;
        background: rgba(36, 9, 43, .55);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 1050;
        animation: fadeIn 240ms ease forwards;
    }

    #navbar.navbar-mobile ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .15rem;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(86vw, 380px);
        background: linear-gradient(180deg, #fff 0%, var(--canvas) 100%);
        box-shadow: -26px 0 66px rgba(36, 9, 43, .3);
        padding: 1.9rem 1.4rem;
        overflow-y: auto;
        animation: slideInRight 320ms var(--ease) forwards;
    }

    #navbar.navbar-mobile .mobile-only-brand {
        text-align: center;
        padding-bottom: 1.3rem;
        margin-bottom: .9rem;
        border-bottom: 1px solid var(--line);
    }
    #navbar.navbar-mobile .mobile-only-brand img { max-width: 165px; }

    #navbar.navbar-mobile li:not(.mobile-only-brand):not(.mobile-only-tel) {
        border-bottom: 1px solid var(--line);
    }

    #navbar.navbar-mobile a {
        display: flex;
        align-items: center;
        gap: .2rem;
        padding: 1.05rem .9rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--plum-800);
        border-radius: var(--r-sm);
    }
    #navbar.navbar-mobile a i { color: var(--magenta); width: 28px; font-size: 1.02rem; }
    #navbar.navbar-mobile a:hover,
    #navbar.navbar-mobile a:active {
        background: var(--magenta-050);
        color: var(--magenta);
        padding-left: 1.3rem;
    }

    #navbar.navbar-mobile a.nav-cta {
        justify-content: center;
        margin-top: 1.1rem;
        padding: 1rem;
        border-radius: var(--r-pill);
        color: #fff;
        background: var(--grad-brand);
        box-shadow: var(--sh-brand);
    }
    #navbar.navbar-mobile a.nav-cta i { color: #fff; }
    #navbar.navbar-mobile a.nav-cta:hover { padding-left: 1rem; color: #fff; }

    #navbar.navbar-mobile .mobile-only-tel { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
    #navbar.navbar-mobile .mobile-only-tel a {
        justify-content: center;
        background: var(--plum-800);
        color: #fff;
        border-radius: var(--r-pill);
        padding: .95rem 1rem;
    }
    #navbar.navbar-mobile .mobile-only-tel a i { color: #fff; }
    #navbar.navbar-mobile .mobile-only-tel a:hover { background: var(--plum-700); color: #fff; padding-left: 1rem; }

    body:has(#navbar.navbar-mobile) { overflow: hidden; }
    body:has(#navbar.navbar-mobile) #header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: .4; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: none; }
    .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 991.98px) {
    #hero { min-height: 0; padding-top: calc(var(--header-h) + 46px); text-align: center; }
    /* Texte centré sur mobile : le voile devient vertical plutôt que latéral */
    .hero-scrim {
        background: linear-gradient(180deg,
            rgba(16, 12, 18, .68) 0%,
            rgba(16, 12, 18, .58) 45%,
            rgba(16, 12, 18, .62) 100%);
    }
    #hero .eyebrow { justify-content: center; }
    .hero-brand { margin-inline: auto; }
    .hero-sub { margin-inline: auto; max-width: 52ch; }
    .hero-actions { justify-content: center; }
    .hero-card { margin-top: 2.4rem; text-align: left; }
    .hero-scroll { display: none; }

    .value-grid { grid-template-columns: 1fr; }

    .about-portrait { margin-bottom: 3.4rem; }
    .about-portrait img { max-width: 100%; margin-inline: auto; display: block; }
    .about-portrait::before { inset: 18px -14px -18px 18px; max-width: none; }
    .about-portrait .portrait-tag { left: 12px; bottom: -20px; }

    .contact-aside { margin-bottom: 1.6rem; }
}

@media (max-width: 767.98px) {
    body { font-size: .985rem; }
    .trust-strip { margin-top: -34px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { border-right: none; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: none; }
    .zone-intervention { border-radius: var(--r-lg); }
    .zone-grid { grid-template-columns: 1fr; }
    .avis-card blockquote { font-size: 1.08rem; }
    #footer .social-links a { margin: 0 .2rem; }
}

@media (max-width: 575.98px) {
    #logo-nav { height: 42px; }
    .btn { width: 100%; }
    .hero-actions .btn { width: 100%; }
    .formule-cta .btn { width: 100%; }
    .back-to-top { right: 14px; bottom: 14px; }
}

/* Écrans très étroits (≤ 340px, type iPhone SE 1ʳᵉ gén.) : le bouton d'appel
   se réduit à son icône pour laisser la place au logo et au menu.
   Au-dessus, le numéro reste lisible dans la barre. */
@media (max-width: 339.98px) {
    .nav-tel {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .nav-tel .nav-tel-num { display: none; }
}

/* --------------------------------------------------------------------------
   21. Accessibilité / mouvement réduit / impression
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

.visually-hidden-focusable:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    background: #fff;
    color: var(--plum-900);
    padding: .7rem 1.2rem;
    border-radius: var(--r-pill);
    box-shadow: var(--sh-md);
    font-weight: 700;
}

@media print {
    #header, #footer, .back-to-top, .hero-scroll, .map-frame, #galerie { display: none !important; }
    body { background: #fff; color: #000; }
    section { padding: 20px 0 !important; }
}
