/* =============================================================
   Agora World — feuille de style
   Mise en page : une galerie blanche. Les objets 3D de chaque
   événement portent la couleur ; la typographie reste noire et
   compacte ; le bleu est réservé aux actions.
   ============================================================= */

:root {
  color-scheme: light;

  /* Surfaces */
  --white: #ffffff;
  --mist: #f5f5f7;
  --frost: #fafafc;
  --hairline: #d6d6d6;
  --control: #e6e6e8;

  /* Texte et actions */
  --ink: #1d1d1f;
  --ink-strong: #000000;
  --slate: #707070;
  --steel: #86868b;
  --blue: #0066cc;
  --blue-fill: #0071e3;
  --blue-fill-hover: #0077ed;
  --orange: #b64400;
  --on-fill: #ffffff;
  --selection: rgba(0, 113, 227, 0.18);

  /* Chapitre de nuit */
  --night: #000000;
  --night-ink: #f5f5f7;
  --night-slate: #a1a1a6;
  --night-hairline: #424245;
  --night-orange: #f56300;

  /* Translucides : navigation et contrôles */
  --nav-bg: rgba(250, 250, 252, 0.8);
  --nav-ink: rgba(0, 0, 0, 0.8);
  --lnav-bg: rgba(255, 255, 255, 0.72);
  --lnav-edge: rgba(0, 0, 0, 0.16);
  --lnav-dark-bg: rgba(22, 22, 23, 0.8);
  --lnav-dark-edge: rgba(255, 255, 255, 0.14);
  --scrim: rgba(232, 232, 237, 0.4);
  --track: rgba(210, 210, 215, 0.64);
  --track-hover: rgba(223, 223, 227, 0.9);
  --glyph: rgba(0, 0, 0, 0.56);
  --dot: rgba(0, 0, 0, 0.42);
  --dot-active: rgba(0, 0, 0, 0.16);
  --chip-dark: rgba(29, 29, 31, 0.88);
  --toast-bg: rgba(29, 29, 31, 0.94);
  --swatch-edge: rgba(0, 0, 0, 0.1);

  /* Finitions des événements (pastilles de couleur) */
  --c-rose: #ec5f95;
  --c-throwdown: #c61f2b;
  --c-night: #b9bcc4;
  --c-duo: #c99256;
  --c-halt: #1d57d6;
  --c-summer: #ffb917;

  /* Typographie : SF Pro sur les appareils Apple, Inter ailleurs */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Mise en page */
  --gutter: 22px;
  --content: 980px;
  --bleed: max(var(--gutter), calc((100vw - var(--content)) / 2));
  --section: clamp(88px, 11vw, 150px);
  --gap: 20px;
  --radius-card: 28px;
  --lnav-h: 52px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.page { overflow-x: clip; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
p, h1, h2, h3, dl, dd { margin: 0; }
sup { font-size: 0.62em; line-height: 0; vertical-align: 0.52em; }
::selection { background: var(--selection); }
:focus-visible { outline: 2px solid var(--blue-fill); outline-offset: 3px; border-radius: 6px; }
section[id], main[id] { scroll-margin-top: var(--lnav-h); }

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: -64px; z-index: 100;
  padding: 10px 18px; border-radius: 980px;
  background: var(--ink); color: var(--on-fill);
  font-size: 14px;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 10px; }

/* ---------- Typographie ---------- */
.status {
  font-size: 12px; line-height: 1.33; font-weight: 600; letter-spacing: -0.01em;
  color: var(--orange);
}
.status--muted { color: var(--slate); }
.kicker {
  font-family: var(--font-display);
  font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: 0.011em;
}
.display {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.2vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -0.005em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.125; font-weight: 600; letter-spacing: 0.004em;
  text-wrap: balance;
}
.lead {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.75vw, 21px); line-height: 1.38; letter-spacing: 0.011em;
}

/* Découpage en mots (animations) */
.word { display: inline-block; }
.word__in { display: inline-block; }
[data-split="mask"] .word {
  overflow: hidden;
  vertical-align: top;
  padding: 0.12em 0.05em 0.16em;
  margin: -0.12em -0.05em -0.16em;
}

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px;
  border-radius: 980px;
  background: var(--blue-fill); color: var(--on-fill);
  font-size: 17px; line-height: 1.18; letter-spacing: -0.022em; white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { background: var(--blue-fill-hover); }
