@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&family=Geist+Mono:wght@400;500&display=swap');
/* ═══════════════════════════════════════════════════════════
   TEMPLATE « SITE IMMERSIF » — feuille de style canonique
   NE PAS MODIFIER en dehors des tokens :root (thème + accent).
   Le thème se choisit par <html data-theme="dark"> (light par
   défaut) ; l'accent par --lime / --lime-ink.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ═══ THÈME LIGHT (défaut) — surcharge dark plus bas ═══ */
  --ink-rgb: 26, 25, 21;          /* composantes RGB du texte (pour les rgba) */
  --bone: #f4f3f0;                /* toile de fond */
  --ink: #1a1915;                 /* texte principal */
  --ash: #82868e;                 /* texte secondaire */
  --white: #ffffff;               /* surfaces élevées (header, panneau, tuiles) */

  /* ═══ ACCENT — les 2 seules variables à changer pour une autre couleur ═══ */
  --lime: #a9e7f5;                /* accent (bouton CTA, bande devise, éléments accent) */
  --lime-ink: #1a1915;            /* texte posé SUR l'accent */

  --ink-faint: rgba(var(--ink-rgb), 0.16);

  --sans: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --geo: var(--sans);
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-heading: clamp(34px, 4.6vw, 57px);
  --radius: 2px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ═══ THÈME DARK — activé par <html data-theme="dark"> ═══ */
html[data-theme="dark"] {
  --ink-rgb: 242, 241, 236;
  --bone: #141311;
  --ink: #f2f1ec;
  --ash: #8f938f;
  --white: #201f1c;
  --ink-faint: rgba(var(--ink-rgb), 0.16);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.007em;
  line-height: 1.3;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; border-radius: var(--radius); }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 400; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 400;
}
.ash { color: var(--ash); }

/* ═══════════ SMOOTH WRAPPER ═══════════ */
body.is-smooth .smooth {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  will-change: transform;
}

/* ═══════════ PRELOADER ═══════════ */
/* preloader : le nom + un trait qui se remplit. À la fin le voile
   s'efface et le nom REJOINT sa place dans le dock — la page ne se
   substitue pas au loader, elle en sort. */
.loader {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.loader::before {
  content: ''; position: absolute; inset: 0;
  background: var(--bone);
  transition: opacity .75s var(--ease-inout);
}
.loader.done { pointer-events: none; }
.loader.done::before { opacity: 0; }
.loader-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.loader-wordmark {
  font-size: 23px; letter-spacing: -0.007em; font-weight: 500;
  transform-origin: center center;
  transition: transform .9s var(--ease-inout);
  will-change: transform;
}
/* posé : le nom du loader s'efface pendant que le dock se révèle, sur la
   MÊME durée et au même endroit — un fondu croisé, jamais une bascule
   sèche ni un instant sans nom à l'écran */
.loader-wordmark.landed { opacity: 0; transition: opacity .32s var(--ease-out); }
.loader-rule {
  display: block; width: 128px; height: 1px;
  background: var(--ink-faint); overflow: hidden;
  transition: opacity .3s var(--ease-out), transform .5s var(--ease-inout);
}
.loader.done .loader-rule { opacity: 0; transform: scaleX(0.4); }
.loader-rule i {
  display: block; width: 100%; height: 100%;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
}
/* pendant le relais le dock est déjà à sa place, simplement invisible :
   il ne descend pas en même temps que le wordmark vole vers lui. */
body.handoff .dock {
  transform: translate(-50%, 0);
  opacity: 0;
  transition: none;
}

/* ═══════════ SCÈNES (pin émulé) ═══════════ */
.scene { position: relative; }
.scene .pin {
  height: 100vh;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* ═══════════ RÉVÉLATIONS GÉNÉRIQUES ═══════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ═══════════ S1 · HERO ═══════════ */
.s-hero .pin { background: var(--bone); }

.floaters { position: absolute; inset: 0; z-index: 1; }
.fl {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--w);
  overflow: hidden;
  border-radius: var(--radius);
  will-change: transform;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease-inout);
  transition-delay: calc(var(--fi, 0) * 90ms + .15s);
}
.fl img { width: 100%; height: auto; transform: scale(1.3); transition: transform 1.7s var(--ease-out); transition-delay: calc(var(--fi, 0) * 90ms + .15s); }
body.is-ready .fl { clip-path: inset(0 0 0 0); }
body.is-ready .fl img { transform: scale(1); }

.hero-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.hero-kicker { margin-bottom: 28px; will-change: opacity; }
.hero-title { font-size: var(--t-heading); letter-spacing: -0.02em; line-height: 1.12; font-weight: 400; }
.hero-line1 { display: block; will-change: opacity; }
.hero-line2 {
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
.hero-line2 .hl { flex: 0 0 auto; }

/* image qui naît puis grandit dans le texte */
.grow {
  display: block; flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  width: 0; height: 0;
  will-change: width, height;
  position: relative;
}
.grow img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw; height: 100vh;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
}

