/* ==========================================================================
   23KA — Digital Engineering
   Grammaire visuelle SOMA23 : noir #060608, chrome, Unbounded + JetBrains Mono.
   ========================================================================== */

@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/unbounded-latin-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
/* instance statique 800, contours fusionnés : indispensable pour les textes détourés */
@font-face {
  font-family: "Unbounded Outline";
  src: url("../assets/fonts/unbounded-800-outline.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-latin-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060608;
  --bg-1: #09090c;
  --panel: #0d0d11;
  --text: #eeeef2;
  --dim: #a6a6b0;
  --mute: #7f7f89;
  --line: rgba(238, 238, 242, .09);
  --line-2: rgba(238, 238, 242, .16);
  --line-3: rgba(238, 238, 242, .3);
  --chrome: linear-gradient(175deg, #f4f4f7 0%, #c9c9d2 34%, #82828c 52%, #d8d8e0 72%, #9d9da8 100%);
  --chrome-h: linear-gradient(90deg, transparent, #f4f4f7 30%, #9d9da8 70%, transparent);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --outline: "Unbounded Outline", "Unbounded", "Arial Black", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4.4vw, 64px);
  --maxw: 1320px;
  --nav-h: 64px;
  --disc: clamp(180px, min(26svh, 56vw), 380px);
}

/* ── base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.75 var(--mono);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
::selection { background: #dcdce4; color: #060608; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--gut); top: 12px; z-index: 300;
  padding: 12px 18px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* grain photographique fixe — statique, sans coût d'animation */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── boutons & liens ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.btn--primary { background: #e9e9ef; color: #060608; }
.btn--primary:hover { background: #fff; box-shadow: 0 16px 44px rgba(233, 233, 239, .14); transform: translateY(-2px); }
.btn-arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn--xl { min-height: 60px; padding: 0 34px; font-size: 13px; }

.link-line, .case-link, .foot-links a, .nav-main a, .menu-foot a {
  position: relative; text-decoration: none;
}
.link-line::after, .case-link::after, .foot-links a::after, .nav-main a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.link-line:hover::after, .case-link:hover::after, .foot-links a:hover::after, .nav-main a:hover::after,
.nav-main a.is-active::after { transform: scaleX(1); transform-origin: left; }
.link-line {
  font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
  padding: 10px 0; transition: color .3s;
}
.link-line::after { bottom: 4px; }
.link-line:hover { color: var(--text); }

/* ── progression, compteur, curseur ─────────────────────────────────────── */
.progress {
  position: fixed; z-index: 60; pointer-events: none;
  top: 0; left: 0; right: 0; height: 2px;
  --p: 0;
}
.progress-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #6f6f79, #f0f0f6);
  transform: scaleX(var(--p)); transform-origin: left;
}
@media (min-width: 1040px) {
  .progress { top: 0; bottom: 0; right: 0; left: auto; width: 1px; height: auto; background: var(--line); }
  .progress-fill { background: linear-gradient(180deg, #6f6f79, #f0f0f6); transform: scaleY(var(--p)); transform-origin: top; }
}

.counter { display: none; }
@media (min-width: 1040px) {
  .counter {
    position: fixed; z-index: 40; right: 12px; bottom: 24px;
    writing-mode: vertical-rl;
    display: flex; align-items: center; gap: 10px;
    font: 500 10px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute);
    opacity: 0; transform: translateY(8px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    pointer-events: none;
  }
  .counter.is-on { opacity: 1; transform: none; }
  .counter-idx { color: var(--text); }
  .counter-sep { width: 1px; height: 22px; background: var(--line-3); }
  .counter-lbl { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); transition: opacity .35s; }
  .counter-lbl.is-swap { opacity: 0; }
}

.cursor { display: none; }
.has-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border: 1px solid rgba(238, 238, 242, .42); border-radius: 50%;
  opacity: 0;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), border-color .4s, opacity .3s;
  will-change: transform;
}
.has-cursor .cursor.is-on { opacity: 1; }
.has-cursor .cursor.is-link { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: rgba(238, 238, 242, .75); }

/* ── navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gut);
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s var(--ease);
}
.nav.is-scrolled, .menu-open .nav { background: rgba(6, 6, 8, .9); border-color: var(--line); }
@supports (backdrop-filter: blur(1px)) {
  .nav.is-scrolled { background: rgba(6, 6, 8, .82); backdrop-filter: blur(12px); }
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle, transparent 54%, rgba(0, 0, 0, .55) 56%, transparent 62%),
    conic-gradient(from 20deg, #2a2a31, #d9d9e2 12%, #5e5e68 25%, #2a2a31 38%, #c8c8d2 50%, #f2f2f7 56%, #6e6e79 68%, #2a2a31 82%, #bdbdc7 92%, #2a2a31);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(255, 255, 255, .08);
}
.brand-name { font: 800 14px/1 var(--display); letter-spacing: .16em; }
.brand-sub {
  display: none;
  font: 500 10px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--mute);
  padding-left: 12px; border-left: 1px solid var(--line-2);
}
@media (min-width: 1180px) { .brand-sub { display: inline; } }

.nav-main { display: none; }
@media (min-width: 1040px) {
  .nav-main { display: block; }
  .nav-main ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
  .nav-main a {
    display: inline-block; padding: 12px 0;
    font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
    color: var(--dim); transition: color .35s;
  }
  .nav-main a::after { bottom: 6px; }
  .nav-main a:hover, .nav-main a.is-active { color: var(--text); }
}

.burger {
  width: 44px; height: 44px; margin-right: -10px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.burger span { width: 22px; height: 1px; background: var(--text); transition: transform .45s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1040px) { .burger { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 5vh) var(--gut) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu ol { border-top: 1px solid var(--line); }
.menu li { border-bottom: 1px solid var(--line); }
.menu li a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  font: 600 clamp(26px, 8vw, 44px)/1.1 var(--display); letter-spacing: -.01em; text-transform: uppercase;
  text-decoration: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.menu li a span { font: 500 11px/1 var(--mono); letter-spacing: .18em; color: var(--mute); }
.menu.is-open li a { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) a { transition-delay: .04s; }
.menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.menu.is-open li:nth-child(4) a { transition-delay: .12s; }
.menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.menu.is-open li:nth-child(6) a { transition-delay: .2s; }
.menu-foot {
  display: flex; flex-direction: column; gap: 10px;
  font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
.menu-foot a { color: var(--text); text-transform: none; letter-spacing: .04em; font-size: 14px; padding: 6px 0; }
@media (min-width: 1040px) { .menu { display: none; } }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--gut) 96px;
  text-align: center;
  overflow: clip;
}
.cm { display: none; }
@media (min-width: 700px) {
  .cm { display: block; position: absolute; width: 14px; height: 14px; border: 0 solid var(--line-3); pointer-events: none; }
  .cm-tl { top: calc(var(--nav-h) + 16px); left: var(--gut); border-width: 1px 0 0 1px; }
  .cm-tr { top: calc(var(--nav-h) + 16px); right: var(--gut); border-width: 1px 1px 0 0; }
  .cm-bl { bottom: 22px; left: var(--gut); border-width: 0 0 1px 1px; }
  .cm-br { bottom: 22px; right: var(--gut); border-width: 0 1px 1px 0; }
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 11px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--dim);
}
.hero-kicker-rule { width: 38px; height: 1px; background: var(--line-3); }

/* emblème : disque de métal usiné, strictement centré */
.emblem {
  position: relative; flex: none;
  width: var(--disc); aspect-ratio: 1;
  /* réserve exactement l'empreinte de l'anneau extérieur (rayon 0,73 × disque) :
     rien ne passe derrière le surtitre ni derrière le titre */
  margin: calc(var(--disc) * .23 + 18px) auto calc(var(--disc) * .23 + 14px);
  z-index: 0;
}
.emblem-in { position: absolute; inset: 0; }
.ghost {
  position: absolute; left: 50%; top: 50%; z-index: -2;
  transform: translate(-50%, -50%);
  font: 800 calc(var(--disc) * 1.02)/1 var(--outline); letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 238, 242, .05);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.halo {
  position: absolute; inset: -46%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 215, 228, .11) 0%, rgba(215, 215, 228, .04) 30%, transparent 60%);
  animation: breathe 11s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }

.dial, .arc {
  position: absolute; width: 172%; height: 172%; left: -36%; top: -36%;
  max-width: none; pointer-events: none; overflow: visible;
}
.dial-orbit { fill: none; stroke: rgba(238, 238, 242, .075); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dial-orbit--outer { stroke: rgba(238, 238, 242, .045); }
.dial-orbit--inner { stroke: rgba(238, 238, 242, .1); }
.dial-ticks { fill: none; stroke: rgba(238, 238, 242, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.arc { animation: rot 64s linear infinite; }
.arc svg { width: 100%; height: 100%; overflow: visible; }
@keyframes rot { to { transform: rotate(360deg); } }

.dial-lbl {
  position: absolute; display: none;
  font: 500 10px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--mute);
  white-space: nowrap;
}
@media (min-width: 700px) {
  .dial-lbl { display: block; }
  /* rayon 0,743 × disque, à 45° : décalage de 0,525 × disque */
  .dial-lbl--ne { left: calc(50% + var(--disc) * .56); top: calc(50% - var(--disc) * .525); }
  .dial-lbl--se { left: calc(50% + var(--disc) * .56); top: calc(50% + var(--disc) * .525); }
  .dial-lbl--sw { right: calc(50% + var(--disc) * .56); top: calc(50% + var(--disc) * .525); }
  .dial-lbl--nw { right: calc(50% + var(--disc) * .56); top: calc(50% - var(--disc) * .525); }
  .dial-lbl { transform: translateY(-50%); }
}

.disc-tilt { position: absolute; inset: 0; will-change: transform; transform-style: preserve-3d; }
.disc {
  --lx: 34%; --ly: 26%;
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: #1c1c21;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .07),
    0 36px 80px rgba(0, 0, 0, .65),
    0 0 90px rgba(220, 220, 235, .07);
}
/* réflexion anisotrope du métal tourné : double lobe, tourne très lentement */
.disc-metal {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 18deg,
    #24242a 0deg, #6b6b76 22deg, #d8d8e1 40deg, #f3f3f8 46deg, #8d8d98 62deg, #2e2e35 88deg,
    #43434b 112deg, #a9a9b4 138deg, #3a3a42 162deg, #26262c 180deg,
    #6b6b76 202deg, #d8d8e1 220deg, #f3f3f8 226deg, #8d8d98 242deg, #2e2e35 268deg,
    #43434b 292deg, #a9a9b4 318deg, #3a3a42 342deg, #24242a 360deg);
  animation: rot 150s linear infinite;
}
/* stries concentriques du tournage */
.disc-lathe {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 63.4%, rgba(0, 0, 0, .55) 63.9%, rgba(255, 255, 255, .22) 64.8%, transparent 65.8%),
    radial-gradient(circle, transparent 0 96.2%, rgba(255, 255, 255, .28) 97.4%, rgba(0, 0, 0, .5) 99.2%),
    repeating-radial-gradient(circle, rgba(255, 255, 255, .045) 0 1px, rgba(0, 0, 0, .05) 1px 2.5px),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, .38) 100%);
}
/* plateau central en retrait, usiné dans l'autre sens */
.disc-plate {
  position: absolute; inset: 18%; border-radius: 50%; overflow: hidden;
  box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, .62),
    inset 0 -1px 1px rgba(255, 255, 255, .22),
    0 1px 0 rgba(255, 255, 255, .16);
}
.disc-plate-metal {
  position: absolute; inset: 0;
  background:
    repeating-radial-gradient(circle, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .06) 1px 2px),
    conic-gradient(from 200deg,
      #2b2b31 0deg, #80808b 30deg, #cdcdd6 48deg, #7a7a85 70deg, #2f2f36 100deg, #55555e 135deg, #2b2b31 180deg,
      #80808b 210deg, #cdcdd6 228deg, #7a7a85 250deg, #2f2f36 280deg, #55555e 315deg, #2b2b31 360deg);
  animation: rot 210s linear infinite reverse;
}
.disc-engrave { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.disc-engrave text { font: 500 12.8px var(--mono); letter-spacing: 0; }
.engrave-hi { fill: rgba(255, 255, 255, .2); transform: translateY(.9px); }
.engrave-lo { fill: rgba(8, 8, 12, .6); }
.disc-word {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 calc(var(--disc) * .118)/1 var(--display); letter-spacing: .06em;
  color: rgba(14, 14, 18, .58);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .3), 0 -1px 0 rgba(0, 0, 0, .35);
  padding-left: .06em;
}
.disc-spec {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at var(--lx) var(--ly), rgba(255, 255, 255, .3), rgba(255, 255, 255, .07) 24%, transparent 50%),
    radial-gradient(circle at 70% 82%, rgba(0, 0, 0, .28), transparent 55%);
}
.disc-grain {
  position: absolute; inset: 0; border-radius: 50%; opacity: .22; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}

