@font-face {
  font-family: "Bebas Neue";
  src: url("bebas-neue.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --black: #0f0c08;
  --charcoal: #1a1510;
  --paper: #e8e0d0;
  --paper-dim: rgba(232,224,208,.74);
  --line: rgba(232,224,208,.18);
  --brown: #8b4a2b;
  --brown-text: #c0704a; /* brun éclairci pour le petit texte (contraste) */
  --brand: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --glitch: 3px 0 rgba(255,0,80,.35), -3px 0 rgba(0,220,255,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ---------- HEADER ---------- */
.header {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 6%;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(15,12,8,.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.logo {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--brand);
  font-size: 38px;
  line-height: .9;
  letter-spacing: 3px;
  text-shadow: var(--glitch);
}
.logo span {
  display: block;
  margin-top: 4px;
  font: 8px/1.2 monospace;
  letter-spacing: 2px;
  text-shadow: none;
  color: var(--paper-dim);
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: opacity .2s ease;
}
.nav a:hover { opacity: .6; }
.nav a.accent { color: var(--brown-text); }
.nav a[aria-current] { opacity: 1; box-shadow: 0 2px 0 var(--brown-text); padding-bottom: 4px; }
.search { font-size: 24px !important; padding-left: 25px; border-left: 1px solid rgba(255,255,255,.5); }

/* ---------- HERO ---------- */
.hero {
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 130px 6% 70px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(8,8,8,.97) 0%, rgba(8,8,8,.72) 40%, rgba(8,8,8,.22) 75%);
  background-color: var(--charcoal, #1a1510);
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,12,8,.85), transparent 45%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.play {
  margin-bottom: 28px;
  color: rgba(232,224,208,.45);
  font: 20px/1 monospace;
  letter-spacing: 3px;
  animation: blink 1.6s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.brand {
  margin: 0;
  font-family: var(--brand);
  font-size: clamp(84px, 13vw, 182px);
  line-height: .82;
  letter-spacing: 6px;
  color: var(--paper);
  text-shadow: 5px 0 rgba(255,0,80,.35), -5px 0 rgba(0,220,255,.35);
}
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(232,224,208,.82);
}
.genres {
  margin: 26px 0 32px;
  font: 15px/1.5 monospace;
  letter-spacing: 2px;
}
.button {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 45px;
  padding: 18px 24px;
  border: 1px solid rgba(232,224,208,.8);
  color: var(--paper);
  text-decoration: none;
  font: 14px/1 monospace;
  letter-spacing: 1px;
  transition: background-color .25s ease, color .25s ease;
}
.button:hover { background: var(--paper); color: var(--black); }
.button.small { gap: 30px; padding: 14px 18px; font-size: 12px; margin-top: 30px; }
.now {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  color: var(--paper-dim);
  text-decoration: none;
  font: 12px/1.4 monospace;
  letter-spacing: 1px;
  transition: color .2s;
}
.now:hover { color: var(--paper); }
.now-label {
  padding: 4px 8px;
  background: var(--brown);
  color: var(--paper);
  letter-spacing: 2px;
}
/* titre du film / de la série en grand dans le hero */
.now:has(.now-title) {
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-template-areas: "label meta" "title title";
  justify-content: start;
  gap: 12px 14px;
  max-width: 900px;
}
.now:has(.now-title) .now-label { grid-area: label; justify-self: start; }
.now-meta { grid-area: meta; align-self: center; }
.now-title {
  grid-area: title;
  display: block;
  font: 900 clamp(30px, 4.5vw, 63px)/.98 Arial, Helvetica, sans-serif;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 3px 0 rgba(255,0,80,.18), -3px 0 rgba(0,220,255,.18);
}
.now-title::after { content: " →"; font-weight: 400; color: var(--brown-text, #c0704a); }
.now:hover .now-title::after { color: var(--paper); }
.timestamp {
  position: absolute;
  right: 6%;
  bottom: 45px;
  z-index: 2;
  font: 18px/1.3 monospace;
  color: rgba(232,224,208,.75);
  text-shadow: 2px 0 rgba(255,0,80,.25), -2px 0 rgba(0,220,255,.25);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 4px);
  opacity: .5;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 90px 6%;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--black), var(--charcoal));
}
.section.dark { background: var(--black); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.eyebrow { margin: 0; color: var(--brown-text); font: 13px/1 monospace; letter-spacing: 3px; }
.section h2, .panel h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 3.6vw, 52px);
  letter-spacing: -1.5px;
  line-height: 1;
  text-transform: uppercase;
}
.counter, .link {
  font: 12px/1 monospace;
  letter-spacing: 2px;
  color: var(--paper-dim);
  text-decoration: none;
}
.link:hover { color: var(--paper); }

/* ---------- CASSETTES (cartes) ---------- */
.tape {
  display: block;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(232,224,208,.02);
  transition: border-color .2s, transform .2s;
}
.tape:hover { border-color: rgba(232,224,208,.6); transform: translateY(-3px); }
.tape-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--charcoal);
}
.tape-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.05) sepia(.12);
  transition: filter .3s, transform .4s;
}
.tape:hover .tape-img img { filter: none; transform: scale(1.03); }
.tape-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0, rgba(0,0,0,.12) 1px, transparent 1px, transparent 3px);
}
.rec {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  font: 11px/1 monospace;
  letter-spacing: 2px;
  color: var(--paper);
  text-shadow: 1px 0 rgba(255,0,80,.5), -1px 0 rgba(0,220,255,.5);
  opacity: 0;
  transition: opacity .2s;
}
.tape:hover .rec { opacity: 1; }
.tape-info { padding: 16px 16px 18px; }
.tape-num { font: 11px/1 monospace; letter-spacing: 2px; color: var(--brown-text); }
.tape h4 { margin: 10px 0 6px; font-size: 16px; line-height: 1.25; }
.tape h4 .vo { display: block; margin-top: 3px; font-weight: 400; font-size: 13px; color: var(--paper-dim); font-style: italic; }
.tape p { margin: 0; font: 12px/1.5 monospace; color: var(--paper-dim); }