/* calque série en lumière */
.spot { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.spot-intro {
  position: absolute; top: 44%; left: 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: var(--t-heading); letter-spacing: -0.02em;
  white-space: nowrap;
}
.spot-intro span { display: inline-block; will-change: opacity, transform; opacity: 0; }
/* ═══════════ S2 · MANIFESTE ═══════════ */
.s-fill .pin {
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fill-text {
  width: min(880px, 74vw);
  font-size: clamp(28px, 3.6vw, 52px);
  letter-spacing: -0.02em; line-height: 1.16;
  text-align: left;
}
.fill-text .fc { color: var(--ink-faint); transition: color .25s linear; }
.fill-text .fc.on { color: var(--ink); }
.fill-text.greyed .fc { color: rgba(var(--ink-rgb), 0.34); transition: color .6s; }

.boxed { position: relative; white-space: nowrap; }
.box-svg { position: absolute; inset: -0.22em -0.35em; width: calc(100% + 0.7em); height: calc(100% + 0.44em); overflow: visible; }
.box-svg path {
  fill: none; stroke: var(--ink); stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.fill-text.greyed .box-svg path { stroke: var(--ink-faint); transition: stroke .6s; }

/* ═══════════ S3 · SÉLECTION ═══════════ */
.collection {
  position: relative;
  background: var(--white);
  padding: 14vh var(--gutter) 30vh;
  margin-top: -100vh; /* recouvre le manifeste grisé SUR PLACE, pendant son épinglage */
  z-index: 2;
  overflow: visible;
}
.coll-head { text-align: center; margin-bottom: 10vh; position: relative; z-index: 1; }
.coll-title { font-size: var(--t-heading); letter-spacing: -0.02em; margin: 16px 0 10px; }
.coll-sub { color: var(--ash); margin-bottom: 18px; }
.coll-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
  align-items: start;
  position: relative; z-index: 2;
}
.col { display: grid; gap: clamp(44px, 5vw, 84px); will-change: transform; }
.col:nth-child(2) { margin-top: 14vh; }
.col:nth-child(3) { margin-top: 4vh; }
.col:nth-child(4) { margin-top: 9vh; }
.card { position: relative; }
.card-img { position: relative; overflow: hidden; border-radius: var(--radius); }
.card-img img { width: 100%; transition: transform .9s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.045); }
.card figcaption { margin-top: 12px; font-size: 19px; letter-spacing: -0.007em; }
.card figcaption .mono { display: block; color: var(--ash); margin-top: 3px; }

/* carte vedette : voyage du centre du titre vers sa case */
#featuredCard { will-change: transform; position: relative; z-index: 3; }

/* ═══════════ S3bis · FEATURES BENTO ═══════════ */
/* VRAI bento : 4 tuiles de tailles CONTRASTÉES, jamais 4 cases égales
   (une grille régulière n'est pas un bento). 3 colonnes, 4 rangées :
   une grande, une haute, une haute, une grande — en diagonale.
   Toutes couvrent 2 rangées : aucune tuile écrasée en bandeau. */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(230px, 31vh);
  gap: clamp(12px, 1.4vw, 20px);
  position: relative; z-index: 2;
}
.b-big  { grid-column: span 2; grid-row: span 2; }
.b-tall { grid-column: span 1; grid-row: span 2; }
.bento-grid .card {
  background: var(--white);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  border-radius: var(--radius);
  padding: 12px 12px 16px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.bento-grid .card-img { flex: 1; min-height: 0; }
.bento-grid .card-img img { width: 100%; height: 100%; object-fit: cover; }
.bento-grid figcaption { margin-top: 12px; }

/* ═══════════ S4 · BANDE LIME ═══════════ */
.band { position: relative; z-index: 3; margin-top: -20vh; }
.diag { height: 12vw; position: relative; margin: -1px 0; }
.to-lime   { background: linear-gradient(to bottom right, transparent 49.7%, var(--lime) 50.3%); }
.from-lime { background: linear-gradient(to bottom right, var(--lime) 49.7%, transparent 50.3%); }
/* ═══════════ 5 · DEVISE — train de mots-clés (scène épinglée) ═══════════ */
.s-motto .pin { background: var(--lime); overflow: hidden; }
.motto-kicker {
  position: absolute; top: 13vh; left: 50%;
  transform: translateX(-50%);
  color: var(--lime-ink); opacity: 0.7;
}
.motto-track {
  position: absolute; top: 50%; left: 0;
  display: flex; align-items: baseline;
  gap: 7vw;
  white-space: nowrap;
  will-change: transform;
}
.mw {
  font-family: var(--geo);
  font-weight: 300;
  font-size: clamp(96px, 16vw, 250px);
  letter-spacing: -0.02em; line-height: 1;
  color: var(--lime-ink);
  will-change: opacity;
}
.mw .sc { display: inline-block; will-change: transform; }
.motto-hint {
  position: absolute; bottom: 14vh; left: 50%;
  transform: translateX(-50%);
  color: var(--lime-ink);
  transition: opacity .25s;
  text-align: center;
  max-width: 80vw;
}
.motto-hint.swap { opacity: 0; }

/* ═══════════ S5 · NUIT + EXPLORER ═══════════ */
.s-night .pin { background: var(--bone); }
.night-line {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
  font-size: var(--t-heading); letter-spacing: -0.02em;
  z-index: 2;
}
.night-line .nw { will-change: opacity, transform; opacity: 0; }
.night-line .nw + .nw { margin-left: 0.28em; }
/* compteur monumental : le numéro d'étape, en filigrane, qui défile */
.bignum {
  position: absolute; right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: flex-start;
  font-size: min(44vh, 30vw);
  font-weight: 300; line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  z-index: 11; opacity: 0; pointer-events: none;
}
.bignum-roll { display: block; height: 1em; overflow: hidden; }
.bignum-roll > span { display: block; will-change: transform; }
.bignum-roll i { display: block; height: 1em; font-style: normal; letter-spacing: normal; padding-right: 0.06em; }
/* rideau de lames : couvre puis découvre, l'image ne recule jamais */
/* débord de 2 px sur les quatre côtés : le pin est translaté sur des
   valeurs fractionnaires, et un rideau calé à 0 laisse transparaître une
   ligne d'image sur les bords. */
.wipe { position: absolute; inset: -2px; z-index: 9; display: flex; pointer-events: none; overflow: hidden; }
.wipe span {
  flex: 1 1 0; position: relative; margin-right: -2px;
  min-width: 0;
  background: var(--bone);
  transform: scaleY(0); transform-origin: bottom;
  will-change: transform;
}
/* PAS d'arête dessinée sur les lames. Une lame rétractée sur un fond de
   même couleur ne doit RIEN laisser : un liseré ::before/::after y trace
   des traits parasites en travers de l'écran pendant le relais entre deux
   étapes (visibles en accent comme en neutre). La lame se lit à son
   remplissage quand elle passe sur l'image, pas à un filet. */
.wipe span:last-child { margin-right: 0; }
/* contenu de l'étape à gauche */
.psteps { position: absolute; left: var(--gutter); top: 50%; width: min(560px, 42vw); z-index: 12; }
.pstep {
  position: absolute; left: 0; top: 0;
  opacity: 0;
  will-change: opacity, transform;
}
.pstep-meta { display: block; margin-bottom: 14px; }
.pstep h3 {
  font-size: clamp(38px, 4.6vw, 64px);
  letter-spacing: -0.018em;
  margin-bottom: 16px;
}
.pstep p { font-size: 19px; line-height: 1.45; max-width: 26em; }

/* CTA de conversion en fin de processus */
.steps-cta {
  position: absolute; left: 50%; bottom: 8vh;
  transform: translateX(-50%);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0;
  z-index: 12;
  will-change: opacity, transform;
}
.steps-cta a { position: relative; display: inline-block; padding: 0.28em 0.55em; }
.cta-oval {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
.cta-oval path { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

/* ═══════════ 9 · OBJECTIONS (FINALE) ═══════════ */
.s-final .pin {
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
}
.final-text {
  position: relative; z-index: 2;
  text-align: center;
  font-size: var(--t-heading); letter-spacing: -0.02em; line-height: 1.2;
  padding: 0 var(--gutter);
  max-width: min(940px, 74vw); margin: 0 auto;
}
.fs { color: var(--ink-faint); transition: color .5s; }
.fs.on { color: var(--ink); }
.pill { position: relative; white-space: nowrap; }
.pill-svg {
  position: absolute; inset: -0.2em -0.3em;
  width: calc(100% + 0.6em); height: calc(100% + 0.4em);
  overflow: visible;
}
.pill-svg path {
  fill: none; stroke: var(--ink); stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}
.trail {
  position: absolute; inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.trail img {
  position: absolute; top: 0; left: 0;
  width: var(--tw, 150px);
  max-width: none;
  opacity: 0;
  will-change: transform, opacity;
}

/* ═══════════ 8 · PREUVE SOCIALE (scène épinglée) ═══════════ */
.s-quote .pin {
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
}
/* témoignage : guillemet, parole, filet, signature — la grammaire d'un avis */
.q-stack { position: relative; z-index: 2; width: min(980px, 84vw); }
.q-glyph {
  display: block;
  font-size: clamp(88px, 8.5vw, 146px); line-height: 0.62;
  color: var(--ink-faint);
  margin-bottom: 6px;
  opacity: 0; will-change: opacity, transform;
}
.q-block { position: relative; }
.q-text {
  font-size: clamp(25px, 3vw, 46px);
  line-height: 1.28; letter-spacing: -0.018em;
  color: var(--ink);
  opacity: 0; will-change: opacity, transform;
}
.q-sign { margin-top: clamp(34px, 4.4vw, 58px); }
.q-rule {
  display: block; height: 1px; background: var(--ink-faint);
  transform: scaleX(0); transform-origin: left;
}
.q-sign-row {
  display: flex; align-items: baseline; gap: 20px;
  padding-top: 18px;
}
.q-name { font-size: 20px; font-weight: 500; opacity: 0; }
.q-ctx { flex: 1; opacity: 0; }
.q-fig {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 300; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  opacity: 0;
}
.q-fig .fig-pre { font-size: 0.58em; }
.q-fig .fig-unit { font-size: 0.46em; margin-left: 0.08em; }
/* pas de chiffre fourni : la signature se resserre, rien ne flotte */
.q-stack.no-fig .q-fig { display: none; }

.s-final .pin {
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
}
/* ═══════════ FOOTER ═══════════ */
.footer {
  position: relative; z-index: 2;
  background: var(--bone);
  padding: 16vh var(--gutter) 120px;
  text-align: center;
  overflow: hidden;
}
.footer-kicker { margin-bottom: 22px; }
.footer-mail {
  display: inline-block;
  font-size: var(--t-heading); letter-spacing: -0.02em;
  position: relative;
}
.footer-mail-text { position: relative; }
.footer-mail-text::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-inout);
}
.footer-mail:hover .footer-mail-text::after { transform: scaleX(1); transform-origin: left; }
.footer-reassurance { margin-top: 18px; }
.footer-name {
  margin-top: 6vh;
  font-size: clamp(60px, 12vw, 240px);
  letter-spacing: -0.02em; line-height: 1.05;
  white-space: nowrap;
}
.footer-name .ch { display: inline-block; overflow: hidden; vertical-align: bottom; }
.footer-name .chi {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 30ms);
}
.footer-name.in-view .chi { transform: translateY(0); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px;
  margin-top: 8vh; padding-top: 19px;
  border-top: 1px solid var(--ink);
  text-align: left;
}

/* ═══════════ CHROME FIXE — barre flottante en haut ═══════════ */
.dock {
  position: fixed; top: 14px; left: 50%;
  transform: translate(-50%, -180%);
  background: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center;
  gap: 6px;
  padding: 8px 8px 8px 18px;
  z-index: 100;
  transition: transform .9s var(--ease-out) .15s, opacity .32s var(--ease-out);
}
body.is-ready .dock { transform: translate(-50%, 0); }
.dock-wordmark { font-size: 19px; letter-spacing: -0.01em; font-weight: 500; margin-right: 14px; }
.dock-nav { display: flex; gap: 4px; margin-right: 8px; }
.dock-link { padding: 9px 10px; position: relative; }
.dock-link::after {
  content: '';
  position: absolute; left: 10px; right: 10px; bottom: 5px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-inout);
}
.dock-link:hover::after { transform: scaleX(1); transform-origin: left; }
.dock-cta {
  background: var(--lime);
  color: var(--lime-ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: filter .3s;
}
.dock-cta:hover { filter: brightness(0.96); }

body.is-ready body.is-scrolled @keyframes chev { 0%,100% { transform: translateY(-1px); } 50% { transform: translateY(2px); } }

/* ═══════════ MODE STATIQUE (tactile / réduit / étroit) ═══════════ */
body.static .scene { height: auto !important; }
body.static .scene .pin { height: auto; overflow: visible; }

body.static .s-hero .pin { min-height: 92vh; padding: 16vh 0 8vh; }
body.static .fl, body.static .fl img { clip-path: none; transform: none; transition: none; }
body.static .floaters { z-index: 0; }
body.static .hero-copy { position: relative; inset: auto; min-height: 56vh; z-index: 5; padding: 0 var(--gutter); }
body.static .grow { width: 1.6em; height: 1em; margin: 0 0.18em; }
body.static .grow img { width: 100%; height: 100%; position: static; transform: none; object-fit: cover; }
body.static .spot { position: relative; inset: auto; height: 92vh; pointer-events: auto; overflow: hidden; }
body.static .spot::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/hero.jpg') center/cover;
}
body.static .spot-intro { top: 50%; transform: translateY(-50%); }
body.static .spot-intro span { opacity: 1; transform: none; }
body.static .callout { display: none; }

