/* GOODbowl v2
   Reprise fidele de la mise en scene de la reference, en palette lime.
   Les tokens (couleurs, courbes, typo) viennent de tokens.css. */

:root {
  --nav-h: 84px;
  --grid: 148px;
  --grid-line: rgba(255, 255, 255, 0.028);
  --r-lg: 40px;
  --glass-dark: rgba(44, 44, 44, 0.55);
  --glass-line: rgba(255, 255, 255, 0.1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.02; }
p, figure, blockquote { margin: 0; }
img, video, canvas { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Grille fine et croix aux intersections, comme sur la reference. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='148' height='148'%3E%3Cpath d='M74 67v14M67 74h14' stroke='%23ffffff' stroke-opacity='.1' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: -74px -74px, 0 0, 0 0;
}
main, .foot { position: relative; z-index: 1; }

/* ---------- Composants ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem; line-height: 1.2; white-space: nowrap;
}
.pill--dot::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor;
}
.pill--soft { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); }

/* Bouton pastille: cercle lime qui s'etend a toute la pastille au survol. */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 24px 0 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem; font-weight: 500; white-space: nowrap;
  transition: color 0.5s var(--ease);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); border-radius: inherit;
  clip-path: circle(20px at 26px 50%);
  transition: clip-path 0.7s var(--ease);
}
.cta:hover { color: var(--accent-ink); }
.cta:hover::before { clip-path: circle(150% at 26px 50%); }
.cta:active { transform: scale(0.98); }
.cta__icon {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center; color: var(--accent-ink);
}
.cta__icon svg { width: 18px; height: auto; }
.cta--lg { height: 60px; padding-right: 30px; font-size: 1rem; }
.cta--lg .cta__icon { width: 48px; height: 48px; }
.cta--lg::before { clip-path: circle(24px at 30px 50%); }
.cta--lg:hover::before { clip-path: circle(150% at 30px 50%); }

.tab {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 28px;
  border-radius: 14px 14px 0 0;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; white-space: nowrap;
  transition: background-color 0.3s var(--ease-out);
}
.tab:hover { background: #b6ef55; }
.tab svg { width: 18px; }

.rbtn {
  width: 84px; height: 84px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.85);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.035);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.rbtn:hover { background: var(--accent); color: var(--accent-ink); }
.rbtn:active { transform: scale(0.95); }
.rbtn svg { width: 26px; }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: var(--z-preloader); }
.loader__layer { position: absolute; inset: 0; }
.loader__layer--accent { background: var(--accent); }
.loader__layer--dark {
  background: var(--bg);
  display: grid; place-items: center; overflow: hidden;
}
.loader__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__rings circle {
  fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.loader__rings .is-dash { stroke: rgba(255, 255, 255, 0.17); stroke-dasharray: 5 7; }
.loader__glow {
  position: absolute; left: 50%; bottom: -16vh;
  width: 40vh; height: 30vh; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(163, 230, 53, 0.2), transparent);
}
.loader__center { position: relative; display: grid; justify-items: center; gap: 7vh; }
.loader__mark { width: clamp(150px, 27vh, 250px); }
.loader__mark svg { width: 100%; height: auto; overflow: visible; }
.loader__pct {
  display: flex; overflow: hidden;
  font-size: clamp(2rem, 5.4vh, 3.25rem); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.loader__pct span { display: inline-block; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(11, 11, 11, 0.8), rgba(11, 11, 11, 0));
}
.nav__left { display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand svg { width: 34px; height: auto; }
.brand__word { font-size: 1.2rem; font-weight: 300; letter-spacing: -0.02em; }
.brand__word b { font-weight: 900; }

.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }

/* Menu plein ecran ouvert par le burger. */

/* ---------- Indicateur de section (cliquable) ---------- */
.rail {
  position: fixed; right: 30px; top: 50%; z-index: var(--z-dots);
  transform: translateY(-50%); pointer-events: none;
}
.rail li { font-size: 0.75rem; color: rgba(255, 255, 255, 0.36); transition: color 0.4s var(--ease); }
/* Seuls les liens captent le pointeur: autour, les clics passent a la page. */
.rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  height: 28px; padding-left: 14px; pointer-events: auto;
}
.rail li:not(.is-active) a:hover { color: rgba(255, 255, 255, 0.9); }
.rail i { position: relative; display: block; width: 30px; height: 10px; overflow: hidden; }
.rail i::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: currentColor; transition: opacity 0.3s;
}
.rail i svg { position: absolute; left: 0; top: 0; width: 60px; height: 10px; opacity: 0; transition: opacity 0.3s; }
.rail i path { fill: none; stroke: currentColor; stroke-width: 1.3; }
.rail li.is-active { color: var(--accent); }
.rail li.is-active i::before { opacity: 0; }
.rail li.is-active i svg { opacity: 1; animation: rail-wave 1.1s linear infinite; }
@keyframes rail-wave { to { transform: translateX(-15px); } }

/* ---------- Hero ---------- */
/* Fond noir pur sur tout le hero: c'est le noir du clip (0 a 3 sur 255), la
   video se fond donc sans bord visible, quelle que soit la largeur de l'ecran. */
