/* Page d'accueil (visiteur) — affiche de concert. Non « layered » : prime sur app.css. */

.page-landing .footer {
  margin-top: 0;
}

.section-head {
  display: grid;
  gap: var(--s-3);
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  /* Haut resserré : la barre de recherche doit tenir dans le premier écran d’un portable (1366 × 768). */
  padding-block: clamp(1.5rem, 0.75rem + 3vw, 3.25rem) clamp(3rem, 2rem + 5vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: calc(var(--grain-opacity) * 1.4);
  pointer-events: none;
}
.hero__rings {
  position: absolute;
  width: min(140vw, 72rem);
  right: -38%;
  top: 50%;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.22;
  pointer-events: none;
}
.hero__rings circle:nth-child(2) {
  opacity: 0.75;
}
.hero__rings circle:nth-child(3) {
  opacity: 0.5;
  stroke-dasharray: 3 9;
}
.hero__rings circle:nth-child(4) {
  opacity: 0.3;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__rings circle {
    transform-origin: 400px 400px;
    animation: ring 6s ease-in-out infinite;
  }
  .hero__rings circle:nth-child(2) {
    animation-delay: -1.5s;
  }
  .hero__rings circle:nth-child(3) {
    animation-delay: -3s;
  }
  .hero__rings circle:nth-child(4) {
    animation-delay: -4.5s;
  }
}
@keyframes ring {
  50% {
    transform: scale(1.06);
    opacity: 0.35;
  }
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}
.hero__copy {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
}
.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  color: var(--text-muted);
  font-weight: 650;
  font-size: 0.9rem;
}
.hero__title {
  display: grid;
  font-size: clamp(2.1rem, 9.2vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
@media (min-width: 960px) {
  .hero__title {
    font-size: clamp(2.9rem, 4.2vw, 4.5rem);
  }
}
.hero__l2 {
  color: transparent;
  -webkit-text-stroke: 2px var(--text);
  paint-order: stroke fill;
}
@media (forced-colors: active) {
  .hero__l2 {
    color: CanvasText;
    -webkit-text-stroke: 0;
  }
}
.hero__l3 {
  position: relative;
  width: fit-content;
  color: var(--accent-strong);
}
.hero__dot {
  color: var(--vu);
}
/* Sur papier, le point jaune disparaît : on le cerne d'encre, comme un autocollant. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .hero__dot {
    -webkit-text-stroke: 3px var(--text);
    paint-order: stroke fill;
  }
}
:root[data-theme='light'] .hero__dot {
  -webkit-text-stroke: 3px var(--text);
  paint-order: stroke fill;
}
.hero__squiggle {
  position: absolute;
  left: 0;
  right: 0.3em;
  bottom: -0.18em;
  width: calc(100% - 0.3em);
  height: 0.22em;
  fill: none;
  stroke: var(--vu);
  stroke-width: 5;
  stroke-linecap: round;
  overflow: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__squiggle path {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw 1.2s 0.4s var(--ease) forwards;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.hero__lead {
  max-width: 36rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-muted);
}
.hero__lead strong,
.hero__lead em {
  color: var(--text);
}
.doors {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 40rem;
}
@media (min-width: 560px) {
  .doors {
    grid-template-columns: 1fr 1fr;
  }
}
/* Les deux portes : des cartes claires (plus d'aplat noir) avec, en bas, un vrai bouton « Voir les groupes → » /
   « Poster mon groupe → » : on voit tout de suite que c'est cliquable (test du 30/10/2026). */
.door {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.4rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 2px solid color-mix(in srgb, var(--accent) 70%, var(--ink));
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, background-color 0.15s;
}
.door--band {
  border-color: color-mix(in srgb, var(--tape) 55%, var(--ink));
  background: color-mix(in srgb, var(--tape) 35%, var(--surface));
}
.door:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--ink);
}
.door:active {
  transform: translateY(0);
}
.door__go {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding: 0.6rem 1rem 0.55rem;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1;
  transform: rotate(-1deg);
  transition: transform 0.15s;
}
.door--band .door__go {
  background: var(--tape);
  color: var(--on-tape);
  transform: rotate(0.8deg);
}
.door:hover .door__go,
.door:focus-visible .door__go {
  transform: rotate(0);
}
.door__arrow {
  font-family: var(--font-body);
  font-weight: 800;
  transition: transform 0.15s;
}
.door:hover .door__arrow {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .door,
  .door__go,
  .door__arrow {
    transition: none;
  }
  .door:hover,
  .door:hover .door__arrow {
    transform: none;
  }
}
.door__kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  line-height: 1;
}
.door__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.door__text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}
/* La barre de recherche (test « 40-50 ans ») : « Je cherche · Instrument · Où · Voir les annonces », sans compte
   (docs/PRODUCT.md §0.8). Une affichette collée sur le poster : fond de carte, bord d'encre, champs bien lisibles.
   Mobile : les champs les uns sous les autres ; dès 560 px : deux par ligne, le bouton à côté de la ville. */
