/* =========================================================
   Doriano — Montage podcast
   Style inspiré d'Auros : abysses sarcelle, orbe bioluminescent
   ========================================================= */

:root {
  /* Couleurs */
  --abyss: #012624;
  --deep: #011d1c;
  --kelp: #003734;
  --mist: #edfffe;
  --white: #ffffff;
  --silver: #bbc7c6;
  --ash: #f2f2f2;
  --slate: #707777;
  --lavender: #fde9ff;
  --ink: #222222;
  --teal: #00827c;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --kelp-glass: rgba(3, 81, 75, 0.5);
  --grad-bio: linear-gradient(90deg, rgb(0, 130, 124) 0%, rgb(203, 255, 252) 100%);
  --grad-aurora: linear-gradient(90deg, rgb(203, 255, 252) 0%, rgb(237, 255, 254) 26.25%, rgb(255, 253, 250) 47.57%, rgb(250, 209, 255) 88.96%);

  /* Typographie */
  --font: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Formes et rythme */
  --r-card: 16px;
  --r-sm: 6px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1440px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --nav-h: 80px;
}

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

html {
  background: var(--abyss);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.is-loading, html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--abyss);
  color: var(--silver);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--lavender); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--mist); outline-offset: 3px; border-radius: 4px; }

.has-cursor, .has-cursor * { cursor: none !important; }
[hidden] { display: none !important; }
.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;
}
.scr { color: rgba(203, 255, 252, .55); }

.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--mist); color: var(--abyss); font-weight: 500;
  transform: translateY(-160%); transition: transform .4s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ---------- Typo commune ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--silver);
}
.label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #cbfffc 40%, var(--teal));
  box-shadow: 0 0 12px rgba(203, 255, 252, .7);
}
.idx { color: var(--slate); letter-spacing: .04em; }

.display {
  font-size: clamp(4rem, 17vw, 18.5rem);
  font-weight: 500; line-height: .86;
  letter-spacing: -.055em; color: var(--white);
  margin-left: -.04em;
}
.h2 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 500; line-height: 1; letter-spacing: -.045em;
  color: var(--white);
}
.h3 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  font-weight: 500; line-height: 1; letter-spacing: -.04em;
  color: var(--white);
}

.rec-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lavender); box-shadow: 0 0 10px rgba(253, 233, 255, .9);
  margin-right: 8px; vertical-align: middle;
  animation: blink 1.2s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: .15; } }

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 24px; border-radius: var(--r-sm);
  font-family: Arial, var(--font); font-size: 13px; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: transform .6s var(--ease-out), background-color .4s, border-color .4s, color .4s, background-position .9s var(--ease-out);
}
.btn--sm { height: 44px; padding: 0 18px; font-size: 12px; }
.btn--aurora {
  color: var(--ink);
  background: var(--grad-aurora);
  background-size: 220% 100%;
  background-position: 0% 50%;
}
.btn--aurora::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 1s var(--ease-out);
}
.btn--aurora:hover { background-position: 90% 50%; }
.btn--aurora:hover::after { transform: translateX(110%); }
.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(1, 38, 36, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--kelp); border-color: rgba(237, 255, 254, .45); }

.btn__icon { position: relative; width: 18px; height: 18px; overflow: hidden; }
.btn__icon svg { position: absolute; inset: 0; width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.btn__icon svg:last-child { transform: translate(-120%, 120%); }
.btn:hover .btn__icon svg:first-child { transform: translate(120%, -120%); }
.btn:hover .btn__icon svg:last-child { transform: none; }
.btn__icon:has(use[href="#i-down"]) svg:last-child { transform: translateY(-120%); }
.btn:hover .btn__icon:has(use[href="#i-down"]) svg:first-child { transform: translateY(120%); }
.btn:hover .btn__icon:has(use[href="#i-down"]) svg:last-child { transform: none; }

/* Texte qui « roule » au survol */
.roll { display: inline-flex; overflow: hidden; vertical-align: top; }
.roll > span { position: relative; display: inline-block; transition: transform .6s var(--ease-out); }
.roll > span::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
  white-space: nowrap;
}
a:hover > .roll > span, button:hover > .roll > span, a.roll:hover > span, .btn:hover .roll > span { transform: translateY(-100%); }

.arrow-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--kelp-glass); color: var(--white);
  transition: transform .6s var(--ease-out), background-color .4s, color .4s;
}
.arrow-btn svg { width: 16px; height: 16px; transition: transform .6s var(--ease-out); }
.arrow-btn--lg { width: 56px; height: 56px; }
.arrow-btn--lg svg { width: 24px; height: 24px; }

/* ---------- Écran de chargement ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 400;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 24px;
  padding: 32px var(--gutter);
  background: var(--deep);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-in-out);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.loader__tc { font-size: 12px; color: var(--mist); letter-spacing: .06em; }
.loader__count {
  align-self: end;
  font-size: clamp(6rem, 26vw, 24rem); font-weight: 500; line-height: .8;
  letter-spacing: -.06em; color: var(--lavender);
  font-feature-settings: 'tnum' 1;
  transition: transform 1s var(--ease-in-out), opacity .6s;
}
.loader.is-done .loader__count { transform: translateY(-30%); opacity: 0; }
.loader__pct { font-size: .28em; letter-spacing: -.02em; vertical-align: top; margin-left: .1em; color: var(--silver); }
.loader__bar { height: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--grad-bio); transform-origin: left; transform: scaleX(0); }

/* ---------- Calques fixes ---------- */
.orb {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}
.grain {
  position: fixed; inset: -100%; z-index: 150; pointer-events: none;
  opacity: .055;
  background-image: var(--noise, none);
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-8%, 5%); }
  40% { transform: translate(6%, -9%); }
  60% { transform: translate(-4%, 11%); }
  80% { transform: translate(10%, 3%); }
  100% { transform: translate(0, 0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad-bio); transform-origin: left; transform: scaleX(0); }