.hero-title {
  font: 800 clamp(40px, 7.6vw, 116px)/.95 var(--display);
  letter-spacing: -.035em; text-transform: uppercase;
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: .28em;
}
@media (max-width: 699px) { .hero-title { font-size: 15.5vw; flex-direction: column; align-items: center; } }
.hero-lead {
  max-width: 54ch; margin-top: clamp(16px, 2.6vh, 24px);
  font-size: clamp(13.5px, 1.05vw, 15px); line-height: 1.7; color: var(--dim);
}
.hero-sig {
  margin-top: 14px;
  font: 500 11px/1 var(--mono); letter-spacing: .34em; text-transform: uppercase; color: var(--text);
}
.hero-cta {
  margin-top: clamp(22px, 3.4vh, 32px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 10px;
  font: 500 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--mute);
  text-decoration: none; transition: color .3s;
}
.scroll-cue:hover { color: var(--text); }
.scroll-cue i { position: relative; width: 1px; height: 30px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 12px;
  background: var(--text); animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-14px); } 70%, 100% { transform: translateY(32px); } }
@media (max-height: 760px) and (max-width: 699px) { .scroll-cue { display: none; } }

/* apparition du hero */
.js .hero-kicker, .js .hero-lead, .js .hero-sig, .js .hero-cta, .js .scroll-cue span {
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.js .emblem-in { opacity: 0; transform: scale(.95); transition: opacity 1.8s var(--ease), transform 2s var(--ease); }
.js .dial-orbit { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); }
.js .dial-ticks, .js .dial-lbl { opacity: 0; transition: opacity 1.6s var(--ease); }
.is-ready .hero-kicker, .is-ready .hero-lead, .is-ready .hero-sig, .is-ready .hero-cta, .is-ready .scroll-cue span { opacity: 1; transform: none; }
.is-ready .emblem-in { opacity: 1; transform: none; }
.is-ready .dial-orbit { stroke-dashoffset: 0; }
.is-ready .dial-ticks, .is-ready .dial-lbl { opacity: 1; }
.is-ready .hero-kicker { transition-delay: .15s; }
.is-ready .dial-orbit { transition-delay: .3s; }
.is-ready .dial-orbit--inner { transition-delay: .5s; }
.is-ready .dial-ticks { transition-delay: .7s; }
.is-ready .dial-lbl { transition-delay: 1.1s; }
.is-ready .hero-lead { transition-delay: .75s; }
.is-ready .hero-sig { transition-delay: .85s; }
.is-ready .hero-cta { transition-delay: .95s; }
.is-ready .scroll-cue span { transition-delay: 1.3s; }

