@font-face {
  font-family: "Tripin Sequel";
  src: url("/assets/fonts/Sequel100Black-115.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

/* Direction « affiche de sound system » : noir chaud, papier, jaune soleil ; une couleur par émission. */
:root {
  --ink: #111014;
  --ink-2: #1b191f;
  --ink-3: #2a2730;
  --paper: #f6efe3;
  --paper-dim: #b9b1a3;
  --line: rgba(246, 239, 227, 0.16);
  --sun: #ffc23d;
  --talk: #ff5da8;
  --radio: #4fd8ff;
  --sound: #ff9a55;
  --terrain: #a58bff;

  --display: "Tripin Sequel", "Archivo", "Arial Black", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --page: min(1280px, 100% - 2 * var(--gutter));
  --header-h: 64px;
  color-scheme: dark;
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--sun);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
}

.skip:focus {
  left: 8px;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
}

.header-inner {
  width: var(--page);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  height: 30px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 10px 12px;
  font: 600 15px/1 var(--body);
  font-stretch: 88%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  background: var(--fmt, var(--paper));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav .nav-biz {
  color: var(--paper-dim);
}

.main-nav .nav-biz[aria-current="page"] {
  color: var(--paper);
}

.btn-community {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  font: 700 14px/1 var(--body);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.btn-community svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-community:hover {
  background: var(--paper);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--paper);
  transition: transform 0.2s;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Bandeau « prochain live » */
.live-bar {
  background: var(--sun);
  color: var(--ink);
}

.live-inner {
  width: var(--page);
  margin: 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding-block: 6px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 900 12px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-badge i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.live-bar[data-state="live"] .live-badge i {
  background: #e3162e;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

.live-text {
  margin: 0;
  display: flex;
  gap: 4px 10px;
  flex-wrap: wrap;
  font-size: 15px;
  min-width: 0;
}

.live-text strong {
  font-weight: 800;
}

.live-when {
  margin: 0;
  font: 700 15px/1.3 var(--body);
  font-variant-numeric: tabular-nums;
}

.live-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  background: var(--ink);
  color: var(--sun);
  font: 700 14px/1 var(--body);
  border-radius: 999px;
}

/* ---------- Boutons et labels ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  font: 800 16px/1 var(--body);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

.btn-solid {
  background: var(--paper);
  color: var(--ink);
}

.btn-solid:hover {
  background: var(--sun);
}

.btn-line {
  border-color: var(--paper);
  color: var(--paper);
  background: transparent;
}

.btn-line:hover {
  background: var(--paper);
  color: var(--ink);
}

.fmt-label {
  margin: 0;
  display: inline-block;
  justify-self: start;
  padding: 6px 10px;
  background: var(--fmt, var(--paper));
  color: var(--ink);
  font: 800 13px/1 var(--body);
  font-stretch: 85%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Hero (accueil) : carrousel ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --hero-h: clamp(520px, 76vh, 780px);
}

.hero > .promise {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: clamp(24px, 4vw, 44px);
  width: var(--page);
  margin: 0 auto;
}

.promise {
  margin: 0;
  font: 600 13px/1.3 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--paper-dim);
}

.slides {
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  position: relative;
  min-height: var(--hero-h);
  display: grid;
  align-items: end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0s;
  z-index: 1;
}

.slide-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 40%);
  transform: scale(1.06);
  transition: transform 8s ease-out;
}

.slide.is-active .slide-media img {
  transform: scale(1);
}

.slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 20, 0.92) 0%, rgba(17, 16, 20, 0.6) 45%, rgba(17, 16, 20, 0.05) 78%),
    linear-gradient(0deg, var(--ink) 0%, rgba(17, 16, 20, 0) 50%);
  pointer-events: none;
}

.hero-copy {
  width: var(--page);
  margin: 0 auto;
  padding-block: 96px clamp(104px, 10vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  justify-items: start;
}

.hero-title {
  justify-self: stretch;
  margin: 0;
  font: 900 clamp(30px, 6.8vw, 100px)/0.9 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-dek {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* Contrôles du carrousel */
.hero-controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 28px;
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.hero-dots {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  max-width: 900px;
}

.hero-dots button {
  display: grid;
  gap: 8px;
  min-height: 44px;
  align-content: end;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.dot-label {
  font: 700 12px/1.2 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dots button[aria-current="true"] .dot-label,
.hero-dots button:hover .dot-label {
  color: var(--paper);
}

.hero-dots i {
  position: relative;
  display: block;
  height: 4px;
  background: rgba(246, 239, 227, 0.25);
  overflow: hidden;
}

.hero-dots i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fmt);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-dots button[aria-current="true"] i::after {
  transform: scaleX(1);
}

.hero[data-autoplay="on"] .hero-dots button[aria-current="true"] i::after {
  animation: progress var(--delay, 7s) linear forwards;
}

.hero.is-hold .hero-dots button[aria-current="true"] i::after {
  animation-play-state: paused;
}

@keyframes progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.hero-arrows button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: rgba(17, 16, 20, 0.5);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.hero-arrows button:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero-arrows svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero .i-play,
.hero[data-autoplay="off"] .i-pause {
  display: none;
}

.hero[data-autoplay="off"] .i-play {
  display: block;
}

/* Lecture d'une vidéo dans le hero */
.hero-player {
  aspect-ratio: 16 / 9;
  max-height: 86vh;
  width: 100%;
  background: #000;
}

.hero-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hero.is-playing .slides,
.hero.is-playing .hero-controls,
.hero.is-playing > .promise {
  display: none;
}

/* Bandeau des genres */
.genres {
  border-block: 2px solid var(--paper);
  overflow: hidden;
  padding-block: 12px;
}

.genres-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}

.genres span {
  font: 800 clamp(20px, 2.6vw, 30px)/1 var(--body);
  font-stretch: 70%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.genres span::after {
  content: "✦";
  color: var(--sun);
  margin: 0 22px;
  font-size: 0.7em;
  vertical-align: 0.15em;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- En-tête de page ---------- */
.page-head {
  border-bottom: 2px solid var(--paper);
  background:
    linear-gradient(90deg, var(--fmt) 0 10px, transparent 10px),
    var(--ink);
}

.page-head-inner {
  width: var(--page);
  margin: 0 auto;
  padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  justify-items: start;
}

.page-head h1 {
  margin: 0;
  font: 900 clamp(36px, 8vw, 112px)/0.92 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 100%;
}

.page-intro {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--paper);
}

/* ---------- Blocs ---------- */
.block {
  width: var(--page);
  margin: 0 auto;
  padding-block: clamp(56px, 8vw, 96px) 0;
}

.block-head {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 6px solid var(--paper);
}

.block-head.row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 24px;
}

.block-head h2 {
  margin: 0;
  font: 900 clamp(25px, 6.8vw, 60px)/0.95 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
}

.block-head p {
  margin: 0;
  max-width: 56ch;
  color: var(--paper-dim);
}

.see-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 700 15px/1 var(--body);
  border-bottom: 2px solid var(--fmt, var(--sun));
  white-space: nowrap;
}

.see-all::after {
  content: "→";
  margin-left: 8px;
}

/* Émissions (accueil) */
.shows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.show {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--ink-2);
  border-top: 8px solid var(--fmt);
  transition: transform 0.2s;
}

.show:hover {
  transform: translateY(-4px);
}

.show-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.show-body {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px 18px 20px;
}

.show-name {
  font: 900 19px/1.05 var(--display);
  text-transform: uppercase;
  color: var(--fmt);
}

.show-what {
  font: 700 14px/1.3 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-stretch: 85%;
}

.show-last {
  font-size: 14px;
  color: var(--paper-dim);
  line-height: 1.4;
}

.show-go {
  margin-top: 8px;
  font: 800 14px/1 var(--body);
}

.show-go::after {
  content: " →";
  color: var(--fmt);
}

/* Reels */
.reels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.reels-row {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.reels-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.reels li[hidden] {
  display: none;
}

.reel {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink-2);
}

.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.reel:hover img {
  transform: scale(1.04);
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 16, 20, 0.92) 0%, rgba(17, 16, 20, 0) 55%);
}

