/* ==========================================================================
   atea — Design system « Observatoire »
   Nuit profonde · Ivoire · Braise. Geist (display + texte) / Geist Mono · accents néon.
   ========================================================================== */

:root {
  /* Nuit */
  --night: #06070b;
  --night-2: #0a0c13;
  --night-3: #10131c;
  --night-4: #171b27;
  --line: rgba(241, 236, 226, 0.09);
  --line-2: rgba(241, 236, 226, 0.16);
  --line-3: rgba(241, 236, 226, 0.28);

  /* Texte */
  --ivory: #f1ece2;
  --ivory-2: #d8d2c6;
  --mist: #a2a3ae;
  --dim: #6c6f7d;

  /* Accents */
  --ember: #ff8a4c;
  --ember-2: #ffb47f;
  --ember-deep: #c75a22;
  --glacier: #9cc2ff;

  /* Papier (sections claires) */
  --paper: #f2eee6;
  --paper-2: #e7e1d5;
  --ink: #0b0c10;
  --ink-2: #4a4c56;

  /* Statuts de vérité */
  --fact: #3ddc97;
  --hypo: #f5b13d;
  --testi: #a594ff;
  --opinion: #b0b1ba;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Geologica", "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-accent: "Funnel Display", "Geologica", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(1.25rem, 4.2vw, 3.75rem);
  --maxw: 1480px;
  --radius: 28px;
  --radius-s: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
  background: var(--night);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ember); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ember);
  color: var(--night);
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Grain — texture « laboratoire » */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-1%, 3%); }
  80% { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 1080px; }
.wrap--text { max-width: 860px; }

.section {
  position: relative;
  padding-block: clamp(6rem, 13vw, 11rem);
}
.section--tight { padding-block: clamp(4rem, 8vw, 7rem); }
.section--flush-top { padding-top: 0; }

.theme-paper {
  background: var(--paper);
  color: var(--ink);
  --line: rgba(11, 12, 16, 0.1);
  --line-2: rgba(11, 12, 16, 0.18);
  --line-3: rgba(11, 12, 16, 0.32);
  --mist: #5a5c66;
  --dim: #7d7f89;
  --ivory: var(--ink);
}
.theme-paper ::selection { background: var(--ink); color: var(--paper); }

.theme-ember {
  background: var(--ember);
  color: var(--night);
  --line: rgba(6, 7, 11, 0.14);
  --line-2: rgba(6, 7, 11, 0.24);
  --mist: rgba(6, 7, 11, 0.72);
  --dim: rgba(6, 7, 11, 0.55);
  --ivory: var(--night);
}
.theme-ember .serif-accent,
.theme-ember em,
.theme-ember .t-display em,
.theme-ember .t-h1 em,
.theme-ember .t-h2 em,
.theme-ember .t-h3 em,
.theme-ember .t-statement em,
.theme-ember .kicker__idx { color: var(--night); }

.blueprint {
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
}
.blueprint-dash {
  background-image:
    repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px);
  background-size: 100% 1px, 1px 100%;
  background-repeat: no-repeat;
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: var(--stack, 1.25rem); }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.t-display,
.t-h1,
.t-h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  color: var(--ivory);
  text-wrap: balance;
  font-feature-settings: "kern", "liga", "dlig";
}
.t-h3 {
  font-family: var(--f-sans);
  font-weight: 400;
  color: var(--ivory);
  text-wrap: balance;
}
.t-display {
  font-size: clamp(3.6rem, 10.4vw, 12.5rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}
.t-h1 {
  font-size: clamp(3.2rem, 8vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.t-h2 {
  font-size: clamp(2.6rem, 5.6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.t-h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.t-h4 {
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.t-lead {
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-weight: 300;
  color: var(--mist);
  text-wrap: pretty;
  max-width: 44ch;
}
.t-body { color: var(--mist); text-wrap: pretty; }
.t-body strong, .t-lead strong { color: var(--ivory); font-weight: 500; }
.t-small { font-size: 0.9rem; line-height: 1.55; color: var(--mist); }
.t-mono {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.t-statement {
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 300;
  text-wrap: pretty;
}

.t-display em, .t-h1 em, .t-h2 em, .t-h3 em, .t-statement em, .serif-accent {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ember);
  padding-right: 0.04em;
}
.theme-paper .t-display em, .theme-paper .t-h1 em, .theme-paper .t-h2 em,
.theme-paper .t-h3 em, .theme-paper .t-statement em, .theme-paper .serif-accent { color: var(--ember-deep); }

.serif { font-family: var(--f-serif); font-weight: 400; letter-spacing: -0.01em; }
.c-ember { color: var(--ember); }
.c-mist { color: var(--mist); }
.c-dim { color: var(--dim); }

/* Kicker « [ 01 ] — Libellé » */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}
.kicker__idx { color: var(--ember); white-space: nowrap; }
.theme-paper .kicker__idx { color: var(--ember-deep); }
.kicker__line {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.section-head {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.section-head--split {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
}
@media (max-width: 960px) { .section-head--split { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  --bg: transparent;
  --fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  height: 3.4rem;
  padding: 0 0.55rem 0 1.5rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--fill, var(--ivory));
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--icon-bg, rgba(6, 7, 11, 0.12));
  overflow: hidden;
  flex-shrink: 0;
}
.btn__icon svg { width: 0.95rem; height: 0.95rem; transition: transform 0.5s var(--ease); }
.btn:hover .btn__icon svg { animation: arrow-out 0.55s var(--ease); }
@keyframes arrow-out {
  0% { transform: translateX(0); }
  45% { transform: translateX(160%); }
  46% { transform: translateX(-160%); }
  100% { transform: translateX(0); }
}

.btn--primary { --bg: var(--ember); --fg: var(--night); --fill: var(--ivory); }
.btn--primary:hover { --fg: var(--night); }
.btn--ghost {
  --fg: var(--ivory);
  --fill: var(--ivory);
  --icon-bg: rgba(241, 236, 226, 0.08);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { color: var(--night); border-color: var(--ivory); }
.btn--ghost:hover .btn__icon { background: rgba(6, 7, 11, 0.1); }
.theme-paper .btn--ghost { --fg: var(--ink); --fill: var(--ink); --icon-bg: rgba(11, 12, 16, 0.07); }
.theme-paper .btn--ghost:hover { color: var(--paper); border-color: var(--ink); }
.theme-paper .btn--primary { --bg: var(--ink); --fg: var(--paper); --fill: var(--ember); --icon-bg: rgba(242, 238, 230, 0.12); }
.theme-paper .btn--primary:hover { color: var(--ink); }
.theme-ember .btn--primary { --bg: #06070b; --fg: #f1ece2; --fill: #f1ece2; --icon-bg: rgba(241, 236, 226, 0.12); }
.theme-ember .btn--primary:hover { color: #06070b; }
.theme-ember .btn--ghost { --fg: var(--night); --fill: var(--night); border-color: rgba(6, 7, 11, 0.3); --icon-bg: rgba(6, 7, 11, 0.08); }
.theme-ember .btn--ghost:hover { color: var(--ember); }
.btn--sm { height: 2.75rem; padding-left: 1.15rem; font-size: 0.9rem; }
.btn--sm .btn__icon { width: 1.9rem; height: 1.9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--ivory);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.2rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--ember); color: var(--ember); gap: 0.85rem; }
.link-arrow svg { width: 0.9rem; height: 0.9rem; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding: 0.9rem var(--pad);
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-120%); }
.nav__bar {
  pointer-events: auto;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 3.6rem;
  padding: 0 0.45rem 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
.nav.is-scrolled .nav__bar,
.nav.is-open .nav__bar {
  background: rgba(10, 12, 19, 0.62);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.nav__logo { display: flex; align-items: center; height: 100%; }
.nav__logo svg { height: 1.9rem; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--ivory-2);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav__link:hover { color: var(--ivory); background: rgba(241, 236, 226, 0.06); }
.nav__link[aria-current="page"] { color: var(--ivory); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--ember);
}
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav__cta { height: 2.75rem; padding-left: 1.2rem; font-size: 0.9rem; }
.nav__cta .btn__icon { width: 1.95rem; height: 1.95rem; }

.nav__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 50%;
  width: 1.05rem;
  height: 1.5px;
  margin-left: -0.525rem;
  background: var(--ivory);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav__toggle span:nth-child(1) { top: calc(50% - 3.5px); }
.nav__toggle span:nth-child(2) { top: calc(50% + 2.5px); }
.nav.is-open .nav__toggle span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 50%; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: var(--night);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 2rem) var(--pad) 2rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-io), visibility 0s;
}
.menu__links { display: grid; gap: 0.15rem; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--f-serif);
  font-size: clamp(2.8rem, 12vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  overflow: hidden;
}
.menu__link span:first-child { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ember); }
.menu__link .menu__label { display: inline-block; transform: translateY(105%); transition: transform 0.8s var(--ease); }
.menu.is-open .menu__link .menu__label { transform: translateY(0); }
.menu.is-open .menu__link:nth-child(2) .menu__label { transition-delay: 0.05s; }
.menu.is-open .menu__link:nth-child(3) .menu__label { transition-delay: 0.1s; }
.menu.is-open .menu__link:nth-child(4) .menu__label { transition-delay: 0.15s; }
.menu.is-open .menu__link:nth-child(5) .menu__label { transition-delay: 0.2s; }
.menu.is-open .menu__link:nth-child(6) .menu__label { transition-delay: 0.25s; }
.menu.is-open .menu__link:nth-child(7) .menu__label { transition-delay: 0.3s; }
.menu.is-open .menu__link:nth-child(8) .menu__label { transition-delay: 0.35s; }
.menu__foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 4rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}
.hero--page { min-height: 88svh; }
.hero--short { min-height: auto; padding-top: calc(var(--nav-h) + clamp(6rem, 14vw, 11rem)); padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__canvas canvas { width: 100%; height: 100%; }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 120%, rgba(6, 7, 11, 0.95) 20%, transparent 70%),
    linear-gradient(to bottom, rgba(6, 7, 11, 0.6), transparent 30%);
}
.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 45% at 62% 40%, rgba(255, 138, 76, 0.16), transparent 70%),
    radial-gradient(30% 40% at 30% 30%, rgba(156, 194, 255, 0.08), transparent 70%);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: auto;
}
.hero__title { max-width: 15ch; }
.hero__title--wide { max-width: 18ch; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.hero__aside { display: grid; gap: 1.75rem; justify-items: start; padding-bottom: 0.6rem; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
}
.hero__hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.hero__hud .t-mono { color: var(--dim); }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.scroll-cue__bar {
  position: relative;
  width: 1px;
  height: 2.2rem;
  background: var(--line-2);
  overflow: hidden;
}
.scroll-cue__bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--ember);
  animation: cue 2s var(--ease-io) infinite;
}
@keyframes cue { to { top: 110%; } }

.rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.4em;
}
.rotator > span {
  grid-area: 1 / 1;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}
.rotator > span.is-active { transform: translateY(0); opacity: 1; }
.rotator > span.is-leaving { transform: translateY(-110%); opacity: 0; }

/* --------------------------------------------------------------------------
   Ticker « lab log »
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--night-2);
  overflow: hidden;
  padding-block: 1.05rem;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee var(--speed, 60s) linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-inline: 2.25rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-2);
  white-space: nowrap;
}
.ticker__item b { font-weight: 500; color: var(--ivory); }
.ticker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ember)); box-shadow: 0 0 12px var(--c, var(--ember)); }
.ticker__dot--live { animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.25; } }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding-right: clamp(2.5rem, 6vw, 5.5rem);
  animation: marquee var(--speed, 45s) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */
.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: var(--radius);
  background: var(--night-3);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(500px circle at var(--mx) var(--my), color-mix(in srgb, var(--glow, var(--ember)) 16%, transparent), transparent 45%);
  transition: opacity 0.5s var(--ease);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line-2); }
.theme-paper .card { background: #fbf9f4; }

.fig-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Modules du Lab */
.module {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.5rem;
  min-height: 30rem;
}
.module__art {
  height: 11rem;
  color: var(--ivory-2);
}
.module__art svg { width: 100%; height: 100%; overflow: visible; }
.module__name {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ember);
}
.module__metric {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line-2);
}
.module__metric b { font-family: var(--f-serif); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--ivory); letter-spacing: -0.02em; }

