/* =====================================================
   United for Racing — Mockup styles
   Brand book ref: brand_assets/charte-graphique.md
   ===================================================== */

/* ============ TOKENS ============ */

:root {
  /* Backgrounds */
  --bg-base: #0a0a0a;
  --bg-elevated: #141414;
  --bg-floating: #1a1a1a;

  /* Accents */
  --red-accent: #cc2222;
  --red-vivid: #e05555;
  --red-glow: rgba(204, 34, 34, 0.18);

  /* Text */
  --text-primary: #f5f5f5;
  --text-secondary: #aaaaaa;
  --text-tertiary: #666666;
  --text-faint: #3a3a3a;

  /* Borders */
  --border-base: #1e1e1e;
  --border-subtle: #1a1a1a;
  --border-hover: #333333;

  /* Categories */
  --cat-course-bg: #1f0000;
  --cat-course-fg: #e05555;
  --cat-coulisses-bg: #001020;
  --cat-coulisses-fg: #5599dd;
  --cat-partenaires-bg: #001a0a;
  --cat-partenaires-fg: #55cc77;

  /* States */
  --state-live: #cc2222;
  --state-done: #3a8a4a;
  --state-upcoming: #666666;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;

  /* Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --container: 1480px;

  /* Header */
  --header-h: 72px;
}

/* ============ RESET & BASE ============ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Atmospheric noise overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 200;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

ul, ol { list-style: none; padding: 0; margin: 0; }

p { margin: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; }

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

:focus-visible {
  outline: 2px solid var(--red-vivid);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============ TYPE PRIMITIVES ============ */

.t-display {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.t-h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.t-h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.t-eyebrow {
  font-family: "JetBrains Mono", "Menlo", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-vivid);
}

.t-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--red-accent);
  margin-right: 0.85rem;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.t-meta {
  font-family: "JetBrains Mono", "Menlo", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.t-lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============ LAYOUT ============ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(4rem, 10vh, 8rem) 0;
  position: relative;
}

.section--tight {
  padding: clamp(2.5rem, 6vh, 5rem) 0;
}

.section__head {
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section__head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.section__link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 220ms var(--ease-spring), transform 220ms var(--ease-spring);
}

.section__link:hover {
  color: var(--red-vivid);
  transform: translateX(3px);
}

/* ============ HEADER / NAV ============ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10, 10, 10, 0.65);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 280ms var(--ease-spring), border-color 280ms var(--ease-spring);
}

.header.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: var(--border-base);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: opacity 200ms var(--ease-spring);
}

.header__brand:hover { opacity: 0.78; }

.header__logo {
  height: 26px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color 220ms var(--ease-spring);
}

/* Ligne rouge sous le label, animée au hover (wipe gauche → droite) */
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--red-accent);
  transition: width 280ms var(--ease-spring);
}

.header__nav a:hover {
  color: var(--text-primary);
}

.header__nav a:hover::after {
  width: 100%;
}

/* Page active : ligne pleine instantanée (pas d'animation), texte blanc */
.header__nav a.is-active {
  color: var(--text-primary);
}

.header__nav a.is-active::after {
  width: 100%;
  transition: none;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  transition: transform 200ms var(--ease-spring), background 200ms var(--ease-spring), border-color 200ms var(--ease-spring), color 200ms var(--ease-spring);
}

.header__cta--live {
  background: var(--red-accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(204, 34, 34, 0.3), 0 6px 20px rgba(204, 34, 34, 0.18);
}

.header__cta--live .header__cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  animation: pulse 1.6s ease-in-out infinite;
}

.header__cta--live:hover {
  background: #d83333;
  transform: translateY(-1px);
}

.header__cta--replay {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.header__cta--replay .header__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red-accent);
  color: #fff;
}

.header__cta--replay .header__cta-icon svg { width: 8px; height: 8px; margin-left: 1px; }

.header__cta--replay:hover {
  border-color: var(--red-accent);
  color: var(--red-vivid);
  transform: translateY(-1px);
}

.header__admin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out), background 150ms var(--ease-out);
}

.header__admin:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.03);
}

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-sm);
  position: relative;
}

.header__burger span,
.header__burger span::before,
.header__burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  position: relative;
  transition: transform 280ms var(--ease-spring), opacity 200ms;
}

.header__burger span::before,
.header__burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.header__burger span::before { top: -6px; }
.header__burger span::after { top: 6px; }

.header__burger.is-open span { background: transparent; }
.header__burger.is-open span::before { transform: translateY(6px) rotate(45deg); }
.header__burger.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .header__nav,
  .header__cta { display: none; }
  .header__burger { display: inline-flex; }

  .header__nav.is-mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem var(--gutter);
    gap: 1.5rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-base);
    height: calc(100vh - var(--header-h));
    animation: slide-down 320ms var(--ease-spring);
  }

  .header__nav.is-mobile-open a {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    text-transform: none;
    font-weight: 700;
  }
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ============ HERO (homepage) ============ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: var(--header-h) 0 clamp(3rem, 8vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform 80ms linear;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.5) 30%, rgba(10, 10, 10, 0.2) 60%, rgba(10, 10, 10, 0.7) 100%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(204, 34, 34, 0.15), transparent 70%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 980px;
}

.hero__season {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__season::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--red-accent);
}

.hero__title {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
}

.hero__title em {
  font-style: normal;
  display: block;
  color: var(--red-accent);
}

.hero__title--logo {
  display: block;
  margin: -0.5rem 0 0.5rem;
}

.hero__logo-mark {
  display: block;
  width: 100%;
  max-width: clamp(280px, 65vw, 820px);
  height: auto;
}

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

.hero__sub {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 56ch;
}

.hero__sub strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: scroll-cue 500ms var(--ease-spring) 1.4s forwards;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--red-accent), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  to { opacity: 1; }
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ PAGE HERO (sub-pages) ============ */

.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vh, 5rem)) 0 clamp(2rem, 5vh, 4rem);
  position: relative;
  border-bottom: 1px solid var(--border-base);
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 880px;
}

.page-hero__title {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
}

.page-hero__title em {
  font-style: normal;
  color: var(--red-accent);
}

.page-hero__sub {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
}

.page-hero--feature {
  overflow: hidden;
}

.page-hero--feature .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  max-width: none;
}

@media (max-width: 880px) {
  .page-hero--feature .page-hero__inner {
    grid-template-columns: 1fr;
  }
}

.page-hero__media {
  position: relative;
  min-height: clamp(280px, 42vw, 520px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 50px rgba(0, 0, 0, 0.42);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms var(--ease-spring);
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.05) 55%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.22) 0%, transparent 35%, transparent 100%);
  pointer-events: none;
}

.page-hero__media:hover img {
  transform: scale(1.03);
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* ============ NEWS HERO — editorial kinetic ============ */

.news-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--header-h);
  background: var(--bg-base);
}

.news-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.news-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.14);
  opacity: 0;
  filter: saturate(0.88) contrast(1.08);
  animation: news-hero-img 1700ms var(--ease-spring) 120ms forwards;
}

@keyframes news-hero-img {
  to { transform: scale(1); opacity: 1; }
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.22) 28%, rgba(10, 10, 10, 0.55) 60%, rgba(10, 10, 10, 0.96) 100%),
    radial-gradient(ellipse 80% 60% at 6% 75%, rgba(204, 34, 34, 0.32), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(0, 0, 0, 0.55), transparent 70%);
}