.tape.soon { border-style: dashed; }
.tape.soon .tape-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(232,224,208,.035) 0 10px, transparent 10px 20px),
    var(--charcoal);
}
.blank { text-align: center; font: 13px/1.6 monospace; letter-spacing: 3px; color: rgba(232,224,208,.4); }
.blank small { font-size: 10px; letter-spacing: 2px; }
.tape.soon h4 { color: var(--paper-dim); font-weight: 400; font-style: italic; }
.tape.soon:hover { transform: none; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* les cartes hors écran gardent leur décalage d'apparition (26 px) : la boîte l'absorbe au lieu de créer une barre verticale */
  padding: 8px 6px 26px;
  margin: -8px -6px -14px;
  scroll-padding-inline: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,224,208,.35) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: rgba(232,224,208,.35); border-radius: 3px; }
.rail::-webkit-scrollbar-track { background: transparent; }
.rail .tape { scroll-snap-align: start; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.grid.three { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ---------- VIDÉOCLUB ---------- */
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(380px, 100%);
  padding: 12px 16px;
  border: 1px solid var(--line);
  font: 18px/1 monospace;
  color: var(--paper-dim);
}
.search-box input {
  flex: 1;
  background: none;
  border: 0;
  outline: 0;
  color: var(--paper);
  font: 13px/1.4 monospace;
  letter-spacing: 1px;
}
.search-box:focus-within { border-color: var(--paper); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.tab {
  padding: 10px 16px;
  background: none;
  border: 1px solid var(--line);
  color: var(--paper-dim);
  font: 12px/1 monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.tab:hover { color: var(--paper); border-color: rgba(232,224,208,.5); }
.tab.active { background: var(--paper); color: var(--black); border-color: var(--paper); }
.group { margin-bottom: 70px; }
.group:last-child { margin-bottom: 0; }
.group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.group-head h3 { margin: 0; font-size: clamp(22px, 3vw, 32px); letter-spacing: -1px; }
.group-head span { font: 11px/1 monospace; letter-spacing: 2px; color: var(--paper-dim); }
.empty { font: 14px/1.6 monospace; color: var(--paper-dim); }

/* ---------- PODCAST / BOUTIQUE ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.panel {
  padding: 90px 6%;
  color: var(--paper);
  text-decoration: none;
  background: var(--charcoal);
  transition: background .25s;
}
.panel + .panel { border-left: 1px solid var(--line); }
.panel p:not(.eyebrow) { max-width: 460px; color: var(--paper-dim); line-height: 1.7; margin-top: 18px; }
.panel:hover { background: #221b14; }
.panel:hover .button { background: var(--paper); color: var(--black); }
.accent-panel { background: linear-gradient(135deg, rgba(139,74,43,.28), var(--charcoal) 70%); }

/* ---------- MANIFESTE ---------- */
.manifesto p:not(.eyebrow) { max-width: 680px; color: var(--paper-dim); line-height: 1.8; font-size: 17px; }
.manifesto .lead { color: var(--paper); font: 20px/1.5 monospace; letter-spacing: 1px; margin-top: 24px; }
.signature { font-family: monospace !important; font-size: 14px !important; letter-spacing: 2px; color: var(--brown-text) !important; margin-top: 40px; }

/* ---------- FOOTER ---------- */
.footer {
  min-height: 90px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  font: 11px/1 monospace;
  letter-spacing: 1px;
}
.foot-logo { color: var(--paper); text-decoration: none; font: 900 16px Arial, sans-serif; letter-spacing: 2px; }
.foot-nav { display: flex; gap: 20px; }
.foot-nav a { color: var(--paper-dim); text-decoration: none; text-transform: uppercase; }
.foot-nav a:hover { color: var(--paper); }

.to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(15,12,8,.9);
  color: var(--paper);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 20;
}
.to-top.visible { opacity: 1; pointer-events: auto; }


/* ---------- C'EST QUOI SOMEDAY ---------- */
.about-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--charcoal);
}
.about-item { display: flex; gap: 18px; padding: 34px 6% 34px 6%; }
.about-item + .about-item { border-left: 1px solid var(--line); padding-left: 34px; }
.about-item span { font: 13px/1 monospace; letter-spacing: 3px; color: var(--brown-text); padding-top: 3px; }
.about-item p { margin: 0; color: var(--paper-dim); font-size: 14px; line-height: 1.6; }
.about-item strong { display: block; margin-bottom: 6px; color: var(--paper); font-size: 16px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- SAISONS (accueil) ---------- */
.seasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.season {
  display: flex; flex-direction: column;
  color: var(--paper); text-decoration: none;
  border: 1px solid var(--line); background: rgba(232,224,208,.02);
  transition: border-color .2s, transform .2s;
}
.season:hover { border-color: rgba(232,224,208,.6); transform: translateY(-3px); }
.season-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--charcoal); position: relative; }
.season-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(25%) sepia(.12) contrast(1.05); transition: filter .3s, transform .4s; }
.season:hover .season-img img { filter: none; transform: scale(1.03); }
/* affiche portrait : entière, sur fond flou */
.season-img.poster::before { content: ""; position: absolute; inset: -20px; background: var(--poster) center / cover; filter: blur(18px) brightness(.55); }
.season-img.poster img { position: relative; object-fit: contain; }
.season-img::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0, rgba(0,0,0,.12) 1px, transparent 1px, transparent 3px); }
.season-info { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.season-kind { font: 11px/1 monospace; letter-spacing: 2px; color: var(--brown-text); }
.season h3 { margin: 10px 0 8px; font-size: 22px; text-transform: uppercase; letter-spacing: -.5px; }
.season p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--paper-dim); flex: 1; }
.season-progress { height: 3px; background: var(--line); overflow: hidden; }
.season-progress span { display: block; height: 100%; background: var(--brown-text); }
.season-count { margin-top: 8px; font: 11px/1 monospace; letter-spacing: 2px; color: var(--paper-dim); }
.season.teaser { border-style: dashed; }
.season-blank {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: repeating-linear-gradient(45deg, rgba(232,224,208,.035) 0 10px, transparent 10px 20px), var(--charcoal);
  font: 15px/1 monospace; letter-spacing: 4px; color: rgba(232,224,208,.55);
}
.season-blank small { font-size: 10px; letter-spacing: 2px; color: rgba(232,224,208,.4); }
.season.teaser:hover { transform: none; }
.center { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- QUI FAIT QUOI ---------- */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 820px; margin-top: 40px; border: 1px solid var(--line); }
.who > div { padding: 22px 24px; }
.who > div + div { border-left: 1px solid var(--line); }
.who p { margin: 10px 0 0 !important; font-size: 15px !important; }
.who a { color: var(--brown-text); text-underline-offset: 3px; }
.who-brand { font-family: var(--brand); font-size: 32px; letter-spacing: 3px; color: var(--paper); text-shadow: var(--glitch); }
.who-prod { font: 700 16px/1 Arial, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: var(--paper); line-height: 32px; }

