/* ═══════════════════════════════════════════════════════════
   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 — couleurs exactes du site d'origine (superordi.com) ═══ */
  --lime: #00ddff;                /* accent cyan — H2, liens, CTA */
  --lime-ink: #1a1915;            /* texte posé SUR l'accent */
  --gold: #FFD700;                /* accent or — titres H3 (cartes) */

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

  /* Exo 2 : titres uniquement — Roboto Mono : tout le corps de texte
     (identique au site d'origine, dont le body entier est en Roboto Mono). */
  --sans: 'Exo 2', ui-sans-serif, system-ui, sans-serif;
  --geo: var(--sans);
  --mono: 'Roboto 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);

  /* hauteur du header fixe pleine largeur — logo + padding vertical + respiration */
  --header-h: calc(40px + clamp(56px, 8.5vw, 109px) + 18px);
}

/* ═══ 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; }

/* barres de défilement masquées partout — le scroll reste fonctionnel */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* travelling avant entre 2 pages : l'ancienne page avance vers le
   spectateur en s'effaçant, la nouvelle s'approche en dessous. Le menu,
   capturé à part, reste immobile. Transition native du navigateur
   (Chrome, Edge, Safari) ; ailleurs la page change simplement. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.dock, .subpage-header { view-transition-name: site-header; }
::view-transition { background: #0a0e12 url('images/hero-bg.jpg') center center / cover no-repeat; }
::view-transition-old(root) {
  z-index: 1;
  mix-blend-mode: normal;
  animation: vt-travel-out 1.7s cubic-bezier(.4, 0, .7, .4) both,
             vt-fade-out 1s cubic-bezier(.45, 0, .55, 1) .2s both;
}
::view-transition-new(root) {
  mix-blend-mode: normal;
  animation: vt-travel-in 1.7s cubic-bezier(.22, .61, .36, 1) both;
}
::view-transition-group(site-header) { animation-duration: .7s; animation-delay: .6s; }
@keyframes vt-travel-out { to { transform: scale(1.12); } }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-travel-in { from { transform: scale(.94); } }
body {
  background: #0a0e12 url('images/hero-bg.jpg') center center / cover no-repeat fixed;
  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: 700; font-family: var(--sans); }

.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:
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
    #0a0e12 url('images/hero-bg.jpg') center center / cover no-repeat;
  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-family: var(--sans); font-size: clamp(76px, 12vw, 128px);
  letter-spacing: -0.01em; font-weight: 700;
  color: var(--gold);
  transform-origin: center center;
  transition: transform .9s var(--ease-inout);
  will-change: transform;
  text-shadow:
    -8px -8px 0 #000, 8px -8px 0 #000,
    -8px 8px 0 #000, 8px 8px 0 #000,
    -8px 0 0 #000, 8px 0 0 #000,
    0 -8px 0 #000, 0 8px 0 #000,
    0 3px 12px rgba(0, 0, 0, 0.5);
}
/* 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-intro {
  font-family: var(--mono); font-size: clamp(17px, 2.1vw, 23px); line-height: 1.7;
  color: #fff; text-align: center; max-width: 800px;
  margin: 2px 0 4px; padding: 0 var(--gutter, 20px);
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  transition: opacity .3s var(--ease-out);
  white-space: pre-line;
}
.loader.done .loader-intro { opacity: 0; }
.loader-intro.typing::after {
  content: ''; display: inline-block; width: 0.5em; height: 1em;
  margin-left: 2px; vertical-align: -0.15em;
  background: #fff; animation: loaderCursorBlink 0.85s step-end infinite;
}
@keyframes loaderCursorBlink { 50% { opacity: 0; } }
.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: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.9) 100%);
}

.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);
  opacity: 0;   /* n'apparaît qu'au scroll dans la scène (voir app.js) */
  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; top: var(--header-h); left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.hero-grid {
  width: 100%; max-width: clamp(860px, 62vw, 1180px); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr; align-items: center;
  text-align: center;
}
.hero-text { display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(34px, 5.4vw, 74px); text-align: center; letter-spacing: -0.008em; }