.news-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(1.25rem, 2.5vh, 2rem);
  gap: clamp(2rem, 6vh, 4rem);
}

.news-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  animation: news-hero-rise 700ms var(--ease-spring) 160ms forwards;
}

.news-hero__pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red-accent);
  border-radius: 50%;
  margin-right: 0.7rem;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(204, 34, 34, 0.7);
  animation: news-hero-pulse 2.2s var(--ease-out) infinite;
}

@keyframes news-hero-pulse {
  0% { box-shadow: 0 0 0 0 rgba(204, 34, 34, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(204, 34, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 34, 34, 0); }
}

.news-hero__count {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0;
}

.news-hero__count strong {
  color: var(--text-primary);
  font-weight: 500;
}

.news-hero__title {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(3.4rem, 12.5vw, 11.5rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  margin: 0;
  align-self: center;
  text-transform: lowercase;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.news-hero__word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.04em 0.04em 0.06em;
  margin: 0 0.06em 0 0;
}

.news-hero__word > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  animation: news-hero-word 950ms var(--ease-spring) forwards;
}

.news-hero__word:nth-child(1) > span { animation-delay: 280ms; }
.news-hero__word:nth-child(2) > span { animation-delay: 380ms; }
.news-hero__word:nth-child(3) > span { animation-delay: 480ms; }
.news-hero__word:nth-child(4) > span { animation-delay: 580ms; }

.news-hero__word--accent > span {
  color: var(--red-accent);
  font-style: italic;
}

@keyframes news-hero-word {
  to { transform: translate3d(0, 0, 0); }
}

.news-hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  animation: news-hero-rise 800ms var(--ease-spring) 780ms forwards;
}

@keyframes news-hero-rise {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.news-hero__lead {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 38ch;
  border-left: 2px solid var(--red-accent);
  padding-left: 1.1rem;
}

.news-hero__lead p {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.news-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  align-self: flex-start;
  padding: 0.9rem 1.35rem;
  background: var(--red-accent);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px rgba(204, 34, 34, 0.35), 0 18px 40px rgba(204, 34, 34, 0.22);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms var(--ease-spring), background 220ms var(--ease-spring);
}

.news-hero__cta:hover {
  transform: translateY(-2px);
  background: #d83333;
  box-shadow: 0 0 0 1px rgba(204, 34, 34, 0.5), 0 22px 50px rgba(204, 34, 34, 0.32);
}

.news-hero__cta svg { transition: transform 220ms var(--ease-spring); }
.news-hero__cta:hover svg { transform: translateY(2px); }

.news-hero__ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.news-hero__ticker-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 1.4rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  animation: news-hero-marquee 42s linear infinite;
  will-change: transform;
}

.news-hero__ticker-track > span {
  display: inline-block;
  flex-shrink: 0;
}

.news-hero__ticker-track > span:nth-child(odd) { color: var(--text-primary); }
.news-hero__ticker-track > span.dot { color: var(--red-accent); }

@keyframes news-hero-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 880px) {
  .news-hero__bottom {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .news-hero__title {
    font-size: clamp(2.8rem, 15vw, 5.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-hero__media img,
  .news-hero__word > span,
  .news-hero__bottom,
  .news-hero__top { animation: none; opacity: 1; transform: none; }
  .news-hero__ticker-track { animation: none; }
  .news-hero__pulse { animation: none; }
}

/* ============ PAGE HERO — immersive variant ============ */

.page-hero--immersive {
  position: relative;
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + clamp(2rem, 6vh, 4rem)) 0 clamp(2.5rem, 7vh, 5rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border-base);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  filter: saturate(0.9) contrast(1.06);
  animation: page-hero-zoom 24s ease-in-out infinite alternate;
}

@keyframes page-hero-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.16); }
}

.page-hero--immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.22) 30%, rgba(10, 10, 10, 0.7) 70%, rgba(10, 10, 10, 0.96) 100%),
    radial-gradient(ellipse 70% 50% at 12% 92%, rgba(204, 34, 34, 0.22), transparent 65%);
}

.page-hero--immersive .page-hero__inner {
  display: block;
  max-width: none;
}

.page-hero--immersive .page-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 880px;
}

.page-hero--immersive .page-hero__title {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.page-hero--immersive .page-hero__sub {
  max-width: 56ch;
  color: rgba(245, 245, 245, 0.82);
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__bg img { animation: none; transform: scale(1.04); }
}

.article-hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 4rem));
}

.article-hero .page-hero__inner {
  align-items: center;
}

.article-hero .page-hero__content {
  padding-bottom: 0.5rem;
}

.article-hero .page-hero__title {
  max-width: 11ch;
}

.article-hero .page-hero__sub {
  max-width: 52ch;
}

.article-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.6rem;
}

.article-hero .page-hero__media {
  min-height: clamp(320px, 50vw, 640px);
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease-spring), background 200ms var(--ease-spring), color 200ms var(--ease-spring), border-color 200ms var(--ease-spring), box-shadow 200ms var(--ease-spring);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red-accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(204, 34, 34, 0.3), 0 8px 24px rgba(204, 34, 34, 0.2);
}

.btn--primary:hover {
  background: #d83333;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(204, 34, 34, 0.4), 0 12px 32px rgba(204, 34, 34, 0.3);
}

.btn--primary:active { transform: translateY(0) scale(0.98); }

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn--ghost:hover {
  background: var(--bg-floating);
  border-color: var(--text-tertiary);
  transform: translateY(-1px);
}

.btn__arrow {
  display: inline-block;
  transition: transform 220ms var(--ease-spring);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============ BADGES ============ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-sm);
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--course { background: var(--cat-course-bg); color: var(--cat-course-fg); }
.badge--coulisses { background: var(--cat-coulisses-bg); color: var(--cat-coulisses-fg); }
.badge--partenaires { background: var(--cat-partenaires-bg); color: var(--cat-partenaires-fg); }

.badge--live { background: rgba(204, 34, 34, 0.15); color: var(--state-live); gap: 0.4rem; }
.badge--live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--state-live);
  box-shadow: 0 0 8px var(--state-live);
  animation: pulse 1.6s ease-in-out infinite;
}
.badge--done { background: rgba(58, 138, 74, 0.15); color: var(--state-done); }
.badge--upcoming { background: rgba(102, 102, 102, 0.15); color: var(--state-upcoming); }

/* ============ COUNTDOWN ============ */

.countdown {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
  border-block: 1px solid var(--border-base);
  position: relative;
  overflow: hidden;
}

.countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(204, 34, 34, 0.08), transparent 70%);
  pointer-events: none;
}

.countdown__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 880px) {
  .countdown__inner { grid-template-columns: 1fr; }
}

.countdown__info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.countdown__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-vivid);
}

