/* =========================================================
   Media Notes — partitions pour chorales et orchestres.
   Thème clair (data-theme="light" posé par functions.php) ; les jetons sombres
   du :root servent encore aux sections --contrast et au hero.
   ========================================================= */

:root {
  color-scheme: dark;

  --bg: #100d0b;
  --surface: #171310;
  --surface-2: #211b16;
  --contrast: #14100d;
  --border: #2a231d;
  --border-strong: #43392f;

  --text: #f7f3ee;
  --text-2: #c3b8ac;
  --text-3: #9b9086;

  --accent: #f08a2e;
  --accent-hover: #ff9d4d;
  --accent-text: #ffab5c;
  --on-accent: #ffffff;

  --glass-bg: rgba(23, 19, 16, 0.72);
  --glass-border: rgba(255, 255, 255, 0.14);
  --header-bg: rgba(16, 13, 11, 0.68);
  --header-border: rgba(255, 255, 255, 0.12);
  --header-tint: rgba(240, 138, 46, 0.08);
  --card-ring: rgba(240, 138, 46, 0.24);
  --card-border: rgba(240, 138, 46, 0.5);
  --pill-bg: rgba(240, 138, 46, 0.16);
  --pill-border: rgba(240, 138, 46, 0.32);

  --shadow-lift: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
  --shadow-panel: 0 24px 56px -24px rgba(0, 0, 0, 0.65);

  --radius-card: 16px;
  --radius-glass: 12px;
  --wrap: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;

  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f4f0e9;
  --contrast: #1b1714;
  --border: #e8e1d7;
  --border-strong: #d6cdc0;

  --text: #1b1714;
  --text-2: #63594f;
  --text-3: #736a60;

  --accent: #e0611c;
  --accent-hover: #f0772a;
  --accent-text: #b84610;
  --on-accent: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(27, 23, 20, 0.08);
  --header-bg: rgba(255, 255, 255, 0.72);
  --header-border: rgba(27, 23, 20, 0.08);
  --header-tint: rgba(224, 97, 28, 0.06);
  --card-ring: rgba(224, 97, 28, 0.2);
  --card-border: rgba(224, 97, 28, 0.55);
  --pill-bg: rgba(224, 97, 28, 0.12);
  --pill-border: rgba(224, 97, 28, 0.3);

  --shadow-lift: 0 20px 40px -16px rgba(27, 23, 20, 0.16);
  --shadow-panel: 0 24px 56px -24px rgba(27, 23, 20, 0.2);
}

/* ---------- Base ---------- */

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 640px) { .wrap { padding: 0 40px; } }

/* Grain : additif sur fond sombre, soustractif sur fond clair. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.82%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20filter%3D%22url(%23n)%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

:root[data-theme="light"] .grain { mix-blend-mode: multiply; opacity: 0.035; }

/* ---------- Typographie ---------- */

.h1, .h2, .card__title, .genre-panel__title, .grille__h, .pillars__h,
.faq dt, .voice__name, .shot__label, .review__name, .site-footer__title,
.stats__value, .format__nom, .cinema__title, .promo figcaption {
  font-family: var(--font-display);
  font-weight: 500;
  font-synthesis-weight: none;
  letter-spacing: -0.015em;
}

.h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  color: var(--text);
  max-width: 20ch;
}

.h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  color: var(--text);
  max-width: 22ch;
}

