/* ============================================================
   ROCKETDEV — feuille de style v2 « édition cinéma »
   Verre liquide, typographie géante métallique, station claire,
   cartes empilées, parallaxe épinglée. 100 % fait main, 0 dépendance.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg-0: #02000a;
  --bg-1: #060118;
  --bg-2: #0b0530;
  --paper: #e9ecf4;
  --paper-ink: #0b0e1a;
  --paper-mut: #4a4f63;

  --ink: #e9e7ff;
  --ink-dim: #a3a0cf;
  --ink-faint: #8a86b8;

  --violet: #7c6cff;
  --cyan: #4de3ff;
  --magenta: #ff4dd8;
  --flame: #ff8a3d;
  --ok: #3ddc84;

  --line: rgba(124, 108, 255, 0.20);
  --line-strong: rgba(151, 140, 255, 0.55);
  --glass-bg: rgba(255, 255, 255, 0.03);

  --grad-neon: linear-gradient(92deg, var(--cyan), var(--violet) 45%, var(--magenta));
  --grad-metal: linear-gradient(180deg, #aeb6c8 0%, #f2f5fc 44%, #5d6478 100%);

  --font-sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", "JetBrains Mono", Consolas, monospace;
  --font-disp: Georgia, "Times New Roman", serif;

  --radius: 18px;
  --radius-lg: clamp(28px, 4vw, 56px);
  --radius-sm: 10px;

  --space-3: clamp(2rem, 4vw, 3rem);
  --space-4: clamp(5rem, 11vh, 9rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
}

img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { padding: 0; }
button { font: inherit; }

::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilitaires ---------- */
.container { width: min(1200px, 100% - 2 * clamp(1.25rem, 4vw, 3rem)); margin-inline: auto; }
.container-narrow { max-width: 820px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* Typographies signature */
.disp-i { font-family: var(--font-disp); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.metal-text {
  background: var(--grad-metal);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.grad-text {
  background: var(--grad-neon);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.kicker-dark { color: #5f45d8; }

/* ---------- Verre liquide ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.10) 22%,
    rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.02) 60%,
    rgba(124, 108, 255, 0.20) 82%, rgba(77, 227, 255, 0.35) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}

/* Anneau dégradé au survol (boutons, CTA) */
.ring-hover { position: relative; z-index: 0; }
.ring-hover::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-neon);
  opacity: 0;
  transition: opacity 0.25s;
}
.ring-hover:hover::after, .ring-hover:focus-visible::after { opacity: 1; }

/* ============================================================
   ÉCRAN DE LANCEMENT — compteur 000→100 + mots rotatifs
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg-0);
  cursor: pointer;
  transition: opacity 0.55s var(--ease-out), visibility 0.55s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-label {
  position: absolute; top: 1.6rem; left: 1.8rem;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.3em; color: var(--ink-faint);
}
.loader-word {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-disp); font-style: italic;
  font-size: clamp(2.6rem, 8vw, 6rem);
  color: rgba(233, 231, 255, 0.85);
}
.loader-word span { display: inline-block; }
.loader-word span.is-in { animation: word-in 0.5s var(--ease-out); }
@keyframes word-in {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.loader-count {
  position: absolute; right: 2rem; bottom: 2.4rem;
  font-size: clamp(4.5rem, 14vw, 11rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-metal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: rgba(124, 108, 255, 0.15);
}
.loader-bar span {
  display: block; height: 100%; width: 100%;
  background: var(--grad-neon);
  transform: scaleX(0); transform-origin: left;
  box-shadow: 0 0 14px rgba(77, 227, 255, 0.5);
}
.loader-skip {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.2em; color: var(--ink-faint);
  animation: blink 1.6s infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* ============================================================
   DÉCORS FIXES
   ============================================================ */
#space {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 70% 10%, #140a3a 0%, transparent 55%),
    radial-gradient(100% 80% at 15% 85%, #0a1a36 0%, transparent 50%),
    var(--bg-0);
}

.grain {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  mix-blend-mode: overlay;
}
@media (max-width: 860px) { .grain { mix-blend-mode: normal; opacity: 0.035; } }

.warp-flash {
  position: fixed; inset: 0; z-index: 95;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, rgba(160, 220, 255, 0.9), transparent 70%);
  opacity: 0;
}
.warp-flash.is-flashing { animation: warpflash 1.6s var(--ease-out); }
@keyframes warpflash { 0% { opacity: 0; } 35% { opacity: 0.85; } 100% { opacity: 0; } }

/* HUD */
.hud { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.hud-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 6px 10px;
  display: flex; gap: 1.2em;
}
.hud-corner::before {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid rgba(124, 108, 255, 0.45);
}
.hud-tl { top: 10px; left: 12px; }
.hud-tl::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-tr { top: 10px; right: 12px; }
.hud-tr::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 10px; left: 12px; }
.hud-bl::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-br { bottom: 10px; right: 12px; }
.hud-br::before { bottom: 0; right: 0; border-left: 0; border-top: 0; }
@media (max-width: 860px) { .hud { display: none; } }

/* Bouton son */
.sound-toggle {
  position: fixed;
  right: 14px; bottom: 44px;
  z-index: 85;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  background: rgba(5, 2, 20, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.sound-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.sound-toggle[aria-pressed="true"] { color: var(--cyan); border-color: rgba(77, 227, 255, 0.5); }
.no-js .sound-toggle { display: none; }
@media (max-width: 860px) { .sound-toggle { bottom: 14px; } }

/* Piste de mission */
.track {
  position: fixed;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  z-index: 85;
  display: flex; flex-direction: column; gap: 14px;
}
.track-dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(138, 134, 184, 0.4);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.track-dot:hover { background: var(--ink-dim); text-decoration: none; }
.track-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(5, 2, 20, 0.8);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.track-dot:hover::after, .track-dot:focus-visible::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.track-dot.is-active {
  background: var(--cyan);
  transform: scale(1.45);
  box-shadow: 0 0 12px rgba(77, 227, 255, 0.8);
}
@media (max-width: 1180px) { .track { display: none; } }

/* Barre de progression */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 210; }
.progress-bar {
  height: 100%; width: 0%;
  background: var(--grad-neon);
  box-shadow: 0 0 12px rgba(124, 108, 255, 0.8);
}

/* ============================================================
   NAVIGATION PILULE FLOTTANTE
   ============================================================ */
.pill-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; justify-content: center;
  padding: 1rem 1rem 0;
  pointer-events: none;
}
.pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 2, 20, 0.55);
  transition: box-shadow 0.3s, background 0.3s;
}
.pill-header.is-scrolled .pill {
  background: rgba(4, 1, 16, 0.75);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.pill-brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.7rem 0.3rem 0.35rem;
  color: var(--ink);
  border-radius: 999px;
  user-select: none;
}
.pill-brand:hover { text-decoration: none; }
.pill-logo {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: var(--flame);
  background:
    linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
    var(--grad-neon) border-box;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-out);
}
.pill-brand:hover .pill-logo { transform: scale(1.12) rotate(8deg); }
.pill-name { font-weight: 800; font-size: 1.02rem; letter-spacing: 0.01em; }
.pill-name em {
  font-style: normal;
  background: var(--grad-neon);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill-sep { width: 1px; height: 20px; background: var(--line); margin: 0 0.2rem; }
.pill-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav-link {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  color: var(--ink-dim);
  font-size: 0.88rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--ink); background: rgba(124, 108, 255, 0.12); text-decoration: none; }
