@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════
   IPTV Suisse / IPTV Schweiz - thème « Rouge suisse »
   Blanc pur, encre noire, accent rouge (croix suisse).
   Titres géométriques (Sora), coins arrondis.
   ═══════════════════════════════════════════════════════ */
:root {
  --ink: #0F0F10;         /* noir (texte/titres) */
  --ink-2: #1E1E20;
  --ink-3: #2C2C2F;
  --rouge: #D52B1E;       /* rouge suisse (accent) */
  --rouge-vif: #B31E12;   /* rouge foncé (survol) */
  --azur: #52525B;        /* neutre secondaire (gris) */
  --brume: #F5F5F5;       /* gris très clair */
  --brume-2: #E9E9EA;
  --neige: #FFFFFF;       /* fond principal blanc */
  --acier: #4B4B4F;       /* texte courant */
  --acier-clair: #737378;
  --trait: rgba(0,0,0,0.12);
  --trait-fort: rgba(0,0,0,0.22);
  --goud: #D52B1E;        /* rouge suisse - aplats de couleur */
  --goud-vif: #B31E12;    /* rouge foncé (survol / bordures) */
  --goud-donker: #A5160B; /* rouge lisible pour texte/icônes sur blanc */
  --rood: #D52B1E;        /* rouge du drapeau (bandeau, live) */
  --rood-vif: #B31E12;
  --or: #E8A33D;          /* étoiles ★ */
  --or-txt: #A67C00;      /* cijfernotatie (donkergoud) */

  --d: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --b: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --m: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --w: 1180px;
  --r: 12px;
  --tr: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 78px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--b);
  background: var(--neige);
  color: var(--acier);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--goud-donker); outline-offset: 3px; border-radius: 2px; }

/* Bandeau supérieur aux couleurs du drapeau suisse (rouge / blanc / rouge) */
body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1000;
  background: linear-gradient(90deg, var(--rood) 0 44%, #FFFFFF 44% 56%, var(--rood) 56% 100%);
}

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }
.sec { padding: clamp(72px, 8vw, 120px) 0; }
.sec--brume { background: var(--brume); }
.sec--ink { background: var(--ink); color: rgba(255,255,255,0.72); }

/* ─── Typographie (Sora géométrique en display) ─── */
h1, h2, h3, h4 { font-family: var(--d); color: var(--ink); font-weight: 700; line-height: 1.14; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.02rem; }
.eyebrow {
  font-family: var(--m); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--goud-donker);
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--goud-donker); flex-shrink: 0; }
.sec--ink .eyebrow { color: #fff; }
.sec--ink .eyebrow::before { background: rgba(255,255,255,0.45); }
.sec--ink h2, .sec--ink h3 { color: #fff; }

.shead { max-width: 660px; margin-bottom: clamp(40px, 5vw, 64px); }
.shead p:last-child { margin-top: 18px; font-size: 1rem; }
.shead--wide { max-width: 780px; }

/* ─── Boutons - rectangulaires, pas de pilules ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--b); font-size: 0.9rem; font-weight: 600;
  padding: 15px 28px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; transition: var(--tr); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--tr); }
.btn:hover svg { transform: translateX(3px); }
.btn--rouge { background: var(--goud); color: #fff; }
.btn--rouge:hover { background: var(--goud-vif); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--ligne { border-color: var(--trait-fort); color: var(--ink); background: transparent; }
.btn--ligne:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--blanc { background: #fff; color: var(--ink); }
.btn--blanc:hover { background: var(--brume); }
.btn--sm { padding: 11px 20px; font-size: 0.84rem; }
.btn--full { width: 100%; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.nav.scrolled { border-bottom-color: var(--trait); box-shadow: 0 8px 30px rgba(11,26,46,0.05); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 38px; height: 38px; object-fit: contain; }
/* Volledig merklogo (logo.png) in de nav en het mobiele menu; de losse tekst verbergen */
.nav .logo img { width: auto; height: 46px; }
.menu .logo img { width: auto; height: 50px; }
.nav .logo-txt, .menu .logo-txt { display: none; }
/* Voettekst heeft een donkere achtergrond: het logo met donkere tekst verbergen, de witte merknaam behouden */
.foot .logo img { display: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-a { font-family: var(--d); font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.logo-b { font-family: var(--m); font-size: 0.53rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acier-clair); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--acier); white-space: nowrap; transition: color var(--tr); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--trait); border-radius: var(--r); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 16px; height: 1.5px; background: var(--ink); transition: var(--tr); }

.menu {
  position: fixed; inset: 0; z-index: 950; background: var(--neige);
  padding: 24px 28px; display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); visibility: hidden;
}
.menu.open { transform: none; visibility: visible; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 24px; }
.menu-x { width: 40px; height: 40px; border: 1px solid var(--trait); border-radius: var(--r); background: transparent; font-size: 1.4rem; color: var(--ink); cursor: pointer; line-height: 1; }
.menu a.menu-link {
  font-family: var(--d); font-size: 1.5rem; font-weight: 700; color: var(--ink);
  padding: 16px 0; border-bottom: 1px solid var(--trait); display: flex; justify-content: space-between; align-items: center;
}
.menu a.menu-link span { font-family: var(--m); font-size: 0.65rem; color: var(--acier-clair); font-weight: 500; }
.menu .btn { margin-top: 28px; }