.countdown__circuit {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.countdown__name {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

.countdown__sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.countdown__timer {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}

.countdown__unit + .countdown__unit::before {
  content: ":";
  position: absolute;
  left: calc(-1 * clamp(1rem, 2.5vw, 2rem) / 2);
  top: 50%;
  transform: translate(-50%, -65%);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-faint);
}

.countdown__num {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  min-width: 1.4em;
  text-align: center;
}

.countdown__unit-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ============ FLAG (CSS-only) ============ */

.flag {
  display: inline-block;
  width: 36px;
  height: 24px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 0 0 0.5px rgba(255, 255, 255, 0.1);
  background-size: cover;
  flex-shrink: 0;
}

.flag--at { background: linear-gradient(180deg, #ed2939 0%, #ed2939 33%, #ffffff 33%, #ffffff 66%, #ed2939 66%, #ed2939 100%); }
.flag--be { background: linear-gradient(90deg, #000 0% 33%, #fdda24 33% 66%, #ef3340 66%); }
.flag--de { background: linear-gradient(180deg, #000 0% 33%, #dd0000 33% 66%, #ffce00 66%); }
.flag--nl { background: linear-gradient(180deg, #ae1c28 0% 33%, #fff 33% 66%, #21468b 66%); }
.flag--it { background: linear-gradient(90deg, #008c45 0% 33%, #fff 33% 66%, #cd212a 66%); }
.flag--pt { background: linear-gradient(90deg, #006600 0% 40%, #ff0000 40%); }
.flag--cz {
  background: linear-gradient(180deg, #fff 0% 50%, #d7141a 50% 100%);
  position: relative;
  overflow: hidden;
}
.flag--cz::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #11457e;
  clip-path: polygon(0 0, 0 100%, 50% 50%);
}
.flag--fr { background: linear-gradient(90deg, #002395 0% 33%, #fff 33% 66%, #ed2939 66%); }

/* ============ BENTO NEWS ============ */

.bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: clamp(420px, 70vh, 640px);
}

@media (max-width: 720px) {
  .bento {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.bento__col-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}

@media (max-width: 720px) {
  .bento__col-right { grid-template-rows: auto auto; }
}

.bento__cell {
  position: relative;
  background: var(--bg-elevated);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  min-height: 240px;
  transition: transform 380ms var(--ease-spring);
}

.bento__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 0;
}

.bento__cell-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transition: transform 700ms var(--ease-spring);
}

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

.bento__cell-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bento__cell--hero .bento__cell-title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

.bento__cell--hero .bento__cell-title::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red-accent);
  margin-bottom: 0.85rem;
}

.bento__cell:not(.bento__cell--hero) .bento__cell-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

.bento__cell-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bento__cell-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

/* ============ TIMELINE ROUNDS ============ */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline__row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  padding: 1.25rem clamp(1rem, 2.5vw, 1.75rem);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: transform 240ms var(--ease-spring), border-color 240ms var(--ease-spring), background 240ms var(--ease-spring);
  text-decoration: none;
  color: inherit;
}

.timeline__row:hover {
  transform: translateX(4px);
  border-color: var(--border-hover);
  background: var(--bg-floating);
}

@media (max-width: 720px) {
  .timeline__row {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }
  .timeline__row .timeline__sessions { display: none; }
}

.timeline__circuit {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.timeline__name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: -0.01em;
  margin: 0;
}

.timeline__date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

.timeline__sessions {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.timeline__status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.position {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  padding: 0.45rem 0.7rem;
  background: var(--cat-course-bg);
  color: var(--cat-course-fg);
  border-radius: var(--radius-sm);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.position--neutral {
  background: rgba(102, 102, 102, 0.15);
  color: var(--text-secondary);
}

.points {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ============ BIO BLOCK ============ */

.bio {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 880px) {
  .bio { grid-template-columns: 1fr; }
}

.bio__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}

.bio__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 1.2s var(--ease-spring);
}

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

.bio__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.4), transparent 60%);
  pointer-events: none;
}

.bio__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bio__name {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}

.bio__name em {
  font-style: normal;
  color: var(--red-accent);
}

.bio__role {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.bio__text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============ STATS ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border-base);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 0.5rem;
}

.stat {
  background: var(--bg-base);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat__num {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat__num em {
  font-style: normal;
  color: var(--red-accent);
}

.stat__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ============ SPONSORS ============ */

.sponsors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sponsor {
  background: var(--bg-elevated);
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: background 280ms var(--ease-spring);
}

.sponsor:hover { background: var(--bg-floating); }

.sponsor__logo {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.2;
  transition: color 280ms var(--ease-spring), transform 280ms var(--ease-spring);
}

.sponsor:hover .sponsor__logo {
  color: var(--text-primary);
  transform: scale(1.04);
}

/* ============ ARTICLE LIST (Concept B) ============ */

.actu-list {
  display: flex;
  flex-direction: column;
}

.actu {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 2px solid var(--border-base);
  border-bottom: 0.5px solid var(--border-subtle);
  transition: border-left-color 240ms var(--ease-spring), background 240ms var(--ease-spring), padding-left 240ms var(--ease-spring);
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.actu:first-child {
  border-left-color: var(--red-accent);
}

.actu:not(:first-child):hover {
  border-left-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.015);
  padding-left: 1.75rem;
}

.actu:first-child:hover {
  background: rgba(204, 34, 34, 0.04);
  padding-left: 1.75rem;
}

.actu__thumb {
  width: 140px;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-elevated);
}

.actu__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.actu__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.actu__title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  color: var(--text-primary);
}

.actu__date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin: 0;
}

.actu__arrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  color: var(--text-tertiary);
  transition: transform 240ms var(--ease-spring), color 240ms var(--ease-spring);
}

.actu:hover .actu__arrow {
  transform: translateX(6px);
  color: var(--text-primary);
}

.actu:first-child:hover .actu__arrow { color: var(--red-vivid); }

@media (max-width: 540px) {
  .actu {
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    padding-left: 1rem;
  }
  .actu__thumb { width: 90px; }
  .actu__arrow { display: none; }
}

/* Filter tabs */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-base);
  padding-bottom: 0;
}

.tab {
  padding: 0.7rem 1.1rem;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 200ms var(--ease-spring), border-color 200ms var(--ease-spring), background 200ms var(--ease-spring);
}

.tab:hover { color: var(--text-primary); }

.tab.is-active {
  color: var(--red-vivid);
  border-bottom-color: var(--red-accent);
  background: linear-gradient(0deg, rgba(204, 34, 34, 0.06), transparent);
}

/* Load more */

.load-more {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* ============ CAREER TIMELINE ============ */

.career {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-base);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.career__row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-elevated);
  align-items: center;
  position: relative;
  transition: background 280ms var(--ease-spring);
}

.career__row:hover { background: var(--bg-floating); }

.career__row--highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red-accent);
}

@media (max-width: 540px) {
  .career__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
  }
}

.career__year {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
}

.career__row--highlight .career__year { color: var(--red-vivid); }

.career__series {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.career__team {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ============ SOCIAL ============ */

.social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-sm);
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: transform 220ms var(--ease-spring), border-color 220ms var(--ease-spring), color 220ms var(--ease-spring);
}

.social__link:hover {
  transform: translateY(-2px);
  border-color: var(--red-accent);
  color: var(--text-primary);
}

/* ============ FOOTER ============ */

.footer {
  margin-top: clamp(4rem, 10vh, 8rem);
  padding: clamp(3rem, 6vh, 5rem) 0 2rem;
  border-top: 1px solid var(--border-base);
  background: linear-gradient(180deg, var(--bg-base), rgba(20, 0, 0, 0.3));
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(204, 34, 34, 0.08), transparent 70%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}

.footer__brand img {
  height: 28px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 32ch;
}

.footer__col h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer__col a {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 200ms var(--ease-spring), transform 200ms var(--ease-spring);
  display: inline-block;
}

.footer__col a:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}