body.static .s-fill .pin { padding: 14vh 0; }
body.static .fill-text { width: auto; max-width: 800px; padding: 0 var(--gutter); }
body.static .fill-text .fc { color: var(--ink); }
body.static .collection { padding-bottom: 26vh; margin-top: 0; }
body.static .coll-grid { grid-template-columns: repeat(2, 1fr); }
body.static .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(240px, auto); }
body.static .b-big  { grid-column: span 2; grid-row: span 1; }
body.static .b-tall { grid-column: span 1; grid-row: span 1; }
body.static .col { margin-top: 0 !important; }

body.static .band { margin-top: 0; }

body.static .s-night .pin { padding: 0; }
body.static .night-line { position: relative; inset: auto; height: 46vh; }
body.static .night-line .nw { opacity: 1; }
/* les étapes s'empilent normalement : sans ça elles restent superposées
   et invisibles (elles sont absolues + opacity 0 pour la scène scrubée) */
body.static .psteps { position: static; width: auto; padding: 20px var(--gutter) 6vh; }
body.static .pstep {
  position: static; opacity: 1 !important; transform: none !important;
  padding: 24px 0; border-top: 1px solid var(--ink-faint);
}
body.static .steps-cta {
  position: static; opacity: 1 !important; transform: none !important;
  text-align: center; padding-bottom: 8vh;
}
body.static .disc-bgs, body.static .disc-shade, body.static .disc-thumbs, body.static .disc-card { display: none; }
body.static .disc-ui { position: relative; inset: auto; opacity: 1; }
body.static .disc-label { position: static; color: var(--ash); padding: 0 var(--gutter); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
body.static .disc-list { position: static; padding: 16px var(--gutter) 8vh; }
body.static .disc-list li {
  height: auto; padding: 20px 0;
  color: var(--ink); opacity: 1;
  border-top: 1px solid var(--ink);
  flex-direction: column; align-items: flex-start;
}
body.static .disc-desc { opacity: 1 !important; color: var(--ink); }

body.static .s-motto .pin { padding: 12vh var(--gutter); }
body.static .motto-kicker { position: static; transform: none; margin-bottom: 26px; }
body.static .motto-track { position: static; transform: none !important; flex-direction: column; align-items: flex-start; gap: 12px; white-space: normal; }
body.static .mw { opacity: 1 !important; font-size: clamp(56px, 13vw, 110px); }
body.static .mw .sc { transform: none !important; }
body.static .motto-hint { display: none; }
body.static .disc-cta { position: static; transform: none !important; opacity: 1 !important; color: var(--ink); margin: 4vh var(--gutter) 8vh; display: inline-block; }
body.static .disc-cta .cta-oval path { stroke: var(--ink); }
body.static .s-quote .pin { padding: 12vh var(--gutter); }
body.static .wipe, body.static .bignum { display: none; }
body.static .q-glyph, body.static .q-text, body.static .q-name,
body.static .q-ctx, body.static .q-fig { opacity: 1; }
body.static .q-rule { transform: scaleX(1); }
body.static .q-sign-row { flex-wrap: wrap; gap: 10px; }

body.static .s-final .pin { min-height: 60vh; padding: 14vh 0; }
body.static .fs { color: var(--ink); }
body.static .trail { display: none; }
body.static .footer-name .chi { transform: none; }

/* ═══════════ RESPONSIVE ÉTROIT ═══════════ */
@media (max-width: 900px) {
  :root {
    --gutter: 20px;
    --t-heading: clamp(27px, 6.6vw, 40px);
  }
  body { font-size: 17px; }

  /* ── barre de navigation : pleine largeur, ancrée en haut, pas une
     pilule flottante. Elle entre en glissant du haut, comme sur desktop. */
  .dock {
    top: 10px; left: 10px; right: 10px;
    width: auto; max-width: none;
    border-radius: var(--radius);
    transform: translateY(calc(-100% - 16px));
    justify-content: space-between;
    padding: 11px 12px 11px 16px;
    gap: 10px; white-space: nowrap;
    transition: transform .8s var(--ease-out) .1s, opacity .32s var(--ease-out);
  }
  body.is-ready .dock { transform: translateY(0); }
  body.handoff .dock { transform: translateY(0); opacity: 0; }
  .dock-wordmark { font-size: 17px; margin-right: 0; white-space: nowrap; }
  /* une seule ancre tient à côté du CTA sur un écran étroit */
  .dock-nav { display: flex; margin-right: 0; margin-left: auto; }
  .dock-nav .dock-link:first-child { display: none; }
  .dock-cta { padding: 9px 12px; font-size: 11px; white-space: nowrap; }
  .loader-rule { width: 96px; }

      body.is-scrolled 
  /* ── hero : le nuage reste DENSE et grand, il déborde des bords ; ce qui
     protège le titre, c'est le vide au centre, pas le nombre d'images.
     Les deux visuels de la bande centrale sont renvoyés en haut et en bas
     (leur `top` vient de --y en style inline, on surcharge `top`). */
  .hero-title { font-size: clamp(26px, 7vw, 40px); }
  .hero-kicker {
    font-size: 10px; line-height: 1.5; margin-bottom: 18px;
    white-space: normal; padding: 0 var(--gutter);
  }
  /* échelle bornée : sans plancher ni plafond, un 3:2 tombe à 70 px de
     large (un timbre) pendant qu'un 2:3 monte à 250 px. Le clamp resserre
     les extrêmes pour que les dix visuels pèsent le même poids visuel. */
  /* La largeur doit suivre celle de l'écran, pas rester en px fixes : le pas
     entre deux visuels d'une bande est de ~21 % de l'écran, donc en dessous
     de ~24 vw ils cessent de se toucher et la bande se troue (net à 768 px).
     Le plancher en vw garantit le recouvrement, le plafond évite qu'un 2:3
     ne fasse trois fois la hauteur des autres. */
  .fl { width: calc(var(--w) * 0.52); }
  /* les visuels débordent des DEUX bords. À gauche c'est gratuit (un `left`
     négatif n'allonge pas le document), à droite non : sans ce clip, le
     dernier visuel de chaque bande pousse scrollWidth au-delà de innerWidth
     et le mobile défile latéralement. On coupe au cadre, qui fait exactement
     la largeur de l'écran : le débord reste visible, le scroll disparaît. */
  .floaters { overflow: hidden; }
  /* placement explicite en DEUX BANDES : 0-30 % en haut, 70-100 % en bas.
     La bande centrale reste entièrement libre — c'est le vide qui rend le
     titre lisible, pas la suppression des visuels. Certains débordent
     volontairement des bords, comme sur la référence. */
  /* Deux bandes, centre libre pour le kicker + le titre.
     La bande HAUTE est ancrée par le BAS (`bottom`, `top:auto`) : ancrée
     par le haut, un visuel portrait descend dans la boîte du titre — la
     hauteur d'un .fl dépend du ratio de l'image, donc elle varie d'un
     site à l'autre. Ancrée par le bas, l'arête basse est garantie. */
  /* Chaque bande porte CINQ visuels, posés sur un pas régulier d'environ
     21 % : un qui déborde à gauche, trois dans le cadre, un qui déborde à
     droite. Les `left` d'une même bande ne doivent jamais laisser de trou
     de plus de ~25 % — c'est un trou au milieu d'une bande qui fait
     « images jetées au hasard », pas le chevauchement.
     L'amplitude verticale d'une bande reste dans 8 % : au-delà, les
     visuels s'égrènent en diagonale au lieu de faire bloc. */
  /* Les visuels gardent les positions --x/--y posées dans index.html : le
     hero fait exactement 100 vh, ces pourcentages retombent donc juste et
     le nuage s'éparpille tout autour du titre, comme sur desktop. La
     variété des largeurs vient de --w, qui change d'une position à
     l'autre — c'est elle qui empêche le nuage de se lire comme une grille,
     ne pas la remplacer par une largeur unique.
     Seuls trois visuels sont décalés, et VERTICALEMENT seulement : au
     début de la scène le moteur resserre le nuage vers le centre (pull de
     16 %), et sur un écran étroit ce resserrement pose 1, 6 et 7 en plein
     sur le titre. On les sort de sa bande sans toucher leur flanc, pour
     garder l'éparpillement gauche/droite. Décaler en `top` est sans risque :
     `measureFloaters()` lit la position de repos APRÈS le CSS. */
  .floaters .fl:nth-child(3) { top:  2%; }   /* x 40 % */
  .floaters .fl:nth-child(5) { top:  5%; }   /* x 85 % */
  .floaters .fl:nth-child(2) { top: 11%; }   /* x 21 % */
  .floaters .fl:nth-child(4) { top: 17%; }   /* x 63 % */
  .floaters .fl:nth-child(1) { top: 23%; }   /* x -4 % */
  .floaters .fl:nth-child(7)  { top: 59%; }  /* x 94 % */
  .floaters .fl:nth-child(10) { top: 63%; }  /* x 73 % */
  .floaters .fl:nth-child(6)  { top: 68%; }  /* x -2 % */
  .floaters .fl:nth-child(8)  { top: 73%; }  /* x 13 % */
  .floaters .fl:nth-child(9)  { top: 79%; }  /* x 44 % */
  /* le positionnement est en nowrap sur grand écran : il doit pouvoir
     revenir à la ligne ici, sinon il sort du cadre */
  .spot-intro {
    white-space: normal;
    font-size: clamp(23px, 6.2vw, 34px); line-height: 1.16;
    padding: 0 var(--gutter);
  }

  /* manifeste, sélection, devise */
  .fill-text { font-size: clamp(20px, 5.4vw, 28px); }
  .coll-title { font-size: clamp(27px, 7vw, 38px); }
  .coll-sub { font-size: 17px; }
  .coll-grid { grid-template-columns: 1fr 1fr !important; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .card figcaption { font-size: 15px; }
  .mw { font-size: clamp(40px, 13vw, 68px); }

  /* processus */
  .pstep h3 { font-size: clamp(29px, 7.8vw, 42px); }
  .pstep p { font-size: 16px; }
  .steps-cta { font-size: clamp(21px, 5.8vw, 28px); }

  /* témoignage */
  .q-glyph { font-size: clamp(54px, 15vw, 88px); }
  .q-text { font-size: clamp(20px, 5.6vw, 30px); }
  .q-name { font-size: 17px; }
  .q-fig { font-size: clamp(26px, 7.4vw, 36px); }

  /* objections + footer */
  .final-text { max-width: none; }
  .footer-mail { font-size: clamp(26px, 8.4vw, 44px); }
  .footer-name { font-size: clamp(40px, 16vw, 78px); }
  .footer-bottom { flex-direction: column; gap: 10px; }

  /* ── RYTHME VERTICAL : les paddings du mode statique sont en vh et
     mangent 70 % d'un écran mobile. On les resserre section par section. */
  /* la copie du hero tient une hauteur d'écran : c'est elle qui donne au
     nuage la place de s'éparpiller AUTOUR du titre. À 44vh il ne restait
     que ~8vh sous le titre, donc les visuels du bas s'alignaient en une
     rangée collée au texte au lieu d'entourer la zone. */
  body.static .s-hero .pin { min-height: 88vh; padding: 10vh 0 6vh; }
  body.static .hero-copy { min-height: 64vh; }
  body.static .spot { height: 74vh; }
  body.static .s-fill .pin { padding: 9vh 0; }
  body.static .collection { padding-bottom: 12vh; }
  body.static .s-motto .pin { padding: 8vh var(--gutter); }
  body.static .s-quote .pin { padding: 9vh var(--gutter); }
  body.static .s-final .pin { min-height: 0; padding: 9vh 0; }
  body.static .psteps { padding: 14px var(--gutter) 4vh; }
  body.static .steps-cta { padding-bottom: 5vh; }
  body.static .night-line { height: 34vh; }
  /* la devise doit rester monumentale, c'est son rôle */
  body.static .mw { font-size: clamp(46px, 17vw, 92px) !important; }

  /* ══ SCÈNES ANIMÉES SUR MOBILE ══
     Le mode statique ne se déclenche plus que sur « prefers-reduced-motion » :
     les scènes scrubées tournent donc aussi sur téléphone, et trois mises en
     page pensées pour un grand écran doivent y être reprises. Les règles
     `body.static` plus haut ne suffisent pas — elles ne s'appliquent plus. */

  /* Processus : le texte de l'étape et le compteur géant sont CÔTE À CÔTE sur
     desktop (texte à gauche sur 42vw, chiffre à droite). À 375 px ça donne
     deux colonnes de 150 px illisibles — on les EMPILE, chiffre au-dessus,
     texte en dessous, chacun sur toute la largeur. */
  .psteps {
    left: var(--gutter); right: var(--gutter);
    width: auto; top: 40%;
  }
  .pstep h3 { font-size: clamp(32px, 9vw, 46px); }
  .pstep p { font-size: 17px; max-width: none; }
  .bignum {
    top: 11vh; bottom: auto; transform: none;
    font-size: min(30vh, 46vw);
  }

  /* CTA du processus : il est posé en `left: 50%`, donc sa largeur utile
     n'est que la moitié droite de l'écran et « Réserver une séance → » passe
     à la ligne. On lui rend toute la largeur et on interdit la coupure. */
  .steps-cta {
    /* NE PAS toucher à `left` ni à `transform` : app.js repose en inline un
       `translate(-50%, …)` pour l'entrée du CTA, il écrase tout `transform`
       posé en CSS. L'élément DOIT donc rester en `left: 50%`. Le vrai
       problème est ailleurs : sans largeur, un absolu posé à 50 % ne
       dispose que de la moitié droite de l'écran, et le libellé passe à la
       ligne. On lui donne sa largeur naturelle, bornée à l'écran. */
    width: max-content;
    max-width: calc(100% - 2 * var(--gutter));
    font-size: clamp(17px, 5.2vw, 26px);
  }
  .steps-cta a { white-space: nowrap; }

  /* Témoignage : nom / contexte / chiffre sont une rangée flex de trois
     colonnes. À cette largeur le contexte se réduit à une colonne de mots
     coupés — on empile, en gardant l'ordre parole → signature → chiffre. */
  .q-sign-row {
    flex-direction: column; align-items: flex-start;
    gap: 10px; padding-top: 16px;
  }
  .q-ctx { flex: none; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  /* 8 projets en une seule colonne font cinq écrans de haut : on reste
     sur deux colonnes, quitte à réduire les légendes. */
  .coll-grid { grid-template-columns: 1fr 1fr !important; }
  .bento-grid { grid-template-columns: 1fr; }
  .card figcaption { font-size: 13px; }

  .dock-nav { display: none; }   /* sous 480 px, wordmark + CTA seulement */

  /* À 320-480 px le titre du hero occupe presque toute la largeur : deux
     visuels du nuage viennent mordre dessus. On les écarte de sa bande. */
  .floaters .fl:nth-child(1) { top: 12%; }
  .floaters .fl:nth-child(7) { top: 66%; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   DA « CLEAN MONO » (style Deflexai) — surcharge AexoWeb
   Thème clair : blanc, noir, gris ; cartes blanches à ombre douce,
   cercles concentriques fins, reflets bleu-lavande très pâles,
   pilules noires, Geist serré. Contenu et animations inchangés.
   ═══════════════════════════════════════════════════════════ */
:root {
  --ink-rgb: 10, 10, 10;
  --bone: #ffffff;
  --ink: #0a0a0a;
  --ash: #6e6e73;
  --white: #f7f7f8;               /* surfaces : panneaux gris très pâle */
  --ink-faint: rgba(10, 10, 10, 0.12);
  --glass-rgb: 255, 255, 255;
  --lime: #0a0a0a;                /* noir : bande devise, CTA */
  --lime-ink: #ffffff;
  --haze: rgba(140, 160, 255, 0.16);   /* reflet bleu-lavande */
  --hair: rgba(10, 10, 10, 0.07);
  --card-shadow: 0 1px 2px rgba(10,10,10,0.04), 0 14px 36px -14px rgba(10,10,10,0.14);
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --t-heading: clamp(30px, 4.2vw, 54px);
  --radius: 14px;
  --rings: radial-gradient(circle at 50% 52%,
    transparent 0 239px, rgba(10,10,10,0.07) 240px 241px,
    transparent 242px 379px, rgba(10,10,10,0.06) 380px 381px,
    transparent 382px 539px, rgba(10,10,10,0.05) 540px 541px,
    transparent 542px 719px, rgba(10,10,10,0.04) 720px 721px,
    transparent 722px);
}

body { font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3, .hero-title, .coll-title, .pstep h3, .footer-mail, .footer-name,
.spot-intro, .night-line, .fill-text, .final-text, .q-text, .mw { font-weight: 500; letter-spacing: -0.04em; }
.mono { font-weight: 400; font-size: 11px; letter-spacing: 0.06em; }
.dock-wordmark, .loader-wordmark { font-weight: 600; letter-spacing: -0.03em; }

/* hero : reflet pâle au centre (cercles concentriques retirés) */
.s-hero .pin {
  background:
    radial-gradient(34% 30% at 50% 58%, var(--haze), transparent 70%),
    var(--bone);
}
/* scènes : blanc uni — la lueur bleue est réservée au hero et au CTA final */
.s-fill .pin, .s-night .pin, .s-quote .pin, .s-final .pin { background: var(--bone); }
.footer {
  background: radial-gradient(50% 40% at 50% 60%, rgba(140,160,255,0.08), transparent 70%), var(--bone);
}
/* positionnement : texte blanc sur l'image noire du zoom */
.spot-intro { color: #ffffff; }

/* « Pourquoi nous choisir ? » : panneau gris pâle, trame de points */
.collection {
  background:
    radial-gradient(circle, rgba(10, 10, 10, 0.08) 1px, transparent 1.6px) 0 0 / 22px 22px,
    var(--white);
  border-top: 1px solid var(--hair);
  border-radius: 28px 28px 0 0;
}

/* cartes blanches, ombre douce */
.coll-grid .card, .bento-grid .card {
  padding: 10px 10px 16px;
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}
.card-img { border-radius: 12px; }
.bento-grid .card-img { background: radial-gradient(60% 60% at 50% 55%, rgba(140,160,255,0.10), transparent 70%), #fbfbfc; }
.card figcaption { padding: 0 6px; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.card figcaption .mono { margin-top: 6px; font-weight: 400; }

.fl { border: 1px solid var(--hair); box-shadow: var(--card-shadow); }
.trail img { border-radius: 12px; box-shadow: var(--card-shadow); }

/* bande devise : noir pur uni, texte blanc */
.s-motto .pin { background: var(--lime); }

/* traits dessinés à la main : noir net */
.box-svg path, .cta-oval path, .pill-svg path { stroke: var(--ink); }
.fill-text.greyed .box-svg path { stroke: var(--ink-faint); }

.bignum { color: rgba(var(--ink-rgb), 0.07); }

/* témoignage : carte blanche + deux cartes fantômes dessous */
.q-stack {
  padding: clamp(28px, 4vw, 56px);
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(10,10,10,0.04), 0 30px 70px -30px rgba(10,10,10,0.18);
}
.q-stack::before, .q-stack::after {
  content: ''; position: absolute; left: 50%;
  border-radius: 18px;
  border: 1px solid var(--hair);
  background: #ffffff;
  box-shadow: 0 10px 24px -14px rgba(10,10,10,0.12);
  transform: translateX(-50%);
  pointer-events: none;
}
.q-stack::before { width: 90%; height: 58px; top: calc(100% + 16px); }
.q-stack::after  { width: 80%; height: 50px; top: calc(100% + 88px); opacity: 0.6; }
.q-glyph { color: rgba(var(--ink-rgb), 0.25); opacity: 0; }
.q-rule { background: var(--hair); }

/* curseur clignotant */
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.coll-title::after, .footer-mail::after {
  content: ''; display: inline-block;
  width: 2px; height: 0.9em; margin-left: 0.35em;
  vertical-align: -0.08em;
  background: var(--ink);
  animation: caret 1.1s steps(1) infinite;
}

/* footer */
/* e-mail : texte simple, sans pilule ; soulignement au survol (moteur) */
.footer-mail {
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.03em;
}
.footer-name .chi {
  background: linear-gradient(180deg, rgba(var(--ink-rgb), 0.95) 20%, rgba(var(--ink-rgb), 0.12) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom { border-top-color: var(--hair); }

/* ── barre de navigation : pilule blanche, CTA noir ── */
.dock {
  background: rgba(var(--glass-rgb), 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 7px 7px 7px 22px;
  box-shadow: var(--card-shadow);
}
.dock-wordmark { font-size: 16px; margin-right: 18px; }
.dock-nav { gap: 2px; margin-right: 6px; }
.dock-link {
  padding: 9px 14px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; letter-spacing: -0.01em; text-transform: none;
  color: rgba(var(--ink-rgb), 0.72);
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.dock-link::after { display: none; }
.dock-link:hover { background: rgba(var(--ink-rgb), 0.05); color: var(--ink); }
.dock-cta {
  border-radius: 999px; padding: 10px 18px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: -0.01em; text-transform: none;
  box-shadow: 0 1px 2px rgba(10,10,10,0.2);
  transition: background .3s var(--ease-out);
}
.dock-cta:hover { filter: none; background: #2a2a2a; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dock { background: rgba(var(--glass-rgb), 0.96); }
}

@media (max-width: 900px) {
  :root {
    --rings: radial-gradient(circle at 50% 52%,
      transparent 0 159px, rgba(10,10,10,0.07) 160px 161px,
      transparent 162px 259px, rgba(10,10,10,0.06) 260px 261px,
      transparent 262px 379px, rgba(10,10,10,0.05) 380px 381px,
      transparent 382px);
  }
  .dock { border-radius: 18px; padding: 8px 8px 8px 18px; }
  .dock-wordmark { font-size: 15px; margin-right: 0; }
  .dock-cta { padding: 9px 14px; font-size: 12px; }
  .collection { border-radius: 20px 20px 0 0; }
  .coll-grid .card { padding: 6px 6px 12px; border-radius: 14px; }
  .card-img { border-radius: 9px; }
  .card figcaption { font-size: 13px; }
  .q-stack { width: 88vw; }
  .footer-mail { font-size: clamp(17px, 4.6vw, 22px); }
}

/* ═══════════ HERO — sans photos, 4 éléments 3D discrets ═══════════
   Les 6 photos du nuage sont masquées ; les 4 emplacements restants
   (content.js : floaters 2, 4, 8, 10) portent des objets 3D en SVG qui
   suivent l'animation du moteur (naissance, ouverture, dérive).
   left/top/width sont redéfinis ici (le --x/--y/--w inline n'est plus
   utilisé pour eux) : petits, discrets, loin du titre. */
/* hero épuré : plus aucun visuel autour du titre (les 10 emplacements
   du nuage sont masqués ; les règles des éléments 3D ci-dessous restent
   pour pouvoir les réactiver en retirant ce bloc) */
.s-hero .floaters { display: none; }

.s-hero .floaters .fl:nth-child(2n) { border: none; box-shadow: none; border-radius: 0; overflow: visible; }
.s-hero .floaters .fl:nth-child(2n) img { border-radius: 0; filter: drop-shadow(0 16px 24px rgba(10,10,10,0.12)); }

/* haut gauche — panneau de code incliné */
.s-hero .floaters .fl:nth-child(2) { left: 6%; top: 15%; width: clamp(112px, 11vw, 176px); }
.s-hero .floaters .fl:nth-child(2) img { transform: perspective(700px) rotateY(24deg) rotateX(8deg) rotate(-3deg) scale(1.3); opacity: 0.85; }
body.is-ready .s-hero .floaters .fl:nth-child(2) img { transform: perspective(700px) rotateY(24deg) rotateX(8deg) rotate(-3deg) scale(1); }
/* haut droite — carte analytics SaaS */
.s-hero .floaters .fl:nth-child(4) { left: 82%; top: 31%; width: clamp(106px, 10.5vw, 168px); }
.s-hero .floaters .fl:nth-child(4) img { transform: perspective(700px) rotateY(-24deg) rotateX(8deg) rotate(2deg) scale(1.3); opacity: 0.85; }
body.is-ready .s-hero .floaters .fl:nth-child(4) img { transform: perspective(700px) rotateY(-24deg) rotateX(8deg) rotate(2deg) scale(1); }
/* bas gauche — module d'architecture logicielle */
.s-hero .floaters .fl:nth-child(8) { left: 21%; top: 76%; width: clamp(86px, 8.5vw, 132px); }
.s-hero .floaters .fl:nth-child(8) img { opacity: 0.95; }
/* bas droite — sphère filaire, la plus effacée */
.s-hero .floaters .fl:nth-child(10) { left: 86%; top: 67%; width: clamp(110px, 11.5vw, 180px); }
.s-hero .floaters .fl:nth-child(10) img { opacity: 0.6; filter: none; }
@keyframes deco-spin { to { rotate: 360deg; } }
body.is-ready .s-hero .floaters .fl:nth-child(10) img { animation: deco-spin 80s linear infinite; }

@media (max-width: 900px) {
  .s-hero .floaters .fl:nth-child(2)  { left: 3%;  top: 13%; width: 126px; }
  .s-hero .floaters .fl:nth-child(4)  { left: 68%; top: 27%; width: 118px; }
  .s-hero .floaters .fl:nth-child(8)  { left: 16%; top: 77%; width: 100px; }
  .s-hero .floaters .fl:nth-child(10) { left: 70%; top: 63%; width: 124px; }
}
@media (prefers-reduced-motion: reduce) {
  body.is-ready .s-hero .floaters .fl:nth-child(10) img { animation: none; }
}

/* ═══════════ NAVBAR PLEINE LARGEUR ÉPURÉE ═══════════
   Logo à gauche, liens au centre, CTA noir à droite. Aucun cadre au
   repos ; dès le début du scroll (body.is-scrolled, posé par le moteur)
   fond blanc flouté + filet fin en bas. left:50% + translate(-50%) sont
   conservés : les transforms d'entrée et de handoff du moteur restent
   valides. */
.dock {
  top: 0; left: 50%; width: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 0;
  padding: 14px clamp(20px, 3.4vw, 48px) 14px calc(clamp(20px, 3.4vw, 48px) + 30px);
  border: 0; border-bottom: 1px solid transparent; border-radius: 0;
  background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: transform .9s var(--ease-out) .15s, opacity .32s var(--ease-out),
              background .35s var(--ease-out), border-color .35s var(--ease-out);
}
body.is-scrolled .dock {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border-bottom-color: var(--hair);
}
/* logo : carré noir arrondi, posé à gauche du nom (hors du nom lui-même,
   pour que le vol du loader vise toujours la bonne position) */
.dock::before {
  content: ''; position: absolute; top: 50%; left: clamp(20px, 3.4vw, 48px);
  width: 20px; height: 20px; margin-top: -10px;
  border-radius: 6px; background: var(--ink);
  box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 7px #fff;
}
.dock-wordmark { justify-self: start; margin: 0; font-size: 17px; }
.dock-nav { justify-self: center; margin: 0; gap: 4px; }
.dock-link { padding: 8px 14px; font-size: 14px; color: rgba(var(--ink-rgb), 0.62); }
.dock-link:hover { background: transparent; color: var(--ink); }
.dock-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 18px; font-size: 14px;
}
.dock-cta::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.18);
}

@media (max-width: 900px) {
  .dock {
    top: 0; left: 0; right: 0; width: auto;
    grid-template-columns: 1fr auto;
    padding: 12px 16px 12px 46px;
    border-radius: 0;
  }
  .dock::before { left: 16px; }
  .dock-wordmark { font-size: 16px; }
  .dock-nav { display: none; }
  .dock-cta { padding: 9px 12px 9px 16px; font-size: 13px; }
}

/* ═══════════ NAVBAR TRANSPARENTE, COULEUR AUTO ═══════════
   Toujours transparente, sans filet. Dessinée en BLANC avec
   mix-blend-mode: difference : elle s'affiche noire sur fond blanc et
   blanche sur fond noir (bande devise, image noire du hero…), sans
   détection de section. Le CTA s'inverse aussi : pilule noire sur fond
   clair, blanche sur fond noir. */
.dock, body.is-scrolled .dock {
  background: transparent;
  border-bottom: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  mix-blend-mode: difference;
  color: #ffffff;
}
.dock::before {
  background: #ffffff;
  box-shadow: inset 0 0 0 5px #ffffff, inset 0 0 0 7px #000000;
}
.dock-wordmark { color: #ffffff; }
.dock-link { color: rgba(255, 255, 255, 0.62); }
.dock-link:hover { color: #ffffff; }
.dock-cta { background: #ffffff; color: #000000; box-shadow: none; }
.dock-cta:hover { background: #e6e6e6; }
.dock-cta::after { background: #000000; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.18); }

/* ═══════════ BURGER + MENU PLEIN ÉCRAN ═══════════
   Les onglets quittent la barre : logo à gauche, « Démarrer » + burger
   à droite. Le burger est dessiné en blanc comme le reste du dock
   (mix-blend difference → noir sur fond clair, blanc sur fond noir).
   Le menu est un voile blanc plein écran, sous le dock (z 99), liens
   géants numérotés en cascade ; comportement dans menu.js. */
.dock { grid-template-columns: 1fr auto auto; column-gap: 10px; }
.dock-burger {
  position: relative; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent; cursor: pointer; padding: 0;
  transition: border-color .3s var(--ease-out);
}
.dock-burger:hover { border-color: #ffffff; }
.dock-burger span {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; margin-left: -8px; border-radius: 1px;
  background: #ffffff;
  transition: transform .45s var(--ease-inout);
}
.dock-burger span:nth-child(1) { transform: translateY(-3.5px); }
.dock-burger span:nth-child(2) { transform: translateY(3.5px); }
body.menu-open .dock-burger span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .dock-burger span:nth-child(2) { transform: rotate(-45deg); }
.dock-burger:focus-visible, .site-menu a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.site-menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(96px + 6vh) clamp(20px, 3.4vw, 48px) clamp(28px, 5vh, 48px);
  background: #ffffff;                      /* blanc uni : noir, blanc, gris */
  color: var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-inout), visibility 0s linear .7s;
}
body.menu-open .site-menu {
  clip-path: inset(0 0 0 0); visibility: visible;
  transition: clip-path .7s var(--ease-inout), visibility 0s;
}
html.menu-lock, html.menu-lock body { overflow: hidden; }

.menu-nav { display: flex; flex-direction: column; }
.site-menu .dock-link {
  display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px);
  padding: 0.12em 0; border-radius: 0;
  font-family: var(--sans); text-transform: none;
  font-size: clamp(44px, 8vw, 112px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02;
  color: var(--ink);
  border-bottom: 1px solid var(--hair);
  opacity: 0; transform: translateY(40px);
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out), color .3s;
}
body.menu-open .site-menu .dock-link {
  opacity: 1; transform: none;
  transition-delay: calc(.25s + var(--mi, 0) * .07s);
}
.site-menu .dock-link:hover { color: var(--ash); background: transparent; }
.menu-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ash); transform: translateY(-1.6em); }

.menu-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  opacity: 0; transition: opacity .4s var(--ease-out);
}
body.menu-open .menu-foot { opacity: 1; transition-delay: .5s; }
.menu-mail { font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.03em; }
.menu-mail:hover { color: var(--ash); }

@media (max-width: 900px) {
  .dock { grid-template-columns: 1fr auto auto; }
  .dock-burger { width: 38px; height: 38px; }
  .site-menu { padding-top: calc(80px + 4vh); }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu, body.menu-open .site-menu { transition: none; }
  .site-menu .dock-link, .menu-foot { transition: none; }
}

/* ═══════════ « POURQUOI AEXOWEB » — LIGNES ÉDITORIALES ═══════════
   Plus de cartes ni d'illustrations : deux colonnes (45 / 55),
   texte à gauche, 4 engagements en lignes fines à droite.
   Violet réservé aux micro-détails (numéro au survol, point lumineux).
   Les lignes entrent via le système .reveal du moteur (--i = cascade). */
:root { --accent-violet: #7b6cf6; }

.collection.is-why {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  column-gap: clamp(40px, 7vw, 128px);
  align-items: start;
  padding: 20vh clamp(24px, 7vw, 128px) 32vh;
  background:
    radial-gradient(circle, rgba(10, 10, 10, 0.05) 1px, transparent 1.6px) 0 0 / 22px 22px,
    #fafafa;
}
.is-why .coll-head { text-align: left; margin: 0; }
.is-why .coll-title {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04; margin: 22px 0 18px;
}
.is-why .coll-sub { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink); margin-bottom: 0; letter-spacing: -0.02em; }
.is-why .coll-head > :nth-child(4) {          /* intro courte (slot meta) */
  font-family: var(--sans); text-transform: none;
  font-size: 16px; line-height: 1.55; letter-spacing: -0.01em;
  color: var(--ash); max-width: 34ch; margin-top: 26px;
}
/* seul élément graphique : un petit module 3D, discret */
.is-why .coll-head::after {
  content: ''; display: block;
  width: 112px; aspect-ratio: 1; margin-top: 9vh; margin-left: -14px;
  background: url('illustrations/module-why.svg') center / contain no-repeat;
  opacity: 0.85;
}

.why-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(10, 10, 10, 0.08); }
.why-row {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px;
  padding: clamp(28px, 4vh, 42px) 0 clamp(30px, 4.4vh, 46px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.why-num {
  font-size: 11px; letter-spacing: 0.08em;
  color: rgba(10, 10, 10, 0.32);
  padding-top: 4px;
  transition: color .45s var(--ease-out);
}
.why-body { transition: transform .5s var(--ease-out); }
.why-title {
  position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 12px;
}
/* point lumineux violet, apparaît au survol à gauche du titre */
.why-title::before {
  content: ''; position: absolute; left: -16px; top: 50%;
  width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 10px 1px rgba(123, 108, 246, 0.55);
  opacity: 0; transform: scale(0.4);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.why-desc {
  font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; letter-spacing: -0.02em;
  color: var(--ash); max-width: 38ch; margin: 0;
  transition: color .45s var(--ease-out);
}
.why-row:hover .why-body { transform: translateX(10px); }
.why-row:hover .why-num { color: var(--accent-violet); }
.why-row:hover .why-title::before { opacity: 1; transform: scale(1); }
.why-row:hover .why-desc { color: #3a3a3f; }

@media (max-width: 900px) {
  .collection.is-why {
    grid-template-columns: minmax(0, 1fr);
    padding: 16vh 24px 26vh;
  }
  .is-why .coll-head { margin-bottom: 8vh; }
  .is-why .coll-head::after { display: none; }
  .why-row { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; }
  .why-desc { font-size: 18px; }
}
@media (hover: none) {
  .why-row:hover .why-body { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .why-body, .why-title::before, .why-num, .why-desc { transition: none; }
}

/* ═══════════ « POURQUOI » — SCÈNE PILOTÉE PAR LE SCROLL ═══════════
   La section est une scène épinglée du moteur (data-pin="2.5") : la
   grille 45/55 vit dans .why-pin (100vh). .why-driven (posé par app.js,
   desktop seulement) active les états ; sans lui (mobile,
   reduced-motion) les 4 lignes restent pleinement lisibles. */
/* les micro-points vivent sur le .pin (immobile pendant l'épinglage) et
   non sur la section, qui continue de défiler derrière : fond fixe */
.collection.is-why.s-why { display: block; padding: 0; background: #fafafa; }
.s-why .why-pin {
  background: radial-gradient(circle, rgba(10, 10, 10, 0.05) 1px, transparent 1.6px) 0 0 / 22px 22px;
}
.s-why .why-pin {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  column-gap: clamp(40px, 7vw, 128px);
  align-items: center; align-content: center;
  padding: 11vh clamp(24px, 7vw, 128px) 17vh;
}
.s-why .coll-head::after { margin-top: 6vh; }
.s-why .why-row { padding: clamp(16px, 2.8vh, 32px) 0 clamp(18px, 3vh, 34px); }
.s-why .why-desc { font-size: clamp(17px, 1.35vw, 20px); }

/* indicateur : filet vertical très clair + petit trait violet qui descend */
.why-list { position: relative; }
.why-track { display: none; }
.why-driven .why-track {
  display: block; position: absolute; left: -30px; top: 0; bottom: 0;
  width: 1px; background: rgba(10, 10, 10, 0.07);
}
.why-dot {
  position: absolute; left: -1px; top: -11px;
  width: 3px; height: 22px; border-radius: 2px;
  background: var(--accent-violet);
  box-shadow: 0 0 8px rgba(123, 108, 246, 0.4);
  will-change: transform;
}

/* titre : léger fondu, une seule fois à l'entrée dans la scène */
.why-driven .coll-title {
  opacity: 0.85; transform: translateY(10px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.why-driven.why-in .coll-title { opacity: 1; transform: none; }

/* états des engagements (transitions ~0,5 s) */
.why-driven .why-title { transition: color .55s var(--ease-out); }
.why-driven .why-row .why-title { color: rgba(10, 10, 10, 0.3); }
.why-driven .why-row .why-desc  { color: rgba(110, 110, 115, 0.5); }
.why-driven .why-row .why-num   { color: rgba(10, 10, 10, 0.2); }
.why-driven .why-row.is-active .why-title { color: var(--ink); }
.why-driven .why-row.is-active .why-desc  { color: #4a4a50; }
.why-driven .why-row.is-active .why-num   { color: rgba(10, 10, 10, 0.6); }
.why-driven .why-row.is-active .why-body  { transform: translateX(6px); }
.why-driven .why-row.is-active .why-title::before { opacity: 1; transform: scale(1); }

@media (max-width: 900px) {
  .s-why .why-pin {
    grid-template-columns: minmax(0, 1fr);
    height: auto; overflow: visible;
    padding: 16vh 24px 26vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-dot { transition: none; }
}

/* section « Pas de template… » : pas de traînée d'images sous la souris */
.s-final .trail { display: none; }

/* ═══════════ LE STUDIO — les deux associés ═══════════
   Section éditoriale calme avant le CTA final. Aucune carte : de
   grandes photos portrait, légèrement décalées (asymétrie), noms en
   légende. Apparitions via le système .reveal du moteur (une seule
   fois, cascade par --i), ralenties ici à ~0,85 s / 120 ms. */
.studio {
  position: relative; z-index: 2;
  background: var(--bone);
}
/* l'espacement vit sur .studio-inner : la section peut devenir une
   scène épinglée (hauteur posée par le moteur) sans changer le rendu */
.studio-inner { padding: 22vh clamp(24px, 7vw, 128px) 26vh; }
.studio .reveal {
  transform: translateY(20px);
  transition-duration: .85s;
  transition-delay: calc(var(--i, 0) * 120ms);
}
.studio .reveal.in-view { transform: none; }

.studio-head { max-width: 760px; margin: 0 auto; text-align: center; }
.studio-title {
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06;
  margin: 22px 0 22px;
}
.studio-intro {
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; letter-spacing: -0.01em;
  color: var(--ash); max-width: 46ch; margin: 0 auto;
}

/* composition décalée : 01 à gauche, 02 plus à droite et plus bas */
.studio-people {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  max-width: 1240px; margin: 16vh auto 0;
}
.studio-person { margin: 0; }
.studio-person--a { grid-column: 2 / span 4; }
.studio-person--b { grid-column: 8 / span 4; margin-top: 24vh; }

.studio-photo {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;                /* réserve la place : aucun layout shift */
  border-radius: 4px;
  background: #f2f2f3;
}
.studio-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: 0;
  filter: grayscale(1) contrast(1.04); /* série N&B ; retirer cette ligne pour la couleur */
  transition: transform 1.1s var(--ease-out);
}
.studio-caption {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 20px;
  transition: transform .5s var(--ease-out);
}
.studio-name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.studio-role { font-size: 11px; }
/* point violet discret, apparaît au survol */
.studio-caption::before {
  content: ''; position: absolute; left: -14px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-violet, #7b6cf6);
  box-shadow: 0 0 8px rgba(123, 108, 246, 0.45);
  opacity: 0; transform: scale(0.4);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.studio-person:hover .studio-photo img { transform: scale(1.02); }
.studio-person:hover .studio-caption { transform: translateX(4px); }
.studio-person:hover .studio-caption::before { opacity: 1; transform: scale(1); }

.studio-note {
  margin: 18vh auto 0; text-align: center;
  font-size: 14px; letter-spacing: -0.005em; color: var(--ash);
}

/* tablette : écart réduit */
@media (max-width: 1100px) {
  .studio-person--a { grid-column: 1 / span 5; }
  .studio-person--b { grid-column: 7 / span 5; margin-top: 16vh; }
}
/* mobile : une colonne, beaucoup d'air */
@media (max-width: 700px) {
  .studio-inner { padding: 16vh 24px 20vh; }
  .studio-head { text-align: left; }
  .studio-intro { margin: 0; }
  .studio-people { display: block; margin-top: 10vh; }
  .studio-person--b { margin-top: 12vh; }
  .studio-photo { max-width: 460px; }
  .studio-note { text-align: left; margin-top: 12vh; }
}
@media (hover: none) {
  .studio-person:hover .studio-photo img, .studio-person:hover .studio-caption { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .studio .reveal { opacity: 1; transform: none; transition: none; }
  .studio-photo img, .studio-caption, .studio-caption::before { transition: none; }
}

/* ═══════════ LE STUDIO — SCÈNE PILOTÉE PAR LE SCROLL ═══════════
   Desktop (.studio-driven, posé par app.js) : la section est épinglée
   (data-pin="2.3"), .studio-inner remonte doucement dans le pin et chaque
   élément suit la progression (opacity / translateY posés en inline,
   réversibles). Hors desktop et en reduced-motion : pas de pin, le
   .reveal classique reste en place. */
.s-studio .studio-pin { background: var(--bone); }
.studio-inner { will-change: transform; }
.studio.studio-driven .reveal,
.studio.studio-driven .reveal.in-view { transition: none; }
@media (max-width: 900px) {
  .s-studio .studio-pin { height: auto; overflow: visible; }
  .studio-inner { will-change: auto; }
}
/* palier du Studio : les 2 photos + les 2 noms doivent tenir dans l'écran.
   Sur écran bas (ex. 1280 × 720) on borne la largeur des photos par la
   hauteur disponible ; sans effet dès ~900 px de haut. */
.studio.studio-driven .studio-photo { max-width: calc((76vh - 170px) * 0.8); }
/* barre de progression du Studio : filet vertical à droite qui se remplit
   en violet avec le scroll (desktop piloté seulement) */
.studio-progress { display: none; }
.studio.studio-driven .studio-progress {
  display: block; position: absolute; z-index: 3;
  right: clamp(20px, 3vw, 48px); top: 50%;
  width: 2px; height: 120px; margin-top: -60px; border-radius: 2px;
  background: rgba(10, 10, 10, 0.08); overflow: hidden;
}
.studio-progress i {
  display: block; width: 100%; height: 100%;
  background: var(--accent-violet, #7b6cf6);
  transform: scaleY(0); transform-origin: top;
  will-change: transform;
}
/* Le Studio hors desktop piloté (mobile, tablette) : apparitions encore
   plus douces — même easing que la scène desktop */
@media (max-width: 900px) {
  .studio .reveal {
    transition-duration: 1.1s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
}
/* Le Studio desktop : l'intro (label, titre, sous-titre) n'est PAS
   pilotée par le scroll — fondu court à l'entrée (.reveal du moteur),
   puis stable. Plus spécifique que le « transition: none » du mode piloté. */
.studio.studio-driven .studio-head .reveal {
  transform: translateY(8px);
  transition: opacity .7s cubic-bezier(0.22, 1, 0.36, 1), transform .7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.studio.studio-driven .studio-head .reveal.in-view { transform: none; }

/* ═══════════ FOOTER — LinkedIn : les 2 profils au survol ═══════════
   Petit menu qui s'ouvre vers le haut (le footer est en bas de page) au
   survol, au focus clavier et au tap (focus-within). */
.soc-group { position: relative; display: inline-block; cursor: default; outline: none; }
.soc-pop {
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  display: flex; flex-direction: column; gap: 2px;
  min-width: 150px; padding: 8px;
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(10,10,10,0.04), 0 14px 36px -14px rgba(10,10,10,0.18);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .3s cubic-bezier(0.22, 1, 0.36, 1), transform .3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .3s;
  z-index: 5;
}
/* pont invisible : la souris peut aller du libellé au menu sans le fermer */
.soc-pop::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.soc-group:hover .soc-pop, .soc-group:focus-within .soc-pop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition-delay: 0s;
}
.soc-pop a {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 12px; border-radius: 8px;
  white-space: nowrap; color: var(--ink);
  transition: background .25s;
}
.soc-pop a:hover, .soc-pop a:focus-visible { background: rgba(10, 10, 10, 0.05); outline: none; }
.soc-group:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .soc-pop { left: 0; transform: translate(0, 6px); }
  .soc-group:hover .soc-pop, .soc-group:focus-within .soc-pop { transform: translate(0, 0); }
}

/* ═══════════ « POURQUOI » — VERSION ÉPURÉE ═══════════
   Même mécanique (pin, étape active, indicateur) ; moins d'éléments :
   à gauche label + titre + une phrase ; à droite numéros + titres, une
   seule description visible (l'active). La place de chaque description
   reste réservée : aucun titre ne bouge pendant le scroll. */
.is-why .coll-head::after { display: none; }                   /* plus d'illustration */
.is-why .coll-head > :nth-child(4):empty { display: none; }    /* plus de paragraphe */
.is-why .coll-sub {
  color: var(--ash); font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55; max-width: 30ch; margin-top: 4px;
}
.why-rows { border-top: 0; }
.why-row, .s-why .why-row { border-bottom: 0; padding: clamp(14px, 2.4vh, 26px) 0; }
.why-title::before { display: none; }                         /* pas de point devant le titre */
.why-title { font-size: 14px; letter-spacing: 0.1em; margin-bottom: 10px; }
.why-desc { min-height: 2.9em; }                              /* place réservée : pas de saut */

/* piloté (desktop) : inactif = fantôme, actif = lisible, 1 seule description */
.why-driven .why-row .why-title { color: rgba(10, 10, 10, 0.2); }
.why-driven .why-row .why-num   { color: rgba(10, 10, 10, 0.16); }
.why-driven .why-row .why-desc  {
  color: var(--ash);
  opacity: 0; transform: translateY(6px);
  transition: opacity .6s cubic-bezier(0.22, 1, 0.36, 1), transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-driven .why-row.is-active .why-title { color: var(--ink); }
.why-driven .why-row.is-active .why-num   { color: rgba(10, 10, 10, 0.55); }
.why-driven .why-row.is-active .why-desc  { opacity: 1; transform: none; color: #4a4a50; transition-delay: .12s; }
.why-driven .why-row.is-active .why-body  { transform: translateX(4px); }
.why-driven .why-title, .why-driven .why-num { transition: color .6s cubic-bezier(0.22, 1, 0.36, 1); }
/* survol : très léger, sans rivaliser avec l'étape active */
.why-driven .why-row:hover .why-num { color: rgba(10, 10, 10, 0.4); }
.why-driven .why-row:hover .why-desc { color: inherit; }

/* ═══════════ « POURQUOI » — PASSE FINALE (silence visuel) ═══════════
   Seuls restent : titre, phrase, 4 repères, l'étape active, le filet
   vertical et l'indicateur violet. */
.is-why .coll-title::after { display: none; }                 /* pas de curseur clignotant ici */
.collection.is-why.s-why { border-top: 0; border-radius: 0; } /* pas de liseré / d'arrondi */
.s-why .why-pin {                                             /* points : simple texture */
  background: radial-gradient(circle, rgba(10, 10, 10, 0.035) 1px, transparent 1.6px) 0 0 / 22px 22px;
}
/* survol : aucune couleur ni glissement supplémentaire (l'étape active suffit) */
.why-driven .why-row:hover .why-body { transform: none; }
.why-driven .why-row.is-active:hover .why-body { transform: translateX(4px); }
.why-driven .why-row:hover .why-num { color: rgba(10, 10, 10, 0.16); }
.why-driven .why-row.is-active:hover .why-num { color: rgba(10, 10, 10, 0.55); }

/* ═══════════ PAGE « MENTIONS LÉGALES » ═══════════
   Page quasi statique (pas de moteur) : mêmes variables, typo, barre et
   footer que le site. Seule animation : un fondu discret au chargement. */
.legal-page { background: var(--bone); }
.legal {
  max-width: 1040px; margin: 0 auto;
  padding: calc(96px + 10vh) clamp(20px, 5vw, 64px) 16vh;
  background: radial-gradient(circle, rgba(10, 10, 10, 0.03) 1px, transparent 1.6px) 0 0 / 22px 22px;
}
.legal-head { padding-bottom: 10vh; }
.legal-title {
  font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.045em;
  margin: 22px 0 22px;
}
.legal-intro { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ash); max-width: 46ch; }

.legal-sec {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); column-gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--hair);
}
.legal-num { font-size: 11px; letter-spacing: 0.08em; color: rgba(10, 10, 10, 0.35); padding-top: 9px; }
.legal-body { max-width: 680px; }
.legal-body h2 {
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.legal-body p {
  font-size: 17px; line-height: 1.7; letter-spacing: -0.005em;
  color: #3f3f45; max-width: 64ch;
}
.legal-body p + p { margin-top: 14px; }

/* champs (éditeur, hébergeur…) : libellé discret, valeur lisible */
.legal-list {
  display: grid; grid-template-columns: minmax(170px, 34%) minmax(0, 1fr);
  column-gap: 24px; margin: 0;
}
.legal-list dt, .legal-list dd {
  padding: 12px 0; border-bottom: 1px solid rgba(10, 10, 10, 0.05);
  font-size: 16px; line-height: 1.5;
}
.legal-list dt { color: var(--ash); }
.legal-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }

/* liens : soulignement fin, transition légère */
.legal-body a {
  color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: rgba(10, 10, 10, 0.25);
  transition: text-decoration-color .3s var(--ease-out), color .3s var(--ease-out);
}
.legal-body a:hover { text-decoration-color: var(--accent-violet, #7b6cf6); }
.legal-mail { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.03em; }

/* footer : le nom géant sans l'animation lettre à lettre du moteur */
.legal-footer .footer-name {
  background: linear-gradient(180deg, rgba(var(--ink-rgb), 0.95) 20%, rgba(var(--ink-rgb), 0.12) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* seule animation : fondu très léger au chargement, jamais bloquant */
@keyframes legal-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.legal-head { animation: legal-in .7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.legal-sec  { animation: legal-in .7s cubic-bezier(0.22, 1, 0.36, 1) .08s both; }

@media (max-width: 700px) {
  .legal { padding: calc(80px + 6vh) 20px 12vh; }
  .legal-head { padding-bottom: 7vh; }
  .legal-sec { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 40px 0; }
  .legal-num { padding-top: 0; }
  .legal-list { grid-template-columns: minmax(0, 1fr); }
  .legal-list dt { padding: 12px 0 2px; border-bottom: 0; font-size: 13px; }
  .legal-list dd { padding: 0 0 12px; }
  .legal-body p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .legal-head, .legal-sec { animation: none; }
}

/* pages légales — compléments (politique de confidentialité) */
.legal-updated { margin-top: 26px; font-size: 11px; }
.legal-bullets { list-style: none; margin: 14px 0 0; padding: 0; max-width: 64ch; }
.legal-bullets li {
  position: relative; padding: 0 0 0 22px;
  font-size: 17px; line-height: 1.7; color: #3f3f45;
}
.legal-bullets li + li { margin-top: 8px; }
.legal-bullets li::before {                      /* tiret fin, pas d'icône */
  content: ''; position: absolute; left: 0; top: 0.85em;
  width: 10px; height: 1px; background: rgba(10, 10, 10, 0.35);
}
.legal-bullets strong { font-weight: 500; color: var(--ink); }
.legal-body .legal-list + p, .legal-body p + .legal-list, .legal-bullets + p { margin-top: 18px; }
@media (max-width: 700px) { .legal-bullets li { font-size: 16px; } }

/* menu : liens légaux, très discrets, en bas à droite */
.menu-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 11px; }
.menu-legal a { color: var(--ash); transition: color .3s var(--ease-out); }
.menu-legal a:hover, .menu-legal a[aria-current="page"] { color: var(--ink); }
.menu-legal span { color: var(--ash); }
