/* ============================================================
   CPULSE.TV — THÈME « STREAM » (clone de la maquette Streamvid)
   Chargé en dernier sur toutes les pages publiques :
   palette navy/violet, typographie Plus Jakarta Sans, nav à menus
   déroulants, slider plein écran, rangées d'affiches, bandeaux promo,
   mosaïque des chaînes, cercles d'artistes, actualités, footer.
   ============================================================ */

:root, [data-theme="dark"], [data-theme="light"] {
  --sv-bg: #00031c;
  --sv-bg-2: #050a2a;
  --sv-card: #191c33;
  --sv-card-2: #22263f;
  --sv-border: #292c41;
  --sv-text: #ffffff;
  --sv-muted: #b5b7c4;
  --sv-soft: #8a8ea3;
  --sv-primary: #7b61ff;
  --sv-primary-2: #9e61ff;
  --sv-primary-3: #619bff;
  --sv-gradient: linear-gradient(90deg, #7b61ff 0%, #9e61ff 100%);
  --sv-glow: 0 10px 30px rgba(123, 97, 255, 0.35);
  --sv-radius: 12px;

  /* les composants existants suivent la palette */
  --bg-page: var(--sv-bg);
  --bg-section: var(--sv-bg-2);
  --bg-elevated: var(--sv-card);
  --bg-input: #12162d;
  --text-page: var(--sv-text);
  --text-muted: var(--sv-muted);
  --text-soft: var(--sv-soft);
  --text-faint: rgba(255, 255, 255, 0.38);
  --border-page: var(--sv-border);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-input: rgba(255, 255, 255, 0.28);
  --accent: var(--sv-primary-2);
  --gold-text: var(--gold);
  --coral-text: #ff6b6b;
  --nav-bg: rgba(0, 3, 28, 0.85);
  --nav-border: rgba(255, 255, 255, 0.06);
  --nav-height: 80px;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --ink: var(--sv-bg);
  --ink-soft: var(--sv-card);
  --paper: var(--sv-text);
}
html { background: var(--sv-bg); color-scheme: dark; }
body { background: var(--sv-bg); color: var(--sv-text); font-family: var(--font-sans); }
h1, h2, h3, h4, .section-title h2, .hero h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; text-transform: none; font-style: normal; }
.section-title h2 .accent, .hero h1 .accent { font-style: normal; color: var(--sv-text); }
.eyebrow { color: var(--sv-primary-2); }
::selection { background: var(--sv-primary); color: #fff; }

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
.nav { height: var(--nav-height); background: var(--nav-bg); border-bottom: 1px solid var(--nav-border); }
.nav.scrolled { background: rgba(0, 3, 28, 0.94); }
.nav .nav-inner { gap: var(--space-6); }
.sv-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.sv-brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--sv-gradient); display: grid; place-items: center; box-shadow: var(--sv-glow); }
.sv-brand-mark svg { width: 20px; height: 20px; fill: #fff; }
.sv-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1; position: relative; padding-right: 22px; }
.sv-brand-name sup { position: absolute; top: -4px; right: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--sv-muted); }
.sv-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sv-menu > li { position: relative; }
.sv-menu > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out); }
.sv-menu > li > a svg { width: 14px; height: 14px; opacity: 0.7; transition: transform var(--duration-fast) var(--ease-out); }
.sv-menu > li:hover > a, .sv-menu > li.open > a, .sv-menu > li > a.active { color: var(--sv-primary-2); }
.sv-menu > li:hover > a svg, .sv-menu > li.open > a svg { transform: rotate(180deg); }
.sv-dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: var(--sv-card); border: 1px solid var(--sv-border); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), visibility var(--duration-fast); z-index: 20; list-style: none; margin: 0; }
.sv-menu > li:hover > .sv-dropdown, .sv-menu > li.open > .sv-dropdown { opacity: 1; visibility: visible; transform: none; }
.sv-dropdown li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--sv-muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: background var(--duration-fast), color var(--duration-fast); }
.sv-dropdown li a:hover { background: rgba(123, 97, 255, 0.15); color: #fff; }
.sv-dropdown .sv-ch { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--c, var(--sv-primary)); flex-shrink: 0; }
.sv-dropdown .sv-ico { width: 16px; height: 16px; display: inline-flex; opacity: 0.8; }
.sv-dropdown .sv-ico svg { width: 16px; height: 16px; }
.sv-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.sv-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 1px solid var(--sv-border); border-radius: 999px; background: rgba(255, 255, 255, 0.04); color: var(--sv-muted); min-width: 300px; }
.sv-search:focus-within { border-color: var(--sv-primary); box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.2); }
.sv-search svg { width: 18px; height: 18px; flex-shrink: 0; }
.sv-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 500 14px var(--font-sans); outline: none; }
.sv-search input::placeholder { color: var(--sv-soft); }
.sv-lang { position: relative; }
.sv-lang > button { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 10px; background: transparent; border: 0; color: #fff; font: 600 14px var(--font-sans); cursor: pointer; border-radius: 10px; }
.sv-lang > button svg { width: 18px; height: 18px; }
.sv-lang > button svg.chev { width: 12px; height: 12px; opacity: 0.7; }
.sv-lang .sv-dropdown { right: 0; left: auto; min-width: 190px; }
.sv-lang:hover .sv-dropdown, .sv-lang.open .sv-dropdown { opacity: 1; visibility: visible; transform: none; }
.sv-lang .soon { margin-left: auto; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sv-soft); }
.sv-user { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; border-radius: 50%; transition: background var(--duration-fast); }
.sv-user:hover { background: rgba(255, 255, 255, 0.08); }
.sv-user svg { width: 22px; height: 22px; }
.sv-cta { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border-radius: 10px; background: var(--sv-gradient); color: #fff; font: 700 15px var(--font-sans); text-decoration: none; box-shadow: var(--sv-glow); transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast); white-space: nowrap; }
.sv-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(123, 97, 255, 0.45); color: #fff; }
.sv-cta.sv-cta-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; margin-right: 8px; box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); animation: sv-ping 1.6s ease-out infinite; }
@keyframes sv-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); } }
.nav .nav-toggle { display: none; }
.nav-mobile { background: var(--sv-bg); }
.nav-mobile a { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: none; border-bottom-color: var(--sv-border); color: #fff; }
.nav-mobile .sv-m-group { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sv-soft); padding: 18px 0 6px; }
.nav-mobile .sv-m-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; }
@media (max-width: 1360px) { .sv-search { min-width: 220px; } .sv-menu > li > a { padding: 10px 10px; font-size: 14px; } }
@media (max-width: 1180px) { .sv-user { display: none; } .sv-lang { display: none; } }
@media (max-width: 1040px) {
  .sv-menu { display: none; }
  .sv-search { display: none; }
  .nav .nav-toggle { display: block; }
  .sv-cta { height: 42px; padding: 0 18px; font-size: 14px; }
  .nav-mobile .sv-search { display: flex; margin-bottom: 8px; }
}
@media (max-width: 480px) { .sv-brand-name { font-size: 22px; } .sv-cta { display: none; } }