.hero-sub {
  font-family: var(--mono);
  margin-top: 20px; max-width: 52ch;
  color: var(--ash); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.6;
  will-change: opacity;
}
.hero-actions {
  margin-top: 32px; display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 3vw, 34px); flex-wrap: wrap;
  pointer-events: auto; will-change: opacity;
}
.hero-cta {
  background: var(--lime); color: var(--lime-ink);
  padding: 17px 32px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  transition: filter .3s;
}
.hero-cta:hover { filter: brightness(0.94); }
.hero-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; letter-spacing: 0.01em;
  color: var(--ink); position: relative;
}
.hero-phone-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0.85em; height: 0.85em; color: #2ecc71;
  filter: drop-shadow(0 0 6px rgba(46, 204, 113, 0.5));
}
.hero-phone-icon svg { width: 100%; height: 100%; fill: currentColor; }
.hero-phone-text { position: relative; padding-bottom: 2px; border-bottom: 1px solid var(--ink-faint); }
.hero-phone:hover .hero-phone-text { border-color: #2ecc71; color: #2ecc71; }
.hero-trust {
  margin-top: 26px; display: flex; flex-direction: column; gap: 11px;
  will-change: opacity;
}
.hero-trust li {
  position: relative; padding-left: 28px; font-size: clamp(14px, 1.15vw, 16px); color: var(--ash);
}
.hero-trust li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; border: 1.5px solid var(--lime);
}
.hero-trust li::after {
  content: ''; position: absolute; left: 4px; top: 8px; width: 5px; height: 8px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
}
.hero-visual { will-change: opacity, transform; }
.hero-visual-frame {
  border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════ CARTES GÉNÉRIQUES — solutions, confiance, contact ═══════════ */
.info-card {
  background: rgba(15, 18, 22, 0.45);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px;
  padding: clamp(26px, 3.2vw, 40px);
  will-change: opacity, transform;
}
.info-card h3 {
  font-family: var(--sans); color: var(--gold); font-size: clamp(19px, 2vw, 23px); font-weight: 700;
  text-align: center; margin: 0 0 16px;
}
.info-card p { margin: 0; line-height: 1.7; font-size: clamp(15px, 1.3vw, 16px); color: var(--ink); text-align: left; }
.question-card p { text-align: center; }
.info-card.logo-card { display: flex; align-items: center; justify-content: center; }
.info-card.logo-card img { max-width: 100%; max-height: 130px; object-fit: contain; }

.hero-cards { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; }
.hero-card p { text-align: left; }
@media (max-width: 700px) { .hero-cards { grid-template-columns: 1fr; } }

.card-pin {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: calc(var(--header-h) + 0.5vh) var(--gutter) 2.5vh; text-align: center;
}
.s-confiance .section-title { margin-bottom: clamp(20px, 3vw, 32px); }
.s-contact-teaser .section-title { margin-bottom: clamp(18px, 2.4vw, 26px); }
.section-kicker { margin-bottom: 14px; will-change: opacity, transform; }
.section-title {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  font-size: var(--t-heading); color: var(--lime); letter-spacing: -0.01em;
  margin: 0 0 clamp(36px, 5vw, 56px); max-width: 900px;
  will-change: opacity, transform;
  text-shadow:
    -2px -2px 0 #000, 2px -2px 0 #000,
    -2px 2px 0 #000, 2px 2px 0 #000,
    -2px 0 0 #000, 2px 0 0 #000,
    0 -2px 0 #000, 0 2px 0 #000,
    0 3px 12px rgba(0, 0, 0, 0.5);
}

.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  width: 100%; max-width: 1240px;
}
@media (max-width: 980px) { .solutions-grid { grid-template-columns: 1fr 1fr; } }
/* smartphone : cartes texte en pleine largeur, les 3 logos côte à côte
   sur une seule ligne (empilés, ils prenaient presque un écran entier). */
@media (max-width: 620px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .solutions-grid .info-card:not(.logo-card) { grid-column: 1 / -1; }
  .solutions-grid .logo-card { padding: 14px 10px; }
  .solutions-grid .logo-card img { max-height: 54px; }
}

.contact-teaser-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
  width: 100%; max-width: 1000px; text-align: left;
}
.question-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.teaser-phone {
  display: inline-flex; align-items: center; gap: 12px; margin: 18px 0 6px;
  font-family: var(--mono); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); color: var(--ink);
}
.teaser-phone-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0.9em; height: 0.9em; color: #2ecc71;
  filter: drop-shadow(0 0 6px rgba(46, 204, 113, 0.5));
}
.teaser-phone-icon svg { width: 100%; height: 100%; fill: currentColor; }
.teaser-cta {
  display: inline-block; margin-top: 14px;
  border: 2px solid var(--lime); color: var(--lime); background: transparent;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.teaser-cta:hover { background: var(--lime); color: var(--lime-ink); }


@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust { align-items: center; }
  .hero-trust li { text-align: left; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto 8px; }
}