/* ═══════════ HERO ═══════════ */
.hero { padding: calc(var(--nav-h) + clamp(48px, 6vw, 84px)) 0 clamp(56px, 6vw, 88px); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1400px; height: 620px; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(213,43,30,0.06), transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--goud-donker); }
.hero-lead { font-size: 1.06rem; max-width: 520px; margin-bottom: 32px; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--trait); }
.hero-trust div { font-family: var(--m); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acier); display: flex; align-items: center; gap: 8px; }
.hero-trust b { color: var(--ink); font-weight: 700; }

/* ─── SIGNATURE : la grille des programmes ─── */
.epg {
  background: var(--neige); border: 1px solid var(--trait); border-radius: 6px;
  box-shadow: 0 1px 1px rgba(11,26,46,0.04), 0 24px 60px -20px rgba(11,26,46,0.22);
  overflow: hidden; font-family: var(--m);
}
.epg-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--trait); background: var(--ink); }
.epg-live { display: flex; align-items: center; gap: 7px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; color: #fff; }
.epg-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--goud-vif); box-shadow: 0 0 0 0 rgba(213,43,30,0.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(213,43,30,0); } 100% { box-shadow: 0 0 0 0 rgba(213,43,30,0); } }
.epg-day { font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); }
.epg-scale { display: grid; grid-template-columns: 84px 1fr; border-bottom: 1px solid var(--trait); background: var(--brume); }
.epg-scale b { border-right: 1px solid var(--trait); }
.epg-scale div { display: flex; }
.epg-scale span { flex: 1; font-size: 0.58rem; font-weight: 500; color: var(--acier-clair); padding: 7px 0 7px 8px; border-left: 1px solid var(--trait); letter-spacing: 0.04em; }
.epg-body { position: relative; }
.epg-line { display: grid; grid-template-columns: 84px 1fr; border-bottom: 1px solid var(--trait); }
.epg-line:last-child { border-bottom: 0; }
.epg-ch {
  display: flex; align-items: center; padding: 0 10px; font-size: 0.66rem; font-weight: 700;
  color: var(--ink); border-right: 1px solid var(--trait); background: var(--neige); letter-spacing: -0.01em;
}
.epg-progs { display: flex; min-width: 0; }
.epg-p {
  flex: var(--f); min-width: 0; padding: 11px 9px; font-size: 0.6rem; font-weight: 500;
  color: var(--acier); border-left: 1px solid var(--trait); background: var(--neige);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background var(--tr);
}
.epg-p.now { background: var(--ink); color: #fff; font-weight: 700; }
.epg-p.next { background: var(--brume); }
.epg-head-line { position: absolute; top: 0; bottom: 0; left: 46%; width: 1.5px; background: var(--goud-vif); pointer-events: none; z-index: 2; animation: sweep 14s ease-in-out infinite alternate; }
.epg-head-line::before { content: ''; position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--goud-vif); }
@keyframes sweep { from { left: 42%; } to { left: 52%; } }
.epg-foot { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--trait); background: var(--brume); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acier); }
.epg-foot b { color: var(--ink); font-weight: 700; }

/* ═══════════ STATS ═══════════ */
.stats-bar { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--trait); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-number { font-family: var(--m); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-family: var(--m); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acier-clair); margin-top: 10px; }

/* ═══════════ VOD - carrousel ═══════════ */
.vod-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.vod-head .shead { margin-bottom: 0; }
.vod-rail { position: relative; }
.vod-track-wrapper { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; cursor: grab; touch-action: pan-x; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); scrollbar-width: none; -ms-overflow-style: none; }
.vod-track-wrapper::-webkit-scrollbar { display: none; }
.vod-track-wrapper.dragging { cursor: grabbing; }
.vod-track { display: flex; gap: 16px; width: max-content; }
.vod-card {
  width: 168px; flex-shrink: 0; background: var(--neige); border: 1px solid var(--trait);
  border-radius: var(--r); overflow: hidden; transition: var(--tr);
}
.vod-card:hover { border-color: var(--trait-fort); transform: translateY(-4px); box-shadow: 0 18px 40px -14px rgba(11,26,46,0.25); }
.vod-poster { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: var(--brume-2); display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; }
.vod-poster span { font-family: var(--d); font-size: 0.9rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.vod-card-info { padding: 11px 12px 13px; border-top: 1px solid var(--trait); }
.vod-title { font-family: var(--d); font-size: 0.78rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 7px; }
.vod-meta { display: flex; align-items: center; gap: 6px; font-family: var(--m); font-size: 0.58rem; font-weight: 500; color: var(--acier-clair); }
.vod-rating { color: var(--or-txt); font-weight: 700; }
.vod-type { padding: 1px 5px; border-radius: 2px; font-size: 0.54rem; text-transform: uppercase; letter-spacing: 0.05em; }
.vod-type.movie { background: rgba(213,43,30,0.09); color: var(--goud-donker); }
.vod-type.tv { background: rgba(24,96,192,0.09); color: var(--azur); }
.vod-lang-badge { margin-left: auto; padding: 1px 4px; border: 1px solid var(--trait); border-radius: 2px; font-size: 0.54rem; }
.vod-loading { display: flex; gap: 16px; }
.vod-skel { width: 168px; height: 300px; flex-shrink: 0; border-radius: var(--r); background: linear-gradient(100deg, var(--brume-2) 30%, #f4f6f9 50%, var(--brume-2) 70%); background-size: 200% 100%; animation: shine 1.4s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }

/* ═══════════ GRILLE FONCTIONNALITÉS - feuille de specs ═══════════ */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--trait); border-left: 1px solid var(--trait); }
.spec { padding: 36px 30px 34px; border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); background: var(--neige); transition: background var(--tr); }
.spec:hover { background: var(--brume); }
.spec-ico { width: 26px; height: 26px; color: var(--goud-donker); margin-bottom: 22px; }
.spec-ico svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spec h3 { margin-bottom: 9px; }
.spec p { font-size: 0.9rem; }
.spec p strong { color: var(--ink); font-weight: 600; }