.footer__bottom {
  position: relative;
  border-top: 1px solid var(--border-base);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

/* ============ SCROLL REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-spring);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-spring);
}

.reveal--scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-spring);
}

.reveal--left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-spring);
}

.reveal--right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger helpers (use on direct children) */
.stagger > .reveal:nth-child(1) { --reveal-delay: 0ms; }
.stagger > .reveal:nth-child(2) { --reveal-delay: 80ms; }
.stagger > .reveal:nth-child(3) { --reveal-delay: 160ms; }
.stagger > .reveal:nth-child(4) { --reveal-delay: 240ms; }
.stagger > .reveal:nth-child(5) { --reveal-delay: 320ms; }
.stagger > .reveal:nth-child(6) { --reveal-delay: 400ms; }
.stagger > .reveal:nth-child(7) { --reveal-delay: 480ms; }
.stagger > .reveal:nth-child(8) { --reveal-delay: 560ms; }

/* Hero entry animation */

.hero__season,
.hero__title,
.hero__sub,
.hero__actions {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in 900ms var(--ease-spring) forwards;
}

.hero__season { animation-delay: 200ms; }
.hero__title { animation-delay: 350ms; }
.hero__sub { animation-delay: 600ms; }
.hero__actions { animation-delay: 800ms; }

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ ARTICLE DETAIL ============ */

.article-shell {
  display: grid;
  grid-template-columns: 1fr min(720px, 100%) 1fr;
  gap: 0;
}

.article-shell > * { grid-column: 2; }

.article-shell > .article__hero { grid-column: 1 / -1; }

.article__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: clamp(2rem, 5vh, 3.5rem);
  padding-bottom: 2.5rem;
  align-items: flex-start;
}

.article__title {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  color: var(--text-primary);
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.article__meta a {
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--ease-spring), border-color 200ms var(--ease-spring);
}

.article__meta a:hover {
  color: var(--red-vivid);
  border-bottom-color: var(--red-accent);
}

.article__hero {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  overflow: hidden;
  background: var(--bg-elevated);
  margin-bottom: 3rem;
}

.article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.article__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.6));
}

.article__body {
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
}

/* Block system */

.block {
  margin: 0 0 1.6rem;
}

.block--intro {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-primary);
  border-left: 2px solid var(--red-accent);
  padding-left: 1.25rem;
  margin: 0 0 2.25rem;
}

.block--paragraph {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.block--image {
  margin: 2.25rem 0;
}

.block__image {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
}

.block__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 800ms var(--ease-spring);
}

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

.block__caption {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  text-align: center;
  margin: 0.75rem 0 0;
}

.block--quote {
  border-left: 2px solid var(--red-accent);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: rgba(204, 34, 34, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2.25rem 0;
}

.block--quote p {
  margin: 0 0 0.5rem;
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text-primary);
}

.block--quote footer {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  font-style: normal;
  letter-spacing: 0.05em;
}

.block--video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  border: 1px solid var(--border-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  cursor: pointer;
  margin: 2.25rem 0;
  transition: transform 250ms var(--ease-spring), border-color 250ms var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.block--video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(204, 34, 34, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 280ms var(--ease-spring);
}

.block__video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.78) saturate(1.05);
  transition: transform 450ms var(--ease-spring), filter 280ms var(--ease-spring);
}

.block--video--has-thumb {
  background: #000;
}

.block--video--has-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 0;
  pointer-events: none;
}

.block--video--has-thumb:hover .block__video-thumb {
  transform: scale(1.03);
  filter: brightness(0.9) saturate(1.1);
}

.block--video--has-thumb .block__video-label {
  color: var(--text-primary);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.block--video:hover {
  transform: scale(1.005);
  border-color: var(--border-hover);
}

.block--video:hover::before { opacity: 1; }

.block__video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red-accent);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 0 8px rgba(204, 34, 34, 0.12), 0 12px 32px rgba(204, 34, 34, 0.25);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms var(--ease-spring);
  z-index: 1;
}

.block--video:hover .block__video-play {
  transform: scale(1.08);
  box-shadow: 0 0 0 12px rgba(204, 34, 34, 0.18), 0 16px 40px rgba(204, 34, 34, 0.35);
}

.block__video-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  z-index: 1;
}

/* Article footer (share + linked round) */

.article__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  border-block: 1px solid var(--border-base);
  margin-top: 2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.article__share-btns {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.article__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-base);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  transition: transform 200ms var(--ease-spring), border-color 200ms var(--ease-spring), color 200ms var(--ease-spring);
}

.article__share-btn:hover {
  transform: translateY(-2px);
  border-color: var(--red-accent);
  color: var(--text-primary);
}

.linked-round {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(204, 34, 34, 0.08), transparent 60%), var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform 240ms var(--ease-spring), border-color 240ms var(--ease-spring);
}

.linked-round:hover {
  transform: translateY(-2px);
  border-color: var(--red-accent);
}

.linked-round__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-vivid);
  margin-bottom: 0.4rem;
}

.linked-round__name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.linked-round__sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin: 0.2rem 0 0;
}

.linked-round__arrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.3rem;
  color: var(--text-tertiary);
  transition: transform 240ms var(--ease-spring), color 240ms var(--ease-spring);
}

.linked-round:hover .linked-round__arrow {
  transform: translateX(4px);
  color: var(--red-vivid);
}

@media (max-width: 540px) {
  .linked-round {
    grid-template-columns: auto 1fr;
    padding: 1.25rem 1.5rem;
  }
  .linked-round__arrow { display: none; }
}

/* ============ ROUND DETAIL ============ */

.round-header {
  position: relative;
  padding: calc(var(--header-h) + clamp(3rem, 8vh, 5rem)) 0 clamp(3rem, 6vh, 5rem);
  border-bottom: 1px solid var(--border-base);
  overflow: hidden;
  isolation: isolate;
}

.round-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(204, 34, 34, 0.12), transparent 60%);
}

.round-header__flag-wash {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: clamp(280px, 32vw, 480px);
  height: clamp(280px, 32vw, 480px);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  z-index: -1;
}

.round-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

@media (max-width: 720px) {
  .round-header__inner { grid-template-columns: 1fr; align-items: start; }
}

.round-header__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.round-header__champ {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-vivid);
}

.round-header__champ::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red-accent);
}

.round-header__title {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.round-header__title .flag {
  width: 56px;
  height: 38px;
  vertical-align: middle;
}

.round-header__dates {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--text-secondary);
  font-weight: 300;
}

.round-header__dates strong {
  color: var(--text-primary);
  font-weight: 500;
}

.round-header__status {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 720px) {
  .round-header__status { align-items: flex-start; text-align: left; }
}

.round-header__overall {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.round-header__overall .position {
  font-size: 1.1rem;
  padding: 0.55rem 0.85rem;
}

/* Sessions table */

.sessions-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-base);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.session-row {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background: var(--bg-elevated);
  transition: background 280ms var(--ease-spring);
}

.session-row:hover { background: var(--bg-floating); }

.session-row--done .session-row__time { color: var(--text-tertiary); }
.session-row--done .session-row__name { color: var(--text-secondary); }