.hud {
  position: fixed; right: 10px; top: 50%; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-size: 10px; letter-spacing: .14em; color: var(--mist);
  padding: 12px 7px; border-radius: var(--r-sm);
  background: rgba(1, 29, 28, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft);
  opacity: 0;
  transition: opacity .6s;
  pointer-events: none;
}
.hud .rec-dot { margin: 0; }
.hud__tc { color: var(--silver); }
.is-ready .hud.is-on { opacity: 1; }

/* ---------- Curseur ----------
   Cœur clair cerclé d'un liseré sombre : lisible sur le fond sarcelle comme sur une image claire.
   Placé au-dessus de tout, lecteur vidéo compris. */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor.is-visible { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot {
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--mist);
  box-shadow: 0 0 0 2px rgba(1, 29, 28, .55), 0 0 14px rgba(203, 255, 252, .6);
  transition: opacity .3s, width .3s, height .3s, margin .3s;
}
.cursor__ring {
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border: 2px solid var(--mist);
  box-shadow: 0 0 0 1px rgba(1, 29, 28, .4), inset 0 0 0 1px rgba(1, 29, 28, .4);
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .4s, border-color .4s, box-shadow .4s;
}
/* Onde qui pulse autour du bouton « Lire » */
.cursor__ring::after {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--mist); opacity: 0; pointer-events: none;
}
.cursor__label {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: Arial, var(--font); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .5s var(--ease-out);
  white-space: nowrap;
}
.cursor__label::before {
  content: ''; display: none; width: 18px; height: 20px; margin-left: 5px;
  background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.cursor[data-state="link"] .cursor__ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(237, 255, 254, .16); }
.cursor[data-state="link"] .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.cursor[data-state="play"] .cursor__ring {
  width: 108px; height: 108px; margin: -54px 0 0 -54px;
  background: var(--grad-aurora); border-color: transparent;
  box-shadow: 0 0 0 4px rgba(1, 29, 28, .5);
}
.cursor[data-state="play"] .cursor__ring::after { animation: cursor-pulse 1.8s var(--ease-out) infinite; }
.cursor[data-state="play"] .cursor__label { opacity: 1; transform: none; }
.cursor[data-state="play"] .cursor__label::before { display: block; }
.cursor[data-state="play"] .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
.cursor.is-down[data-state="play"] .cursor__ring { width: 94px; height: 94px; margin: -47px 0 0 -47px; }
@keyframes cursor-pulse {
  from { transform: scale(1); opacity: .9; }
  to { transform: scale(1.5); opacity: 0; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: transform .7s var(--ease-out), background-color .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.js .nav { transform: translateY(-100%); }
.is-ready .nav { transform: none; }
.nav.is-scrolled {
  background: rgba(1, 38, 36, .6);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line-soft);
}
.is-ready .nav.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); z-index: 2; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fff 0%, #cbfffc 22%, var(--teal) 62%, var(--abyss) 100%);
  box-shadow: 0 0 18px rgba(203, 255, 252, .35);
  transition: transform .8s var(--ease-out);
}
.brand:hover .brand__mark { transform: scale(1.18) rotate(90deg); }
.brand__name { font-size: 19px; font-weight: 500; letter-spacing: -.03em; }
.brand__tag {
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--silver);
  padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18);
}

.nav__links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 28px;
}
.nav__links a {
  position: relative; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--silver); transition: color .3s; padding: 6px 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 50%; bottom: -4px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--mist); transform: scale(0); transition: transform .5s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a.is-active::after { transform: scale(1); }