.hero-search {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  max-width: 40rem;
  padding: 1rem;
  /* bord d’encre sur papier, bord crème sur la scène sombre : l’affichette se détache dans les deux thèmes */
  border: 3px solid var(--text);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
}
@media (min-width: 560px) {
  .hero-search {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    padding: 1.1rem 1.2rem 1.2rem;
  }
}
.hero-search .field__label {
  font-size: 0.95rem;
  font-weight: 750;
}
/* Des champs un peu plus grands : on vise des yeux de 45 ans et un pouce. */
.hero-search .select,
.hero-search .chips__box,
.hero-search .chips__input {
  min-height: 3.1rem;
  font-size: 1.02rem;
}
.hero-search__go {
  justify-self: stretch;
}
.hero-search__go.btn {
  width: 100%;
}
.hero-search__note {
  margin-top: -0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.35;
}
/* Les deux portes, sous la barre : plus discrètes qu'avant, la recherche passe d'abord. */
.hero .doors {
  max-width: 40rem;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  list-style: none;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text-muted);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__proof .icon {
  color: var(--signal-text);
  stroke-width: 3;
  width: 1rem;
  height: 1rem;
}

/* La « scène » : un aperçu de Sélection en cartes de travers */
.hero__stage {
  position: relative;
}
.stage {
  position: relative;
  display: grid;
  gap: 0.9rem;
  max-width: 27rem;
  margin-inline: auto;
  padding-top: 2.6rem; /* la bande « Exemple / Places à prendre » passe au-dessus des étiquettes épinglées */
}
.stage__tape {
  position: absolute;
  top: -0.2rem;
  left: 50%;
  translate: -50% 0;
  z-index: 5;
  --tilt: -3deg !important;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.35);
}
.stage__list {
  display: grid;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
}
.stage__more {
  text-align: center;
  font-weight: 750;
  font-size: 0.92rem;
}
/* « Ta Sélection » expliquée sous l'exemple (le mot maison, en une ligne). */
.stage__caption {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
}
.stage__caption strong {
  color: var(--text);
}
.mini {
  position: relative;
  display: grid;
  gap: 0.6rem;
  padding: 1rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}
.mini--1 {
  transform: rotate(-1.6deg);
  z-index: 3;
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong));
}
.mini--2 {
  transform: rotate(1.4deg) translateX(0.6rem);
  z-index: 2;
}
.mini--3 {
  transform: rotate(-0.8deg) translateX(-0.4rem);
  z-index: 1;
}
.mini--slot {
  padding-top: 1.35rem;
  background: linear-gradient(135deg, var(--accent-soft), transparent 50%), var(--surface);
}
.mini__band {
  font-weight: 600;
  color: var(--text-muted);
}
.mini .lineup {
  margin-top: 0.1rem;
}
.mini__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}
.mini--slot .mini__head {
  grid-template-columns: minmax(0, 1fr) auto;
}
.mini__who {
  min-width: 0;
}
.mini__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-weight: 820;
  font-size: 1.05rem;
  line-height: 1.2;
}
.mini__name .tag {
  font-size: 0.55rem;
}
.mini__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}
.mini__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}
.mini__meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.mini__meta strong {
  color: var(--text);
}
.mini__reason {
  font-size: 0.88rem;
  line-height: 1.35;
}
.mini__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.mini__actions .btn {
  pointer-events: none;
  min-height: 2.6rem;
}
.mini__wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 1.8rem;
}
.mini__wave i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 2px;
  background: var(--line-strong);
}
.mini__wave i:nth-child(-n + 14) {
  background: var(--accent);
}
@media (max-width: 959px) {
  .mini--3 {
    display: none;
  }
}