.btn--sm {
  min-height: 28px; padding: 4px 12px;
  font-size: 12px; line-height: 1.33; letter-spacing: -0.01em;
}
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--steel);
}
.btn--ghost:hover { background: var(--ink); color: var(--on-fill); box-shadow: inset 0 0 0 1px var(--ink); }

.link {
  display: inline-flex; align-items: center;
  color: var(--blue);
  font-size: 17px; line-height: 1.24;
}
.link::after {
  content: "";
  width: 7px; height: 7px; margin-left: 6px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover::after { transform: translateX(4px) rotate(45deg); }

/* ---------- Navigation globale ---------- */
.gnav { position: relative; z-index: 60; height: 44px; }
.gnav::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 0.32s var(--ease);
}
.has-flyout .gnav::before, .gnav.is-menu::before { background: var(--frost); }
.gnav__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  height: 44px;
  max-width: calc(1024px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.gnav__logo {
  flex: none; display: grid; place-items: center;
  width: 34px; height: 44px; margin-left: -8px;
  color: var(--ink); opacity: 0.88;
  transition: opacity 0.3s var(--ease);
}
.gnav__logo:hover { opacity: 1; }
.gnav__list {
  list-style: none;
  display: flex; flex: 1; justify-content: space-between;
  margin: 0 24px; padding: 0;
}
.gnav__link {
  display: flex; align-items: center;
  height: 44px; padding-inline: 8px;
  font-size: 12px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap;
  color: var(--nav-ink);
  transition: color 0.3s var(--ease);
}
.gnav__link:hover, .gnav__link.is-current { color: var(--ink-strong); }
.gnav__actions { flex: none; display: flex; align-items: center; margin-right: -8px; }
.gnav__icon {
  display: grid; place-items: center;
  width: 36px; height: 44px;
  color: var(--nav-ink);
  transition: color 0.3s var(--ease);
}
.gnav__icon:hover { color: var(--ink-strong); }
.gnav__burger { display: none; position: relative; width: 44px; height: 44px; }
.gnav__burger span {
  position: absolute; left: 13px;
  width: 18px; height: 1.5px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.gnav__burger span:first-child { top: 18px; }
.gnav__burger span:last-child { top: 25px; }
.gnav.is-menu .gnav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.gnav.is-menu .gnav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Panneau déroulant au survol */
.gnav__flyout {
  position: absolute; left: 0; right: 0; top: 44px; z-index: 1;
  height: 0; overflow: hidden;
  background: var(--frost);
  transition: height 0.4s var(--ease);
}
.flyout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 168px;
  gap: 40px;
  max-width: calc(1024px + 2 * var(--gutter));
  margin-inline: auto;
  padding: 36px calc(var(--gutter) + 26px) 56px;
}
.flyout > * { animation: fly-in 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms + 70ms); }
@keyframes fly-in { from { opacity: 0; transform: translateY(-8px); } }
.flyout__label { margin-bottom: 12px; font-size: 12px; line-height: 1.33; color: var(--slate); }
.flyout__big {
  display: block;
  font-family: var(--font-display);
  font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: 0.009em;
  transition: color 0.3s var(--ease);
}
.flyout__big:hover { color: var(--blue); }
.flyout__meta { margin-top: 8px; font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; }
.flyout__list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; font-size: 12px; line-height: 1.33; font-weight: 600; letter-spacing: -0.01em; }
.flyout__status { margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--slate); }
.flyout__status.is-open { color: var(--orange); }
.flyout__link { font-size: 12px; font-weight: 600; }
.flyout__link:hover { color: var(--blue); text-decoration: underline; }
.flyout__media { width: 168px; height: 168px; }
.flyout__media img { width: 100%; height: 100%; object-fit: contain; animation: fly-media 0.7s var(--ease-out) both 0.12s; }
@keyframes fly-media { from { opacity: 0; transform: scale(0.82) rotate(-8deg); } }

