/* MAGNET — design system
   One material: a physical particle field. One typeface: Geist, light.
   Pure black field, a single ink, brightness encodes importance. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-var.woff2") format("woff2-variations"),
       url("/assets/fonts/geist-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallback keeps layout stable while Geist loads. */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 101%;
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --field: #000;
  --ink: #f2f2ef;
  --ink-2: rgba(242, 242, 239, 0.64);
  --ink-3: rgba(242, 242, 239, 0.42);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);

  --font: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1320px;
  --pad: clamp(20px, 4.4vw, 64px);
  --nav-h: 64px;

  /* Type scale: a steep ratio so hierarchy reads from across the room. */
  --fs-mega: clamp(76px, 20vw, 360px);
  --fs-display: clamp(44px, 7.6vw, 136px);
  --fs-h2: clamp(38px, 5.4vw, 96px);
  --fs-statement: clamp(28px, 3.9vw, 66px);
  --fs-word: clamp(40px, 8.4vw, 150px);
  --fs-lead: clamp(18px, 1.45vw, 22px);
  --fs-body: 16px;
  --fs-small: 13px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--field);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--field); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 16px; background: var(--ink); color: var(--field);
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Field ---------- */

.field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
}

main, .footer { position: relative; z-index: 1; }

/* ---------- Type ---------- */

.h2 {
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 14ch;
  text-wrap: balance;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 34ch;
}
.lead--strong { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .5s var(--ease), background-color .3s, color .3s, box-shadow .4s var(--ease);
  will-change: transform;
}
.btn > span { display: inline-block; transform: translate3d(calc(var(--mx) * .45), calc(var(--my) * .45), 0); transition: transform .5s var(--ease); }
.btn--light { background: var(--ink); color: var(--field); }
.btn--light:hover { box-shadow: 0 0 0 1px var(--ink), 0 0 48px rgba(255, 255, 255, .18); }
.btn--large { min-height: 64px; padding: 0 36px; font-size: 17px; }
.magnetic.is-pulled { transition-duration: .18s; }
.magnetic.is-pulled > span { transition-duration: .18s; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  --frost: 0;
}
.nav__frost {
  position: absolute;
  inset: 0 0 -48px;
  pointer-events: none;
  opacity: var(--frost);
  background: linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 55%, rgba(0, 0, 0, 0) 100%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}
.nav__inner {
  position: relative;
  height: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
}
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav__links a {
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  transition: color .25s;
  padding-block: 8px;
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__cta {
  --mx: 0px; --my: 0px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: var(--ink);
  color: var(--field);
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
}
.nav__cta > span { display: inline-block; transform: translate3d(calc(var(--mx) * .45), calc(var(--my) * .45), 0); transition: transform .5s var(--ease); }
.nav__cta:hover { box-shadow: 0 0 36px rgba(255, 255, 255, .16); }
.nav__toggle { display: none; justify-self: end; width: 44px; height: 44px; position: relative; }
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, .94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: calc(var(--nav-h) + 32px) var(--pad) calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-size: clamp(38px, 11vw, 56px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.12;
  padding-block: 6px;
  opacity: 0;
  transform: translateY(14px);
  animation: menuIn .7s var(--ease) forwards;
}
.menu nav a:nth-child(2) { animation-delay: .05s; }
.menu nav a:nth-child(3) { animation-delay: .1s; }
.menu nav a:nth-child(4) { animation-delay: .15s; }
.menu .btn { align-self: flex-start; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--nav-h) + 40px) clamp(72px, 12vh, 132px);
}
.hero__inner { position: relative; }
.hero__mark {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(28px, 4.4vh, 48px);
  font-size: 14px;
}
.hero__name { font-weight: 500; letter-spacing: 0.32em; }
.hero__descriptor { color: var(--ink-2); }
.hero__title {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.052em;
  max-width: 11.5ch;
  margin-left: -0.05em;
  text-wrap: balance;
}
.hero__sub {
  margin-top: clamp(24px, 3.4vh, 36px);
  font-size: var(--fs-lead);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 30ch;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(30px, 4.6vh, 48px); }
.hero__link { font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-2); padding: 12px 0; transition: text-decoration-color .25s; }
.hero__link:hover { text-decoration-color: var(--ink); }