/* ---------- PIED DE PAGE ---------- */
.foot-id { display: flex; flex-direction: column; gap: 8px; }
.foot-logo { font-family: var(--brand) !important; font-size: 26px !important; font-weight: 400 !important; text-shadow: var(--glitch); }
.signature-prod { margin: 0; font: 11px/1.6 monospace; letter-spacing: .5px; color: var(--paper-dim); }
.signature-prod a { color: var(--paper); text-underline-offset: 3px; }
.foot-nav { flex-wrap: wrap; }

/* ---------- VIDÉOCLUB ---------- */
.page-hero { padding: 150px 6% 50px; background: linear-gradient(180deg, var(--charcoal), var(--black)); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 12px 0 0; font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; letter-spacing: -1.5px; }
.vc { padding-top: 50px; }
.vc-tools { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 50px; }
.vc-tools .tabs { margin-bottom: 0; }
.group, .season { scroll-margin-top: 100px; }
.upcoming { margin-top: 22px; border: 1px dashed var(--line); padding: 18px 20px; background: repeating-linear-gradient(45deg, rgba(232,224,208,.02) 0 10px, transparent 10px 20px); }
.upcoming.only { margin-top: 0; }
.upcoming-label { margin: 0 0 12px; font: 11px/1 monospace; letter-spacing: 2px; color: var(--paper-dim); }
.upcoming ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.upcoming li { display: grid; grid-template-columns: 58px 1fr; column-gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(232,224,208,.08); break-inside: avoid; }
.upcoming .soon-title { font-size: 14px; color: var(--paper); font-style: italic; }
.upcoming .soon-title .vo { margin-left: 6px; font-size: 12px; color: var(--paper-dim); }
.upcoming .soon-meta { grid-column: 2; font: 11px/1.5 monospace; color: var(--paper-dim); }