.nav-link.is-active { color: var(--ink); background: rgba(124, 108, 255, 0.18); }
.pill-cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--bg-1);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--line);
}
.pill-cta:hover { text-decoration: none; }

.pill-burger {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
}
.pill-burger-bar,
.pill-burger-bar::before,
.pill-burger-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 16px; height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.pill-burger-bar { top: 50%; transform: translate(-50%, -50%); }
.pill-burger-bar::before { top: -5px; }
.pill-burger-bar::after { top: 5px; }
.pill-burger[aria-expanded="true"] .pill-burger-bar { background: transparent; }
.pill-burger[aria-expanded="true"] .pill-burger-bar::before { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.pill-burger[aria-expanded="true"] .pill-burger-bar::after { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

@media (max-width: 880px) {
  .pill-links {
    position: fixed;
    top: 72px; left: 50%;
    transform: translateX(-50%) translateY(-10px);
    flex-direction: column;
    align-items: stretch;
    width: min(340px, 92vw);
    padding: 0.6rem;
    border-radius: 22px;
    background: rgba(4, 1, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease-out), opacity 0.25s, visibility 0.25s;
  }
  .pill-links.is-open { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 0.85rem 1rem; font-size: 1rem; text-align: center; }
  .pill-sep, .pill-cta span:last-child { display: none; }
  .pill-cta { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
  .pill-burger { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: clip;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--cyan);
  margin-bottom: 1.6rem;
}
.hero-title { line-height: 1; }
.hero-brand {
  display: block;
  font-size: clamp(2.4rem, 11.8vw, 11.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  white-space: nowrap;
  filter: drop-shadow(0 10px 60px rgba(124, 108, 255, 0.25));
}
.hero-line {
  display: block;
  font-size: clamp(1.35rem, 3.2vw, 2.4rem);
  font-weight: 300;
  color: var(--ink-dim);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 26px rgba(2, 0, 10, 0.9), 0 0 60px rgba(2, 0, 10, 0.6);
}
.hero-role { text-shadow: 0 2px 22px rgba(2, 0, 10, 0.9); }
.hero-line .disp-i { font-size: 1.08em; }
.hero-line em:not(.grad-text) { color: var(--ink); }

.hero-role {
  margin: 1.8rem auto 2.4rem;
  max-width: 62ch;
  color: var(--ink-dim);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}
.role-swap { color: var(--ink); display: inline-block; min-width: 9ch; }
.role-swap span { display: inline-block; }
.role-swap span.is-in { animation: role-in 0.4s ease-out; }
@keyframes role-in { from { opacity: 0; transform: translateY(8px); } }

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

/* Entrées orchestrées du hero */
.js [data-entrance] { opacity: 0; }
.js .is-booted [data-entrance] {
  animation: entrance 0.95s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}
@keyframes entrance {
  from { opacity: 0; transform: translateY(36px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s;
  will-change: transform;
}
.btn:hover { text-decoration: none; }
.btn-solid {
  color: #06021a;
  background: var(--ink);
}
.btn-solid:hover {
  background: var(--bg-1);
  color: var(--ink);
  box-shadow: 0 0 0 2px transparent;
  outline: 2px solid transparent;
}
.btn-solid { position: relative; z-index: 0; }
.btn-solid::after {
  content: "";
  position: absolute; inset: -2px; z-index: -1;
  border-radius: inherit;
  background: var(--grad-neon);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-solid:hover::after { opacity: 1; }
.btn-ring {
  color: var(--ink);
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* Indicateur de défilement */
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  color: var(--ink-faint);
}
.scroll-cue:hover { text-decoration: none; color: var(--cyan); }
.scroll-cue-text { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.3em; }
.scroll-cue-line {
  position: relative;
  width: 1px; height: 42px;
  background: rgba(138, 134, 184, 0.35);
  overflow: hidden;
}
.scroll-cue-line i {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 45%;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scroll-down 1.6s ease-in-out infinite;
}
@keyframes scroll-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(240%); }
}
@media (max-width: 720px), (max-height: 700px) { .scroll-cue { display: none; } }

/* ============================================================
   MARQUEES
   ============================================================ */
.marquee-band { padding: var(--space-3) 0 0; overflow: clip; }
.marquee { overflow: clip; }
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.m-rev .marquee-inner { animation-direction: reverse; animation-duration: 46s; }
.marquee-inner span {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  padding-right: 0.3em;
}
.m-slow .marquee-inner span {
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(163, 160, 207, 0.35);
}
.m-rev .marquee-inner span {
  font-size: clamp(1.1rem, 2.6vw, 2rem);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  padding-block: 0.9em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   STATION — section claire (services)
   ============================================================ */
.station {
  position: relative;
  z-index: 3;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius-lg);
  margin: var(--space-3) clamp(0.6rem, 1.6vw, 1.6rem);
  padding: clamp(4rem, 9vh, 7rem) 0 clamp(4.5rem, 10vh, 8rem);
  box-shadow: 0 40px 120px rgba(2, 0, 20, 0.55);
  scroll-margin-top: 90px;
}
.station-head { max-width: 720px; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.station-title {
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 0.6rem;
}
.station-sub { color: var(--paper-mut); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; }

.service-list { list-style: none; max-width: 1080px; }
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  padding: clamp(1.6rem, 3.5vh, 2.6rem) 0;
  border-top: 1px solid rgba(11, 14, 26, 0.14);
  transition: padding-left 0.35s var(--ease-out);
}
.service-row:last-child { border-bottom: 1px solid rgba(11, 14, 26, 0.14); }
.service-row:hover { padding-left: clamp(0.4rem, 1.5vw, 1.2rem); }
.service-num {
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: rgba(11, 14, 26, 0.16);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.service-row:hover .service-num {
  background: var(--grad-neon);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.service-name {
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}
.service-desc {
  color: var(--paper-mut);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  max-width: 58ch;
}
.service-tags {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(11, 14, 26, 0.45);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .service-row { grid-template-columns: auto 1fr; }
  .service-tags { display: none; }
}

/* ============================================================
   SECTIONS SPATIALES GÉNÉRIQUES
   ============================================================ */
.section {
  position: relative;
  padding-block: var(--space-4);
  scroll-margin-top: 90px;
}
.section-head { margin-bottom: var(--space-3); max-width: 720px; }
.section-title {
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 0.7rem;
  text-wrap: balance;
  text-transform: uppercase;
}
.section-title .disp-i { text-transform: none; font-size: 1.02em; }
.section-sub { color: var(--ink-dim); }

/* Numéro de chapitre en filigrane */
.chapter-mark {
  position: absolute;
  top: 6rem; right: -1rem;
  z-index: -1;
  font-size: clamp(10rem, 30vw, 26rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(124, 108, 255, 0.10);
  pointer-events: none;
  user-select: none;
  transform: translateY(calc((var(--secp, 0.5) - 0.5) * -14vh));
}

/* Révélation au scroll (gardée par .js : jamais de contenu masqué sans JS) */
.js [data-reveal] { opacity: 0; transform: translateY(30px); }
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  animation: reveal-in 0.8s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
}

/* ============================================================
   MÉTHODE + TRAJECTOIRE
   ============================================================ */
.methode { z-index: 2; }
.timeline-wrap { position: relative; max-width: 780px; }
.trajectory {
  position: absolute;
  left: 8px; top: 0;
  width: 44px; height: 100%;
  overflow: visible;
}
.trajectory path {
  stroke: url(#traj-grad);
  stroke: var(--violet);
  stroke-width: 2;
  opacity: 0.6;
  stroke-linecap: round;
}
.timeline { list-style: none; position: relative; }
.step {
  position: relative;
  display: flex;
  gap: 1.6rem;
  padding: 0 0 var(--space-3) 0;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  flex: 0 0 auto;
  z-index: 1;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  background: var(--bg-1);
  border: 1px solid rgba(77, 227, 255, 0.4);
  box-shadow: 0 0 24px rgba(77, 227, 255, 0.15);
}
.step-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.step-body p { color: var(--ink-dim); font-size: 0.96rem; max-width: 54ch; }

/* ============================================================
   MANIFESTE — révélation caractère par caractère
   ============================================================ */
.manifeste { text-align: center; }
.manifeste .kicker { margin-bottom: 2rem; }
.manifesto {
  font-size: clamp(1.45rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.manifesto .word { display: inline-block; }
.manifesto .ch { opacity: 0.14; }
.no-js .manifesto .ch { opacity: 1; }
.manifeste-cta { margin-top: clamp(2.5rem, 6vh, 4rem); }

/* ============================================================
   CHIFFRES
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}
.stat {
  padding: clamp(1.4rem, 3vw, 2.2rem) 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.06), transparent);
  display: flex; flex-direction: column;
}
.stat dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.stat dd {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-top: 0.4rem;
  letter-spacing: -0.02em;
  background: var(--grad-metal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-num { display: inline-block; }

/* ============================================================
   RÉALISATIONS — cartes empilées (sticky stack)
   ============================================================ */
.cases-section { z-index: 2; }
.stack-deck { position: relative; }
.stack-slot { height: 86vh; }
.stack-slot:last-child { height: auto; padding-bottom: 12vh; }
.stack-card {
  position: sticky;
  top: calc(clamp(84px, 12vh, 130px) + var(--k, 0) * 26px);
  width: min(880px, 100% - 2 * clamp(1.25rem, 4vw, 3rem));
  margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: clamp(26px, 3.5vw, 44px);
  background: rgba(6, 1, 24, 0.82);
  transform-origin: center top;
  will-change: transform;
}
.stack-slot:nth-child(1) .stack-card { --k: 0; }
.stack-slot:nth-child(2) .stack-card { --k: 1; }
.stack-slot:nth-child(3) .stack-card { --k: 2; }

.stack-card-head {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 1.2rem;
}
.stack-num {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: var(--grad-metal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stack-id { flex: 1; }
.case-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.3rem;
}
.case-title { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em; }
.case-orb {
  flex: 0 0 auto;
  width: clamp(56px, 8vw, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
}
.orb-violet {
  background: radial-gradient(circle at 32% 30%, #8b7dff 0%, #3a2a8f 45%, #120a3a 80%);
  box-shadow: inset -8px -8px 24px rgba(0, 0, 0, 0.7), 0 0 34px rgba(124, 108, 255, 0.4);
}
.orb-flame {
  background: radial-gradient(circle at 32% 30%, #ffc38a 0%, #d95f18 45%, #4a1503 80%);
  box-shadow: inset -8px -8px 24px rgba(0, 0, 0, 0.7), 0 0 34px rgba(255, 138, 61, 0.4);
}
.orb-cyan {
  background: radial-gradient(circle at 32% 30%, #a8f0ff 0%, #1d8fb0 45%, #062a3a 80%);
  box-shadow: inset -8px -8px 24px rgba(0, 0, 0, 0.7), 0 0 34px rgba(77, 227, 255, 0.4);
}
.case-text { color: var(--ink-dim); max-width: 64ch; margin-bottom: 1.6rem; }
.case-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
}
.case-metrics li { display: flex; flex-direction: column; gap: 0.15rem; }
.case-metrics strong { font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--cyan); font-variant-numeric: tabular-nums; }
.case-metrics span { font-size: 0.72rem; color: var(--ink-faint); line-height: 1.35; }

/* ============================================================
   ARSENAL — parallaxe épinglée
   ============================================================ */
.arsenal { position: relative; height: 240vh; scroll-margin-top: 90px; }
.arsenal-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  display: grid;
  place-items: center;
}
.arsenal-center {
  text-align: center;
  max-width: 640px;
  padding: 2.5rem 1.25rem;
  z-index: 2;
  background: radial-gradient(closest-side, rgba(2, 0, 10, 0.62), transparent);
  text-shadow: 0 2px 20px rgba(2, 0, 10, 0.8);
}
.arsenal-center .section-title { margin-inline: auto; }
.arsenal-note {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--ink-dim);
  border-left: 3px solid var(--flame);
  padding: 0.6rem 1rem;
  text-align: left;
  background: rgba(255, 138, 61, 0.06);
  border-radius: 0 12px 12px 0;
  display: inline-block;
}
.arsenal-note strong { color: var(--flame); }
.arsenal-col {
  position: absolute;
  top: 50%;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  will-change: transform;
}
.col-left { left: clamp(1rem, 7vw, 9rem); }
.col-right { right: clamp(1rem, 7vw, 9rem); }
.arsenal-col li {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  letter-spacing: 0.08em;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  color: var(--ink-dim);
  text-align: center;
}
@media (max-width: 980px) {
  .arsenal { height: auto; padding-block: var(--space-4); }
  .arsenal-pin { position: static; height: auto; display: block; }
  .arsenal-center { margin-inline: auto; margin-bottom: 2.5rem; }
  .arsenal-col {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    transform: none !important;
    margin-bottom: 0.6rem;
  }
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.quote { padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.quote blockquote p {
  color: var(--ink-dim);
  font-size: 0.98rem;
  font-family: var(--font-disp);
  font-style: italic;
}
.quote figcaption {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.quote figcaption strong { color: var(--cyan); font-weight: 600; }
.quote figcaption::before {
  content: "📡 ";
  content: "📡 " / "";
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { overflow: hidden; border-radius: 14px; transition: background 0.25s; }
.faq-item[open] { background: rgba(124, 108, 255, 0.07); }
.faq-item summary {
  padding: 1.15rem 3rem 1.15rem 1.3rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  content: "+" / "";
  position: absolute;
  right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cyan);
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--cyan); }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--ink-dim); font-size: 0.95rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-top: 0; }
.contact-marquee { margin-bottom: var(--space-3); }
.contact-form {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: clamp(22px, 3vw, 36px);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.2rem;
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(2, 0, 10, 0.6);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 108, 255, 0.2);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px var(--magenta);
}
.form-status { font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); min-height: 1.2em; }
.contact .btn { justify-self: start; }
.contact-alt { margin-top: clamp(1.5rem, 3vh, 2.2rem); color: var(--ink-dim); font-size: 0.95rem; }

.pulse-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 0.4rem;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55);
  animation: pulse 2s infinite;
  vertical-align: 1px;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, transparent, rgba(2, 0, 10, 0.8));
  padding-block: var(--space-3);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .pill-name { font-size: 1.3rem; }
.footer-tagline { color: var(--ink-faint); font-size: 0.88rem; margin-top: 0.5rem; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; }
.footer-nav a { color: var(--ink-dim); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--cyan); }
.footer-meta { color: var(--ink-faint); font-size: 0.82rem; }
.footer-demo { margin-top: 0.5rem; }
.footer-hint { color: var(--violet); }

/* ============================================================
   ACCESSIBILITÉ : MOUVEMENT RÉDUIT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], .js [data-reveal],
  [data-entrance], .js [data-entrance] { opacity: 1; transform: none; animation: none; }
  .loader { display: none; }
  .marquee-inner { animation: none; }
  .scroll-cue-line i, .pulse-dot { animation: none; }
  .manifesto .ch { opacity: 1 !important; }
  .chapter-mark { transform: none; }
  .stack-card { transform: none !important; }
  .arsenal-col { transform: none !important; }
}