.reel-cap {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.reel-place {
  font: 700 11px/1.2 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fmt, var(--terrain));
}

.reel strong {
  font: 800 15px/1.15 var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters button {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: transparent;
  font: 700 14px/1 var(--body);
  cursor: pointer;
}

.filters button span {
  color: var(--paper-dim);
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}

.filters button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
}

.filters button[aria-pressed="true"] span {
  color: var(--ink);
}

/* Lecteur vidéo chargé au clic */
.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.player img,
.player iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.player-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 0;
  background: var(--fmt, var(--sun));
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.player-play:hover {
  transform: scale(1.08);
}

.player-play svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 4px;
}

/* Mise en avant (pages émission) */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.feature-grid > div:first-child:not(.player) {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.feature-copy {
  display: grid;
  gap: 12px;
  justify-items: start;
  align-content: start;
}

.feature-copy h2,
.feature-title {
  margin: 0;
  font: 900 clamp(26px, 2.6vw, 44px)/0.95 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
  max-width: 100%;
}

.feature-meta {
  margin: 0;
  color: var(--paper-dim);
  font-variant-numeric: tabular-nums;
}

.next-box {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 24px;
  background: var(--sun);
  color: var(--ink);
}

.next-box.compact {
  margin-top: 12px;
  padding: 18px;
  justify-self: stretch;
}

.next-kicker {
  margin: 0;
  font: 900 13px/1 var(--display);
  text-transform: uppercase;
}

.next-title {
  margin: 0;
  font: 900 clamp(20px, 1.9vw, 26px)/1.05 var(--display);
  text-transform: uppercase;
  overflow-wrap: break-word;
  max-width: 100%;
}

.next-when {
  margin: 0;
  font: 800 18px/1.3 var(--body);
}

.next-when:empty {
  display: none;
}

.next-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 15px;
}

.next-facts li::before {
  content: "✦ ";
}

.next-box .btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.next-box .btn-solid:hover {
  background: var(--ink-3);
}

/* Grille d'épisodes */
.ep-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px 16px;
}

.ep-card {
  display: grid;
  gap: 6px;
  align-content: start;
}

.ep-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 6px;
  border-bottom: 5px solid var(--fmt);
}

.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ep-thumb i {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fmt);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.ep-thumb i svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 2px;
}

.ep-card:hover img {
  transform: scale(1.04);
}

.ep-card[aria-current="true"] .ep-thumb {
  outline: 3px solid var(--fmt);
  outline-offset: 3px;
}

.ep-kicker {
  font: 700 12px/1.2 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fmt);
}

.ep-card strong {
  font: 900 20px/1.05 var(--display);
  text-transform: uppercase;
}

.ep-meta {
  font-size: 14px;
  color: var(--paper-dim);
}

/* Radio : accueil */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.episode-main {
  display: grid;
  gap: 12px;
  justify-items: start;
  --fmt: var(--radio);
}

.episode-main .player {
  margin-bottom: 6px;
}

.episode-main h3 {
  margin: 0;
  font: 900 clamp(24px, 3vw, 36px)/1 var(--display);
  text-transform: uppercase;
}

.ep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.ep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--paper);
}

.ep-list a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.ep-num {
  font: 900 18px/1 var(--display);
  color: var(--radio);
  font-variant-numeric: tabular-nums;
}

.ep-t {
  font: 700 16px/1.3 var(--body);
}

.ep-v {
  font: 700 13px/1 var(--body);
  color: var(--paper-dim);
}

.ep-list a:hover .ep-v,
.pod:hover .ep-v {
  color: var(--radio);
}

/* Podcasts */
.pod-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 12px;
}

.pod {
  display: grid;
  grid-template-columns: 72px 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: var(--ink-2);
  min-height: 92px;
}

.pod img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.pod strong {
  font: 700 16px/1.3 var(--body);
}

/* Communauté */
.community {
  margin-top: clamp(64px, 9vw, 112px);
  background: var(--sun);
  color: var(--ink);
}

.community-inner {
  width: var(--page);
  margin: 0 auto;
  padding-block: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px 48px;
  align-items: center;
}

.community h2 {
  margin: 0;
  grid-row: span 3;
  font: 900 clamp(36px, 5.4vw, 80px)/0.92 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
}

.community h2 span {
  display: block;
}

.community-perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font: 600 17px/1.4 var(--body);
}

.community-perks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
}

.community-perks li::before {
  content: "✦";
}

.btn-community-big {
  justify-self: start;
  background: var(--ink);
  color: var(--paper);
  min-height: 58px;
  font-size: 17px;
  border-radius: 999px;
  padding: 0 26px;
}

.btn-community-big:hover {
  background: var(--ink-3);
}

.community-note {
  margin: 0;
  font-size: 14px;
}

/* Partenaires */
.figures {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.figures div {
  display: grid;
  gap: 6px;
}

.figures dt {
  order: 2;
  color: var(--paper-dim);
  font-size: 14px;
}

.figures dd {
  order: 1;
  margin: 0;
  font: 900 clamp(36px, 5vw, 64px)/1 var(--display);
  font-variant-numeric: tabular-nums;
}

.logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logos li {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font: 800 16px/1.15 var(--body);
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--paper-dim);
  transition: color 0.15s;
}

.logos li:hover {
  color: var(--paper);
}

.logos-small li {
  min-height: 64px;
  font-size: 14px;
  font-weight: 700;
}

.offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.offers li {
  padding: 22px;
  background: var(--ink-2);
  border-top: 8px solid var(--fmt);
  display: grid;
  gap: 10px;
  align-content: start;
}

.offers h3 {
  margin: 0;
  font: 900 19px/1.05 var(--display);
  text-transform: uppercase;
  color: var(--fmt);
}