/* ------------------------------------------------------------
   SLIDER PLEIN ÉCRAN
   ------------------------------------------------------------ */
.sv-hero { position: relative; min-height: min(92vh, 900px); height: min(92vh, 900px); overflow: hidden; background: var(--sv-bg); isolation: isolate; }
.sv-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease-out), visibility 900ms; }
.sv-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.sv-slide-bg { position: absolute; inset: 0; }
.sv-slide-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transform: scale(1.04); transition: transform 8s linear; }
.sv-slide.active .sv-slide-bg img { transform: scale(1); }
.sv-slide-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 3, 28, 0.9) 0%, rgba(0, 3, 28, 0.6) 40%, rgba(0, 3, 28, 0.2) 70%, rgba(0, 3, 28, 0.4) 100%); }
.sv-slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 3, 28, 0.55) 0%, rgba(0, 3, 28, 0) 25%, rgba(0, 3, 28, 0) 60%, var(--sv-bg) 100%); }
.sv-slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-height); max-width: 820px; }
/* Panneau sombre translucide derrière le texte : lisible quelle que soit l'image */
.sv-slide-panel { background: rgba(0, 3, 28, 0.2); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 20px; padding: 34px 38px; max-width: 760px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.sv-slide h1, .sv-slide p.desc, .sv-meta { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.sv-tags { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--sv-primary-2); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.sv-tags a { color: inherit; text-decoration: none; } .sv-tags a + a::before { content: ','; margin-right: 6px; }
.sv-slide h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 22px; color: #fff; text-transform: none; }
.sv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 22px; }
.sv-meta .star { color: var(--sv-primary-2); display: inline-flex; align-items: center; gap: 6px; }
.sv-meta .star svg { width: 14px; height: 14px; fill: currentColor; }
.sv-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sv-soft); }
.sv-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px; background: var(--sv-card); border: 1px solid var(--sv-border); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #fff; }
.sv-slide p.desc { color: var(--sv-muted); font-size: 16px; line-height: 1.6; max-width: 56ch; margin: 0 0 32px; }
.sv-slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.sv-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 10px; border: 0; background: var(--sv-gradient); color: #fff; font: 700 16px var(--font-sans); text-decoration: none; cursor: pointer; box-shadow: var(--sv-glow); transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast); }
.sv-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(123, 97, 255, 0.45); color: #fff; }
.sv-btn svg { width: 20px; height: 20px; }
.sv-btn.white { background: #fff; color: #0a0d22; box-shadow: none; }
.sv-btn.white:hover { background: #f2f2ff; color: #0a0d22; }
.sv-btn.square { width: 54px; padding: 0; justify-content: center; background: var(--sv-card); border: 1px solid var(--sv-border); box-shadow: none; }
.sv-btn.square:hover { background: var(--sv-card-2); }
.sv-link-btn { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; background: transparent; border: 0; cursor: pointer; font-family: var(--font-sans); }
.sv-link-btn svg { width: 22px; height: 22px; }
.sv-link-btn.saved svg { fill: var(--sv-primary-2); stroke: var(--sv-primary-2); }
.sv-hero-nav { position: absolute; right: var(--container-pad); bottom: 54px; z-index: 3; display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; font-size: 14px; }
.sv-hero-nav .track { width: 220px; height: 2px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; border-radius: 2px; }
.sv-hero-nav .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--sv-primary-2); transition: width 200ms linear; }
.sv-hero-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 3, 28, 0.5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sv-hero-nav button:hover { background: var(--sv-primary); border-color: var(--sv-primary); }
.sv-hero-nav button svg { width: 16px; height: 16px; }
.sv-hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 3, 28, 0.45); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity var(--duration-fast); }
.sv-hero:hover .sv-hero-arrows { opacity: 1; }
.sv-hero-arrows.prev { left: 16px; } .sv-hero-arrows.next { right: 16px; }
.sv-hero-arrows svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .sv-hero { height: auto; min-height: 640px; }
  .sv-slide { position: relative; display: none; } .sv-slide.active { display: block; }
  .sv-slide-content { padding-top: calc(var(--nav-height) + 24px); padding-bottom: 96px; min-height: 640px; }
  .sv-slide-panel { padding: 22px 20px; border-radius: 16px; }
  .sv-slide h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .sv-hero-nav { bottom: 28px; left: var(--container-pad); right: auto; } .sv-hero-nav .track { width: 120px; }
  .sv-hero-arrows { display: none; }
  .sv-slide-bg::before { background: linear-gradient(180deg, rgba(0, 3, 28, 0.5) 0%, rgba(0, 3, 28, 0.85) 60%, var(--sv-bg) 100%); }
}