.h1--light, .h2--light { color: #fff; }

.lead {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.75;
  max-width: 46ch;
  margin-top: 20px;
}

.lead--light { color: rgba(255, 255, 255, 0.68); }
.lead--wide { max-width: 60ch; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.eyebrow--accent { color: var(--accent-text); }
.eyebrow--light { color: rgba(255, 255, 255, 0.6); }

.rule {
  height: 1px;
  width: 7rem;
  background: var(--border-strong);
  margin: 34px 0 0;
  transform-origin: left;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s var(--ease);
}

.text-link:hover { color: var(--accent-hover); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn--accent { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.btn--accent:hover { background: var(--accent-hover); }

.btn--white { background: #fff; color: #16181c; font-weight: 700; }
.btn--white:hover { background: rgba(255, 255, 255, 0.9); }

.btn--outline-light { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn--solid-dark {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
}
.btn--solid-dark:hover { background: var(--accent-hover); border-color: #fff; }

.btn--ghost { border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }

.btn--sm { padding: 10px 18px; font-size: 13px; }

.note-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s;
}

.icon-btn:hover { border-color: var(--accent); color: var(--accent-text); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[disabled] { opacity: 0.3; pointer-events: none; }

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  color: var(--accent-text);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---------- En-tête ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px;
}

@media (min-width: 640px) { .site-header { padding: 24px; } }

.site-header__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 20px;
  border: 1px solid var(--header-border);
  border-radius: var(--radius-glass);
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

@media (min-width: 640px) { .site-header__shell { padding: 12px 24px; } }

/* Au-dessus du hero, l'en-tête bascule en sombre quelle que soit la préférence. */
.site-header.is-over-media .site-header__shell {
  background: rgba(11, 13, 16, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-header.is-over-media .site-nav a { color: rgba(255, 255, 255, 0.8); }
.site-header.is-over-media .site-nav a:hover { color: #fff; }
.site-header.is-over-media .icon-btn { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.site-header.is-over-media .icon-btn:hover { border-color: #fff; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 100px; height: auto; }

@media (min-width: 640px) { .brand img { width: 124px; } }

.site-nav { display: none; align-items: center; gap: 28px; }

@media (min-width: 900px) { .site-nav { display: flex; } }

.site-nav a {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-2);
  transition: color 0.3s var(--ease);
}

.site-nav a:hover { color: var(--accent-text); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__live { display: none; }

@media (min-width: 640px) { .site-header__live { display: inline-flex; } }
@media (min-width: 900px) { .site-header__burger { display: none; } }

.site-header__burger span { font-size: 20px; line-height: 1; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  max-width: var(--wrap);
  margin: 8px auto 0;
  padding: 8px;
  border: 1px solid var(--header-border);
  border-radius: var(--radius-glass);
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.mobile-nav a {
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text-2);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.mobile-nav a:hover { background: var(--surface-2); color: var(--text); }

.mobile-nav__cta {
  margin-top: 4px;
  background: var(--accent);
  color: var(--on-accent) !important;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 900px) { .mobile-nav { display: none !important; } }
.mobile-nav[hidden] { display: none; }

/* ---------- Préchargement ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.intro.is-gone { opacity: 0; }

.intro__panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: #000;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro__panel--top { top: 0; }
.intro__panel--bottom { bottom: 0; }
.intro.is-open .intro__panel--top { transform: translateY(-100%); }
.intro.is-open .intro__panel--bottom { transform: translateY(100%); }

.intro__line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 62vw);
  height: 1px;
  transform: translateX(-50%) scaleX(0);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9) 20%, #fff 50%, rgba(255, 255, 255, 0.9) 80%, transparent);
  animation: introLine 0.5s 0.15s var(--ease) forwards;
}

@keyframes introLine { to { transform: translateX(-50%) scaleX(1); } }

.intro.is-open .intro__line { opacity: 0; transition: opacity 0.25s ease; }

.intro__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.intro.is-open .intro__center { opacity: 0; transform: scale(0.985); }

.intro__logo {
  position: relative;
  width: min(250px, 60vw);
  clip-path: inset(50% 0 50% 0);
  animation: introSlit 0.55s 0.55s var(--ease) forwards;
}

@keyframes introSlit { to { clip-path: inset(0 0 0 0); } }

.intro__shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: var(--logo);
  mask-image: var(--logo);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.intro__shine span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  transform: translateX(-160%);
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  animation: introShine 0.75s 0.95s ease-in-out forwards;
}

@keyframes introShine { to { transform: translateX(320%); } }

.intro__sign {
  position: absolute;
  top: calc(50% + min(150px, 31vw) + 28px);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: introSign 0.9s 1.15s var(--ease) forwards;
}

@keyframes introSign { to { opacity: 1; letter-spacing: 0.26em; } }

.intro__skip {
  position: absolute;
  right: 32px;
  bottom: 32px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  opacity: 0;
  animation: introSkip 0.4s 1.15s forwards;
}

@keyframes introSkip { to { opacity: 1; } }
.intro.is-open .intro__skip { opacity: 0; }

/* ---------- Révélations ---------- */

[data-reveal], .lines__inner {
  --d: 0s;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) var(--d), transform 0.9s var(--ease) var(--d);
}

[data-reveal].is-in { opacity: 1; transform: none; }

.lines { display: block; }

.lines__mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.lines__inner {
  display: block;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease) var(--d);
}

.lines.is-in .lines__inner { transform: none; }

[data-intro] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) var(--d), transform 0.9s var(--ease) var(--d);
}

body.is-revealed [data-intro] { opacity: 1; transform: none; }

/* ---------- Hero cinéma ---------- */

.stage { position: relative; isolation: isolate; }

.stage__media {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  z-index: 0;
  will-change: clip-path;
}

.stage__layer { position: absolute; inset: 0; }

.stage__layer picture,
.stage__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stage__layer img {
  transform: scale(1.14);
  transition: transform 0.2s linear;
}

.stage__layer--soft img { filter: blur(5px); }

/* La couche nette n'apparait que sur la droite, la ou il n'y a pas de texte. */
.stage__layer--sharp {
  -webkit-mask-image: linear-gradient(to right, transparent 55%, #000 96%);
  mask-image: linear-gradient(to right, transparent 55%, #000 96%);
}

@media (min-width: 701px) {
  .stage__layer--sharp {
    -webkit-mask-image: linear-gradient(to right, transparent 34%, #000 74%);
    mask-image: linear-gradient(to right, transparent 34%, #000 74%);
  }
}

.stage__veil { position: absolute; inset: 0; background: #08090b; opacity: 0.12; }

.stage__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.78) 28%, rgba(0, 0, 0, 0.54) 50%, rgba(0, 0, 0, 0.18) 74%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 42%);
}

/* Sur mobile le texte couvre tout l'ecran : voile uniforme, la partition reste lisible derriere. */
@media (max-width: 700px) {
  .stage__scrim {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.74) 45%, rgba(0, 0, 0, 0.8) 100%);
  }
}

.stage__cinema {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 100svh;
  margin-top: -100svh;
  padding-top: 96px;
}

@media (min-width: 1024px) { .stage__cinema { padding-top: 0; } }

.cinema { display: flex; flex-direction: column; align-items: flex-start; max-width: 780px; }

.cinema__eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.8);
}

.cinema__title {
  margin-top: 28px;
  font-size: clamp(2.1rem, 6vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.cinema__sub {
  margin-top: 30px;
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.cinema__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Ligne de titre qui bascule d'une phrase à l'autre. */
.alt { position: relative; display: block; overflow: hidden; }
.alt__ghost { visibility: hidden; white-space: nowrap; display: block; }

.alt__item {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  transform: translateY(105%);
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
}

.alt__item.is-on { transform: none; }
.alt__item.no-anim { transition: none; }
.alt__item.is-out { transform: translateY(-105%); }

.stage__flow { position: relative; z-index: 10; }

.stage__slot-wrap { padding-top: 10svh; padding-bottom: 56px; }

@media (min-width: 640px) { .stage__slot-wrap { padding-top: 14svh; padding-bottom: 96px; } }

.slot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

@media (min-width: 640px) { .slot { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .slot { aspect-ratio: 21 / 9; } }

.slot__top {
  position: absolute;
  inset: 0 0 auto;
  height: 33%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.slot__card { position: absolute; inset: 14px 14px auto; opacity: 0; }
.slot__card .glass-media { max-width: min(100%, 560px); padding: 12px 16px; }
@media (min-width: 640px) { .slot__card { inset: 16px 16px auto; }
  .slot__card .glass-media { padding: 16px 20px; } }

.glass-media {
  display: inline-flex;
  flex-direction: column;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-glass);
  background: rgba(22, 24, 28, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.slot__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
}

.slot__main {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
}

@media (min-width: 640px) { .slot__main { font-size: 17px; } }

.figures {
  display: grid;
  gap: 40px;
  margin-top: 64px;
}

@media (min-width: 1024px) {
  .figures { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
}

.figures .lead { margin-top: 24px; }

.genre-panel {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 64px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 900px) { .genre-panel { grid-template-columns: 1fr auto; gap: 48px; padding: 40px; } }

.genre-panel__title { font-size: 26px; line-height: 1.25; margin-top: 4px; }
.genre-panel__note { margin-top: 12px; font-size: 14px; color: var(--text-2); max-width: 44ch; }
.genre-panel__player { min-width: 0; }

/* ---------- Chiffres ---------- */

.stats { display: grid; gap: 40px; }

@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 0; } }

.stats__cell { display: flex; flex-direction: column; }

@media (min-width: 640px) {
  .stats__cell + .stats__cell { border-left: 1px solid var(--border); padding-left: 40px; }
  .stats__cell:first-child { padding-right: 40px; }
}

.stats__value {
  display: flex;
  align-items: baseline;
  font-size: clamp(2.7rem, 4.9vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.stats__label {
  margin-top: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-3);
  line-height: 1.6;
}

.roll {
  position: relative;
  display: inline-block;
  height: 1em;
  clip-path: inset(0 -0.14em);
}

.roll__ghost { visibility: hidden; }

.roll__strip {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(0);
  transition: transform 0.9s var(--ease) var(--d);
}

.roll__strip span { display: block; height: 1em; line-height: 1; }
[data-count].is-in .roll__strip { transform: translateY(var(--to)); }

.stat-card {
  margin-top: 36px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

/* ---------- Sections ---------- */

.section { padding-top: 64px; padding-bottom: 64px; }

@media (min-width: 640px) { .section { padding-top: 96px; padding-bottom: 96px; } }
@media (min-width: 1024px) { .section { padding-top: 128px; padding-bottom: 128px; } }

.section--surface { border-top: 1px solid var(--border); background: var(--surface); }
.section--contrast { background: var(--contrast); overflow: hidden; }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
}

.section__link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.section__link:hover { color: var(--accent-text); }

.split { display: grid; gap: 48px; }

@media (min-width: 1024px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
  .split--wide { grid-template-columns: 1fr 1fr; }
}

.split__col { min-width: 0; }

.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

.ticks li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
}

.ticks li > span:first-child {
  flex: none;
  width: 16px;
  height: 1px;
  margin-top: 13px;
  background: var(--accent);
}

/* ---------- Cartes émission ---------- */

.grid-cards { display: grid; gap: 28px; }

@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card { display: flex; flex-direction: column; flex: 1; }

/* Liseré dégradé sur le bord, évidé au centre par le masque. */
.card-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(145deg, #fdf7ef 0%, #e0611c 30%, #8a7a68 52%, #f1e8dc 74%, #a2957f 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.32;
  transition: opacity 0.3s var(--ease);
}

:root[data-theme="light"] .card-wrap::before { opacity: 0.5; }

.card-wrap:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift), 0 0 0 1px var(--card-ring);
}

.card-wrap:hover::before { opacity: 0.85; }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.card-wrap:hover .card__media img { transform: scale(1.07); }

.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-2);
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }

.card__title {
  font-size: 19px;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.card-wrap:hover .card__title { color: var(--accent-text); }

.card__anim { margin-top: 6px; font-size: 13px; color: var(--text-2); }

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.card__live {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.card__more {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.3s var(--ease);
}

.card-wrap:hover .card__more { color: var(--text); }

/* ---------- Carrousel ---------- */

.carousel { padding-top: 40px; }

.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  padding: 0 24px 8px;
  margin: 0 -24px;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar { display: none; }

@media (min-width: 640px) { .carousel__track { margin: 0 -40px; padding: 0 40px 8px; scroll-padding-left: 40px; } }
@media (min-width: 1024px) { .carousel__track { margin: 0; padding: 0 0 8px; scroll-padding-left: 0; gap: 32px; } }

.carousel__cell { flex: none; width: 86%; scroll-snap-align: start; }

@media (min-width: 640px) { .carousel__cell { width: 46%; } }
@media (min-width: 1024px) { .carousel__cell { width: calc((100% - 64px) / 3); } }

.carousel__bar { display: flex; align-items: center; gap: 24px; margin-top: 32px; }

.carousel__rail { position: relative; flex: 1; height: 1px; background: var(--border); }

.carousel__rail span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  width: 12%;
  transition: width 0.3s var(--ease);
}

.carousel__count {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}

.carousel__arrows { display: flex; gap: 8px; }

/* ---------- Bandeau défilant ---------- */

.marquee { position: relative; margin-top: 56px; overflow: hidden; }
.section--marquee { padding-bottom: 40px; }
@media (min-width: 640px) { .section--marquee { padding-bottom: 56px; } }

.marquee__track { display: flex; width: max-content; padding-left: 24px; }

@media (min-width: 640px) { .marquee__track { padding-left: 40px; } }

.marquee__group { display: flex; flex: none; gap: 24px; padding-right: 24px; }

.marquee__fade { position: absolute; inset: 0 auto 0 0; width: 32px; pointer-events: none; }

@media (min-width: 640px) { .marquee__fade { width: 56px; } }

.marquee__fade--left { background: linear-gradient(to right, var(--surface), transparent); }
.marquee__fade--right { left: auto; right: 0; background: linear-gradient(to left, var(--surface), transparent); }
.marquee__fade--dark.marquee__fade--left { background: linear-gradient(to right, var(--contrast), transparent); }
.marquee__fade--dark.marquee__fade--right { background: linear-gradient(to left, var(--contrast), transparent); }

.voice { width: 240px; flex: none; }

@media (min-width: 640px) { .voice { width: 300px; } }

.voice__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-2);
}

.voice__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.9s var(--ease); }
.voice:hover .voice__media img { transform: scale(1.06); }

.voice figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.voice__name { font-size: 16px; color: var(--text); }
.voice__note { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-3); white-space: nowrap; }

/* ---------- Visuels (galerie sombre) ---------- */

.reel {
  display: flex;
  gap: 20px;
  margin-top: 56px;
  padding: 0 24px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reel::-webkit-scrollbar { display: none; }

@media (min-width: 640px) { .reel { padding: 0 40px 16px; } }
@media (min-width: 1024px) { .reel { padding-bottom: 24px; } }

.reel__track { display: flex; gap: 20px; }

.shot { flex: none; width: 260px; scroll-snap-align: start; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }

@media (min-width: 640px) { .shot { width: 320px; } }
@media (min-width: 1024px) { .shot { width: 400px; } .shot--drop { margin-top: 56px; } }

.reel:hover .shot { opacity: 0.45; }
.reel:hover .shot:hover { opacity: 1; transform: scale(1.03); }

.shot__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.045);
  cursor: zoom-in;
}

.shot__btn img { width: 100%; height: 100%; object-fit: cover; }

.shot__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(11, 13, 16, 0.55);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s var(--ease);
}

.shot__zoom svg { width: 18px; height: 18px; }
.shot__btn:hover .shot__zoom { border-color: rgba(255, 255, 255, 0.7); }

.shot figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.shot__label { font-size: 16px; color: #fff; }
.shot__note { font-size: 11px; color: rgba(255, 255, 255, 0.6); }

/* ---------- Visionneuse ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 96px 24px 32px;
  background: rgba(11, 13, 16, 0.94);
  overflow-y: auto;
}

.lightbox[hidden] { display: none; }

.lightbox__frame { max-width: min(1000px, 100%); }

.lightbox__frame img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox__frame figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  text-align: center;
  color: #fff;
}

.lightbox__frame figcaption span:last-child { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

.lightbox__close {
  position: absolute;
  top: 88px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(11, 13, 16, 0.6);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, 0.7); font-size: 12px; }
.lightbox__nav .icon-btn { border-color: rgba(255, 255, 255, 0.25); color: #fff; font-size: 20px; }
.lightbox__nav .icon-btn:hover { border-color: #fff; color: #fff; }

/* ---------- Formats d'écoute ---------- */

.formats {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--border);
}

@media (min-width: 640px) { .formats { grid-template-columns: repeat(2, 1fr); } }

.format { background: var(--surface); padding: 26px; }
.format__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.format__nom { font-size: 18px; color: var(--text); }
.format__note { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--text-2); }