.offers p {
  margin: 0;
  color: var(--paper-dim);
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.case-copy p {
  margin: 0 0 14px;
  font-size: 18px;
  max-width: 48ch;
}

.case-reels {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  --fmt: var(--terrain);
}

.contact {
  margin-top: clamp(64px, 9vw, 112px);
  background: var(--sun);
  color: var(--ink);
}

.contact-inner {
  width: var(--page);
  margin: 0 auto;
  padding-block: clamp(48px, 7vw, 88px);
  display: grid;
  gap: 16px;
  justify-items: start;
}

.contact h2 {
  margin: 0;
  font: 900 clamp(32px, 5vw, 72px)/0.95 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
}

.contact p {
  margin: 0;
  font-size: 18px;
  max-width: 48ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact .btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.contact .btn-solid:hover {
  background: var(--ink-3);
}

.contact .btn-line {
  border-color: var(--ink);
  color: var(--ink);
}

.contact .btn-line:hover {
  background: var(--ink);
  color: var(--paper);
}

.contact-mail {
  font-weight: 700;
  user-select: all;
}

/* Équipe */
.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px 16px;
}

.member {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
}

.member img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 8px;
  background: var(--ink-2);
}

.member-num {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  background: var(--sun);
  color: var(--ink);
  font: 900 13px/1 var(--display);
}

.member h3 {
  margin: 0;
  font: 900 19px/1.05 var(--display);
  text-transform: uppercase;
}

.member-role {
  margin: 0;
  font: 700 14px/1.3 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sun);
}

.member-bio {
  margin: 0;
  font-size: 15px;
  color: var(--paper-dim);
}

.member-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 700;
  border-bottom: 2px solid var(--sun);
}

/* Pages légales */
.legal-page {
  width: var(--page);
  margin: 0 auto;
  padding-block: clamp(40px, 7vw, 88px) 0;
}

.legal-hero {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 32px;
  border-bottom: 2px solid var(--paper);
}

.legal-hero .kicker {
  margin: 0;
  justify-self: start;
  padding: 6px 10px;
  background: var(--sun);
  color: var(--ink);
  font: 800 13px/1 var(--body);
  letter-spacing: 0.06em;
}

.legal-hero h1 {
  margin: 0;
  font: 900 clamp(32px, 6.4vw, 84px)/0.95 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
}

.legal-hero p {
  margin: 0;
  max-width: 62ch;
  font-size: 18px;
}

.legal-hero .legal-updated {
  font-size: 14px;
  color: var(--paper-dim);
}

.legal-document {
  max-width: 820px;
}

.legal-section {
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  font: 900 clamp(20px, 2.4vw, 28px)/1.05 var(--display);
  text-transform: uppercase;
}

.legal-section p,
.legal-section li {
  color: var(--paper);
  max-width: 68ch;
}

.legal-section a {
  border-bottom: 1px solid var(--sun);
}

.legal-facts {
  margin: 0;
  display: grid;
  gap: 0;
}

.legal-facts div {
  display: grid;
  grid-template-columns: minmax(140px, 0.6fr) minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.legal-facts dt {
  color: var(--paper-dim);
}

.legal-facts dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(72px, 10vw, 128px);
  border-top: 6px solid var(--paper);
  padding-bottom: 40px;
}

.territories {
  width: var(--page);
  margin: 32px auto 40px;
  font: 900 clamp(26px, 4.6vw, 72px)/1 var(--display);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
  text-wrap: balance;
}

.territories span {
  white-space: nowrap;
}

.territories i {
  font-style: normal;
  color: var(--sun);
  -webkit-text-stroke: 0;
}

.footer-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

.footer-grid p {
  margin: 0;
  color: var(--paper-dim);
  max-width: 30ch;
}

.footer-grid nav {
  display: grid;
  gap: 2px;
  align-content: start;
}

.footer-grid h2 {
  margin: 0 0 6px;
  font: 800 13px/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
}

.footer-grid nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-grid nav a:hover {
  color: var(--sun);
}

.legal-links {
  width: var(--page);
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--paper-dim);
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.legal-links a:hover {
  color: var(--paper);
}

.legal-links .launch48 {
  gap: 8px;
  margin-left: auto;
  min-height: 0;
  padding: 7px 12px;
  border-radius: 999px;
  /* Le dégradé orange, rose, violet des boutons principaux */
  background: linear-gradient(115deg, var(--sound), var(--talk) 55%, #7e57ff);
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(6, 6, 11, 0.3);
  box-shadow: 0 8px 20px rgba(255, 93, 168, 0.3);
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}

.legal-links .launch48:hover {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 10px 26px rgba(255, 93, 168, 0.45);
}

.launch48 img {
  height: 16px;
  width: auto;
}

/* Logo Launch48 passé en blanc sur le dégradé */
.legal-links .launch48 img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(6, 6, 11, 0.3));
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reels-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--ink);
    border-bottom: 2px solid var(--paper);
  }

  .menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 16px 0 16px 14px;
    font-size: 22px;
    border-bottom: 1px solid var(--line);
    border-left: 6px solid var(--fmt, transparent);
  }

  .main-nav a::after {
    display: none;
  }

  .btn-community {
    margin-left: auto;
  }

  .header-inner {
    gap: 8px;
  }
}