/* Animations de trait des illustrations */
.draw path, .draw circle, .draw line, .draw ellipse, .draw polyline, .draw rect {
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
}
.is-drawn .draw path, .is-drawn .draw circle, .is-drawn .draw line, .is-drawn .draw ellipse,
.is-drawn .draw polyline, .is-drawn .draw rect {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.spin-slow { transform-origin: center; transform-box: fill-box; animation: spin 40s linear infinite; }
.spin-rev { transform-origin: center; transform-box: fill-box; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse-dot { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }

/* --------------------------------------------------------------------------
   Preuves (grands chiffres)
   -------------------------------------------------------------------------- */
.proof { border-top: 1px solid var(--line); }
.proof__row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 2rem;
  padding-block: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.proof__num {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(5.5rem, 17vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.proof__num sup, .proof__num .unit {
  font-size: 0.42em;
  vertical-align: 0.95em;
  color: var(--ember);
  margin-left: 0.04em;
}
.proof__label {
  display: grid;
  gap: 0.8rem;
  padding-bottom: 1.3rem;
}
.proof__label .t-h3 { max-width: 16ch; }
@media (max-width: 860px) { .proof__row { grid-template-columns: 1fr; } }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.facts > div {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.facts > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts b {
  display: block;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

.source-note {
  margin-top: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   Orbite de l'écosystème
   -------------------------------------------------------------------------- */
.orbit {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 860px);
  margin-inline: auto;
}
.orbit svg.orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; animation: spin var(--dur, 80s) linear infinite; }
.orbit__ring--2 { inset: 13%; animation-direction: reverse; }
.orbit__ring--3 { inset: 27%; }
.orbit:hover .orbit__ring, .orbit:focus-within .orbit__ring { animation-play-state: paused; }
.orbit__node {
  position: absolute;
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  transform: translate(-50%, -50%);
}
.orbit__planet {
  --size: clamp(3.4rem, 7vw, 5.1rem);
  position: relative;
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--brand) 55%, #fff 10%), color-mix(in srgb, var(--brand) 45%, var(--night)) 70%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 60%, transparent), 0 0 40px -6px var(--brand);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.orbit__counter { animation: spin var(--dur, 80s) linear infinite reverse; }
.orbit__ring--2 .orbit__counter { animation-direction: normal; }
.orbit:hover .orbit__counter, .orbit:focus-within .orbit__counter { animation-play-state: paused; }
.orbit__planet:hover, .orbit__planet:focus-visible {
  transform: scale(1.14);
  box-shadow: 0 0 0 1px var(--brand), 0 0 70px -4px var(--brand);
}
.orbit__planet img { width: 58%; height: 58%; object-fit: contain; }
.orbit__planet .orbit__mono { font-family: var(--f-sans); font-weight: 600; font-size: 0.82rem; letter-spacing: -0.02em; color: #fff; }
.orbit__tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.7rem);
  transform: translate(-50%, 6px);
  width: max-content;
  max-width: 15rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(10, 12, 19, 0.92);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 5;
}
.orbit__tip strong { display: block; font-size: 0.95rem; font-weight: 500; color: var(--ivory); }
.orbit__tip span { display: block; margin-top: 0.25rem; font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mist); }
.orbit__planet:hover .orbit__tip, .orbit__planet:focus-visible .orbit__tip { opacity: 1; transform: translate(-50%, 0); }
.orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 76, 0.22), transparent 70%);
}
.orbit__core svg { width: 62%; height: auto; filter: drop-shadow(0 0 30px rgba(255, 138, 76, 0.35)); }
.orbit__labels { position: absolute; inset: 0; pointer-events: none; }
.orbit__labels span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  background: var(--night);
  padding: 0.15rem 0.5rem;
}

/* --------------------------------------------------------------------------
   Marques
   -------------------------------------------------------------------------- */
.reel { position: relative; }
.reel__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-inline: var(--pad);
  width: max-content;
}
.reel__intro {
  width: min(32rem, 78vw);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 2rem;
}
.no-pin .reel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.no-pin .reel::-webkit-scrollbar { display: none; }
.no-pin .reel__track > * { scroll-snap-align: start; }

.brand-card {
  --brand: var(--ember);
  --brand-2: var(--ember-2);
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(30rem, 82vw);
  min-height: min(40rem, 78svh);
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--night-3);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}
.brand-card:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  box-shadow: 0 40px 120px -50px var(--brand);
}
.brand-card__cover {
  position: relative;
  height: 52%;
  min-height: 15rem;
  overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--brand) 30%, var(--night)), var(--night-2));
}
.brand-card__cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--night-3));
}
.brand-card__logo {
  position: absolute;
  left: clamp(1.4rem, 2.4vw, 2rem);
  bottom: 1.4rem;
  z-index: 2;
  height: 2.6rem;
  display: flex;
  align-items: center;
}
.brand-card__logo img { height: 100%; width: auto; max-width: 15rem; object-fit: contain; object-position: left; }
.brand-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem clamp(1.4rem, 2.4vw, 2rem) clamp(1.4rem, 2.4vw, 2rem);
}
.brand-card__cat { display: flex; justify-content: space-between; gap: 1rem; }
.brand-card__cat .t-mono:first-child { color: var(--brand-2); }
.brand-card__promise {
  font-family: var(--f-serif);
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ivory);
  text-wrap: balance;
}
.brand-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.brand-card__metrics b {
  display: block;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--ivory);
  letter-spacing: -0.02em;
}
.brand-card__metrics span { display: block; margin-top: 0.35rem; font-size: 0.82rem; line-height: 1.35; color: var(--mist); }
.brand-card__go {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 3;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 7, 11, 0.45);
  border: 1px solid rgba(241, 236, 226, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.4s var(--ease), transform 0.5s var(--ease), color 0.4s var(--ease);
}
.brand-card__go svg { width: 1rem; height: 1rem; transform: rotate(-45deg); transition: transform 0.5s var(--ease); }
.brand-card:hover .brand-card__go { background: var(--brand); color: var(--night); border-color: transparent; }
.brand-card:hover .brand-card__go svg { transform: rotate(0); }
.brand-card--grid { width: auto; min-height: 34rem; }

.wordmark-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.wordmark-lockup .rec { width: 0.62em; height: 0.62em; border-radius: 50%; background: #ff2a2a; box-shadow: 0 0 18px #ff2a2a; }
.wordmark-lockup small { font-size: 0.5em; font-weight: 400; letter-spacing: 0; opacity: 0.75; }

/* --------------------------------------------------------------------------
   Méthode — cartes empilées
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1.5rem; }
.step {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem + var(--i, 0) * 1.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: min(34rem, 72svh);
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  border-radius: var(--radius);
  background: var(--night-3);
  border: 1px solid var(--line);
  transform-origin: center top;
  box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.7);
}
.step:nth-child(2) { background: #131726; }
.step:nth-child(3) { background: #161a2b; }
.step:nth-child(4) { background: var(--ember); color: var(--night); --ivory: var(--night); --mist: rgba(6, 7, 11, 0.72); --line: rgba(6, 7, 11, 0.16); --line-2: rgba(6,7,11,.25); --dim: rgba(6,7,11,.6); }
.step:nth-child(4) em { color: var(--night); }
.step__num {
  font-family: var(--f-serif);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--ember);
}
.step:nth-child(4) .step__num { color: var(--night); }
.step__body { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.step__art { color: var(--ivory-2); }
.step:nth-child(4) .step__art { color: var(--night); }
.step__art svg { width: 100%; height: auto; max-height: 15rem; }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; position: relative; top: auto; }
}

/* --------------------------------------------------------------------------
   Valeurs — paires de tension
   -------------------------------------------------------------------------- */
.tensions { border-top: 1px solid var(--line); }
.tension {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: baseline;
  gap: 1.5rem;
  padding-block: clamp(1.4rem, 2.6vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
}
.tension__idx { font-family: var(--f-mono); font-size: 0.72rem; color: var(--ember); letter-spacing: 0.1em; }
.tension__pair {
  font-family: var(--f-serif);
  font-size: clamp(2.3rem, 5.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.tension__pair em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--dim);
  transition: color 0.5s var(--ease);
}
.tension:hover .tension__pair em { color: var(--ember); }
.tension__note { color: var(--mist); max-width: 34ch; }
@media (max-width: 860px) {
  .tension { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .tension__note { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Portes d'entrée
   -------------------------------------------------------------------------- */
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 26rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.door::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--night);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 100%));
  transition: clip-path 0.8s var(--ease-io);
}
.door:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 100%)); }
.door:hover { color: var(--ivory); border-color: var(--night); --mist: var(--ivory-2); }
.door:hover .t-mono, .door:hover .door__title { color: inherit; }
.door__title { font-family: var(--f-serif); font-size: clamp(2.1rem, 3.2vw, 3.2rem); line-height: 0.98; letter-spacing: -0.02em; font-weight: 400; }
.door__arrow {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid currentColor;
  border-color: rgba(127, 127, 127, 0.25);
  font-weight: 500;
}
.door__arrow svg { width: 1.3rem; height: 1.3rem; transition: transform 0.5s var(--ease); }
.door:hover .door__arrow svg { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   Statuts de vérité
   -------------------------------------------------------------------------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--c);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.c-fact { --c: var(--fact); }
.c-hypo { --c: var(--hypo); }
.c-testi { --c: var(--testi); }
.c-opinion { --c: var(--opinion); }
.theme-paper .c-fact { --c: #138a58; }
.theme-paper .c-hypo { --c: #b06f00; }
.theme-paper .c-testi { --c: #5a47d6; }
.theme-paper .c-opinion { --c: #5f6070; }

.transcript { display: grid; gap: 0.25rem; }
.transcript__line {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  border-left: 3px solid var(--c);
  background: color-mix(in srgb, var(--c) 6%, transparent);
  transition: background-color 0.4s var(--ease);
}
.transcript__line:hover { background: color-mix(in srgb, var(--c) 13%, transparent); }
.transcript__line p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.4; letter-spacing: -0.015em; }
@media (max-width: 720px) { .transcript__line { grid-template-columns: 1fr; gap: 0.75rem; } }

/* --------------------------------------------------------------------------
   Chips / tags
   -------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.88rem;
  color: var(--ivory-2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.chip:hover { border-color: var(--line-3); color: var(--ivory); }
.chip b { font-family: var(--f-mono); font-size: 0.68rem; font-weight: 400; color: var(--dim); }
.theme-paper .chip { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Personnes
   -------------------------------------------------------------------------- */
.person { display: grid; gap: 1.1rem; }
.person__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, #1c2140, var(--night-3));
  border: 1px solid var(--line);
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.04);
  transform: scale(1.04);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}
.person:hover .person__photo img { transform: scale(1.09); filter: grayscale(0) contrast(1.06); }
.person__mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  color: var(--ivory-2);
  letter-spacing: -0.04em;
}
.person__mono svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line-2); }
.person__tag {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(6, 7, 11, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-2);
}
.person__name { font-family: var(--f-serif); font-size: 1.8rem; font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; }
.person__role { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember); margin-top: 0.35rem; }
.person__bio { color: var(--mist); font-size: 0.96rem; line-height: 1.6; }
.person__links { display: flex; gap: 1rem; }

.faces {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.faces figure { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--night-3); }
.faces img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.6s var(--ease), transform 1s var(--ease); }
.faces figure:hover img { filter: grayscale(0); transform: scale(1.05); }
.faces figcaption { position: absolute; left: 0.75rem; bottom: 0.65rem; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivory); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 720px) { .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   Chronologie
   -------------------------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: clamp(6rem, 16vw, 13rem);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.timeline__progress {
  position: absolute;
  left: clamp(6rem, 16vw, 13rem);
  top: 0;
  width: 1px;
  height: 0;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(6rem, 16vw, 13rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.tl-item__year {
  font-family: var(--f-serif);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ivory);
  padding-right: 1.5rem;
}
.tl-item__body { padding-left: clamp(1.5rem, 3vw, 3rem); display: grid; gap: 0.75rem; max-width: 46rem; }
.tl-item__body::before {
  content: "";
  position: absolute;
  left: clamp(6rem, 16vw, 13rem);
  top: calc(clamp(2rem, 4vw, 3.5rem) + 0.8rem);
  width: 11px;
  height: 11px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid var(--ember);
}

/* --------------------------------------------------------------------------
   Manifeste
   -------------------------------------------------------------------------- */
.reveal-words .w { display: inline-block; white-space: pre; }
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(5rem, 11vw, 9rem);
  border-top: 1px solid var(--line);
}
.chapter__num { font-family: var(--f-serif); font-size: clamp(3rem, 6vw, 5rem); color: var(--ember); line-height: 0.9; }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; } }

.refusals { display: grid; gap: 0; border-top: 1px solid var(--line); }
.refusal {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}
.refusal h3 { font-family: var(--f-serif); font-size: clamp(1.9rem, 3vw, 2.9rem); letter-spacing: -0.02em; line-height: 1; font-weight: 400; }
.refusal h3 s { text-decoration-color: var(--ember); text-decoration-thickness: 2px; color: var(--dim); }
@media (max-width: 720px) { .refusal { grid-template-columns: 1fr; gap: 0.75rem; } }

.quote {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem, 5.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.quote::before { content: "« "; color: var(--ember); }
.quote::after { content: " »"; color: var(--ember); }
.signature { height: 3.2rem; width: auto; opacity: 0.9; }

/* --------------------------------------------------------------------------
   Accordéon (FAQ)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}
.faq summary i::before, .faq summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.8rem;
  height: 1.5px;
  margin: -0.75px 0 0 -0.4rem;
  background: currentColor;
}
.faq summary i::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.faq details[open] summary i { background: var(--ember); color: var(--night); border-color: var(--ember); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .faq__a { padding: 0 0 1.75rem; max-width: 60ch; color: var(--mist); }

/* --------------------------------------------------------------------------
   Formulaire
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(241, 236, 226, 0.03);
  color: var(--ivory);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a2a3ae' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.6rem;
}
.field select option { background: var(--night-3); color: var(--ivory); }
.field textarea { min-height: 10rem; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  background: rgba(255, 138, 76, 0.04);
  box-shadow: 0 0 0 4px rgba(255, 138, 76, 0.12);
}
.check { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--mist); font-size: 0.92rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--ember); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5rem; font-size: 0.95rem; }
.form__status.is-ok { color: var(--fact); }
.form__status.is-err { color: var(--hypo); }

/* --------------------------------------------------------------------------
   Note / encadré
   -------------------------------------------------------------------------- */
.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-radius: 18px;
  border: 1px dashed var(--line-3);
  color: var(--mist);
  font-size: 0.96rem;
}
.note::before { content: "i"; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--line-3); font-family: var(--f-serif); font-style: italic; color: var(--ember); }