/* ─── La boucle : pédalier ─────────────────────────────────────────────── */
.loop {
  position: relative;
  border-bottom: 1px solid var(--line);
}
/* « Comment ça marche » : le titre de la section (plus un petit surtitre), la formule d'affiche dessous. */
.loop__tagline {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-lg);
  letter-spacing: 0.02em;
  color: var(--accent-text);
}
.pedalboard {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 900px) {
  .pedalboard {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
  /* le câble qui relie les pédales */
  .pedalboard::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 5.5rem;
    height: 6px;
    border-radius: 6px;
    background: #0b0908;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 2px 4px rgb(0 0 0 / 0.5);
    z-index: 0;
  }
}
.pedal {
  --face: var(--accent);
  --ink: var(--on-accent);
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.pedal--yellow {
  --face: var(--vu);
  --ink: var(--on-vu);
}
.pedal--green {
  --face: var(--signal);
  --ink: var(--on-signal);
}
.pedal--cream {
  --face: #efe4c8;
  --ink: #1d1813;
}
.pedal__body {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: space-between;
  gap: 0.9rem;
  aspect-ratio: 3 / 4;
  max-width: 13rem;
  width: 100%;
  margin-inline: auto;
  padding: 1rem 0.9rem 1.1rem;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgb(255 255 255 / 0.28), transparent 38%),
    linear-gradient(to bottom, var(--face), color-mix(in srgb, var(--face) 78%, #000));
  color: var(--ink);
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 0.35),
    inset 0 -4px 0 rgb(0 0 0 / 0.22),
    0 18px 30px -12px rgb(0 0 0 / 0.65),
    0 4px 0 color-mix(in srgb, var(--face) 50%, #000);
  transition: transform 0.25s var(--ease-bounce);
}
.pedal:hover .pedal__body {
  transform: translateY(-4px) rotate(-1deg);
}
.pedal:nth-child(even):hover .pedal__body {
  transform: translateY(-4px) rotate(1deg);
}
.pedal__knobs {
  display: flex;
  gap: 0.55rem;
}
.pedal__knobs i {
  position: relative;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a423b, #120f0d 70%);
  box-shadow: 0 3px 5px rgb(0 0 0 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.18);
  transform: rotate(var(--r, 0deg));
}
.pedal__knobs i::after {
  content: '';
  position: absolute;
  top: 0.15rem;
  left: 50%;
  width: 2px;
  height: 0.55rem;
  margin-left: -1px;
  border-radius: 2px;
  background: #f4ead6;
}
.pedal__led {
  position: absolute;
  top: 1.15rem;
  right: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ff2d1f;
  box-shadow: 0 0 0 2px rgb(0 0 0 / 0.35), 0 0 12px 2px #ff2d1f;
}
@media (prefers-reduced-motion: no-preference) {
  .pedal__led {
    animation: led-seq 4s infinite;
  }
  .pedal:nth-child(2) .pedal__led {
    animation-delay: 1s;
  }
  .pedal:nth-child(3) .pedal__led {
    animation-delay: 2s;
  }
  .pedal:nth-child(4) .pedal__led {
    animation-delay: 3s;
  }
}
@keyframes led-seq {
  0%,
  30% {
    background: #ff2d1f;
    box-shadow: 0 0 0 2px rgb(0 0 0 / 0.35), 0 0 12px 2px #ff2d1f;
  }
  31%,
  100% {
    background: #5a1a14;
    box-shadow: 0 0 0 2px rgb(0 0 0 / 0.35);
  }
}
.pedal__plate {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  width: 100%;
  padding: 0.55rem 0.4rem 0.5rem;
  border-radius: 6px;
  background: rgb(0 0 0 / 0.82);
  color: #f4ead6;
  text-align: center;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
}
.pedal__num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--face);
}
.pedal__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(0.85rem, 0.7rem + 0.8vw, 1.15rem);
  line-height: 1;
}
.pedal__switch {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3f0ea, #8d8780 55%, #3d3833);
  box-shadow: 0 0 0 4px rgb(0 0 0 / 0.55), 0 4px 6px rgb(0 0 0 / 0.5);
}
.pedal__title {
  font-size: 1.05rem;
}
.pedal__text {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}
@media (max-width: 899px) {
  .pedal__title {
    display: none;
  }
}