/* ═══════════ PAYS ═══════════ */
.pays { border-top: 1px solid var(--trait); }
.pays-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center;
  padding: 17px 4px; border-bottom: 1px solid var(--trait); transition: var(--tr);
}
.pays-row:hover { background: var(--neige); padding-left: 12px; padding-right: 12px; }
.pays-nom { font-family: var(--d); font-size: 1rem; font-weight: 700; color: var(--ink); }
.pays-det { font-size: 0.8rem; color: var(--acier-clair); }
.pays-nb { font-family: var(--m); font-size: 0.95rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.pays-tot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px 0; flex-wrap: wrap; }
.pays-tot p { font-family: var(--m); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pays-tot b { color: var(--ink); }

/* ═══════════ TARIFS ═══════════ */
.switch { display: inline-flex; padding: 4px; background: var(--brume); border: 1px solid var(--trait); border-radius: var(--r); margin-bottom: 44px; }
.toggle-btn { font-family: var(--m); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 20px; border: 0; border-radius: 2px; background: transparent; color: var(--acier); cursor: pointer; transition: var(--tr); }
.toggle-btn.active { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: var(--neige); border: 1px solid var(--trait); border-radius: 6px; padding: 34px 30px; transition: var(--tr); position: relative; }
.plan:hover { border-color: var(--trait-fort); }
.plan--reco { background: var(--ink); border-color: var(--ink); box-shadow: 0 30px 60px -24px rgba(11,26,46,0.5); }
.plan-tag { position: absolute; top: 0; right: 30px; transform: translateY(-50%); font-family: var(--m); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--goud); color: #fff; padding: 5px 12px; border-radius: 2px; }
.plan h3 { font-size: 0.95rem; margin-bottom: 20px; }
.plan--reco h3 { color: #fff; }
.plan-prix { display: flex; align-items: baseline; gap: 4px; font-family: var(--m); color: var(--ink); }
.plan--reco .plan-prix { color: #fff; }
.pricing-currency { font-size: 0.85rem; font-weight: 500; }
.pricing-amount { font-size: 3rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.plan-per { font-family: var(--m); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acier-clair); margin: 10px 0 24px; }
.plan--reco .plan-per { color: rgba(255,255,255,0.5); }
.plan ul { list-style: none; margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--trait); }
.plan--reco ul { border-top-color: rgba(255,255,255,0.14); }
.plan li { display: flex; gap: 11px; font-size: 0.86rem; padding: 7px 0; }
.plan--reco li { color: rgba(255,255,255,0.72); }
.plan li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 5px; stroke: var(--goud-donker); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.plan--reco li svg { stroke: var(--goud); }
.plan-note { font-family: var(--m); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acier-clair); text-align: center; margin-top: 14px; }
.plan--reco .plan-note { color: rgba(255,255,255,0.58); }

/* ═══════════ ÉTAPES ═══════════ */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--trait); border: 1px solid var(--trait); }
.etape { background: var(--neige); padding: 32px 28px 34px; }
.etape-n { font-family: var(--m); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--goud-donker); margin-bottom: 26px; }
.etape h3 { font-size: 0.98rem; margin-bottom: 8px; }
.etape p { font-size: 0.86rem; }

/* ═══════════ APPAREILS ═══════════ */
.devices { display: flex; flex-wrap: wrap; gap: 10px; }
.device { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--neige); transition: var(--tr); }
.device:hover { border-color: var(--ink); }
.device svg { width: 17px; height: 17px; stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.device span { font-family: var(--m); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink); }