.burger { display: none; position: relative; z-index: 2; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--kelp-glass); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--white); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 39;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  background: var(--deep);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a {
  font-size: clamp(2.6rem, 12vw, 4.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.05;
  color: var(--white);
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s, transform .8s var(--ease-out);
  transition-delay: calc(var(--i) * 60ms + 200ms);
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu__foot { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--silver); }

/* ---------- Révélations ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] img { clip-path: inset(100% 0 0 0); scale: 1.25; transition: clip-path 1.4s var(--ease-in-out), scale 1.8s var(--ease-out), filter .8s; }
.js [data-reveal="clip"].is-in img { clip-path: inset(0 0 0 0); scale: 1.02; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .12em; margin: -.1em 0 -.12em; }
.hero__title .w { padding-bottom: .2em; margin-bottom: -.2em; }
.w__i { display: inline-block; }
.c { display: inline-block; }
.js [data-split] .w__i { transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w__i { transform: none; }
.js [data-split="chars"] .w__i { transform: none; }
.js [data-split="chars"] .c { transform: translateY(105%) rotate(8deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 32ms); }
.js [data-split="chars"].is-in .c { transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 120px;
  overflow: hidden;
}
.hero__inner { position: relative; max-width: 1180px; will-change: transform; }
.hero__eyebrow { justify-content: center; }
.hero__title {
  margin: 28px 0 26px;
  font-size: clamp(3.6rem, min(13.2vw, 23vh), 13.5rem);
  font-weight: 500; line-height: .88; letter-spacing: -.058em;
  color: var(--white);
}
.hero__title .line { display: block; padding: 0 .04em; }
.orb-dot {
  display: inline-block; width: .16em; height: .16em; margin-left: .05em; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #cbfffc 30%, var(--teal) 75%);
  box-shadow: 0 0 .25em rgba(203, 255, 252, .7);
  vertical-align: baseline;
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 .5em rgba(203, 255, 252, .95); transform: scale(1.08); } }

.hero__rotator {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem); color: var(--mist); font-weight: 500; letter-spacing: -.02em;
  min-height: 1.4em;
}
.hero__rotator-label { font-size: .62em; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); font-weight: 400; }
.hero__rotator-text { min-width: 12ch; text-align: left; white-space: nowrap; }
.hero__lead { max-width: 560px; margin: 18px auto 0; font-size: 17px; line-height: 1.5; color: var(--mist); text-shadow: 0 1px 14px rgba(1, 38, 36, .95), 0 0 2px rgba(1, 38, 36, .8); }
.hero__rotator, .hero__eyebrow { text-shadow: 0 1px 14px rgba(1, 38, 36, .95); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

.js [data-hero] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .is-ready [data-hero], .js.is-ready [data-hero] { opacity: 1; transform: none; }
.is-ready [data-hero="1"] { transition-delay: .15s; }
.is-ready [data-hero="2"] { transition-delay: .75s; }
.is-ready [data-hero="3"] { transition-delay: .9s; }
.is-ready [data-hero="4"] { transition-delay: 1.05s; }

.viewfinder { position: absolute; inset: calc(var(--nav-h) + 12px) var(--gutter) 28px; pointer-events: none; }
.viewfinder > i { position: absolute; width: 30px; height: 30px; border: 1.5px solid rgba(237, 255, 254, .45); transition: transform 1.4s var(--ease-out), opacity 1s; }
.viewfinder > i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.viewfinder > i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.viewfinder > i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.viewfinder > i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.js .viewfinder > i { opacity: 0; }
.js .viewfinder > i:nth-child(1) { transform: translate(40px, 40px); }
.js .viewfinder > i:nth-child(2) { transform: translate(-40px, 40px); }
.js .viewfinder > i:nth-child(3) { transform: translate(40px, -40px); }
.js .viewfinder > i:nth-child(4) { transform: translate(-40px, -40px); }
.is-ready .viewfinder > i { opacity: 1; transform: none !important; transition-delay: .3s; }
.vf { position: absolute; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); opacity: .8; display: inline-flex; align-items: center; }
.vf--tl { top: 8px; left: 44px; }
.vf--tr { top: 8px; right: 44px; color: var(--silver); }
.vf--bl { bottom: 8px; left: 44px; color: var(--silver); }
.vf--br { bottom: 8px; right: 44px; }
.js .vf { opacity: 0; transition: opacity 1s .8s; }
.is-ready .vf { opacity: .8; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--silver);
}
.scroll-cue__line { position: relative; width: 1px; height: 54px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.scroll-cue__line::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--mist); animation: cue 2s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.js .scroll-cue { opacity: 0; transition: opacity 1s 1.4s; }
.is-ready .scroll-cue { opacity: 1; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  position: relative; padding: 26px 0; overflow: hidden;
  border-block: 1px solid var(--line-soft);
  display: grid; gap: 6px;
  user-select: none;
}
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span {
  font-size: clamp(2.6rem, 7.2vw, 6.6rem); font-weight: 500; line-height: 1.04;
  letter-spacing: -.045em; color: var(--white);
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.marquee__star { width: clamp(1rem, 2.4vw, 2rem); height: clamp(1rem, 2.4vw, 2rem); margin: 0 clamp(1rem, 2.6vw, 2.4rem); color: var(--lavender); transition: transform 1s var(--ease-out); }
.marquee__row--outline .marquee__group span { color: transparent; -webkit-text-stroke: 1px rgba(237, 255, 254, .5); }
.marquee__row--outline .marquee__star { color: rgba(237, 255, 254, .6); }
.marquee:hover .marquee__star { transform: rotate(180deg); }
.marquee__row--outline .marquee__group span:hover { color: var(--white); -webkit-text-stroke-color: transparent; }

/* ---------- Sections : en-têtes ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.section-head .h2 { margin-top: 18px; }
.section-head__aside { max-width: 380px; color: var(--mist); font-size: 16px; text-shadow: 0 1px 14px rgba(1, 38, 36, .95), 0 0 2px rgba(1, 38, 36, .8); }

.sub-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px 40px; }
.sub-head__title { display: flex; align-items: flex-start; gap: 16px; }
.sub-head__num {
  display: grid; place-items: center; width: 28px; height: 28px; margin-top: 6px;
  border-radius: var(--r-sm); background: var(--kelp); color: var(--mist); font-size: 12px;
}
.sub-head__text { max-width: 420px; color: var(--silver); font-size: 16px; padding-bottom: 4px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist);
  padding-bottom: 6px;
}
.chip__num { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.045em; color: var(--lavender); text-transform: none; line-height: 1; }

/* ---------- CLIENTS ---------- */
.clients { position: relative; padding: clamp(110px, 14vw, 180px) 0 clamp(90px, 10vw, 140px); }
.clients__list { border-top: 1px solid var(--line); }
.client {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px;
  padding: 30px 16px; border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.client::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--kelp);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .7s var(--ease-out);
}
.client:hover::before { transform: scaleY(1); }
.client__num { font-size: 12px; color: var(--slate); transition: color .4s; }
.client:hover .client__num { color: var(--mist); }
.client__avatar { display: none; }
.client__name {
  font-size: clamp(1.9rem, 4.6vw, 4.2rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em;
  color: var(--white); transition: transform .7s var(--ease-out);
}
.client:hover .client__name { transform: translateX(18px); }
.client__role { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); text-align: right; transition: color .4s; }
.client:hover .client__role { color: var(--mist); }

