/* ============================================================
   CinéFR — Feuille de style complète (v3)
   Palette cinéma : fond sombre + or/ambre
   ============================================================ */

/* ---- TOKENS ---- */
:root, [data-theme="dark"] {
  --color-bg:             #0d0c0e;
  --color-surface:        #141318;
  --color-surface-2:      #1a1820;
  --color-surface-offset: #201e28;
  --color-divider:        #2a2733;
  --color-border:         oklch(1 0 0 / 0.10);
  --color-text:           #e8e6f0;
  --color-text-muted:     #9994ae;
  --color-text-faint:     #5c5870;
  --color-primary:        #f5c842;
  --color-primary-hover:  #ffd966;
  --color-primary-active: #e6b320;
  --color-secondary:      #e05c5c;
  --color-success:        #4ade80;
  --color-warning-badge:  #f59e0b;
  --color-danger-badge:   #ef4444;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --transition: 180ms cubic-bezier(0.16,1,0.3,1);
  --shadow-card: 0 4px 16px oklch(0 0 0 / 0.4);
  --shadow-md:   0 4px 12px oklch(0 0 0 / 0.3);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem;
  --space-5:1.25rem; --space-6:1.5rem; --space-8:2rem; --space-10:2.5rem;
  --space-12:3rem; --space-16:4rem;
  --content-default: 1200px;
}

[data-theme="light"] {
  --color-bg:             #f9f8f4;
  --color-surface:        #ffffff;
  --color-surface-2:      #f4f2ee;
  --color-surface-offset: #edeae4;
  --color-divider:        #ddd9d2;
  --color-border:         oklch(0 0 0 / 0.10);
  --color-text:           #1a1818;
  --color-text-muted:     #4a4540;    /* renforcé vs #6b6560 */
  --color-text-faint:     #7a7570;
  --color-primary:        #b08a00;    /* or foncé pour fond clair */
  --color-primary-hover:  #c49a00;
  --color-secondary:      #b91c1c;
  --color-success:        #15803d;
  --color-warning-badge:  #92680a;
  --color-danger-badge:   #b91c1c;
  --shadow-card: 0 4px 16px oklch(0 0 0 / 0.08);
  --shadow-md:   0 4px 12px oklch(0 0 0 / 0.06);
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.skip-link { position:absolute; top:-4rem; left:1rem; background:var(--color-primary); color:#000; padding:.5rem 1rem; border-radius:var(--radius-md); transition:top .2s; }
.skip-link:focus { top:1rem; }
:focus-visible { outline:2px solid var(--color-primary); outline-offset:3px; border-radius:var(--radius-sm); }

/* ---- HEADER ---- */
.site-header { position:sticky; top:0; z-index:100; background:color-mix(in oklab,var(--color-bg) 88%,transparent); backdrop-filter:blur(16px); border-bottom:1px solid var(--color-border); }
.header-inner { max-width:var(--content-default); margin:0 auto; padding:0 var(--space-4); display:flex; align-items:center; gap:var(--space-4); height:4rem; }
.site-logo { display:flex; align-items:center; gap:var(--space-2); flex-shrink:0; }
.logo-text { font-family:var(--font-display); font-size:var(--text-lg); letter-spacing:-.02em; }
.logo-text strong { color:var(--color-primary); }
.main-nav { display:flex; gap:var(--space-2); margin-left:auto; }
.nav-link { padding:var(--space-2) var(--space-3); border-radius:var(--radius-md); font-size:var(--text-sm); color:var(--color-text-muted); transition:color var(--transition), background var(--transition); }
.nav-link:hover, .nav-link.active { color:var(--color-text); background:var(--color-surface-offset); }
.search-form { display:flex; align-items:center; background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-full); overflow:hidden; }
.search-form input { border:none; background:transparent; padding:var(--space-2) var(--space-3); font-size:var(--text-sm); color:var(--color-text); outline:none; width:200px; }
.search-form input::placeholder { color:var(--color-text-muted); }
.search-form button { background:none; border:none; padding:var(--space-2) var(--space-3); color:var(--color-text-muted); cursor:pointer; display:flex; align-items:center; }
.theme-toggle { background:none; border:1px solid var(--color-border); border-radius:var(--radius-md); padding:var(--space-2); color:var(--color-text-muted); cursor:pointer; display:flex; transition:color var(--transition); }
.theme-toggle:hover { color:var(--color-primary); }
.nav-burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:var(--space-2); }
.nav-burger span { display:block; width:22px; height:2px; background:var(--color-text); border-radius:2px; transition:transform var(--transition); }