.boiler {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--mist);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.copy-btn:hover { color: var(--ivory); border-color: var(--ivory); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--f-mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.table td { color: var(--mist); font-size: 0.95rem; }
.table td:first-child { color: var(--ivory); font-weight: 500; }
@media (max-width: 720px) {
  .table thead { display: none; }
  .table tr { display: grid; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 0.2rem 0; }
}

/* --------------------------------------------------------------------------
   Data viz (catalogues réels)
   -------------------------------------------------------------------------- */
.bars { display: grid; gap: 0.6rem; }
.bar {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.bar__label { color: var(--ivory-2); }
.bar__track { position: relative; height: 0.65rem; border-radius: 0 4px 4px 0; background: rgba(241, 236, 226, 0.06); overflow: hidden; }
.bars:hover .bar { opacity: 0.45; }
.bars .bar { transition: opacity 0.3s var(--ease); }
.bars .bar:hover { opacity: 1; }
.bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 0 4px 4px 0;
  background: var(--c, var(--ember));
  transform-origin: left;
  transform: scaleX(var(--s, 1));
  transition: transform 1.4s var(--ease);
}
.bar__val { font-family: var(--f-mono); font-size: 0.78rem; color: var(--ivory); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr 2.5rem; } .bar__track { grid-column: 1 / -1; grid-row: 2; } }

/* --------------------------------------------------------------------------
   Image média
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--night-3);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 7, 11, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-2);
}
.parallax-img { overflow: hidden; }
.parallax-img img { transform: scale(1.15); will-change: transform; }

/* --------------------------------------------------------------------------
   Page de marque
   -------------------------------------------------------------------------- */
.brand-hero { --brand: var(--ember); --brand-2: var(--ember-2); }
.brand-hero .hero__canvas canvas { opacity: 0.9; }
.brand-hero__logo { height: clamp(2.4rem, 4vw, 3.4rem); display: flex; align-items: center; margin-bottom: 2rem; }
.brand-hero__logo img { height: 100%; width: auto; max-width: 22rem; object-fit: contain; object-position: left; }
.brand-hero .kicker__idx { color: var(--brand-2); }
.brand-hero .t-h1 em { color: var(--brand-2); }
.brand-page { --brand: var(--ember); --brand-2: var(--ember-2); }
.brand-page .t-h2 em, .brand-page .t-h3 em { color: var(--brand-2); }
.brand-page .kicker__idx { color: var(--brand-2); }
.brand-page .card { --glow: var(--brand); }
.lab-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 138, 76, 0.1);
  border: 1px solid rgba(255, 138, 76, 0.3);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ember);
}
.next-brand {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding-block: clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}
.next-brand__name {
  font-family: var(--f-serif);
  font-size: clamp(3.4rem, 11vw, 11rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  font-weight: 400;
  transition: color 0.5s var(--ease);
}
.next-brand:hover .next-brand__name { color: var(--next, var(--ember)); }

.sub-brand {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.75rem, 3.5vw, 3rem);
}
.sub-brand__logo { height: 2.6rem; }
.sub-brand__logo img { height: 100%; width: auto; }
@media (max-width: 860px) { .sub-brand { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Logo mur
   -------------------------------------------------------------------------- */
.logo-cell {
  display: inline-flex;
  align-items: center;
  height: 2.6rem;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.logo-cell:hover { opacity: 1; filter: none; }
.logo-cell img { height: 100%; width: auto; max-width: 13rem; object-fit: contain; }
.logo-cell .wordmark-lockup { font-size: 2.1rem; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
  background: var(--night);
}
.footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
@media (max-width: 860px) { .footer__cta { grid-template-columns: 1fr; } }
.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 3rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__col h3 { font-family: var(--f-mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a { color: var(--ivory-2); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--ember); }
.footer__disclaimer { color: var(--dim); font-size: 0.85rem; line-height: 1.6; max-width: 34rem; }
.footer__word {
  position: relative;
  margin-top: 1rem;
  user-select: none;
}
.footer__word {
  --fx: 50%;
  --fy: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6vw;
  padding-top: 1rem;
  line-height: 0.74;
}
.footer__wordmark {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(10rem, 50vw, 62rem);
  letter-spacing: -0.045em;
  margin-left: -0.04em;
  padding-bottom: 0.06em;
  color: transparent;
  background:
    radial-gradient(28vw circle at var(--fx) var(--fy), #ffb47f 0%, rgba(255, 138, 76, 0.55) 18%, transparent 55%),
    linear-gradient(180deg, rgba(241, 236, 226, 0.22) 0%, rgba(241, 236, 226, 0.05) 85%);
  -webkit-background-clip: text;
  background-clip: text;
}
.footer__wordmark em { font-style: italic; letter-spacing: -0.06em; }
.footer__dot {
  width: clamp(1.4rem, 3.6vw, 4.2rem);
  aspect-ratio: 1;
  margin-bottom: clamp(2rem, 6.4vw, 7.6rem);
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 60px rgba(255, 138, 76, 0.6), 0 0 160px rgba(255, 138, 76, 0.25);
  animation: dot-breathe 4s ease-in-out infinite;
}
@keyframes dot-breathe { 50% { transform: scale(0.86); box-shadow: 0 0 30px rgba(255, 138, 76, 0.4); } }
.footer__sign {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
}
.footer__sign .serif { font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: var(--ivory); }
.footer__sign .serif em { color: var(--ember); }
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer__legal a[aria-disabled="true"] { pointer-events: none; color: var(--dim); }

/* --------------------------------------------------------------------------
   Curseur, transitions, préchargeur
   -------------------------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
}
.cursor__ring {
  position: absolute;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.cursor.is-hover .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255, 255, 255, 0.12); border-color: transparent; }
.cursor__label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: rgba(255, 255, 255, 0.95); }
.cursor.has-label .cursor__label { color: #000; mix-blend-mode: normal; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.curtain {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
  background: var(--night-2);
  transform: translateY(100%);
}
.curtain::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}
html.is-leaving .curtain { transition: transform 0.6s var(--ease-io); transform: translateY(0); pointer-events: auto; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  background: var(--night);
  transition: clip-path 1s var(--ease-io), visibility 0s linear 1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 1.5rem; }
.loader__glyph { width: 5.5rem; height: 5.5rem; }
.loader__glyph circle, .loader__glyph path { stroke: var(--ivory); stroke-width: 1; fill: none; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw-in 1.4s var(--ease) forwards; }
.loader__glyph path { animation-delay: 0.35s; stroke: var(--ember); }
@keyframes draw-in { to { stroke-dashoffset: 0; } }
.loader__count { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--mist); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   États de révélation (activés seulement si JS)
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.split-words .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
em .wm, .serif-accent .wm { padding-right: 0.08em; margin-right: -0.08em; }
.js .split-words .wm > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: left bottom; }
.js .split-words.is-in .wm > span {
  transform: none;
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--wi, 0) * 0.035s);
}
.bw > span { will-change: filter, opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .split-words .wm > span { transform: none; }
  body::after { animation: none; }
  .ticker__track, .marquee__track { animation: none; }
}

/* Utilitaires */
.mt-xs { margin-top: 0.75rem; }
.mt-s { margin-top: 1.25rem; }
.mt-m { margin-top: 2rem; }
.mt-l { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mt-xl { margin-top: clamp(4rem, 8vw, 7rem); }
.mb-m { margin-bottom: 2rem; }
.center { text-align: center; }
.max-30 { max-width: 30ch; }
.max-40 { max-width: 40ch; }
.max-52 { max-width: 52ch; }
.relative { position: relative; }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.nowrap { white-space: nowrap; }
.only-mobile { display: none; }
@media (max-width: 720px) { .only-mobile { display: initial; } .hide-mobile { display: none !important; } }

/* Chiffres compacts à l'intérieur des encarts de sous-marques */
.sub-brand .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sub-brand .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
.sub-brand .facts b { white-space: nowrap; }
@media (max-width: 720px) {
  .hero .kicker > span:last-child { display: none; }
  .hero .kicker__line { display: none; }
}

/* ==========================================================================
   v2 — Matière, images & motion
   ========================================================================== */

/* Transitions de page natives (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.7s; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(24px); } }
::view-transition-group(*) { animation-duration: 0.85s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }

/* Photographie « laboratoire » */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--night-2);
  isolation: isolate;
}
.photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.92);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(6, 7, 11, 0.7) 100%),
    linear-gradient(to top, rgba(6, 7, 11, 0.55), transparent 35%);
  z-index: 1;
}
.photo--blend > img { mix-blend-mode: screen; }
.kenburns > img { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }

/* Révélation en volet */
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal="mask"] img { transform: scale(1.25); }
.js [data-reveal="mask"].is-in img { transform: scale(1.04); transition: transform 2.2s var(--ease); }

/* Cartes de marque : image + couverture générative en fusion lumineuse */
.brand-card__cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.9) brightness(0.92);
}
.brand-card__cover > canvas { mix-blend-mode: screen; opacity: 0.55; transition: opacity 0.8s var(--ease); }
.brand-card:hover .brand-card__cover > img { transform: scale(1.14); filter: saturate(1.05) brightness(1.02); }
.brand-card:hover .brand-card__cover > canvas { opacity: 0.85; }

/* Héros de marque : image plein cadre */
.brand-hero__img { position: absolute; inset: 0; z-index: -2; }
.brand-hero__img img { width: 100%; height: 115%; object-fit: cover; object-position: 70% 50%; }
.brand-hero .hero__canvas { mix-blend-mode: screen; opacity: 0.45; }

/* Instruments du Lab */
.module__art--photo { position: relative; height: 15rem; margin: -0.5rem -0.5rem 0; }
.module__art--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.02);
  transition: transform 0.8s var(--ease);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}
.module:hover .module__art--photo img { transform: translate3d(var(--px, 0), calc(var(--py, 0) - 6px), 0) scale(1.07); }
.module__art--photo .fig-tag {
  position: absolute;
  left: 0.5rem;
  top: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--dim);
  z-index: 2;
}
.module__art--photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed var(--line-2);
  animation: spin 60s linear infinite;
}

/* Grande image éditoriale avec texte */
.vista {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.vista__img { position: absolute; inset: -8% 0; z-index: -2; }
.vista__img img { width: 100%; height: 100%; object-fit: cover; }
.vista::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--night) 2%, rgba(6, 7, 11, 0.35) 45%, rgba(6, 7, 11, 0.75) 100%),
    radial-gradient(80% 60% at 50% 60%, transparent, rgba(6, 7, 11, 0.6));
}
.vista__body { padding-block: clamp(4rem, 10vw, 9rem); width: 100%; }
.vista__caption {
  position: absolute;
  right: var(--pad);
  top: calc(var(--nav-h) + 1rem);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-2);
  opacity: 0.7;
}

/* Bandeau de mots géants */
.bigline {
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, 4rem);
  border-block: 1px solid var(--line);
}
.bigline__track {
  display: flex;
  gap: 0.35em;
  width: max-content;
  font-family: var(--f-serif);
  font-size: clamp(5rem, 14vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
  will-change: transform;
}
.bigline__track span:nth-child(odd) { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(241, 236, 226, 0.35); }
.bigline__track span:nth-child(even) { color: var(--ivory); }
.bigline__track i { font-style: normal; color: var(--ember); align-self: center; font-size: 0.35em; }

/* Section qui s'ouvre comme un diaphragme */
[data-expand] { will-change: clip-path; }

/* Compteur à rouleaux */
.odo { display: inline-flex; overflow: hidden; vertical-align: top; }
.odo__d { position: relative; display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo__strip { display: flex; flex-direction: column; transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--dd, 0s); }
.odo__strip > span { display: block; height: 1em; line-height: 1; }
.proof__num .odo__d { height: 0.8em; }
.proof__num .odo__strip > span { height: 0.8em; line-height: 0.8; }

/* Halo lumineux qui suit le curseur dans le hero */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--gx, 70%) var(--gy, 40%), rgba(255, 138, 76, 0.1), transparent 60%);
  transition: background 0.2s linear;
}

/* Ligne d'horizon lumineuse entre sections */
.horizon {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 76, 0.7) 50%, transparent);
  box-shadow: 0 0 24px rgba(255, 138, 76, 0.5);
  transform-origin: center;
}
.js .horizon[data-reveal] { transform: scaleX(0); opacity: 1; }
.js .horizon[data-reveal].is-in { transform: scaleX(1); transition: transform 2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .kenburns > img { animation: none; }
  .js [data-reveal="mask"] { clip-path: none; }
}

/* Orbite : seuls les astres captent la souris (les anneaux empilés la bloquaient) */
.orbit__ring, .orbit__node, .orbit__counter, .orbit__core, .orbit svg.orbit__rings { pointer-events: none; }
.orbit__planet { pointer-events: auto; z-index: 2; }
.orbit__planet:hover, .orbit__planet:focus-visible { z-index: 10; }
.orbit__node:has(.orbit__planet:hover) { z-index: 10; }

/* Compteur : mise en forme finale propre */
.odo { white-space: pre; }

/* ==========================================================================
   Pied de page — scène animée + logo atea.media
   ========================================================================== */