/* ═══════════ AVIS ═══════════ */
.avis-wrap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.note-box { border: 1px solid var(--trait); border-radius: 6px; padding: 32px 28px; background: var(--neige); }
.note-n { font-family: var(--m); font-size: 3.4rem; font-weight: 700; color: var(--ink); letter-spacing: -0.05em; line-height: 1; }
.note-etoiles { color: var(--or); font-size: 1rem; letter-spacing: 3px; margin: 12px 0 6px; }
.note-sub { font-family: var(--m); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acier-clair); }
.note-bars { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--trait); display: flex; flex-direction: column; gap: 9px; }
.note-bar { display: flex; align-items: center; gap: 10px; font-family: var(--m); font-size: 0.62rem; color: var(--acier-clair); }
.note-bar i { flex: 1; height: 3px; background: var(--brume-2); border-radius: 2px; overflow: hidden; }
.note-bar i b { display: block; height: 100%; background: var(--or); }
.avis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.avis { border: 1px solid var(--trait); border-radius: 6px; padding: 26px 24px; background: var(--neige); transition: var(--tr); }
.avis:hover { border-color: var(--trait-fort); }
.avis-etoiles { color: var(--or); font-size: 0.78rem; letter-spacing: 2px; margin-bottom: 14px; }
.avis h3 { font-size: 0.92rem; margin-bottom: 8px; }
.avis p { font-size: 0.86rem; margin-bottom: 20px; }
.avis-qui { display: flex; align-items: center; gap: 11px; padding-top: 16px; border-top: 1px solid var(--trait); }
.avis-init { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--m); font-size: 0.66rem; font-weight: 700; flex-shrink: 0; }
.avis-nom { font-size: 0.82rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.avis-ok { font-family: var(--m); font-size: 0.57rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acier-clair); }

/* ═══════════ FAQ ═══════════ */
.faq { max-width: 820px; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--d); font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; transition: color var(--tr); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--goud-donker); }
.faq summary::after { content: ''; width: 11px; height: 11px; flex-shrink: 0; border-right: 1.5px solid var(--goud-donker); border-bottom: 1.5px solid var(--goud-donker); transform: rotate(45deg) translateY(-3px); transition: transform var(--tr); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { font-size: 0.92rem; padding: 0 0 24px; max-width: 680px; }
.faq details p a { color: var(--goud-donker); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════ CTA ═══════════ */
.cta-wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-wrap h2 { max-width: 620px; }
.cta-wrap p { margin-top: 16px; max-width: 520px; color: rgba(255,255,255,0.66); }
.cta-btns { display: flex; flex-direction: column; gap: 12px; }
.cta-note { font-family: var(--m); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.58); text-align: center; }

/* ═══════════ FOOTER ═══════════ */
.foot { background: var(--ink); color: rgba(255,255,255,0.6); padding: 72px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot .logo-a { color: #fff; }
.foot .logo-b { color: rgba(255,255,255,0.45); }
.foot-brand p { font-size: 0.86rem; margin-top: 20px; max-width: 330px; }
.foot-brand strong { color: #fff; font-weight: 600; }
.foot h4 { font-family: var(--m); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.foot-col a { display: block; font-size: 0.86rem; padding: 6px 0; transition: color var(--tr); }
.foot-col a:hover { color: #fff; }
.foot-contact a { display: flex; gap: 10px; font-size: 0.84rem; padding: 6px 0; word-break: break-word; }
.foot-contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 5px; stroke: var(--goud); stroke-width: 1.5; fill: none; }
.news { display: flex; gap: 8px; margin-top: 20px; }
.news input { flex: 1; min-width: 0; padding: 11px 13px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r); color: #fff; font-family: var(--b); font-size: 0.82rem; }
.news input::placeholder { color: rgba(255,255,255,0.48); }
.news input:focus { outline: none; border-color: var(--goud-vif); }
.news button { padding: 11px 16px; background: var(--goud); color: #fff; border: 0; border-radius: var(--r); font-family: var(--m); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; cursor: pointer; transition: var(--tr); }
.news button:hover { background: var(--goud-vif); }
.foot-bas { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; flex-wrap: wrap; font-family: var(--m); font-size: 0.63rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.58); }
.foot-bas div { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bas a:hover { color: #fff; }

/* ═══════════ ANIMATIONS ═══════════ */
.animate-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.animate-on-scroll.visible { opacity: 1; transform: none; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .avis-wrap { grid-template-columns: 1fr; }
  .cta-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 16px; border-left: 1px solid var(--trait); }
  .stat:first-child { padding-left: 16px; border-left: 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 16px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--trait); }
  .specs { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan--reco { order: -1; }
  .etapes { grid-template-columns: 1fr; }
  .vod-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .pays-row { grid-template-columns: 1fr auto; }
  .pays-det { display: none; }
  .epg-scale, .epg-line { grid-template-columns: 66px 1fr; }
  .epg-ch { font-size: 0.6rem; padding: 0 7px; }
  .epg-p { font-size: 0.55rem; padding: 10px 6px; }
  .cta-btns { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════
   PAGES INTÉRIEURES (chaînes, blog, pages légales)
   ═══════════════════════════════════════════════════════ */

/* ─── En-tête de page + fil d'Ariane ─── */
.page-hero { padding: calc(var(--nav-h) + clamp(40px, 5vw, 64px)) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--trait); position: relative; }
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 360px; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(213,43,30,0.05), transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.page-hero p { max-width: 640px; font-size: 1rem; }
.crumb { display: flex; align-items: center; gap: 8px; font-family: var(--m); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acier-clair); margin-bottom: 22px; }
.crumb a { color: var(--acier); transition: color var(--tr); }
.crumb a:hover { color: var(--goud-donker); }
.crumb span { color: var(--trait-fort); }

/* ─── Recherche de chaînes ─── */
.ch-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.ch-search { position: relative; flex: 1; min-width: 260px; }
.ch-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--acier-clair); stroke-width: 1.7; fill: none; }
.ch-search input { width: 100%; padding: 14px 16px 14px 42px; font-family: var(--b); font-size: 0.92rem; color: var(--ink); background: var(--neige); border: 1px solid var(--trait); border-radius: var(--r); transition: border-color var(--tr); }
.ch-search input:focus { outline: none; border-color: var(--ink); }
.ch-count { font-family: var(--m); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acier-clair); white-space: nowrap; }
.ch-count b { color: var(--ink); }

/* ─── Accordéon des pays ─── */
.ch-list { border-top: 1px solid var(--trait); }
.ch-country { border-bottom: 1px solid var(--trait); }
.ch-country-head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 6px; background: transparent; border: 0; cursor: pointer; text-align: left; transition: padding var(--tr); }
.ch-country-head:hover { padding-left: 12px; }
.ch-flag { font-size: 1.2rem; line-height: 1; flex-shrink: 0; }
.ch-country-nom { font-family: var(--d); font-size: 1.05rem; font-weight: 700; color: var(--ink); flex: 1; }
.ch-country-nb { font-family: var(--m); font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.ch-country-head::after { content: ''; width: 10px; height: 10px; flex-shrink: 0; border-right: 1.5px solid var(--goud-donker); border-bottom: 1.5px solid var(--goud-donker); transform: rotate(45deg) translateY(-2px); transition: transform var(--tr); }
.ch-country.open .ch-country-head::after { transform: rotate(-135deg) translateY(-2px); }
.ch-channels { display: none; flex-wrap: wrap; gap: 8px; padding: 4px 6px 24px; }
.ch-country.open .ch-channels { display: flex; }
.ch-chip { font-family: var(--m); font-size: 0.72rem; font-weight: 500; color: var(--acier); background: var(--brume); border: 1px solid var(--trait); border-radius: var(--r); padding: 7px 12px; }
.ch-chip.hd { border-left: 2px solid var(--azur); }
.ch-empty { padding: 40px 6px; font-size: 0.92rem; color: var(--acier-clair); }

/* ─── Grille du blog ─── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--neige); border: 1px solid var(--trait); border-radius: 6px; overflow: hidden; transition: var(--tr); }
.post-card:hover { border-color: var(--trait-fort); transform: translateY(-4px); box-shadow: 0 20px 44px -18px rgba(11,26,46,0.24); }
.post-cover { aspect-ratio: 16/9; display: flex; align-items: flex-end; padding: 18px; }
.post-cover span { font-family: var(--m); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(11,26,46,0.5); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 2px; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h2 { font-size: 1.12rem; line-height: 1.25; margin-bottom: 12px; }
.post-body p { font-size: 0.88rem; margin-bottom: 20px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-family: var(--m); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acier-clair); padding-top: 16px; border-top: 1px solid var(--trait); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--trait-fort); }
.post-read { margin-left: auto; color: var(--goud-donker); font-weight: 700; }

/* ─── Article & pages légales (prose) ─── */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 0.98rem; line-height: 1.8; margin-bottom: 18px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 44px 0 16px; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--goud-donker); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--goud-donker); padding: 6px 0 6px 22px; margin: 24px 0; color: var(--ink); font-size: 1.05rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--trait); }
.prose th { font-family: var(--m); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--brume); }
.prose .lead { font-size: 1.12rem; color: var(--ink); margin-bottom: 28px; }
.legal-updated { font-family: var(--m); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acier-clair); margin-bottom: 32px; }
.article-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--trait); display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   CONFIANCE : moyens de paiement, sceaux, WhatsApp flottant
   ═══════════════════════════════════════════════════════ */