@media (max-width: 920px) {
  .split,
  .feature-grid,
  .community-inner,
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .community h2 {
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .legal-links .launch48 {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 58px;
  }

  .brand img {
    height: 24px;
  }

  .btn-community {
    padding: 0;
    width: 44px;
    justify-content: center;
  }

  .btn-community span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .live-inner {
    gap: 2px 12px;
    padding-block: 8px;
  }

  .live-text {
    flex-basis: 100%;
    order: 2;
    font-size: 14px;
  }

  .live-title {
    display: none;
  }

  .live-when {
    order: 3;
    font-size: 14px;
  }

  .live-cta {
    order: 4;
    min-height: 32px;
  }

  .hero {
    --hero-h: 600px;
  }

  .slide-media img {
    object-position: var(--pos-m, var(--pos, 50% 40%));
  }

  .slide-media::after {
    background: linear-gradient(0deg, var(--ink) 0%, rgba(17, 16, 20, 0.8) 45%, rgba(17, 16, 20, 0.1) 80%);
  }

  .hero-copy {
    padding-bottom: 92px;
  }

  .dot-label {
    display: none;
  }

  .hero-dots {
    gap: 6px;
  }

  .hero-controls {
    bottom: 20px;
    gap: 14px;
  }

  .hero-arrows [data-prev],
  .hero-arrows [data-next] {
    display: none;
  }

  .hero-actions .btn,
  .ep-actions .btn,
  .contact-actions .btn {
    flex: 1 1 100%;
  }

  .shows {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .show {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto;
    border-top: 0;
    border-left: 6px solid var(--fmt);
  }

  .show-img {
    aspect-ratio: auto;
    height: 100%;
  }

  .show-body {
    padding: 14px;
  }

  .show-name {
    font-size: 17px;
  }

  .reels-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .reels-row li {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }

  .reels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-reels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logos li {
    min-height: 72px;
    font-size: 14px;
  }

  .block-head.row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .see-all {
    justify-self: start;
  }

  .btn-community-big {
    justify-self: stretch;
  }

  .pod-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pod {
    grid-template-columns: 64px 36px minmax(0, 1fr);
  }

  .pod img {
    width: 64px;
    height: 64px;
  }

  .pod .ep-v {
    display: none;
  }

  .ep-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .member h3 {
    font-size: 15px;
  }

  .member-bio {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   DA Tripin : rectangles arrondis, photos plein cadre, grain, étoile du logo.
   Cette couche surcharge la base ci-dessus.
   ========================================================================== */
:root {
  --ink: #0d0c11;
  --ink-2: #17161d;
  --ink-3: #24222c;
  --paper: #ffffff;
  --paper-dim: #b6b2c0;
  --line: rgba(255, 255, 255, 0.14);
  --sun: #f39a32;
  --dusk: linear-gradient(160deg, #18224d 0%, #3a2a5c 38%, #d9542b 78%, #f39a32 100%);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;

  /* Étoile à 4 branches du logo, avec sa petite sœur */
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M13 4c.9 7.4 4.6 11.1 12 12-7.4.9-11.1 4.6-12 12-.9-7.4-4.6-11.1-12-12 7.4-.9 11.1-4.6 12-12Z'/%3E%3Cpath d='M26 0c.4 2.9 1.9 4.4 4.8 4.8-2.9.4-4.4 1.9-4.8 4.8-.4-2.9-1.9-4.4-4.8-4.8 2.9-.4 4.4-1.9 4.8-4.8Z'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Grain sur toute la page, plus marqué sur les photos */
/* Grain de page posé dans le fond (jamais en calque fixe au-dessus de l'en-tête :
   Safari sur iPhone ne pourrait plus colorer la barre d'état avec l'en-tête) */
body {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.slide-media::before,
.show-img::after,
.reel::before,
.player::after,
.ep-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.22;
  mix-blend-mode: overlay;
}

.sparkle,
.v2-sparkle {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  background: currentColor;
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
  flex: none;
}

/* ---------- En-tête ---------- */
.site-header {
  background: rgba(13, 12, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-community {
  border-radius: var(--r-md);
  border-width: 1.5px;
}

.main-nav a::after {
  height: 2px;
  border-radius: 2px;
}

/* Bandeau live : une pastille arrondie au dégradé du soir */
.live-bar {
  background: transparent;
  color: var(--paper);
  padding-bottom: 10px;
}

.live-inner {
  background: var(--dusk);
  border-radius: var(--r-md);
  padding: 8px 10px 8px 16px;
  min-height: 52px;
  position: relative;
  overflow: hidden;
}

.live-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.25;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.live-badge {
  font-style: italic;
}

.live-badge i {
  background: var(--paper);
  border-radius: 50%;
}

.live-cta {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-sm);
  position: relative;
  z-index: 1;
}

/* ---------- Boutons et étiquettes ---------- */
.btn {
  border-radius: var(--r-md);
}

.btn-solid {
  background: var(--paper);
}

.btn-solid:hover {
  background: #ece7f5;
}

.btn-line {
  border-width: 1.5px;
  background: rgba(13, 12, 17, 0.25);
  backdrop-filter: blur(6px);
}

/* Étiquette contour type « EDITO ✦ » */
.fmt-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 14px;
  background: rgba(13, 12, 17, 0.35);
  color: var(--paper);
  border: 1.5px solid var(--paper);
  border-radius: var(--r-sm);
  font: 900 12px/1 var(--display);
  letter-spacing: 0.02em;
}

.fmt-label::after {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--fmt, var(--paper));
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

/* ---------- Hero : une grande carte photo arrondie ---------- */
.hero {
  width: min(1440px, 100% - 2 * var(--gutter));
  margin: 6px auto 0;
  border-radius: var(--r-xl);
  --hero-h: clamp(540px, 78vh, 800px);
}

.slide-media img {
  filter: saturate(1.08) contrast(1.04);
}

.slide-media::after {
  background:
    linear-gradient(90deg, rgba(13, 12, 17, 0.78) 0%, rgba(13, 12, 17, 0.35) 45%, rgba(13, 12, 17, 0) 72%),
    linear-gradient(0deg, rgba(13, 12, 17, 0.95) 0%, rgba(13, 12, 17, 0) 55%);
}

.hero > .promise,
.hero-copy,
.hero-controls {
  width: calc(100% - 2 * clamp(20px, 4vw, 56px));
}

.hero-title {
  font-size: clamp(30px, 6.2vw, 92px);
}

/* Sous-titre en italique large, comme sur les carrousels */
.hero-dek {
  font: 500 clamp(17px, 1.6vw, 20px)/1.45 var(--body);
  max-width: 40ch;
}

.hero-dots i {
  height: 3px;
  border-radius: 3px;
}

.hero-arrows button {
  border-width: 1.5px;
  border-radius: var(--r-sm);
  backdrop-filter: blur(6px);
}

.hero-player {
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Genres : texte blanc, étoiles du logo */
.genres {
  border: 0;
  padding-block: 22px;
}

.genres span {
  font: 900 clamp(18px, 2.2vw, 26px)/1 var(--display);
  font-stretch: normal;
}

.genres span::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin: 0 22px;
  vertical-align: -0.05em;
  background: var(--sun);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

/* ---------- Titres de section : étoile + titre sur deux lignes ---------- */
.block-head {
  border-top: 0;
  padding-top: 0;
}

.block-head h2 {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: clamp(26px, 4.6vw, 52px);
}

.block-head h2::before {
  content: "";
  width: 1.1em;
  height: 1.1em;
  flex: none;
  background: var(--paper);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

.see-all {
  border: 1.5px solid var(--paper);
  border-radius: var(--r-sm);
  padding: 0 14px;
}

/* ---------- Émissions : cartes photo verticales, texte posé sur l'image ---------- */
.shows {
  gap: 14px;
}

.show {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
  isolation: isolate;
}

.show-img {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  z-index: -1;
}

.show-img img {
  transition: transform 0.6s ease;
}

.show:hover {
  transform: none;
}

.show:hover .show-img img {
  transform: scale(1.05);
}

.show-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Dégradé à la couleur du format, plus profonde en bas pour garder le texte lisible */
  background: linear-gradient(
    0deg,
    var(--fmt-deep) 0%,
    color-mix(in oklab, var(--fmt-deep) 80%, transparent) 32%,
    color-mix(in oklab, var(--fmt) 30%, transparent) 55%,
    transparent 75%
  );
}

.show {
  --fmt-deep: color-mix(in oklab, var(--fmt) 58%, #0d0c11);
}

@supports (color: oklch(from red l c h)) {
  .show {
    --fmt-deep: oklch(from var(--fmt) 0.47 calc(c * 1.25) h);
  }
}

.show-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  gap: 8px;
}

.show-name {
  order: 2;
  color: var(--paper);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 0.95;
}

.show-what {
  order: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1.5px solid var(--paper);
  border-radius: 8px;
  font: 900 10px/1 var(--display);
  letter-spacing: 0.02em;
}

.show-what::after {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--fmt);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

.show-last {
  order: 3;
  font: italic 500 14px/1.35 var(--body);
  color: var(--paper-dim);
}

.show-go {
  order: 4;
}

.show-go::after {
  color: var(--paper);
}

/* Logos des émissions : la largeur suit --logo-size × --k (posé dans le HTML)
   pour que les trois logos, plus ou moins allongés, pèsent pareil à l'écran */
.show-logo {
  display: block;
  width: calc(var(--logo-size, 100px) * var(--k, 1.6));
  max-width: 100%;
  height: auto;
}

.show-name .show-logo {
  --logo-size: clamp(88px, 7.6vw, 112px);
}

.page-logo .show-logo {
  --logo-size: clamp(120px, 18vw, 210px);
}

.offer-logo .show-logo {
  --logo-size: 80px;
}

/* Même hauteur réservée au titre ou au logo : les descriptions démarrent au même niveau */
.offers li {
  grid-template-rows: minmax(56px, auto);
}

/* Reels, lecteurs, vignettes : tout arrondi */
.reels {
  gap: 12px;
}

.reel,
.player,
.ep-thumb,
.member img,
.pod,
.pod img,
.offers li,
.next-box {
  border-radius: var(--r-lg);
}

.pod img {
  border-radius: var(--r-sm);
}

.reel::before {
  z-index: 0;
}

.reel-cap {
  z-index: 2;
}

.reel-place {
  color: var(--paper-dim);
}

.reel strong {
  font: 800 15px/1.15 var(--body);
}

.ep-thumb {
  border-bottom: 0;
}

.ep-thumb i,
.player-play {
  background: var(--paper);
  color: var(--ink);
}

.player-play {
  border-radius: var(--r-lg);
  width: 76px;
  height: 76px;
}

.player-play::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: calc(var(--r-lg) + 6px);
}

/* Radio : liste arrondie */
.ep-list {
  border-top: 0;
  display: grid;
  gap: 8px;
}

.ep-list a {
  border: 0;
  border-radius: var(--r-md);
  background: var(--ink-2);
  padding: 12px 16px;
}

.ep-num {
  color: var(--paper);
  font-style: italic;
}

.episode-main .fmt-label {
  background: rgba(13, 12, 17, 0.35);
}

/* Communauté : grande carte au dégradé du soir, comme « Monday Song » */
.community {
  width: var(--page);
  margin-inline: auto;
  background: var(--dusk);
  color: var(--paper);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.community::after,
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.community-inner {
  width: auto;
  padding: clamp(36px, 6vw, 72px);
  position: relative;
  z-index: 1;
}

.community-perks li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--paper);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

.btn-community-big {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-md);
}

.btn-community-big:hover {
  background: #ece7f5;
}

/* Partenaires */
.logos {
  border: 0;
  gap: 10px;
}

.logos li {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font: 900 13px/1.15 var(--display);
  color: var(--paper-dim);
}

.contact {
  width: var(--page);
  margin-inline: auto;
  background: var(--dusk);
  color: var(--paper);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

/* En-têtes de page */
.page-head {
  width: min(1440px, 100% - 2 * var(--gutter));
  margin: 6px auto 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--dusk);
  position: relative;
  overflow: hidden;
}

.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.page-head-inner {
  width: calc(100% - 2 * clamp(20px, 4vw, 56px));
  position: relative;
  z-index: 1;
}

.page-intro {
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
}

.territories {
  -webkit-text-stroke-color: var(--paper);
}

.territories i {
  color: transparent;
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  vertical-align: 0.1em;
  background: var(--sun);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero {
    --hero-h: 620px;
  }

  .show-last {
    display: none;
  }

  .show {
    aspect-ratio: 4 / 3;
    grid-template-columns: none;
    border-left: 0;
  }

  .show-img {
    height: auto;
  }

  .show-name {
    font-size: 20px;
  }

  .block-head h2 {
    font-size: clamp(20px, 6vw, 30px);
  }

  .community,
  .contact {
    width: calc(100% - 2 * var(--gutter));
  }

}

/* Équipe : badge arrondi */
.member-num {
  border-radius: 6px;
}

/* Encadrés « prochaine émission / session » au dégradé du soir */
.next-box {
  background: var(--dusk);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.next-box > * {
  position: relative;
  z-index: 1;
}

.next-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.next-box .btn-solid {
  background: var(--paper);
  color: var(--ink);
}

.next-box .btn-solid:hover {
  background: #ece7f5;
}

/* ==========================================================================
   En-tête opaque, menu plein écran, hero mobile allégé
   ========================================================================== */
html {
  scroll-padding-top: 90px;
}

.site-header {
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


@media (min-width: 1081px) {
  .nav-extra {
    display: none;
  }
}

@media (max-width: 1080px) {
  .header-inner > .brand,
  .header-inner > .btn-community,
  .header-inner > .menu-toggle {
    position: relative;
    z-index: 2;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: calc(var(--header-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
    background: var(--dusk);
    border: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    clip-path: circle(0 at calc(100% - var(--gutter) - 22px) calc(var(--header-h) / 2));
    transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.25, 1), visibility 0s linear 0.55s;
  }

  .main-nav::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.3;
    mix-blend-mode: overlay;
    pointer-events: none;
  }

  .menu-open .main-nav {
    visibility: visible;
    clip-path: circle(160vmax at calc(100% - var(--gutter) - 22px) calc(var(--header-h) / 2));
    transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.25, 1), visibility 0s;
  }

  .main-nav > a,
  .main-nav .nav-biz {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border: 0;
    color: var(--paper);
    font: 900 clamp(22px, 6.2vw, 44px)/1.05 var(--display);
    letter-spacing: 0;
    white-space: normal;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.25s ease, transform 0.3s ease;
  }

  .main-nav > a::before {
    content: "";
    width: 0.55em;
    height: 0.55em;
    flex: none;
    background: var(--fmt, var(--paper));
    -webkit-mask: var(--sparkle) center / contain no-repeat;
    mask: var(--sparkle) center / contain no-repeat;
  }

  .main-nav > a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
  }

  .nav-extra {
    margin-top: auto;
    padding-top: 32px;
    display: grid;
    gap: 18px;
    justify-items: start;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.25s ease, transform 0.3s ease;
  }

  .main-nav .nav-extra .btn {
    min-height: 52px;
    padding: 0 22px;
    border: 2px solid transparent;
    font: 800 16px/1 var(--body);
    color: var(--ink);
  }

  .main-nav .nav-extra a::after {
    display: none;
  }

  .nav-social {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
  }

  .main-nav .nav-extra a {
    text-transform: none;
    letter-spacing: 0;
  }

  .main-nav:focus {
    outline: none;
  }

  .main-nav .nav-social a {
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font: 700 16px/1 var(--body);
    color: var(--paper);
  }

  .nav-territories {
    margin: 0;
    font: 900 12px/1.3 var(--display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
  }

  /* Arrivée en cascade des liens à l'ouverture */
  .menu-open .main-nav > a,
  .menu-open .nav-extra {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .menu-open .main-nav > a:nth-child(1) { transition-delay: 0.18s; }
  .menu-open .main-nav > a:nth-child(2) { transition-delay: 0.24s; }
  .menu-open .main-nav > a:nth-child(3) { transition-delay: 0.3s; }
  .menu-open .main-nav > a:nth-child(4) { transition-delay: 0.36s; }
  .menu-open .main-nav > a:nth-child(5) { transition-delay: 0.42s; }
  .menu-open .nav-extra { transition-delay: 0.5s; }

  html.menu-open,
  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  /* Hero mobile : l'image d'abord, le texte au minimum */
  .hero {
    --hero-h: min(78vh, 680px);
  }

  @supports (height: 1svh) {
    .hero {
      --hero-h: min(78svh, 680px);
    }
  }

  .hero > .promise {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .label-more,
  .hero-dek,
  .btn-secondary {
    display: none;
  }

  .hero-copy {
    padding: 0 0 80px;
    gap: 12px;
  }

  .hero-actions {
    margin-top: 4px;
  }

  .hero-actions .btn {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }

  .slide-media::after {
    background: linear-gradient(0deg, rgba(13, 12, 17, 0.92) 0%, rgba(13, 12, 17, 0.4) 30%, rgba(13, 12, 17, 0) 55%);
  }
}

/* ==========================================================================
   En-tête sous la barre d'état iOS, étiquettes en Archivo, boutons en dégradé
   ========================================================================== */

/* Avec viewport-fit=cover, l'en-tête remplit aussi la zone de la barre d'état :
   plus rien ne défile visiblement au-dessus, y compris au premier défilement. */
.site-header {
  padding-top: env(safe-area-inset-top, 0px);
}

.site-footer {
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 1080px) {
  .main-nav {
    padding-top: calc(var(--header-h) + 28px + env(safe-area-inset-top, 0px));
    clip-path: circle(0 at calc(100% - var(--gutter) - 22px) calc(var(--header-h) / 2 + env(safe-area-inset-top, 0px)));
  }

  .menu-open .main-nav {
    clip-path: circle(160vmax at calc(100% - var(--gutter) - 22px) calc(var(--header-h) / 2 + env(safe-area-inset-top, 0px)));
  }

  .menu-open .main-nav > a:nth-child(6) { transition-delay: 0.48s; }
  .menu-open .nav-extra { transition-delay: 0.56s; }
}

@media (min-width: 1081px) and (max-width: 1240px) {
  .main-nav a {
    padding-inline: 8px;
    font-size: 14px;
  }

  .header-inner {
    gap: 16px;
  }
}

/* Étiquettes au-dessus des titres : Archivo, Sequel reste réservé aux titres */
.fmt-label,
.show-what,
.next-kicker,
.legal-hero .kicker {
  font: 800 12px/1.1 var(--body);
  font-stretch: 100%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.show-what {
  font-size: 11px;
}

/* Boutons principaux : le dégradé orange, rose, violet de Tripin sur fond sombre */
.btn-solid,
.btn-solid:hover,
.btn-community-big,
.btn-community-big:hover {
  background: linear-gradient(115deg, var(--sound), var(--talk) 55%, #7e57ff) border-box no-repeat;
  color: #06060b;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(255, 93, 168, 0.3);
}

.btn-solid:hover,
.btn-community-big:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(255, 93, 168, 0.45);
}

/* Sur les fonds colorés (dégradé du soir), les boutons restent blancs */
.page-head .btn-solid,
.community .btn-community-big,
.contact .btn-solid,
.next-box .btn-solid,
.main-nav .nav-extra .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
  box-shadow: none;
  filter: none;
}

.page-head .btn-solid:hover,
.community .btn-community-big:hover,
.contact .btn-solid:hover,
.next-box .btn-solid:hover,
.main-nav .nav-extra .btn:hover {
  background: #ece7f5;
  color: var(--ink);
  box-shadow: none;
  filter: none;
}

/* En-tête fixe : Safari sur iPhone reprend sa couleur dans la barre d'état
   dès le premier défilement (un en-tête « sticky » n'est pas toujours pris en compte). */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

body {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

/* Marges latérales : jamais sous l'encoche en paysage */
:root {
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

/* Menu fermé : aucune surface fixe à l'écran une fois l'animation de fermeture finie */
@media (max-width: 1080px) {
  .main-nav {
    inset: 0 0 auto 0;
    height: 0;
    padding-block: 0;
    transition:
      clip-path 0.55s cubic-bezier(0.7, 0, 0.25, 1),
      visibility 0s linear 0.55s,
      height 0s linear 0.55s,
      padding 0s linear 0.55s;
  }

  .menu-open .main-nav {
    height: 100vh;
    height: 100dvh;
    padding-top: calc(var(--header-h) + 28px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    transition:
      clip-path 0.7s cubic-bezier(0.7, 0, 0.25, 1),
      visibility 0s,
      height 0s,
      padding 0s;
  }

  .main-nav::after {
    position: absolute;
  }
}

/* Lecteur Spotify intégré (épisodes Tripin Radio) */
.spotify-embed {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--ink-2);
}

.podcast-embed {
  min-width: 0;
}

.spotify-episode {
  border-radius: var(--r-md);
}

.episode-embeds {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 12px;
}

/* ==========================================================================
   En-tête transparent en haut de page, fond qui apparaît au défilement.
   Une fois défilé, le fond reste noir opaque : Safari sur iPhone le reprend
   dans la barre d'état (le fondu reste donc court).
   ========================================================================== */
.site-header {
  background-color: transparent;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: background-color 0.2s ease, box-shadow 0.45s ease;
}

.site-header.is-scrolled {
  background-color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  transition: height 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.site-header.is-scrolled .header-inner {
  height: calc(var(--header-h) - 8px);
}

.brand img {
  transition: height 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.site-header.is-scrolled .brand img {
  height: 26px;
}

/* Trait au dégradé Tripin qui se dessine depuis le centre */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sound), var(--talk) 55%, #7e57ff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
}

.site-header.is-scrolled::after {
  transform: scaleX(1);
}

.menu-open .site-header::after {
  opacity: 0;
}

@media (max-width: 640px) {
  .site-header.is-scrolled .brand img {
    height: 21px;
  }
}

/* Mobile et tablette : pas de resserrement au défilement (logo qui sautait,
   bouton Instagram collé au trait). Seuls le fond et le trait apparaissent. */
@media (max-width: 1080px) {
  .header-inner,
  .brand img {
    transition: none;
  }

  .site-header.is-scrolled .header-inner {
    height: var(--header-h);
  }

  .site-header.is-scrolled .brand img {
    height: 30px;
  }
}

@media (max-width: 640px) {
  .site-header.is-scrolled .brand img {
    height: 24px;
  }
}

/* Desktop : resserrement léger, le bouton garde de l'air au-dessus du trait */
@media (min-width: 1081px) {
  .site-header.is-scrolled .header-inner {
    height: calc(var(--header-h) - 4px);
  }

  .site-header.is-scrolled .brand img {
    height: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 62px;
  }
}

/* Logos partenaires : affichés en blanc pour une rangée homogène */
.logos li.has-logo {
  padding: 18px 20px;
}

.logos li.has-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.logos li.has-logo:hover img {
  opacity: 1;
}

.logos-small li.has-logo img {
  max-height: 32px;
}

.logos li.with-name {
  display: grid;
  gap: 8px;
  justify-items: center;
  align-content: center;
}

.logos li.with-name img {
  max-height: 30px;
}

.logos li.with-name span {
  font: 700 10px/1.2 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.logos li.keep-colors img {
  filter: none;
}

.logos li.logo-lg {
  padding-block: 12px;
}

.logos li.logo-lg img {
  max-height: 70px;
}

/* ==========================================================================
   Chiffres clés : bandeau de la home et audience (page Partenaires)
   ========================================================================== */
.stats-band {
  position: relative;
  width: var(--page);
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.stats-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.stats-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font: 800 12px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.stats-kicker::after {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--talk);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

.stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat dd {
  margin: 0;
  font: 900 clamp(34px, 4.4vw, 64px)/1 var(--display);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  background: linear-gradient(115deg, var(--sound), var(--talk) 55%, #7e57ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-unit {
  font-size: 0.62em;
}

.stat dt {
  font: 500 15px/1.35 var(--body);
  color: var(--paper);
  max-width: 22ch;
}

.stat-detail {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--paper-dim);
}

.stats-source {
  margin: 22px 0 0;
  font-size: 12px;
  color: var(--paper-dim);
}

/* Page Partenaires : grille de 6 chiffres */
.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stats-grid .stat,
.stats-grid .stat:first-child {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
}

.audience-geo {
  margin-top: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
}

.audience-geo h3 {
  margin: 0 0 16px;
  font: 800 12px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.geo-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.geo-bars li {
  display: grid;
  grid-template-columns: minmax(110px, 180px) minmax(0, 1fr) 52px;
  gap: 14px;
  align-items: center;
  font: 600 15px/1.2 var(--body);
}

.geo-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.geo-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sound), var(--talk) 55%, #7e57ff);
}

.geo-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.geo-cities {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--paper-dim);
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }
}

@media (max-width: 640px) {
  .stats-band {
    width: calc(100% - 2 * var(--gutter));
  }

  .stat {
    padding-inline: 12px;
  }

  .stat dt {
    font-size: 14px;
  }

  .stats-grid .stat,
  .stats-grid .stat:first-child {
    padding: 16px;
  }

  .geo-bars li {
    grid-template-columns: minmax(0, 1fr) 48px;
    row-gap: 6px;
  }

  .geo-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* Taille des nombres proportionnelle à la largeur de leur case : jamais de débordement */
.stat {
  container-type: inline-size;
  min-width: 0;
}

.stat dd {
  font-size: clamp(22px, 15cqi, 60px);
}

/* Mobile : bandeau de la home en lignes, le nombre à gauche et son libellé à droite */
@media (max-width: 640px) {
  .stats-band .stats {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .stats-band .stat,
  .stats-band .stat:first-child,
  .stats-band .stat:nth-child(odd) {
    display: grid;
    grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stats-band .stat:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .stats-band .stat dd {
    order: -1;
    font-size: clamp(22px, 10cqi, 40px);
  }
}

@media (max-width: 640px) {
  .stats-band .stat,
  .stats-band .stat:first-child,
  .stats-band .stat:nth-child(odd) {
    grid-template-columns: minmax(0, 60%) minmax(0, 1fr);
  }

  .stats-band .stat dd {
    font-size: clamp(20px, 9cqi, 38px);
  }
}

@media (max-width: 380px) {
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobile : cartes Partenaires en lignes, comme le bandeau de la home */
@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .stats-grid .stat,
  .stats-grid .stat:first-child {
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 16px;
  }

  .stats-grid .stat dd {
    order: -1;
    font-size: clamp(20px, 9cqi, 38px);
  }
}

/* ==========================================================================
   Page « Notre histoire »
   ========================================================================== */
.story-facts {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: 12px clamp(24px, 4vw, 56px);
}

.story-facts div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.story-facts dd {
  margin: 0;
  font: 900 clamp(26px, 3.6vw, 48px)/1 var(--display);
  color: var(--paper);
  white-space: nowrap;
}

.story-facts dt {
  font: 600 13px/1.3 var(--body);
  color: rgba(255, 255, 255, 0.8);
}

/* Mission : trois piliers */
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pillars a {
  position: relative;
  height: 100%;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillars a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--fmt);
}

.pillars a:hover {
  transform: translateY(-4px);
  border-color: var(--fmt);
}

.pillars h3 {
  margin: 0;
  font: 900 clamp(20px, 2vw, 26px)/1 var(--display);
  text-transform: uppercase;
}

.pillars p {
  margin: 0;
  color: var(--paper-dim);
}

.pillar-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font: 800 12px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fmt);
}

.pillar-go::after {
  content: "→";
  font-size: 14px;
}

/* Chronologie */
.timeline {
  --year-col: 200px;
  --gap: 48px;
  --dot: 14px;
  position: relative;
  display: grid;
  gap: 56px;
}

.timeline-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: calc(var(--year-col) + var(--gap) / 2 - 1px);
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}

.timeline-line i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--sound), var(--talk) 55%, #7e57ff);
  transform: scaleY(var(--progress, 1));
  transform-origin: top;
}

.tl-year {
  display: grid;
  grid-template-columns: var(--year-col) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.tl-year-label {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin: 0;
  font: 900 clamp(44px, 5.4vw, 76px)/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
  text-align: right;
}

.tl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.milestone {
  position: relative;
}

.ms-dot {
  position: absolute;
  top: 26px;
  left: calc(var(--gap) / -2 - var(--dot) / 2);
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--fmt);
  box-shadow: 0 0 0 4px var(--ink), 0 0 18px var(--fmt);
}

.ms-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
}

.milestone.no-media .ms-card {
  grid-template-columns: minmax(0, 1fr);
  padding: 22px;
}

.ms-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
}

.ms-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ms-media:hover img {
  transform: scale(1.05);
}

.ms-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.ms-big {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  background: var(--dusk);
  font: 900 clamp(26px, 2.6vw, 34px)/1 var(--display);
  color: var(--paper);
  text-align: center;
}

.ms-body {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ms-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font: 800 12px/1.2 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.ms-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fmt);
}

.ms-meta span::before {
  content: "";
  width: 11px;
  height: 11px;
  background: currentColor;
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

.ms-body h4 {
  margin: 0;
  font: 900 clamp(18px, 1.8vw, 24px)/1.05 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
}

.ms-body p:last-child {
  margin: 0;
  max-width: 60ch;
  color: var(--paper-dim);
}

/* Apparition des étapes au défilement (seulement si le script est actif) */
.timeline.is-animated .milestone {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.timeline.is-animated .milestone.is-visible {
  opacity: 1;
  transform: none;
}

/* Équipe */
.team-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 18px;
  font: 800 13px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.team-group::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--sun);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

.team-lead {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 48px;
}

.member h4 {
  margin: 0;
  font: 900 19px/1.05 var(--display);
  text-transform: uppercase;
}

.member-lead h4 {
  font-size: clamp(20px, 2vw, 26px);
}

.member img {
  transition: transform 0.4s ease;
}

.member:hover img {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .story-facts {
    grid-template-columns: repeat(2, minmax(0, auto));
  }

  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline {
    --year-col: 0px;
    --gap: 36px;
    gap: 40px;
  }

  .timeline-line {
    left: 7px;
  }

  .tl-year {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-left: var(--gap);
  }

  .tl-year-label {
    position: static;
    text-align: left;
    font-size: clamp(40px, 11vw, 60px);
  }

  .ms-dot {
    left: calc(7px - var(--gap) - var(--dot) / 2 + 1px);
  }

  .team-lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ms-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    align-items: start;
  }

  .ms-big {
    font-size: 22px;
  }

  .team-lead {
    margin-bottom: 36px;
  }
}

/* Frise : colonne des années assez large pour la typo Sequel */
.timeline {
  --year-col: 270px;
}

.tl-year-label {
  font-size: clamp(34px, 3.2vw, 46px);
  white-space: nowrap;
}

.ms-big {
  font-size: 22px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .timeline {
    --year-col: 0px;
  }

  .tl-year-label {
    font-size: clamp(40px, 11vw, 60px);
  }
}

@media (max-width: 640px) {
  .member h4 {
    font-size: 15px;
  }

  .member-lead h4 {
    font-size: 17px;
  }
}

/* Mobile : visuel en bandeau au-dessus du texte, le texte prend toute la largeur */
@media (max-width: 640px) {
  .ms-card,
  .milestone.no-media .ms-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }

  .ms-media,
  .ms-big {
    aspect-ratio: 16 / 9;
  }

  .ms-big {
    font-size: 40px;
  }

  .ms-body {
    padding: 0 4px 4px;
  }

  .ms-dot {
    top: 20px;
  }
}

/* Quatre piliers (avec Tripin Agency) */
.pillars {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ms-big.is-word {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.story-facts dd {
  font-size: clamp(20px, 6.2vw, 48px);
}

@media (max-width: 640px) {
  .ms-big.is-word {
    font-size: 28px;
  }

  .story-facts {
    gap: 12px 18px;
  }
}

@media (min-width: 901px) {
  .story-facts dd {
    font-size: clamp(26px, 3.6vw, 48px);
  }
}

/* Texte éditorial (page « Notre histoire ») */
.editorial-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    "lead quote"
    "text quote";
  gap: 28px clamp(32px, 5vw, 72px);
  align-items: start;
}

.editorial-lead {
  grid-area: lead;
  margin: 0;
  max-width: 34ch;
  font: 600 clamp(21px, 2.2vw, 28px)/1.4 var(--body);
  color: var(--paper);
  text-wrap: pretty;
}

.editorial-text {
  grid-area: text;
  display: grid;
  gap: 18px;
  max-width: 64ch;
}

.editorial-text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}

.editorial-quote {
  grid-area: quote;
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: var(--dusk);
  overflow: hidden;
  isolation: isolate;
}

.editorial-quote::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  background: var(--paper);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

.editorial-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.editorial-quote p {
  margin: 0;
  font: 900 clamp(22px, 2.3vw, 32px)/1.1 var(--display);
  text-transform: uppercase;
  color: var(--paper);
  text-wrap: balance;
}

@media (max-width: 900px) {
  .editorial-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "lead"
      "quote"
      "text";
    gap: 24px;
  }

  .editorial-lead {
    max-width: none;
  }

  .editorial-quote {
    position: static;
  }
}

@media (max-width: 640px) {
  .editorial-text p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .editorial-quote p {
    font-size: clamp(18px, 5.6vw, 26px);
  }
}

.next-facts a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.next-box {
  grid-template-columns: minmax(0, 1fr);
}

.feature-copy h2,
.feature-title,
.legal-section h2 {
  justify-self: stretch;
  overflow-wrap: normal;
}

.feature-copy {
  grid-template-columns: minmax(0, 1fr);
}

/* Photo de groupe de l'équipe */
.team-photo {
  position: relative;
  margin: 0 0 44px;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}

.team-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 35%;
}