.follower { position: fixed; left: 0; top: 0; z-index: 35; pointer-events: none; will-change: transform; }
.follower__inner {
  width: 170px; height: 170px; margin: -85px 0 0 -85px;
  border-radius: var(--r-card); overflow: hidden; background: var(--kelp);
  opacity: 0; transform: scale(.4) rotate(-8deg);
  transition: opacity .35s, transform .6s var(--ease-out);
}
.follower.is-on .follower__inner { opacity: 1; transform: scale(1) rotate(var(--rot, 0deg)); }
.follower img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- PORTFOLIO ---------- */
.portfolio { position: relative; background: var(--abyss); padding-top: clamp(100px, 12vw, 160px); }
.portfolio__head { position: relative; }
.portfolio__head .display { margin-top: 20px; }
.portfolio__intro { max-width: 480px; margin: 28px 0 0 auto; font-size: 17px; }
/* Consigne adaptée : souris (survol) ou écran tactile */
.only-touch { display: none; }
@media (hover: none) {
  .only-hover { display: none; }
  .only-touch { display: inline; }
}

/* Défilement horizontal */
.hscroll { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.hscroll__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px);
  padding-top: calc(var(--nav-h) - 10px);
}
.hscroll__track { display: flex; align-items: flex-start; gap: clamp(20px, 2.6vw, 36px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hscroll__ui { display: flex; align-items: center; gap: 24px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.hscroll__count b { color: var(--white); font-weight: 500; }
.ruler {
  position: relative; flex: 1; height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 10%) bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 2%) bottom / 100% 7px no-repeat;
}
.ruler__fill { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad-bio); transform-origin: left; transform: scaleX(0); }

.pod-card { flex: none; width: min(62vw, 800px, calc((100vh - 380px) * 1.7778)); }
.skim {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-card); overflow: hidden; background: var(--kelp);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-out);
}
.skim__frames { position: absolute; inset: 0 -6%; display: block; will-change: transform; }
.skim__frame {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity .25s, transform 1.2s var(--ease-out);
}
.skim__frame.is-active { opacity: 1; }
.skim:hover .skim__frame { transform: scale(1.07); }
.skim::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(1, 29, 28, 0) 50%, rgba(1, 29, 28, .75) 100%);
}
.skim__playhead {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 2px;
  background: var(--mist); box-shadow: 0 0 14px rgba(203, 255, 252, .9);
  opacity: 0; transition: opacity .3s;
}
.skim__tc {
  position: absolute; top: 14px; left: 8px;
  padding: 4px 7px; border-radius: 4px; white-space: nowrap;
  font-size: 11px; letter-spacing: .04em; color: var(--mist);
  background: rgba(1, 29, 28, .85);
}
.skim__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, .12); opacity: 0; transition: opacity .3s; }
.skim__bar i { display: block; height: 100%; background: var(--grad-bio); transform-origin: left; transform: scaleX(var(--p, 0)); }
.skim:hover .skim__playhead, .skim:hover .skim__bar { opacity: 1; }
.pod-card__badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  padding: 7px 10px; border-radius: var(--r-sm);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist);
  background: rgba(1, 29, 28, .7);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .6s var(--ease-out);
}
.skim:hover .pod-card__badge { transform: translateY(-8px); }
.pod-card__play {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad-aurora); color: var(--ink);
  transform: scale(.6); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s;
}
.pod-card__play svg { width: 20px; height: 20px; margin-left: 3px; }
.skim:hover .pod-card__play, .skim:focus-visible .pod-card__play { transform: none; opacity: 1; }
.has-cursor .skim:hover .pod-card__play { opacity: 0; }

.pod-card__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin-top: 22px; padding-right: 10%; }
.pod-card__index { grid-row: span 2; font-size: 12px; color: var(--slate); padding-top: 6px; }
.pod-card__title { font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--white); }
.pod-card__client { font-size: 14px; color: var(--silver); }