/* ─── Set-lists ────────────────────────────────────────────────────────── */
.versus {
  border-bottom: 1px solid var(--line);
}
.setlists {
  display: grid;
  gap: 2.2rem;
  padding-top: 0.8rem;
}
@media (min-width: 640px) {
  .setlists {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}
.setlist {
  --paper: #f3e8cf;
  position: relative;
  padding: 2.1rem 1.2rem 1.3rem;
  background:
    repeating-linear-gradient(to bottom, transparent 0 2.05rem, rgb(40 30 20 / 0.12) 2.05rem 2.1rem),
    var(--paper);
  color: #1d1813;
  border-radius: 3px;
  box-shadow: 0 22px 40px -18px rgb(0 0 0 / 0.7), 0 2px 4px rgb(0 0 0 / 0.25);
  transform: rotate(-1.5deg);
}
.setlist--new {
  transform: rotate(1.2deg);
  --paper: #f7efdc;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .setlist {
    --paper: #fffaf0;
  }
}
.setlist::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.setlist__tape {
  position: absolute !important;
  top: -0.7rem;
  left: 50%;
  translate: -50% 0;
  --tilt: -4deg !important;
  font-size: 0.72rem !important;
}
.setlist ol {
  list-style: none;
  padding: 0;
  counter-reset: song;
  display: grid;
}
.setlist li {
  counter-increment: song;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  align-items: baseline;
  min-height: 2.1rem;
  padding: 0.4rem 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.86rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.setlist li::before {
  content: counter(song);
  font-size: 0.75rem;
  color: #8a4b1d;
}
/* Le trait de marqueur barre chaque ligne, même quand le titre passe à la ligne
   (le <s> est un élément de grille, donc un bloc : un dégradé de fond ne barrerait que le milieu du bloc). */
.setlist s {
  color: #6d6153;
  text-decoration: line-through;
  text-decoration-color: rgb(232 64 26 / 0.88);
  text-decoration-thickness: 0.24em;
  text-decoration-skip-ink: none;
}
.setlist--old li {
  line-height: 1.3;
}
.setlist--new li::before {
  color: #12703d;
}

/* Siège « Toi ? » (exemple de place à prendre) : il respire doucement, sans lueur. */
@keyframes you {
  50% {
    border-color: var(--text);
  }
}

/* ─── Places à prendre ─────────────────────────────────────────────────── */
.seats {
  border-bottom: 1px solid var(--line);
}
@media (max-width: 899px) {
  .seats .split > :first-child {
    order: 2;
  }
}
.court {
  position: relative;
  display: grid;
  gap: 0.9rem;
  max-width: 30rem;
  margin-inline: auto;
  padding: 2rem 1.25rem 1.3rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 2px solid var(--line-strong);
  box-shadow: var(--shadow-3);
}
.court__tape {
  position: absolute !important;
  top: -0.75rem;
  right: 1.2rem;
  --tilt: 3deg !important;
}
.court__band {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2rem);
  line-height: 0.95;
}
.court__meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -0.5rem;
}
/* le « terrain » : ligne médiane et rond central, comme un match à compléter */
.court__seats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding-block: 1rem;
  border-block: 1.5px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, transparent 2.1rem, var(--line) 2.15rem, var(--line) 2.25rem, transparent 2.3rem),
    linear-gradient(to right, transparent calc(50% - 0.75px), var(--line) calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px));
}
.court__seat {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
}
.court__seat small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}
.court__seat .avatar {
  --size: clamp(3rem, 2.4rem + 2.5vw, 4rem);
}
.court__plus {
  display: grid;
  place-items: center;
  width: clamp(3rem, 2.4rem + 2.5vw, 4rem);
  height: clamp(3rem, 2.4rem + 2.5vw, 4rem);
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 1.6rem;
  background: var(--accent-soft);
}
.court__seat--open small {
  color: var(--accent-text);
}
@media (prefers-reduced-motion: no-preference) {
  .court__plus,
  .mini .seat--you {
    animation: you 2.4s ease-in-out infinite;
  }
}
.court__track {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.25rem 0.7rem;
  padding: 0.5rem 0.8rem 0.5rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.court__track small {
  grid-column: 2;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: -0.2rem;
}
.court__play {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}
.court__bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 1.5rem;
}
.court__bars i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 2px;
  background: var(--line-strong);
}
.court__bars i:nth-child(-n + 11) {
  background: var(--accent);
}
.steps-mini {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.steps-mini li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0 0.6rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.steps-mini li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent-text);
}
.steps-mini strong {
  display: block;
  color: var(--text);
}