.footer__stage {
  position: relative;
  margin: 1rem calc(var(--pad) * -1 + 0.75rem) 0;
  height: clamp(30rem, 78svh, 54rem);
  border-radius: clamp(20px, 3vw, 40px);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(80% 70% at 60% 70%, #3a1a10, #0a0c13 70%);
  display: grid;
  place-items: center;
}
.footer__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.footer__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(241, 236, 226, 0.12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  opacity: 0.5;
}
.footer__lockup {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.6rem);
  color: var(--ivory);
  user-select: none;
}
.footer__glyph {
  width: clamp(5rem, 13vw, 13rem);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 60px rgba(255, 138, 76, 0.35));
  animation: glyph-float 9s ease-in-out infinite;
}
@keyframes glyph-float { 50% { transform: translateY(-10px) rotate(-2deg); } }
.footer__wm {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: clamp(3.6rem, 11vw, 12.5rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  display: flex;
  flex-direction: column;
}
.footer__wm b { font-weight: 500; }
.footer__wm span:last-child { padding-left: 0.42em; color: rgba(241, 236, 226, 0.78); }
.footer__wm i { font-style: normal; color: var(--ember); text-shadow: 0 0 40px rgba(255, 138, 76, 0.8); }
.footer__stage-meta {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.5rem);
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 2.4vw, 2rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 236, 226, 0.55);
}
.footer__stage-meta .live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.55rem; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); animation: live 1.6s infinite; vertical-align: middle; }
@media (max-width: 720px) {
  .footer__lockup { flex-direction: column; gap: 1.5rem; }
  .footer__wm { align-items: center; }
  .footer__wm span:last-child { padding-left: 0; }
  .footer__stage-meta span:nth-child(2) { display: none; }
}

/* ==========================================================================
   Cartes de marque v3 — animation seule, photo révélée par une lentille
   ========================================================================== */
.brand-card { min-height: min(38rem, 76svh); justify-content: flex-end; }
.brand-card__cover {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
}
.brand-card__cover::after { background: linear-gradient(to top, rgba(6,7,11,.96) 8%, rgba(6,7,11,.55) 38%, transparent 62%); z-index: 2; }
.brand-card__cover > canvas { mix-blend-mode: normal; opacity: 1; z-index: 0; }
.brand-card__cover > img {
  z-index: 1;
  filter: none;
  transform: scale(1.08);
  clip-path: circle(0px at var(--mx, 50%) var(--my, 40%));
  transition: clip-path 0.9s var(--ease), transform 1.6s var(--ease);
}
.brand-card:hover .brand-card__cover > img {
  clip-path: circle(13rem at var(--mx, 50%) var(--my, 40%));
  transform: scale(1.02);
  filter: none;
}
.brand-card:hover .brand-card__cover > canvas { opacity: 1; }
.brand-card__cover .lens-ring {
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 40%);
  width: 26rem;
  height: 26rem;
  margin: -13rem 0 0 -13rem;
  border-radius: 50%;
  border: 1px solid rgba(241, 236, 226, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 138, 76, 0.25), inset 0 0 60px rgba(255, 138, 76, 0.15);
  z-index: 3;
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
}
.brand-card:hover .lens-ring { opacity: 1; transform: scale(1); }
.brand-card__logo { position: relative; left: auto; bottom: auto; z-index: 3; margin-bottom: 0.5rem; }
.brand-card__body { position: relative; z-index: 3; flex: 0 0 auto; padding-top: 0; }
.brand-card__metrics { display: none; }
.brand-card__cat .t-mono:last-child { display: none; }
@media (hover: none) {
  .brand-card__cover > img { clip-path: none; opacity: 0.0; }
}

/* Accueil v3 — chiffres et instruments */
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stats3 > div { padding: clamp(2rem, 5vw, 4.5rem) 1rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.stats3 > div + div { border-left: 1px solid var(--line); }
.stats3__num { font-family: var(--f-serif); font-size: clamp(4.2rem, 11vw, 11rem); line-height: 0.8; letter-spacing: -0.04em; color: var(--ivory); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats3__num .unit { font-size: 0.42em; vertical-align: 0.95em; color: var(--ember); margin-left: 0.04em; }
.stats3__num .odo__d { height: 0.8em; }
.stats3__num .odo__strip > span { height: 0.8em; line-height: 0.8; }
@media (max-width: 760px) { .stats3 { grid-template-columns: 1fr; } .stats3 > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.instruments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.instrument { position: relative; display: grid; gap: 0.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.instrument__img { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #000; }
.instrument__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), filter 1s var(--ease); filter: brightness(0.92); }
.instrument:hover .instrument__img img { transform: scale(1.1) rotate(-1.5deg); filter: brightness(1.08); }
.instrument__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); background: radial-gradient(60% 50% at 50% 50%, transparent 60%, rgba(0,0,0,.5)); }
.instrument__meta { display: flex; justify-content: space-between; margin-top: 0.75rem; }
.instrument__title { font-family: var(--f-serif); font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.instrument__metric { position: absolute; right: 1.25rem; top: 1rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ivory); background: rgba(6,7,11,.55); padding: .35rem .65rem; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 860px) { .instruments { grid-template-columns: 1fr; } }
.step { min-height: min(26rem, 60svh); }

/* Instruments du Lab — intégration propre : fond fondu, pas de cadre visible */
.module__art--photo::before { display: none; }
.module__art--photo .fig-tag { display: none; }
.module__art--photo { height: 16rem; margin: 0; }
.module__art--photo img {
  mix-blend-mode: normal;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  filter: none;
}
.module { background: linear-gradient(180deg, #000 0%, var(--night-3) 62%); }

/* ==========================================================================
   Hero d'accueil — composition
   ========================================================================== */
.hero--home { justify-content: space-between; padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.hero--home > .wrap { display: flex; flex-direction: column; min-height: calc(100svh - var(--nav-h) - 5rem); }
.hero--home .hero__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.hero__status { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--mist); }
.hero--home .hero__title {
  max-width: none;
  font-size: clamp(2.9rem, 6.2vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.032em;
  margin-top: 2rem;
}
.hero--home .hero__title em { letter-spacing: -0.035em; }
.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem 3rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__bottom .t-lead { font-size: clamp(1rem, 1.15vw, 1.15rem); max-width: 46ch; color: var(--mist); }
@media (max-width: 860px) { .hero__bottom { grid-template-columns: 1fr; } }

/* Portraits : format natif carré, jamais agrandis au-delà de leur résolution */
.person { align-content: start; }
.person__photo { aspect-ratio: 1; max-width: 16.5rem; width: 100%; border-radius: 20px; }
.person__photo img { transform: none; filter: grayscale(0.15) contrast(1.03); }
.person:hover .person__photo img { transform: scale(1.03); }
.faces { grid-template-columns: repeat(auto-fill, minmax(9rem, 12.5rem)); }
.faces figure { aspect-ratio: 1; }

/* ==========================================================================
   v4 — Pied de page « horizon » (un seul pied de page, bord à bord)
   ========================================================================== */
.footer { position: relative; padding-top: 0; border-top: 0; overflow: hidden; isolation: isolate; background: var(--night); }
.footer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--night) 0%, rgba(6,7,11,.6) 18%, transparent 45%); }
.footer__inner { display: grid; gap: clamp(3rem, 7vw, 6rem); padding-top: clamp(6rem, 12vw, 10rem); }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.footer__top .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; border: 0; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr; } .footer__top .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__mark { display: block; text-align: center; line-height: 0.78; margin-bottom: -0.04em; user-select: none; }
.footer__mark-word {
  display: inline-block;
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: clamp(4rem, 17.2vw, 22rem);
  letter-spacing: -0.075em;
  color: transparent;
  background: linear-gradient(180deg, rgba(241,236,226,.95) 0%, rgba(241,236,226,.55) 55%, rgba(255,180,127,.35) 100%);
  -webkit-background-clip: text; background-clip: text;
  padding-right: 0.06em;
  transition: letter-spacing 1.2s var(--ease);
}
.footer__mark-word b { font-weight: 500; }
.footer__mark-word i { font-style: normal; color: var(--ember); -webkit-text-fill-color: var(--ember); text-shadow: 0 0 60px rgba(255,138,76,.9); }
.footer__mark:hover .footer__mark-word { letter-spacing: -0.06em; }
.footer__legal-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.25rem 0 1.75rem; border-top: 1px solid rgba(241,236,226,.12); }
.footer__legal-row .t-mono { color: rgba(241,236,226,.6); }
.footer__live { display: inline-block; width: 6px; height: 6px; margin-right: .6rem; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); vertical-align: middle; animation: live 1.6s infinite; }
.footer__legal a[aria-disabled="true"] { pointer-events: none; color: rgba(241,236,226,.4); }

/* Scènes GPU */
.instrument__img[data-cover], .step__viz, .module__art--viz { position: relative; overflow: hidden; background: radial-gradient(70% 60% at 50% 50%, #1a1630, #07080d); }
.instrument__img[data-cover] canvas, .step__viz canvas, .module__art--viz canvas, .door__viz canvas, .orbit-stage__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.module__art--viz { height: 15rem; border-radius: 18px; margin: 0 0 .25rem; box-shadow: inset 0 0 0 1px var(--line); }
.step__viz { width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(241,236,226,.08); }
.step:nth-child(4) .step__viz { box-shadow: inset 0 0 0 1px rgba(6,7,11,.12); }
.step__body:has(.step__viz) { justify-content: center; }

/* Portes : fond organique, survol lisible */
.door { border-color: rgba(6,7,11,.16); }
.door__viz { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1s var(--ease); }
.js .door.is-in .door__viz { opacity: 1; }
.door::before { z-index: -1; background: #0a0c13; }
.theme-ember .door:hover, .theme-ember .door:hover .door__title, .theme-ember .door:hover .t-mono, .theme-ember .door:hover .door__arrow { color: #f1ece2; }
.theme-ember .door:hover .door__arrow { border-color: rgba(241,236,226,.25); }
.theme-ember .door:hover { border-color: #0a0c13; }

/* ==========================================================================
   Constellation — sphères uniformes, flux orbitaux, noyau pulsant
   ========================================================================== */
.orbit-stage { position: relative; isolation: isolate; overflow: hidden; }
.orbit-stage__bg { position: absolute; inset: 0; z-index: -1; }
.orbit-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, var(--night), transparent 22%, transparent 78%, var(--night)); }
.orbit__flow { stroke-dashoffset: 0; animation: orbit-flow 30s linear infinite; }
.orbit__flow--rev { animation-direction: reverse; animation-duration: 42s; }
@keyframes orbit-flow { to { stroke-dashoffset: calc(var(--len) * -1); } }
.orbit__planet {
  --size: clamp(2.6rem, 4.6vw, 3.8rem);
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0%, color-mix(in srgb, var(--brand) 55%, #fff) 9%, var(--brand) 34%, color-mix(in srgb, var(--brand) 40%, #06070b) 70%, #05060a 100%);
  box-shadow:
    inset -6px -8px 16px rgba(0,0,0,.55),
    inset 3px 3px 8px rgba(255,255,255,.25),
    0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent),
    0 0 28px -2px color-mix(in srgb, var(--brand) 75%, transparent),
    0 0 90px -6px color-mix(in srgb, var(--brand) 45%, transparent);
  overflow: visible;
}
.orbit__planet::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(255,255,255,.35) 70%, transparent 80%);
  mix-blend-mode: overlay; animation: spin 6s linear infinite; animation-delay: calc(var(--d, 0s) * -1);
}
.orbit__planet::after {
  content: ""; position: absolute; inset: -22%; border-radius: 50%; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  opacity: .5; transform: scale(.9);
  animation: halo 4s var(--ease) infinite; animation-delay: calc(var(--d, 0s) * -1);
}
@keyframes halo { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.orbit__label {
  position: absolute; left: calc(100% + .75rem); top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(241,236,226,.82); text-shadow: 0 0 12px rgba(6,7,11,.9); pointer-events: none;
}
.orbit__planet:hover .orbit__label { color: #fff; }
.orbit__tip { top: auto; bottom: calc(100% + .9rem); }
.orbit__core { background: none; }
.orbit__core svg { width: 58%; position: relative; z-index: 2; filter: drop-shadow(0 0 40px rgba(255,138,76,.45)); }
.orbit__pulse { position: absolute; inset: 18%; border-radius: 50%; border: 1px solid rgba(255,138,76,.5); animation: core-pulse 4.8s var(--ease) infinite; }
@keyframes core-pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.orbit__labels span { background: transparent; color: rgba(241,236,226,.4); }
@media (max-width: 720px) { .orbit__label { display: none; } }
.team-band .faces { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.6rem; }
.team-band .faces figure { aspect-ratio: 3 / 4; border-radius: 16px; }
.team-band .faces img { filter: grayscale(1) contrast(1.08) brightness(.9); }
.team-band .faces figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255,138,76,.28), transparent 55%); mix-blend-mode: soft-light; opacity: .8; transition: opacity .6s var(--ease); }
.team-band .faces figure:hover img { filter: grayscale(0) contrast(1.02); }
.team-band .faces figure:nth-child(even) { transform: translateY(1.5rem); }
@media (max-width: 900px) { .team-band .faces { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero--home .hero__title em { padding-right: .02em; }
.step .t-h1 { font-size: clamp(2.2rem, 4.4vw, 4.6rem); line-height: .98; }

/* ==========================================================================
   Constellation v2 — graphe de lumière (points, faisceaux, impulsions)
   ========================================================================== */
.orbit svg.orbit__rings circle { stroke: rgba(241,236,226,.06) !important; stroke-dasharray: none !important; }
.orbit__planet {
  --size: 2.75rem;
  background: none;
  box-shadow: none;
  border-radius: 50%;
}
.orbit__planet::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: #fff; mix-blend-mode: normal; animation: none; inset: auto;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 70%, #fff), 0 0 14px 3px var(--brand), 0 0 44px 10px color-mix(in srgb, var(--brand) 45%, transparent), 0 0 110px 26px color-mix(in srgb, var(--brand) 18%, transparent);
  transition: transform .5s var(--ease);
}
.orbit__planet::after {
  inset: 50% auto auto 50%; width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem;
  border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); transform: scale(.4);
  animation: halo 3.6s var(--ease) infinite; animation-delay: calc(var(--d, 0s) * -1);
}
.orbit__planet:hover, .orbit__planet:focus-visible { transform: none; box-shadow: none; }
.orbit__planet:hover::before { transform: scale(1.6); }
.orbit__label { left: calc(50% + 1.1rem); font-size: .64rem; letter-spacing: .16em; color: rgba(241,236,226,.72); }
.orbit__label::before { content: ""; display: inline-block; width: .9rem; height: 1px; margin-right: .5rem; vertical-align: middle; background: color-mix(in srgb, var(--brand) 70%, #fff); opacity: .6; }
.orbit__beam {
  position: absolute; left: 50%; top: 50%; width: 50%; height: 1px; transform-origin: 0 50%;
  transform: rotate(var(--a)); pointer-events: none;
  background: linear-gradient(90deg, rgba(255,138,76,.0) 0%, rgba(255,138,76,.18) 20%, color-mix(in srgb, var(--brand) 45%, transparent) 100%);
}
.orbit__beam::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 18%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 80%, #fff), transparent);
  filter: blur(.5px); opacity: 0; animation: beam-pulse 4.2s cubic-bezier(.45,0,.2,1) infinite; animation-delay: var(--bd, 0s);
}
@keyframes beam-pulse { 0% { left: 100%; opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { left: 6%; opacity: 0; } }
.orbit__core svg { width: 46%; }
.orbit__pulse { inset: 24%; border-color: rgba(255,138,76,.35); }

/* Navigation : fil d'Ariane et marques précédente / suivante */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 2rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(241,236,226,.5); }
.crumbs a { color: rgba(241,236,226,.75); transition: color .3s var(--ease); }
.crumbs a:hover { color: var(--ember); }
.crumbs [aria-current] { color: var(--ivory); }
.brand-nav { border-top: 1px solid var(--line); }
.brand-nav__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding-block: clamp(3rem, 7vw, 6rem); }
.brand-nav__item { display: flex; align-items: center; gap: 1.5rem; }
.brand-nav__item--next { justify-content: flex-end; text-align: right; }
.brand-nav__name { font-family: var(--f-serif); font-size: clamp(2rem, 4.5vw, 4.4rem); line-height: .95; letter-spacing: -.02em; color: var(--ivory); transition: color .5s var(--ease); }
.brand-nav__item:hover .brand-nav__name { color: var(--next); }
.brand-nav__arrow { flex-shrink: 0; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.brand-nav__arrow svg { width: 1rem; height: 1rem; }
.brand-nav__item--prev .brand-nav__arrow svg { transform: rotate(180deg); }
.brand-nav__item:hover .brand-nav__arrow { background: var(--next); border-color: var(--next); color: var(--night); }
.brand-nav__item--prev:hover .brand-nav__arrow { transform: translateX(-6px); }
.brand-nav__item--next:hover .brand-nav__arrow { transform: translateX(6px); }
.brand-nav__all { display: grid; justify-items: center; gap: .9rem; color: var(--mist); }
.brand-nav__all:hover { color: var(--ivory); }
.brand-nav__dots { display: flex; gap: .45rem; }
.brand-nav__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(241,236,226,.25); transition: transform .3s var(--ease); }
.brand-nav__dots i.is-on { background: var(--c); box-shadow: 0 0 10px var(--c); transform: scale(1.5); }
.brand-nav__all:hover .brand-nav__dots i { background: var(--c); }
@media (max-width: 760px) { .brand-nav__grid { grid-template-columns: 1fr 1fr; } .brand-nav__all { grid-column: 1 / -1; order: 3; } .brand-nav__name { font-size: 1.8rem; } }

