/* =========================================================
   The Dark Side of the Cookie : maquette de design
   Univers : espace profond (hero) → monde psychédélique (sections)
   ========================================================= */

:root {
  --ink: #0e0b17;
  --ink-2: #1a1430;
  --space: #060914;
  --space-2: #0c1430;
  --cream: #f7eedc;
  --yellow: #ffc21a;
  --orange: #ff5a1f;
  --orange-deep: #d9400c;
  --pink: #ff3d8b;
  --purple: #7a3cff;
  --lilac: #b39cff;

  --f-display: "Fraunces", "Georgia", serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --k: 1; /* facteur de taille des objets flottants */
}

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

html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: clamp(16px, .35vw + 14.5px, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- Typo ---------- */
.display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -.02em;
  line-height: .9;
}
.display em { font-style: italic; color: var(--yellow); }

.cond {
  font-family: var(--f-body);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
}

.kicker, .mono {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mono { letter-spacing: .04em; text-transform: none; font-size: 14px; }
.kicker { display: block; margin-bottom: 18px; }
.kicker--yellow { color: var(--yellow); }
.kicker--orange { color: var(--orange-deep); }

.lead {
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin: clamp(20px, 3vw, 40px) 0 22px;
}

/* ---------- Boutons, tags, stickers ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 14px 22px;
  font-family: var(--f-body); font-weight: 800; font-stretch: 85%; font-size: 17px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 currentColor; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { box-shadow: 5px 5px 0 var(--orange); }
.btn--line { border-color: var(--ink); color: var(--ink); }

.tag {
  display: inline-block;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  padding: 12px 18px;
}

.sticker {
  display: grid; place-items: center; text-align: center;
  width: clamp(120px, 14vw, 220px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(20px, 2.3vw, 36px); line-height: .92;
  padding: .5em;
  rotate: -9deg;
}
.sticker--rect {
  width: auto; aspect-ratio: auto; border-radius: 0;
  background: var(--orange);
  padding: .35em .6em .45em;
  font-size: clamp(40px, 5vw, 80px);
  rotate: 3deg;
  max-width: 5.6em; text-align: left; place-items: start;
}

/* ---------- Barre de progression ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink), var(--purple));
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: flex-end; gap: 24px;
  padding: 0 var(--gutter);
  transition: transform .45s var(--ease);
}
/* Fond + flou de la barre sur un calque séparé : un backdrop-filter (ou un transform) posé sur
   .nav elle-même confinerait le menu mobile (position: fixed) à la hauteur de la barre. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(14, 11, 23, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .4s;
}
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-open { transform: none; transition: none; }
.nav.is-open::before { opacity: 0; transition: none; }

/* PC : logo + nom à gauche, qui apparaissent et disparaissent en même temps que le fond sombre de la barre */
.nav__brand {
  margin-right: auto; display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--cream);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
.nav.is-solid .nav__brand { opacity: 1; visibility: visible; transition: opacity .4s; }
.nav__brand svg { width: 42px; height: 42px; color: var(--yellow); flex: none; transition: rotate .6s var(--ease); }
.nav__brand:hover svg { rotate: -25deg; }
.nav__brand span {
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 17px; line-height: .98;
}
@media (max-width: 960px) { .nav__brand { display: none; } }

/* logo (Cookie.svg) : uniquement dans le menu ouvert sur mobile */
.menu__logo { display: none; }

.nav__menu { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav__menu ul { display: flex; gap: clamp(14px, 1.8vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav__menu ul a {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0; position: relative;
}
.nav__menu ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu ul a:hover::after, .nav__menu ul a.is-active::after { transform: scaleX(1); }
.nav__menu ul a.is-active { color: var(--yellow); }
.nav__cta { padding: 10px 18px; font-size: 15px; }

.nav__burger { display: none; }

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  /* mobile : pas de barre, seulement le bouton rond (toujours visible) ; la zone vide laisse passer les clics */
  .nav::before { display: none; }
  .nav, .nav.is-hidden { transform: none; }
  .nav { pointer-events: none; }
  .nav__burger, .nav.is-open .nav__menu { pointer-events: auto; }
  .nav__burger { box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
  .menu__logo {
    display: flex; align-items: center; gap: 16px;
    background: var(--ink); padding: 12px 18px 12px 12px; margin-bottom: 10px;
    text-decoration: none; color: var(--cream);
  }
  .menu__logo svg { width: 76px; height: 76px; color: var(--yellow); flex: none; }
  .menu__logo span {
    font-family: var(--f-display); font-style: italic; font-weight: 900;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 26px; line-height: .95;
  }
  .nav__burger {
    display: block; position: relative; z-index: 2;
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: var(--yellow); cursor: pointer;
  }
  .nav__burger span {
    position: absolute; left: 14px; right: 14px; height: 2.5px; background: var(--ink);
    transition: transform .35s var(--ease), top .35s var(--ease);
  }
  .nav__burger span:first-child { top: 19px; }
  .nav__burger span:last-child { top: 27px; }
  .nav.is-open .nav__burger span:first-child { top: 23px; transform: rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { top: 23px; transform: rotate(-45deg); }

  .nav__menu {
    position: fixed; inset: 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px;
    padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
    background:
      repeating-radial-gradient(circle at var(--rcx) var(--rcy),
        var(--ink) var(--ro), var(--ink) calc(var(--ro) + 9vmax),
        var(--purple) calc(var(--ro) + 9vmax) calc(var(--ro) + 13vmax), var(--ink) calc(var(--ro) + 13vmax) calc(var(--ro) + 17vmax),
        var(--pink) calc(var(--ro) + 17vmax) calc(var(--ro) + 21vmax), var(--ink) calc(var(--ro) + 21vmax) calc(var(--ro) + 25vmax),
        var(--orange) calc(var(--ro) + 25vmax) calc(var(--ro) + 29vmax));
    clip-path: circle(0 at calc(100% - 40px) 32px);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .nav.is-open .nav__menu {
    clip-path: circle(160% at calc(100% - 40px) 32px); visibility: visible; transition: clip-path .7s var(--ease);
    /* les anneaux s'écoulent du centre vers l'extérieur, et le centre dérive doucement */
    animation: menu-rings 7s linear infinite, menu-center 11s ease-in-out infinite alternate;
  }
  .nav__menu ul { flex-direction: column; gap: 6px; }
  .nav__menu ul a {
    display: inline-block; background: var(--ink); padding: 2px 14px 6px;
    font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(36px, 10vw, 64px);
    letter-spacing: -.02em; text-transform: none; line-height: 1;
  }
  .nav__menu ul a::after { display: none; }
  .nav__cta { font-size: 20px; padding: 14px 24px; }
}

/* =========================================================
   1. HERO : le voyage
   ========================================================= */
/* le voyage tient en un écran : l'animation se joue dans le temps (lancée au 1er scroll), pas au fil du scroll */
/* zone épinglée au départ : le décor reste fixe pendant ~55 % d'écran de scroll (l'écran ne monte pas pendant
   que l'animation se joue), puis le défilement redevient normal. Elle masque aussi la vague de « La recette ». */
.hero { position: relative; height: calc(100vh + 55vh); height: calc(100lvh + 55vh); background: var(--space); }
.hero__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100lvh;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 60%, var(--space-2) 0%, var(--space) 60%, #03050b 100%);
}
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
/* galaxie dorée : grande mais lointaine (transparente, bords fondus, quasi immobile) */
.hero__galaxy {
  position: absolute; left: 50%; top: 50%;
  width: max(80vmax, 760px); max-width: none; height: auto;
  /* cœur de la galaxie à ~95 % de la hauteur : bien sous le cookie */
  margin: calc(max(80vmax, 760px) * -.28 + 45vh) 0 0 calc(max(80vmax, 760px) * -.5);
  opacity: .3; pointer-events: none; will-change: transform, opacity;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 85%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 85%);
}

.hero__orb {
  position: absolute; left: 50%; top: 50%;
  width: 100vmin; height: 100vmin;
  margin: -50vmin 0 0 -50vmin;
}
/* pendant la transition : l'orbe devient un calque GPU (mise à l'échelle sans re-rendu complet) */
.hero__orb.is-moving { will-change: transform; }
.hero__orb > svg { position: relative; width: 100%; height: 100%; display: block; overflow: visible; }
.orb__sun-flat, .orb__cookie { opacity: 0; }

/* couronne solaire animée : 3 couches de rayons flous, vitesses et sens différents → scintillement qui ne se répète pas */
.orb__rays {
  position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; translate: -50% -50%;
  pointer-events: none; will-change: transform, opacity;
  /* rien sur le disque (bord du disque ≈ 43,5 % du rayon), puis la lumière s'estompe vers l'extérieur */
  -webkit-mask-image: radial-gradient(closest-side, transparent 41%, #000 44.5%, rgba(0, 0, 0, .45) 56%, transparent 78%);
  mask-image: radial-gradient(closest-side, transparent 41%, #000 44.5%, rgba(0, 0, 0, .45) 56%, transparent 78%);
}
.orb__rays i { position: absolute; inset: 0; border-radius: 50%; filter: blur(7px); will-change: transform; } /* flou calculé une fois, la rotation est faite par le GPU */
.orb__rays i:nth-child(1) {
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 150, 0) 0deg 4deg, rgba(255, 222, 150, .38) 6deg, rgba(255, 200, 110, 0) 9deg 13deg);
  animation: rays-spin 240s linear infinite;
}
.orb__rays i:nth-child(2) {
  background: repeating-conic-gradient(from 7deg, rgba(255, 170, 70, 0) 0deg 6deg, rgba(255, 170, 70, .4) 9deg, rgba(255, 170, 70, 0) 12deg 19deg);
  animation: rays-spin 360s linear infinite reverse;
}
.orb__rays i:nth-child(3) { /* longs filaments plus rares */
  background: repeating-conic-gradient(from 3deg, rgba(255, 240, 200, 0) 0deg 21deg, rgba(255, 240, 205, .26) 23deg, rgba(255, 240, 200, 0) 25deg 31deg);
  filter: blur(3px); scale: 1.08;
  animation: rays-spin 520s linear infinite reverse; /* sens inverse des rayons dorés */
}
@keyframes rays-spin { to { rotate: 360deg; } }

.hero__inner-title {
  position: absolute; left: 43%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column;
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 4.9vmin; line-height: .94; letter-spacing: -.02em;
  color: var(--cream); white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.hero__inner-title em { font-style: italic; color: var(--yellow); }

.planet {
  position: absolute; left: 50%; top: 50%;
  width: var(--d); max-width: none; height: auto;
  margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
  pointer-events: none;
  /* légère pénombre : elles sont éclairées par l'éclipse */
  filter: brightness(.88) drop-shadow(0 0 2.5vmin rgba(255, 160, 70, .18));
}
@media (max-width: 760px) { .planet--desk { display: none; } }
.hero__rabbit {
  position: absolute; left: 0; top: 0;
  z-index: 4; /* au premier plan : il peut passer par-dessus le titre */
  width: clamp(70px, 8.5vw, 140px); max-width: none; height: auto;
  pointer-events: none; will-change: transform;
  filter: brightness(.85) drop-shadow(0 0 2.5vmin rgba(255, 160, 70, .18)); /* éclairé par l'éclipse, comme les planètes */
}
@media (max-width: 760px) { .hero__rabbit { width: 17vw; } }

.hero__title {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 3vh);
  z-index: 3; /* toujours devant les planètes et bonbons de la scène */
  text-align: center; pointer-events: none;
  padding: 0 var(--gutter);
}
.hero__kicker {
  display: block; margin-bottom: 14px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: #ffcf6a;
}
.hero__name {
  display: block;
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(44px, 7.2vw, 128px); line-height: .9; letter-spacing: -.02em;
  color: #f4e4c1;
  text-shadow: 0 0 48px rgba(255, 186, 90, .28);
}

.hero__tag { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 12px); opacity: 0; }
.hero__sticker { position: absolute; right: 6vw; top: 14vh; opacity: 0; }

.hero__hint {
  position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  text-decoration: none; color: rgba(247, 238, 220, .75);
  white-space: nowrap;
}
.hero__hint i { width: 1px; height: 46px; background: rgba(247, 238, 220, .25); position: relative; overflow: hidden; }
.hero__hint i::after {
  content: ""; position: absolute; left: -1px; top: -10px; width: 3px; height: 10px; background: var(--yellow);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { to { top: 46px; } }

/* =========================================================
   Sections communes
   ========================================================= */
/* Les fonds de section sont peints en z-index:-2 (::before) pour que le cosmonaute (z-index:-1)
   se promène PAR-DESSUS les fonds mais DERRIÈRE les textes, photos et blocs.
   Aucune section ne doit donc créer de contexte d'empilement (pas de z-index, transform, clip-path…). */
.sec { position: relative; padding: clamp(84px, 11vw, 168px) 0; }
.sec::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg, var(--ink)); }
.sec__head h2, .technique h2 { font-size: clamp(56px, 9vw, 150px); }
.sec__head { margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- 2. Recette ---------- */
.recette { --bg: var(--orange); color: var(--ink); margin-top: -1px; }
.wave { position: absolute; left: 0; width: 100%; height: 80px; display: block; }
.wave--top { top: -79px; fill: var(--orange); }

/* séparateur « Le groupe » → « Trois CV » : bandes ondulées noir / crème qui glissent doucement */
.waves {
  position: absolute; left: 0; top: calc(-1 * clamp(80px, 11vw, 170px) + 2px);
  width: 100%; height: clamp(80px, 11vw, 170px); display: block; overflow: hidden;
}
/* l'ondulation est animée en JS (houle), plus de défilement horizontal */

/* zone noire en tête de « Le groupe » : seul endroit où le cosmonaute réapparaît */
.groupe__space { position: absolute; left: 0; right: 0; top: 0; height: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.groupe__astro { position: absolute; left: 0; top: 0; width: clamp(140px, 21vw, 330px); will-change: transform; }
.groupe__astro img { width: 100%; height: auto; animation: astro 10s ease-in-out infinite alternate; }
.recette__crumb {
  position: absolute; left: -14vw; bottom: -18vw; width: 52vw; max-width: 760px;
  color: #ea4b14; --core: #f0531a; --chips: #e2470f;
  pointer-events: none;
  z-index: -2; /* décor de fond ; son débordement est recouvert par le fond de la section suivante */
}
.recette__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.recette__title { font-size: clamp(72px, 11.5vw, 180px); }
.recette__grid > div p:not(.kicker):not(.lead) { max-width: 54ch; font-size: clamp(17px, 1.3vw, 21px); }

.label {
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink);
  padding: clamp(22px, 2.6vw, 36px);
  rotate: 2deg;
  box-shadow: 16px 18px 0 rgba(14, 11, 23, .18);
  transition: rotate .5s var(--ease), scale .5s var(--ease);
}
.label:hover { rotate: 0deg; scale: 1.02; }
.label h3 { font-weight: 900; font-stretch: 85%; font-size: clamp(36px, 3.4vw, 52px); letter-spacing: -.02em; line-height: 1; }
.label__sub { font-size: 15px; margin-top: 4px; }
.label dl { margin: 10px 0 0; border-top: 12px solid var(--ink); }
.label__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0 6px; border-bottom: 1.5px solid var(--ink); font-size: 17px; }
.label__row dd { margin: 0; text-align: right; }
.label__row--b { font-weight: 800; font-size: clamp(18px, 1.5vw, 22px); }
.label__row--thick { border-bottom-width: 10px; }
.label__note { font-size: 15px; margin-top: 14px !important; line-height: 1.4; }
.label__origin { font-family: var(--f-mono); font-size: 12px; margin-top: 12px !important; }

/* ---------- Ruban défilant ---------- */
.tape {
  position: relative; z-index: 4;
  margin: -34px -3vw;
  background: var(--yellow); color: var(--ink);
  rotate: -2deg;
  padding: 14px 0 12px;
  overflow: hidden;
  border-block: 4px solid var(--ink);
}
.tape__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.tape__track span {
  white-space: nowrap; font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(24px, 3vw, 42px); line-height: 1;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 3. Groupe ---------- */
.groupe { padding-bottom: 0; }
.members { display: grid; grid-template-columns: repeat(4, 1fr); }
.member { position: relative; }
.member__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.member:hover .member__photo img { transform: scale(1.06) rotate(-1deg); filter: saturate(1.4) contrast(1.05); }
.member__name {
  position: relative; display: inline-block;
  margin-top: -.62em; padding: .1em .35em 0 .4em;
  background: var(--ink);
  font-size: clamp(38px, 3.8vw, 64px);
}
.member__role { font-family: var(--f-mono); font-weight: 500; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--c); padding: 18px 24px 8px; }
.member__bio { padding: 0 24px 48px; max-width: 34ch; opacity: .9; }

.cv::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--cream); }
.cv { position: relative; color: var(--ink); padding: clamp(80px, 10vw, 150px) 0; margin-top: calc(clamp(80px, 11vw, 170px) + 16px); }
.cv__title { font-size: clamp(44px, 7vw, 116px); margin-bottom: clamp(40px, 5vw, 72px); }
.cv__title em { color: var(--orange-deep); white-space: nowrap; } /* « Et Cyril. » jamais coupé */
@media (max-width: 760px) {
  .cv__title { font-size: clamp(38px, 11vw, 52px); line-height: 1.04; margin-bottom: 64px; }
}
.cv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.cv__col { border-top: 10px solid var(--c); padding-top: 18px; }
.cv__who { font-family: var(--f-mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px !important; }
.cv__big { font-size: clamp(36px, 3.5vw, 56px); margin-bottom: 10px !important; }
.cv__mid { font-size: clamp(24px, 2.2vw, 36px); margin-bottom: 18px !important; }
.cv__quote { font-size: clamp(26px, 2.4vw, 38px); margin-bottom: 18px !important; }
.cv__col > p:last-child { font-size: 16px; line-height: 1.5; }

/* ---------- 4. À la carte ---------- */
.carte { display: grid; grid-template-columns: 40% 1fr; padding: 0; min-height: 100vh; }
.carte__art { position: relative; z-index: -2; } /* décor : le cosmonaute passe devant */
.carte__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.psy-rings { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.psy-rings__eclipse { --core: var(--ink); --chips: #2a2140; }
/* la planète et sa ceinture de bonbons se balancent ensemble */
.psy-system {
  transform-box: view-box; transform-origin: 0 0 /* = centre du dessin (viewBox centré sur 0,0) */;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { rotate: -8deg; } to { rotate: 8deg; scale: 1.04; } }
.carte__body { padding: clamp(64px, 8vw, 130px) var(--gutter) clamp(64px, 7vw, 110px); max-width: 980px; }
.carte__title { margin: 0 0 clamp(24px, 3vw, 40px) calc(-1 * clamp(80px, 12vw, 220px)); position: relative; z-index: 2; }
.carte__title span { display: inline-block; background: var(--ink); padding: .12em .3em .08em .25em; font-size: clamp(56px, 7.4vw, 124px); }
.tracks { list-style: none; margin: 0; padding: 0; }
.track {
  display: grid; grid-template-columns: 58px 1fr 48px; gap: 12px; align-items: start;
  padding: 22px 0 20px; border-bottom: 1px solid rgba(179, 156, 255, .38);
}
.track__n { font-family: var(--f-mono); color: var(--orange); padding-top: .7em; }
.track h3 { font-size: clamp(30px, 3.2vw, 50px); margin-bottom: 8px; transition: color .3s, translate .4s var(--ease); }
.track p { opacity: .82; max-width: 60ch; font-size: 17px; }
.track__play {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; align-self: center;
  border: 1.5px solid var(--cream); text-decoration: none; font-size: 14px; padding-left: 3px;
  opacity: 0; scale: .7; transition: opacity .3s, scale .3s var(--ease), background .3s, color .3s;
}
.track:hover h3 { color: var(--yellow); translate: 10px 0; }
.track:hover .track__play, .track__play:focus-visible { opacity: 1; scale: 1; }
.track__play:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
@media (hover: none) { .track__play { opacity: 1; scale: 1; } }
.carte__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- 5. Scène ---------- */
.scene { padding-top: 0; }
.scene__top { display: grid; grid-template-columns: 31% 1fr; min-height: 72vh; }
.scene__title {
  background: var(--orange); color: var(--ink);
  padding: clamp(40px, 5vw, 80px) var(--gutter);
  font-size: clamp(54px, 6.4vw, 112px);
  display: flex; align-items: center;
}
.scene__photo { margin: 0; overflow: hidden; }
.scene__photo img { width: 100%; height: 100%; object-fit: cover; }
.dates { list-style: none; margin: 0; padding: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.date { display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--cream); padding-top: 16px; }
.date time { font-family: var(--f-mono); font-size: 14px; }
.date strong { font-size: clamp(26px, 2.2vw, 34px); }
.date span { font-family: var(--f-mono); font-size: 13px; opacity: .7; }
.date--next { background: var(--yellow); color: var(--ink); border-top: 0; padding: 18px 20px; rotate: -2deg; box-shadow: 8px 8px 0 var(--pink); }
.date--next strong { font-size: clamp(32px, 2.6vw, 42px); }
.date--next span { opacity: 1; }

/* ---------- 6. Écouter ---------- */
.ecouter { display: grid; grid-template-columns: 46% 1fr; padding: 0; }
.ecouter__photo { margin: 0; position: relative; overflow: hidden; min-height: 60vh; }
.ecouter__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ecouter__body { padding: clamp(64px, 7vw, 120px) var(--gutter); display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.ecouter__title { color: var(--yellow); font-size: clamp(52px, 6vw, 104px); }
.video {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: url(../img/scene.webp) center / cover var(--purple);
  isolation: isolate;
}
.video::before { content: ""; position: absolute; inset: 0; background: var(--purple); mix-blend-mode: multiply; opacity: .85; transition: opacity .4s; }
.video:hover::before { opacity: .45; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%;
  background: var(--yellow); transition: scale .35s var(--ease);
}
.video__play::after { content: ""; position: absolute; left: 36px; top: 28px; border-left: 28px solid var(--ink); border-block: 18px solid transparent; }
.video:hover .video__play { scale: 1.12; }
.video__label { position: absolute; left: 0; bottom: 0; background: var(--cream); color: var(--ink); padding: 12px 18px; font-weight: 800; font-stretch: 85%; }
.bandcamp {
  display: flex; align-items: center; gap: 20px; text-decoration: none;
  border: 1.5px solid rgba(247, 238, 220, .25); padding: 14px; transition: border-color .3s, background .3s;
}
.bandcamp:hover { border-color: var(--yellow); background: rgba(255, 194, 26, .06); }
.bandcamp__cover { flex: none; width: 96px; aspect-ratio: 1; background: var(--purple); display: grid; place-items: center; }
.bandcamp__cover svg { width: 82%; --core: var(--ink); }
.bandcamp .kicker { color: var(--orange); margin-bottom: 6px; }
.bandcamp strong { display: block; font-size: 34px; }
.bandcamp .small { display: block; font-size: 15px; opacity: .8; margin-top: 4px; }
.seek .kicker { color: var(--orange); }
.seek__list { font-size: clamp(40px, 4.8vw, 80px); }

/* ---------- 7. Technique ---------- */
.technique { --bg: var(--cream); color: var(--ink); }
.technique__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; margin: clamp(28px, 3vw, 44px) 0 0; }
.facts dt { font-family: var(--f-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-deep); font-weight: 500; }
.facts dd { margin: 6px 0 0; font-size: 17px; line-height: 1.4; }
.technique__dl { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.plot { position: relative; background: var(--ink); color: var(--cream); aspect-ratio: 5 / 4.4; overflow: hidden; }
.plot__back { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.plot__box { position: absolute; top: 12%; border: 1.5px solid var(--cream); padding: 8px 12px; font-size: 13px; font-weight: 700; text-align: center; line-height: 1.2; }
.plot__box--di { left: 5%; }
.plot__box--amp { right: 5%; }
.plot__pill {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  background: var(--c); color: var(--ink);
  border-radius: 999px; padding: 12px 22px; text-align: center;
  font-weight: 800; font-stretch: 85%; font-size: clamp(14px, 1.3vw, 18px); line-height: 1.1;
  transition: scale .3s var(--ease);
}
.plot__pill:hover { scale: 1.08; }
.plot__pill small { display: block; font-weight: 600; font-size: .8em; }
.plot__public { position: absolute; left: 0; right: 0; bottom: 0; background: var(--orange); color: var(--ink); text-align: center; padding: 16px; font-size: clamp(26px, 2.6vw, 38px); }

/* ---------- 8. Booking ---------- */
.booking {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: clamp(100px, 10vw, 140px) var(--gutter);
}
.booking__rings { z-index: -2; } /* les anneaux sont un fond : le cosmonaute passe devant */
.booking__core {
  position: relative; z-index: 2;
  width: min(640px, 82vw); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 clamp(14px, 1.6vw, 22px) var(--yellow), 0 0 0 clamp(28px, 3.4vw, 48px) var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 13%;
}
.booking__name { font-size: clamp(52px, 6.4vw, 104px); margin-bottom: 18px; }
.booking__tel { font-size: clamp(30px, 3.4vw, 52px); white-space: nowrap; text-decoration: none; }
.booking__mail { font-size: clamp(17px, 1.6vw, 24px); margin-top: 8px; text-underline-offset: 4px; }
.booking__tel:hover, .booking__mail:hover { color: var(--yellow); }
.booking__sticker { position: absolute; z-index: 3; right: 5vw; top: 14vh; box-shadow: 10px 10px 0 var(--ink); }
.socials { position: absolute; z-index: 3; right: 4vw; bottom: 8vh; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.socials a {
  display: block; width: 260px; padding: 15px 20px;
  background: var(--cream); color: var(--ink); text-decoration: none;
  font-family: var(--f-mono); font-size: 16px; font-weight: 500;
  transition: translate .3s var(--ease), background .3s;
}
.socials a:hover { translate: -8px 0; background: var(--yellow); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid rgba(247, 238, 220, .12); padding: 44px 0 52px; position: relative; z-index: 2; }
/* footer : textes jamais coupés ; s'ils ne tiennent pas sur une ligne, ils s'empilent, centrés (classe posée en JS) */
.footer__in { display: flex; gap: 12px 40px; align-items: baseline; justify-content: center; text-align: center; }
.footer__in > * { white-space: nowrap; flex: none; }
.footer__in.is-stacked { flex-direction: column; align-items: center; gap: 10px; }
.footer__name { font-size: min(28px, 6.6vw); }
.footer .mono { opacity: .7; font-size: min(14px, 3.15vw); }

/* =========================================================
   Objets flottants & cosmonaute
   ========================================================= */
.floaters { position: fixed; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; }
.floater { position: absolute; left: 0; top: 0; width: calc(var(--s, 80px) * var(--k)); visibility: hidden; will-change: transform; }
.floater > * { display: block; width: 100%; height: auto; animation: bob var(--bob, 7s) ease-in-out var(--delay, 0s) infinite alternate; }
.floater[data-spin] > * { animation: spin var(--bob, 60s) linear infinite; }
.gumball {
  aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .85) 0 7%, transparent 16%),
    radial-gradient(circle at 40% 36%, color-mix(in srgb, var(--c), #fff 25%) 0%, var(--c) 42%, color-mix(in srgb, var(--c), #000 55%) 100%);
}
@keyframes bob { from { translate: 0 -10px; rotate: -6deg; } to { translate: 0 12px; rotate: 7deg; } }
@keyframes spin { to { rotate: 360deg; } }

.astro { position: absolute; left: 0; top: 0; z-index: 21; width: clamp(150px, 23vw, 380px); pointer-events: none; opacity: 0; will-change: transform, opacity; }
.astro__bob { animation: astro 10s ease-in-out infinite alternate; }
.astro__bob { position: relative; }
.astro img { width: 100%; height: auto; }
.astro .astro__ht { position: absolute; inset: 0; opacity: 0; } /* trame catalogue, fondue progressivement */
.floater--astro img { width: 100%; height: auto; }
.floater--astro > * { animation-name: astro; }
@keyframes astro { 0% { translate: 0 -14px; rotate: -4deg; } 50% { translate: 8px 6px; rotate: 3deg; } 100% { translate: -6px 16px; rotate: -2deg; } }

/* ---------- Révélations au scroll ---------- */
.js [data-reveal] { opacity: 0; translate: 0 48px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .dates { grid-template-columns: repeat(3, 1fr); }
  .cv__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}

@media (max-width: 960px) {
  :root { --k: .75; }
  .recette__grid, .technique__grid { grid-template-columns: 1fr; }
  .label { max-width: 520px; }
  .carte, .ecouter { grid-template-columns: 1fr; }
  .carte__sticky { position: relative; height: 52vh; }
  .carte__title { margin-left: 0; margin-top: calc(-1 * clamp(80px, 14vw, 140px)); }
  .scene__top { grid-template-columns: 1fr; }
  .scene__photo { aspect-ratio: 16 / 10; }
  .ecouter__photo { min-height: 0; aspect-ratio: 1000 / 1184; } /* image entière : les deux têtes visibles */
  .booking { display: flex; flex-direction: column; gap: 40px; }
  .booking__sticker, .socials { position: relative; inset: auto; }
  .booking__sticker { align-self: flex-end; margin-top: -60px; }
  .socials { width: min(100%, 420px); }
  .socials a { width: 100%; }
}

@media (max-width: 760px) {
  :root { --k: .58; }
  .floater--desk { display: none; }
  .members {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 var(--gutter) 10px; scrollbar-width: none;
  }
  .members::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 80%; scroll-snap-align: center; }
  .member__bio { padding-bottom: 28px; }
  .cv__grid { grid-template-columns: 1fr; }
  .dates { grid-template-columns: 1fr; gap: 0; }
  .date { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 16px 0; border-top-width: 2px; }
  .date strong { flex-basis: 100%; order: -1; }
  .date--next { order: -1; padding: 20px; margin-bottom: 24px; border: 0; }
  .facts { grid-template-columns: 1fr; }
  .plot { aspect-ratio: 4 / 4.6; }
  .plot__pill { padding: 10px 14px; font-size: 13px; }
  .plot__box { font-size: 11px; padding: 6px 8px; }
  .booking__core { width: 100%; aspect-ratio: auto; border-radius: 28px; padding: 44px 28px; box-shadow: 0 0 0 10px var(--yellow), 0 0 0 20px var(--ink); }
  .booking__tel { font-size: min(9.5vw, 42px); }
  .booking__sticker { margin-top: -30px; }
  .track { grid-template-columns: 40px 1fr; }
  .track__play { grid-column: 2; justify-self: start; width: 40px; height: 40px; margin-top: 4px; }
  .hero__sticker { top: calc(var(--nav-h) + 14px); left: 5vw; right: auto; width: 104px; font-size: 17px; } /* à gauche : libère le bouton du menu */
  .hero__tag { display: none; }
  .astro { width: 40vw; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}

/* sucette géante qui traverse le panneau de la planète au premier plan (section « À la carte ») */
.flyby {
  position: absolute; left: 0; top: 0; z-index: 2; /* dans le panneau, devant la planète et sa ceinture */
  height: auto; max-width: none; pointer-events: none; visibility: hidden;
  will-change: transform;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}

/* fond animé du menu mobile (propriétés animables ; sans support, le fond reste simplement fixe) */
@property --ro { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --rcx { syntax: '<percentage>'; inherits: false; initial-value: 85%; }
@property --rcy { syntax: '<percentage>'; inherits: false; initial-value: 12%; }
@keyframes menu-rings { from { --ro: 0px; } to { --ro: 29vmax; } } /* 29vmax = une période complète : boucle sans à-coup */
@keyframes menu-center { from { --rcx: 85%; --rcy: 12%; } to { --rcx: 62%; --rcy: 30%; } }

/* « À la carte », variante SPIRALE : spirale hypnotique qui tourne lentement (les bras semblent couler vers le cookie) */
.spiral { transform-box: view-box; transform-origin: 0 0 /* = centre du dessin (viewBox centré sur 0,0) */; animation: spiral-turn 38s linear infinite; }
@keyframes spiral-turn { to { rotate: 360deg; } }
.spiral-fall { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.spiral-fall img { position: absolute; left: 0; top: 0; max-width: none; height: auto; will-change: transform, opacity; opacity: 0; }
.carte:not([data-anim="spirale"]) .spiral-fall { display: none; }