/* ---------- ACCESSIBILITÉ ---------- */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 1px solid var(--paper); outline-offset: 3px; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 14px; background: var(--paper); color: var(--black);
  font: 12px monospace; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 1000px) {
  .seasons { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { gap: 20px; }
  .nav .opt { display: none; }
  .about-strip { grid-template-columns: 1fr; }
  .about-item + .about-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 6%; }
  .who { grid-template-columns: 1fr; }
  .who > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .upcoming ul { columns: 1; }
  .duo { grid-template-columns: 1fr; }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .header { height: auto; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 18px 8px; }
  .logo { font-size: 28px; letter-spacing: 2px; text-align: center; }
  .logo span, .search, .nav-sep { display: none; }
  .nav { gap: 0; justify-content: space-between; }
  .nav a { font-size: 10px; letter-spacing: 1px; }
  .hero { padding-top: 120px; }
  .brand { font-size: 80px; letter-spacing: 3px; }
  .seasons { grid-template-columns: 1fr; }
  .page-hero { padding: 110px 25px 36px; }
  .hero { min-height: 100vh; padding: 110px 25px 50px; background-position: 65% center; }
  .play { margin-bottom: 18px; font-size: 13px; }
  .hero h1 { font-size: 23px; letter-spacing: -.5px; }
  .hero-lead { font-size: 15px; }
  .genres { font-size: 11px; line-height: 1.8; }
  .timestamp { right: 25px; bottom: 25px; font-size: 12px; }
  .now { font-size: 11px; }
  .section, .panel { padding: 70px 25px; }
  .rail { grid-auto-columns: 78%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tape-info { padding: 12px; }
  .tape h4 { font-size: 14px; }
  .footer { padding: 30px 25px; align-items: flex-start; flex-direction: column; }
}

/* saison à venir seule sur sa ligne : bandeau pleine largeur */
@media (min-width: 701px) {
  .seasons > .season.teaser:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
  .seasons > .season.teaser:last-child:nth-child(3n+1) .season-blank { flex: 0 0 33%; aspect-ratio: auto; min-height: 150px; }
  .seasons > .season.teaser:last-child:nth-child(3n+1) .season-info { justify-content: center; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .seasons > .season.teaser:last-child:nth-child(2n+1) { grid-column: 1 / -1; flex-direction: row; }
  .seasons > .season.teaser:last-child:nth-child(2n+1) .season-blank { flex: 0 0 40%; aspect-ratio: auto; min-height: 150px; }
}

/* ===== v6 — ergonomie mobile & accessibilité ===== */
/* les ancres (#films, #q…) ne se cachent plus sous l'en-tête fixe */
html { scroll-padding-top: 96px; }
/* focus clavier bien visible (2px, couleur de la marque) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
summary:focus-visible, video:focus-visible, audio:focus-visible {
  outline: 2px solid #c0704a; outline-offset: 3px;
}
/* zone de clic du menu élargie sans changer l'apparence */
.nav a, .header .nav a { position: relative; }
.nav a::after, .header .nav a::after { content: ""; position: absolute; inset: -16px 0; }
/* « Séries TV » reste accessible partout, y compris sur mobile */
.nav .opt, .header .nav .opt { display: inline; }
@media (max-width: 700px) {
  .nav a, .header .nav a { font-size: 11px; letter-spacing: .5px; white-space: nowrap; }
  .nav, .header .nav { justify-content: space-between; }
}
@media (max-width: 360px) {
  .nav a, .header .nav a { font-size: 10px; letter-spacing: 0; }
}

/* ---------- NOUVELLES CASSETTES : FILM / SÉRIE TV ----------
   Repéré automatiquement par l'adresse de la page :
   les épisodes « series-… » sont des séries, tout le reste des films. */
#nouveau .tape .tape-img::before {
  content: "▮ FILM";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 8px 4px;
  font: 10px/1 monospace;
  letter-spacing: 2px;
  color: var(--paper);
  background: var(--brown);
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
}
#nouveau .tape[href^="series-"] .tape-img::before {
  content: "◉ SÉRIE TV";
  color: var(--black);
  background: var(--paper);
}
/* une série se regarde sur un écran de télé : coins arrondis et bord bombé */
#nouveau .tape[href^="series-"] .tape-img {
  margin: 10px 10px 0;
  border-radius: 14px / 18px;
  box-shadow: inset 0 0 0 1px rgba(232,224,208,.12);
}
#nouveau .tape[href^="series-"] .tape-img img { border-radius: 14px / 18px; }
#nouveau .tape[href^="series-"] .tape-img::after {
  border-radius: 14px / 18px;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.45) 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0, rgba(0,0,0,.12) 1px, transparent 1px, transparent 3px);
}
#nouveau .tape[href^="series-"] .tape-num { color: var(--paper); }