.pod-end {
  flex: none; align-self: stretch;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  width: min(30vw, 380px); padding: 36px;
  border-radius: var(--r-card); background: var(--kelp);
  transition: background-color .5s;
}
.pod-end__title { font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--white); }
.pod-end:hover { background: #014a46; }
.pod-end:hover .arrow-btn { background: var(--mist); color: var(--abyss); }
.pod-end:hover .arrow-btn svg { transform: rotate(45deg); }

/* Introductions */
.intros { padding-top: clamp(110px, 12vw, 170px); }
.monitor { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; margin-top: 56px; align-items: start; }
.monitor__screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden;
  background: #000; border: 1px solid var(--line);
}
.monitor__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; justify-content: space-between; padding: 14px 18px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist);
  background: linear-gradient(rgba(1, 29, 28, .8), transparent);
  pointer-events: none; transition: opacity .4s;
}
.monitor__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s, transform 1.4s var(--ease-out), filter .45s;
}
.monitor__screen:hover .monitor__poster { transform: scale(1.04); }
.monitor__screen.is-switching .monitor__poster { opacity: 0; filter: blur(12px); transform: scale(1.08); }
.monitor__screen::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px);
  opacity: 0; transition: opacity .3s;
}
.monitor__screen.is-switching::before { opacity: 1; }
.monitor__screen::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(1, 29, 28, .85) 100%);
  transition: opacity .4s;
}
.monitor__player { position: absolute; inset: 0; z-index: 6; }
.monitor__player:empty { display: none; }
.monitor__player iframe, .monitor__player video { width: 100%; height: 100%; border: 0; background: #000; }
.monitor__play { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; }
.monitor__play-btn {
  position: relative; display: grid; place-items: center;
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--grad-aurora); color: var(--ink);
  transition: transform .7s var(--ease-out);
}
.monitor__play-btn::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(237, 255, 254, .5);
  animation: ripple 2.4s var(--ease-out) infinite;
}
@keyframes ripple { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.monitor__play-btn svg { width: 28px; height: 28px; margin-left: 4px; }
.monitor__play:hover .monitor__play-btn { transform: scale(1.1); }
.has-cursor .monitor__play-btn { opacity: .95; }
.monitor__caption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 4; pointer-events: none; transition: opacity .4s, transform .6s var(--ease-out); }
.monitor__title { margin-top: 8px; font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; color: var(--white); max-width: 30ch; }
.monitor__screen.is-playing .monitor__caption,
.monitor__screen.is-playing .monitor__bar,
.monitor__screen.is-playing::after { opacity: 0; }

.playlist { display: flex; flex-direction: column; gap: 6px; }
.playlist__item {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; display: grid; grid-template-columns: 26px 92px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px; border-radius: var(--r-sm);
  transition: background-color .4s;
}
.playlist__item::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
  background: var(--grad-bio); transform: scaleY(0); transition: transform .5s var(--ease-out);
}
.playlist__item:hover { background: rgba(0, 55, 52, .55); }
.playlist__item.is-active { background: var(--kelp); }
.playlist__item.is-active::before { transform: none; }
.playlist__num { font-size: 11px; color: var(--slate); text-align: center; }
.playlist__item.is-active .playlist__num { color: var(--mist); }
.playlist__thumb { display: block; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--deep); }
.playlist__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.playlist__item:hover .playlist__thumb img { transform: scale(1.12); }
.playlist__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.playlist__title { font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--white); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.playlist__client { font-size: 12px; color: var(--silver); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.playlist__dur { font-size: 11px; color: var(--silver); }

/* Clipping */
.clips { padding: clamp(110px, 12vw, 170px) 0 clamp(110px, 12vw, 170px); overflow: hidden; }
.clips__deck {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px);
  margin-top: 64px;
}
.clip {
  position: relative; display: block; aspect-ratio: 9 / 16;
  transform-origin: 50% 110%;
  will-change: transform;
}
.clip__inner {
  position: absolute; inset: 0; display: block; overflow: hidden;
  border-radius: var(--r-card); background: var(--kelp);
  transition: transform .7s var(--ease-out);
}
.clip:hover .clip__inner, .clip:focus-visible .clip__inner { transform: translateY(-14px) scale(1.03); }
.clip__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.85); }
.clip:hover .clip__video { transform: scale(1.04); filter: none; }
.clip__inner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(1, 29, 28, .1) 55%, rgba(1, 29, 28, .85) 100%);
}
.clip__ui {
  position: absolute; left: 12px; right: 12px; bottom: 16px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12px; color: var(--white);
}
.clip__client { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip__dur { font-size: 11px; color: var(--silver); }
.clip__mute {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-sm);
  background: rgba(1, 29, 28, .6); color: var(--mist);
  opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease-out);
}
.clip__mute svg { width: 14px; height: 14px; }
.clip.is-playing .clip__mute { opacity: 1; transform: none; }
.clip__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, .12); }
.clip__bar i { display: block; height: 100%; background: var(--grad-bio); transform-origin: left; transform: scaleX(0); }
.clips__hint { margin-top: 28px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); text-align: center; }

/* ---------- MÉTHODE ---------- */
.method { position: relative; background: var(--deep); }
.method__pin { height: 420vh; }
.method__sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-rows: auto 1fr auto; gap: clamp(16px, 3vh, 36px);
  padding: calc(var(--nav-h) + 8px) 0 clamp(20px, 4vh, 44px);
  overflow: hidden;
}
.method__head .h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.6vw, 3.6rem); max-width: 24ch; }
.method__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 0; }