/* ─── En direct ────────────────────────────────────────────────────────── */
.live__grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .live__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .live__share {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1100px) {
  .live__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
  }
  .live__share {
    grid-column: auto;
  }
}
.counter {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 0.25), transparent),
    #0c0a09;
  border: 1px solid #2c2520;
  color: #f4ead6;
  box-shadow: inset 0 2px 10px rgb(0 0 0 / 0.6), var(--shadow-1);
}
.counter__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 2rem + 2.5vw, 3.6rem);
  line-height: 1;
  color: var(--vu);
  text-shadow: 0 0 18px rgb(255 207 51 / 0.45);
  font-variant-numeric: tabular-nums;
}
.counter__label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #c9bda7;
}
.live__share {
  display: grid;
  gap: 0.8rem;
  align-content: center;
  justify-items: start;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.cities {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.cities__title {
  margin-bottom: 1rem;
}
.cities__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px) {
  .cities__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .cities__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.cities__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1.1;
  transition: border-color 0.15s, background 0.15s;
}
.cities__list a:hover {
  border-color: var(--text);
  background: var(--accent-soft);
}
/* 320 px : « STRASBOURG » + sa plaque ne tiennent pas dans une demi-colonne ; la plaque passe dessous. */
@media (max-width: 374px) {
  .cities__list a {
    flex-wrap: wrap;
    row-gap: 0.3rem;
  }
}
/* Numéro de département, en petite plaque (pour ne pas le confondre avec un nombre d'inscrits) */
.cities__list small {
  flex: none;
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.cities__list a.cities__all {
  align-items: center;
  border-style: solid;
  color: var(--accent-text);
}

/* ─── Réservoir ────────────────────────────────────────────────────────── */
.reservoir {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.reservoir__inner {
  display: grid;
  gap: 0.75rem 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .reservoir__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }
}
.reservoir__big {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.6rem + 6vw, 5.5rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-strong);
  letter-spacing: -0.02em;
}
.reservoir__title {
  font-size: var(--fs-xl);
  margin-bottom: 0.5rem;
}

/* ─── Dernier appel ────────────────────────────────────────────────────── */
.final-cta {
  background:
    radial-gradient(circle at 85% 0%, rgb(255 255 255 / 0.2), transparent 50%),
    var(--accent);
  color: var(--on-accent);
  padding-block: clamp(3.5rem, 2.5rem + 6vw, 7rem);
  overflow: hidden;
}
.final-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.final-cta h2 {
  font-size: clamp(2.6rem, 1rem + 9vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.final-cta__lead {
  font-size: clamp(1.1rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 750;
  max-width: 30rem;
}
/* Sur l'aplat orange : un gaffer noir et un gaffer crème, les mêmes dans les deux thèmes. */
.final-cta .btn--tape {
  --btn-bg: #14110f;
  --btn-fg: #f4ead6;
  --btn-hover-bg: #2a231c;
  --btn-press-bg: #2a231c;
}
.final-cta .btn--secondary {
  --btn-bg: #f4ead6;
  --btn-fg: #14110f;
  --btn-hover-bg: #fffaf0;
  --btn-press-bg: #e8dcc2;
}
.final-cta__bonus {
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 34rem;
}
.final-cta__bonus a {
  color: var(--on-accent);
}
.final-cta__link {
  color: var(--on-accent);
  font-weight: 800;
}
.final-cta__fine {
  font-size: 0.9rem;
  font-weight: 650;
  max-width: 34rem;
  opacity: 0.85;
}
.final-cta :focus-visible {
  outline-color: #14110f;
}
.live__grid--empty {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 40rem;
}
.live__grid--empty .live__share {
  grid-column: auto;
}