/* ---------- Grille de la semaine ---------- */

.grille {
  display: grid;
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--border);
}

@media (min-width: 640px) { .grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grille { grid-template-columns: repeat(3, 1fr); } }

.grille li { display: flex; flex-direction: column; gap: 10px; background: var(--surface); padding: 30px 26px; }
.grille__num { font-family: var(--font-display); font-size: 22px; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.grille__h { font-size: 18px; line-height: 1.35; color: var(--text); }
.grille__p { font-size: 14px; line-height: 1.7; color: var(--text-2); }

/* ---------- Avis ---------- */

.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.rating p { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.rating strong { color: #fff; font-variant-numeric: tabular-nums; }

.stars { display: inline-flex; gap: 4px; }
.stars svg { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.2); }
.stars svg.is-on { color: rgba(255, 255, 255, 0.9); }

.review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: none;
  width: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

@media (min-width: 640px) { .review { width: 380px; } }

.review:hover { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.07); }
.review blockquote { font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, 0.75); }

.review figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review__name { font-size: 16px; color: #fff; }
.review__date { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }

/* ---------- Piliers & FAQ ---------- */

.pillars { display: flex; flex-direction: column; gap: 40px; }
.pillars li { border-left: 1px solid var(--border); padding-left: 24px; }
.pillars__h { font-size: 20px; color: var(--text); }
.pillars__p { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--text-2); }