/* ==========================================================================
   v5 — Matière : verre, lueurs, échelle typographique plus juste
   ========================================================================== */
.t-display { font-size: clamp(3.2rem, 8.6vw, 10rem); }
.t-h1 { font-size: clamp(2.8rem, 6.4vw, 7rem); }
.t-h2 { font-size: clamp(2.3rem, 4.4vw, 4.6rem); }
.section { padding-block: clamp(5rem, 10vw, 8.5rem); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.glass, .card {
  background:
    linear-gradient(180deg, rgba(241,236,226,.055) 0%, rgba(241,236,226,.015) 38%, rgba(241,236,226,.01) 100%),
    rgba(14,16,26,.55);
  border: 1px solid rgba(241,236,226,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 80px -40px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.card:hover, .glass:hover { border-color: rgba(255,138,76,.28); }

/* Sections « lueur » (remplacent les aplats braise) */
.section--glow { position: relative; isolation: isolate; overflow: hidden; }
.section--glow::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 55% at 18% 30%, rgba(255,138,76,.22), transparent 70%),
    radial-gradient(35% 45% at 85% 80%, rgba(123,107,255,.16), transparent 70%);
  filter: blur(20px);
  animation: glow-drift 18s ease-in-out infinite alternate;
}
@keyframes glow-drift { to { transform: translate3d(4%, -3%, 0) scale(1.08); } }
.door { color: var(--ivory); min-height: 20rem; }
.door::before { background: radial-gradient(120% 120% at var(--mx, 50%) var(--my, 100%), rgba(255,138,76,.22), rgba(255,138,76,.04) 55%, transparent 80%); }
.door:hover { color: var(--ivory); border-color: rgba(255,138,76,.4); }
.door .t-mono { color: var(--mist); }
.door__arrow { border-color: rgba(241,236,226,.12); }
.door:hover .door__arrow { color: var(--ember); }

/* Méthode compacte */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.process__step { display: grid; gap: .9rem; padding: .75rem .75rem 1.5rem; border-radius: 24px; align-content: start; }
.process__viz { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #0b0c14; }
.process__viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.process__meta { display: flex; align-items: center; gap: .75rem; padding: .25rem .5rem 0; }
.process__line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,138,76,.6), transparent); }
.process__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1; letter-spacing: -.02em; padding: 0 .5rem; }
.process__step .t-small { padding: 0 .5rem; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* Instruments : légendes plus fines, plus d'air vide */
.instrument__title { font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
.stats3__num { font-size: clamp(3.8rem, 9vw, 9rem); }
.footer__mark { position: relative; height: clamp(9rem, 19vw, 24rem); margin-inline: calc(var(--pad) * -.5); }
.footer__mark canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Braise = couleur de contraste uniquement : les italiques passent en ivoire chaud */
.t-display em, .t-h1 em, .t-h2 em, .t-h3 em, .t-statement em, .serif-accent,
.brand-page .t-h2 em, .brand-page .t-h3 em, .brand-hero .t-h1 em { color: #f3e2d3; }
.theme-paper .t-display em, .theme-paper .t-h1 em, .theme-paper .t-h2 em, .theme-paper .t-h3 em { color: #5a3d2c; }
.hero--home .hero__title em { color: var(--ember); }
.hero__fallback { background: radial-gradient(45% 50% at 70% 40%, rgba(80,40,120,.22), transparent 70%), #020306; }
.hero__veil { background: radial-gradient(120% 70% at 50% 120%, rgba(2,3,6,.95) 20%, transparent 70%), linear-gradient(to bottom, rgba(2,3,6,.5), transparent 30%); }

/* ==========================================================================
   v6 — Typographie display Geist + accents néon
   Les titres passent en grotesque fine et serrée ; le mot-clé de chaque
   titre s'allume comme un tube néon (cœur clair, halo braise diffus).
   ========================================================================== */
.t-display, .t-h1, .t-h2 { font-weight: 300; font-feature-settings: "kern", "ss01"; }
.t-display { letter-spacing: -0.055em; line-height: 0.9; }
.t-h1 { letter-spacing: -0.05em; line-height: 0.92; }
.t-h2 { letter-spacing: -0.045em; line-height: 0.98; font-size: clamp(2.4rem, 5vw, 5.4rem); }
.t-h3 { letter-spacing: -0.03em; }
.stats3__num, .module__metric b, .door__title, .person__name, .instrument__title, .brand-nav__name, .process__title, .chapter__num, .refusal h3 { font-weight: 300; letter-spacing: -0.045em; }
.footer__wordmark em, .bigline__track span:nth-child(odd), .tension__pair em, .note::before { font-style: normal; }

.t-display em, .t-h1 em, .t-h2 em, .t-h3 em, .t-statement em, .serif-accent,
.brand-page .t-h2 em, .brand-page .t-h3 em, .brand-hero .t-h1 em, .hero--home .hero__title em {
  font-family: var(--f-sans);
  font-style: normal;
  font-weight: 400;
  letter-spacing: inherit;
  color: #fff4ea;
  --neon: 255, 138, 76;
  text-shadow:
    0 0 0.02em rgba(255, 255, 255, 0.9),
    0 0 0.08em rgba(var(--neon), 0.9),
    0 0 0.22em rgba(var(--neon), 0.55),
    0 0 0.6em rgba(var(--neon), 0.3),
    0 0 1.3em rgba(var(--neon), 0.16);
}
/* sur les pages marques, le néon prend la couleur de la marque */
.brand-page .t-h2 em, .brand-page .t-h3 em, .brand-hero .t-h1 em { --neon: var(--brand-rgb, 255, 138, 76); }
.theme-paper .t-display em, .theme-paper .t-h1 em, .theme-paper .t-h2 em, .theme-paper .t-h3 em, .theme-paper .t-statement em { color: var(--ember-deep); text-shadow: none; }

/* le masque de révélation coupe le halo : on le libère une fois le titre en place */
.split-words.is-lit .wm { overflow: visible; }
.js .split-words em .wm > span { text-shadow: none; transition: transform 1.2s var(--ease), text-shadow .6s ease; }
.js .split-words.is-lit em .wm > span { text-shadow: inherit; animation: neon-on 1.1s steps(1, end) both, neon-breathe 6s ease-in-out 1.1s infinite; }
@keyframes neon-on {
  0% { opacity: .8; } 8% { opacity: 1; } 14% { opacity: .72; } 22% { opacity: 1; } 30% { opacity: .86; } 38%, 100% { opacity: 1; }
}
@keyframes neon-breathe { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }
@media (prefers-reduced-motion: reduce) { .js .split-words em .wm > span { text-shadow: inherit; } }



/* ==========================================================================
   v7 — Bricolage Grotesque : graisses contrastées pour hiérarchiser la lecture
   fin (200) pour le fil du texte · appuyé (600) pour les mots porteurs
   (<strong>) · gras néon (700) pour le mot-clé (<em>)
   ========================================================================== */
.t-display, .t-h1, .t-h2, .t-h3, .t-statement { font-family: var(--f-serif); font-optical-sizing: auto; }
.t-display, .t-h1, .t-h2 { font-weight: 250; font-stretch: 92%; font-feature-settings: "kern"; }
.t-display { letter-spacing: -0.03em; line-height: 0.9; }
.t-h1 { letter-spacing: -0.026em; line-height: 0.94; }
.t-h2 { letter-spacing: -0.022em; line-height: 1; }
.t-h3 { font-weight: 350; letter-spacing: -0.02em; }
.t-statement { font-weight: 250; letter-spacing: -0.015em; }
.t-display strong, .t-h1 strong, .t-h2 strong, .t-h3 strong, .t-statement strong { font-weight: 600; color: #fffaf3; letter-spacing: -0.028em; }
.t-display em, .t-h1 em, .t-h2 em, .t-h3 em, .t-statement em, .serif-accent,
.brand-page .t-h2 em, .brand-page .t-h3 em, .brand-hero .t-h1 em, .hero--home .hero__title em {
  font-family: var(--f-serif);
  font-weight: 700;
  font-stretch: 92%;
  letter-spacing: -0.03em;
}
.stats3__num, .module__metric b, .door__title, .person__name, .instrument__title, .brand-nav__name, .process__title, .chapter__num, .refusal h3 { font-weight: 300; font-stretch: 92%; letter-spacing: -0.035em; }
.stats3__num { font-weight: 200; }

/* ==========================================================================
   Navigation entre marques v2 — deux grands panneaux visuels, vrais logos
   ========================================================================== */
.brand-nav { border-top: 0; padding-block: clamp(4rem, 8vw, 7rem); }
.brand-nav__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; margin-bottom: 1.75rem; }
.brand-nav__bar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.brand-nav__bar i { height: 2px; border-radius: 2px; background: rgba(241, 236, 226, 0.14); transition: background-color .4s var(--ease); }
.brand-nav__bar i.is-on { background: var(--c); box-shadow: 0 0 12px var(--c); }
.brand-nav__head:hover .brand-nav__bar i { background: var(--c); opacity: .55; }
.brand-nav__head:hover .brand-nav__bar i.is-on { opacity: 1; }
.brand-nav__all { display: inline-flex; align-items: center; gap: .6rem; color: var(--mist); transition: color .3s; }
.brand-nav__all svg { width: .8rem; height: .8rem; }
.brand-nav__all:hover { color: var(--ivory); }
.brand-nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0; align-items: stretch; }
.brand-nav__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(20rem, 34vw, 28rem); padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border-radius: var(--radius); border: 1px solid rgba(241, 236, 226, 0.08);
  background: #07080c;
  transition: border-color .6s var(--ease), box-shadow .6s var(--ease), transform .8s var(--ease);
}
.brand-nav__media { position: absolute; inset: 0; z-index: -2; }
.brand-nav__media img, .brand-nav__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-nav__media img { transform: scale(1.05); transition: transform 1.6s var(--ease); }
.brand-nav__card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 120%, color-mix(in srgb, var(--c) 38%, transparent), transparent 60%),
    linear-gradient(to top, rgba(6, 7, 11, .95) 10%, rgba(6, 7, 11, .45) 55%, rgba(6, 7, 11, .7));
  transition: opacity .6s var(--ease); }
.brand-nav__card:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--c) 20%, transparent); transform: translateY(-4px); }
.brand-nav__card:hover .brand-nav__media img { transform: scale(1.12); }
.brand-nav__top { display: flex; justify-content: space-between; align-items: center; color: var(--ivory); }
.brand-nav__card--prev .brand-nav__top { flex-direction: row-reverse; }
.brand-nav__arrow { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(241, 236, 226, 0.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(241, 236, 226, 0.14); transition: background-color .4s var(--ease), transform .5s var(--ease), color .4s; }
.brand-nav__arrow svg { width: .95rem; height: .95rem; }
.brand-nav__card--prev .brand-nav__arrow svg { transform: rotate(180deg); }
.brand-nav__card:hover .brand-nav__arrow { background: var(--c); border-color: var(--c); color: #07080c; }
.brand-nav__card--next:hover .brand-nav__arrow { transform: translateX(4px); }
.brand-nav__card--prev:hover .brand-nav__arrow { transform: translateX(-4px); }
.brand-nav__bottom { display: grid; gap: 1rem; }
.brand-nav__logo { height: clamp(2.2rem, 3.4vw, 3rem); display: flex; align-items: center; }
.brand-nav__logo img { height: 100%; width: auto; max-width: 15rem; object-fit: contain; object-position: left; filter: drop-shadow(0 4px 24px rgba(0,0,0,.6)); }
.brand-nav__promise { max-width: 34ch; font-size: 1.02rem; line-height: 1.45; color: rgba(241, 236, 226, 0.78); }
@media (max-width: 760px) {
  .brand-nav__grid { grid-template-columns: 1fr; }
  .brand-nav__head { grid-template-columns: 1fr auto; } .brand-nav__bar { grid-column: 1 / -1; order: 3; }
}

/* le visuel de hero reste en fond (la règle .photo le remettait dans le flux) */
.hero__canvas.photo { position: absolute; inset: 0; z-index: -1; }

/* ==========================================================================
   v8 — Sora : géométrique, technique, sobre
   ========================================================================== */
.t-display, .t-h1, .t-h2, .t-statement, .t-display em, .t-h1 em, .t-h2 em, .t-h3 em, .t-statement em, .serif-accent,
.brand-page .t-h2 em, .brand-page .t-h3 em, .brand-hero .t-h1 em, .hero--home .hero__title em,
.stats3__num, .module__metric b, .door__title, .person__name, .instrument__title, .brand-nav__name, .process__title, .chapter__num, .refusal h3 { font-stretch: normal; }
.t-display, .t-h1, .t-h2 { font-weight: 200; }
.t-display { font-size: clamp(3.2rem, 8.6vw, 10.5rem); letter-spacing: -0.055em; line-height: 0.98; }
.t-h1 { font-size: clamp(2.8rem, 6.6vw, 7.5rem); letter-spacing: -0.05em; line-height: 1; }
.t-h2 { font-size: clamp(2.2rem, 4.4vw, 4.8rem); letter-spacing: -0.045em; line-height: 1.04; }
.t-h3 { font-weight: 300; letter-spacing: -0.03em; }
.t-statement { font-weight: 200; letter-spacing: -0.03em; }
.t-display strong, .t-h1 strong, .t-h2 strong, .t-h3 strong, .t-statement strong { font-weight: 500; letter-spacing: -0.05em; }
.t-display em, .t-h1 em, .t-h2 em, .t-h3 em, .t-statement em, .serif-accent,
.brand-page .t-h2 em, .brand-page .t-h3 em, .brand-hero .t-h1 em, .hero--home .hero__title em { font-weight: 500; letter-spacing: -0.05em; }
.stats3__num, .module__metric b, .door__title, .person__name, .instrument__title, .brand-nav__name, .process__title, .chapter__num, .refusal h3 { font-weight: 200; letter-spacing: -0.05em; }

/* halo du curseur sur le hero : neutre et discret */
.hero--home .hero__glow { background: radial-gradient(520px circle at var(--gx, 70%) var(--gy, 40%), rgba(220, 225, 240, 0.035), transparent 60%); }

.hero__universe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Transition hero → page : le fond se dissout dans la nuit, un fil de lumière marque le passage */
.hero__canvas, .hero__fallback, .hero__glow, .hero__veil {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0,0,0,.55) 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0,0,0,.55) 78%, transparent 100%);
}
.hero:not(.hero--home)::after {
  content: ""; position: absolute; left: 50%; bottom: 0; z-index: 1; pointer-events: none;
  width: min(72rem, 86vw); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(241, 236, 226, 0.14) 30%, rgba(255, 170, 120, 0.28) 50%, rgba(241, 236, 226, 0.14) 70%, transparent);
  box-shadow: 0 0 18px rgba(255, 150, 100, 0.12);
}