.hero {
  position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #000;
  display: grid; grid-template-rows: auto minmax(0, 1fr); justify-items: center;
  padding: calc(var(--nav-h) + 3vh) var(--gutter) 0;
}
.hero__top { position: relative; z-index: 2; display: grid; justify-items: center; gap: 16px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.eyebrow svg { width: 17px; color: var(--accent); }
.hero__title { font-size: clamp(2.6rem, 4.7vw, 5.3rem); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7); }

/* Le cadre 16:9 de la video se dimensionne sur la hauteur libre sous le titre
   (unites de conteneur). Dans le clip, le bol au repos occupe x 31-70 % et
   y 50-90 % du cadre: 400cqh garde le haut de la salade sous le titre, et la
   descente de 8 % pose la base du bol au pied du hero. */
.hero__stage { position: relative; width: 100%; height: 100%; min-height: 0; container-type: size; }
.hero__media {
  position: absolute; left: 50%; bottom: 0; z-index: 1;
  width: min(92vw, 400cqh, 1800px); aspect-ratio: 16 / 9;
  transform: translate(-50%, 8%);
}
/* Deux masques croises: bords du clip fondus dans la page, et haut du cadre
   efface pour que les ingredients lances disparaissent avant le titre. */
.hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image:
    radial-gradient(ellipse 64% 74% at 50% 64%, #000 66%, transparent 100%),
    linear-gradient(to bottom, transparent 6%, rgba(0, 0, 0, 0.35) 30%, #000 46%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 64% 74% at 50% 64%, #000 66%, transparent 100%),
    linear-gradient(to bottom, transparent 6%, rgba(0, 0, 0, 0.35) 30%, #000 46%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

/* translate (propriete CSS) et non transform: GSAP anime transform pour le
   flottement, les deux se cumulent sans se reecrire. */
.ftag {
  position: absolute; z-index: 2; translate: -50% -50%;
  display: flex; align-items: center; gap: 12px;
  padding: 6px 18px 6px 6px; border-radius: 14px;
  background: rgba(36, 36, 36, 0.74); border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  font-size: 0.95rem; white-space: nowrap;
}
.ftag img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
/* Positions en % du cadre video, relevees sur la frame au repos. */
.ftag--1 { left: 31%; top: 74%; }
.ftag--2 { left: 70%; top: 60%; }
.ftag--3 { left: 63%; top: 87%; }

.hero__foot {
  position: absolute; left: var(--gutter); bottom: 4vh; z-index: 2;
  display: grid; gap: 16px; max-width: 290px;
}
.hero__pills { display: grid; justify-items: start; gap: 8px; }
.hero__pills div { display: flex; gap: 8px; }
.hero__foot h2 { font-size: 1.3rem; line-height: 1.15; }
.hero__foot p { font-size: 0.85rem; line-height: 1.45; color: var(--ink-2); }

/* ---------- Scenes au scroll: Origine et Partenaires ---------- */
.scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(11, 11, 11, 0.7), rgba(11, 11, 11, 0) 30%),
    linear-gradient(to top, rgba(11, 11, 11, 0.62), rgba(11, 11, 11, 0) 24%);
}

.source { position: relative; height: 260svh; }
.source__pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden; background: #070707;
  display: grid; justify-items: center; align-content: start;
  padding: calc(var(--nav-h) + 3vh) var(--gutter) 0;
}
.source__title {
  position: relative; z-index: 2;
  text-align: center; font-size: clamp(2.3rem, 4.4vw, 4.4rem);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}
.note {
  position: absolute; left: var(--gutter); bottom: 6vh; z-index: 2;
  width: 216px; padding: 18px 18px 20px; border-radius: 14px;
  background: var(--glass-dark); border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px);
}
.note svg { width: 24px; }
.note h3 { margin: 14px 0 6px; font-size: 1rem; line-height: 1.15; }
.note p { font-size: 0.78rem; line-height: 1.4; color: var(--ink-2); }

/* ---------- Partenaires ---------- */
.partners { position: relative; height: 400svh; }
.partners__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #070707; }
.partners__title {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 4vh); z-index: 2;
  padding: 0 var(--gutter); text-align: center;
  font-size: clamp(2rem, 4vw, 3.9rem); text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}