.faq { display: flex; flex-direction: column; gap: 32px; }
.faq > div { border-left: 1px solid var(--border); padding-left: 24px; }
.faq dt { font-size: 18px; color: var(--text); }
.faq dd { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--text-2); }

/* ---------- Contact ---------- */

.contact-cards { display: grid; gap: 16px; margin-top: 36px; }

@media (min-width: 640px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  /* L'adresse email est la plus longue : elle prend la ligne entière. */
  .contact-cards > :first-child { grid-column: 1 / -1; }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-card:hover { border-color: var(--card-border); transform: translateY(-3px); }
.contact-card__lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-3); }
.contact-card__val { font-family: var(--font-display); font-size: 15px; line-height: 1.35; color: var(--text); overflow-wrap: anywhere; }
.contact-card__go { margin-top: 8px; font-size: 13px; color: var(--accent-text); }

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

@media (min-width: 640px) { .form { padding: 36px; } }

.form__row { display: grid; gap: 16px; }

@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, 1fr); } }

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.form input,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.3s var(--ease);
}

.form input:focus,
.form textarea:focus { border-color: var(--accent); outline: none; }
.form textarea { resize: vertical; }
.form .form__trap {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form .btn { align-self: flex-start; margin-top: 4px; }
.form__msg { font-size: 14px; color: var(--text-2); }
.form__msg.is-error { color: var(--accent-text); }

/* ---------- Bandeau final ---------- */

.band { background: var(--contrast); }

.band__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 96px;
  padding-bottom: 96px;
}