.viewer {
  position: relative; height: 100%; max-height: 44vh; min-height: 240px;
  border-radius: var(--r-card); overflow: hidden;
  background:
    radial-gradient(80% 90% at 85% 0%, rgba(0, 130, 124, .35), transparent 60%),
    var(--kelp);
  border: 1px solid var(--line-soft);
}
.viewer__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; padding: 16px 20px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist);
  border-bottom: 1px solid var(--line-soft);
}
.viewer__bar b { font-weight: 500; color: var(--lavender); }
.viewer__step {
  position: absolute; inset: 0; padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  opacity: 0; transform: translateY(26px); filter: blur(10px);
  transition: opacity .6s, transform .9s var(--ease-out), filter .6s;
  pointer-events: none;
}
.viewer__step.is-active { opacity: 1; transform: none; filter: none; }
.viewer__step.is-past { transform: translateY(-26px); }
.viewer__num {
  position: absolute; top: clamp(44px, 6vh, 64px); right: clamp(20px, 3vw, 36px);
  font-size: clamp(5rem, 11vw, 10rem); font-weight: 500; line-height: .85; letter-spacing: -.06em;
  color: var(--lavender);
}
.viewer__title { font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--white); max-width: 14ch; }
.viewer__step p { max-width: 42ch; font-size: 16px; }

.method__note { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 24px; }
.method__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.method__list li {
  display: flex; align-items: center; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; color: rgba(255, 255, 255, .3);
  transition: color .5s, padding-left .7s var(--ease-out);
}
.method__list li span { font-size: 12px; color: var(--slate); transition: color .5s; }
.method__list li.is-active { color: var(--white); padding-left: 12px; }
.method__list li.is-active span { color: var(--lavender); }
.method__list li.is-done { color: rgba(237, 255, 254, .6); }

.timeline__box {
  position: relative; padding: 12px 16px 14px 60px;
  border-radius: var(--r-card); background: var(--abyss); border: 1px solid var(--line-soft);
}
.timeline__ruler { position: relative; height: 26px; margin-bottom: 6px; }
.timeline__ruler i { position: absolute; bottom: 0; width: 1px; height: 6px; background: rgba(255, 255, 255, .18); }
.timeline__ruler i.is-major { height: 12px; background: rgba(255, 255, 255, .35); }
.timeline__ruler b { position: absolute; top: 0; font: 400 10px/1 var(--mono); color: var(--slate); transform: translateX(-50%); letter-spacing: .04em; }
.track { position: relative; display: flex; align-items: center; height: 40px; }
.track + .track { margin-top: 6px; }
.track__name { position: absolute; left: -44px; font-size: 11px; color: var(--slate); }
.track__lane { position: relative; flex: 1; height: 100%; border-radius: var(--r-sm); background: rgba(255, 255, 255, .02); }
.track__lane--keys { height: 22px; background: none; }
.track__lane--keys i {
  position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  transform: rotate(45deg); background: rgba(237, 255, 254, .22); transition: background-color .4s, transform .5s var(--ease-out);
}
.track__lane--keys i.is-hit { background: var(--lavender); transform: rotate(45deg) scale(1.3); }
.t-clip {
  position: absolute; top: 0; bottom: 0; left: calc(var(--l) + 2px); width: calc(var(--w) - 4px);
  display: flex; align-items: center; padding: 0 12px;
  border-radius: var(--r-sm); overflow: hidden; white-space: nowrap;
  font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--mist);
  background: rgba(0, 130, 124, .2); border: 1px solid rgba(203, 255, 252, .14);
  transition: background .5s, color .5s, border-color .5s;
}
.t-clip.is-done { background: rgba(0, 130, 124, .42); border-color: rgba(203, 255, 252, .3); }
.t-clip.is-active { background: var(--grad-bio); color: var(--abyss); border-color: transparent; }
.track__lane--wave { overflow: hidden; }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave--played { clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }
.timeline__playhead {
  position: absolute; top: 8px; bottom: 8px; left: 60px; width: 2px; z-index: 3;
  background: var(--lavender); box-shadow: 0 0 16px rgba(253, 233, 255, .8);
  will-change: transform;
}
.timeline__playhead span {
  position: absolute; top: -6px; left: 50%; width: 14px; height: 12px; margin-left: -7px;
  background: var(--lavender); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}

.method__mobile { display: none; }