/* Une seule carte, qui suit le batiment du partenaire pendant que la camera recule. */
.pcard {
  position: absolute; left: 0; top: 0; z-index: 3; width: 300px;
  display: grid; opacity: 0; visibility: hidden; will-change: transform;
}
.pcard__inner {
  grid-area: 1 / 1;
  padding: 16px 20px 20px; border-radius: 16px;
  background: rgba(34, 34, 34, 0.62); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.pcard__inner.is-on { opacity: 1; }
.pcard__flex { display: flex; align-items: center; gap: 12px; }
.pcard__flex img { width: 42px; height: 42px; flex: none; }
.pcard__name { font-size: 1.7rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1; }
.pcard__inner p { margin-top: 12px; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }

/* Les quatre logos en bas: le partenaire en cours s'allume. */
.plegend {
  position: absolute; left: var(--gutter); bottom: 5vh; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.plegend li {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 14px 5px 5px; border-radius: var(--r-pill);
  background: rgba(18, 18, 18, 0.62); border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5);
  opacity: 0.6; transition: opacity 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.plegend img { width: 26px; height: 26px; }
.plegend li.is-on { opacity: 1; color: var(--ink); border-color: rgba(255, 255, 255, 0.24); }

/* ---------- Lifestyle: cartes a lancer ---------- */

/* ---------- Ingredients: composition de la reference ----------
   Tout est place en % d'une scene au format fixe (1712 x 827, releve sur la
   reference): le grand cercle, le bol et les etiquettes gardent leurs rapports
   a toutes les largeurs. Le bol deborde en bas et la section le coupe. */
/* Marge haute = hauteur de la nav fixe: sinon la pastille passe dessous. */
.ingr { position: relative; overflow: hidden; padding: calc(var(--nav-h) - 12px) var(--gutter) 0; }
.ingr__stage {
  position: relative; width: min(100%, 1712px); margin: 0 auto;
  aspect-ratio: 1712 / 827; container-type: inline-size;
}
.ingr__head {
  position: absolute; left: 0; right: 0; top: 4%; z-index: 3;
  display: grid; justify-items: center; gap: clamp(18px, 2.2cqw, 38px); text-align: center;
}
.ingr__title {
  max-width: 13em; font-size: clamp(1.9rem, 2.8cqw, 3.2rem); line-height: 1;
  transition: opacity 0.35s var(--ease);
}
.ingr__title.is-swapping { opacity: 0; }

/* Grand cercle centre sur le bol: les etiquettes sont posees dessus. */
.ingr__ring {
  position: absolute; left: 7.1%; top: 6.65%; width: 85.8%; aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; pointer-events: none;
}
/* Dans l'image, le bol fait 60,6 % du cote: l'image fait 94,4 % de la scene
   pour un bol a 57 %, centre en x 50 % et y 95,5 %. */
.ingr__bowl {
  position: absolute; left: 2.8%; top: -2.2%; z-index: 1;
  width: 94.4%; aspect-ratio: 1; will-change: transform;
  /* Le bas de la scene tombe a 52 % de l'image: le bol s'efface dans le fond
     avant d'etre coupe par la section, au lieu d'une coupe nette. */
  -webkit-mask-image: linear-gradient(to bottom, #000 var(--fade-a, 38%), transparent var(--fade-b, 52%));
  mask-image: linear-gradient(to bottom, #000 var(--fade-a, 38%), transparent var(--fade-b, 52%));
}
.ingr__bowl img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.4s var(--ease);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 68%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 68%);
}
.ingr__bowl img.is-swapping { opacity: 0; }

.itag {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; translate: -50% -50%;
  display: flex; align-items: center; gap: clamp(10px, 0.8cqw, 14px);
  width: clamp(150px, 11.8cqw, 204px); padding: clamp(5px, 0.45cqw, 8px);
  border-radius: clamp(12px, 0.95cqw, 16px);
  background: rgba(44, 44, 44, 0.72); border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  font-size: clamp(0.85rem, 1.05cqw, 1.15rem); font-weight: 500;
}
.itag img {
  width: clamp(38px, 3.3cqw, 58px); height: auto; aspect-ratio: 1; flex: none;
  border-radius: clamp(9px, 0.7cqw, 12px); object-fit: cover; background: #1b1b1b;
  transition: opacity 0.35s var(--ease);
}
.itag span { transition: opacity 0.35s var(--ease); }
.itag.is-swapping img, .itag.is-swapping span { opacity: 0; }
/* Centres releves sur la reference, symetriques autour du bol. */
.itag--l1 { --x: 21.5%; --y: 27.3%; }
.itag--l2 { --x: 17%; --y: 42.2%; }
.itag--l3 { --x: 12.5%; --y: 57%; }
.itag--r1 { --x: 78.5%; --y: 27.3%; }
.itag--r2 { --x: 83%; --y: 42.2%; }
.itag--r3 { --x: 87.5%; --y: 57%; }

.ingr__btn {
  position: absolute; top: 82.6%; z-index: 3; translate: -50% -50%;
  width: clamp(56px, 4.7cqw, 84px); height: clamp(56px, 4.7cqw, 84px);
}
.ingr__btn--prev { left: 14.7%; }
.ingr__btn--next { left: 85.3%; }

/* ---------- Cuisine ---------- */
/* Respiration entre le bol qui s'efface et la cuisine. */
.kitchen { position: relative; height: 260svh; margin-top: clamp(72px, 14vh, 170px); }
.kitchen__pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center;
}
.kitchen__orbits { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.kitchen__orbits span { position: absolute; border: 1px dashed rgba(255, 255, 255, 0.08); border-radius: 50%; }
.kitchen__orbits span:nth-child(1) { width: min(70vmin, 640px); aspect-ratio: 1; }
.kitchen__orbits span:nth-child(2) { width: min(120vmin, 1100px); aspect-ratio: 1; }
.kitchen__orbits span::before {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.kitchen__orbits span:nth-child(1)::before { top: 18%; left: 4%; }
.kitchen__orbits span:nth-child(2)::before { top: 40%; right: 17%; }
.kitchen__title {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 20px;
  max-width: 14ch; padding: 0 var(--gutter);
  font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: 1.04;
}
.kitchen__title em { font-style: normal; color: var(--accent); }
.kitchen__hole {
  display: inline-block; flex: none; width: clamp(110px, 12vw, 190px); aspect-ratio: 16 / 10;
  border-radius: 16px; overflow: hidden; will-change: transform;
}
.kitchen__hole img, .kitchen__hole video { width: 100%; height: 100%; object-fit: cover; }
.kitchen__body { max-width: 46ch; padding: 0 var(--gutter); font-size: 0.85rem; color: var(--ink-2); }
/* Icones Phosphor (police) dans les composants. */
.ico { display: inline-block; width: 18px; height: 18px; flex: none; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.note .ico { width: 24px; height: 24px; }

/* Lecteur de la video cuisine: vrais controles. Le conteneur laisse passer les
   clics autour; boutons et barre les captent, une fois le lecteur visible. */
.player {
  position: absolute; left: 50%; bottom: 5vh; z-index: 3; transform: translateX(-50%);
  width: min(760px, calc(100vw - 2 * var(--gutter))); display: flex; align-items: center; gap: 12px;
  padding: 7px 12px 7px 7px; border-radius: var(--r-pill);
  background: rgba(10, 10, 10, 0.55); border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; pointer-events: none;
}
.player__btn, .player__bar { pointer-events: auto; }
.player__btn {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--ink);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.player__btn:hover { background: var(--accent); color: var(--accent-ink); }
.player__btn:active { transform: scale(0.94); }
.player__time { min-width: 2.6em; font-size: 0.8rem; text-align: center; font-variant-numeric: tabular-nums; }
/* Zone cliquable haute de 24 px, trait fin de 3 px au milieu. */
.player__bar { position: relative; flex: 1; height: 24px; cursor: pointer; touch-action: none; }
.player__bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.22);
}
.player__fill {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  border-radius: 999px; background: var(--accent); transform: scaleX(0); transform-origin: left;
}
.player__knob {
  position: absolute; top: 50%; left: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.3);
  opacity: 0; transition: opacity 0.2s var(--ease-out);
}
.player__bar:hover .player__knob,
.player__bar:focus-visible .player__knob,
.player.is-scrubbing .player__knob { opacity: 1; }

/* ---------- Table: le sac en sequence ---------- */

/* ---------- Rejoindre + temoignages ---------- */
.join { position: relative; padding: 20vh 0 16vh; overflow: hidden; }
/* Ingredients detoures autour du titre, jamais dessus: les plus flous sont
   les plus lointains et bougent le moins (data-depth). */
.join__floaters { position: absolute; left: 0; right: 0; top: 0; height: min(780px, 82svh); pointer-events: none; }
.join__floaters img { position: absolute; height: auto; will-change: transform; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5)); }
/* Prefixees par .join__floaters: sans ca, le filtre generique ci-dessus
   (plus specifique) ecrasait le flou de profondeur. */