@media (min-width: 1024px) {
  .band__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-top: 128px; padding-bottom: 128px; }
}

.band__text { max-width: 42rem; }
.band__text .h2 { max-width: none; }
.band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- En-têtes de page ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 136px 0 80px;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 280px;
  background: linear-gradient(to bottom, var(--header-tint), transparent);
  pointer-events: none;
}

.page-head > .wrap { position: relative; }
.page-head--dark { background: var(--contrast); border-bottom: 0; }
.page-head--dark::before { background: linear-gradient(to bottom, rgba(228, 0, 27, 0.16), transparent); }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

@media (min-width: 1024px) { .page-head { padding-top: 152px; } }

.promo { margin: 0; }
.promo img { border: 1px solid var(--border); border-radius: var(--radius-card); }
.promo figcaption { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* ---------- Contenu WordPress ---------- */

.prose { max-width: 70ch; color: var(--text-2); font-size: 15px; line-height: 1.8; }
.prose h2 { font-family: var(--font-display); font-size: 24px; color: var(--text); margin: 40px 0 12px; }
.prose h3 { font-family: var(--font-display); font-size: 19px; color: var(--text); margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }

/* ---------- Pied de page ---------- */

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }

.site-footer__grid { display: grid; gap: 48px; padding-top: 72px; padding-bottom: 72px; }