/* ===== AMÉLIORATIONS 2026-10-25 ===== */
/* 4. jaquettes verticales : cadre 2:3, image entière, sans déformation */
.tape-img.poster { aspect-ratio: 2 / 3; background: #000; }
.tape-img.poster img { object-fit: contain; filter: none; }
.grid .tape:has(.tape-img.poster) { align-self: start; }
.grid.three:has(.tape-img.poster) { grid-template-columns: repeat(auto-fill, minmax(220px, 280px)); }
/* 5. informations secondaires plus lisibles */
.tape-num, .season-kind, .season-count, .group-head span { font-size: 13px; }
.tape h4 .vo { font-size: 14px; color: rgba(232,224,208,.78); }
.tape p { font-size: 14px; line-height: 1.55; color: rgba(232,224,208,.8); }
.season-info p { font-size: 15px; line-height: 1.6; }
.upcoming-label { font-size: 12px; }
.upcoming .soon-meta { font-size: 13px; }
.upcoming .soon-title .vo { font-size: 13px; }
.signature-prod { font-size: 12px; color: rgba(232,224,208,.74); }
.hero-lead { color: rgba(232,224,208,.88); }
@media (min-width: 701px) { .hero { padding-bottom: 96px; } }
@media (max-width: 700px) {
  .genres { font-size: 12px; }
  .now { font-size: 12px; }
  .hero { padding-bottom: 76px; }
  .tape h4 { font-size: 15px; }
  .tape p { font-size: 13px; }
  .tape-num { font-size: 12px; }
  .grid.three:has(.tape-img.poster) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