.session-row__time {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.session-row__name {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
}

.session-row__result {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.session-row__result em {
  font-style: normal;
  color: var(--red-vivid);
  font-weight: 500;
}

@media (max-width: 540px) {
  .session-row { grid-template-columns: 1fr auto; }
  .session-row__result { display: none; }
}

/* Results table */

.results-table {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 1px;
  background: var(--border-base);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (max-width: 540px) {
  .results-table { grid-template-columns: 120px 1fr 1fr; }
}

.results-cell {
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.results-cell--label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.results-cell--head {
  background: var(--bg-floating);
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--red-vivid);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.results-cell--big {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.5rem;
}

.gallery__cell {
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 380ms var(--ease-spring);
  position: relative;
}

.gallery__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0);
  transition: background 280ms var(--ease-spring);
}

.gallery__cell:hover {
  transform: scale(1.015);
}

.gallery__cell:hover::after {
  background: rgba(10, 10, 10, 0.2);
}

/* ============ LIVE PAGE ============ */

.live-shell {
  padding: calc(var(--header-h) + clamp(2rem, 5vh, 4rem)) 0;
}

.live-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-player iframe,
.live-player__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.live-player__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.live-player__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.live-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, rgba(204, 34, 34, 0.15), transparent 70%), var(--bg-elevated);
  border: 1px solid rgba(204, 34, 34, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

@media (max-width: 540px) {
  .live-banner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.live-banner__pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  background: var(--red-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-banner__pulse::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}

.live-banner__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: -0.015em;
  margin: 0;
}

.live-banner__sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.live-empty {
  text-align: center;
  padding: clamp(2.5rem, 6vh, 4rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.live-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-tertiary);
}

/* ============ SPONSORS PAGE ============ */

.sponsor-tier {
  margin-top: 3rem;
}

.sponsor-tier:first-child { margin-top: 0; }

.sponsor-tier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-base);
  flex-wrap: wrap;
}

.sponsor-tier__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.sponsor-tier__count {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 260px);
  gap: 10px;
}

@media (max-width: 860px) {
  .sponsor-grid { grid-template-columns: repeat(auto-fill, 200px); }
}

@media (max-width: 600px) {
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}

.sponsor-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 340ms var(--ease-spring), transform 340ms var(--ease-spring), box-shadow 340ms var(--ease-spring);
}

.sponsor-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60px;
  background: radial-gradient(ellipse, var(--red-accent) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease-out), bottom 400ms var(--ease-spring);
}

.sponsor-card:hover {
  border-color: rgba(204, 34, 34, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 4px 12px rgba(204,34,34,0.08);
}

.sponsor-card:hover::after {
  opacity: 0.18;
  bottom: -10px;
}

.sponsor-card__logo-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-base);
}

.sponsor-card__logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.sponsor-card__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
  transition: filter 400ms var(--ease-out), transform 500ms var(--ease-spring);
}

.sponsor-card:hover .sponsor-card__logo-img {
  filter: brightness(1);
  transform: scale(1.04);
}

.sponsor-card__logo-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  text-align: center;
  padding: 1.5rem;
  transition: color 340ms;
}

.sponsor-card:hover .sponsor-card__logo-text {
  color: var(--text-primary);
}

.sponsor-card__footer {
  border-top: 1px solid var(--border-base);
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 340ms;
}

.sponsor-card:hover .sponsor-card__footer {
  border-color: rgba(204, 34, 34, 0.15);
}

.sponsor-card__name {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  transition: color 220ms;
}

.sponsor-card:hover .sponsor-card__name {
  color: var(--text-tertiary);
}

.sponsor-card__arrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-faint);
  transition: transform 260ms var(--ease-spring), color 260ms;
}

.sponsor-card:hover .sponsor-card__arrow {
  transform: translate(2px, -2px);
  color: var(--red-vivid);
}

.sponsor-card--featured .sponsor-card__logo-wrap {
  background: linear-gradient(160deg, rgba(204,34,34,0.07) 0%, transparent 55%);
}

.sponsor-card--featured {
  border-color: rgba(204, 34, 34, 0.18);
}

@media (max-width: 600px) {
  .sponsor-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ============ CONTACT PAGE ============ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.form__label em {
  font-style: normal;
  color: var(--red-vivid);
  margin-left: 0.2rem;
}

.form__input,
.form__textarea,
.form__select {
  font: inherit;
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-base);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  transition: border-color 220ms var(--ease-spring), background 220ms var(--ease-spring);
  resize: none;
}

.form__textarea { min-height: 160px; line-height: 1.6; }

.form__input:hover,
.form__textarea:hover,
.form__select:hover {
  border-color: var(--border-hover);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--red-accent);
  background: rgba(204, 34, 34, 0.04);
}

.form__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
                    linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 14px) 50%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.form__submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form__legal {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-channel {
  padding: 1.5rem 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  border-left: 2px solid var(--red-accent);
}

.contact-channel__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-vivid);
  margin-bottom: 0.6rem;
}

.contact-channel__name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
}

.contact-channel__detail {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

.contact-channel__detail a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hover);
  transition: color 200ms var(--ease-spring), border-color 200ms var(--ease-spring);
}

.contact-channel__detail a:hover {
  color: var(--red-vivid);
  border-bottom-color: var(--red-accent);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal--scale,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
  }
  .hero__season,
  .hero__title,
  .hero__sub,
  .hero__actions {
    opacity: 1;
    transform: none;
  }
}