/* ---------- QUI SUIS-JE ---------- */
.about { position: relative; padding: clamp(120px, 14vw, 200px) 0 clamp(100px, 12vw, 160px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.about__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden;
  background: var(--kelp);
}
.about__photo img {
  position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 58% 40%;
  filter: grayscale(1) contrast(1.06);
  transform: translateY(var(--py, 0px));
  scale: 1.02;
  transition: filter .8s;
}
.about__photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgb(0, 130, 124), rgb(250, 209, 255));
  mix-blend-mode: color; opacity: 0; transition: opacity .8s;
}
.about__photo:hover::after { opacity: .55; }
.about__caption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  padding: 7px 10px; border-radius: var(--r-sm);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist);
  background: rgba(1, 29, 28, .7);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.manifesto {
  margin-top: 28px;
  font-size: clamp(1.55rem, 3vw, 2.85rem); font-weight: 500; line-height: 1.16; letter-spacing: -.032em;
  color: var(--white);
}
.manifesto .mw { opacity: .16; transition: opacity .5s; }
.manifesto .mw.is-lit { opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); }
.stat { padding: 36px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num {
  font-size: clamp(2.6rem, 5.6vw, 5.4rem); font-weight: 500; line-height: 1; letter-spacing: -.046em;
  color: var(--lavender); white-space: nowrap;
  transition: text-shadow .6s;
}
.stat:hover .stat__num { text-shadow: 0 0 32px rgba(253, 233, 255, .45); }
.stat__label { margin-top: 14px; font-size: 13px; letter-spacing: .055em; text-transform: uppercase; color: var(--mist); }

.channel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(70px, 9vw, 120px); padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-card); background: var(--kelp);
}
.channel__id { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.channel__id > div { display: flex; flex-direction: column; gap: 6px; }
.channel__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; transition: transform .8s var(--ease-out); }
.channel:hover .channel__avatar { transform: rotate(-12deg) scale(1.06); }
.channel__name { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; color: var(--white); }
.channel__meta { font-size: 12px; color: var(--silver); letter-spacing: .02em; }
.channel__text { font-size: 15px; max-width: 34ch; }
.channel__videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yt-card { display: flex; flex-direction: column; gap: 12px; }
.yt-card__img { display: block; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--deep); }
.yt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.yt-card:hover .yt-card__img img { transform: scale(1.08); }
.yt-card__views { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lavender); }
.yt-card__title { font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--white); letter-spacing: -.01em; }

/* ---------- CONTACT ---------- */
.contact { position: relative; padding: clamp(130px, 16vw, 230px) 0 clamp(110px, 12vw, 170px); text-align: center; }
.contact__label { justify-content: center; }
.contact__title {
  margin: 26px auto 0; max-width: 15ch;
  font-size: clamp(2.6rem, 7.6vw, 7.4rem); font-weight: 500; line-height: .98; letter-spacing: -.052em;
  color: var(--white);
}
.contact__sub { margin-top: 26px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--mist); }
.contact__rows { max-width: 980px; margin: clamp(56px, 7vw, 90px) auto 0; display: grid; gap: 12px; text-align: left; }
.row-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px;
  padding: 26px 30px; border-radius: var(--r-card);
  background: rgba(0, 55, 52, .62);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-soft);
}
.row-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 130, 124, .55), rgba(0, 55, 52, 0) 85%);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
.row-card:hover::before, .row-card:focus-within::before { transform: none; }
.row-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--kelp-glass); color: var(--mist); transition: transform .7s var(--ease-out); }
.row-card__icon svg { width: 22px; height: 22px; }
.row-card:hover .row-card__icon { transform: rotate(-10deg) scale(1.06); }
.row-card__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row-card__value {
  font-size: clamp(1.25rem, 2.9vw, 2.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; color: var(--white);
  overflow-wrap: anywhere; transition: transform .7s var(--ease-out);
}
.row-card:hover .row-card__value { transform: translateX(10px); }
.row-card:hover .arrow-btn { background: var(--mist); color: var(--abyss); }
.row-card:hover .arrow-btn svg { transform: rotate(45deg); }
.row-card--split { grid-template-columns: minmax(0, 1fr) auto; padding: 0; }
.row-card__link { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; padding: 26px 0 26px 30px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-right: 30px;
  height: 44px; padding: 0 16px; border-radius: var(--r-sm);
  font-family: Arial, var(--font); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  background: var(--kelp-glass); border: 1px solid var(--line);
  transition: background-color .4s, color .4s;
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: var(--mist); color: var(--abyss); }

/* ---------- PIED DE PAGE ---------- */
.footer { background: var(--deep); padding: clamp(80px, 10vw, 120px) 0 28px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer__pitch { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; color: var(--white); max-width: 22ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.footer__links a:hover { color: var(--white); }
.footer__giant {
  display: flex; justify-content: center;
  margin: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 36px);
  font-size: clamp(4.6rem, 21.5vw, 24rem); font-weight: 500; line-height: .78; letter-spacing: -.065em;
  color: var(--white);
  user-select: none;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, .25) 100%);
  mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, .25) 100%);
  overflow: hidden; padding-top: .06em;
}
.footer__giant span { display: inline-block; transform: translateY(var(--fy, 0%)); will-change: transform; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver);
}
.to-top { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); transition: transform .6s var(--ease-out); }
.to-top svg { width: 14px; height: 14px; transition: transform .6s var(--ease-out); }
.to-top:hover svg { transform: translateY(-4px); }