@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 56px; } }

.site-footer__brand img { width: 138px; }
.site-footer__desc { margin-top: 18px; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.site-footer__social { display: flex; gap: 10px; margin-top: 20px; }

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text-2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-footer__social a:hover { color: var(--accent-text); border-color: var(--accent); }
.site-footer__social svg { width: 18px; height: 18px; }

.site-footer__title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-text);
  margin-bottom: 16px;
}

.site-footer__link {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.site-footer__link:hover { color: var(--accent-text); }
.site-footer__hours { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.site-footer__hours dt { font-size: 14px; color: var(--text-2); }
.site-footer__bottom { border-top: 1px solid var(--border); }

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 12px;
  color: var(--text-3);
}

@media (min-width: 768px) { .site-footer__bottom-inner { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom-inner a { color: var(--text-2); }
.site-footer__bottom-inner a:hover { color: var(--accent-text); }

/* ---------- Accessibilité ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal], [data-intro] { opacity: 1 !important; transform: none !important; }
  .lines__inner { transform: none !important; }
  .card-wrap:hover, .contact-card:hover, .btn:hover { transform: none; }
  .intro { display: none; }
  .stage__media { position: static; }
  .stage__layer img { transform: scale(1.08); }
  .slot { display: none; }
  .stage__slot-wrap { padding-top: 40px; }
}

@media print {
  .site-header, .intro, .grain, .stage__media, .stage__cinema, .site-footer, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal], .lines__inner { opacity: 1 !important; transform: none !important; }
}

/* L'intro ne rejoue pas dans la même session : évite le flash avant que le script ne l'enlève. */
html[data-intro-seen] .intro { display: none; }


/* ---------- Panneau des genres (remplace le lecteur radio) ---------- */

@media (min-width: 900px) {
  .genre-panel { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

.genre-panel__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre-panel__list li {
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.genre-panel__list li:hover {
  border-color: var(--card-border);
  color: var(--accent-text);
  background: var(--pill-bg);
}

/* ---------- Bandeau des genres ---------- */

.genre-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  white-space: nowrap;
}

.genre-chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

@media (min-width: 640px) { .genre-chip { font-size: 22px; padding: 16px 32px; } }

/* ---------- La portee : les lignes se tracent, les notes se posent ---------- */

.staff {
  position: relative;
  margin-top: 48px;
  height: 90px;
}

.staff svg { width: 100%; height: 90px; display: block; overflow: visible; }

.staff__lines line {
  stroke: var(--border-strong);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

.staff.is-in .staff__lines line { transform: scaleX(1); }

.staff__notes { position: absolute; inset: 0; }

.staff__note {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 16px;
  height: 12px;
  margin: -6px 0 0 -8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(14px) rotate(-18deg) scale(0.4);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.5s ease;
  transition-delay: var(--d, 0s);
}

.staff__note::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 4px;
  width: 1.5px;
  height: 30px;
  background: var(--accent);
}

.staff.is-in .staff__note { transform: translateY(0) rotate(-18deg) scale(1); opacity: 1; }

@media (max-width: 640px) { .staff { height: 70px; margin-top: 32px; } .staff svg { height: 70px; } }

/* Le lettrage du logo est noir : au-dessus du hero sombre, on sert la variante claire. */
.brand__light { display: none; }
.site-header.is-over-media .brand__dark { display: none; }
.site-header.is-over-media .brand__light { display: block; }


/* ---------- Vente : reassurance, best-sellers, etapes, remise ---------- */

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

/* Ligne d'arguments sous les boutons du hero. */
.cinema__note {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.62);
}

.section--tight { padding-top: 48px; padding-bottom: 0; }

@media (min-width: 640px) { .section--tight { padding-top: 64px; padding-bottom: 0; } }

/* Barre de reassurance */
.trust {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--border);
}

@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); } }