/* ============ PAGE: PILOTE (page-specific) ============ */
    /* Page-specific: pilot split hero */
    .pilot-hero {
      position: relative;
      min-height: calc(100vh - var(--header-h));
      min-height: calc(100svh - var(--header-h));
      padding-top: var(--header-h);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      isolation: isolate;
      overflow: hidden;
    }

    .pilot-hero__text {
      padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 4vw, 4rem);
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 1.5rem;
      max-width: 720px;
      margin-left: auto;
      width: 100%;
    }

    .pilot-hero__media {
      position: relative;
      overflow: hidden;
    }

    .pilot-hero__media img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 30%;
    }

    .pilot-hero__media::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 25%, rgba(10,10,10,0) 100%);
    }

    .pilot-hero__num {
      font-family: "Archivo", sans-serif;
      font-weight: 900;
      font-size: clamp(8rem, 20vw, 18rem);
      line-height: 0.85;
      letter-spacing: -0.06em;
      color: transparent;
      -webkit-text-stroke: 1.5px var(--text-faint);
      position: absolute;
      bottom: -0.1em;
      right: -0.04em;
      z-index: 1;
      pointer-events: none;
      user-select: none;
    }

    @media (max-width: 880px) {
      .pilot-hero { grid-template-columns: 1fr; min-height: auto; }
      .pilot-hero__media { aspect-ratio: 4 / 3; order: -1; }
      .pilot-hero__media::after { background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 50%); }
      .pilot-hero__text { max-width: none; padding-top: 2rem; }
      .pilot-hero__num { font-size: clamp(6rem, 30vw, 12rem); }
    }

    .pilot-hero__title {
      font-family: "Archivo", sans-serif;
      font-weight: 900;
      font-size: clamp(2.5rem, 7vw, 5.5rem);
      letter-spacing: -0.045em;
      line-height: 0.92;
      margin: 0;
    }

    .pilot-hero__title em {
      font-style: normal;
      color: var(--red-accent);
    }

    .pilot-hero__role {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      font-family: "JetBrains Mono", monospace;
      font-size: 0.78rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-tertiary);
    }

    .pilot-hero__role span:not(:last-child)::after {
      content: "·";
      margin-left: 1rem;
      color: var(--text-faint);
    }

    .pilot-hero__lead {
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(1.05rem, 1.4vw, 1.25rem);
      line-height: 1.6;
      color: var(--text-secondary);
      max-width: 56ch;
    }

    .pilot-bio {
      display: grid;
      grid-template-columns: 280px 1fr;
      gap: clamp(2rem, 5vw, 5rem);
    }

    @media (max-width: 720px) {
      .pilot-bio { grid-template-columns: 1fr; }
    }

    .pilot-bio__label {
      font-family: "JetBrains Mono", monospace;
      font-size: 0.78rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--red-vivid);
    }

    .pilot-bio__body p {
      font-family: "Inter", sans-serif;
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--text-secondary);
      margin: 0 0 1.5rem;
      max-width: 65ch;
    }

    .pilot-bio__body p:first-child {
      font-size: 1.2rem;
      color: var(--text-primary);
      font-weight: 500;
      border-left: 2px solid var(--red-accent);
      padding-left: 1rem;
    }

    .pilot-bio__body p:last-child { margin-bottom: 0; }

    /* ── Pilotes secondaires : même DA, séparateur + pas de padding header ── */

    .pilot-hero--secondary {
      padding-top: 0;
      min-height: 100vh;
      min-height: 100svh;
      border-top: 1px solid var(--border-subtle);
    }

    /* layout miroir : image à gauche, texte à droite */
    .pilot-hero--mirror .pilot-hero__media { order: -1; }

    .pilot-hero--mirror .pilot-hero__media::after {
      background: linear-gradient(270deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 25%, rgba(10,10,10,0) 100%);
    }

    .pilot-hero--mirror .pilot-hero__num {
      right: auto;
      left: -0.04em;
    }

    @media (max-width: 880px) {
      .pilot-hero--secondary { min-height: auto; }

      .pilot-hero--mirror .pilot-hero__media { order: -1; }

      .pilot-hero--mirror .pilot-hero__media::after {
        background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 50%);
      }

      .pilot-hero--mirror .pilot-hero__num { right: -0.04em; left: auto; }
    }

    /* ── Pages légales ─────────────────────────────────────────── */

    .legal-hero {
      padding: 120px 0 60px;
      border-bottom: 1px solid var(--border-subtle);
    }

    .legal-hero__inner { max-width: 720px; }

    .legal-label {
      display: inline-block;
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--red-accent);
      border: 1px solid rgba(204,34,34,0.3);
      padding: 3px 10px;
      border-radius: 2px;
      margin-bottom: 20px;
    }

    .legal-title {
      font-family: 'Archivo', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text-primary);
      margin: 0 0 12px;
    }

    .legal-subtitle {
      color: var(--text-secondary);
      font-size: 0.9rem;
      margin: 0;
    }

    .legal-body { padding: 60px 0 100px; }

    .legal-content {
      max-width: 720px;
      display: flex;
      flex-direction: column;
      gap: 48px;
    }

    .legal-block h2 {
      font-family: 'Archivo', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: var(--text-primary);
      border-left: 2px solid var(--red-accent);
      padding-left: 12px;
      margin: 0 0 16px;
    }

    .legal-block p {
      color: var(--text-secondary);
      font-size: 0.9rem;
      line-height: 1.8;
      margin: 0 0 12px;
    }

    .legal-block p:last-child { margin-bottom: 0; }

    .legal-block a { color: var(--red-accent); text-decoration: none; }
    .legal-block a:hover { text-decoration: underline; }

    .legal-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
    }

    .legal-table td {
      padding: 10px 12px;
      border-bottom: 1px solid var(--border-subtle);
      vertical-align: top;
      line-height: 1.6;
    }

    .legal-table td:first-child {
      color: var(--text-tertiary);
      white-space: nowrap;
      width: 200px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
    }

    .legal-table td:last-child { color: var(--text-secondary); }

    .legal-list {
      list-style: none;
      padding: 0;
      margin: 0 0 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .legal-list li {
      color: var(--text-secondary);
      font-size: 0.9rem;
      padding-left: 16px;
      position: relative;
    }

    .legal-list li::before {
      content: '—';
      position: absolute;
      left: 0;
      color: var(--red-accent);
      font-size: 0.8rem;
    }

    /* footer legal links */
    .footer__bottom a {
      color: inherit;
      text-decoration: none;
      transition: color 0.15s;
    }
    .footer__bottom a:hover { color: var(--text-primary); }
}

/* ============ COOKIE BANNER ============ */

/* ============ COOKIE OVERLAY ============ */

body.cookie-lock { overflow: hidden; }

.cookie-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-overlay--visible {
  display: flex;
  animation: cookieOverlayIn 0.22s ease both;
}

.cookie-overlay--out {
  animation: cookieOverlayOut 0.28s ease both;
}

@keyframes cookieOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cookieOverlayOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.cookie-modal {
  background: var(--bg-floating);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  animation: cookieModalIn 0.3s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.cookie-overlay--out .cookie-modal {
  animation: cookieModalOut 0.22s ease both;
}

@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cookieModalOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(8px) scale(0.97); }
}

.cookie-modal__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.cookie-modal__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}

.cookie-modal__text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.cookie-modal__link-wrap { margin: 0 0 1.5rem; }

.cookie-modal__link {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.cookie-modal__link:hover { opacity: 1; color: var(--text-primary); }

.cookie-modal__btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--red-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.cookie-modal__btn:hover  { background: var(--red-vivid); }
.cookie-modal__btn:active { transform: scale(0.98); }

@media (max-width: 440px) {
  .cookie-modal { padding: 1.5rem 1.25rem; }
}

/* ============ PAGE VOITURE ============ */

/* Hero */
.car-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 5rem;
}

.car-hero__bg {
  position: absolute;
  inset: 0;
}

.car-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
}

.car-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.15) 100%),
    linear-gradient(to right, rgba(10,10,10,0.6) 0%, transparent 60%);
}

.car-hero__num {
  position: absolute;
  right: -0.05em;
  bottom: -0.15em;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(14rem, 30vw, 28rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(204,34,34,0.18);
  pointer-events: none;
  user-select: none;
}

.car-hero__inner {
  position: relative;
  z-index: 1;
}

.car-hero__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0.5rem 0 1rem;
}

.car-hero__title em {
  color: var(--red-accent);
  font-style: normal;
}

.car-hero__sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.car-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Editorial */
.car-editorial__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

.car-editorial__label {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.25rem;
}

.car-editorial__line {
  width: 2px;
  height: 60px;
  background: var(--red-accent);
  opacity: 0.5;
}

.car-editorial__lead {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--red-accent);
  padding-left: 1.25rem;
}

.car-editorial__body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.car-editorial__body strong { color: var(--text-primary); }
.car-editorial__body em { color: var(--text-secondary); font-style: italic; }

/* Specs */
.car-specs-section {
  position: relative;
}

.car-specs-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(204,34,34,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-base);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.car-spec-card {
  background: var(--bg-elevated);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s var(--ease-spring);
}

.car-spec-card:hover {
  background: var(--bg-floating);
}

.car-spec-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 2rem;
}

.car-spec-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-accent);
}

.car-spec-card__main {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.car-spec-card__number {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--red-accent);
  align-self: center;
}

.car-spec-card__rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.car-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.car-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.car-spec-row span:first-child { color: var(--text-tertiary); }
.car-spec-row span:last-child  { color: var(--text-primary); font-weight: 500; }

/* Gallery */
.car-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr;
  gap: 4px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.car-gallery__main,