.join__floaters .fl--piment { left: 25%; top: 11%; width: clamp(70px, 6.4vw, 118px); }
.join__floaters .fl--tomate { left: 12%; top: 24%; width: clamp(58px, 5.2vw, 92px); }
.join__floaters .fl--basilic { left: 5%; top: 48%; width: clamp(56px, 5vw, 92px); filter: blur(2px); }
.join__floaters .fl--coriandre { left: 21%; top: 54%; width: clamp(64px, 5.4vw, 96px); filter: blur(4px); opacity: 0.75; }
.join__floaters .fl--pois { right: 24%; top: 9%; width: clamp(80px, 7.4vw, 132px); }
.join__floaters .fl--avocat { right: 8%; top: 16%; width: clamp(96px, 9.4vw, 170px); }
.join__floaters .fl--citron { right: 17%; top: 48%; width: clamp(58px, 5.4vw, 96px); filter: blur(3px); }
.join__floaters .fl--concombre { right: 5%; top: 60%; width: clamp(64px, 6vw, 104px); filter: blur(1.5px); }
.join__head { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; padding: 0 var(--gutter); text-align: center; }
.join__title { font-size: clamp(2.2rem, 4.4vw, 4.3rem); }
.join__sub { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 10px; }

.says { position: relative; margin-top: 14vh; }
.says__track { display: flex; gap: 22px; width: max-content; padding: 0 var(--gutter); cursor: grab; }
.says__track:active { cursor: grabbing; }
.say {
  position: relative; overflow: hidden;
  width: min(420px, 82vw); padding: 24px 26px 32px;
  border-radius: 12px; background: rgba(18, 18, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.say::after {
  content: ""; position: absolute; left: 6%; right: 38%; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 22px 3px rgba(163, 230, 53, 0.45);
}
.say figcaption { display: grid; gap: 3px; margin-bottom: 14px; }
.say figcaption b { font-size: 1rem; font-weight: 500; }
.say figcaption span { font-size: 0.8125rem; color: var(--accent); }
.say blockquote { font-size: 0.9rem; line-height: 1.55; color: var(--ink-2); }
.says__hint {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(64, 64, 64, 0.78); backdrop-filter: blur(10px);
  font-size: 0.8rem; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.says__hint svg { width: 18px; }
.says__hint.is-gone { opacity: 0; }

/* ---------- Footer ---------- */
.foot { padding: 80px var(--gutter) 28px; overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 34px; }
.foot__cols a, .foot__cols p { display: block; padding: 4px 0; font-size: 0.9rem; color: var(--ink-2); transition: color 0.3s; }
.foot__cols a:first-child { color: var(--ink); }
.foot__cols a:hover { color: var(--accent); }
.foot__cols > :last-child { text-align: right; }
.foot__word {
  position: relative; margin-top: clamp(60px, 10vh, 120px);
  font-size: clamp(4rem, 17vw, 16.5rem); font-weight: 400; line-height: 0.82;
  letter-spacing: -0.05em; text-align: center;
}
.foot__word b { font-weight: 900; }
.foot__glow {
  position: absolute; left: 50%; bottom: -30%; z-index: -1;
  width: 60%; height: 90%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(163, 230, 53, 0.22), transparent);
}
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; font-size: 0.8rem; color: var(--ink-2); }
.foot__legal span:last-child { display: flex; gap: 40px; }

/* ---------- Titres decoupes et apparitions ---------- */
.sl { display: block; font-style: normal; will-change: transform; }
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
html.no-js [data-reveal], html.no-js .pcard, html.no-js .pcard__inner { opacity: 1; visibility: visible; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rail{ display: none; }
  .nav { grid-template-columns: 1fr auto; }
}

@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .nav__left { gap: 16px; }
  .cta { height: 46px; padding-right: 18px; font-size: 0.875rem; }
  .cta__icon { width: 34px; height: 34px; }
  .cta::before { clip-path: circle(17px at 23px 50%); }

  .hero { height: auto; min-height: 100svh; padding-bottom: 36px; grid-template-rows: auto auto auto; }
  .hero__title { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .hero__stage { height: 78vw; min-height: 280px; margin-top: 2vh; container-type: normal; }
  .hero__media { width: 190%; transform: translate(-50%, 8%); }
  .ftag { font-size: 0.78rem; padding: 4px 12px 4px 4px; gap: 8px; }
  .ftag img { width: 30px; height: 30px; }
  .ftag--1 { left: 34%; top: 74%; }
  .ftag--2 { left: 66%; top: 60%; }
  .ftag--3 { left: 60%; top: 86%; }
  .hero__foot { position: static; max-width: none; margin-top: 18px; justify-items: center; text-align: center; }
  .hero__pills { justify-items: center; }

  .source { height: 200svh; }
  .note { left: var(--gutter); right: var(--gutter); width: auto; bottom: 7vh; }

  .partners { height: 340svh; }
  .pcard { width: min(320px, calc(100vw - 2 * var(--gutter))); }
  .plegend { left: 0; right: 0; justify-content: center; bottom: 3vh; }
  .plegend li { padding-right: 5px; }
  .plegend span { display: none; }
  .fl--citron, .fl--coriandre, .fl--concombre { display: none; }
  /* Sur mobile le titre prend toute la largeur: les ingredients restent au-dessus. */
  .join__floaters .fl--piment { left: 8%; top: 3%; }
  .join__floaters .fl--pois { right: 8%; top: 4%; }
  .join__floaters .fl--tomate { left: 3%; top: 11%; }
  .join__floaters .fl--avocat { right: 2%; top: 11%; }

  /* Mobile: meme scene en portrait, etiquettes sur deux colonnes, bol en bas. */
  .ingr__stage { aspect-ratio: 390 / 900; container-type: normal; }
  .ingr__head { top: 3%; gap: 14px; }
  .ingr__title { max-width: 12em; font-size: clamp(1.8rem, 8.4vw, 2.5rem); }
  .ingr__ring { display: none; }
  .ingr__bowl { left: -33%; top: 49.8%; width: 166%; --fade-a: 54%; --fade-b: 70%; }
  .itag { width: 41vw; padding: 5px; gap: 8px; font-size: 0.82rem; }
  .itag img { width: 34px; border-radius: 8px; }
  .itag--l1 { --x: 26%; --y: 30%; }
  .itag--l2 { --x: 26%; --y: 38%; }
  .itag--l3 { --x: 26%; --y: 46%; }
  .itag--r1 { --x: 74%; --y: 30%; }
  .itag--r2 { --x: 74%; --y: 38%; }
  .itag--r3 { --x: 74%; --y: 46%; }
  .ingr__btn { top: 56%; width: 52px; height: 52px; }
  .ingr__btn--prev { left: 12%; }
  .ingr__btn--next { left: 88%; }

  .kitchen { height: 200svh; }

  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > :last-child { text-align: left; }
  .foot__legal span:last-child { gap: 20px; }
}

@media (max-width: 520px) {
  .foot__cols { grid-template-columns: 1fr; }
  /* Marque + burger + commande tiennent sur 360 px sans deborder. */
  .nav { gap: 10px; }
  .nav__left { gap: 6px; }
  .brand svg { width: 28px; }
  .brand__word { font-size: 1.05rem; }
  .cta { padding-right: 14px; }
  /* Plus discret : il ne masque plus la fin des titres et paragraphes. */
}

/* ---------- Mouvement reduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  [data-reveal], .pcard, .pcard__inner{ opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .says__hint { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .note, .pcard__inner, .ftag, .itag, .says__hint, .plegend li { backdrop-filter: none; background-color: #1c1c1c; }
}

/* ---------- Hero 05:40, l'aube : le pointeur est le soleil ---------- */
.hero.aube { display: block; padding: 0; height: 100svh; min-height: 620px; background: #050505; }
.aube__media, .aube__media video, .aube__nuit, .aube__lueur { position: absolute; inset: 0; width: 100%; height: 100%; }
.aube__media video { object-fit: cover; object-position: 62% 50%; }
/* nuit : un voile bleu-noir percé par un soleil qui suit le pointeur */
.aube__nuit {
  background: linear-gradient(180deg, rgba(4, 7, 14, 0.92), rgba(6, 8, 12, 0.86));
  -webkit-mask-image: radial-gradient(calc(28% + 70% * var(--p, 0)) calc(36% + 80% * var(--p, 0)) at var(--sx, 10%) var(--sy, 70%), transparent 0, transparent 30%, #000 85%);
  mask-image: radial-gradient(calc(28% + 70% * var(--p, 0)) calc(36% + 80% * var(--p, 0)) at var(--sx, 10%) var(--sy, 70%), transparent 0, transparent 30%, #000 85%);
  opacity: calc(1 - 0.75 * var(--p, 0));
}
.aube__lueur {
  background: radial-gradient(40% 50% at var(--sx, 10%) var(--sy, 70%), rgba(255, 196, 120, 0.42), transparent 70%);
  mix-blend-mode: screen; opacity: calc(0.3 + 0.7 * var(--p, 0)); pointer-events: none;
}
.aube__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.2) 48%, transparent 70%), linear-gradient(0deg, rgba(5, 5, 5, 0.7), transparent 30%); pointer-events: none; }
.aube__txt { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); z-index: 2; max-width: min(860px, 88vw); }
@media (min-width: 761px) { .aube__title .ln { white-space: nowrap; } }
.aube__title { font-size: clamp(2.6rem, 5.4vw, 6rem); line-height: 0.98; font-weight: 500; letter-spacing: -0.03em; margin-top: 18px; }
.aube__title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.aube__title .w { display: inline-block; transform: translateY(105%); }
.aube__title .ln + .ln { color: var(--ink-2); }
.aube__rule { display: block; width: min(320px, 60%); height: 2px; margin-top: 26px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.aube__lead { margin-top: 22px; max-width: 42ch; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.aube__clock { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-variant-numeric: tabular-nums; }
.aube__clock svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.aube__clock .tr { fill: none; stroke: var(--ink-4); stroke-width: 2; }
.aube__clock .ar { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.aube__clock span { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.01em; }
.aube__clock small { color: var(--ink-3); font-size: 0.8rem; }
.aube__tag { position: absolute; right: calc(var(--gutter) + 60px); bottom: 7vh; z-index: 2; font-size: 0.82rem; line-height: 1.5; color: var(--ink-2); text-align: right; padding: 10px 14px; border-left: 2px solid var(--accent); background: rgba(10, 10, 10, 0.45); backdrop-filter: blur(8px); border-radius: 0 10px 10px 0; }
.aube__tag b { color: var(--ink); font-weight: 500; }
.aube__hint { position: absolute; left: 50%; top: calc(var(--nav-h) + 14px); transform: translateX(-50%); z-index: 2; font-size: 0.78rem; color: var(--ink-3); transition: opacity 0.4s; white-space: nowrap; }
.aube__hint.off { opacity: 0; }
@media (max-width: 760px) {
  .aube__media video { object-position: 70% 50%; }
  .aube__txt { top: auto; bottom: 9vh; transform: none; }
  .aube__title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .aube__lead { font-size: 0.92rem; }
  .aube__tag { top: calc(var(--nav-h) + 48px); bottom: auto; right: var(--gutter); }
  .aube__media::after { background: linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.3) 55%, transparent 75%); }
}
@media (prefers-reduced-motion: reduce) {
  .aube__title .w { transform: none; }
  .aube__rule { transform: none; }
  .aube { --p: 0.85; --sx: 64%; --sy: 52%; }
}

/* ---------- La recolte : trois plans filmes, pilotes au defilement ----------
   Chaque plan s'ouvre en iris depuis son sujet (--ox, --oy), la video avance
   avec le defilement, l'horloge passe de 05:40 a 11:30. */
.recolte { position: relative; height: 460svh; background: #050505; }
.recolte__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.recolte__plans, .rplan { position: absolute; inset: 0; margin: 0; }
.rplan { clip-path: circle(var(--r, 0%) at var(--ox) var(--oy)); will-change: clip-path; }
.rplan[data-plan="0"] { --r: 150%; }
.rplan video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.06)); transform-origin: var(--ox) var(--oy); }
.recolte__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0.55) 30%, rgba(5, 5, 5, 0) 58%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0) 30%);
}
.recolte__copy {
  position: absolute; left: var(--gutter); top: calc(var(--nav-h, 80px) + 6vh); z-index: 2;
  display: grid; gap: 22px; width: min(440px, 40vw);
}
.recolte__title { font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 500; }
.rsteps { display: grid; gap: 4px; margin-top: 8px; }
.rstep {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: baseline;
  padding: 12px 0 12px 18px; border-left: 2px solid var(--ink-4);
  color: var(--ink-3); transition: color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.rstep b { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 0.9rem; }
.rstep span { font-size: 1.05rem; font-weight: 500; }
.rstep p {
  grid-column: 2; max-height: 0; overflow: hidden; opacity: 0;
  font-size: 0.9rem; line-height: 1.5; color: var(--ink-2);
  transition: max-height 0.8s var(--ease), opacity 0.6s var(--ease), margin 0.8s var(--ease);
}
.rstep.is-on { color: var(--ink); border-color: var(--accent); }
.rstep.is-on b { color: var(--accent); }
.rstep.is-on p { max-height: 7em; opacity: 1; margin-top: 8px; }
.recolte__clock {
  position: absolute; right: var(--gutter); bottom: 6vh; z-index: 2;
  display: grid; justify-items: end; gap: 12px; text-align: right;
}
.recolte__time {
  font-size: clamp(3.4rem, 8vw, 8.6rem); line-height: 0.82; font-weight: 300;
  letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}
.recolte__track { position: relative; width: min(320px, 50vw); height: 2px; background: rgba(255, 255, 255, 0.22); }
.recolte__track i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.recolte__km { font-size: 0.82rem; color: var(--ink-2); }
.recolte__km b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .recolte { height: 420svh; }
  .recolte__veil {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.6) 38%, rgba(5, 5, 5, 0) 62%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 0) 26%);
  }
  .recolte__copy { right: var(--gutter); width: auto; top: calc(var(--nav-h, 72px) + 2vh); gap: 14px; }
  .rstep { padding: 8px 0 8px 14px; grid-template-columns: 54px 1fr; }
  .rstep:not(.is-on) { display: none; }
  .recolte__clock { left: var(--gutter); right: var(--gutter); bottom: 4vh; justify-items: start; text-align: left; }
  .recolte__track { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .recolte { height: auto; }
  .recolte__stage { position: relative; height: auto; display: grid; }
  .recolte__plans { position: relative; display: grid; gap: 2px; }
  .rplan { position: relative; clip-path: none; aspect-ratio: 16 / 9; }
  .rplan video { transform: none; }
  .recolte__veil, .recolte__clock { display: none; }
  .recolte__copy { position: relative; left: 0; top: 0; width: auto; padding: 12vh var(--gutter) 6vh; order: -1; }
  .rstep { color: var(--ink); }
  .rstep p { max-height: none; opacity: 1; margin-top: 8px; }
}