.scrim {
  position: fixed; inset: 0; z-index: 50;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.has-flyout .scrim { opacity: 1; visibility: visible; }

/* ---------- Navigation de la saison ---------- */
.lnav-sentinel { height: 1px; margin-bottom: -1px; }
.lnav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  height: var(--lnav-h);
}
.lnav__bg {
  position: absolute; inset: 0;
  background: var(--lnav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.3s var(--ease), background-color 0.4s var(--ease);
}
.lnav.is-stuck .lnav__bg { box-shadow: inset 0 -1px 0 var(--lnav-edge); }

/* Sur le chapitre de nuit, la barre passe en sombre */
.lnav__title, .lnav__toggle { transition: color 0.4s var(--ease); }
.lnav.is-dark .lnav__bg { background: var(--lnav-dark-bg); }
.lnav.is-dark.is-stuck .lnav__bg { box-shadow: inset 0 -1px 0 var(--lnav-dark-edge); }
.lnav.is-dark .lnav__title, .lnav.is-dark .lnav__toggle { color: var(--night-ink); }
.lnav.is-dark .btn--ghost { color: var(--night-ink); box-shadow: inset 0 0 0 1px var(--night-slate); }
.lnav.is-dark .btn--ghost:hover { background: var(--night-ink); color: var(--ink); }
.lnav.is-dark .lnav__progress { background: var(--night-ink); }
.lnav__inner {
  position: relative;
  display: flex; align-items: center; gap: 4px;
  height: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.lnav__title {
  display: grid; align-items: center;
  height: 100%; min-width: 0; overflow: hidden;
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.21; font-weight: 600; letter-spacing: 0.012em;
}
.lnav__t { grid-area: 1 / 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lnav__toggle {
  display: none; place-items: center; flex: none;
  width: 30px; height: 30px;
  transition: transform 0.4s var(--ease);
}
.lnav.is-open .lnav__toggle { transform: rotate(180deg); }
.lnav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
.lnav__progress {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lnav.is-stuck .lnav__progress { opacity: 1; }
.lnav__menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid;
  padding: 4px var(--gutter) 16px;
  background: var(--frost);
  box-shadow: inset 0 -1px 0 var(--lnav-edge);
  animation: drop-in 0.36s var(--ease) both;
}
.lnav__menu[hidden] { display: none; }
.lnav__menu a { padding: 12px 0; font-size: 17px; line-height: 1.24; border-bottom: 1px solid var(--control); }
.lnav__menu a:last-child { border-bottom: 0; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Ouverture ---------- */
.hero { padding-top: clamp(36px, 5vw, 64px); text-align: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero__kicker { margin-top: 6px; }
.hero__title { margin-top: 10px; }
.hero__lead { max-width: 34ch; margin-top: 18px; }
.hero__ctas {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 28px;
  margin-top: 28px;
}
.js .hero [data-intro] { opacity: 0; }
.is-ready .hero [data-intro] { opacity: 1; }

.hero__stage {
  position: relative;
  height: clamp(300px, 31vw, 470px);
  margin-top: clamp(4px, 1.5vw, 20px);
}
.hero__stage .stage { position: absolute; inset: 0; width: 100%; height: 100%; }

.lineup { list-style: none; margin: 0; padding: 0; }
.lineup li { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.lineup a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 10px;
  transform: translateX(-50%);
  font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.lineup__date { color: var(--slate); }
.lineup__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.lineup__name::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px var(--swatch-edge);
  transition: transform 0.4s var(--ease-out);
}
.lineup li.is-hover a, .lineup a:hover { color: var(--blue); }
.lineup li.is-hover .lineup__name::before, .lineup a:hover .lineup__name::before { transform: scale(1.5); }

/* Repli sans 3D : la vitrine devient une simple liste */
.no-3d .hero__stage { height: auto; padding-block: 32px 56px; }
.no-3d .lineup { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 4px; }
.no-3d .lineup li { position: static; opacity: 1; }
.no-3d .lineup a { transform: none; font-size: 14px; }
.no-3d .lineup__name::before { width: 12px; height: 12px; }

.callout-wrap {
  position: relative; z-index: 2;
  display: flex; justify-content: center;
  margin-top: -18px;
  padding: 0 var(--gutter) clamp(56px, 8vw, 104px);
}
.callout {
  display: flex; align-items: center; gap: 20px;
  max-width: 100%;
  padding: 10px 10px 10px 24px;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--control);
  text-align: left;
}
.callout__eyebrow { font-size: 12px; line-height: 1.33; color: var(--slate); }
.callout__title { font-size: 14px; line-height: 1.29; font-weight: 600; letter-spacing: -0.016em; white-space: nowrap; }
.callout__count {
  padding-left: 20px;
  border-left: 1px solid var(--hairline);
  font-size: 14px; line-height: 1.29; letter-spacing: -0.016em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---------- Manifeste ---------- */
.manifesto { padding-block: var(--section); }
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.1vw, 48px); line-height: 1.13; font-weight: 600; letter-spacing: -0.003em;
  text-wrap: pretty;
}

/* ---------- La saison en un coup d’œil ---------- */
.highlights { background: var(--mist); padding-block: var(--section) clamp(56px, 7vw, 96px); }
.highlights__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.carousel__viewport { overflow: hidden; padding-inline: var(--bleed); }
.carousel__track {
  display: flex; gap: var(--gap);
  transition: transform 0.95s var(--ease);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.carousel__track.is-dragging { transition: none; cursor: grabbing; }
.slide {
  position: relative; flex: 0 0 auto;
  width: 100%;
  height: clamp(460px, 52vw, 660px);
  border-radius: var(--radius-card);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.slide:not(.is-active) { opacity: 0.55; transform: scale(0.97); }
.slide .stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide__caption {
  position: absolute; left: 0; top: 0; z-index: 2;
  max-width: 620px;
  padding: clamp(26px, 3.4vw, 44px);
  pointer-events: none;
}
.slide__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; color: var(--slate); letter-spacing: -0.016em; }
.swatch { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--swatch-edge); }
.slide__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 32px); line-height: 1.125; font-weight: 600; letter-spacing: 0.004em;
  text-wrap: balance;
}
.slide__title span { color: var(--slate); }
.slide__more {
  position: absolute; right: 24px; bottom: 24px; z-index: 3;
  display: inline-flex; align-items: center;
  height: 44px; min-width: 44px; padding-inline: 14px;
  border-radius: 22px;
  background: var(--chip-dark); color: var(--on-fill);
  transition: background-color 0.3s var(--ease);
}
.slide__more-label {
  max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap;
  font-size: 14px; font-weight: 600; letter-spacing: -0.016em;
  transition: max-width 0.5s var(--ease), opacity 0.35s var(--ease), margin 0.5s var(--ease);
}
.slide__more svg { flex: none; transition: transform 0.5s var(--ease); }
.slide:hover .slide__more-label, .slide__more:focus-visible .slide__more-label { max-width: 110px; opacity: 1; margin-right: 8px; }
.slide:hover .slide__more svg, .slide__more:focus-visible svg { transform: rotate(90deg); }
.slide__more:hover { background: var(--ink); }

.carousel__controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.carousel__dots {
  display: flex; align-items: center; gap: 14px;
  height: 56px; padding-inline: 24px;
  border-radius: 36px;
  background: var(--track);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--dot);
  overflow: hidden;
  transition: width 0.5s var(--ease), background-color 0.3s var(--ease);
}
.dot::before { content: ""; position: absolute; inset: -12px -6px; }
.dot:hover { background: var(--glyph); }
.dot.is-active { width: 44px; background: var(--dot-active); }
.dot__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--glyph); transform: scaleX(0); transform-origin: 0 50%; }
.dot.is-active .dot__fill { animation: dot-fill 5.5s linear forwards; }
.is-paused .dot.is-active .dot__fill { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.carousel__toggle {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--track); color: var(--glyph);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.carousel__toggle:hover { background: var(--track-hover); color: var(--ink); }
.carousel__toggle .i-play, .carousel__toggle:not(.is-playing) .i-pause { display: none; }
.carousel__toggle:not(.is-playing) .i-play { display: block; }

/* ---------- Chapitres d’événement ---------- */
.chapter { position: relative; padding-block: var(--section); overflow-x: clip; }
.chapter--mist { background: var(--mist); }
.chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.chapter--flip .chapter__copy { order: 2; }
.chapter__copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 470px; }
.chapter__copy .kicker { margin-top: 6px; }
.chapter__title { margin-top: 10px; }
.chapter__body { margin-top: 20px; }
.chapter__note { margin-top: 20px; font-size: 12px; line-height: 1.33; color: var(--slate); letter-spacing: -0.01em; }
.chapter__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.chapter__stage { position: relative; height: clamp(380px, 46vw, 620px); margin-right: calc(-1 * var(--bleed)); }
.chapter--flip .chapter__stage { margin-right: 0; margin-left: calc(-1 * var(--bleed)); }
.chapter__stage .stage { position: absolute; inset: 0; width: 100%; height: 100%; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 32px;
  border-top: 1px solid var(--hairline);
}
.facts > div { padding: 14px 14px 0 0; }
.facts dt { margin-bottom: 4px; font-size: 12px; line-height: 1.33; color: var(--slate); letter-spacing: -0.01em; }
.facts dd { font-size: 14px; line-height: 1.29; font-weight: 600; letter-spacing: -0.016em; }