.car-gallery__thumb {
  position: relative;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}

/* Main image: garde le ratio 16/9.
   Width main ≈ 2/3 du total → height main ≈ 0.375 × total width.
   Width aside ≈ 1/3 du total, deux thumbs partageant cette hauteur (avec gap).
   Aspect ratio attendu d'un thumb ≈ (1/3) / (0.1875) ≈ 16/9. */
.car-gallery__main { aspect-ratio: 16/9; }

.car-gallery__aside {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  min-height: 0;
  min-width: 0;
}

.car-gallery__thumb {
  /* aspect-ratio servira en fallback ; le grid stretch contrôle la hauteur réelle */
  aspect-ratio: 16/9;
}

.car-gallery__main img,
.car-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s var(--ease-spring);
}

.car-gallery__main:hover img,
.car-gallery__thumb:hover img {
  transform: scale(1.04);
}

.car-gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.5) 0%, transparent 50%);
  pointer-events: none;
}

/* Partners */
.car-partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-base);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.car-partner-card {
  background: var(--bg-elevated);
  padding: 2rem 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.2s var(--ease-spring), transform 0.2s var(--ease-spring);
}

.car-partner-card:hover {
  background: var(--bg-floating);
  transform: translateY(-2px);
}

.car-partner-card__role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin: 0;
}

.car-partner-card__name {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.car-partner-card__detail {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* ── Intro split (orbit + texte) ── */
.car-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.car-intro__orbit {
  aspect-ratio: unset !important;
  min-height: 620px;
}

.car-intro__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4.5rem;
  background: var(--bg-surface);
  gap: 1.5rem;
}

.car-intro__heading {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0.5rem 0 0;
}

.car-intro__heading em { color: var(--red-accent); font-style: normal; }

.car-intro__lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

.car-intro__body {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .car-intro {
    grid-template-columns: 1fr;
  }
  .car-intro__orbit {
    min-height: 55vw;
  }
  .car-intro__text {
    padding: 3rem 1.5rem;
  }
}

/* ── Orbit ── */
.car-orbit {
  padding: 5rem 0 0;
}

.car-orbit__label {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1.5rem;
}

.car-orbit__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.car-orbit__title em { color: var(--red-accent); font-style: normal; }

.car-orbit__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  background: #000;
}

.car-orbit__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-orbit__slide.is-active { opacity: 1; }

.car-orbit__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
}

/* Pan animations — déclenchées sur la slide active */
@keyframes pan-left  { from { transform: scale(1.12) translateX(4%);  } to { transform: scale(1.05) translateX(-4%); } }
@keyframes pan-right { from { transform: scale(1.12) translateX(-4%); } to { transform: scale(1.05) translateX(4%);  } }
@keyframes zoom-in   { from { transform: scale(1.0)  translateY(2%);  } to { transform: scale(1.12) translateY(-1%); } }
@keyframes pan-diag  { from { transform: scale(1.12) translate(3%, 2%); } to { transform: scale(1.05) translate(-3%, -2%); } }

.car-orbit__slide[style*="pan-left"].is-active  img { animation: pan-left  6s linear forwards; }
.car-orbit__slide[style*="pan-right"].is-active img { animation: pan-right 6s linear forwards; }
.car-orbit__slide[style*="zoom-in"].is-active   img { animation: zoom-in  6s linear forwards; }
.car-orbit__slide[style*="pan-diag"].is-active  img { animation: pan-diag  6s linear forwards; }

.car-orbit__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(10,10,10,0.7) 0%, transparent 40%),
    linear-gradient(to right, rgba(10,10,10,0.3) 0%, transparent 30%),
    linear-gradient(to left,  rgba(10,10,10,0.3) 0%, transparent 30%);
  pointer-events: none;
  z-index: 2;
}

.car-orbit__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.car-orbit__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.car-orbit__dot.is-active {
  background: var(--red-accent);
  transform: scale(1.4);
}

.car-orbit__counter {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  z-index: 3;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .car-orbit__stage { aspect-ratio: 4/3; }
}

/* Responsive */
@media (max-width: 900px) {
  .car-editorial__grid { grid-template-columns: 1fr; gap: 2rem; }
  .car-editorial__label { flex-direction: row; align-items: center; }
  .car-editorial__line { width: 40px; height: 2px; }
  .car-specs-grid { grid-template-columns: 1fr 1fr; }
  .car-spec-card--wide { grid-column: span 2; grid-template-columns: auto 1fr; }
  .car-spec-card__number { display: none; }
  .car-partners__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .car-hero__num { font-size: 50vw; }
  .car-specs-grid { grid-template-columns: 1fr; }
  .car-spec-card--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .car-gallery { grid-template-columns: 1fr; }
  .car-gallery__aside { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   GALERIE — page publique
   ═══════════════════════════════════════════════════════════ */

/* ── Hero page galerie ── */
.page-hero--galerie .page-hero__bg {
  background: radial-gradient(ellipse at 30% 60%, rgba(190,10,10,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%),
              var(--bg-base);
}

/* ── Filtres ── */
.gallery-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-filter {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Archivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-filter:hover {
  border-color: var(--red-accent);
  color: var(--text-primary);
}

.gallery-filter.is-active {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #fff;
}

/* ── Grille ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── Card ── */
.gallery-card {
  all: unset;
  cursor: pointer;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--red-accent);
}

.gallery-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.gallery-card__thumb img,
.gallery-card__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  background: #000;
}

.gallery-card:hover .gallery-card__thumb img,
.gallery-card:hover .gallery-card__thumb video {
  transform: scale(1.06);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  pointer-events: none;
}

.gallery-card:hover .gallery-card__overlay {
  background: rgba(0,0,0,0.25);
}

.gallery-card__zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  color: #fff;
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}

.gallery-card:hover .gallery-card__zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Vidéo : bouton play */
.gallery-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.gallery-card__play svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.gallery-card:hover .gallery-card__play svg {
  transform: scale(1.2);
}

.gallery-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card__caption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

/* ── Empty state ── */
.gallery-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── Lightbox ── */
.gallery-lightbox,
.gallery-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.gallery-lightbox.is-open,
.gallery-video-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: zoom-out;
}

.gallery-lightbox__inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.gallery-lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

.gallery-lightbox__caption {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin: 0;
}

.gallery-lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}

.gallery-lightbox__close:hover {
  background: var(--red-accent);
  border-color: var(--red-accent);
}