/* titres : révélation par masque */
.ln { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .1em; margin: -.04em -.02em -.1em; }
.ln > span { display: inline-block; }
.js .ln > span { transform: translateY(108%); transition: transform 1.15s var(--ease); }
.js .in .ln > span, .is-ready .hero-title .ln > span { transform: none; }
.js .in .ln:nth-child(2) > span { transition-delay: .09s; }
.is-ready .hero-title .ln:nth-child(1) > span { transition-delay: .42s; }
.is-ready .hero-title .ln:nth-child(2) > span { transition-delay: .54s; }

/* apparitions génériques : fondu + 16 px */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ── bandeaux typographiques ────────────────────────────────────────────── */
.statement, .quote {
  position: relative;
  padding: clamp(80px, 15vh, 170px) var(--gut);
  border-block: 1px solid var(--line);
  text-align: center;
  /* clip et non hidden : hidden en ferait un conteneur de défilement et figerait
     l'animation view() du texte (elle suivrait le bandeau, pas la page) */
  overflow: hidden; overflow: clip;
}
.statement p, .quote p {
  max-width: 15ch; margin: 0 auto;
  font: 800 clamp(30px, 8vw, 116px)/1.02 var(--outline); letter-spacing: -.02em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 238, 242, .38);
  /* état final : entièrement chromé (état par défaut sans animation pilotée par le défilement) */
  background: var(--chrome) no-repeat; background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.statement em, .quote em { font-style: normal; }