/* vague de couleur lettre par lettre — reprise à l'identique du site d'origine */
@keyframes letterColorWave {
  0%, 60%, 100% { color: rgb(0, 221, 255); }
  15%, 30% { color: rgb(255, 215, 0); }
}
.wave-letter {
  display: inline-block; animation: letterColorWave 6.5s ease-in-out infinite;
  text-shadow:
    -2px -2px 0 #000, 2px -2px 0 #000,
    -2px 2px 0 #000, 2px 2px 0 #000,
    -2px 0 0 #000, 2px 0 0 #000,
    0 -2px 0 #000, 0 2px 0 #000,
    0 3px 12px rgba(0, 0, 0, 0.5);
}
.hero-title { font-size: var(--t-heading); letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }
.hero-line1 { display: block; will-change: opacity; }
.hero-line2 {
  display: flex; flex-direction: column; align-items: center;
}
.hero-line2 .hl { display: block; }

/* 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: var(--lime);
  font-size: var(--t-heading); letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow:
    -2.5px -2.5px 0 #000, 2.5px -2.5px 0 #000,
    -2.5px 2.5px 0 #000, 2.5px 2.5px 0 #000,
    -2.5px 0 0 #000, 2.5px 0 0 #000,
    0 -2.5px 0 #000, 0 2.5px 0 #000,
    0 3px 16px rgba(0, 0, 0, 0.6);
}
.spot-intro span { display: inline-block; will-change: opacity, transform; opacity: 0; }
/* ═══════════ S2 · MANIFESTE — Artisan depuis 2014 ═══════════ */
.s-fill .pin {
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.manifesto-pin { text-align: center; padding: 0 var(--gutter); }
.manifesto-title {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.01em;
  color: var(--gold); margin-bottom: clamp(28px, 4vw, 44px);
  will-change: opacity, transform;
}
.manifesto-list { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.manifesto-list li {
  font-family: var(--mono);
  position: relative; padding-left: 30px; font-size: clamp(16px, 2vw, 19px);
  color: var(--ink); text-align: left; will-change: opacity, transform;
}
.manifesto-list li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px;
  border-radius: 50%; border: 1.5px solid var(--lime);
}
.manifesto-list li::after {
  content: ''; position: absolute; left: 5px; top: 9px; width: 6px; height: 9px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
}

/* ═══════════ S3 · SÉLECTION ═══════════ */
.collection {
  position: relative;
  /* opaque en haut (recouvre proprement la scène épinglée précédente
     SANS chevauchement de texte), puis se voile progressivement pour
     laisser réapparaître l'image de fond dans le reste de la section */
  background: linear-gradient(180deg, #06080a 0, #06080a 105vh, rgba(0,0,0,0.68) 140vh, rgba(0,0,0,0.68) 100%);
  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; color: var(--lime); text-transform: uppercase; }
.coll-sub { font-family: var(--mono); 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; font-weight: 700; letter-spacing: -0.007em; color: var(--gold); }
.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 { overflow: hidden; }
.motto-kicker {
  position: absolute; top: 13vh; left: 50%;
  transform: translateX(-50%);
  color: var(--lime); opacity: 0.9;
  font-size: 15px; letter-spacing: 0.04em;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.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: 700;
  font-size: clamp(96px, 16vw, 250px);
  letter-spacing: -0.02em; line-height: 1;
  color: var(--lime);
  will-change: opacity;
  text-shadow:
    -3px -3px 0 #000, 3px -3px 0 #000,
    -3px 3px 0 #000, 3px 3px 0 #000,
    -3px 0 0 #000, 3px 0 0 #000,
    0 -3px 0 #000, 0 3px 0 #000,
    0 4px 20px rgba(0, 0, 0, 0.6);
}
.mw .sc { display: inline-block; will-change: transform; }
.motto-hint {
  position: absolute; bottom: 14vh; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  transition: opacity .25s;
  text-align: center;
  max-width: 80vw;
  font-size: 18px; letter-spacing: 0.01em; text-transform: none; font-weight: 500;
  text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000;
}
.motto-hint.swap { opacity: 0; }

/* ═══════════ S5 · NUIT + EXPLORER ═══════════ */
.s-night .pin { background: none; }
.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: #05070a url('images/hero-bg.jpg') center center / cover fixed;
  transform: scaleY(0); transform-origin: bottom;
  will-change: transform;
}
.wipe span::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
/* 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: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6));
  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: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6));
  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: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6));
  display: flex; align-items: center; justify-content: center;
}
/* ═══════════ FOOTER — copyright + liens légaux (accueil) ═══════════ */
.site-footer {
  position: relative; z-index: 5;
  background: rgba(6, 8, 10, 0.96);
  padding: 32px var(--gutter) 40px;
  text-align: center;
  border-top: 1px solid var(--ink-faint);
  font-size: 13px;
}

/* ═══════════ CHROME FIXE — barre pleine largeur, comme le site d'origine ═══════════ */
.dock {
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  transform: translateY(-100%);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 0;
  /* logo à gauche, menu (Contact compris) centré sur la largeur de l'écran */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px clamp(20px, 4vw, 40px);
  z-index: 100;
  transition: transform .9s var(--ease-out) .15s, opacity .32s var(--ease-out);
}
body.is-ready .dock { transform: translateY(0); }
/* timeline de lecture — se remplit de gauche à droite avec la progression
   du scroll, comme la barre de lecture d'un film. Vide au départ. */
.scroll-timeline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.scroll-timeline i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #e21818, #ff4d4d);
  box-shadow: 0 0 8px rgba(226, 24, 24, 0.6);
}
/* variante autonome — pages sans conteneur d'en-tête positionné (légal) */
.scroll-timeline.is-fixed { position: fixed; top: 0; z-index: 101; }
.dock-wordmark { justify-self: start; display: flex; align-items: center; }
.dock-logo { height: clamp(56px, 8.5vw, 109px); width: auto; border-radius: 0; display: block; }
.dock-nav { justify-self: center; display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); }
.dock-link {
  font-family: var(--mono); font-size: 16px; font-weight: 700;
  letter-spacing: 0.01em; text-transform: uppercase;
  color: #f0f0f0; padding: 9px 0; position: relative;
}
.dock-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: #f0f0f0;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-inout);
}
.dock-link:hover::after { transform: scaleX(1); transform-origin: left; }
.dock-link.active { color: var(--lime); }
.dock-link.active::after { background: var(--lime); transform: scaleX(1); }