/* ─── Bandeau de réassurance sous les tarifs ─── */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--trait); }
.trust-seal { display: flex; align-items: center; gap: 9px; font-family: var(--m); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acier); }
.trust-seal svg { width: 17px; height: 17px; stroke: var(--goud-donker); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.trust-seal b { color: var(--ink); font-weight: 700; }

.pay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.pay-badge { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--neige); font-family: var(--m); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.pay-badge svg { width: 22px; height: 15px; }
.pay-note { width: 100%; text-align: center; font-family: var(--m); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acier-clair); margin-top: 6px; }

/* ─── Bouton WhatsApp flottant ─── */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 800; display: flex; align-items: center; gap: 10px; padding: 13px 18px 13px 15px; background: #25D366; color: #fff; border-radius: 50px; box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6); font-family: var(--b); font-size: 0.86rem; font-weight: 600; transition: var(--tr); }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(37,211,102,0.7); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 600px) {
  .wa-float { padding: 14px; }
  .wa-float .wa-label { display: none; }
}

/* ─── Sceau « garantie » visuel (hero / sections) ─── */
.guarantee-badge { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid var(--trait); border-radius: 6px; background: var(--neige); }
.guarantee-badge .g-num { width: 44px; height: 44px; border-radius: 50%; background: var(--goud); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--m); font-weight: 700; line-height: 1; flex-shrink: 0; }
.guarantee-badge .g-num b { font-size: 1rem; }
.guarantee-badge .g-num span { font-size: 0.5rem; letter-spacing: 0.08em; }
.guarantee-badge .g-txt { font-size: 0.82rem; line-height: 1.4; }
.guarantee-badge .g-txt b { color: var(--ink); }