/* ==========================================================================
   Surcouche de marque sur les photos de hero
   duotone graphite · voile côté texte · trame digitale fine · lueur braise
   ========================================================================== */
.hero__canvas.photo { background: #06070b; opacity: 1 !important; }
.hero__canvas.photo > img {
  filter: grayscale(.75) contrast(1.05) brightness(.6) blur(.4px);
  mix-blend-mode: luminosity;
  opacity: .55;
}
.hero__canvas.photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(6,7,11,.94) 0%, rgba(6,7,11,.82) 34%, rgba(6,7,11,.38) 70%, rgba(6,7,11,.55) 100%),
    radial-gradient(60% 55% at 82% 78%, rgba(255,138,76,.16), transparent 70%),
    radial-gradient(50% 45% at 70% 20%, rgba(90,100,150,.10), transparent 70%);
}
.hero__canvas.photo::after {
  background:
    radial-gradient(circle at center, rgba(241,236,226,.07) .6px, transparent 1.2px) 0 0 / 6px 6px,
    linear-gradient(to top, rgba(6,7,11,.6), transparent 40%);
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
          mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
  z-index: 2;
}

/* Héros des pages marques : voile côté texte, lueur à la couleur de la marque, fondu bas */
.brand-hero__img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.5) 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.5) 82%, transparent 100%);
}
.brand-hero__img img { filter: saturate(.75) brightness(.72) contrast(1.05); }
.brand-hero__img::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(6,7,11,.93) 0%, rgba(6,7,11,.84) 32%, rgba(6,7,11,.45) 62%, rgba(6,7,11,.2) 100%),
    radial-gradient(55% 60% at 85% 40%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%);
}
.brand-hero__img::after {
  background:
    radial-gradient(circle at center, rgba(241,236,226,.06) .6px, transparent 1.2px) 0 0 / 6px 6px,
    linear-gradient(to top, rgba(6,7,11,.7), transparent 45%) !important;
  -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 80%);
          mask-image: linear-gradient(100deg, transparent 25%, #000 80%);
  z-index: 2;
}
.brand-hero .t-lead { color: rgba(241, 236, 226, 0.86); }

/* ==========================================================================
   v9 — Geologica (titres, technique et sobre) + Funnel Display (mot-clé néon)
   ========================================================================== */
.t-display, .t-h1, .t-h2 { font-weight: 200; }
.t-display { letter-spacing: -0.045em; line-height: 0.98; }
.t-h1 { letter-spacing: -0.04em; }
.t-h2 { letter-spacing: -0.035em; }
.t-display strong, .t-h1 strong, .t-h2 strong, .t-h3 strong, .t-statement strong { font-weight: 500; letter-spacing: -0.04em; }
.t-display em, .t-h1 em, .t-h2 em, .t-h3 em, .t-statement em, .serif-accent,
.brand-page .t-h2 em, .brand-page .t-h3 em, .brand-hero .t-h1 em, .hero--home .hero__title em {
  font-family: var(--f-accent);
  font-weight: 600;
  letter-spacing: -0.035em;
}

/* ==========================================================================
   Transitions de zones : plus aucun bord dur
   - les lueurs de section se dissolvent en haut et en bas
   - le pied de page émerge de la nuit
   - une couture de lumière se dessine au passage (défilement)
   ========================================================================== */