/* burger : masqué par défaut, révélé sous 900 px */
.dock-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 34px; padding: 0; grid-column: 3; justify-self: end;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.dock-burger span {
  display: block; width: 100%; height: 2px; background: #f0f0f0;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.dock-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dock-burger.open span:nth-child(2) { opacity: 0; }
.dock-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dock-mobile-nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: calc(var(--header-h)) var(--gutter) 32px;
  background: rgba(6, 8, 10, 0.97);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  display: flex; flex-direction: column; gap: 4px;
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease-out);
}
.dock-mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.dock-mobile-nav a {
  font-family: var(--mono); font-size: 19px; font-weight: 700;
  letter-spacing: 0.01em; text-transform: uppercase;
  color: #f0f0f0; padding: 16px 4px; border-top: 1px solid var(--ink-faint);
}
.dock-mobile-nav a:first-child { border-top: none; }
.dock-mobile-nav a.active { color: var(--lime); }

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 .fl { opacity: 1; }
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 .manifesto-title,
body.static .manifesto-list li { opacity: 1 !important; transform: none !important; }
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 pleine largeur, ancrée en haut, comme sur desktop —
     logo + CTA + burger sous 900 px, les 4 ancres passent dans le
     panneau déroulant ouvert par le burger. */
  .dock {
    padding: 14px 20px;
    white-space: nowrap;
  }
  .dock-logo { height: 48px; }
  .dock-nav { display: none; }
  .dock-burger { display: flex; }
  .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); }
  /* petit écran : si le titre + cartes + bouton ne tiennent pas, on part du
     haut (sous le menu) au lieu de centrer — sinon le haut du titre passe
     sous le menu et le bouton sort par le bas. Le reste défile (app.js). */
  .hero-copy { justify-content: safe center; }
  .hero-kicker {
    font-size: 10px; line-height: 1.5; margin-bottom: 18px;
    white-space: normal; padding: 0 var(--gutter);
  }
  /* le titre repris du site d'origine est long : il doit pouvoir
     revenir à la ligne sous 900 px, sinon il déborde du viewport. */
  .hero-line2 { white-space: normal; flex-wrap: wrap; row-gap: 4px; }
  .hero-line2 .grow { flex: 0 0 auto; }
  /* é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 */
  .manifesto-title { font-size: clamp(24px, 6.4vw, 32px); }
  .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, logo + burger 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;
  }
}

/* Léger flottement continu sur les titres, pour animer le texte
   au repos et pas seulement à l'entrée en scène. */