/* ---- MOBILE NAV ---- */
.mobile-nav { display:none; position:fixed; inset:0; z-index:200; background:var(--color-bg); padding:5rem var(--space-6) var(--space-6); flex-direction:column; gap:var(--space-2); overflow-y:auto; }
.mobile-nav.open { display:flex; }
.mobile-nav-link { font-size:var(--text-lg); padding:var(--space-3) 0; border-bottom:1px solid var(--color-divider); color:var(--color-text); }
.mobile-search { margin-top:var(--space-6); display:flex; gap:var(--space-3); }
.mobile-search input { flex:1; padding:var(--space-3); border:1px solid var(--color-border); border-radius:var(--radius-md); background:var(--color-surface); color:var(--color-text); font-size:var(--text-sm); }
.mobile-search button { padding:var(--space-3) var(--space-4); background:var(--color-primary); color:#000; border-radius:var(--radius-md); font-weight:600; cursor:pointer; border:none; }

/* ---- HERO ---- */
.hero { position:relative; min-height:70vh; display:flex; align-items:flex-end; background:var(--hero-bg,#000) center/cover no-repeat; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(to top, oklch(0 0 0 / 0.95) 0%, oklch(0 0 0 / 0.55) 55%, transparent 100%); }
.hero-content { position:relative; z-index:1; max-width:var(--content-default); margin:0 auto; width:100%; padding:var(--space-12) var(--space-6); }
.hero-content h1 { font-size:var(--text-2xl); margin:var(--space-3) 0; max-width:18ch; color:#f9f8f4; }
.hero-overview { max-width:55ch; color:rgba(240,238,255,.75); margin-bottom:var(--space-6); }
.hero-actions { display:flex; gap:var(--space-3); flex-wrap:wrap; margin-bottom:var(--space-4); }

/* ---- BOUTONS ---- */
.btn { display:inline-flex; align-items:center; gap:var(--space-2); padding:var(--space-3) var(--space-6); border-radius:var(--radius-md); font-size:var(--text-sm); font-weight:600; cursor:pointer; border:none; transition:background var(--transition), color var(--transition), transform var(--transition); }
.btn:active { transform:scale(.97); }
.btn-primary { background:var(--color-primary); color:#000; }
.btn-primary:hover { background:var(--color-primary-hover); }
/* Ghost toujours visible sur fond clair ET sombre */
.btn-ghost {
  background: oklch(0.5 0 0 / 0.18);
  color: #fff;
  border: 1.5px solid oklch(1 0 0 / 0.40);
}
.btn-ghost:hover {
  background: oklch(0.5 0 0 / 0.32);
  border-color: oklch(1 0 0 / 0.60);
}

/* Dans le hero : toujours sur fond image sombre → blanc forcé */
.hero-actions .btn-ghost {
  background: oklch(0.3 0 0 / 0.35);
  color: #fff;
  border: 1.5px solid oklch(1 0 0 / 0.55);
}
.hero-actions .btn-ghost:hover {
  background: oklch(0.3 0 0 / 0.5);
}

/* En mode clair, en dehors du hero */
[data-theme="light"] .btn-ghost:not(.hero-actions .btn-ghost) {
  background: oklch(0 0 0 / 0.08);
  color: var(--color-text);
  border-color: oklch(0 0 0 / 0.22);
}
[data-theme="light"] .btn-ghost:not(.hero-actions .btn-ghost):hover {
  background: oklch(0 0 0 / 0.14);
}
/* ---- BADGES ---- */
.badge { display:inline-block; padding:.25em .75em; border-radius:var(--radius-full); font-size:var(--text-xs); font-weight:600; }
.badge-primary { background:var(--color-primary); color:#000; }
.badge-small { font-size:var(--text-xs); padding:.2em .6em; background:var(--color-surface-offset); border-radius:var(--radius-sm); margin-bottom:var(--space-2); display:inline-block; color:var(--color-text-muted); }
.badge-date { position:absolute; bottom:.5rem; left:.5rem; background:var(--color-primary); color:#000; font-size:var(--text-xs); padding:.25em .65em; border-radius:var(--radius-sm); font-weight:700; }

/* ---- NOTE ÉTOILE ---- */
.rating-badge { display:inline-flex; align-items:center; gap:.3em; font-weight:700; font-size:var(--text-sm); color:var(--rc, var(--color-warning-badge)); }
.rating-badge::before { content:'★'; }

/* ---- CONTAINER ---- */
.container { max-width:var(--content-default); margin:0 auto; padding:0 var(--space-6); }

/* ---- SECTIONS ---- */
.section { padding:var(--space-12) 0; }
.section-header { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:var(--space-6); }
.section-header h2 { font-size:var(--text-xl); }
.see-all { color:var(--color-primary); font-size:var(--text-sm); font-weight:600; }
.see-all:hover { text-decoration:underline; }

/* ---- CARDS ROW (scroll horizontal) ---- */
.cards-row { display:flex; gap:var(--space-4); overflow-x:auto; padding-bottom:var(--space-4); scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:var(--color-border) transparent; }
.cards-row::-webkit-scrollbar { height:4px; }
.cards-row::-webkit-scrollbar-thumb { background:var(--color-border); border-radius:2px; }

/* ---- CARDS GRID ---- */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:var(--space-4); }

/* ---- CARD ---- */
.card { flex-shrink:0; width:160px; border-radius:var(--radius-lg); overflow:hidden; background:var(--color-surface); transition:transform var(--transition), box-shadow var(--transition); scroll-snap-align:start; }
.cards-grid .card { width:auto; }
.card:hover { transform:translateY(-4px); box-shadow:var(--shadow-card); }
.card-poster { position:relative; aspect-ratio:2/3; overflow:hidden; background:var(--color-surface-offset); }
.card-poster img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.card:hover .card-poster img { transform:scale(1.05); }
.card-poster .rating-badge { position:absolute; top:.5rem; right:.5rem; background:color-mix(in oklab,var(--color-bg) 80%,transparent); backdrop-filter:blur(8px); padding:.2em .5em; border-radius:var(--radius-sm); }
.card-info { padding:var(--space-3); }
.card-info h2, .card-info h3 { font-size:var(--text-sm); font-family:var(--font-body); font-weight:600; margin-bottom:var(--space-1); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--color-text); }
.card-date { font-size:var(--text-xs); color:var(--color-text-muted); display:block; }
.card-dept { font-size:var(--text-xs); color:var(--color-text-muted); display:block; }
.card-actor { width:140px; }
.actors-row .card-actor { width:140px; }
.actor-photo { aspect-ratio:2/3; overflow:hidden; background:var(--color-surface-offset); }
.actor-photo img { width:100%; height:100%; object-fit:cover; }

/* ---- PAGE HEADER ---- */
.page-header { padding:var(--space-8) 0 var(--space-6); }
.page-header h1 { font-size:var(--text-xl); margin-bottom:var(--space-4); }
.filter-tabs { display:flex; gap:var(--space-2); flex-wrap:wrap; }
.filter-tab { padding:var(--space-2) var(--space-4); border-radius:var(--radius-full); font-size:var(--text-sm); background:var(--color-surface); border:1px solid var(--color-border); color:var(--color-text-muted); transition:all var(--transition); cursor:pointer; }
.filter-tab.active, .filter-tab:hover { background:var(--color-primary); color:#000; border-color:var(--color-primary); }
[data-theme="light"] .filter-tab { background:var(--color-surface-2); color:var(--color-text-muted); }

/* ---- DETAIL PAGE ---- */
.detail-hero { height:40vh; background:var(--hero-bg) center/cover no-repeat; position:relative; }
.detail-hero .hero-overlay { position:absolute; inset:0; background:linear-gradient(to bottom, transparent 40%, var(--color-bg) 100%); }
.detail-container { display:grid; grid-template-columns:280px 1fr; gap:var(--space-8); padding-top:var(--space-8); padding-bottom:var(--space-8); margin-top:-6rem; position:relative; z-index:1; }
.detail-poster img { width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow-card); }
.detail-info h1 { font-size:var(--text-2xl); margin-bottom:var(--space-3); }
.tagline { font-style:italic; color:var(--color-text-muted); margin-bottom:var(--space-4); }
.meta-row { display:flex; flex-wrap:wrap; gap:var(--space-4); color:var(--color-text-muted); font-size:var(--text-sm); margin-bottom:var(--space-4); align-items:center; }
.genres { display:flex; flex-wrap:wrap; gap:var(--space-2); margin-bottom:var(--space-6); }
.genre-badge { padding:.3em .9em; border-radius:var(--radius-full); font-size:var(--text-xs); background:var(--color-surface-offset); border:1px solid var(--color-border); color:var(--color-text-muted); }
.overview h2 { font-size:var(--text-lg); margin-bottom:var(--space-3); }
.overview p { color:var(--color-text-muted); max-width:65ch; line-height:1.8; margin-bottom:var(--space-6); }

/* ---- STREAMING PROVIDERS ---- */
.streaming-providers {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.streaming-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: var(--space-2);
}
.streaming-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}
/* Logos carrés, taille fixe, coins arrondis */
.streaming-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--color-surface-2);
}
.streaming-logo:hover { transform: scale(1.15); box-shadow: var(--shadow-md); }

/* ---- PAGINATION ---- */
.pagination { display:flex; justify-content:center; gap:var(--space-2); padding:var(--space-8) 0; }
.page-link { width:40px; height:40px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius-md); background:var(--color-surface); border:1px solid var(--color-border); font-size:var(--text-sm); transition:all var(--transition); color:var(--color-text); }
.page-link.active, .page-link:hover { background:var(--color-primary); color:#000; border-color:var(--color-primary); }

/* ---- EMPTY STATE ---- */
.empty-state { text-align:center; padding:var(--space-12); color:var(--color-text-muted); }

/* ---- RESULTS COUNT ---- */
.results-count { font-size:var(--text-sm); color:var(--color-text-muted); }

/* ---- TRAILER MODAL ---- */
.trailer-modal { position:fixed; inset:0; z-index:500; display:flex; align-items:center; justify-content:center; }
.trailer-modal[hidden] { display:none; }
.modal-backdrop { position:absolute; inset:0; background:oklch(0 0 0 / 0.85); backdrop-filter:blur(8px); }
.modal-content { position:relative; width:min(900px, 95vw); aspect-ratio:16/9; border-radius:var(--radius-lg); overflow:hidden; background:#000; }
.modal-close { position:absolute; top:-.5rem; right:-3rem; z-index:10; background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-full); width:2.5rem; height:2.5rem; display:flex; align-items:center; justify-content:center; color:var(--color-text); cursor:pointer; transition:background var(--transition); }
.modal-close:hover { background:var(--color-secondary); color:#fff; }
.modal-video-wrap { width:100%; height:100%; }
.modal-video-wrap iframe { width:100%; height:100%; }

/* ---- FOOTER ---- */
.site-footer { border-top:1px solid var(--color-divider); margin-top:var(--space-12); padding:var(--space-12) 0 var(--space-8); }
.footer-inner { max-width:var(--content-default); margin:0 auto; padding:0 var(--space-6); display:grid; grid-template-columns:1fr auto; gap:var(--space-8) var(--space-12); }
.footer-brand .logo-text { font-size:var(--text-lg); }
.footer-brand p { font-size:var(--text-sm); color:var(--color-text-muted); margin-top:var(--space-3); max-width:36ch; }
.footer-brand a { color:var(--color-primary); }
.footer-nav { display:flex; flex-direction:column; gap:var(--space-3); }
.footer-nav a { font-size:var(--text-sm); color:var(--color-text-muted); transition:color var(--transition); }
.footer-nav a:hover { color:var(--color-primary); }
.footer-copy { grid-column:1/-1; font-size:var(--text-xs); color:var(--color-text-faint); padding-top:var(--space-6); border-top:1px solid var(--color-divider); }

/* ============================================================
   SAISONS & ÉPISODES
   ============================================================ */
.seasons-section { padding-top: var(--space-8); }
.seasons-grid { display:flex; flex-wrap:wrap; gap:var(--space-4); margin-bottom:var(--space-8); }
.season-card {
  display:flex; flex-direction:column; width:120px;
  border-radius:var(--radius-lg); overflow:hidden;
  background:var(--color-surface); border:2px solid transparent;
  transition:border-color var(--transition), transform var(--transition);
  cursor:pointer; text-decoration:none; color:inherit;
}
.season-card:hover { transform:translateY(-3px); border-color:var(--color-primary); }
.season-card.active { border-color:var(--color-primary); box-shadow:0 0 0 3px color-mix(in oklab,var(--color-primary) 30%,transparent); }
.season-card img { width:100%; aspect-ratio:2/3; object-fit:cover; }
.season-no-poster { width:100%; aspect-ratio:2/3; display:flex; align-items:center; justify-content:center; background:var(--color-surface-offset); font-size:var(--text-xl); font-weight:700; color:var(--color-text-muted); }
.season-info { padding:var(--space-2) var(--space-3); display:flex; flex-direction:column; gap:2px; }
.season-info strong { font-size:var(--text-xs); line-height:1.3; color:var(--color-text); }
.season-info span { font-size:var(--text-xs); color:var(--color-text-muted); }
.season-date { font-size:10px !important; }

/* Liste épisodes */
.episodes-list { background:var(--color-surface); border-radius:var(--radius-xl); padding:var(--space-6); margin-top:var(--space-4); border:1px solid var(--color-border); }
.episodes-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:var(--space-6); }
.episodes-header h3 { display:flex; align-items:center; gap:var(--space-3); font-size:var(--text-lg); }
.ep-count-badge { font-size:var(--text-xs); font-weight:600; background:var(--color-surface-offset); padding:.2em .7em; border-radius:var(--radius-full); color:var(--color-text-muted); }
.episodes-close { font-size:var(--text-sm); color:var(--color-text-muted); background:var(--color-surface-offset); border-radius:var(--radius-full); width:2rem; height:2rem; display:flex; align-items:center; justify-content:center; transition:background var(--transition); }
.episodes-close:hover { background:var(--color-secondary); color:#fff; }
.episodes-table { display:flex; flex-direction:column; gap:var(--space-3); }

/* Ligne d'épisode */
.episode-row {
  text-decoration:none; color:inherit;
  display:grid; grid-template-columns:40px 120px 1fr auto auto;
  gap:var(--space-4); align-items:center;
  padding:var(--space-3); border-radius:var(--radius-md);
  background:var(--color-surface-2);
  transition:background var(--transition);
}
.episode-row:hover { background:var(--color-surface-offset); }
.ep-number { font-size:var(--text-xs); font-weight:700; color:var(--color-primary); }
.ep-still { width:120px; height:68px; object-fit:cover; border-radius:var(--radius-sm); flex-shrink:0; }
.ep-no-still { width:120px; height:68px; background:var(--color-surface-offset); border-radius:var(--radius-sm); flex-shrink:0; }
.ep-info { display:flex; flex-direction:column; gap:var(--space-1); overflow:hidden; }
.ep-info strong { font-size:var(--text-sm); color:var(--color-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ep-date { font-size:var(--text-xs); color:var(--color-text-muted); }
.ep-overview { font-size:var(--text-xs); color:var(--color-text-muted); max-width:55ch; line-height:1.5; }
.ep-rating { white-space:nowrap; }
.ep-arrow { font-size:var(--text-lg); color:var(--color-text-faint); transition:transform var(--transition), color var(--transition); }
.episode-row:hover .ep-arrow { transform:translateX(4px); color:var(--color-primary); }

/* Détail d'un épisode */
.ep-breadcrumb { display:flex; align-items:center; gap:var(--space-2); font-size:var(--text-sm); color:var(--color-text-muted); margin-bottom:var(--space-6); flex-wrap:wrap; }
.ep-breadcrumb a { color:var(--color-primary); }
.ep-breadcrumb a:hover { text-decoration:underline; }
.ep-detail-still { border-radius:var(--radius-lg); overflow:hidden; margin-bottom:var(--space-6); background:var(--color-surface-offset); }
.ep-detail-still img { width:100%; max-height:420px; object-fit:cover; }
.episode-detail-box { background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-xl); padding:var(--space-8); margin-top:var(--space-6); }
.ep-detail-meta { display:flex; flex-wrap:wrap; align-items:center; gap:var(--space-4); margin-bottom:var(--space-4); color:var(--color-text-muted); font-size:var(--text-sm); }
.ep-number-large { font-family:var(--font-body); font-weight:700; font-size:var(--text-sm); background:var(--color-primary); color:#000; padding:.2em .7em; border-radius:var(--radius-sm); }
.ep-vote-count { font-size:var(--text-xs); }
.ep-detail-title { font-size:var(--text-xl); margin-bottom:var(--space-4); }
.ep-detail-overview { color:var(--color-text-muted); line-height:1.8; max-width:70ch; margin-bottom:var(--space-6); }
.ep-crew { display:flex; flex-wrap:wrap; gap:var(--space-6); margin-bottom:var(--space-6); padding:var(--space-4); background:var(--color-surface-2); border-radius:var(--radius-md); }
.ep-crew-item { display:flex; flex-direction:column; gap:2px; }
.ep-crew-label { font-size:var(--text-xs); color:var(--color-text-muted); text-transform:uppercase; letter-spacing:.05em; }
.ep-crew-item > span:last-child { font-size:var(--text-sm); font-weight:600; color:var(--color-text); }
.ep-guests { margin-bottom:var(--space-6); }
.ep-guests h3 { font-size:var(--text-lg); margin-bottom:var(--space-4); }
.ep-guests-list { display:flex; flex-wrap:wrap; gap:var(--space-4); }
.ep-guest { display:flex; align-items:center; gap:var(--space-3); background:var(--color-surface-2); border-radius:var(--radius-md); padding:var(--space-3); min-width:180px; }
.ep-guest img { border-radius:var(--radius-sm); object-fit:cover; flex-shrink:0; }
.ep-guest-noimg { width:60px; height:90px; background:var(--color-surface-offset); border-radius:var(--radius-sm); flex-shrink:0; }
.ep-guest div { display:flex; flex-direction:column; gap:2px; }
.ep-guest strong { font-size:var(--text-sm); color:var(--color-text); }
.ep-guest span { font-size:var(--text-xs); color:var(--color-text-muted); }
.ep-nav { display:flex; justify-content:space-between; align-items:center; gap:var(--space-4); flex-wrap:wrap; padding-top:var(--space-6); border-top:1px solid var(--color-divider); margin-top:var(--space-6); }

/* ---- INFO BANNER ---- */
.info-banner { display:flex; align-items:center; gap:var(--space-3); padding:var(--space-3) var(--space-4); background:color-mix(in oklab,var(--color-primary) 10%,var(--color-surface)); border:1px solid color-mix(in oklab,var(--color-primary) 30%,transparent); border-radius:var(--radius-md); font-size:var(--text-sm); color:var(--color-text-muted); margin-bottom:var(--space-6); }
.info-banner a { color:var(--color-primary); text-decoration:underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .main-nav, .search-form { display:none; }
  .nav-burger { display:flex; }
  .hero-content h1 { font-size:var(--text-xl); }
  .detail-container { grid-template-columns:1fr; }
  .detail-poster { max-width:220px; }
  .footer-inner { grid-template-columns:1fr; }
  .cards-grid { grid-template-columns:repeat(auto-fill, minmax(140px,1fr)); }
  .episode-row { grid-template-columns:30px 90px 1fr auto; }
  .ep-still, .ep-no-still { width:90px; height:51px; }
  .ep-rating { display:none; }
  .seasons-grid { gap:var(--space-3); }
  .season-card { width:100px; }
}
@media (max-width: 480px) {
  .container { padding:0 var(--space-4); }
  .hero { min-height:55vh; }
  .cards-row .card { width:130px; }
  .episode-row { grid-template-columns:28px 80px 1fr auto; }
  .ep-still, .ep-no-still { width:80px; height:45px; }
  .ep-arrow { display:none; }
  .ep-nav { flex-direction:column; }
  .ep-nav .btn { width:100%; justify-content:center; }
  .ep-guest { min-width:140px; }
  .episode-detail-box { padding:var(--space-4); }
  .ep-detail-title { font-size:var(--text-lg); }
}

/* ---- STREAMING PROVIDERS (version esthétique) ---- */
.streaming-providers {
  margin-top: var(--space-5);
  padding: var(--space-5);
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}
.streaming-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.streaming-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.streaming-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  text-decoration: none;
  width: 64px;
}
.streaming-item:hover .streaming-logo-img { transform: translateY(-3px); box-shadow: 0 6px 18px oklch(0 0 0/.35); }
.streaming-logo-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1.5px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--color-surface-offset);
}
.streaming-item-name {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.2;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.streaming-item-type {
  display: inline-block;
  font-size: 9px;
  padding: .15em .5em;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.type-flatrate { background: color-mix(in oklab, #22c55e 20%, transparent); color: #22c55e; }
.type-free     { background: color-mix(in oklab, var(--color-primary) 20%, transparent); color: var(--color-primary); }
.type-ads      { background: color-mix(in oklab, #6366f1 20%, transparent); color: #818cf8; }
.type-rent     { background: color-mix(in oklab, #f59e0b 20%, transparent); color: #f59e0b; }
.type-buy      { background: color-mix(in oklab, #ef4444 20%, transparent); color: #ef4444; }