.team-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--grain);
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 12, 17, 0.75) 0%, rgba(13, 12, 17, 0) 35%);
  pointer-events: none;
}

.team-photo figcaption {
  position: absolute;
  left: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(14px, 2.4vw, 24px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 14px/1.3 var(--body);
  color: var(--paper);
}

.team-photo figcaption::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--radio);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

@media (max-width: 640px) {
  .team-photo {
    margin-bottom: 32px;
    border-radius: var(--r-lg);
  }

  .team-photo img {
    aspect-ratio: 4 / 3;
  }

  .team-photo figcaption {
    font-size: 13px;
  }
}

/* Trip Talk : cartes portrait avec cover, texte posé sur le bas du visuel */
.ep-grid-cover {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.ep-card.ep-cover {
  position: relative;
  display: block;
}

.ep-cover .ep-thumb {
  aspect-ratio: 4 / 5;
  margin: 0;
  border-bottom: 0;
  border-radius: var(--r-lg);
}

.ep-cover .ep-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(13, 12, 17, 0.85) 0%, rgba(13, 12, 17, 0) 45%);
  pointer-events: none;
}

.ep-cover .ep-thumb i {
  top: 12px;
  right: 12px;
  bottom: auto;
  z-index: 2;
}

.ep-cover-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  gap: 4px;
}

.ep-cover-text .ep-kicker {
  color: var(--paper);
}

.ep-cover-text strong {
  font: 900 clamp(18px, 1.8vw, 24px)/1 var(--display);
  text-transform: uppercase;
}

.ep-cover-text .ep-meta {
  color: rgba(255, 255, 255, 0.8);
}

.ep-card.ep-cover[aria-current="true"] .ep-thumb {
  outline: 3px solid var(--fmt);
  outline-offset: 3px;
}

/* Hero : visuel vertical sur mobile */
.slide-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 640px) {
  .ep-grid-cover {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ep-cover-text {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .ep-cover-text strong {
    font-size: 15px;
  }

  .ep-cover-text .ep-meta {
    display: none;
  }
}

.ep-cover .ep-thumb {
  display: block;
}

.ep-grid-cover {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 640px) {
  .ep-grid-cover {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ep-cover-text {
  grid-template-columns: minmax(0, 1fr);
}

.ep-cover-text strong {
  display: block;
  white-space: nowrap;
}