/* ---------- Lecteur vidéo ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 72px 20px 24px;
  visibility: hidden;
  clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.lightbox.is-open { visibility: visible; clip-path: circle(160vmax at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(1, 29, 28, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lightbox__dialog { position: relative; display: flex; flex-direction: column; gap: 18px; width: min(92vw, 1240px, calc((100vh - 200px) * 16 / 9)); }
.lightbox[data-ratio="9/16"] .lightbox__dialog { width: min(92vw, calc((100vh - 200px) * 9 / 16)); }
.lightbox__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; }
.lightbox[data-ratio="9/16"] .lightbox__frame { aspect-ratio: 9 / 16; }
.lightbox__frame iframe, .lightbox__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.lightbox__bar > div { min-width: 0; }
.lightbox__bar .btn { flex: none; }
@media (max-width: 560px) {
  .lightbox__bar { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.lightbox__title { margin-top: 6px; font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 500; color: var(--white); letter-spacing: -.02em; line-height: 1.25; }
.lightbox[data-ratio="9/16"] .lightbox__bar { flex-direction: column; align-items: flex-start; }
.lightbox__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm);
  background: var(--kelp); color: var(--white);
  transition: background-color .4s, color .4s, transform .6s var(--ease-out);
}
.lightbox__close svg { width: 22px; height: 22px; transition: transform .6s var(--ease-out); }
.lightbox__close:hover { background: var(--mist); color: var(--abyss); }
.lightbox__close:hover svg { transform: rotate(90deg); }
.lightbox .lightbox__dialog { transform: translateY(40px) scale(.96); opacity: 0; transition: transform 1s var(--ease-out) .2s, opacity .6s .2s; }
.lightbox.is-open .lightbox__dialog { transform: none; opacity: 1; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 320;
  padding: 14px 20px; border-radius: var(--r-sm);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist);
  background: var(--kelp); border: 1px solid rgba(237, 255, 254, .2);
  transform: translate(-50%, calc(100% + 60px)); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .4s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .brand__tag { display: none; }
  .monitor { grid-template-columns: 1fr; }
  .playlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clips__deck { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .channel { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .hud { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .sub-head { grid-template-columns: 1fr; gap: 14px; }

  .client { grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 8px; }
  .client__num { display: none; }
  .client__avatar { display: block; grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
  .client__role { grid-column: 2; text-align: left; margin-top: -8px; }
  .follower { display: none; }

  /* Podcasts : carrousel natif */
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: relative; height: auto; padding-top: 0; overflow: visible; }
  .hscroll__track {
    width: auto; transform: none !important;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 12px; scrollbar-width: none;
  }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .pod-card { width: 84vw; scroll-snap-align: center; }
  .pod-end { width: 70vw; aspect-ratio: auto; min-height: 260px; scroll-snap-align: center; }
  .hscroll__ui { display: none; }
  .pod-card__play { opacity: 1; transform: none; width: 46px; height: 46px; }

  .playlist { grid-template-columns: 1fr; }

  .clips__deck {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding: 16px var(--gutter) 12px;
    scrollbar-width: none;
  }
  .clips__deck::-webkit-scrollbar { display: none; }
  .clip { flex: 0 0 56vw; scroll-snap-align: center; transform: none !important; }
  .clips__hint { display: none; }

  .method__pin { display: none; }
  .method__mobile {
    display: grid; gap: 14px; padding-top: 110px; padding-bottom: 110px;
    counter-reset: step;
  }
  .method__mobile::before {
    content: 'Ma méthode'; display: block; margin-bottom: 12px;
    font-size: clamp(2.4rem, 11vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; color: var(--white);
  }
  .method__mobile li { padding: 26px 24px; border-radius: var(--r-card); background: var(--kelp); }
  .method__mobile li span { font-size: 12px; color: var(--lavender); }
  .method__mobile h3 { margin: 10px 0 8px; font-size: 1.6rem; font-weight: 500; letter-spacing: -.035em; color: var(--white); }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: 4 / 3.4; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .channel__videos { grid-template-columns: 1fr; }
  .yt-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 6px 14px; text-align: left; }
  .yt-card__img { grid-row: span 2; }

  .row-card { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 16px; }
  .row-card .arrow-btn { display: none; }
  .row-card--split { grid-template-columns: 1fr; padding: 0; }
  .row-card__link { padding: 20px 20px 8px; gap: 16px; }
  .copy-btn { margin: 0 20px 20px; justify-self: start; }
  .row-card__icon { width: 44px; height: 44px; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .vf--tr, .vf--bl { display: none; }
}

@media (max-width: 560px) {
  .hero__title { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero__lead { font-size: 16px; }
  .btn { height: 50px; padding: 0 18px; }
  .hero__ctas .btn { width: 100%; }
  .viewfinder { inset: calc(var(--nav-h) + 8px) 12px 16px; }
  .vf--tl { left: 38px; }
  .vf--br { right: 38px; }
  .scroll-cue { display: none; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat__label { font-size: 11px; }
  .row-card__value { font-size: 1.15rem; }
  .playlist__item { grid-template-columns: 22px 76px minmax(0, 1fr); }
  .playlist__dur { display: none; }
}

/* Écrans d'ordinateur peu hauts : la timeline de la méthode se resserre */
@media (min-width: 901px) and (max-height: 800px) {
  .method__head .h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); }
  .method__sticky { gap: 16px; }
  .track { height: 32px; }
  .timeline__ruler + .track { display: none; }
  .viewer { min-height: 190px; }
  .viewer__num { font-size: clamp(4rem, 8vw, 6.5rem); }
  .viewer__step p { font-size: 15px; }
  .method__list li { padding: 12px 0; font-size: 1.15rem; }
}

/* =========================================================
   Mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-hero], .js [data-split] .w__i, .js [data-split="chars"] .c { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .grain { display: none; }
  .skim, .clip__inner { transition: none; }
}
