/* Bendo TV : site vitrine (bendotv.odzalasapp.fr). Rouge repris de l'icône de l'application (#FF3030). */
:root {
  color-scheme: light dark;
  --bg: #F6F6F7;
  --surface: #FFFFFF;
  --surface-2: #EFEFF1;
  --text: #19191C;
  --muted: #5C5C66;
  --line: #E4E4E8;
  --accent: #FF3030;
  --accent-strong: #C8102E;
  --accent-soft: #FFE1E1;
  --on-accent: #FFFFFF;
  --good: #118D57;
  --shadow: 0 24px 60px -24px rgba(25, 25, 28, .28);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #19191C;
    --surface: #232328;
    --surface-2: #2C2C32;
    --text: #F2F2F4;
    --muted: #A9A9B3;
    --line: #34343B;
    --accent: #FF4D4D;
    --accent-strong: #FF6B6B;
    --accent-soft: #4A1A1E;
    --good: #77ED8B;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-underline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--text); }
@media (max-width: 720px) { .top nav .hide-sm { display: none; } }

/* Boutons des stores */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: 14px; text-decoration: none;
  background: var(--text); color: var(--bg);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.2; opacity: .8; }
.store strong { display: block; font-size: 18px; line-height: 1.2; }
.store.soon { background: transparent; color: var(--muted); border: 1.5px dashed var(--line); cursor: default; }
.store.soon:hover { transform: none; box-shadow: none; }

/* Accueil */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-weight: 700; font-size: 13px;
}
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.05; letter-spacing: -.02em; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.facts strong { display: block; color: var(--text); font-size: 22px; }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Maquette de téléphone (aperçu du bulletin) */
.phone {
  width: min(320px, 100%); margin: 0 auto;
  border-radius: 40px; padding: 12px;
  background: #19191C; box-shadow: var(--shadow);
}
.screen { border-radius: 30px; overflow: hidden; background: var(--surface); color: var(--text); }
.screen .bar { display: flex; justify-content: space-between; padding: 14px 18px 6px; font-size: 12px; color: var(--muted); }
.screen .title { padding: 4px 18px 12px; font-weight: 700; font-size: 18px; }
.net-card { margin: 0 12px; border-radius: 18px; padding: 16px; background: var(--accent); color: var(--on-accent); }
.net-card small { opacity: .85; font-size: 12px; }
.net-card b { display: block; font-size: 32px; letter-spacing: -.01em; }
.chips { display: flex; gap: 6px; padding: 12px 12px 4px; flex-wrap: wrap; }
.chips span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-weight: 600; }
.chips span.on { background: var(--accent-soft); color: var(--accent-strong); }
.lines { padding: 6px 12px 18px; font-size: 13px; }
.lines div { display: flex; justify-content: space-between; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.lines div:last-child { border: 0; font-weight: 700; }
.lines .minus { color: var(--muted); }

/* Sections */
section.block { padding: 64px 0; }
section.block.alt { background: var(--surface); border-block: 1px solid var(--line); }
.kicker { color: var(--accent-strong); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
h2.section { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 14px; }
.intro { color: var(--muted); max-width: 40em; margin: 0 0 36px; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .card { background: var(--bg); }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 14px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.asked { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.asked li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.asked li::before { content: "✓"; color: var(--good); font-weight: 700; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 14px;
}

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .privacy { grid-template-columns: 1fr; } }
.privacy ul { margin: 0; padding-left: 20px; color: var(--muted); }
.privacy li { margin-bottom: 8px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
.alt details { background: var(--bg); }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-strong); font-weight: 700; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

.cta { text-align: center; }
.cta .box { background: var(--accent); color: var(--on-accent); border-radius: 28px; padding: 48px 24px; }
.cta h2 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 38px); }
.cta p { margin: 0 0 24px; opacity: .9; }
.cta .stores { justify-content: center; }
.cta .store { background: #FFFFFF; color: #19191C; }
.cta .store.soon { background: transparent; color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .5); }

/* Pied de page */
footer.site { padding: 40px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer.site a { color: var(--muted); }

/* Pages légales */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.legal header { margin-bottom: 28px; }
.legal h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.15; margin: 0 0 10px; }
.legal .date { color: var(--muted); margin: 0; }
.legal .summary { background: var(--accent-soft); border-radius: 16px; padding: 20px 22px; margin: 0 0 24px; }
.legal .summary strong { display: block; margin-bottom: 6px; }
.legal section { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 8px; margin-bottom: 16px; }
.legal h2 { font-size: 19px; margin: 0 0 10px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--line); }
.legal th { font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Page introuvable */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.notfound h1 { font-size: clamp(40px, 8vw, 72px); margin: 0; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store { transition: none; }
}

/* Maquette de téléphone avec une vraie capture de l'application */
.phone.shot { padding: 10px; }
.phone.shot img { border-radius: 30px; width: 100%; height: auto; }

/* Galerie de captures (défilement horizontal) */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px);
  gap: 20px; overflow-x: auto; padding: 4px 4px 20px; scroll-snap-type: x mandatory;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; height: auto; background: #000; }
.shots figcaption { margin-top: 12px; font-weight: 600; font-size: 15px; }
.shots figcaption small { display: block; color: var(--muted); font-weight: 400; }


/* Pastilles des catégories de chaînes */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.alt .tags li { background: var(--bg); }

/* Lien externe (ouvert dans un nouvel onglet) */
a[target="_blank"]:not(.store)::after { content: "↗"; font-size: .8em; margin-left: 2px; }

/* Chiffres clés en 2 × 2 sur petit écran */
@media (max-width: 600px) {
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
}