/* ------------------------------------------------------------
   SECTIONS ET RANGÉES
   ------------------------------------------------------------ */
.sv-section { padding: 48px 0 24px; }
.sv-section.tight { padding-top: 24px; }
.sv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sv-head h2 { font-size: 26px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.sv-head p { margin: 6px 0 0; color: var(--sv-muted); font-size: 15px; }
.sv-viewall { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.sv-viewall svg { width: 14px; height: 14px; transition: transform var(--duration-fast); }
.sv-viewall:hover { color: var(--sv-primary-2); } .sv-viewall:hover svg { transform: translateX(3px); }
.sv-tabs { display: flex; gap: 22px; }
.sv-tabs button { background: transparent; border: 0; color: #fff; font: 600 14px var(--font-sans); cursor: pointer; padding: 6px 0; border-bottom: 2px solid transparent; }
.sv-tabs button.active { color: var(--sv-primary-2); border-bottom-color: var(--sv-primary-2); }

/* rangée défilante avec flèches */
.sv-row { position: relative; }
.sv-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.sv-track::-webkit-scrollbar { display: none; }
.sv-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.sv-arrow { position: absolute; top: 0; bottom: 0; width: 44px; display: grid; place-items: center; background: linear-gradient(90deg, var(--sv-bg), rgba(0, 3, 28, 0)); border: 0; color: #fff; cursor: pointer; opacity: 0; transition: opacity var(--duration-fast); z-index: 3; }
.sv-arrow.next { right: -8px; left: auto; background: linear-gradient(270deg, var(--sv-bg), rgba(0, 3, 28, 0)); }
.sv-arrow.prev { left: -8px; }
.sv-arrow span { width: 40px; height: 88px; display: grid; place-items: center; background: rgba(25, 28, 51, 0.9); border-radius: 8px; border: 1px solid var(--sv-border); }
.sv-arrow svg { width: 16px; height: 16px; }
.sv-row:hover .sv-arrow { opacity: 1; }
.sv-arrow[disabled] { opacity: 0 !important; pointer-events: none; }

/* affiche (portrait) */
.sv-poster { width: 208px; text-decoration: none; color: #fff; display: block; }
.sv-poster .img { position: relative; aspect-ratio: 2 / 3; border-radius: var(--sv-radius); overflow: hidden; background: var(--sv-card); }
.sv-poster .img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 600ms var(--ease-out); }
.sv-poster:hover .img img { transform: scale(1.06); }
.sv-poster .img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 3, 28, 0) 55%, rgba(0, 3, 28, 0.75) 100%); opacity: 0; transition: opacity var(--duration-fast); }
.sv-poster:hover .img::after { opacity: 1; }
.sv-poster .play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(123, 97, 255, 0.92); display: grid; place-items: center; opacity: 0; transform: scale(0.8); transition: opacity var(--duration-fast), transform var(--duration-fast); }
.sv-poster .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.sv-poster:hover .play { opacity: 1; transform: scale(1); }
.sv-crown { position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 3, 28, 0.6); display: grid; place-items: center; color: var(--gold); backdrop-filter: blur(4px); }
.sv-crown svg { width: 16px; height: 16px; fill: currentColor; }
.sv-poster .dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 3, 28, 0.7); font-size: 12px; font-weight: 700; }
.sv-poster h3 { font-size: 16px; font-weight: 700; margin: 14px 0 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv-poster .m1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--sv-muted); font-size: 13px; }
.sv-poster .m2 { color: var(--sv-muted); font-size: 13px; margin-top: 6px; }
.sv-poster .m2 a, .sv-poster .m1 a { color: inherit; text-decoration: none; }
.sv-poster .m2 span + span::before { content: '·'; margin: 0 6px; color: var(--sv-soft); }
.sv-poster .sv-chip { font-size: 11px; padding: 3px 7px; }