.quote p { max-width: 17ch; font-size: clamp(26px, 6vw, 84px); }
@media (max-width: 699px) { .statement p, .quote p { -webkit-text-stroke-width: .7px; } }

/* ── sections ───────────────────────────────────────────────────────────── */
.sec {
  position: relative;
  max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto;
  padding: clamp(96px, 14vh, 168px) var(--gut);
}
.sec::after {
  content: attr(data-section);
  content: attr(data-section) / "";
  position: absolute; right: var(--gut); top: clamp(70px, 10vh, 118px); z-index: -1;
  font: 800 clamp(90px, 15vw, 230px)/.8 var(--outline); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 238, 242, .05);
  pointer-events: none; user-select: none;
}
.sec-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(34px, 6vh, 64px);
  font: 500 11px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase;
}
.sec-idx { color: var(--text); }
.sec-lbl { color: var(--dim); }
.sec-rule { flex: 1; height: 1px; background: var(--line-2); transform-origin: left; }
.js .sec-head .sec-rule { transform: scaleX(0); transition: transform 1.4s var(--ease) .15s; }
.js .sec-head.in .sec-rule { transform: none; }
.sec-note { color: var(--mute); }

.sec-intro { display: grid; gap: 22px; margin-bottom: clamp(48px, 8vh, 96px); }
.sec-title {
  font: 600 clamp(30px, 5vw, 72px)/1.03 var(--display); letter-spacing: -.025em;
  display: flex; flex-direction: column; align-items: flex-start;
}
.sec-sub { max-width: 48ch; color: var(--dim); }
@media (min-width: 1040px) {
  .sec-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: clamp(32px, 5vw, 80px); }
  .sec-sub { padding-bottom: .4em; }
}