/* ---------- La composition : le bol se remplit, un ingredient par cran ----------
   Les six couches sont alignees ; chacune s'ouvre en iris depuis le centre du bol (--bx, --by). */
.compo { --bx: 60%; --by: 50%; position: relative; height: 620svh; background: #16171b; }
.compo__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.compo__plans, .cplan { position: absolute; inset: 0; margin: 0; }
.cplan { clip-path: circle(var(--r, 0%) at var(--bx) var(--by)); will-change: clip-path; }
.cplan[data-layer="0"] { clip-path: none; }
.cplan img { width: 100%; height: 100%; object-fit: cover; object-position: var(--bx) var(--by); transform: scale(var(--z, 1)); transform-origin: var(--bx) var(--by); }
.compo__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 15, 18, 0.88) 0%, rgba(14, 15, 18, 0.5) 30%, rgba(14, 15, 18, 0) 46%);
}
.compo__copy {
  position: absolute; left: var(--gutter); top: calc(var(--nav-h, 80px) + 6vh); z-index: 2;
  display: grid; gap: 22px; width: min(420px, 36vw);
}
.compo__title { font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 500; }
.csteps { display: grid; gap: 2px; margin-top: 8px; counter-reset: c; }
.cstep {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: baseline;
  padding: 9px 0 9px 18px; border-left: 2px solid var(--ink-4);
  color: var(--ink-3); transition: color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.cstep b { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 0.85rem; }
.cstep span { font-size: 1.02rem; font-weight: 500; }
.cstep p {
  grid-column: 2; max-height: 0; overflow: hidden; opacity: 0;
  font-size: 0.9rem; line-height: 1.5; color: var(--ink-2);
  transition: max-height 0.8s var(--ease), opacity 0.6s var(--ease), margin 0.8s var(--ease);
}
.cstep.is-on { color: var(--ink); border-color: var(--accent); }
.cstep.is-on b { color: var(--accent); }
.cstep.is-on p { max-height: 7em; opacity: 1; margin-top: 6px; }
.compo__count {
  position: absolute; right: calc(var(--gutter) + 72px); bottom: 6vh; z-index: 2; margin: 0;
  display: flex; gap: clamp(24px, 4vw, 56px); text-align: right;
}
.compo__count div { display: grid; justify-items: end; gap: 6px; }
.compo__count dt { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.compo__count dd {
  margin: 0; font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: 0.85; font-weight: 300;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}
.compo__count div:first-child dd { color: var(--accent); }

@media (max-width: 860px) {
  .compo { --bx: 50%; --by: 50%; height: 560svh; }
  .compo__plans { top: auto; height: min(110vw, 62svh); }
  .cplan img { object-position: 50% 50%; }
  .compo__plans::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, #16171b 0%, rgba(22, 23, 27, 0) 22%);
  }
  .compo__veil { display: none; }
  .compo__copy { right: var(--gutter); width: auto; top: calc(var(--nav-h, 72px) + 2vh); gap: 12px; }
  .cstep { padding: 8px 0 8px 14px; grid-template-columns: 54px 1fr; }
  .cstep:not(.is-on) { display: none; }
  .compo__count { top: auto; bottom: calc(min(110vw, 62svh) - 8px); right: var(--gutter); gap: 22px; }
  .compo__count dd { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .compo { height: auto; }
  .compo__stage { position: relative; height: auto; display: grid; }
  .compo__plans { position: relative; aspect-ratio: 2400 / 1340; height: auto; }
  .cplan:not([data-layer="5"]) { display: none; }
  .cplan { clip-path: none; }
  .compo__veil { display: none; }
  .compo__copy { position: relative; left: 0; top: 0; width: auto; padding: 12vh var(--gutter) 6vh; order: -1; }
  .compo__count { position: relative; right: auto; bottom: auto; justify-content: flex-start; padding: 0 var(--gutter) 6vh; order: -1; }
  .cstep { color: var(--ink); }
  .cstep:not(.is-on) { display: grid; }
  .cstep p { max-height: none; opacity: 1; margin-top: 6px; }
}

/* ---------- La carte de saison : chaque saison balaie la precedente comme un cadran ----------
   Bols alignes au pixel, centre du bol en (--bx, --by). --ih = hauteur rendue de l'image en cover,
   pour que la couronne des mois epouse le bol a toutes les tailles d'ecran. */
.saison { --bx: 60%; --by: 50%; --ih: max(100svh, 55.84vw); position: relative; height: 520svh; background: #16171b; }
.saison__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.saison__plans, .splan { position: absolute; inset: 0; margin: 0; }
.splan {
  -webkit-mask-image: conic-gradient(from 0deg at var(--bx) var(--by), #000 calc(var(--a, 0deg) - 6deg), transparent var(--a, 0deg));
  mask-image: conic-gradient(from 0deg at var(--bx) var(--by), #000 calc(var(--a, 0deg) - 6deg), transparent var(--a, 0deg));
}
.splan[data-layer="0"] { -webkit-mask-image: none; mask-image: none; }
.splan img { width: 100%; height: 100%; object-fit: cover; object-position: var(--bx) var(--by); }
.saison__ring {
  position: absolute; left: var(--bx); top: var(--by); width: calc(var(--ih) * 0.95); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); pointer-events: none;
}
.saison__ring i {
  position: absolute; left: 50%; top: 0; width: 1px; height: 50%; transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(calc(var(--m) * 30deg));
}
.saison__ring i::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 1px; height: 12px; background: rgba(255, 255, 255, 0.5);
}
.saison__ring i:nth-child(3n + 1)::before { top: -10px; height: 20px; background: var(--accent); width: 2px; left: -0.5px; }
.saison__hand {
  position: absolute; left: 50%; top: -18px; width: 2px; height: calc(50% + 18px); transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(var(--h, 0deg)); background: linear-gradient(180deg, var(--accent) 0 26px, transparent 26px);
}
.saison__hand::before {
  content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  transform: translateX(-50%); background: var(--accent); box-shadow: 0 0 18px var(--accent);
}
.saison__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 15, 18, 0.9) 0%, rgba(14, 15, 18, 0.55) 28%, rgba(14, 15, 18, 0) 44%);
}
.saison__copy {
  position: absolute; left: var(--gutter); top: calc(var(--nav-h, 80px) + 6vh); z-index: 2;
  display: grid; gap: 22px; width: min(400px, 34vw);
}
.saison__title { font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 500; }
.scards { display: grid; margin-top: 8px; }
.scard { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); pointer-events: none; }
.scard.is-on { opacity: 1; transform: none; }
.scard h3 { display: flex; align-items: baseline; gap: 12px; font-size: 1.25rem; font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid var(--ink-4); }
.scard h3 small { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; }
.scard ul { list-style: none; margin: 0; padding: 0; }
.scard li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.95rem; }
.scard li b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--accent); }
.saison__month {
  position: absolute; left: var(--gutter); bottom: 6vh; z-index: 2; margin: 0;
  display: grid; justify-items: start; gap: 10px;
}
.saison__month > span {
  font-size: clamp(3rem, 7vw, 7.4rem); line-height: 0.82; font-weight: 300; letter-spacing: -0.045em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}