/* Repli sans 3D : une pastille de la couleur de l’événement */
.stage-fallback { display: none; }
.no-3d .stage { visibility: hidden; }
.no-3d .stage-fallback {
  display: block;
  position: absolute; left: 50%; top: 56%;
  width: min(44%, 280px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c);
  transform: translate(-50%, -50%);
}

/* ---------- Agora Throwdown ---------- */
.feature { background: var(--mist); padding-top: var(--section); }
.feature__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature__head .kicker { margin-top: 6px; }
.feature__title { margin-top: 10px; max-width: 13em; }
.specs {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  width: 100%;
  margin: clamp(44px, 6vw, 72px) 0 0; padding: 0;
}
.specs li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.specs__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.specs__label { max-width: 17ch; font-size: 14px; line-height: 1.29; color: var(--slate); letter-spacing: -0.016em; }

.feature__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(16px, 3vw, 40px);
}
.feature__panels { display: flex; flex-direction: column; }
.panel {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px;
  min-height: 80vh; min-height: 80svh;
  padding-block: 40px;
  transition: opacity 0.6s var(--ease);
}
.motion .panel { opacity: 0.24; }
.motion .panel.is-active { opacity: 1; }
.panel__label { font-size: 14px; font-weight: 600; color: var(--slate); letter-spacing: -0.016em; }
.panel p:not(.panel__label) { max-width: 40ch; }
.panel .chapter__ctas { margin-top: 8px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; }
.chips li {
  padding: 8px 16px; border-radius: 980px;
  background: var(--white);
  font-size: 14px; font-weight: 600; letter-spacing: -0.016em;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.chips li:hover { background: var(--ink); color: var(--on-fill); transform: translateY(-2px); }
.schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: 100%; }
.schedule__title { margin-bottom: 8px; font-size: 14px; font-weight: 600; letter-spacing: -0.016em; }
.schedule ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.schedule li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; line-height: 1.29; letter-spacing: -0.016em; }
.schedule time { flex: none; width: 58px; color: var(--slate); font-variant-numeric: tabular-nums; }
.feature__sticky {
  position: sticky; top: calc(var(--lnav-h) + env(safe-area-inset-top, 0px));
  align-self: start;
  height: calc(100vh - var(--lnav-h)); height: calc(100svh - var(--lnav-h));
  margin-right: calc(-1 * var(--bleed));
}
.feature__sticky .stage { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Agora Night ---------- */
.night { background: var(--mist); }
.night__card {
  position: relative;
  overflow: hidden;
  padding-bottom: var(--section);
  background: var(--night); color: var(--night-ink);
}
.night__specks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.night__stage { position: relative; height: clamp(360px, 46vw, 620px); }
.night__stage .stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.night__copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.night__copy .kicker { margin-top: 6px; }
.night__title { margin-top: 10px; max-width: 12em; }
.night__lead { max-width: 38ch; margin-top: 22px; color: var(--night-slate); }
.status--night { color: var(--night-orange); }
.facts--night { max-width: 640px; border-color: var(--night-hairline); text-align: left; }
.facts--night dt { color: var(--night-slate); }

/* ---------- Calendrier ---------- */
.calendar { background: var(--mist); padding-block: var(--section); }
.calendar__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.calendar__lead { color: var(--slate); }
.cal { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.cal__row { border-bottom: 1px solid var(--hairline); }
.cal__link {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto 36px;
  align-items: center; gap: 24px;
  padding: 26px 18px;
}
.cal__link::before {
  content: "";
  position: absolute; inset: 6px -6px; z-index: -1;
  border-radius: 20px;
  background: var(--white);
  opacity: 0; transform: scale(0.98, 0.7);
  transition: opacity 0.35s var(--ease), transform 0.55s var(--ease-out);
}
.cal__link:hover::before, .cal__link:focus-visible::before { opacity: 1; transform: none; }
.cal__date { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cal__day {
  font-family: var(--font-display);
  font-size: 32px; line-height: 1; font-weight: 600; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.cal__month { font-size: 14px; color: var(--slate); letter-spacing: -0.016em; }
.cal__thumb { display: none; }
.cal__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 28px); line-height: 1.14; font-weight: 600; letter-spacing: 0.007em;
  transition: transform 0.55s var(--ease-out);
}
.cal__type { display: block; margin-top: 4px; font-size: 14px; color: var(--slate); letter-spacing: -0.016em; transition: transform 0.55s var(--ease-out) 0.04s; }
.cal__link:hover .cal__name, .cal__link:hover .cal__type { transform: translateX(10px); }
.cal__status { font-size: 12px; line-height: 1.33; font-weight: 600; letter-spacing: -0.01em; color: var(--slate); white-space: nowrap; }
.cal__status.is-open { color: var(--orange); }
.cal__arrow {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.55s var(--ease-out);
}
.cal__link:hover .cal__arrow { background: var(--blue-fill); color: var(--on-fill); box-shadow: none; transform: translateX(4px); }
.cal-preview {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: 240px; height: 240px;
  pointer-events: none; opacity: 0;
  will-change: transform, opacity;
}
.cal-preview img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Infos pratiques ---------- */
.faq { padding-block: var(--section); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}
.faq__head { position: sticky; top: calc(var(--lnav-h) + 40px); }
.faq__note { max-width: 30ch; margin-top: 18px; font-size: 14px; color: var(--slate); letter-spacing: -0.016em; }
.qa { border-bottom: 1px solid var(--hairline); }
.qa:first-child { border-top: 1px solid var(--hairline); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  list-style: none; cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 21px); line-height: 1.24; font-weight: 600; letter-spacing: 0.011em;
  transition: color 0.3s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__icon {
  position: relative; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: transform 0.5s var(--ease), box-shadow 0.3s var(--ease);
}
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 11px; height: 1.5px; border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa summary:hover .qa__icon { box-shadow: inset 0 0 0 1px currentColor; }
.qa[open] .qa__icon { transform: rotate(135deg); }
.qa.is-closing .qa__icon { transform: none; }
.qa__a { overflow: hidden; }
.qa__a p { max-width: 60ch; padding: 0 48px 24px 0; color: var(--slate); }

/* ---------- Final ---------- */
.finale { padding-block: var(--section); }
.finale__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: var(--section); border-top: 1px solid var(--hairline); }
.finale__title { margin-top: 10px; max-width: 14em; }
.count { display: flex; gap: clamp(10px, 2.4vw, 20px); margin-top: clamp(36px, 5vw, 56px); }
.count__unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: clamp(70px, 14vw, 132px);
  padding: 20px 10px 16px;
  border-radius: var(--radius-card);
  background: var(--mist);
  overflow: hidden;
}
.count__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.count__num.tick { animation: tick 0.45s var(--ease-out); }
@keyframes tick { from { transform: translateY(-0.16em); opacity: 0.35; } }
.count__label { margin-top: 8px; font-size: 12px; color: var(--slate); letter-spacing: -0.01em; }
.finale__ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: clamp(36px, 5vw, 52px); }