/* ── 01 services ────────────────────────────────────────────────────────── */
.pillars {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line-2);
}
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); }
}
.pillar {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(26px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .6s var(--ease);
}
@media (min-width: 860px) {
  .pillar { padding: clamp(28px, 3.4vw, 48px); border-right: 1px solid var(--line); min-height: 440px; }
}
.pillar::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--chrome-h); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease);
}
.pillar:hover { background-color: var(--bg-1); }
.pillar:hover::before { transform: none; }
.pillar-idx { font: 500 11px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.pillar-verb {
  margin: clamp(34px, 7vh, 80px) 0 14px;
  font: 600 clamp(28px, 3.3vw, 46px)/1.05 var(--display); letter-spacing: -.02em;
}
.pillar:hover .pillar-verb {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pillar-desc { max-width: 40ch; color: var(--dim); }
.pillar-list {
  margin-top: auto; padding-top: 30px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px;
  counter-reset: it;
}
.pillar-list li {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 10px 0; border-top: 1px solid var(--line);
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
  counter-increment: it;
}
.pillar-list li::after { content: counter(it, decimal-leading-zero); color: var(--mute); font-size: 10px; }

/* ── 02 réalisations ────────────────────────────────────────────────────── */
.case-index { border-top: 1px solid var(--line-2); margin-bottom: clamp(24px, 4vh, 40px); }
.case-index a {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: baseline; gap: 4px 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left .6s var(--ease), background-color .6s var(--ease);
}
.case-index a:hover { padding-left: 14px; background: var(--bg-1); }
.case-index span { font: 500 11px/1 var(--mono); letter-spacing: .2em; color: var(--mute); }
.case-index strong { font: 600 clamp(18px, 2vw, 26px)/1.2 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.case-index em { font: 500 10.5px/1.3 var(--mono); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.case-index a:hover strong { background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 699px) {
  .case-index a { grid-template-columns: 36px minmax(0, 1fr); }
  .case-index em { grid-column: 2; }
}

.case {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 5vw, 44px);
  padding: clamp(72px, 12vh, 140px) 0 0;
}
.case + .case { margin-top: clamp(48px, 8vh, 100px); border-top: 1px solid var(--line); }
.case-top { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.case-idx {
  font: 800 clamp(64px, 9vw, 128px)/.8 var(--outline); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 238, 242, .22);
}
.case-cat { font: 500 11px/1.3 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.case-title {
  margin-top: clamp(22px, 4vh, 36px);
  font: 700 clamp(36px, 4vw, 60px)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  overflow-wrap: anywhere;
}
.case-tag { margin-top: 18px; max-width: 34ch; font-size: 15px; line-height: 1.6; color: var(--text); }
.case-desc { color: var(--dim); max-width: 54ch; }
.case-feats { margin-top: 28px; border-top: 1px solid var(--line-2); }
.case-feats div {
  display: grid; grid-template-columns: minmax(96px, 34%) minmax(0, 1fr); gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.case-feats dt { font: 500 11px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.case-feats dd { font-size: 13px; line-height: 1.5; color: var(--dim); }
.case-stack { margin-top: 22px; font-size: 12.5px; line-height: 1.7; color: var(--dim); }
.case-stack span {
  display: block; margin-bottom: 4px;
  font: 500 10px/1.4 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--mute);
}
.case-status {
  margin-top: 18px; padding-left: 14px; border-left: 1px solid var(--line-3);
  font-size: 12.5px; line-height: 1.6; color: var(--mute);
}
.case-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 0;
  font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase;
}
.case-link::after { bottom: 4px; transform: scaleX(1); transform-origin: left; background: var(--line-3); }
.case-link:hover::after { background: var(--text); }
.case-link span[aria-hidden] { transition: transform .45s var(--ease); }
.case-link:hover span[aria-hidden] { transform: translate(3px, -3px); }

.case-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.case-details .shot--phone { width: min(64vw, 300px); }
.case-details .shot--tall { width: min(72vw, 360px); }
@media (min-width: 700px) and (max-width: 1039px) {
  .case-details { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .case-details .shot--phone, .case-details .shot--tall { width: auto; }
  .case-details .shot--detail:not(.shot--tall) { grid-column: 2; grid-row: 1; }
}

@media (min-width: 1040px) {
  .case {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(20px, 2.2vw, 36px); row-gap: clamp(56px, 9vh, 110px);
    align-items: start;
  }
  .case-meta { grid-column: 1 / span 4; grid-row: 1; padding-top: 6px; }
  .shot--main { grid-column: 5 / span 8; grid-row: 1; }
  .case-body { grid-column: 1 / span 4; grid-row: 2; }
  .case-details {
    grid-column: 5 / span 8; grid-row: 2;
    grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: clamp(20px, 2.2vw, 36px); row-gap: 0;
    align-items: start;
  }
  .case-details .shot--phone { grid-column: 1 / span 3; width: auto; }
  .case-details .shot--detail { grid-column: 4 / span 5; margin-top: clamp(60px, 10vh, 120px); }
  .case-details .shot--tall { grid-column: 5 / span 3; width: auto; }

  .case--rev .case-meta { grid-column: 9 / span 4; }
  .case--rev .shot--main { grid-column: 1 / span 8; }
  .case--rev .case-body { grid-column: 9 / span 4; }
  .case--rev .case-details { grid-column: 1 / span 8; }
  .case--rev .case-details .shot--detail { grid-column: 1 / span 5; grid-row: 1; margin-top: 0; }
  .case--rev .case-details .shot--phone { grid-column: 6 / span 3; grid-row: 1; margin-top: clamp(60px, 10vh, 120px); }
}

/* planches : capture réelle, monochrome au repos */
.shot { position: relative; margin: 0; }
.shot-zoom {
  display: block; width: 100%; padding: 0; margin: 0;
  background: none; border: 0; text-align: left; cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.plate {
  position: relative; display: block; overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 3px;
  transition: border-color .6s var(--ease);
}
.plate-bar {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font: 500 10px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
  white-space: nowrap; overflow: hidden;
}
.plate-bar span:first-child { overflow: hidden; text-overflow: ellipsis; text-transform: lowercase; letter-spacing: .08em; }
.plate picture { display: block; overflow: hidden; }
.plate img {
  width: 100%; height: auto;
  filter: grayscale(1) contrast(1.06) brightness(.86);
  transition: filter 1s var(--ease), transform 1.4s var(--ease);
}
.shot--light .plate img { filter: grayscale(1) contrast(.96) brightness(.7); }
.shot-zoom:hover .plate, .shot.is-focus .plate { border-color: var(--line-3); }
.shot-zoom:hover .plate img, .shot.is-focus .plate img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.02); }
.shot--light .shot-zoom:hover .plate img, .shot--light.is-focus .plate img { filter: grayscale(0) brightness(.94); }
.shot--phone .plate { border-radius: 18px; padding: 5px; background: #0b0b0e; }
.shot--phone .plate picture { border-radius: 13px; }

.js .shot .plate { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease), border-color .6s var(--ease); }
.js .shot.in .plate { clip-path: inset(0 0 0 0); }
.js .shot figcaption { opacity: 0; transition: opacity 1s var(--ease) .5s; }
.js .shot.in figcaption { opacity: 1; }

.shot--main::before, .shot--main::after {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
  border: 0 solid var(--line-3);
}
.shot--main::before { left: -9px; top: -9px; border-width: 1px 0 0 1px; }
.shot--main::after { right: -9px; bottom: 33px; border-width: 0 1px 1px 0; }
@media (max-width: 699px) { .shot--main::before, .shot--main::after { display: none; } }

figcaption {
  margin-top: 12px; max-width: 70ch;
  font-size: 11.5px; line-height: 1.6; color: var(--mute);
}
figcaption span { margin-right: 10px; color: var(--dim); letter-spacing: .16em; text-transform: uppercase; font-size: 10.5px; }

/* visionneuse */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: clamp(56px, 7vh, 72px) clamp(12px, 4vw, 48px) clamp(16px, 4vh, 40px);
  border: 0; background: rgba(4, 4, 6, .97); color: var(--text);
  flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.lightbox[open] { display: flex; animation: lbIn .45s var(--ease); }
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox-img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border: 1px solid var(--line-2); border-radius: 3px; }
.lightbox-cap { max-width: 80ch; text-align: center; font-size: 12px; color: var(--mute); }
.lightbox-close {
  position: absolute; top: 12px; right: clamp(12px, 3vw, 28px);
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  background: none; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
  font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  transition: border-color .3s, background-color .3s;
}
.lightbox-close:hover { border-color: var(--text); background: rgba(238, 238, 242, .06); }

/* ── 03 méthode ─────────────────────────────────────────────────────────── */
.pipeline { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
.pipeline::before, .pipeline::after { content: ""; position: absolute; pointer-events: none; }
.pipeline::before { left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.pipeline::after { left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, #f4f4f7, #82828c); transform-origin: top; transform: scaleY(0); transition: transform 2.2s var(--ease); }
.pipeline.in::after { transform: none; }
.stage { position: relative; padding: 0 0 44px 28px; }
.stage::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 1px; background: var(--line-3); }
.stage-idx { font: 500 11px/1 var(--mono); letter-spacing: .2em; color: var(--mute); }
.stage-name { margin-top: 12px; font: 600 clamp(20px, 1.8vw, 26px)/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.stage-desc { margin-top: 12px; color: var(--dim); font-size: 13px; line-height: 1.65; max-width: 30ch; }
.stage-list { margin-top: 18px; }
.stage-list li {
  padding: 7px 0; border-top: 1px solid var(--line);
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
}
.stage-out {
  margin-top: 18px; display: flex; justify-content: space-between; gap: 12px;
  padding-top: 10px; border-top: 1px solid var(--line-3);
  font: 600 11.5px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase;
}
.stage-out span { color: var(--mute); font-weight: 500; }
.stage:hover .stage-name { background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (min-width: 1040px) {
  .pipeline { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(18px, 2vw, 32px); padding-top: 36px; }
  .pipeline::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .pipeline::after { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; background: var(--chrome-h); background: linear-gradient(90deg, #f4f4f7, #82828c); transform-origin: left; transform: scaleX(0); }
  .pipeline.in::after { transform: none; }
  .stage { padding: 0; }
  .stage::before { left: 0; top: -44px; width: 1px; height: 16px; }
}

/* ── 04 stack ───────────────────────────────────────────────────────────── */
.stack { width: 100%; border-collapse: collapse; }
.stack thead th {
  padding: 0 16px 14px 0; text-align: left; border-bottom: 1px solid var(--line-2);
  font: 500 10px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--mute);
}
.stack .stack-group th {
  padding: 40px 0 12px; text-align: left; border-bottom: 1px solid var(--line-2);
  font: 600 11.5px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--text);
}
.stack tbody:first-of-type .stack-group th { padding-top: 26px; }
.stack .stack-group span { margin-right: 14px; color: var(--mute); }
.stack tbody tr:not(.stack-group) th {
  width: 32%; padding: 16px 16px 16px 0; text-align: left; vertical-align: baseline;
  border-bottom: 1px solid var(--line);
  font: 600 clamp(16px, 1.55vw, 22px)/1.25 var(--display); letter-spacing: -.01em;
  transition: color .4s;
}
.stack td {
  padding: 16px 16px 16px 0; vertical-align: baseline; border-bottom: 1px solid var(--line);
  font-size: 13px; line-height: 1.55; color: var(--dim);
}
.stack td:last-child {
  padding-right: 0; white-space: nowrap; text-align: right;
  font: 500 10.5px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text);
}
.stack tbody tr:not(.stack-group):hover th { background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 759px) {
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack, .stack tbody, .stack tr, .stack th, .stack td { display: block; width: 100%; }
  .stack tbody tr:not(.stack-group) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .stack tbody tr:not(.stack-group) th, .stack td { padding: 0; border: 0; width: auto; }
  .stack td { margin-top: 6px; }
  .stack td:last-child { text-align: left; white-space: normal; margin-top: 8px; }
  .stack td:last-child::before { content: "Utilisé sur — "; color: var(--mute); }
}

/* ── 05 à propos ────────────────────────────────────────────────────────── */
.about { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 1040px) { .about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.about-text p { max-width: 58ch; color: var(--dim); }
.about-text p + p { margin-top: 1.2em; }
.about-lead {
  margin-bottom: 1.4em;
  font: 500 clamp(20px, 2.2vw, 30px)/1.4 var(--display) !important; letter-spacing: -.01em;
  color: var(--text) !important; max-width: 26ch !important;
}
.facts { border-top: 1px solid var(--line-2); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 10.5px/1.6 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.facts dd { font-size: 13px; text-align: right; }
.domains { margin-top: 40px; border-top: 1px solid var(--line-2); }
.domains li {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 600 clamp(20px, 2.3vw, 32px)/1.15 var(--display); letter-spacing: -.01em; text-transform: uppercase;
  transition: padding-left .6s var(--ease);
}
.domains li span { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; color: var(--mute); }
.domains li:hover { padding-left: 12px; }

/* ── 06 contact ─────────────────────────────────────────────────────────── */
.contact { padding-bottom: clamp(110px, 18vh, 200px); }
.contact-title {
  font: 800 clamp(34px, 9.6vw, 124px)/.94 var(--display); letter-spacing: -.035em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: flex-start;
}
.contact-title .ln:first-child > span { font-family: var(--outline); color: transparent; -webkit-text-stroke: 1px rgba(238, 238, 242, .5); }
.contact-grid {
  display: grid; gap: 36px; margin-top: clamp(40px, 7vh, 80px);
  padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--line-2);
}
@media (min-width: 1040px) { .contact-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; } }
.contact-lead { font: 500 clamp(18px, 2vw, 26px)/1.45 var(--display); letter-spacing: -.01em; max-width: 30ch; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.mailbox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.mail {
  font: 600 clamp(18px, 2.3vw, 28px)/1.3 var(--display); letter-spacing: -.01em; text-decoration: none;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  border-bottom: 1px solid var(--line-3); padding-bottom: 6px;
  transition: border-color .4s;
}
.mail:hover { border-color: var(--text); }
.copy {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  background: none; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
  font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
  transition: border-color .35s, color .35s, background-color .35s;
}
.copy:hover { color: var(--text); border-color: var(--line-3); }
.copy.is-done { color: var(--bg); background: var(--text); border-color: var(--text); }
.copy-status { min-height: 1.4em; font-size: 12px; color: var(--mute); }
.contact-note { font-size: 13px; color: var(--mute); max-width: 48ch; }

/* ── pied de page ───────────────────────────────────────────────────────── */
.foot {
  display: grid; gap: 14px 24px; align-items: center;
  padding: 28px var(--gut) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font: 500 10.5px/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
}
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font: 800 12px/1 var(--display); letter-spacing: .2em; color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { display: inline-block; padding: 8px 0; text-decoration: none; color: var(--dim); transition: color .3s; }
.foot-links a::after { bottom: 4px; }
.foot-links a:hover { color: var(--text); }
@media (min-width: 1040px) {
  .foot { grid-template-columns: auto 1fr auto auto; }
}

/* ── animations pilotées par le défilement (natif CSS, hors fil principal) ─ */
@supports (animation-timeline: scroll()) {
  .emblem { animation: recede linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  @keyframes recede { to { scale: .86; opacity: .25; } }
  .ghost { animation: fadeOut linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  @keyframes fadeOut { to { opacity: 0; } }

  /* remplissage terminé avant que le bandeau n'atteigne le centre de l'écran */
  .statement p, .quote p {
    background-size: 0% 100%;
    animation: fillChrome linear both; animation-timeline: view(); animation-range: cover 10% cover 38%;
  }
  @keyframes fillChrome { to { background-size: 100% 100%; } }
}

/* ── lisibilité mobile : aucun libellé sous 12 px ───────────────────────── */
@media (max-width: 699px) {
  .hero-kicker { font-size: 12px; letter-spacing: .2em; }
  .hero-sig, .sec-head, .case-cat, .case-feats dt, .pillar-idx, .pillar-list li, .stage-idx, .stage-list li,
  .stage-out, .stack .stack-group th, .stack td:last-child, .facts dt, .facts dd, figcaption, figcaption span,
  .case-stack, .case-stack span, .case-status, .case-index span, .case-index em, .plate-bar, .foot, .link-line,
  .copy, .copy-status, .menu-foot, .scroll-cue, .stack td, .case-feats dd, .contact-note, .stage-desc { font-size: 12px; }
  .hero-sig { letter-spacing: .26em; }
  .sec-head { letter-spacing: .2em; gap: 12px; }
  .plate-bar { letter-spacing: .1em; }
}

/* ── mouvement réduit ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .hero-kicker, .js .hero-lead, .js .hero-sig, .js .hero-cta, .js .scroll-cue span, .js .emblem-in,
  .js .dial-ticks, .js .dial-lbl { opacity: 1; transform: none; }
  .js .ln > span { transform: none; }
  .js .dial-orbit { stroke-dashoffset: 0; }
  .js .shot .plate { clip-path: none; }
  .js .shot figcaption { opacity: 1; }
  .js .sec-head .sec-rule, .pipeline::after { transform: none; }
  .plate img, .shot-zoom:hover .plate img { transform: none !important; }
  .statement p, .quote p { background-size: 100% 100%; }
}

/* ── pages secondaires : mentions légales, 404 ──────────────────────────── */
.page-doc .nav { position: sticky; }
.doc { max-width: calc(880px + 2 * var(--gut)); padding-top: clamp(48px, 9vh, 96px); }
.doc .sec-title { margin-bottom: clamp(40px, 7vh, 72px); }
.doc-block + .doc-block { margin-top: clamp(40px, 6vh, 64px); }
.doc-block h2 {
  margin-bottom: 18px;
  font: 600 clamp(18px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.01em;
}
.doc-block p { max-width: 64ch; color: var(--dim); }
.doc-block p + p { margin-top: 1em; }
.doc-block a { color: var(--text); }
.doc .facts dd { max-width: 60%; }
.todo { color: var(--mute); }
.lost { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.lost-code {
  font: 800 clamp(96px, 22vw, 260px)/.8 var(--outline); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 238, 242, .22);
}