.saison__month small { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.saison__month small span { color: var(--accent); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .saison { --bx: 50%; --by: 50%; --ih: max(min(110vw, 62svh), 109.7vw); height: 480svh; }
  .saison__plans { top: auto; height: min(110vw, 62svh); overflow: hidden; }
  .splan img { object-position: 50% 50%; }
  .saison__plans::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, #16171b 0%, rgba(22, 23, 27, 0) 22%);
  }
  .saison__veil { display: none; }
  .saison__copy { right: var(--gutter); width: auto; top: calc(var(--nav-h, 72px) + 2vh); gap: 12px; }
  .scard li { padding: 7px 0; font-size: 0.88rem; }
  .saison__month { bottom: 18px; z-index: 3; gap: 6px; }
  .saison__month > span { font-size: 2.6rem; }
  .saison__month small { font-size: 0.66rem; }
}

@media (prefers-reduced-motion: reduce) {
  .saison { height: auto; }
  .saison__stage { position: relative; height: auto; display: grid; }
  .saison__plans { position: relative; aspect-ratio: 2400 / 1340; height: auto; }
  .splan:not([data-layer="0"]), .saison__ring, .saison__veil, .saison__month { display: none; }
  .saison__copy { position: relative; left: 0; top: 0; width: auto; padding: 12vh var(--gutter) 6vh; order: -1; }
  .scards { gap: 28px; }
  .scard { grid-area: auto; opacity: 1; transform: none; }
}