/* Modal vidéo */
.gallery-video-modal__inner {
  position: relative;
  z-index: 1;
  width: min(860px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-video-modal__frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

.gallery-video-modal__frame iframe,
.gallery-video-modal__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============ ADAC ABOUT (Programme) ============ */
.adac-about {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.adac-about__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(204,34,34,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(204,34,34,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.adac-about > .container { position: relative; }

.adac-about__lede {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.adac-about__lede p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 78ch;
  margin: 0;
}

.adac-about__lede p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.adac-about__link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  white-space: nowrap;
  transition: border-color 220ms var(--ease-spring), color 220ms var(--ease-spring), transform 220ms var(--ease-spring), background 220ms var(--ease-spring);
}

.adac-about__link:hover,
.adac-about__link:focus-visible {
  color: var(--red-vivid);
  border-color: var(--red-accent);
  background: var(--bg-floating);
  transform: translateY(-1px);
}

.adac-about__link span {
  transition: transform 220ms var(--ease-spring);
}

.adac-about__link:hover span { transform: translateX(4px); }

@media (max-width: 720px) {
  .adac-about__lede {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .adac-about__link { align-self: start; }
}

/* ============ LIVE HERO (page /live, vidéo principale + info) ============ */
.live-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}

.live-hero__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.live-hero__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-hero__info {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.live-hero__kind {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-vivid);
  margin: 0;
}

.live-hero__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}

.live-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.live-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-hover);
  align-self: flex-start;
  padding-bottom: 0.3rem;
  transition: color 200ms var(--ease-spring), border-color 200ms var(--ease-spring), transform 200ms var(--ease-spring);
}

.live-hero__link:hover {
  color: var(--red-vivid);
  border-color: var(--red-accent);
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .live-hero {
    grid-template-columns: 1fr;
  }
  .live-hero__info {
    padding: clamp(1rem, 4vw, 1.5rem);
  }
}

/* ============ EMPTY STATE (live sans vidéo, etc.) ============ */
.empty-state {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.empty-state::before,
.empty-state::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.empty-state::before {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(204,34,34,0.10) 0%, transparent 70%);
}

.empty-state::after {
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 22px, rgba(255,255,255,0.012) 22px, rgba(255,255,255,0.012) 44px);
  opacity: 0.6;
}

.empty-state > * { position: relative; z-index: 1; }

.empty-state__icon {
  width: clamp(56px, 8vw, 80px);
  height: clamp(56px, 8vw, 80px);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-vivid);
  background: rgba(204,34,34,0.06);
  border: 1px solid rgba(204,34,34,0.2);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(204,34,34,0.15);
}

.empty-state__icon svg { width: 55%; height: 55%; }

.empty-state__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-vivid);
  margin: 0 0 1rem;
}

.empty-state__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.empty-state__title em {
  font-style: normal;
  color: var(--red-vivid);
}

.empty-state__body {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 48ch;
  margin: 0 auto 1.75rem;
}

.empty-state__body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.empty-state__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  background: var(--red-accent);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px rgba(204,34,34,0.3), 0 12px 30px -10px rgba(204,34,34,0.4);
  transition: transform 200ms var(--ease-spring), background 200ms var(--ease-spring);
}

.empty-state__cta:hover {
  background: #d83333;
  transform: translateY(-2px);
}

.empty-state__cta span {
  transition: transform 200ms var(--ease-spring);
}

.empty-state__cta:hover span { transform: translateX(4px); }

/* ============ VIDEO TIMELINE (chronologie d'un week-end) ============ */
.video-timeline {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vh, 3rem);
  margin-top: clamp(2rem, 4vh, 3rem);
}

.video-timeline__group {
  position: relative;
  padding-left: clamp(2.5rem, 5vw, 4rem);
}

.video-timeline__group::before {
  content: "";
  position: absolute;
  left: clamp(1rem, 2vw, 1.5rem);
  top: 14px;
  bottom: -2rem;
  width: 1px;
  background: linear-gradient(180deg, var(--red-accent) 0%, var(--border-base) 100%);
  opacity: 0.5;
}

.video-timeline__group:last-child::before {
  background: linear-gradient(180deg, var(--red-accent) 0%, transparent 100%);
}

.video-timeline__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.video-timeline__step {
  position: absolute;
  left: calc(-1 * clamp(2.5rem, 5vw, 4rem));
  top: 0;
  width: clamp(2rem, 4vw, 3rem);
  height: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--red-accent);
  color: var(--red-vivid);
  font-family: "Archivo", "JetBrains Mono", monospace;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 50%;
  z-index: 1;
}

/* Variante sans texte : grosse pastille pleine */
.video-timeline__step--dot {
  border: none;
  width: clamp(1rem, 1.6vw, 1.25rem);
  height: clamp(1rem, 1.6vw, 1.25rem);
  background: var(--red-accent);
  box-shadow: 0 0 0 4px var(--bg-base), 0 0 12px rgba(204,34,34,0.4);
  top: 8px;
  left: calc(-1 * clamp(2.5rem, 5vw, 4rem) + (clamp(2rem, 4vw, 3rem) - clamp(1rem, 1.6vw, 1.25rem)) / 2);
}

.video-timeline__label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.video-timeline__count {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 3px 8px;
  border: 1px solid var(--border-base);
  border-radius: 999px;
}

.video-timeline__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.video-card--timeline .video-card__meta {
  padding: 0.85rem 1rem 1rem;
}

@media (max-width: 640px) {
  .video-timeline__group { padding-left: 2.5rem; }
  .video-timeline__group::before { left: 0.85rem; }
  .video-timeline__step {
    left: -2.5rem;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.65rem;
  }
}

/* ============ ARCHIVES (anciens rounds avec vidéos) ============ */
.archive-section { background: linear-gradient(180deg, var(--bg-base), var(--bg-elevated) 50%, var(--bg-base)); }

.archive-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.archive-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 220ms var(--ease-spring), border-color 220ms var(--ease-spring), box-shadow 220ms var(--ease-spring);
}

.archive-card:hover {
  transform: translateY(-3px);
  border-color: var(--red-accent);
  box-shadow: 0 18px 36px -18px rgba(204,34,34,0.22);
}

.archive-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0e0e0e;
  overflow: hidden;
}

.archive-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms var(--ease-spring), opacity 220ms var(--ease-out);
  opacity: 0.85;
}
.archive-card:hover .archive-card__thumb img { transform: scale(1.04); opacity: 1; }

.archive-card__count {
  position: absolute;
  top: 10px; right: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 3px 7px;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

.archive-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.1rem 1.2rem;
}

.archive-card__kind {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-accent);
}

.archive-card__title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.archive-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* ============ VIDEO GRID / FRAME (Live & Round) ============ */
.video-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(204, 34, 34, 0.04);
  margin-bottom: 2rem;
}

.video-frame--hero {
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  pointer-events: none;
}

.video-frame__kind {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-vivid);
}

.video-frame__label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 220ms var(--ease-spring), border-color 220ms var(--ease-spring), box-shadow 220ms var(--ease-spring);
}

.video-card:hover {
  transform: translateY(-3px);
  border-color: var(--red-accent);
  box-shadow: 0 20px 40px -20px rgba(204, 34, 34, 0.25);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0e0e0e;
  overflow: hidden;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-spring), opacity 220ms var(--ease-out);
  opacity: 0.92;
}

.video-card:hover .video-card__thumb img {
  transform: scale(1.04);
  opacity: 1;
}

.video-card__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 34, 34, 0.92);
  color: #fff;
  border-radius: 50%;
  font-size: 0.95rem;
  padding-left: 3px;
  transition: transform 220ms var(--ease-spring), background 220ms var(--ease-spring);
  box-shadow: 0 8px 24px rgba(204, 34, 34, 0.35);
}

.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.05);
  background: var(--red-vivid);
}

.video-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1rem 1.1rem;
}

.video-card__kind {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-accent);
}

.video-card__label {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text-primary);
}

/* ============ ADMIN: video row editor ============ */
.videos-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.video-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-sm);
}

.video-row__thumb {
  width: 80px;
  height: 45px;
  border-radius: 4px;
  background: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-tertiary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

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

.video-row__fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.video-row__line {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 6px;
}

.video-row__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 720px) {
  .video-row {
    grid-template-columns: 60px 1fr;
  }
  .video-row__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .video-row__line {
    grid-template-columns: 1fr;
  }
}