.section--glow { overflow: visible; }
.section--glow::before {
  inset: -18% -10%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
}
body { overflow-x: clip; }
.footer { background: transparent; }
.footer__canvas, .footer::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
}
.section--glow::after, .footer::after {
  content: ""; position: absolute; left: 50%; top: 0; z-index: 0; pointer-events: none;
  width: min(80rem, 92vw); height: 1px; transform: translateX(-50%) scaleX(var(--seam, 1));
  background: linear-gradient(90deg, transparent, rgba(241,236,226,.12) 25%, rgba(255,170,120,.5) 50%, rgba(241,236,226,.12) 75%, transparent);
  box-shadow: 0 0 22px 1px rgba(255,140,90,.18), 0 0 80px 6px rgba(120,110,255,.06);
}
.footer::after { z-index: 1; }
@supports (animation-timeline: view()) {
  .section--glow::after, .footer::after {
    animation: seam-draw linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes seam-draw { from { transform: translateX(-50%) scaleX(0); opacity: 0; } to { transform: translateX(-50%) scaleX(1); opacity: 1; } }
  /* les sections glissent légèrement en entrant, pour un enchaînement fluide */
  .section > .wrap { animation: section-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes section-rise { from { opacity: .35; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .section > .wrap { animation: none !important; } }

/* ==========================================================================
   Constellation du portefeuille (3D) — disques de verre, vrais logos
   ========================================================================== */
.galaxy { position: relative; width: 100%; height: clamp(24rem, 44vw, 34rem); margin-top: clamp(1rem, 3vw, 2.5rem); }
.galaxy canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gx__planet {
  position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: .55rem;
  text-decoration: none; color: var(--ivory); will-change: transform; transition: opacity .3s;
}
.gx__disc {
  position: relative; display: grid; place-items: center; width: clamp(3.6rem, 5.4vw, 4.8rem); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.12), rgba(255,255,255,.02) 55%), rgba(10,11,18,.55);
  border: 1px solid color-mix(in srgb, var(--brand) 45%, rgba(241,236,226,.15));
  box-shadow: 0 0 0 1px rgba(0,0,0,.4) inset, 0 0 28px -6px var(--brand), 0 10px 30px -12px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.gx__disc::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); opacity: 0; transform: scale(.85); transition: opacity .4s, transform .6s var(--ease); }
.gx__disc img { width: 56%; height: 56%; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255,255,255,.12)); }
.gx__name { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(241,236,226,.7); white-space: nowrap; }
.gx__tip {
  position: absolute; bottom: calc(100% + .7rem); left: 50%; transform: translate(-50%, 6px); opacity: 0; pointer-events: none; white-space: nowrap;
  padding: .55rem .8rem; border-radius: 12px; background: rgba(12,13,20,.82); border: 1px solid rgba(241,236,226,.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist);
  display: grid; gap: .25rem; text-align: center; transition: opacity .3s, transform .4s var(--ease);
}
.gx__tip b { font-weight: 500; color: var(--brand); letter-spacing: .08em; }
.gx__planet:hover .gx__tip, .gx__planet:focus-visible .gx__tip { opacity: 1; transform: translate(-50%, 0); }
.gx__planet:hover .gx__disc, .gx__planet:focus-visible .gx__disc { box-shadow: 0 0 0 1px rgba(0,0,0,.4) inset, 0 0 50px -4px var(--brand), 0 10px 30px -12px rgba(0,0,0,.9); border-color: var(--brand); }
.gx__planet:hover .gx__disc::after { opacity: 1; transform: scale(1); }
.gx__planet:hover .gx__name { color: #fff; }
.galaxy__legend { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 1.6rem; color: rgba(241,236,226,.5); font-size: .6rem; letter-spacing: .16em; }
.galaxy__legend i { display: inline-block; width: 1.2rem; height: 1px; margin-right: .5rem; vertical-align: middle; background: rgba(255,138,76,var(--o)); }
@media (max-width: 720px) { .gx__name { display: none; } .galaxy { height: 26rem; } }

/* ==========================================================================
   Cadres lumineux (cartes de marque, modules, méthode, portes, navigation)
   un contour en dégradé qui tourne lentement, une arête de lumière en haut,
   et un projecteur qui suit le curseur sur le bord
   ========================================================================== */
@property --fx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.fx-frame, .fx-spot {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 6; padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.fx-frame {
  background:
    conic-gradient(from var(--fx-a), transparent 0 18%, color-mix(in srgb, var(--brand, #ff8a4c) 70%, transparent) 28%, rgba(170,150,255,.35) 36%, transparent 46% 66%, rgba(241,236,226,.28) 76%, transparent 86%),
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.05) 22%, rgba(255,255,255,.03) 70%, rgba(255,255,255,.09));
  opacity: .75; animation: fx-spin 16s linear infinite; transition: opacity .5s var(--ease);
}
.fx-spot {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255,214,190,.95), color-mix(in srgb, var(--brand, #ff8a4c) 60%, transparent) 35%, transparent 70%);
  opacity: 0; transition: opacity .45s var(--ease);
}
@keyframes fx-spin { to { --fx-a: 360deg; } }
.brand-card:hover > .fx-frame, .instrument:hover .fx-frame, .process__step:hover > .fx-frame, .door:hover > .fx-frame, .brand-nav__card:hover > .fx-frame { opacity: 1; animation-duration: 6s; }
.brand-card:hover > .fx-spot, .instrument:hover .fx-spot, .process__step:hover > .fx-spot, .door:hover > .fx-spot, .brand-nav__card:hover > .fx-spot { opacity: 1; }
.brand-card, .door, .brand-nav__card, .process__step { border-color: transparent !important; }
.brand-card:hover, .door:hover, .brand-nav__card:hover { box-shadow: 0 30px 90px -40px color-mix(in srgb, var(--brand, #ff8a4c) 60%, transparent), 0 0 0 1px rgba(255,255,255,.02); }
.instrument__img::after { box-shadow: none !important; }
.instrument:hover .instrument__img { box-shadow: 0 30px 80px -40px rgba(255,138,76,.5); }
@media (prefers-reduced-motion: reduce) { .fx-frame { animation: none; } }

/* Chiffres clés intégrés à la section portefeuille */
.stats3--inline { margin-top: clamp(2rem, 4vw, 3rem); border-block-color: rgba(241,236,226,.08); max-width: 62rem; margin-inline: auto; }
.stats3--inline > div { padding-block: clamp(1.2rem, 2.4vw, 2rem); }
.stats3--inline .stats3__num { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
.orbit-stage .source-note { margin-top: .9rem; }
.gx-hint { margin-top: clamp(1.5rem, 3vw, 2.5rem); color: var(--mist); }
.orbit-stage .galaxy { margin-top: clamp(-4rem, -5vw, -1.5rem); }
/* constellation → cartes de marques : enchaînement resserré */
.orbit-stage { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.orbit-stage + .section { padding-top: clamp(2rem, 4vw, 3.5rem); }
.orbit-stage .stats3--inline { margin-top: clamp(1rem, 2vw, 2rem); }

/* le titre du défilé doit tenir dans sa colonne */
.reel__intro .t-h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); overflow-wrap: normal; hyphens: none; }

/* ==========================================================================
   Transition constellation → écosystème
   le ciel étoilé se dissout, un horizon courbe s'allume et les chiffres
   flottent dessus ; la section suivante émerge de cette lueur
   ========================================================================== */
.orbit-stage { overflow: visible; padding-bottom: clamp(2rem, 4vw, 3rem); }
.orbit-stage__bg {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 62%, rgba(0,0,0,.4) 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 62%, rgba(0,0,0,.4) 82%, transparent 100%);
}
.orbit-stage::after { display: none; }
.orbit-stage::before {
  content: ""; position: absolute; left: 50%; bottom: clamp(-7rem, -8vw, -4rem); z-index: -1; pointer-events: none;
  width: 140vw; height: clamp(14rem, 22vw, 20rem); transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(255,170,120,.20), rgba(255,138,76,.08) 35%, transparent 70%),
    radial-gradient(60% 60% at 50% 0%, rgba(123,107,255,.10), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 85%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 85%);
}
/* arc d'horizon : une courbe fine qui s'allume au passage */
.orbit-stage > .wrap::after {
  content: ""; display: block; height: clamp(3rem, 6vw, 5rem); margin-top: clamp(2rem, 4vw, 3.5rem);
  margin-inline: auto; width: min(90rem, 120%); max-width: 100vw;
  border-top: 1px solid transparent; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background:
    linear-gradient(#0000, #0000) padding-box,
    linear-gradient(90deg, transparent 4%, rgba(241,236,226,.18) 25%, rgba(255,180,130,.75) 50%, rgba(241,236,226,.18) 75%, transparent 96%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 -6px 18px rgba(255,140,90,.35));
}
@supports (animation-timeline: view()) {
  .orbit-stage > .wrap::after { animation: horizon-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes horizon-rise { from { opacity: 0; transform: scaleX(.4); } to { opacity: 1; transform: none; } }
}
/* chiffres : flottent sur l'horizon, sans cadre dur */
.stats3--inline { border-block: 0; }
.stats3--inline > div + div { border-left: 0; box-shadow: -1px 0 0 0 transparent; background: linear-gradient(rgba(241,236,226,.1), rgba(241,236,226,.1)) left center / 1px 46% no-repeat; }
.stats3--inline .stats3__num { text-shadow: 0 0 40px rgba(255,138,76,.18); }
/* horizon retiré : fondu simple et compact */
.orbit-stage::before, .orbit-stage > .wrap::after { display: none !important; }
.orbit-stage { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.orbit-stage + .section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.orbit-stage__bg {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 72%, transparent 100%);
}

/* ==========================================================================
   Photos de contenu : traitement DA (nuit, contraste doux, teinte de marque)
   ========================================================================== */
.media { position: relative; isolation: isolate; background: #06070b; }
.media img {
  filter: saturate(.6) contrast(1.02) brightness(.72);
  transition: filter 1.2s var(--ease), transform 1.6s var(--ease);
}
.media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,7,11,.35) 0%, rgba(6,7,11,0) 30%, rgba(6,7,11,.15) 60%, rgba(6,7,11,.75) 100%),
    radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(6,7,11,.65) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--brand, #ff8a4c) 12%, transparent), rgba(14,14,32,.3));
  mix-blend-mode: normal;
}
.media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at center, rgba(241,236,226,.05) .6px, transparent 1.2px) 0 0 / 5px 5px;
}
.media figcaption { z-index: 2; }
.media:hover img { filter: saturate(.85) contrast(.98) brightness(.9); }
/* titres d'en-tête longs : plus compacts, l'animation respire */
.hero__title--compact { max-width: 16ch; font-size: clamp(2.6rem, 5.6vw, 6rem); line-height: 1; }

/* ==========================================================================
   Portraits : duotone nuit → ivoire, lueur braise latérale, trame fine
   la couleur revient doucement au survol
   ========================================================================== */
.person__photo, .faces figure { position: relative; isolation: isolate; background: #0b0c14; }
.person__photo img, .faces img {
  filter: grayscale(1) contrast(1.08) brightness(.88) sepia(.12);
  mix-blend-mode: luminosity;
  transition: filter .8s var(--ease), transform 1.2s var(--ease), mix-blend-mode .8s;
}
.person__photo::before, .faces figure::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 80% at 85% 20%, rgba(255,138,76,.55), transparent 60%), radial-gradient(90% 90% at 10% 100%, rgba(110,90,220,.5), transparent 65%), #0e0f1a;
}
.person__photo::after, .faces figure::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(241,236,226,.06) .6px, transparent 1.2px) 0 0 / 5px 5px,
    linear-gradient(to top, rgba(6,7,11,.55), transparent 45%);
}
.person:hover .person__photo img, .faces figure:hover img { filter: grayscale(.15) contrast(1.02) brightness(.95); mix-blend-mode: normal; }
.person__photo .person__tag, .person__photo > span { z-index: 2; }
.board-id { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; }
.board-id__photo { width: clamp(7.5rem, 13vw, 11rem); max-width: none; }
@media (max-width: 560px) { .board-id { grid-template-columns: 1fr; } }
/* portraits : traitement plus diffus — moins de contraste, lueurs larges et douces, sans trame */
.person__photo img, .faces img { filter: grayscale(.55) contrast(.96) brightness(.92) saturate(.9); mix-blend-mode: normal; opacity: .94; }
.person__photo::before, .faces figure::before {
  background: radial-gradient(140% 120% at 90% 0%, rgba(255,150,100,.22), transparent 70%), radial-gradient(140% 120% at 0% 100%, rgba(120,100,220,.2), transparent 70%), #10111b;
}
.person__photo::after, .faces figure::after {
  background:
    radial-gradient(120% 100% at 85% 10%, rgba(255,150,100,.16), transparent 60%),
    radial-gradient(120% 100% at 10% 95%, rgba(110,95,220,.18), transparent 60%),
    linear-gradient(to top, rgba(6,7,11,.4), transparent 50%);
  mix-blend-mode: soft-light;
}
.person:hover .person__photo img, .faces figure:hover img { filter: grayscale(0) contrast(1) brightness(.98); opacity: 1; }
.board-name { margin: 0; font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -.03em; color: var(--ivory); opacity: 1 !important; visibility: visible !important; transform: none !important; }
/* portraits : couleurs DA plus présentes, photo plus contrastée (même esprit diffus) */
.person__photo img, .faces img { filter: grayscale(.45) contrast(1.16) brightness(.98) saturate(.95); opacity: 1; }
.person__photo::after, .faces figure::after {
  background:
    radial-gradient(110% 95% at 88% 8%, rgba(255,140,85,.42), transparent 62%),
    radial-gradient(110% 95% at 8% 98%, rgba(110,90,235,.45), transparent 62%),
    linear-gradient(to top, rgba(6,7,11,.38), transparent 50%);
  mix-blend-mode: soft-light;
}
.person__photo { box-shadow: 0 24px 60px -30px rgba(255,138,76,.35), 0 0 0 1px rgba(241,236,226,.06); }

/* ==========================================================================
   Portraits détourés sur fond animé (aurore DA) — motion au survol et au défilement
   ========================================================================== */
.portrait { position: relative; isolation: isolate; aspect-ratio: 1; width: 100%; max-width: 19rem; border-radius: 22px; overflow: hidden; background: #07080e;
  box-shadow: 0 30px 70px -36px rgba(255,138,76,.45), 0 0 0 1px rgba(241,236,226,.07); }
.portrait__bg { position: absolute; inset: 0; z-index: 0; }
.portrait__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait__cut {
  position: absolute; left: 50%; bottom: 0; z-index: 1; width: 96%; height: auto; transform: translate(-50%, 6%) scale(1);
  filter: contrast(1.06) saturate(1.02) drop-shadow(0 0 1px rgba(255,200,170,.55)) drop-shadow(0 0 14px rgba(255,138,76,.22)) drop-shadow(-8px 0 24px rgba(120,100,240,.18));
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
  will-change: transform;
}
.portrait::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(to top, rgba(6,7,11,.55), transparent 32%); }
.js .portrait .portrait__cut { transform: translate(-50%, 18%) scale(.96); opacity: 0; transition: transform 1.4s var(--ease), opacity 1s var(--ease), filter .8s var(--ease); }
.js .portrait.is-in .portrait__cut { transform: translate(calc(-50% + var(--px, 0px)), calc(6% + var(--py, 0px))) scale(1); opacity: 1; }
.portrait:hover .portrait__cut { filter: contrast(1.08) saturate(1.06) drop-shadow(0 0 1px rgba(255,210,180,.8)) drop-shadow(0 0 22px rgba(255,138,76,.38)) drop-shadow(-10px 0 30px rgba(120,100,240,.28)); }
.person .portrait { margin-bottom: .25rem; }
/* bloc advisory : grand portrait à gauche, texte à droite */
.board-id { display: grid; grid-template-columns: clamp(14rem, 24vw, 21rem) 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.board-id__photo { max-width: none; }
.board-name { white-space: nowrap; font-size: clamp(1.8rem, 3vw, 2.8rem); }
@media (max-width: 760px) { .board-id { grid-template-columns: 1fr; } .board-name { white-space: normal; } }

/* ==========================================================================
   Manifeste (Vision · Mission · Valeurs · Ambition)
   ========================================================================== */
.mf-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(1.5rem, 4vw, 4rem); }
.mf-side { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; display: grid; gap: .9rem; }
.mf-label { font-size: .95rem; line-height: 1.45; color: var(--mist); max-width: 22ch; }
.mf-lines { display: grid; gap: 1.1rem; max-width: 64ch; }
.mf-lines p { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--mist); font-weight: 300; }
.mf-lines strong { color: var(--ivory); font-weight: 500; }
.mf-lines .mf-turn { color: var(--ivory); font-family: var(--f-serif); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.2; letter-spacing: -.02em; margin-top: .6rem; }
.mf-cols { gap: clamp(1.5rem, 3vw, 2.5rem); }
.t-lead strong { color: var(--ivory); font-weight: 500; }
.t-statement strong { font-weight: 500; color: #fffaf3; }

.mf-verbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mf-verb { display: grid; gap: .8rem; align-content: start; padding: clamp(1.25rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.75rem) clamp(1.25rem, 2.4vw, 2rem) 0; }
.mf-verb + .mf-verb { padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--line); }
.mf-verb .t-mono { color: var(--ember); }
.mf-verb h3 { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.6rem); letter-spacing: -.03em; line-height: 1; color: var(--ivory); }
.mf-verb p { color: var(--mist); line-height: 1.55; }