/* ═══════════════════════════════════════════════════════
   CHECKOUT
   ═══════════════════════════════════════════════════════ */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.co-form { background: var(--neige); border: 1px solid var(--trait); border-radius: 6px; padding: clamp(28px, 4vw, 40px); }
.co-form h2 { font-size: 1.3rem; margin-bottom: 6px; }
.co-form .co-sub { font-size: 0.9rem; margin-bottom: 28px; }
.co-field { margin-bottom: 20px; }
.co-field label { display: block; font-family: var(--m); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acier); margin-bottom: 9px; }
.co-field input { width: 100%; padding: 14px 16px; font-family: var(--b); font-size: 0.95rem; color: var(--ink); background: var(--neige); border: 1px solid var(--trait); border-radius: var(--r); transition: border-color var(--tr); }
.co-field input:focus { outline: none; border-color: var(--ink); }
.co-field input.invalid { border-color: var(--rood); }
.co-hint { font-size: 0.78rem; color: var(--acier-clair); margin-top: 8px; }
.co-error { display: none; font-size: 0.82rem; color: var(--rood); margin-top: 8px; }
.co-error.show { display: block; }

.co-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-opt { position: relative; }
.co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-opt label { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1px solid var(--trait); border-radius: var(--r); cursor: pointer; font-family: var(--b); text-transform: none; letter-spacing: 0; margin: 0; transition: var(--tr); }
.co-opt label b { font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.co-opt label span { font-family: var(--m); font-size: 0.68rem; color: var(--acier-clair); }
.co-opt input:checked + label { border-color: var(--ink); background: var(--brume); }
.co-opt input:focus-visible + label { outline: 2px solid var(--goud-donker); outline-offset: 2px; }

.co-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; margin: 4px 0 24px; }
.co-consent input { margin-top: 4px; flex-shrink: 0; }
.co-consent a { color: var(--goud-donker); text-decoration: underline; text-underline-offset: 2px; }

