/* ==========================================================================
   Landing V2 — « La cabine d'essayage des salons de coiffure »
   DA ScanHair (DESIGN.md, référence Apple) : Inter seule, 700 très grande et
   serrée, toile #f5f5f7, cartes #fff à 28 px SANS ombre, liens #0066cc,
   pastilles givrées pour les sélecteurs, logo complet (icône + « ScanHair »).
   Signature de marque : le dégradé du logo (#2151FC → #666AFD → lilas), sur les
   titres de section, les boutons d’action, le mot « avant. » et la scène finale.
   Mise en page « carrée » : tout est ferré à gauche sur le bord d’une grille à
   3 colonnes (gouttière --col-gap, retrait intérieur des cartes --card-pad).
   ========================================================================== */

/* ---------- Inter auto-hébergée ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Jetons DA ---------- */
:root {
  --fog: #f5f5f7;
  --snow: #ffffff;
  --ink: #1d1d1f;
  --graphite: #6e6e73;
  --slate: #424245;
  --mist: #e8e8ed;
  --hairline: #d2d2d7;
  --obsidian: #000000;
  --azure: #0071e3;
  --azure-hover: #0077ed;
  --cobalt: #0066cc;
  --green: #34c759;
  --caution: #b64400;
  --frost: rgba(210, 210, 215, .64);

  /* Couleurs du logo et de la mascotte */
  --brand-sky: #3ba2fe;
  --brand-royal: #2151fc;
  --brand-indigo: #666afd;
  --brand-lilac: #998efe;
  /* Dégradé du logo. La fin lilas est calée sur le « r » du logo (#8a78f7) pour tenir
     un contraste ≥ 3:1 en grand texte ; la variante --grad-strong (fin indigo) porte
     du texte blanc à ≥ 4,5:1 (boutons) ou du petit texte dégradé. */
  --grad: linear-gradient(90deg, #2151fc 0%, #666afd 58%, #8a78f7 100%);
  --grad-light: linear-gradient(90deg, #8ec5ff 0%, #a9a4ff 60%, #d3cbff 100%);
  --grad-strong: linear-gradient(90deg, #2151fc 0%, #4f5bf7 55%, #5b4cf5 100%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 60px;
  --r-card: 28px;
  --r-inner: 20px;
  --col-gap: 20px; /* gouttière unique des grilles à 3 colonnes (cartes, formules, exemples) */
  --card-pad: 32px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-cut: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--fog); color: var(--ink);
  font: 400 17px/1.47 var(--font); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss03";
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: rgba(0, 113, 227, .18); }
:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 8px; }
html.menu-open { overflow: hidden; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.mob-only { display: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; }

/* ---------- Typographie : une seule échelle pour toute la page ----------
   Titre de section 24 px en dégradé → titre 72 px (deux lignes, 11 em) →
   intro 21 px. Tout est ferré à gauche sur le bord de la grille : hero,
   sections, bandes vidéo et appel final partagent le même axe. */
/* Titre de section (Le constat, Fonctionnement…) : dégradé du logo, 24 px en gras
   (grand texte). fit-content : le dégradé s'étale sur le mot, pas sur la colonne. */
.eyebrow {
  display: block; width: fit-content; margin: 0 0 14px;
  font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow--light { background-image: var(--grad-light); }
.h2 { max-width: 11em; margin: 0; font-size: clamp(40px, 5.6vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.h2--light { color: #fff; }
.h3 { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.022em; text-wrap: balance; }
.lead { max-width: 34em; margin: 20px 0 0; font-size: clamp(19px, 1.55vw, 21px); line-height: 1.45; letter-spacing: -.016em; color: var(--graphite); }
.lead--light { color: rgba(255, 255, 255, .72); }

.section { padding-block: clamp(96px, 11vw, 150px); background: var(--fog); }
.section--white { background: var(--snow); }
.section__head { margin-bottom: clamp(44px, 5vw, 68px); }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.btn--sm { height: 34px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 30px; font-size: 17px; }
/* Action principale : le dégradé du logo (variante contrastée pour le texte blanc) ;
   au survol, il glisse vers sa fin indigo. */
.btn--brand {
  background: var(--grad-strong) 0 0 / 160% 100%; color: #fff;
  transition: background-position .5s var(--ease-out), transform .2s var(--ease);
}
.btn--brand:hover { background-position: 100% 0; }
.btn--black { background: var(--ink); color: #fff; }
.btn--black:hover { background: #000; }
.btn:active { transform: scale(.98); }
.link { display: inline-flex; align-items: center; gap: 2px; font-size: 17px; color: var(--cobalt); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link--light { color: #9ecbff; }
.catalogue-guides { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.i-chev { width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-check { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.nav.is-scrolled, .nav.is-menu {
  background: rgba(245, 245, 247, .74); box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); height: var(--nav-h); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
/* Logo complet (icône + « ScanHair »), jamais l'icône suivie d'un texte. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { width: auto; height: 34px; }
.nav__links { display: flex; gap: 32px; margin-inline: auto; }
.nav__links a { font-size: 14px; color: var(--ink); opacity: .8; text-decoration: none; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.nav__login { font-size: 14px; color: var(--ink); opacity: .8; text-decoration: none; }
.nav__login:hover { opacity: 1; }
.only-narrow { display: none; }
.nav__menu { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.nav__menu span { position: absolute; left: 11px; right: 11px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.nav__menu span:nth-child(1) { top: 16px; }
.nav__menu span:nth-child(2) { top: 23px; }
.nav__menu[aria-expanded="true"] span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--fog);
  display: flex; flex-direction: column; gap: 28px;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
}
.menu[hidden] { display: none; }
.menu__links { display: grid; }
.menu__links a { padding: 12px 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--mist); }
.menu__cta { width: 100%; margin-top: auto; }

/* ---------- Hero ----------
   Composition de la V1 (fond abstrait + voile, texte à gauche, coverflow
   d'avant/après réels à droite, titre révélé ligne à ligne), texte de la V2. */
.hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--fog);
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: safe center;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(16px, 3svh, 40px)) 0 clamp(28px, 4svh, 56px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 247, 250, .95) 0%, rgba(247, 247, 250, .74) 34%, rgba(247, 247, 250, .12) 60%, rgba(247, 247, 250, 0) 78%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
/* Le H1 reste discret au-dessus de l’accroche visuelle « L’après, avant. ». */
.hero__eyebrow { margin: 0 0 18px; font-size: clamp(15px, 1.4vw, 17px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; background: none; color: var(--ink); text-wrap: balance; }
/* Borné aussi par la hauteur d'écran (svh) : le hero tient dans la fenêtre. */
.hero__title { margin: 0; font-size: clamp(56px, min(9vw, 15svh), 128px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.hero__lead { max-width: 26em; margin: 24px 0 0; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.42; letter-spacing: -.018em; color: var(--graphite); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
.hero__micro { margin: 16px 0 0; font-size: 14px; color: var(--graphite); }

/* Titre révélé ligne à ligne (masque) ; le retrait bas garde le jambage du « p ». */
.hline { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hline__in { display: block; }
.js .hline__in { transform: translateY(112%); animation: hline-up .9s var(--ease-out) .05s forwards; }
.js .hline:nth-child(2) .hline__in { animation-delay: .17s; }
@keyframes hline-up { to { transform: none; } }

/* Coverflow d'avant/après (LandingExample, gérés par le manager) : le slide actif
   est à plat, ses voisins pivotés à ±50°, en boucle. ⚠️ Aucun transform sur le
   rail : il porte la perspective et tout transform (même neutre) aplatit la 3D
   des slides — le balayage est seulement mesuré en JS. */
.hero__media { position: relative; }
.ba-demo { display: flex; flex-direction: column; max-width: min(560px, 64svh); margin: 0 auto; }
.ba-demo__track { position: relative; perspective: 1600px; touch-action: pan-y; }
.ba-demo__slide {
  position: absolute; top: 0; left: 0; right: 0; width: 62%; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px; opacity: 0; cursor: pointer; touch-action: pan-y;
  transform: translateX(0) rotateY(0deg) scale(.5); transform-origin: center; backface-visibility: hidden;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease);
}
.ba-demo__slide.is-active { position: relative; z-index: 3; opacity: 1; cursor: default; transform: translateX(0) rotateY(0deg) scale(1); }
.ba-demo__slide.is-prev { z-index: 2; opacity: .78; transform: translateX(-70%) rotateY(-50deg) scale(.8); }
.ba-demo__slide.is-next { z-index: 2; opacity: .78; transform: translateX(70%) rotateY(50deg) scale(.8); }
.ba-demo__slide.is-far { z-index: 1; opacity: 0; pointer-events: none; }
.ba-demo__slide:not(.is-active) .ba__knob { pointer-events: none; }

.ba {
  position: relative; overflow: hidden; aspect-ratio: 720 / 900; border-radius: var(--r-card); background: var(--mist);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, .22), 0 10px 20px -6px rgba(15, 23, 42, .1), 0 2px 4px rgba(15, 23, 42, .06);
  -webkit-user-select: none; user-select: none;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; overflow: hidden; }
.ba__before .ba__img { inset: auto; top: 0; left: 0; height: 100%; max-width: none; }
.ba__tag {
  position: absolute; top: 12px; z-index: 2; padding: 4px 9px; border-radius: 999px; pointer-events: none;
  background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff;
}
.ba__tag--l { left: 12px; }
.ba__tag--r { right: 12px; }
/* La barre laisse passer le geste (balayage du carrousel) : seule la poignée se saisit. */
.ba__bar { position: absolute; top: 0; bottom: 0; z-index: 3; width: 44px; margin-left: -22px; display: grid; place-items: center; pointer-events: none; -webkit-tap-highlight-color: transparent; }
.ba__bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.ba__knob { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 12px rgba(0, 0, 0, .28); pointer-events: auto; touch-action: none; cursor: ew-resize; }
.ba__knob svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__bar:focus-visible { outline: none; }
.ba__bar:focus-visible .ba__knob { box-shadow: 0 0 0 3px var(--azure), 0 2px 12px rgba(0, 0, 0, .28); }
/* Légende sur deux lignes réservées : un libellé court ne décale pas la scène. */
.ba-demo__caption { min-height: calc(1.35em * 2); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ba-demo__dots { display: flex; justify-content: center; gap: 18px; margin-top: 4px; }
.ba-demo__dot { position: relative; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .18); cursor: pointer; transition: width .2s var(--ease), background-color .2s var(--ease); }
.ba-demo__dot::after { content: ""; position: absolute; inset: -8px; }
.ba-demo__dot[aria-current="true"] { width: 24px; background: var(--ink); }
.ba-demo__hint { margin: 8px 0 0; text-align: center; font-size: 14px; color: var(--slate); }

/* Repli sans avant/après publié : fondu de trois planches (3 × 7 s), 100 % CSS. */
.apercu {
  position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 720 / 900; overflow: hidden;
  border-radius: var(--r-card); background: var(--mist);
  box-shadow: 0 30px 60px -18px rgba(15, 23, 42, .35), 0 12px 24px -8px rgba(15, 23, 42, .18);
}
.apercu-slide { position: absolute; inset: 0; opacity: 0; animation: apercu-fade 21s ease-in-out infinite; }
.apercu-slide img { width: 100%; height: 100%; object-fit: cover; }
.apercu-slide:nth-child(2) { animation-delay: -14s; }
.apercu-slide:nth-child(3) { animation-delay: -7s; }
@keyframes apercu-fade { 0% { opacity: 0; } 2.4% { opacity: 1; } 31% { opacity: 1; } 33.3% { opacity: 0; } 100% { opacity: 0; } }
.apercu-indicator { display: flex; gap: 5px; max-width: 420px; margin: 18px auto 0; padding: 0 4px; }
.apercu-seg { flex: 1; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(0, 0, 0, .1); }
.apercu-seg__fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: #88c3fd; transform: scaleX(0); transform-origin: left center; }
.apercu-seg:nth-child(1) .apercu-seg__fill { animation: apercu-seg-1 21s linear infinite; }
.apercu-seg:nth-child(2) .apercu-seg__fill { animation: apercu-seg-2 21s linear infinite; }
.apercu-seg:nth-child(3) .apercu-seg__fill { animation: apercu-seg-3 21s linear infinite; }
@keyframes apercu-seg-1 { 0% { transform: scaleX(0); background-color: #88c3fd; } 33.33% { transform: scaleX(1); background-color: #88c3fd; } 33.34%, 100% { transform: scaleX(1); background-color: var(--azure); } }
@keyframes apercu-seg-2 { 0%, 33.33% { transform: scaleX(0); background-color: #88c3fd; } 66.66% { transform: scaleX(1); background-color: #88c3fd; } 66.67%, 100% { transform: scaleX(1); background-color: var(--azure); } }
@keyframes apercu-seg-3 { 0%, 66.66% { transform: scaleX(0); background-color: #88c3fd; } 99.99% { transform: scaleX(1); background-color: #88c3fd; } 100% { transform: scaleX(1); background-color: var(--azure); } }


/* Faits en bref : à la place de la preuve sociale de la V1, rien que du vérifiable. */
.facts {
  list-style: none; margin: clamp(32px, 5svh, 56px) 0 0; padding: 18px 8px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: var(--r-card); background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.facts li { display: flex; flex-direction: column; gap: 4px; padding: 6px 24px; border-left: 1px solid var(--hairline); }
.facts li:first-child { border-left: 0; }
.facts strong { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.facts span { font-size: 14px; color: var(--graphite); }

/* ---------- Aperçu : la vraie démo dans un iPhone ----------
   Grille à 3 colonnes : texte sur les colonnes 1–2 (titre ferré à gauche comme
   partout), iPhone dans la 3ᵉ. Toute la géométrie du téléphone dérive de --w
   (--wn = la même valeur sans unité, pour mettre l'iframe à l'échelle). */
.live { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; }
.live__copy { grid-column: 1 / span 2; }
.live__copy .section__head { margin-bottom: 0; }
.live__device { grid-column: 3; justify-self: center; }
.on-coarse { display: none; }

.live__steps { list-style: none; max-width: 34em; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.live__steps li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.live__steps strong { font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.live__steps span { font-size: 17px; line-height: 1.5; color: var(--graphite); }
.live__note { margin: 18px 0 0; font-size: 14px; color: var(--graphite); }
.live__qr { display: flex; align-items: center; gap: 20px; max-width: 34em; margin-top: 32px; padding: 20px; border-radius: var(--r-card); background: var(--fog); }
.live__qr-code { flex: none; width: 96px; height: 96px; padding: 8px; border-radius: 16px; background: #fff; }
.live__qr-code svg { width: 100%; height: 100%; }
.live__qr p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--graphite); }
.live__qr strong { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }

.phone {
  --w: 300px; --wn: 300;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.5;
  padding: calc(var(--w) * .036); border-radius: calc(var(--w) * .145);
  background: linear-gradient(158deg, #3a3a3d 0%, #1d1d1f 42%, #2b2b2e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 90px -46px rgba(29, 29, 31, .55);
}
.phone::before { content: ""; position: absolute; inset: calc(var(--w) * .02); z-index: 2; border-radius: calc(var(--w) * .125); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }
.phone__screen { position: relative; z-index: 1; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .11); background: #f4f4f7; }
.phone__island { position: absolute; top: calc(var(--w) * .045); left: 50%; z-index: 4; width: calc(var(--w) * .3); height: calc(var(--w) * .085); border-radius: 999px; background: #0a0a0b; transform: translateX(-50%); pointer-events: none; }
.phone__btn { position: absolute; width: calc(var(--w) * .016); min-width: 2px; border-radius: 2px; background: #2a2a2d; }
.phone__btn--vol { left: calc(var(--w) * -.006); top: 24%; height: 11%; box-shadow: 0 calc(var(--w) * .17) 0 #2a2a2d; }
.phone__btn--pwr { right: calc(var(--w) * -.006); top: 30%; height: 15%; }
.phone__shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* L'app s'affiche en 390 px (sa mise en page mobile), sous l'île dynamique, puis se
   met à l'échelle de l'écran (0,928 × --w). */
.phone__frame { position: absolute; inset: 0; overflow: hidden; }
.phone__frame iframe { position: relative; z-index: 1; display: block; width: 390px; height: 782px; margin-top: calc(var(--w) * .15); border: 0; transform-origin: top left; transform: scale(calc(var(--wn) * .928 / 390)); }
.phone__launch { display: none; }
.i-play { width: 12px; height: 12px; fill: currentColor; }
/* Écran tactile : démo non interactive dans le cadre, surcouche « Lancer la démo »
   (plein écran) ; la carte QR, pensée pour l'ordinateur, disparaît. */
@media (pointer: coarse) {
  .on-fine { display: none; }
  .on-coarse { display: inline; }
  .phone__frame iframe { pointer-events: none; }
  /* Bouton en bas de l'écran, sur le « Cliquer pour démarrer » de l'app (même geste),
     pour ne pas masquer son titre au centre. */
  .phone__launch { position: absolute; inset: 0; z-index: 5; display: grid; place-items: end center; padding-bottom: calc(var(--w) * .2); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .live__qr { display: none; }
}

/* ---------- Bandes vidéo (fonds conservés de la V1) ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.band-bg__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.band__inner { position: relative; display: flex; }

.band--constat { min-height: min(86vh, 800px); display: flex; align-items: center; background: #eeeff3; }
.band--constat .band-bg { object-position: right center; }
.band--constat .band-bg__veil { background: linear-gradient(90deg, rgba(245, 245, 247, .97) 0%, rgba(245, 245, 247, .9) 34%, rgba(245, 245, 247, .16) 60%, rgba(245, 245, 247, 0) 76%); }
.band--constat .band__inner { align-items: center; padding-block: clamp(96px, 12vw, 150px); }
.constat { max-width: 560px; }
/* Au-dessus de 960 px, la vidéo est toujours mise à l'échelle sur la LARGEUR (jamais
   recadrée par la gauche, bords haut/bas fondus dans la toile) : la mascotte reste
   au-delà de 54 % de la largeur, et le texte s'arrête à 46 % → jamais sur son visage. */
@media (min-width: 961px) {
  .constat { max-width: min(560px, 46vw); }
  .band--constat .band-bg {
    inset: 50% 0 auto; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  }
}
/* Même échelle que les sections : la phrase-choc est l'intro, en noir ; le récit suit. */
.constat__punch { font-weight: 600; color: var(--ink); }
.constat__text { margin-top: 12px; }

.band--equipe { min-height: min(108vh, 1040px); display: flex; background: var(--obsidian); color: #fff; }
.band--equipe .band-bg { object-position: center 30%; }
.band--equipe .band-bg__veil { background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .06) 30%, rgba(0, 0, 0, .5) 56%, rgba(0, 0, 0, .9) 74%, rgba(0, 0, 0, .97) 100%); }
.band--equipe .band__inner { align-items: flex-end; padding-block: clamp(140px, 16vw, 220px) clamp(64px, 8vw, 110px); }
.equipe { max-width: 980px; }
.equipe__text { margin-bottom: 28px; }
.equipe__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.equipe__points li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #fff; }
.equipe__points .i-check { color: var(--green); }

/* ---------- Fonctionnement : parcours interactif ---------- */
.journey-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 32px; }
.journey-heading .h2 { max-width: none; font-size: clamp(40px, 5.1vw, 66px); }
.journey-heading .lead { margin: 0 0 4px; max-width: 26ch; }
.journey { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.journey__steps { display: flex; flex-direction: column; gap: 8px; }
.journey__step { display: grid; grid-template-columns: 36px minmax(0, 1fr) 22px; gap: 16px; align-items: start; padding: 24px 18px; border-radius: 20px; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.journey__step:hover { background: var(--fog); }
.journey__step[aria-selected="true"] { background: #f0f2fe; }
.journey__number { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 6px; border: 1px solid var(--hairline); border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--graphite); }
.journey__step[aria-selected="true"] .journey__number { border-color: transparent; background: var(--grad-strong); color: #fff; }
.journey__role { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.journey__title { display: block; font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
.journey__description { display: block; margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--slate); }
[data-journey-ready] .journey__step:not([aria-selected="true"]) .journey__description { display: none; }
.journey__arrow { width: 22px; height: 22px; margin-top: 15px; fill: none; stroke: var(--graphite); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.journey__step[aria-selected="true"] .journey__arrow { stroke: var(--brand-royal); }
.journey__demo { margin: 26px 0 0 70px; }
.journey__summary { display: none; }
.journey__panel[hidden] { display: none; }
.journey__panel + .journey__panel { margin-top: 24px; }
[data-journey-ready] .journey__panel { margin-top: 0; }
.journey__stage { min-width: 0; }
.journey__scene { min-height: 510px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px; }
.scan-display { width: min(100%, 288px); padding: 32px 30px 26px; border-radius: 12px 12px 6px 6px; background: #fff; border-bottom: 8px solid #e0e3f1; box-shadow: 0 24px 42px -24px #242a6540, 0 2px 14px #242a6508; text-align: center; transform: perspective(1000px) rotateY(-9deg) rotate(-5deg); }
.scan-display__brand { width: 126px; height: auto; margin: auto; }
.scan-display p { margin: 24px 0; font-size: 19px; line-height: 1.35; letter-spacing: -.025em; }
.scan-display p strong { font-weight: 600; }
.scan-display__qr { display: block; width: 172px; max-width: 100%; margin: auto; padding: 10px; border: 1px solid var(--mist); border-radius: 12px; }
.scan-display__qr svg { width: 100%; height: auto; }
.scan-display__footer { display: block; margin-top: 20px; font-size: 10px; color: var(--graphite); }
.try-display { width: min(100%, 380px); }
.try-display__eyebrow { display: block; margin-bottom: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--graphite); }
.try-display > strong { display: block; font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.try-display__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; margin-top: 26px; }
.try-display__look { position: relative; }
.try-display__look img { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 14px; object-fit: cover; object-position: 50% 25%; }
.try-display__look.is-picked img { outline: 1.5px solid var(--brand-royal); outline-offset: 3px; }
.try-display__look > span { position: absolute; right: -7px; top: -7px; display: grid; place-items: center; width: 23px; height: 23px; border: 3px solid #fff; border-radius: 50%; background: var(--brand-royal); color: #fff; }
.try-display__look .i-check { width: 12px; height: 12px; }
.try-display__action { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; min-width: 210px; margin: 26px auto 0; padding: 13px 24px; border-radius: 30px; background: var(--grad-strong); color: #fff; font-size: 13px; }
.advice-display { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 24px; width: min(100%, 480px); margin-block: 40px; }
.advice-display figure { margin: 0; transform: translateY(-28px) rotate(-4deg); }
.advice-display figure + figure { transform: translateY(28px) rotate(4deg); }
.advice-display img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.advice-display figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13px; text-align: center; font-weight: 500; }
.advice-display figcaption::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #665343; }
.advice-display figure + figure figcaption::before { background: #c5a46b; }

/* ---------- Au salon : bénéfices du conseil, composition éditoriale ---------- */
.salon-impact__heading .h2 { max-width: none; }
.salon-impact__heading .lead { max-width: 37em; }
.salon-impact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.impact-feature { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; min-height: 460px; overflow: hidden; border-radius: var(--r-card); background: #fff; }
.impact-feature__copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.impact-kicker { margin: 0 0 18px; color: #5059c7; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.impact-feature h3, .impact-card h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.impact-feature__copy > p:not(.impact-kicker), .impact-card > p:not(.impact-kicker) { margin: 20px 0 0; max-width: 38ch; font-size: 17px; line-height: 1.55; color: var(--graphite); }
.impact-takeaway { display: block; margin-top: 32px; padding-left: 16px; border-left: 2px solid var(--brand-indigo); font-size: 14px; line-height: 1.55; font-weight: 500; }
.impact-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: center; align-items: center; padding: 40px 34px; background: #e9edf7; }
.impact-looks__label { grid-column: 1 / -1; margin-bottom: 16px; font-size: 13px; font-weight: 500; text-align: center; color: var(--slate); }
.impact-looks figure { margin: 0; padding: 8px 8px 15px; border-radius: 20px; background: #fff; transform: rotate(-5deg); }
.impact-looks figure + figure { transform: rotate(5deg) translateY(18px); }
.impact-looks img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 13px; }
.impact-looks figcaption { margin-top: 12px; text-align: center; font-size: 12px; font-weight: 500; }
.impact-looks__footnote { grid-column: 1 / -1; margin-top: 24px; text-align: center; font-size: 10px; color: var(--graphite); }
.impact-card { overflow: hidden; min-width: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-card); background: #fff; }
.impact-card h3 { font-size: clamp(28px, 3vw, 38px); }
.diagnostic-visual { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.diagnostic-visual > img { flex: none; width: 112px; height: 136px; object-fit: cover; border-radius: 16px; }
.diagnostic-visual__words { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.diagnostic-visual__words span { padding: 8px 12px; border-radius: 30px; background: var(--fog); font-size: 12px; color: var(--slate); white-space: nowrap; }
.impact-card--care { display: flex; flex-direction: column; background: #202644; color: #fff; }
.impact-card--care .impact-kicker { color: #b5bbff; }
.impact-card--care > p:not(.impact-kicker) { color: #c6cbdd; }
.care-points { display: flex; flex-direction: column; gap: 18px; margin: 30px 0; padding: 0; list-style: none; }
.care-points li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; color: #eef0ff; }
.care-points li > span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1px solid #697091; border-radius: 50%; color: #c0c6ff; }
.care-points .i-check { width: 12px; height: 12px; }
.care-signature { margin-top: auto; padding-top: 20px; border-top: 1px solid #464d69; font-size: 12px; color: #b6bed8; }
.salon-impact__cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.salon-impact__cta p { margin: 0; font-size: 15px; color: var(--graphite); }

@media (max-width: 960px) {
  .journey-heading { grid-template-columns: 1fr; gap: 20px; }
  .journey-heading .lead { max-width: 38em; }
  .journey { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .journey__step { gap: 10px; padding: 20px 12px; grid-template-columns: 30px minmax(0, 1fr); }
  .journey__number { width: 30px; height: 30px; }
  .journey__arrow { display: none; }
  .journey__description { font-size: 14px; }
  .journey__demo { margin-left: 12px; font-size: 15px; }
  .journey__scene { min-height: 480px; padding: 24px 12px; }
  .try-display > strong { font-size: 24px; }
  .advice-display { gap: 18px; }
  .impact-feature { grid-template-columns: 1fr 1fr; }
  .impact-looks { gap: 14px; padding: 34px 24px; }
  .impact-looks figcaption { font-size: 10px; }
  .impact-card > p:not(.impact-kicker), .impact-feature__copy > p:not(.impact-kicker) { font-size: 16px; }
  .diagnostic-visual { gap: 12px; }
  .diagnostic-visual > img { width: 84px; height: 108px; }
}
@media (max-width: 700px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  [data-journey-ready] .journey__navigation { display: contents; }
  [data-journey-ready] .journey__stage { order: 1; }
  [data-journey-ready] .journey__demo { order: 2; margin-top: 0; }
  [data-journey-ready] .journey__steps { flex-direction: row; gap: 0; border-bottom: 1px solid var(--hairline); }
  [data-journey-ready] .journey__step { display: block; flex: 1; min-width: 0; padding: 14px 8px 16px; border-radius: 0; border-bottom: 2px solid transparent; }
  [data-journey-ready] .journey__step[aria-selected="true"] { background: transparent; border-bottom-color: var(--brand-royal); }
  [data-journey-ready] .journey__number { display: block; width: auto; height: auto; margin: 0 0 10px; border: 0; background: transparent; color: var(--graphite); font-size: 11px; }
  [data-journey-ready] .journey__step[aria-selected="true"] .journey__number { background: transparent; color: var(--brand-royal); }
  [data-journey-ready] .journey__role, [data-journey-ready] .journey__description { display: none; }
  [data-journey-ready] .journey__title { font-size: clamp(15px, 3.6vw, 23px); letter-spacing: -.025em; }
  [data-journey-ready] .journey__summary { display: block; min-height: 90px; margin: 0 0 24px; color: var(--slate); font-size: 15px; line-height: 1.55; }
  .journey__demo { margin: 22px 0 0; }
  .journey__scene { min-height: 445px; padding: 26px 8px; }
  .scan-display { width: min(100% - 20px, 288px); }
  .advice-display { width: min(100%, 420px); gap: 18px; }
  .advice-display figcaption { gap: 6px; font-size: 11px; }
  .impact-feature { grid-template-columns: minmax(0, 1fr); }
  .impact-feature__copy { padding: 32px 28px; }
  .impact-looks { padding: 32px; }
  .impact-looks figcaption { font-size: 12px; }
  .impact-takeaway { margin-top: 24px; }
  .salon-impact__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .impact-card { padding: 32px 28px; }
  .diagnostic-visual > img { width: 106px; height: 132px; }
  .diagnostic-visual { gap: 20px; }
  .salon-impact__cta { margin-top: 28px; }
}
@media (max-width: 360px) {
  .journey__scene { padding: 22px 6px; }
  .scan-display { padding: 26px 22px 22px; }
  .try-display__grid { gap: 16px 10px; }
  .try-display > strong { font-size: 23px; }
  .advice-display { gap: 14px; }
  .advice-display figcaption { font-size: 10px; }
  .impact-feature__copy, .impact-card { padding: 28px 24px; }
  .impact-feature h3, .impact-card h3 { font-size: 26px; }
  .impact-looks { gap: 10px; padding: 24px; }
  .impact-looks figure { padding: 5px 5px 10px; border-radius: 15px; }
  .impact-looks figcaption { font-size: 10px; }
  .diagnostic-visual { gap: 10px; }
  .diagnostic-visual > img { width: 80px; height: 110px; }
  .diagnostic-visual__words span { padding: 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey__step { transition: none; }
}

/* ---------- Nuancier ---------- */
.meches__track {
  display: flex; gap: 28px; overflow-x: auto; overscroll-behavior-x: contain;
  /* 100 % (et non 100vw, qui inclut la barre de défilement) : le rail démarre pile sur le bord de la grille. */
  padding: 6px max(var(--gutter), calc((100% - var(--wrap)) / 2)) 22px;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
}
.meches__track::-webkit-scrollbar { display: none; }
.meches__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.meches__track.is-dragging .meche { pointer-events: none; }
.meches__group { flex: none; display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.meches__family { font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--graphite); }
.meches__row { display: flex; gap: 6px; }
.meche {
  position: relative; flex: none; width: 46px; height: 300px; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  border-radius: 14px 14px 26px 26px; background: var(--img, none) center / cover no-repeat, var(--swatch, #888);
  transition: width .5s var(--ease-out);
}
.meche::before { content: ""; position: absolute; top: 10px; left: 9px; right: 9px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
.meche:hover, .meche:focus-visible, .meche[aria-pressed="true"] { width: 156px; }
.meches__track:hover .meche[aria-pressed="true"]:not(:hover) { width: 46px; }
.meche__info {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 1px; padding: 48px 12px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .7)); color: #fff; text-align: left; opacity: 0; transition: opacity .3s var(--ease);
}
.meche:hover .meche__info, .meche:focus-visible .meche__info, .meche[aria-pressed="true"] .meche__info { opacity: 1; transition-delay: .14s; }
.meches__track:hover .meche[aria-pressed="true"]:not(:hover) .meche__info { opacity: 0; transition-delay: 0s; }
.meche__tone { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.meche__meta { font-size: 11px; font-weight: 500; opacity: .75; }
.meche__meta--solo { margin-bottom: 1px; }
.meche__name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meche__flag { align-self: flex-start; margin-top: 5px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: 10.5px; font-weight: 500; }
.meches__hint { margin-top: 4px; font-size: 14px; color: var(--graphite); }

.lookbook { margin-top: clamp(56px, 7vw, 88px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.lookbook__track { list-style: none; display: flex; gap: 20px; width: max-content; margin: 0; padding: 0; animation: marquee 80s linear infinite; }
.lookbook:hover .lookbook__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.lookbook__item { flex: none; width: 210px; }
.lookbook__item img { width: 100%; aspect-ratio: 4 / 5; border-radius: 24px; object-fit: cover; object-position: 50% 26%; background: var(--snow); }
.lookbook__name { display: block; margin-top: 12px; font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.lookbook__cat { display: block; margin-top: 1px; font-size: 13px; color: var(--graphite); }

/* ---------- Au fauteuil ---------- */
/* Toujours la grille à 3 colonnes : 1 ou 2 exemples restent calés sur les colonnes des cartes. */
.compare-grid { display: grid; gap: var(--col-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compare { margin: 0; }
.compare__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: var(--mist); touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; }
.compare__before, .compare__after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare__handle i { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.compare__handle i::before, .compare__handle i::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border: solid var(--ink); border-width: 0 0 1.6px 1.6px; }
.compare__handle i::before { left: 11px; transform: rotate(45deg); }
.compare__handle i::after { right: 11px; transform: rotate(-135deg); }
.compare__tag { position: absolute; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .4); color: #fff; font-size: 12px; font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; }
.compare__range { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; }
.compare:focus-within .compare__handle i { box-shadow: 0 0 0 3px var(--azure); }
.compare figcaption { margin-top: 14px; font-size: 15px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }

/* ---------- Tarifs ---------- */
/* Le séparateur du résultat tombe pile sur la 3ᵉ colonne des formules : la colonne
   résultat mesure une colonne de grille moins le retrait intérieur de la carte. */
.estimator {
  display: grid; grid-template-columns: minmax(0, 1fr) calc((100% + 2 * var(--card-pad) - 2 * var(--col-gap)) / 3 - var(--card-pad));
  gap: 20px 56px; align-items: center; margin-bottom: var(--col-gap); padding: var(--card-pad);
  border-radius: var(--r-card); background: var(--fog);
}
.estimator__label { display: block; font-size: clamp(19px, 1.55vw, 21px); font-weight: 600; letter-spacing: -.02em; }
.estimator__slider { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.estimator__range { flex: 1; height: 28px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.estimator__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--fill, 31%), var(--hairline) 0); }
.estimator__range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--hairline); }
.estimator__range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
.estimator__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .16); }
.estimator__range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .16); }
.estimator__slider output { min-width: 3ch; font-size: 21px; font-weight: 600; letter-spacing: -.02em; text-align: right; font-variant-numeric: tabular-nums; }
.estimator__hyp { margin: 10px 0 0; font-size: 13px; color: var(--graphite); }
.estimator__result { padding-left: var(--card-pad); border-left: 1px solid var(--hairline); }
.estimator__need { margin: 0; font-size: 17px; color: var(--graphite); }
.estimator__need span { display: block; margin-bottom: 2px; font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.estimator__plan { margin: 10px 0 0; font-size: 17px; color: var(--graphite); }
.estimator__plan strong { font-weight: 600; color: var(--ink); }
.estimator__warn { margin: 8px 0 0; font-size: 13px; color: var(--caution); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.plan { position: relative; display: flex; flex-direction: column; padding: calc(var(--card-pad) + 2px) var(--card-pad) var(--card-pad); border-radius: var(--r-card); background: var(--fog); transition: box-shadow .3s var(--ease); }
.plan.is-reco { box-shadow: inset 0 0 0 2px var(--ink); }
.plan__reco { position: absolute; top: 14px; left: var(--card-pad); margin: 0; font-size: 12px; font-weight: 600; letter-spacing: -.005em; opacity: 0; transform: translateY(3px); transition: opacity .3s var(--ease), transform .3s var(--ease); background: var(--grad-strong); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan.is-reco .plan__reco { opacity: 1; transform: none; }
.plan__name { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.plan__fit { margin: 4px 0 0; font-size: 15px; color: var(--graphite); }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 20px; }
.plan__price span { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 17px; color: var(--graphite); }
.plan__list { list-style: none; display: grid; gap: 10px; margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; }
.plan__list .i-check { margin-top: 2px; color: var(--graphite); }
.plan .link { margin-top: auto; }
.plans__incl { max-width: 52em; margin: 22px 0 0; font-size: 14px; line-height: 1.5; color: var(--graphite); }
.tarifs__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 40px; }
.tarifs__terms { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; font-size: 13px; color: var(--graphite); }
.tarifs__terms a { color: var(--cobalt); }

/* ---------- Questions ---------- */
/* Même en-tête que les autres sections ; la liste occupe deux colonnes de la grille. */
.faq { max-width: calc((100% - 2 * var(--col-gap)) / 3 * 2 + var(--col-gap)); border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-size: clamp(19px, 1.55vw, 21px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 20px; height: 20px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 3px; right: 3px; height: 1.6px; margin-top: -.8px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__item p { margin: -6px 0 24px; max-width: 38em; font-size: 17px; line-height: 1.55; color: var(--graphite); }

/* ---------- Scène finale : le texte sur la scène noire, puis le dégradé du logo
   qui s'allume sous la mascotte (source de lumière, jamais sous le texte). ---------- */
.final { position: relative; overflow: hidden; padding-top: clamp(96px, 11vw, 150px); background: var(--ink); color: #fff; }
.final__inner { position: relative; z-index: 1; }
.final__text { margin-bottom: 32px; }
.final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.final__micro { margin: 18px 0 0; font-size: 14px; color: #86868b; }
/* La mascotte se cale sur le bord droit de la grille, en face du texte ferré à
   gauche ; la lumière du dégradé se centre sous elle. */
.final__stage {
  --mascot: min(320px, 60vw);
  position: relative; overflow: hidden;
  height: clamp(300px, 32vw, 440px); margin-top: clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--ink) 0%, #243fb8 46%, #2151fc 72%, #666afd 100%);
}
.final__stage::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46% 62% at calc(50% + min(var(--wrap) / 2, 50% - var(--gutter)) - var(--mascot) / 2) 100%, rgba(186, 214, 255, .6), rgba(186, 214, 255, 0) 70%);
}
.final__floor { position: relative; height: 100%; display: flex; justify-content: flex-end; align-items: flex-end; }
.final__mascot { position: relative; width: var(--mascot); height: auto; margin-bottom: -44px; filter: drop-shadow(0 24px 50px rgba(18, 34, 150, .5)); }

/* ---------- Pied de page ---------- */
.foot { padding-block: 40px calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--fog); font-size: 12px; color: var(--graphite); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.foot__top p { margin: 0; font-size: 14px; }
.foot .brand__logo { height: 28px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 20px 0; font-size: 14px; }
.foot__links a { color: var(--ink); text-decoration: none; opacity: .85; }
.foot__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.foot__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot__bottom a { color: var(--graphite); text-decoration: none; }
.foot__bottom a:hover { color: var(--ink); }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --card-pad: 26px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__login { display: none; }
  .nav__menu { display: inline-block; }
  .nav__actions { gap: 6px; margin-left: auto; }
  /* Une seule colonne, calée à gauche comme les en-têtes. */
  .plans, .compare-grid { grid-template-columns: minmax(0, 560px); }
  .estimator { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .estimator__result { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--hairline); }
  .faq { max-width: none; }
  .live { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .live__copy, .live__device { grid-column: 1; }
  .live__qr { display: none; }
  .phone { --w: 280px; --wn: 280; }

  /* Le constat : sous 960 px la vidéo (recadrée à droite) passait sous le texte ;
     elle occupe désormais le bas de la section et le texte reste sur la toile. */
  .band--constat { --band-video: min(88vw, 700px); display: block; min-height: 0; padding-bottom: calc(var(--band-video) * .8); }
  .band--constat .band-bg { top: auto; height: var(--band-video); object-position: 73% 50%; }
  .band--constat .band-bg__veil { background: linear-gradient(180deg, #f5f5f7 0%, #f5f5f7 calc(100% - var(--band-video)), rgba(245, 245, 247, 0) calc(100% - var(--band-video) * .75)); }
  .band--constat .band__inner { padding-block: 88px 0; }
}
/* Hero empilé (même seuil que la V1) : texte puis carrousel, en flux normal, ferré à gauche. */
@media (max-width: 840px) {
  .hero { display: block; min-height: 0; padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(28px, 7vw, 48px)); padding-bottom: clamp(40px, 9vw, 64px); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  /* Même rapport qu'au bureau (≈ 1,8 × le titre de section) ; 56 px au minimum. */
  .hero__title { font-size: clamp(56px, 12vw, 80px); }
}
@media (max-width: 760px) {
  .desk-only { display: none; }
  .mob-only { display: inline; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; padding-block: 20px; }
  .facts li { border-left: 0; }
  /* Le fait le plus long (« Sans application ») prend toute la ligne, les quatre autres en 2 × 2. */
  .facts li:first-child { grid-column: 1 / -1; }

  .band--equipe { min-height: 780px; }
  .band--equipe .band-bg { object-position: 65% center; }
  .band--equipe .band-bg__veil { background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .1) 28%, rgba(0, 0, 0, .82) 56%, rgba(0, 0, 0, .96) 100%); }
  .band--equipe .band__inner { padding-block: 300px 56px; }
}
@media (max-width: 560px) {
  :root { --card-pad: 24px; }
  .facts strong { font-size: 19px; }
  .facts li { padding-inline: 16px; }
  .hero__actions, .final__actions { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .hero__actions .btn, .final__actions .btn { width: 100%; max-width: 340px; }
  .meche { width: 38px; height: 250px; }
  .meche:hover, .meche:focus-visible, .meche[aria-pressed="true"] { width: 136px; }
  .meches__track:hover .meche[aria-pressed="true"]:not(:hover) { width: 38px; }
  .lookbook__item { width: 160px; }
  .tarifs__cta .btn { width: 100%; }
  .live__steps li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .brand__logo { height: 30px; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

/* ---------- Mouvement réduit : poster à la place des vidéos, rien ne défile ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-bg { display: none; }
  .band--constat { background: #eeeff3 url("../video/constat-mascotte-poster.jpg") center / 100% auto no-repeat; }
  .band--equipe { background: var(--obsidian) url("../video/equipe-mascotte-poster.jpg") 65% center / cover no-repeat; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hline__in { transform: none; animation: none; }
  .ba-demo__slide { transition: none; }
  .apercu-slide { animation: none; }
  .apercu-slide:first-child { opacity: 1; }
  .apercu-seg__fill { animation: none; transform: none; background: var(--azure); }
  .lookbook { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .lookbook__track { animation: none; }
  .lookbook__item[aria-hidden="true"] { display: none; }
  .meche { transition: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 960px) {
  .band--constat { background: #f5f5f7 url("../video/constat-mascotte-poster.jpg") 73% 100% / auto min(88vw, 700px) no-repeat; }
}