@keyframes textFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.manifesto-title,
.coll-title,
.compat-kicker,
.trust-col > p.mono,
.footer-kicker {
  animation: textFloat 5s ease-in-out infinite;
}
.trust-col:nth-child(2) > p.mono { animation-delay: .6s; }
.trust-col:nth-child(3) > p.mono { animation-delay: 1.2s; }

/* ═══════════════════════════════════════════════════════════
   AJOUT CLIENT — bloc « confiance » (artisan / tarifs / dispo)
   repris à l'identique du site d'origine, absent du template
   de base. Section statique, mêmes tokens que le reste.
   ═══════════════════════════════════════════════════════════ */
.trust { padding: clamp(56px, 9vw, 108px) var(--gutter); }
.trust-inner {
  width: 100%; max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto;
  gap: clamp(16px, 2.2vw, 26px);
  align-items: stretch; text-align: left;
}
.trust-col { display: flex; flex-direction: column; justify-content: flex-start; min-height: 190px; }
/* ligne du bas (disponibilités + visuel) : symétrique entre elles, plus basse que la ligne du haut */
.trust-col:nth-child(3), .trust-col:nth-child(4) { min-height: 130px; }
@media (max-width: 760px) {
  .trust-inner { grid-template-columns: 1fr; }
}
.trust-col {
  background: rgba(15, 18, 22, 0.45);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px;
  padding: clamp(26px, 3.2vw, 40px);
}
.trust-col .mono {
  color: var(--gold); margin-bottom: 16px; font-weight: 700; font-size: clamp(19px, 2vw, 23px);
  text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000, 0 2px 8px rgba(0,0,0,.5);
}
.trust-col ul { display: flex; flex-direction: column; gap: 12px; }
.trust-col li {
  font-family: var(--mono);
  position: relative; padding-left: 28px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.45;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 8px rgba(0,0,0,.5);
}
.trust-col li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; border: 1.5px solid var(--lime);
}
.trust-col li::after {
  content: ''; position: absolute; left: 4px; top: 10px; width: 5px; height: 8px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
}

.compat { padding: clamp(48px, 7vw, 84px) var(--gutter) clamp(24px, 4vw, 40px); text-align: center; }
.compat-kicker { margin-bottom: clamp(32px, 5vw, 56px); font-size: 16px; }
.compat-grid {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 64px);
  justify-items: center;
}
.compat-tile {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: clamp(12px, 2vw, 20px);
}
.compat-tile img { max-width: 100%; max-height: clamp(120px, 14vw, 200px); object-fit: contain; }
@media (max-width: 640px) {
  .compat-grid { grid-template-columns: 1fr 1fr; }
  .compat-tile:last-child { grid-column: 1 / -1; }
}

.footer-legal { margin-top: 18px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; opacity: 0.85; }
.footer-legal a:hover { opacity: 1; color: var(--ink); }
.footer-legal .sep { margin: 0 8px; opacity: 0.5; }

/* bouton flottant « remonter en haut » — visible partout sur le scroll */
.back-to-top {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%; border: 2px solid rgba(255, 215, 0, 0.55);
  background: rgba(15, 18, 22, 0.55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  color: var(--gold); font-size: 30px; font-weight: 700; cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
}
.back-to-top:hover {
  transform: translateY(-6px) scale(1.06);
  border-color: var(--gold);
  background: rgba(15, 18, 22, 0.85);
  box-shadow: 0 0 36px rgba(255, 215, 0, 0.55), 0 10px 28px rgba(0, 0, 0, 0.45);
}
@media (max-width: 640px) {
  .back-to-top { width: 52px; height: 52px; font-size: 24px; }
}

/* lecture automatique — défile la page à la place du visiteur */
.autoplay-group {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: calc(clamp(16px, 3vw, 32px) + 88px);
  z-index: 90;
}
.autoplay-btn {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%; border: 2px solid rgba(0, 221, 255, 0.55);
  background: rgba(15, 18, 22, 0.55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  color: var(--lime); font-size: 24px; cursor: pointer;
  box-shadow: 0 0 24px rgba(0, 221, 255, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
}
.autoplay-btn:hover {
  transform: translateY(-6px) scale(1.06);
  border-color: var(--lime);
  background: rgba(15, 18, 22, 0.85);
  box-shadow: 0 0 36px rgba(0, 221, 255, 0.55), 0 10px 28px rgba(0, 0, 0, 0.45);
}
.autoplay-btn[hidden] { display: none; }
@media (max-width: 640px) {
  .autoplay-group { bottom: calc(clamp(16px, 3vw, 32px) + 72px); }
  .autoplay-btn { width: 52px; height: 52px; font-size: 20px; }
}