/* ---------- Pied de page ---------- */
.footer {
  padding-block: 32px 28px;
  background: var(--mist);
  font-size: 12px; line-height: 1.33; letter-spacing: -0.01em;
  color: var(--slate);
}
.footer__note { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--hairline); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
.footer h3 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.footer ul { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; }
.footer a { transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.footer__legal ul { display: flex; gap: 18px; }

/* ---------- Message éphémère ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  max-width: calc(100% - 32px);
  padding: 12px 22px;
  border-radius: 980px;
  background: var(--toast-bg); color: var(--on-fill);
  font-size: 14px; letter-spacing: -0.016em; text-align: center;
  opacity: 0; transform: translate(-50%, 140%);
  transition: transform 0.55s var(--ease-out), opacity 0.3s var(--ease);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   Tablette et mobile
   ============================================================= */
@media (max-width: 1068px) {
  .gnav__list { margin-inline: 12px; }
  .gnav__link { padding-inline: 6px; }
  .flyout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 140px; gap: 28px; }
  .flyout__media { width: 140px; height: 140px; }
}

@media (max-width: 833px) {
  .gnav__inner { justify-content: space-between; }
  .gnav__burger { display: block; }
  .gnav__list {
    position: fixed; left: 0; right: 0; top: var(--menu-top, 44px); bottom: 0; z-index: 1;
    flex-direction: column; justify-content: flex-start;
    margin: 0; padding: 18px calc(var(--gutter) + 26px) 48px;
    background: var(--frost);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden;
    transition: opacity 0.32s var(--ease), visibility 0.32s;
  }
  .gnav.is-menu .gnav__list { opacity: 1; visibility: visible; }
  .gnav__list .gnav__link {
    height: auto; padding: 8px 0;
    font-family: var(--font-display);
    font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: 0.007em;
    color: var(--ink);
    opacity: 0; transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
  }
  .gnav.is-menu .gnav__list .gnav__link { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 35ms + 80ms); }
  .gnav__flyout, .scrim { display: none; }
  .menu-open { overflow: hidden; }

  .lnav__toggle { display: grid; }
  .lnav__cal { display: none; }

  .chapter__grid, .feature__body, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .chapter--flip .chapter__copy { order: 0; }
  .chapter__copy { max-width: none; }
  .chapter__stage, .chapter--flip .chapter__stage {
    height: clamp(320px, 88vw, 520px);
    margin-inline: calc(-1 * var(--gutter));
  }

  .feature__sticky {
    order: -1; z-index: 1;
    height: 44vh; height: 44svh;
    margin-inline: calc(-1 * var(--gutter));
    background: var(--mist);
  }
  .panel { min-height: 70vh; min-height: 70svh; justify-content: flex-start; padding-block: 36px 24px; }

  .faq__head { position: static; }
}