.trust li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  background: var(--surface);
}

.trust__h {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text);
}

.trust__h::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: middle;
}

.trust__p { font-size: 13px; line-height: 1.6; color: var(--text-2); }

/* Bouton de commande sur les cartes du catalogue */
.card-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px 22px;
}

.card-buy__price {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
  color: var(--text);
}

.card-buy__price small,
.buy-line__price small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

/* Prix + commande sur les pages famille */
.buy-line {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.buy-line__price { font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: var(--text); }

/* Les plus demandees */
.hits {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--border);
}

@media (min-width: 768px) { .hits { grid-template-columns: repeat(2, 1fr); } }

.hit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  transition: background-color 0.3s var(--ease);
}

.hit:hover { background: var(--surface); }

.hit__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }

.hit__titre {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
}

.hit__effectif {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-3);
}

.hit__prix {
  flex: none;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.hit__cta {
  flex: none;
  padding: 8px 14px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  background: var(--pill-bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-text);
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hit__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Comment commander */
.steps { display: grid; gap: 28px; }

.steps li {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  border-left: 2px solid var(--border);
}

.steps__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

.steps__h { font-size: 20px; line-height: 1.3; color: var(--text); }
.steps__p { font-size: 15px; line-height: 1.7; color: var(--text-2); }

/* Bandeau remise enseignants */
.offer {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--pill-border);
  border-radius: var(--radius-card);
  background: var(--pill-bg);
}

@media (min-width: 860px) { .offer { grid-template-columns: 1fr auto; gap: 40px; padding: 32px 36px; } }

.offer__titre { font-family: var(--font-display); font-size: 21px; line-height: 1.25; color: var(--text); }
.offer__p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--text-2); max-width: 62ch; }