/* carte paysage */
.sv-wide { width: 300px; text-decoration: none; color: #fff; display: block; }
.sv-wide .img { position: relative; aspect-ratio: 16 / 9; border-radius: var(--sv-radius); overflow: hidden; background: var(--sv-card); }
.sv-wide .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.sv-wide:hover .img img { transform: scale(1.06); }
.sv-wide .play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(123, 97, 255, 0.92); display: grid; place-items: center; opacity: 0; transition: opacity var(--duration-fast); }
.sv-wide .play svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.sv-wide:hover .play { opacity: 1; }
.sv-wide h3 { font-size: 16px; font-weight: 700; margin: 14px 0 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv-wide .m { color: var(--sv-muted); font-size: 13px; }
.sv-wide .m span + span::before { content: '·'; margin: 0 6px; color: var(--sv-soft); }
.sv-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sv-grid-4 .sv-wide { width: auto; }
.sv-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sv-grid-3 .sv-wide { width: auto; }
@media (max-width: 1100px) { .sv-grid-4 { grid-template-columns: repeat(2, 1fr); } .sv-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sv-grid-4, .sv-grid-3 { grid-template-columns: 1fr; } .sv-poster { width: 160px; } .sv-wide { width: 260px; } .sv-head h2 { font-size: 22px; } }

/* bandeau promo (style « House of the Dragon ») */
.sv-promo { position: relative; border-radius: 16px; overflow: hidden; min-height: 260px; display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 32px; padding: 36px 48px; background: var(--sv-card); border: 1px solid var(--sv-border); isolation: isolate; }
.sv-promo .bg { position: absolute; inset: 0; z-index: -1; }
.sv-promo .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.sv-promo .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 28, 51, 0.98) 0%, rgba(25, 28, 51, 0.7) 55%, rgba(25, 28, 51, 0.4) 100%); }
.sv-promo.gold .bg::after { background: linear-gradient(90deg, rgba(60, 40, 0, 0.9), rgba(25, 28, 51, 0.6)); }
.sv-promo .kicker { color: var(--sv-primary-2); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; margin-bottom: 10px; }
.sv-promo h3 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
.sv-promo .sub { color: var(--sv-muted); margin: 10px 0 0; font-size: 15px; }
.sv-promo .big { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.01em; text-align: center; }
.sv-promo .big small { display: block; font-size: 0.5em; color: var(--sv-muted); font-weight: 600; letter-spacing: 0.1em; margin-top: 8px; }
@media (max-width: 900px) { .sv-promo { grid-template-columns: 1fr; padding: 28px; text-align: left; } .sv-promo .big { text-align: left; } }