.mf-values { display: grid; border-top: 1px solid var(--line); }
.mf-value { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 3vw, 3rem); padding-block: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); transition: background-color .6s var(--ease); }
.mf-value:hover { background: linear-gradient(90deg, rgba(255,138,76,.05), transparent 70%); }
.mf-value__head { display: grid; gap: .6rem; align-content: start; }
.mf-value__head .t-mono { color: var(--ember); }
.mf-value__head h3 { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.02; letter-spacing: -.03em; color: var(--ivory); }
.mf-value__line { font-family: var(--f-accent); font-weight: 500; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.35; color: #fff4ea; text-shadow: 0 0 .5em rgba(255,138,76,.35); }
.mf-value__body { display: grid; gap: 1rem; align-content: start; }
.mf-value__body > p:first-child { color: var(--mist); line-height: 1.65; font-size: 1.05rem; }
.mf-value__refuse { display: grid; gap: .35rem; padding-left: 1rem; border-left: 1px solid rgba(255,138,76,.45); color: var(--ivory); line-height: 1.5; }
.mf-value__refuse .t-mono { color: var(--ember); font-size: .64rem; }

.mf-horizons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mf-horizon { display: grid; gap: .8rem; align-content: start; padding: clamp(1.25rem, 2.2vw, 1.75rem); border-radius: 20px; background: rgba(255,255,255,.025); border: 1px solid rgba(241,236,226,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mf-horizon .t-mono { color: var(--ember); }
.mf-horizon p:last-child { color: var(--ivory); line-height: 1.5; font-size: 1.05rem; }

.mf-word { font-family: var(--f-serif); font-weight: 200; font-size: clamp(5rem, 16vw, 13rem); line-height: .85; letter-spacing: -.06em; color: var(--ivory); text-shadow: 0 0 .25em rgba(255,138,76,.25); }
.mf-sign .t-statement { max-width: 26ch; }

@media (max-width: 900px) {
  .mf-grid { grid-template-columns: 1fr; }
  .mf-side { position: static; }
  .mf-verbs, .mf-horizons { grid-template-columns: 1fr; }
  .mf-verb + .mf-verb { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .mf-value { grid-template-columns: 1fr; }
}

/* en-têtes : un seul séparateur (la ligne d’information suffit, pas de fil lumineux en bas) */
.hero:not(.hero--home)::after { display: none; }

/* Portraits : au repos, présence retenue ; au survol, pleine lumière et contour */
.portrait__cut { filter: grayscale(.35) contrast(.98) brightness(.86) saturate(.85); opacity: .9; }
.js .portrait.is-in .portrait__cut { opacity: .9; }
.portrait:hover .portrait__cut, .person:hover .portrait__cut { opacity: 1; filter: contrast(1.06) saturate(1.04) drop-shadow(0 0 1px rgba(255,210,180,.8)) drop-shadow(0 0 20px rgba(255,138,76,.32)) drop-shadow(-10px 0 28px rgba(120,100,240,.24)); }
.portrait { box-shadow: 0 0 0 1px rgba(241,236,226,.06); transition: box-shadow .8s var(--ease); }
.portrait:hover { box-shadow: 0 30px 70px -36px rgba(255,138,76,.4), 0 0 0 1px rgba(241,236,226,.1); }
/* équipe : même traitement, plus doux */
.faces--cut { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.faces--cut .portrait { max-width: none; border-radius: 16px; aspect-ratio: 3 / 4; }
.faces--cut .portrait__cut { width: 120%; filter: grayscale(.6) contrast(.95) brightness(.8); opacity: .82; }
.faces--cut .portrait:hover .portrait__cut { filter: grayscale(0) contrast(1.04) drop-shadow(0 0 1px rgba(255,210,180,.6)) drop-shadow(0 0 14px rgba(255,138,76,.25)); opacity: 1; }
@media (max-width: 720px) { .faces--cut { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Citation du fondateur : format écrit, à la main */
.mf-quote { position: relative; margin: 0; padding: clamp(1.5rem, 3vw, 2.5rem) 0 0 clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid rgba(255,138,76,.45); }
.mf-quote__mark { position: absolute; left: clamp(.6rem, 2vw, 1.6rem); top: -.35em; font-family: Georgia, "Times New Roman", serif; font-size: clamp(6rem, 12vw, 10rem); line-height: 1; color: rgba(255,138,76,.35); pointer-events: none; }
.mf-quote blockquote { margin: 0; }
.mf-quote blockquote p { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: 1.22; letter-spacing: -.01em; color: var(--ivory); max-width: 24ch; text-wrap: balance; }
.mf-quote blockquote em { font-family: inherit; font-style: italic; font-weight: 400; color: #fff4ea; text-shadow: 0 0 .5em rgba(255,138,76,.45); }
.mf-quote figcaption { display: grid; gap: .6rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); justify-items: start; }
.mf-quote .signature { height: 3.8rem; width: auto; opacity: .9; }
/* boucle écosystème : rendu organique (shader) + libellés */
.loop-wrap { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin-inline: auto; }
.loop-bg { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }
.loop-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop-wrap .loop { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* équipe : hauteurs décalées, rythme vivant, flottement léger */
.team-band .faces--cut { align-items: start; padding-bottom: 3rem; }
.team-band .faces--cut > .portrait:nth-child(4n+2) { transform: translateY(2.2rem); }
.team-band .faces--cut > .portrait:nth-child(4n+3) { transform: translateY(.8rem); }
.team-band .faces--cut > .portrait:nth-child(4n) { transform: translateY(3rem); }
.team-band .faces--cut > .portrait:nth-child(3n) { aspect-ratio: 3 / 4.4; }
.team-band .faces--cut > .portrait { transition: transform 1s var(--ease), box-shadow .8s var(--ease); animation: face-float 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.1s); }
@keyframes face-float { 50% { translate: 0 -6px; } }
.team-band .faces--cut > .portrait:hover { translate: 0 -10px; animation-play-state: paused; }
@media (max-width: 720px) { .team-band .faces--cut > .portrait { transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .team-band .faces--cut > .portrait { animation: none; } }

/* portraits normalisés (yeux alignés, même échelle) : même cadrage pour tous */
.portrait .portrait__cut { left: 50%; top: -3%; bottom: auto; width: 112%; height: auto; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 96%); mask-image: linear-gradient(to bottom, #000 72%, transparent 96%); }
.js .portrait .portrait__cut { transform: translate(-50%, 8%) scale(.97); }
.js .portrait.is-in .portrait__cut { transform: translate(calc(-50% + var(--px, 0px)), var(--py, 0px)) scale(1); }
.faces--cut .portrait { aspect-ratio: 1 !important; }
.faces--cut .portrait__cut { width: 150% !important; top: -8%; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 92%); mask-image: linear-gradient(to bottom, #000 60%, transparent 92%); }
.team-band .faces--cut > .portrait:nth-child(3n) { aspect-ratio: 1 / 1.15 !important; }
.portrait .portrait__cut { width: 128%; top: -10%; }
.faces--cut .portrait__cut { width: 190% !important; top: -31%; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
.portrait .portrait__cut { max-width: none !important; }
.portrait:not(.portrait--soft) .portrait__cut { width: 136%; top: -17%; }

/* boucle : libellés en capsules de verre, lisibles sur l'anneau */
.loop-core { position: absolute; left: 50%; top: 50%; width: 15%; transform: translate(-50%, -54%); filter: drop-shadow(0 0 18px rgba(255,138,76,.35)); }
.loop-caps { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.loop-cap { position: absolute; display: grid; justify-items: center; gap: .25rem; padding: .7rem 1.1rem .75rem; border-radius: 999px; text-align: center;
  background: rgba(8, 9, 15, .62); border: 1px solid rgba(241, 236, 226, .12); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.8); transform: translate(-50%, -50%); white-space: nowrap; }
.loop-cap--t { left: 50%; top: 14%; } .loop-cap--r { left: 86%; top: 50%; } .loop-cap--b { left: 50%; top: 86%; } .loop-cap--l { left: 14%; top: 50%; }
.loop-cap__n { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; color: var(--ember); }
.loop-cap__t { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1; letter-spacing: -.02em; color: var(--ivory); }
.loop-cap__s { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
@media (max-width: 560px) { .loop-cap { padding: .5rem .8rem; } .loop-cap__s { display: none; } }

/* Préchargeur : le glyphe ātea se forme en particules puis éclate */
.loader { background: radial-gradient(70% 60% at 50% 50%, #0d0e18, #05060a 80%); }
.loader__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__meta { position: absolute; left: 50%; bottom: clamp(2rem, 8vh, 4rem); transform: translateX(-50%); display: flex; gap: 1.25rem; align-items: baseline; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; color: var(--mist); text-transform: uppercase; }
.loader__brand { color: var(--ivory); letter-spacing: .14em; text-transform: none; font-family: var(--f-sans); font-size: .85rem; }
.loader__brand b { color: var(--ember); font-weight: 400; }
.loader__count { font-variant-numeric: tabular-nums; color: var(--ember); }
.loader.is-done { clip-path: none; visibility: visible; opacity: 0; transition: opacity .9s var(--ease) .15s; pointer-events: none; }
.loader__glyph { display: none; }

/* Portraits : alpha normal (pleine présence au repos), sans fondu sur le buste */
.portrait .portrait__cut, .js .portrait.is-in .portrait__cut, .faces--cut .portrait__cut { opacity: 1 !important; filter: none !important;
  -webkit-mask-image: none !important; mask-image: none !important; }
.portrait:hover .portrait__cut, .person:hover .portrait__cut, .faces--cut .portrait:hover .portrait__cut { filter: drop-shadow(0 0 1px rgba(255,210,180,.8)) drop-shadow(0 0 20px rgba(255,138,76,.32)) drop-shadow(-10px 0 28px rgba(120,100,240,.24)) !important; }
/* capsules de la boucle : coins légers, bordure lumineuse animée comme les cartes */
.loop-cap { border-radius: 12px; border-color: transparent; }
.loop-cap > .fx-frame { opacity: .9; }
.loop-cap:hover > .fx-frame { opacity: 1; animation-duration: 6s; }

/* ==========================================================================
   Équipe : vignettes portrait verticales en accordéon
   la vignette survolée s'élargit, les autres se resserrent ; hauteurs décalées
   ========================================================================== */
.faces--tall { display: flex !important; gap: clamp(.4rem, .8vw, .75rem); height: clamp(22rem, 36vw, 32rem); align-items: stretch; padding-bottom: 0 !important; margin-top: 1rem; }
.faces--tall > .portrait { position: relative; flex: 1 1 0; min-width: 0; max-width: none; height: 100%; aspect-ratio: auto !important; border-radius: 18px;
  transform: none !important; translate: 0 0; animation: none !important;
  transition: flex-grow .9s var(--ease), translate 1s var(--ease), box-shadow .8s var(--ease) !important; }
.faces--tall > .portrait:nth-child(odd) { margin-top: clamp(1.5rem, 3vw, 2.75rem); height: calc(100% - clamp(1.5rem, 3vw, 2.75rem)); }
.faces--tall > .portrait:nth-child(4n+2) { margin-bottom: clamp(1rem, 2vw, 2rem); }
.faces--tall > .portrait:hover { flex-grow: 2.4; translate: 0 -6px; }
.faces--tall .portrait__cut { position: absolute; left: 50% !important; top: auto !important; bottom: 0; width: auto !important; height: 62% !important; max-width: none !important;
  transform: translateX(-50%) !important; opacity: 1 !important; transition: height .9s var(--ease), filter .8s var(--ease) !important; }
.faces--tall > .portrait:hover .portrait__cut { height: 68% !important; }
.faces--tall > .portrait::after { background: linear-gradient(to top, rgba(6,7,11,.35), transparent 30%); }
.faces--tall > .portrait > .fx-frame { opacity: .55; }
.faces--tall > .portrait:hover > .fx-frame { opacity: 1; animation-duration: 6s; }
@media (max-width: 760px) {
  .faces--tall { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  .faces--tall > .portrait { height: auto; aspect-ratio: 3 / 4 !important; margin: 0 !important; }
}

/* Portraits : halo intégré à la couleur du fond + cadre lumineux travaillé */
.portrait .portrait__cut {
  filter: drop-shadow(0 0 1px rgba(205,190,255,.55)) drop-shadow(0 0 16px rgba(120,95,255,.42)) drop-shadow(0 0 46px rgba(110,90,235,.28)) !important;
}
.portrait:hover .portrait__cut, .person:hover .portrait__cut {
  filter: drop-shadow(0 0 1px rgba(255,220,195,.9)) drop-shadow(0 0 20px rgba(150,120,255,.55)) drop-shadow(0 0 60px rgba(255,138,76,.28)) !important;
}
.portrait { border: 0; box-shadow: 0 30px 80px -40px rgba(110,90,235,.55), 0 0 0 1px rgba(241,236,226,.05); }
.portrait > .fx-frame { z-index: 3; opacity: .85; padding: 1.2px;
  background:
    conic-gradient(from var(--fx-a), transparent 0 12%, rgba(255,150,95,.85) 22%, rgba(170,140,255,.7) 32%, transparent 44% 60%, rgba(120,200,255,.45) 70%, rgba(241,236,226,.45) 78%, transparent 88%),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.06) 25%, rgba(255,255,255,.03) 70%, rgba(170,140,255,.18)); }
.portrait > .fx-spot { z-index: 3; }
.portrait::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 22%), radial-gradient(120% 60% at 50% 0%, rgba(170,140,255,.12), transparent 60%); }
.portrait:hover { box-shadow: 0 40px 90px -36px rgba(255,138,76,.45), 0 0 50px -10px rgba(120,95,255,.4); }