/* Récapitulatif */
.co-summary { background: var(--ink); color: rgba(255,255,255,0.72); border-radius: 6px; padding: clamp(26px, 3vw, 34px); position: sticky; top: calc(var(--nav-h) + 20px); }
.co-summary h3 { color: #fff; font-size: 1rem; margin-bottom: 22px; }
.co-line { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.co-line span:last-child { color: #fff; font-family: var(--m); font-weight: 700; }
.co-line.co-plan span:last-child { color: #fff; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 20px; margin-top: 6px; }
.co-total span { font-family: var(--m); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.co-total b { font-family: var(--m); font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.co-permonth { font-family: var(--m); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); text-align: right; margin-top: 4px; }
.co-guarantee { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; }
.co-guarantee svg { width: 18px; height: 18px; stroke: var(--goud-vif); stroke-width: 1.7; fill: none; flex-shrink: 0; margin-top: 2px; }

@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}

/* ═══════════════════════════════════════════════════════
   LUXE - raffinements (surcharge le thème de base)
   ═══════════════════════════════════════════════════════ */

/* Angles arrondis - grandes surfaces */
.epg, .plan, .note-box, .avis, .post-card, .co-form, .co-summary,
.guarantee-badge, .vod-card, .spec, .switch { border-radius: 20px !important; }

/* Angles arrondis - champs et petits éléments */
.co-field input, .ch-search input, .news input, .btn,
.device, .burger, .menu-x { border-radius: 12px !important; }
.toggle-btn, .dev-btn { border-radius: 16px !important; }

/* Éléments pilule (entièrement arrondis) */
.pay-badge, .ch-chip, .wa-float, .plan-tag, .vod-type, .vod-lang-badge,
.avis-init { border-radius: 999px !important; }

/* La grille EPG interne reste nette pour ne pas casser les colonnes */
.epg-top, .epg-scale, .epg-line, .epg-progs, .epg-p, .epg-ch, .epg-foot { border-radius: 0 !important; }

/* Plus d'air dans les sections */
.sec { padding: clamp(96px, 10vw, 168px) 0; }

/* Marque en serif, plus fine */
.logo-a { font-weight: 600; font-size: 1.2rem; letter-spacing: 0; }
.logo-b { letter-spacing: 0.22em; }

/* Grands chiffres en serif pour l'élégance */
.pricing-amount, .stat-number, .note-n, .co-total b, .plan-prix { font-family: var(--d); }
.pricing-amount { font-weight: 600; }
.stat-number { font-weight: 600; letter-spacing: 0; }

/* Titre héro : encore plus généreux */
.hero { padding-top: calc(var(--nav-h) + clamp(64px, 8vw, 110px)); }
.hero h1 em { font-style: normal; color: var(--goud-donker); }
.hero-lead { font-size: 1.1rem; line-height: 1.75; }

/* Boutons : plus fins, plus d'espace intérieur, lettres espacées */
.btn { font-weight: 500; letter-spacing: 0.02em; padding: 16px 32px; text-transform: none; }
.btn--sm { padding: 12px 22px; }

/* Liens FAQ / titres de sections : le chevron en or discret */
.faq summary { font-family: var(--d); font-size: 1.35rem; font-weight: 600; }

/* Filet supérieur doré sur les cartes de prix mises en avant */
.plan--reco { background: var(--ink); }
.plan-tag { background: var(--goud); color: #fff; }

/* EPG : ligne de tête et point en or (au lieu du rouge vif) */
.epg-live i, .epg-head-line, .epg-head-line::before { background: var(--rood) !important; }

/* Nav : fond papier translucide */
.nav { background: rgba(251,250,245,0.85); }

/* Séparateur d'aplat sombre : garder le texte clair lisible */
.sec--ink { background: var(--ink); }
.foot { background: var(--ink); }

/* Teintes accent rouge (glow héro, badges VOD) */
.hero::before { background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(213,43,30,0.08), transparent 72%); }
.vod-type.movie { background: rgba(213,43,30,0.10); color: var(--goud-donker); }
.vod-type.tv { background: rgba(0,0,0,0.06); color: var(--ink); }
.pays-row:hover { background: var(--brume); }

/* ═══════════════════════════════════════════════════════
   HÉRO PLEINE LARGEUR CENTRÉ (page d'accueil)
   ═══════════════════════════════════════════════════════ */
.hero--center { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(48px, 6vw, 80px); text-align: center; }
.hero--center .wrap { display: block; }
.hero--center .hero-txt { max-width: 880px; margin: 0 auto; }
.hero--center .eyebrow { justify-content: center; }
.hero--center h1 { font-size: clamp(2.7rem, 6vw, 5rem); margin-bottom: 26px; }
.hero--center .hero-lead { max-width: 620px; margin-left: auto; margin-right: auto; margin-bottom: 36px; font-size: 1.14rem; }
.hero--center .hero-btns { justify-content: center; margin-bottom: 0; }
.hero--center .hero-trust { justify-content: center; border-top: 0; margin-top: 40px; padding-top: 32px; gap: 40px; position: relative; }
.hero--center .hero-trust::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 1px; background: var(--trait-fort); }

/* Visuel EPG en pleine largeur, centré, sous le titre */
.hero-visual-wrap { max-width: 1000px; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 28px; }
.hero--center .epg { box-shadow: 0 1px 1px rgba(42,16,21,0.05), 0 40px 90px -30px rgba(42,16,21,0.35); }

/* Bandeau stats collé sous le héro, sans double bordure */
.hero--center + .stats-bar { border-top: 0; }

@media (max-width: 640px) {
  .hero--center .hero-trust { gap: 22px; }
  .hero-visual-wrap { padding: 0 20px; }
}

/* ═══════════ SÉLECTEUR DE LANGUE ═══════════ */
.lang { display: inline-flex; gap: 2px; border: 1px solid var(--trait); border-radius: 999px; padding: 3px; }
.lang a { font-family: var(--m); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; padding: 6px 10px; border-radius: 999px; color: var(--acier); transition: var(--tr); }
.lang a:hover { color: var(--ink); }
.lang a.active { background: var(--ink); color: #fff; }
.lang-mobile { display: flex; gap: 8px; margin: 8px 0 20px; }
.lang-mobile a { font-family: var(--m); font-size: 0.82rem; font-weight: 600; padding: 10px 16px; border: 1px solid var(--trait); border-radius: 999px; color: var(--ink); }
.lang-mobile a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 1080px) { .lang { display: none; } }

/* ═══════════════════════════════════════════════════════
   MODALE (films / séries / événements)
   ═══════════════════════════════════════════════════════ */
.modal-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { background: var(--neige); border-radius: 20px; max-width: 620px; width: 100%; max-height: 88vh; overflow: auto; position: relative; box-shadow: 0 40px 100px -20px rgba(0,0,0,0.55); transform: translateY(14px) scale(0.98); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
.modal-backdrop.open .modal { transform: none; }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(0,0,0,0.55); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; transition: var(--tr); }
.modal-x:hover { background: var(--goud); }
.modal-hero { position: relative; aspect-ratio: 16/9; background: var(--brume-2); overflow: hidden; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-hero.placeholder { display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(150deg, var(--ink), var(--goud)); }
.modal-hero.placeholder span { font-family: var(--d); font-weight: 800; color: #fff; font-size: 1.4rem; text-align: center; }
.modal-body { padding: 24px 28px 30px; }
.modal-body h3 { font-size: 1.6rem; margin-bottom: 12px; line-height: 1.15; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.modal-badge { font-family: var(--m); font-size: 0.7rem; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--brume); color: var(--ink); }
.modal-badge.rate { background: rgba(213,43,30,0.1); color: var(--goud-donker); font-weight: 700; }
.modal-overview { font-size: 0.96rem; line-height: 1.75; color: var(--acier); }
.modal-cta { margin-top: 24px; }
.modal-loading { padding: 64px 24px; text-align: center; font-family: var(--m); font-size: 0.8rem; color: var(--acier-clair); }

/* ═══════════════════════════════════════════════════════
   GRANDS ÉVÉNEMENTS SPORTIFS
   ═══════════════════════════════════════════════════════ */
.event-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.event-tab { font-family: var(--m); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; padding: 10px 18px; border: 1px solid var(--trait); border-radius: 999px; background: transparent; color: var(--acier); cursor: pointer; transition: var(--tr); }
.event-tab:hover { border-color: var(--trait-fort); color: var(--ink); }
.event-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.event-card { display: flex; flex-direction: column; gap: 14px; background: var(--neige); border: 1px solid var(--trait); border-radius: 16px; padding: 20px 22px; cursor: pointer; transition: var(--tr); text-align: left; }
.event-card:hover { border-color: var(--trait-fort); transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.2); }
.event-league { font-family: var(--m); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--goud-donker); display: flex; align-items: center; gap: 8px; }
.event-league i { width: 6px; height: 6px; border-radius: 50%; background: var(--goud-donker); }
.event-teams { font-family: var(--d); font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1.25; }
.event-when { font-family: var(--m); font-size: 0.74rem; color: var(--acier-clair); display: flex; align-items: center; gap: 8px; margin-top: auto; }
.events-loading { grid-column: 1/-1; padding: 40px; text-align: center; font-family: var(--m); font-size: 0.8rem; color: var(--acier-clair); }

/* ─── Événements : badges d'équipes + compte à rebours ─── */
.event-league .ev-league-logo { width: 16px; height: 16px; object-fit: contain; border-radius: 3px; }
.ev-badges { display: flex; align-items: center; gap: 12px; }
.ev-badges img { width: 38px; height: 38px; object-fit: contain; }
.ev-badge-x { width: 38px; height: 38px; border-radius: 999px; background: var(--brume); }
.ev-vs { font-family: var(--m); font-size: 0.66rem; font-weight: 700; color: var(--acier-clair); }
.ev-countdown { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 22px; margin-bottom: 22px; }
.ev-countdown .cd-label { font-family: var(--m); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--goud-vif); }
.ev-countdown .cd-match { font-family: var(--d); font-weight: 700; font-size: 1.02rem; }
.ev-countdown .cd-time { margin-left: auto; font-family: var(--m); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.modal-hero.ev-hero { display: flex; align-items: center; justify-content: center; gap: 26px; background: linear-gradient(150deg, var(--ink), var(--goud)); }
.modal-hero.ev-hero img { width: 90px; height: 90px; object-fit: contain; }
.modal-hero.ev-hero .ev-hero-vs { font-family: var(--d); font-weight: 800; color: #fff; font-size: 1.2rem; }
@media (max-width: 560px) { .ev-countdown .cd-time { margin-left: 0; width: 100%; } }

/* ═══════════ PAGE FILMS & SÉRIES ═══════════ */
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.film-card { display: flex; flex-direction: column; background: var(--neige); border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; transition: var(--tr); padding: 0; }
.film-card:hover { border-color: var(--trait-fort); transform: translateY(-4px); box-shadow: 0 20px 44px -18px rgba(0,0,0,0.24); }
.film-poster { aspect-ratio: 2/3; background: var(--brume-2); overflow: hidden; }
.film-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-info { padding: 12px 13px 14px; }
.film-title { font-family: var(--d); font-size: 0.85rem; font-weight: 700; color: var(--ink); line-height: 1.25; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.film-meta { display: flex; align-items: center; gap: 8px; font-family: var(--m); font-size: 0.6rem; color: var(--acier-clair); }

/* ─── Bandeau cookies ─── */
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 850; max-width: 700px; margin: 0 auto; background: var(--ink); color: rgba(255,255,255,0.85); border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; box-shadow: 0 20px 50px -16px rgba(0,0,0,0.5); }
.cookie-bar p { font-size: 0.82rem; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar .cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 560px) { .cookie-bar { left: 12px; right: 12px; bottom: 12px; } .cookie-bar .cookie-actions { width: 100%; } .cookie-bar .cookie-actions .btn { flex: 1; } }

/* ═══════════════════════════════════════════════════════
   TARIFS (IPTV Suisse) - trois durées en cartes,
   un seul sélecteur : 1 ou 2 écrans.
   ═══════════════════════════════════════════════════════ */
.switch-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-bottom: 44px; }
.switch-row .switch { margin-bottom: 0; }
.switch-lab { font-family: var(--m); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acier-clair); }
.dev-btn { font-family: var(--m); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 22px; border: 0; background: transparent; color: var(--acier); cursor: pointer; transition: var(--tr); }
.dev-btn.active { background: var(--ink); color: #fff; }

/* Ligne « soit CHF x par mois » sous le prix */
.plan-mois { font-family: var(--m); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--acier-clair); margin-top: -14px; margin-bottom: 18px; min-height: 1em; }
.plan--reco .plan-mois { color: rgba(255,255,255,0.62); }

/* Économie affichée sur les durées longues */
.plan-eco { display: inline-block; font-family: var(--m); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--goud-donker); background: rgba(213,43,30,0.08); padding: 5px 11px; border-radius: 999px; min-height: 1em; }
.plan--reco .plan-eco { color: #FF9286; background: rgba(255,255,255,0.09); }
.plan-eco:empty { visibility: hidden; }

/* Mention des écrans, mise à jour par le sélecteur */
.plan-devices { font-weight: 600; }