/* mosaïque chaînes (style « TV Series ») */
.sv-mosaic { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 20px; }
.sv-tile { position: relative; border-radius: var(--sv-radius); overflow: hidden; background: var(--sv-card); text-decoration: none; color: #fff; display: block; }
.sv-tile.big { grid-row: span 2; }
.sv-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.sv-tile:hover img { transform: scale(1.05); }
.sv-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 3, 28, 0) 35%, rgba(0, 3, 28, 0.9) 100%); }
.sv-tile .t { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.sv-tile .t .ch { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sv-muted); margin-bottom: 6px; }
.sv-tile .t .ch i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--sv-primary)); display: inline-block; }
.sv-tile .t h3 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.25; }
.sv-tile.big .t h3 { font-size: 24px; }
.sv-tile .t p { margin: 4px 0 0; color: var(--sv-muted); font-size: 13px; }
.sv-tile .live { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 10px; border-radius: 6px; background: rgba(0, 3, 28, 0.65); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.sv-tile .live.is-live { background: var(--live); color: #fff; }
@media (max-width: 1000px) { .sv-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .sv-tile { aspect-ratio: 16 / 9; } .sv-tile.big { grid-column: span 2; grid-row: auto; aspect-ratio: 21 / 9; } }
@media (max-width: 600px) { .sv-mosaic { grid-template-columns: 1fr; } .sv-tile.big { grid-column: auto; aspect-ratio: 16 / 9; } }

/* grand format (style « Almost Adults ») */
.sv-feature { position: relative; border-radius: 18px; overflow: hidden; min-height: 520px; display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--sv-card); isolation: isolate; }
.sv-feature .bg { position: absolute; inset: 0; z-index: -1; }
.sv-feature .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; filter: blur(2px); }
.sv-feature .text { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.sv-feature .text h3 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.03em; }
.sv-feature .text p { color: var(--sv-muted); font-size: 15px; line-height: 1.6; max-width: 48ch; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sv-feature .text .row { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.sv-feature .media { position: relative; display: grid; grid-template-columns: 1fr 150px; gap: 16px; padding: 24px 24px 24px 0; }
.sv-feature .main { position: relative; border-radius: 14px; overflow: hidden; background: #000; min-height: 420px; }
.sv-feature .main img { width: 100%; height: 100%; object-fit: cover; }
.sv-feature .main a.play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; background: rgba(0, 3, 28, 0.25); }
.sv-feature .main a.play span { width: 56px; height: 56px; border-radius: 12px; border: 2px solid #fff; display: grid; place-items: center; }
.sv-feature .main a.play svg { width: 22px; height: 22px; fill: #fff; }
.sv-feature .thumbs { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.sv-feature .thumbs button.nav { height: 26px; border: 0; background: transparent; color: #fff; cursor: pointer; opacity: 0.7; }
.sv-feature .thumbs button.nav svg { width: 16px; height: 16px; }
.sv-feature .thumbs .list { display: flex; flex-direction: column; gap: 10px; overflow: hidden; flex: 1; }
.sv-feature .thumbs .th { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--sv-card-2); flex-shrink: 0; }
.sv-feature .thumbs .th img { width: 100%; height: 100%; object-fit: cover; }
.sv-feature .thumbs .th.active { border-color: var(--sv-primary-2); }
@media (max-width: 1000px) { .sv-feature { grid-template-columns: 1fr; } .sv-feature .media { grid-template-columns: 1fr; padding: 0 24px 24px; } .sv-feature .thumbs { flex-direction: row; } .sv-feature .thumbs .list { flex-direction: row; } .sv-feature .thumbs .th { width: 120px; } .sv-feature .thumbs button.nav { display: none; } .sv-feature .main { min-height: 240px; } .sv-feature .text { padding: 36px 24px 12px; } }

/* artistes */
.sv-artists { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 6px 4px 12px; }
.sv-artists::-webkit-scrollbar { display: none; }
.sv-artist { flex: 0 0 auto; width: 180px; text-align: center; text-decoration: none; color: #fff; }
.sv-artist .ring { width: 180px; height: 180px; border-radius: 50%; padding: 4px; border: 2px solid var(--sv-primary-2); background: var(--sv-bg); overflow: hidden; transition: transform var(--duration-fast); }
.sv-artist .ring img, .sv-artist .ring .ini { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 20%; display: grid; place-items: center; font-size: 56px; font-weight: 800; background: var(--sv-card); }
.sv-artist:hover .ring { transform: scale(1.04); }
.sv-artist h4 { margin: 18px 0 0; font-size: 17px; font-weight: 700; }
.sv-artist p { margin: 4px 0 0; color: var(--sv-soft); font-size: 13px; }
@media (max-width: 640px) { .sv-artist, .sv-artist .ring { width: 130px; } .sv-artist .ring { height: 130px; } }

/* actualités */
.sv-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sv-news a { display: grid; grid-template-columns: 150px 1fr; gap: 20px; text-decoration: none; color: #fff; align-items: start; }
.sv-news .img { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--sv-card); }
.sv-news .img img { width: 100%; height: 100%; object-fit: cover; }
.sv-news h3 { font-size: 18px; font-weight: 700; margin: 6px 0 12px; line-height: 1.3; }
.sv-news p { color: var(--sv-muted); font-size: 14px; line-height: 1.55; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sv-news .m { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--sv-muted); font-size: 13px; }
@media (max-width: 1100px) { .sv-news { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sv-news a { grid-template-columns: 110px 1fr; } }

/* newsletter */
.sv-newsletter { border-radius: 18px; background: linear-gradient(120deg, rgba(123, 97, 255, 0.25), rgba(25, 28, 51, 0.9)); border: 1px solid var(--sv-border); padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.sv-newsletter h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 8px; }
.sv-newsletter p { color: var(--sv-muted); margin: 0; }
.sv-newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.sv-newsletter input { flex: 1; min-width: 220px; height: 52px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--sv-border); background: rgba(0, 3, 28, 0.5); color: #fff; font: 500 15px var(--font-sans); }
.sv-newsletter .msg { grid-column: 1 / -1; color: var(--sv-primary-2); font-size: 14px; min-height: 1.3em; margin: 0; }
@media (max-width: 900px) { .sv-newsletter { grid-template-columns: 1fr; padding: 28px; } }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer { background: var(--sv-bg); border-top: 1px solid var(--sv-border); padding: 64px 0 40px; color: #fff; }
.footer .container > .sv-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1fr; gap: 32px; }
.sv-footer-brand p { color: var(--sv-muted); font-size: 14px; line-height: 1.6; max-width: 34ch; margin: 18px 0; }
.sv-footer-brand h5, .sv-footer-col h5 { font-size: 15px; font-weight: 700; margin: 0 0 14px; color: #fff; }
.sv-footer-social { display: flex; gap: 12px; margin-bottom: 26px; }
.sv-footer-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.06); transition: background var(--duration-fast), color var(--duration-fast); }
.sv-footer-social a:hover { background: var(--sv-primary); }
.sv-footer-social a svg { width: 16px; height: 16px; }
.sv-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sv-footer-col.two ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.sv-footer-col a { color: var(--sv-muted); font-size: 14px; text-decoration: none; transition: color var(--duration-fast); display: inline-flex; align-items: center; gap: 8px; }
.sv-footer-col a:hover { color: #fff; }
.sv-footer-col a .footer-ico { display: none; }
.sv-footer-app { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--sv-border); border-radius: 10px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; }
.sv-footer-app:hover { border-color: var(--sv-primary); }
.sv-footer-app svg { width: 16px; height: 16px; }
.sv-footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--sv-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--sv-soft); font-size: 13px; }
@media (max-width: 1100px) { .footer .container > .sv-footer-grid { grid-template-columns: 1fr 1fr 1fr; } .sv-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer .container > .sv-footer-grid { grid-template-columns: 1fr 1fr; } }

/* bouton retour en haut */
.sv-top { position: fixed; right: 22px; bottom: 110px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0a0d22; border: 0; display: grid; place-items: center; cursor: pointer; z-index: 80; opacity: 0; transform: translateY(10px); transition: opacity var(--duration-fast), transform var(--duration-fast); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.sv-top.show { opacity: 1; transform: none; }
.sv-top svg { width: 18px; height: 18px; }
@media (max-width: 768px) { .sv-top { bottom: 96px; right: 14px; } }

/* les anciens composants suivent la palette (pages secondaires) */
.section.dark, .section.dark * { --paper: #fff; }
.ticker { background: var(--sv-card); color: #fff; border-color: var(--sv-border); }
.cat-pill { background: var(--sv-card); border-color: var(--sv-border); color: #fff; }
.cat-pill.active, .cat-pill:hover { background: var(--sv-primary); border-color: var(--sv-primary); color: #fff; }
.btn-primary, .btn-main, .btn-gold, .login-btn { background: var(--sv-gradient); color: #fff; border-color: transparent; }
.btn-primary:hover, .btn-main:hover, .btn-gold:hover { background: var(--sv-gradient); color: #fff; box-shadow: var(--sv-glow); }
.btn-ghost { border-color: var(--sv-border); color: #fff; }
.btn-ghost:hover { background: var(--sv-card-2); color: #fff; }
.video-card, .mag-card, .cp-card, .form-card, .offer, .highlight-card, .program-slot { background: var(--sv-card); border-color: var(--sv-border); color: #fff; }
.mag-card h3, .cp-card h3, .video-title { color: #fff; }
.mini-player-shell, .cp-mini-player { --c: var(--sv-primary); }
.page-hero { background: var(--sv-bg); }