@media (max-width: 734px) {
  .hero__stage { height: clamp(380px, 118vw, 540px); }
  .callout { flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding: 16px 20px; text-align: center; }
  .callout__text { width: 100%; }
  .callout__count { padding-left: 0; border-left: 0; }

  .slide { width: calc(100% - 28px); height: clamp(460px, 132vw, 560px); }
  .slide__more { right: 16px; bottom: 16px; }
  .carousel__dots { gap: 12px; height: 48px; padding-inline: 20px; }
  .carousel__toggle { width: 48px; height: 48px; }

  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .facts--night > div { border-color: var(--night-hairline); }
  .facts dt { margin: 0; }
  .facts dd { text-align: right; }

  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .schedule { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .cal__link {
    grid-template-columns: 56px minmax(0, 1fr) 32px;
    grid-template-areas: "thumb date arrow" "thumb main arrow" "thumb status arrow";
    column-gap: 14px; row-gap: 2px;
    padding: 18px 4px;
  }
  .cal__thumb { display: block; grid-area: thumb; width: 56px; height: 56px; border-radius: 16px; background: var(--c); object-fit: contain; }
  .cal__thumb.is-loaded { background: var(--white); }
  .cal__date { grid-area: date; flex-direction: row; align-items: baseline; gap: 6px; }
  .cal__day { font-family: var(--font-text); font-size: 14px; font-weight: 600; letter-spacing: -0.016em; }
  .cal__main { grid-area: main; }
  .cal__status { grid-area: status; margin-top: 2px; }
  .cal__arrow { grid-area: arrow; width: 32px; height: 32px; }
  .cal__link:hover .cal__name, .cal__link:hover .cal__type { transform: none; }

  .count__unit { padding: 16px 6px 12px; border-radius: 20px; }
  .qa__a p { padding-right: 8px; }
}

@media (hover: none) {
  .cal-preview { display: none; }
  .slide__more-label { max-width: 110px; opacity: 1; margin-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .carousel__track { transition: none; }
}