.hero__cue {
  position: absolute;
  right: var(--pad);
  bottom: clamp(72px, 12vh, 132px);
  width: 1px;
  height: 72px;
  background: var(--line);
  overflow: hidden;
}
.hero__cue span {
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(-100%);
  animation: cue 2.8s var(--ease-io) 2.4s infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* The single orchestrated entrance of the page. */
.js .hero__mark, .js .hero__title, .js .hero__sub, .js .hero__cta {
  opacity: 0;
  animation: rise 1.4s var(--ease) forwards;
}
.js .hero__mark { animation-delay: .35s; }
.js .hero__title { animation-delay: .5s; }
.js .hero__sub { animation-delay: .8s; }
.js .hero__cta { animation-delay: 1s; animation-name: riseBtn; }
@keyframes rise {
  from { opacity: 0; filter: blur(12px); transform: translate3d(0, 24px, 0); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes riseBtn {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}

/* ---------- Sticky scenes ---------- */

.scene { position: relative; }
.scene--gap { height: 420vh; }
.scene--chaos { height: 480vh; }
.scene--system { height: 420vh; }
.scene--funnel { height: 340vh; }
.scene--signature { height: 300vh; }
.scene--infra { height: 400vh; }
.scene--north { height: 380vh; }
.scene--vision { height: 360vh; }

.scene__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.scene__head { padding-top: calc(var(--nav-h) + clamp(28px, 6vh, 72px)); position: relative; z-index: 2; }
.scene__foot {
  position: absolute;
  left: 0; right: 0;
  margin-inline: auto;
  bottom: clamp(36px, 8vh, 88px);
  z-index: 2;
  display: grid;
}
.scene__foot > * { grid-area: 1 / 1; align-self: end; }

[data-phase], [data-window] {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 16px, 0);
  transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease);
}
[data-phase].is-on, [data-window].is-on { opacity: 1; filter: blur(0); transform: none; }

/* Acts 2 and 9: large sentences over the two poles */
.lines {
  height: 100%;
  display: grid;
  align-content: start;
  padding-top: calc(var(--nav-h) + clamp(32px, 10vh, 120px));
  position: relative;
  z-index: 2;
}
.lines > * { grid-area: 1 / 1; }
.line {
  font-size: clamp(38px, 5.2vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: 19ch;
  text-wrap: balance;
}
.line--strong { color: var(--ink); max-width: 17ch; }
.line--prose { font-size: var(--fs-statement); line-height: 1.1; letter-spacing: -0.036em; max-width: 26ch; }
.line--prose p + p { margin-top: 0.7em; color: var(--ink-2); }
.pole {
  position: absolute; left: 0; top: 0; z-index: 2;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  transform: translate3d(-400px, -400px, 0);
  transition: color .6s var(--ease);
}
.pole.is-dim { color: var(--ink-3); }

/* Acts 3 and 4: channels, then the system */
.channels { position: absolute; inset: 0; z-index: 1; }
.core-mark {
  position: absolute; left: 0; top: 0; z-index: 2;
  font-size: clamp(16px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  white-space: nowrap;
}
.core-mark[data-window] { transform: translate3d(var(--x, -400px), var(--y, -400px), 0) translate(-50%, -50%); }
.mission__text {
  font-size: clamp(26px, 3.3vw, 54px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.038em;
  max-width: 22ch;
  text-wrap: balance;
}
.forces { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: clamp(16px, 2.6vh, 28px); font-size: 15px; color: var(--ink-2); }
.channel--source { }
.channel--source.is-reached { font-weight: 500; opacity: 1 !important; }
.channel--goal { }
.channel--goal.is-reached { font-weight: 500; opacity: 1 !important; }
.channel, .core-mark { text-shadow: 0 0 2px #000, 0 0 10px #000, 0 0 22px #000; }
.channel {
  position: absolute;
  left: 0; top: 0;
  /* V6.2 : l'opacité est pilotée image par image par l'animation : pas de transition CSS en plus. */
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(-200px, -200px, 0);
}

/* System: four forces */
.system { height: 100%; display: flex; align-items: center; }
.system__copy { width: min(100%, 520px); position: relative; z-index: 2; }
.system__copy .h2 { margin-bottom: clamp(32px, 6vh, 64px); }
.steps { display: grid; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 12px;
  padding-block: clamp(14px, 2.2vh, 22px);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  transition: color .6s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-size: 13px; padding-top: 7px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.step__t { font-size: clamp(22px, 2.1vw, 32px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.step__d {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 36ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .7s var(--ease), opacity .6s var(--ease), margin .7s var(--ease);
}
.step.is-active { color: var(--ink); }
.step.is-active .step__d { opacity: 1; max-height: 12em; margin-top: 8px; }
/* V2 : une seule zone de détail, de hauteur fixe, pour éviter tout décalage de mise en page. */
.js .scene--system .step__d { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 1; max-height: none; margin: 0; }
.step-detail { min-height: 7.5em; padding-top: 16px; }
.step-detail .step__items { max-width: 40ch; }
@media (max-width: 720px) { .step-detail { min-height: 8.5em; padding-top: 10px; } .step-detail .step__q, .step-detail .step__items { font-size: 14px; } }
.step__q { color: var(--ink); font-size: 15px; }
.step__items { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.system__title { max-width: 12ch; }
.system__intro { margin: -18px 0 clamp(20px, 4vh, 40px); font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.mission__sub { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* V2 : exemple de système */
.scene--demo { height: 400vh; }
.demo { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--nav-h) + clamp(16px, 5vh, 56px)); padding-bottom: clamp(28px, 6vh, 64px); position: relative; z-index: 2; }
.demo__kicker { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.demo__title { max-width: 18ch; }
.demo__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(18px, 3vh, 28px); }
.demo__tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; transition: color .25s, border-color .25s, background-color .25s; }
.demo__tabs button:hover { color: var(--ink); border-color: rgba(255, 255, 255, .4); }
.demo__tabs button[aria-selected="true"] { color: #000; background: var(--ink); border-color: var(--ink); }
.flow { align-self: center; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(36px, 7vh, 72px) clamp(20px, 3vw, 48px); margin: clamp(20px, 4vh, 40px) 0; }
.flow__node { padding-top: 14px; border-top: 1px solid var(--line-2); opacity: .38; transition: opacity .7s var(--ease), border-color .7s var(--ease); }
.flow__node.is-on { opacity: 1; border-color: var(--ink); }
.flow__node:nth-child(5) { grid-row: 2; grid-column: 4; }
.flow__node:nth-child(6) { grid-row: 2; grid-column: 3; }
.flow__node:nth-child(7) { grid-row: 2; grid-column: 2; }
.flow__node:nth-child(8) { grid-row: 2; grid-column: 1; }
.flow__role { display: block; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.flow__name { display: block; margin-top: 6px; font-size: clamp(20px, 1.9vw, 28px); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.flow__detail { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 26ch; }
.demo__message { font-size: var(--fs-lead); line-height: 1.4; color: var(--ink-2); max-width: 46ch; }
.demo__message strong { color: var(--ink); font-weight: 400; }

/* V2 : vision, présent puis destination */
.line--destination .line__kicker { font-size: 14px; letter-spacing: 0; color: var(--ink-2); margin-bottom: 18px; }
.line--destination .line__note { font-size: 15px; letter-spacing: 0; line-height: 1.5; color: var(--ink-2); margin-top: 22px; max-width: 44ch; }

/* V2 : questions */
.faq { position: relative; z-index: 1; padding-block: clamp(120px, 20vh, 220px) clamp(40px, 8vh, 80px); }
.faq__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 120px); align-items: start; }
.faq__title { max-width: 11ch; position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 24px 0; cursor: pointer; font-size: clamp(19px, 1.7vw, 25px); font-weight: 300; letter-spacing: -.02em; line-height: 1.25; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex: none; font-size: 24px; color: var(--ink-2); transition: transform .4s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover::after { color: var(--ink); }
.faq__item p { padding: 0 40px 26px 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

/* V2 : ce qui se passe ensuite */
.cta__steps { display: grid; gap: 12px; margin-top: clamp(28px, 4.5vh, 44px); max-width: 52ch; }
.cta__steps li { display: flex; gap: 16px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.cta__steps span { flex: none; width: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.step.is-done { color: var(--ink-2); }

.loop-labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.loop-label {
  position: absolute; left: 0; top: 0;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color .6s var(--ease);
  transform: translate3d(-200px, -200px, 0);
}
.loop-label.is-active { color: var(--ink); }

/* Act 7: from agency to infrastructure */
.infra { height: 100%; display: flex; align-items: center; position: relative; z-index: 2; }
.horizon { display: grid; gap: clamp(22px, 5vh, 56px); width: min(100%, 46%); }
.horizon__step { display: grid; gap: 10px; }
.horizon__when { font-size: 14px; color: var(--ink-2); }
.horizon__what {
  font-size: clamp(30px, 4.2vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink-3);
  transition: color .7s var(--ease);
}
.horizon__step.is-active .horizon__what { color: var(--ink); }
.horizon__step.is-done .horizon__what { color: var(--ink-2); }

/* Act 8: North Star */
.north {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 32px 40px;
  padding-block: calc(var(--nav-h) + clamp(28px, 8vh, 96px)) clamp(36px, 8vh, 88px);
  position: relative;
  z-index: 2;
}
.north__head { grid-column: 1 / -1; }
.north__kicker { font-size: 14px; color: var(--ink-2); margin-bottom: clamp(16px, 3vh, 28px); }
.north__title {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -0.052em;
  max-width: 12ch;
  margin-left: -0.05em;
  text-wrap: balance;
}
.north__list { grid-column: 2; grid-row: 2; align-self: end; display: grid; gap: 6px; }
.north__list li {
  font-size: clamp(20px, 2.1vw, 34px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 10px, 0);
  transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease);
}
.north__list li.is-on { opacity: 1; filter: blur(0); transform: none; }
.north__note { grid-column: 1; grid-row: 2; align-self: end; font-size: 13px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; }

/* Funnel */
.funnel {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.funnel__copy { position: relative; z-index: 2; }
.funnel__copy .lead { margin-top: clamp(24px, 4vh, 40px); }
.stages {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(18px, 4.6vh, 52px);
  justify-items: end;
  padding-right: clamp(0px, 2vw, 24px);
}
.stage {
  font-size: clamp(22px, 2.6vw, 42px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink-3);
  transition: color .6s var(--ease), opacity .6s var(--ease);
}
.stage.is-active { color: var(--ink); }
.stage--final.is-active { font-weight: 400; }

/* ---------- Data ---------- */

.data { padding-block: clamp(140px, 24vh, 280px) clamp(120px, 20vh, 220px); position: relative; }
.data__title { max-width: 16ch; margin-bottom: clamp(64px, 12vh, 140px); }
.metrics { border-top: 1px solid var(--line); }
.metric {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  padding-block: clamp(18px, 3vh, 34px) clamp(14px, 2.4vh, 26px);
  border-bottom: 1px solid var(--line);
}
.metric__name {
  font-size: var(--fs-word);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: .86;
  margin-left: -0.05em;
}
.metric__body { padding-bottom: 0.6em; }
.metric__def { font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 32ch; }
.metric__value { margin-top: 10px; font-size: clamp(28px, 3vw, 44px); font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.metric__value small { display: block; font-size: 12px; letter-spacing: 0; color: var(--ink-2); margin-top: 4px; }

.reveal { opacity: 0; filter: blur(8px); transform: translate3d(0, 20px, 0); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; filter: blur(0); transform: none; }
html:not(.js) .reveal, html:not(.js) [data-phase], html:not(.js) [data-window] { opacity: 1; filter: none; transform: none; }

/* ---------- Signature ---------- */

.signature { height: 100%; display: grid; align-items: center; }
.signature > * { grid-area: 1 / 1; }
.signature__line {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.signature__word {
  justify-self: center;
  font-size: var(--signature-size, var(--fs-mega));
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-right: -0.04em;
  line-height: 1;
  color: rgba(242, 242, 239, 0);
}
.signature__word[data-window] { transform: none; }
.signature__word.is-solid { color: var(--ink); transition: color 1.6s var(--ease), opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }
html:not(.js) .signature__word { color: var(--ink); }

/* ---------- CTA ---------- */

.cta {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 40px) 80px;
}
.cta__inner { display: flex; flex-direction: column; align-items: flex-start; }
.cta__title {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -0.052em;
  max-width: 11ch;
  margin-left: -0.05em;
  text-wrap: balance;
}
.cta__sub { margin-top: clamp(22px, 3.4vh, 36px); font-size: var(--fs-lead); color: var(--ink-2); }
.cta .btn { margin-top: clamp(36px, 6vh, 64px); }
.cta .reveal:nth-child(2) { transition-delay: .12s; }
.cta .reveal:nth-child(3) { transition-delay: .24s; }

/* ---------- Footer ---------- */

.footer { padding-block: 40px calc(28px + env(safe-area-inset-bottom)); }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 24px 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.footer__brand { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; }
.footer__name { color: var(--ink); font-weight: 500; letter-spacing: 0.32em; }
.footer__links { display: flex; gap: 28px; }
.footer__links a { transition: color .25s; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--ink-2); }

/* ---------- Legal pages ---------- */

.legal { position: relative; z-index: 1; padding-block: calc(var(--nav-h) + 80px) 120px; }
.legal .wrap { max-width: calc(760px + var(--pad) * 2); }
.legal h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; margin-bottom: 56px; }
.legal h2 { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; max-width: 64ch; }
.legal p + p { margin-top: 12px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { color: var(--ink); background: rgba(255, 255, 255, .1); padding: 0 4px; }
.legal-page .nav__brand { opacity: 1; transform: none; }
.legal-page .nav__frost { opacity: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vh, 32px) 24px; }
  .flow__node:nth-child(n) { grid-row: auto; grid-column: auto; }
  .flow__node:nth-child(3) { grid-row: 2; grid-column: 2; }
  .flow__node:nth-child(4) { grid-row: 2; grid-column: 1; }
  .flow__node:nth-child(5) { grid-row: 3; grid-column: 1; }
  .flow__node:nth-child(6) { grid-row: 3; grid-column: 2; }
  .flow__node:nth-child(7) { grid-row: 4; grid-column: 2; }
  .flow__node:nth-child(8) { grid-row: 4; grid-column: 1; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__title { position: static; }
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .funnel { grid-template-columns: 1fr; align-content: center; gap: clamp(28px, 6vh, 64px); }
  .stages { justify-items: start; padding-right: 0; gap: clamp(12px, 2.8vh, 28px); }
}

@media (min-width: 721px) and (max-width: 1024px) and (orientation: portrait) {
  .hero__title { font-size: clamp(64px, 10.4vw, 108px); }
  .stage { font-size: clamp(30px, 4.6vw, 44px); }
  .system { align-items: flex-start; padding-top: calc(var(--nav-h) + 48px); }
  .system__copy { width: 100%; }
  .system__copy .h2 { margin-bottom: 32px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 58px; }
  .nav__cta { height: 36px; padding: 0 14px; font-size: 13px; }

  .hero { padding-bottom: clamp(56px, 9vh, 88px); }
  .hero__mark { gap: 12px; font-size: 13px; }
  .hero__cue { display: none; }

  .scene--chaos { height: 400vh; }
  .scene--demo { height: 360vh; }
  .flow { grid-template-columns: 1fr; gap: 8px; margin: 12px 0; }
  .flow__node:nth-child(n) { grid-row: auto; grid-column: auto; }
  .flow__node { display: grid; grid-template-columns: 96px 1fr; gap: 0 12px; padding-top: 8px; padding-left: 14px; }
  .flow__role { padding-top: 3px; }
  .flow__name { margin-top: 0; font-size: 18px; }
  .flow__detail { display: none; }
  .demo__tabs button { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .demo__message { font-size: 16px; }
  .system__intro { margin-top: -12px; font-size: 14px; }
  .hero__actions { gap: 6px 22px; }
  .scene--system { height: 380vh; }
  .scene--signature { height: 280vh; }
  .scene--vision { height: 320vh; }

  .lines { padding-top: calc(var(--nav-h) + 32px); }
  .line { font-size: clamp(34px, 10vw, 46px); }
  .line--prose { font-size: clamp(24px, 7vw, 32px); }
  .pole { font-size: 13px; }
  .mission__text { font-size: clamp(24px, 7vw, 32px); }
  .forces { gap: 6px 18px; font-size: 14px; }

  .infra { align-items: flex-start; padding-top: calc(var(--nav-h) + 32px); }
  .horizon { width: 100%; gap: 22px; }
  .horizon__what { font-size: clamp(28px, 8.4vw, 38px); }

  .north { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: 20px; padding-top: calc(var(--nav-h) + 32px); }
  .north__list { grid-column: 1; grid-row: 2; }
  .north__note { grid-column: 1; grid-row: 3; }

  .system { align-items: flex-start; padding-top: calc(var(--nav-h) + 24px); }
  .system__copy .h2 { margin-bottom: 24px; }
  .step { grid-template-columns: 34px 1fr; padding-block: 11px; }
  .step__t { font-size: 22px; }
  .step__d { font-size: 14px; }
  .loop-label { font-size: 12px; }

  .funnel { grid-template-rows: auto 1fr; align-content: stretch; gap: 0; padding-top: calc(var(--nav-h) + 24px); padding-bottom: clamp(32px, 6vh, 64px); }
  .funnel__copy .lead { margin-top: 16px; font-size: 16px; }
  .stages { align-content: center; gap: clamp(14px, 3.8vh, 34px); }
  .stage { font-size: clamp(26px, 8vw, 34px); }

  .metric { grid-template-columns: 1fr; gap: 10px; }
  .metric__body { padding-bottom: 0; }

  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
  .footer__links { flex-wrap: wrap; gap: 12px 24px; }
}

@media (max-width: 360px) {
  .hero__title { letter-spacing: -0.045em; }
  .btn { padding: 0 20px; }
}

@media (min-width: 1921px) {
  :root { --max: 1480px; }
}

/* V2 : exemple de système sur écrans bas */
@media (min-width: 721px) and (max-width: 1024px) and (orientation: landscape) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
  .flow__node:nth-child(n) { grid-row: auto; grid-column: auto; }
  .flow__node:nth-child(5) { grid-row: 2; grid-column: 4; }
  .flow__node:nth-child(6) { grid-row: 2; grid-column: 3; }
  .flow__node:nth-child(7) { grid-row: 2; grid-column: 2; }
  .flow__node:nth-child(8) { grid-row: 2; grid-column: 1; }
  .flow__detail { display: none; }
}
@media (max-width: 720px) and (max-height: 720px) {
  .demo { padding-top: calc(var(--nav-h) + 8px); padding-bottom: 16px; }
  .demo__kicker { margin-bottom: 6px; font-size: 12px; }
  .demo__title { font-size: 28px; }
  .demo__tabs { margin-top: 10px; gap: 6px; }
  .demo__tabs button { min-height: 36px; padding: 0 12px; font-size: 12px; }
  .flow { gap: 2px; margin: 8px 0; }
  .flow__node { padding-top: 5px; grid-template-columns: 88px 1fr; }
  .flow__role { font-size: 12px; }
  .flow__name { font-size: 15px; }
  .demo__message { font-size: 14px; }
}

/* ---------- V3 : produit ---------- */

.kicker { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }

/* Promesse produit : phrase plus longue que le titre V2, corps réduit. */
.hero__title--promise { font-size: clamp(40px, 6vw, 104px); max-width: 15ch; }

/* Pourquoi */
.why__text { font-size: var(--fs-lead); line-height: 1.4; letter-spacing: -0.012em; color: var(--ink-2); max-width: 44ch; }

/* Signature : les composants */
.signature__list { font-size: var(--fs-h2); font-weight: 300; line-height: 1; letter-spacing: -0.045em; max-width: 14ch; text-wrap: balance; }
.signature__list span { white-space: nowrap; }
.signature__line--pair span { color: var(--ink-2); display: block; margin-top: .45em; font-size: .46em; line-height: 1.12; letter-spacing: -0.03em; max-width: 32ch; }
.signature__end { justify-self: center; display: grid; justify-items: center; gap: clamp(10px, 2vh, 20px); }
.signature__end[data-window] { transform: none; }
.signature__product { font-size: var(--fs-lead); color: var(--ink-2); letter-spacing: -0.01em; }

/* Un Socle, des Modules */
.product { position: relative; z-index: 1; padding-block: clamp(120px, 20vh, 220px) clamp(80px, 14vh, 160px); }
.product__head { max-width: 900px; }
.product__title { max-width: 14ch; }
.product__intro { margin-top: clamp(20px, 3vh, 32px); font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: 52ch; }
.product__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); margin-top: clamp(56px, 10vh, 112px); align-items: start; }
.socle { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: rgba(0, 0, 0, .55); }
.socle__label { font-size: clamp(24px, 2.4vw, 36px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.socle__lead { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.socle__list { margin-top: clamp(20px, 3vh, 32px); border-top: 1px solid var(--line); }
.socle__list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.socle__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.socle__list span { display: block; color: var(--ink); font-size: 17px; }
.modules { padding-top: clamp(24px, 3vw, 40px); }
.modules__grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 3vh, 32px); }
.module { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #000; color: var(--ink-2); font-size: 15px; transition: color .25s, border-color .25s, background-color .25s; }
.module:hover { color: var(--ink); border-color: rgba(255, 255, 255, .45); }
.module[aria-pressed="true"] { color: #000; background: var(--ink); border-color: var(--ink); }
.module:focus-visible, .demo__tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.build { margin-top: clamp(24px, 4vh, 40px); min-height: 7.2em; padding-top: 18px; border-top: 1px solid var(--line); }
.build__hint { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.build__sum { margin-top: 10px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.35; max-width: 48ch; }
.product__note { margin-top: clamp(28px, 5vh, 48px); font-size: 13px; color: var(--ink-3); max-width: 60ch; }

/* La mesure */
.proof { position: relative; z-index: 1; padding-block: clamp(120px, 20vh, 220px) clamp(60px, 10vh, 120px); }
.proof__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 120px); align-items: end; }
.proof__title { max-width: 12ch; }
.proof__intro { margin-top: clamp(20px, 3vh, 32px); font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: 40ch; }
.proof__note { margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--ink); max-width: 40ch; }
.ledger { margin: 0; }
.ledger__scroll { overflow-x: auto; }
.ledger table { width: 100%; min-width: 480px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); font-weight: 400; font-size: 15px; }
.ledger thead th { font-size: 13px; color: var(--ink-2); border-bottom-color: var(--line-2); }
.ledger tbody th { color: var(--ink); }
.ledger td { color: var(--ink-3); width: 17%; }
.ledger figcaption { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 60ch; }

/* Installer, Piloter, Automatiser */
.cycle { position: relative; z-index: 1; padding-block: clamp(100px, 16vh, 200px) clamp(240px, 34vh, 340px); }
.cycle__title { max-width: 16ch; }
.cycle__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 56px); margin-top: clamp(48px, 9vh, 104px); }
.cycle__step { padding-top: 20px; }
.cycle__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 13px; font-variant-numeric: tabular-nums; background: #000; }
.cycle__t { margin-top: 18px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }
.cycle__step p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.cycle__step p.cycle__fine { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.cycle .reveal:nth-child(2) { transition-delay: .12s; }
.cycle .reveal:nth-child(3) { transition-delay: .24s; }

@media (max-width: 1024px) {
  .product__grid, .proof__inner { grid-template-columns: minmax(0, 1fr); }
  .modules { padding-top: 0; }
}
@media (max-width: 720px) {
  .signature__list { font-size: clamp(36px, 11vw, 52px); }
  .why__text { font-size: 16px; }
  .cycle__steps { grid-template-columns: 1fr; }
  .module { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .modules__grid { gap: 8px; }
  .build { min-height: 9em; }
  .ledger th, .ledger td { padding: 12px 10px 12px 0; font-size: 14px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .hero__mark, .js .hero__title, .js .hero__sub, .js .hero__cta { opacity: 1; animation: none; }
  .hero__cue { display: none; }
  [data-phase], [data-window], .reveal { filter: none; transform: none; }
  .north__list li { filter: none; transform: none; }
}

/* ---------- V6.1 : qui fait quoi, pour qui, qui est derrière ---------- */
.hero__who { display: block; color: var(--ink); font-weight: 400; margin-bottom: .35em; }

.fit { position: relative; z-index: 1; padding-block: clamp(80px, 14vh, 180px) clamp(40px, 8vh, 100px); }
.fit__title { max-width: 14ch; }
.fit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 96px); margin-top: clamp(40px, 8vh, 96px); }
.fit__col { padding-top: 20px; }
.fit__label { font-size: clamp(22px, 2.2vw, 32px); font-weight: 300; letter-spacing: -0.03em; }
.fit__list { margin-top: 20px; }
.fit__list li { position: relative; padding: 10px 0 10px 32px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.fit__list li::before { position: absolute; left: 0; top: 12px; width: 20px; text-align: center; color: var(--ink-2); }
.fit__list--yes li::before { content: "✓"; }
.fit__list--no li { color: var(--ink-2); }
.fit__list--no li::before { content: "×"; color: var(--ink-3); }

.founder { position: relative; z-index: 1; padding-block: clamp(60px, 12vh, 160px); }
.founder__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 120px); align-items: center; }
.founder__photo { position: relative; aspect-ratio: 1; max-width: 420px; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: #0b0b0b; display: grid; place-items: center; }
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.founder__mono { font-size: clamp(48px, 7vw, 96px); font-weight: 300; letter-spacing: 0.08em; color: var(--ink-3); }
.founder__title { max-width: 14ch; }
.founder__text { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.founder__text--strong { margin-top: 16px; color: var(--ink); }
.founder__link { display: inline-block; margin-top: 28px; }
.fit__note { margin-top: clamp(32px, 6vh, 56px); font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }

@media (max-width: 720px) {
  .fit__grid, .founder__inner { grid-template-columns: 1fr; }
  .founder__photo { max-width: 220px; }
}

/* V6.1 : la silhouette est dessinée par les particules du fond, la boîte ne sert que de repère. */
.founder__figure { border: 0; background: transparent; }
@media (max-width: 720px) { .founder__photo.founder__figure { max-width: 260px; } }

/* V6.1 : le grand nuage avant l'appel à l'action. */
.scene--swarm { height: 260vh; }
.swarm { height: 100%; display: grid; align-items: center; justify-items: start; }
.swarm > * { grid-area: 1 / 1; }
.swarm__line { max-width: 18ch; font-size: var(--fs-statement); font-weight: 300; line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; }
.swarm__line--end { color: var(--ink); }

/* Lisibilité : un halo noir autour du texte, pour que les particules qui passent derrière ne gênent pas la lecture. */
[data-scene] :is(h1, h2, h3, p, li, dt, dd, summary, .stage, .flow__node) { text-shadow: 0 0 3px #000, 0 0 12px #000, 0 0 24px rgba(0, 0, 0, .9); }

/* ---------- V6.2 : la méthode MAGNET ---------- */
.method { position: relative; z-index: 1; padding-block: clamp(120px, 20vh, 220px) clamp(80px, 12vh, 140px); }
.method__title { max-width: 18ch; margin-top: 18px; }
.method__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); margin-top: clamp(96px, 16vh, 168px); }
.method__step { position: relative; padding-top: 34px; }
/* Le repère de chaque étape : c'est par là que passe la boucle de particules. */
.method__dot { position: absolute; left: 0; top: -40px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px rgba(242, 242, 239, .08), 0 0 24px rgba(242, 242, 239, .35); }
.method__n { display: block; font-size: 13px; letter-spacing: .18em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.method__t { margin-top: 14px; font-size: clamp(30px, 3vw, 46px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; text-transform: uppercase; }
.method__step p { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 30ch; }
.method__note { margin-top: clamp(56px, 9vh, 96px); font-size: var(--fs-lead, 20px); line-height: 1.45; color: var(--ink-2); max-width: 44ch; }
.method .reveal:nth-child(2) { transition-delay: .1s; }
.method .reveal:nth-child(3) { transition-delay: .2s; }
.method .reveal:nth-child(4) { transition-delay: .3s; }
@media (max-width: 1024px) {
  .method__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 88px; }
}
@media (max-width: 720px) {
  .method__steps { grid-template-columns: 1fr; row-gap: 64px; margin-top: 88px; }
  .method__t { font-size: clamp(30px, 9vw, 40px); }
}

/* ---------- V6.2 : les preuves (masquées tant qu'aucun vrai cas n'existe) ---------- */
.cases { position: relative; z-index: 1; padding-block: clamp(100px, 16vh, 180px) clamp(60px, 10vh, 120px); }
.cases__title { max-width: 16ch; }
.cases__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(32px, 4vw, 64px); margin-top: clamp(48px, 8vh, 88px); }
.case { padding-top: 24px; border-top: 1px solid var(--line-2); }
.case__who { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-2); }
.case__who span:first-child { color: var(--ink); }
.case__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.case__figures div { display: flex; flex-direction: column-reverse; }
.case__figures dd { margin: 0; font-size: clamp(40px, 4.4vw, 64px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.case__figures dt { margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.case__period { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.case__more { margin-top: 24px; min-height: 44px; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.case__more:focus-visible, .case-sheet__close:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.case-sheet { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: 6px; background: #050505; color: var(--ink); }
.case-sheet::backdrop { background: rgba(0, 0, 0, .78); }
.case-sheet__inner { position: relative; padding: clamp(28px, 5vw, 56px); }
.case-sheet__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; font-size: 26px; color: var(--ink-2); }
.case-sheet__kicker { font-size: 14px; color: var(--ink-2); }
.case-sheet__title { margin-top: 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; }
.case-sheet__story { margin-top: 32px; }
.case-sheet__story li { position: relative; padding: 0 0 26px 28px; border-left: 1px solid var(--line-2); margin-left: 5px; }
.case-sheet__story li:last-child { padding-bottom: 0; }
.case-sheet__story li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.case-sheet__story h4 { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.case-sheet__story p { margin-top: 8px; font-size: 16px; line-height: 1.55; }

/* ---------- V6.2 : la phrase signature ---------- */
.motto { position: relative; z-index: 1; padding-block: clamp(140px, 26vh, 300px); }
.motto__line { font-size: clamp(40px, 6.4vw, 104px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.02; max-width: 16ch; text-wrap: balance; }
.motto__line--second { margin-top: .12em; color: var(--ink-2); transition-delay: .35s; }
@media (max-width: 720px) {
  .motto__line { font-size: clamp(36px, 11vw, 56px); }
}

/* ---------- V6.2 : Est-ce pour vous ? Les critères apparaissent un par un ---------- */
.js .fit__col .fit__list li { opacity: 0; transform: translate3d(-10px, 0, 0); transition: opacity .7s var(--ease), transform .7s var(--ease), color .7s var(--ease); }
.js .fit__col.is-in .fit__list li { opacity: 1; transform: none; }
.fit__col .fit__list li:nth-child(1) { transition-delay: .35s; }
.fit__col .fit__list li:nth-child(2) { transition-delay: .6s; }
.fit__col .fit__list li:nth-child(3) { transition-delay: .85s; }
.fit__list--yes li::before { transform: scale(.4); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .6s var(--ease); transition-delay: inherit; }
.fit__col.is-in .fit__list--yes li::before { transform: none; opacity: 1; color: var(--ink); }
.fit__list--no li::before { opacity: 0; transition: opacity .6s var(--ease); transition-delay: inherit; }
.fit__col.is-in .fit__list--no li::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .fit__col .fit__list li, .fit__list li::before { opacity: 1 !important; transform: none !important; }
}

/* V6.2 : les trois étapes du dernier bloc, une phrase forte puis une précision. */
.cta__steps { gap: 18px; }
.cta__steps strong { display: block; font-weight: 400; color: var(--ink); font-size: 18px; }

/* V6.2 : très petits écrans, « Une demande — MAGNET — Un client » doit tenir sur une ligne. */
@media (max-width: 360px) {
  .channel { font-size: 13px; }
  .core-mark { font-size: 14px; letter-spacing: .22em; margin-right: -0.22em; }
}

/* ---------- V6.2 : preuve d'expérience (entreprises accompagnées) ---------- */
.trust { position: relative; z-index: 1; padding-block: clamp(72px, 12vh, 140px) clamp(80px, 14vh, 160px); border-top: 1px solid var(--line); }
.trust__title { max-width: 22ch; font-size: clamp(28px, 3.2vw, 48px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.08; }
.trust__text { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: 52ch; }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(40px, 6vw, 96px); margin-top: clamp(40px, 7vh, 72px); padding-block: clamp(28px, 4vh, 40px); border-block: 1px solid var(--line); }
.trust__logo { display: flex; align-items: center; min-height: 40px; }
.trust__logo span { font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.trust__logo img { display: block; height: 32px; width: auto; max-width: 160px; opacity: .72; filter: grayscale(1) brightness(1.6); }
.trust__note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 60ch; }
@media (max-width: 720px) {
  .trust__logos { gap: 20px 32px; }
  .trust__logo span { font-size: 16px; letter-spacing: 0.12em; }
}

/* ---------- V6.2 : preuve de résultat (le chiffre domine) ---------- */
.cases__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.case { padding-top: 28px; }
.case__value { font-size: clamp(76px, 9vw, 152px); font-weight: 300; letter-spacing: -0.055em; line-height: .9; font-variant-numeric: tabular-nums; }
.case__label { margin-top: 14px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; color: var(--ink); }
.case .case__who { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-3); }

/* ---------- V6.2 : fluidité sur téléphone ----------
   Sur mobile, les effets de flou coûtent cher au processeur graphique : le flou de la barre du haut
   est recalculé à chaque image puisque l'animation bouge dessous, et les apparitions floues aussi.
   On garde les mêmes mouvements (fondu, glissement), sans flou. */
@media (max-width: 1024px), (pointer: coarse) {
  .nav__frost {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .72) 55%, rgba(0, 0, 0, 0) 100%);
  }
  .reveal, [data-phase], [data-window] { filter: none !important; }
  [data-scene] :is(h1, h2, h3, p, li, dt, dd, summary, .stage, .flow__node),
  .channel, .core-mark { text-shadow: 0 0 6px #000, 0 0 14px rgba(0, 0, 0, .8); }
}

/* ---------- V6.2 : apparitions mobiles ----------
   Même effet que sur ordinateur (fondu + léger glissement), mais plus court et sans flou :
   0,5 s, 16 px, ease-out, enchaînements de 60 ms. Rien ne donne l'impression d'attendre. */
@media (max-width: 1024px), (pointer: coarse) {
  .reveal { transform: translate3d(0, 16px, 0); transition: opacity .5s cubic-bezier(.22, .61, .36, 1), transform .5s cubic-bezier(.22, .61, .36, 1); }
  [data-phase], [data-window] { transition: opacity .5s cubic-bezier(.22, .61, .36, 1), transform .5s cubic-bezier(.22, .61, .36, 1); }
  .cycle .reveal:nth-child(2), .method .reveal:nth-child(2) { transition-delay: .06s; }
  .cycle .reveal:nth-child(3), .method .reveal:nth-child(3) { transition-delay: .12s; }
  .method .reveal:nth-child(4) { transition-delay: .18s; }
  .motto__line--second { transition-delay: .12s; }
  .js .fit__col .fit__list li { transition-duration: .45s; }
  .fit__col .fit__list li:nth-child(1) { transition-delay: .1s; }
  .fit__col .fit__list li:nth-child(2) { transition-delay: .16s; }
  .fit__col .fit__list li:nth-child(3) { transition-delay: .22s; }
}

/* ---------- V6.2 : le pointeur est un aimant (ordinateur uniquement) ---------- */
.case__more { --mx: 0px; --my: 0px; transform: translate3d(var(--mx), var(--my), 0); transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  .cursor {
    position: fixed; left: 0; top: 0; z-index: 200;
    width: 34px; height: 34px; margin: -17px 0 0 -17px;
    border: 1px solid rgba(242, 242, 239, .7); border-radius: 50%;
    pointer-events: none; opacity: 0;
    mix-blend-mode: difference;
    transition: opacity .3s var(--ease), width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s var(--ease);
    will-change: transform;
  }
  .cursor::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #f2f2ef; transition: opacity .3s var(--ease); }
  .cursor.is-on { opacity: 1; }
  /* Près d'un bouton : l'anneau s'ouvre, comme un champ qui s'étend. */
  .cursor.is-near { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(242, 242, 239, .9); }
  .cursor.is-near::after { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cursor { display: none; } html.has-cursor, html.has-cursor * { cursor: auto !important; } }

/* Diagnostic mobile : ?mode=leger (sans halo de texte) et ?mode=sans (aucune animation). */
.mode-leger [data-scene] :is(h1, h2, h3, p, li, dt, dd, summary), .mode-leger .channel, .mode-leger .core-mark { text-shadow: none !important; }
