/* ═══════════════════════════════════════════════════════════════
   69Kubet IPTV — Design system
   Dark / tech / neon · cyan+magenta broadcast-tuner palette
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg:        #0A0A0F;
  --bg-2:      #0F0F17;
  --panel:     #12121A;
  --panel-2:   #171722;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --cyan:      #00E5FF;
  --violet:    #7C3AED;
  --magenta:   #FF2E97;
  --green:     #22E5A0;
  --text:      #E8E8F0;
  --muted:     #A8A8BE;
  --dim:       #85859D;
  --glow-cyan: 0 0 24px rgba(0,229,255,0.35);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1140px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(720px circle at 12% -5%, rgba(124,58,237,0.12), transparent 55%),
    radial-gradient(680px circle at 92% 0%, rgba(0,229,255,0.10), transparent 50%);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }

.neon { color: var(--cyan); text-shadow: var(--glow-cyan); }
.mono { font-family: var(--font-mono); }

/* Accessibility: links inside body text must be identifiable beyond color */
main p a, .prose a, .seo-article a, .lead a, address a { text-decoration: underline; text-underline-offset: 2px; }
main p a:hover, .lead a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display: inline-block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 11px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--cyan), #38BDF8);
  color: #041016; box-shadow: 0 6px 30px rgba(0,229,255,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,229,255,0.45); }
.btn-wa {
  background: #1FB955; color: #06210f; box-shadow: 0 6px 26px rgba(31,185,85,0.3);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 38px rgba(31,185,85,0.45); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── Cards ── */
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }

/* ── Grids ── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.82); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.logo b { color: var(--cyan); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { padding: 8px 13px; border-radius: 8px; font-size: 0.9rem; color: var(--muted); transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding-bottom: 14px; }
.mobile-nav a { padding: 11px 8px; color: var(--muted); border-radius: 8px; font-size: 0.98rem; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.05); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  /* CSS-only toggle: show mobile nav when checkbox checked */
  .nav-toggle:checked ~ .mobile-nav { display: flex; }
  .nav-toggle:checked ~ .nav .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── Equalizer signature ── */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.eq span { width: 3px; background: var(--cyan); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq span:nth-child(1){ height:40%; animation-delay:0s }
.eq span:nth-child(2){ height:80%; animation-delay:.15s }
.eq span:nth-child(3){ height:55%; animation-delay:.3s }
.eq span:nth-child(4){ height:95%; animation-delay:.45s }
.eq span:nth-child(5){ height:65%; animation-delay:.6s }
@keyframes eq { 0%,100%{ transform: scaleY(0.4) } 50%{ transform: scaleY(1) } }

/* ── Hero ── */
.hero { position: relative; padding: 92px 0 76px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,229,255,0.07); border: 1px solid rgba(0,229,255,0.22);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 26px;
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--cyan);
}
.hero p.lead { font-size: 1.15rem; max-width: 560px; margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 44px; }
.hero-stat .n { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--text); }
.hero-stat .l { font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; }

/* ── Pricing ── */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(0,229,255,0.4); box-shadow: 0 0 0 1px rgba(0,229,255,0.15), 0 20px 60px rgba(0,229,255,0.08); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--cyan); color: #041016; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; padding: 4px 13px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; }
.price-amt { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 4px; }
.price-amt .cur { color: var(--muted); font-size: 1.1rem; }
.price-amt .num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--text); }
.price-amt .per { color: var(--dim); font-family: var(--font-mono); font-size: 0.85rem; }
.price-save { display: inline-block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--green); background: rgba(34,229,160,0.1); padding: 3px 9px; border-radius: 6px; margin-bottom: 16px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; margin: 4px 0 20px; }
.feat-list li { display: flex; gap: 9px; font-size: 0.88rem; color: var(--muted); }
.feat-list li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; border-radius: 50%; background: rgba(0,229,255,0.15); box-shadow: inset 0 0 0 4px rgba(0,229,255,0.55); }

/* ── Channel chips ── */
.chip-group h3 { margin-bottom: 12px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; }

/* ── Prose (SEO content) ── */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 10px; color: var(--text); }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 20px; color: var(--muted); }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(0,229,255,0.3); }

/* ── SEO block (highlighted) ── */
.seo-block { background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.seo-block h2 { color: var(--text); }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; }
.seo-grid h3 { color: var(--cyan); font-size: 1.02rem; margin-bottom: 8px; }
@media (max-width: 700px) { .seo-grid { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 8px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--cyan); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .a { padding: 0 18px 16px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 13px; }

/* ── Steps ── */
.steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 9px; }
.steps li { counter-increment: s; display: flex; gap: 11px; font-size: 0.88rem; color: var(--muted); }
.steps li::before { content: counter(s); flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: rgba(0,229,255,0.12); color: var(--cyan); font-family: var(--font-mono); font-size: 0.78rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ── CTA band ── */
.cta-band { background: linear-gradient(120deg, rgba(0,229,255,0.08), rgba(124,58,237,0.08)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Reviews ── */
.review .stars { color: #F5B301; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 10px; }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.review .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--violet)); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #041016; font-family: var(--font-display); }
.review .nm { font-weight: 600; color: var(--text); font-size: 0.88rem; }
.review .lc { font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); }

/* ── Footer ── */
/* ── SEO article (blog) — visible, readable, no hidden text ── */
.seo-article { max-width: 800px; margin: 0 auto; }
.seo-article h2 { margin: 40px 0 14px; font-size: 1.55rem; }
.seo-article h3 { margin: 26px 0 10px; color: var(--text); font-size: 1.15rem; }
.seo-article p { margin-bottom: 16px; }
.seo-article ul { margin: 0 0 16px 20px; color: var(--muted); }
.seo-article li { margin-bottom: 7px; }
.seo-article a { color: var(--cyan); border-bottom: 1px solid rgba(0,229,255,0.3); }
.seo-article .lead { font-size: 1.12rem; color: var(--muted); }

/* Topical authority: visible related-links hub */
.topic-hub { margin-top: 44px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.topic-hub h2 { margin: 0 0 8px; font-size: 1.35rem; }
.topic-hub p.sub { margin-bottom: 16px; font-size: 0.9rem; }
.topic-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .topic-links { grid-template-columns: 1fr; } }
.topic-links a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--text); font-size: 0.9rem; transition: border-color .2s, color .2s; }
.topic-links a:hover { border-color: var(--cyan); color: var(--cyan); }
.topic-links a .kw { font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan); display: block; margin-bottom: 3px; }

.seo-long { margin-top: 40px; }

.site-footer { border-top: 1px solid var(--line); padding: 52px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-grid h4, .foot-head { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px; font-family: var(--font-mono); font-weight: 500; }
.footer-grid a { display: block; color: var(--muted); font-size: 0.88rem; padding: 4px 0; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--dim); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-legal a { font-size: 0.82rem; color: var(--muted); }
.footer-legal a:hover { color: var(--cyan); }

/* ── Floating WhatsApp ── */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: #1FB955; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(31,185,85,0.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ── Section heading block ── */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head p { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ── IPTV Maroc extras + video ── */
.hero-video-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.45);
  aspect-ratio: 16/9; background: #000;
}
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-grid-2 {
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 900px) {
  .hero-grid-2 { grid-template-columns: 1.05fr 0.95fr; }
}
.stats-row {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 28px;
}
@media (min-width: 700px) { .stats-row { grid-template-columns: repeat(4,1fr); } }
.stat-pill {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 12px; text-align: center;
}
.stat-pill .n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--cyan); }
.stat-pill .l { font-size: 0.75rem; color: var(--dim); margin-top: 4px; }

.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured {
  border-color: rgba(0,229,255,0.45);
  box-shadow: 0 0 40px rgba(0,229,255,0.12);
}
.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--cyan), #38BDF8); color: #041016;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.06em; white-space: nowrap;
}
.price-amt { margin: 10px 0 6px; }
.price-amt .cur { font-size: 1rem; color: var(--muted); }
.price-amt .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--text); }
.price-amt .per { font-size: 0.9rem; color: var(--dim); }
.price-save {
  display: inline-block; font-size: 0.75rem; color: var(--green);
  background: rgba(34,229,160,0.1); padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
}
.feat-list { list-style: none; flex: 1; margin: 14px 0 20px; }
.feat-list li {
  padding: 8px 0; font-size: 0.88rem; color: var(--muted);
  border-bottom: 1px solid var(--line); display: flex; gap: 8px;
}
.feat-list li::before { content: "✓"; color: var(--green); font-weight: 700; }

.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head p { max-width: 560px; margin: 12px auto 0; }

.faq-item {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--cyan); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .a { padding: 16px 20px; color: var(--muted); font-size: 0.95rem; }

.site-footer {
  background: var(--bg-2); border-top: 1px solid var(--line);
  padding: 56px 0 28px; margin-top: 40px; color: var(--muted);
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-head {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text); margin-bottom: 14px;
}
.site-footer a { display: block; padding: 5px 0; font-size: 0.88rem; color: var(--muted); }
.site-footer a:hover { color: var(--cyan); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 32px;
  padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 16px; font-size: 0.8rem; color: var(--dim);
}
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1FB955; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(31,185,85,0.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

.cta-band {
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(124,58,237,0.08));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero { padding: 56px 0 40px; }
.lead { font-size: 1.08rem; max-width: 560px; margin-top: 16px; color: var(--muted); }

.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq span {
  width: 3px; background: var(--cyan); border-radius: 2px;
  animation: eq 1s ease-in-out infinite alternate;
}
.eq span:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.eq span:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.eq span:nth-child(4) { height: 55%; animation-delay: 0.45s; }
.eq span:nth-child(5) { height: 80%; animation-delay: 0.6s; }
@keyframes eq {
  from { transform: scaleY(0.45); opacity: 0.6; }
  to { transform: scaleY(1); opacity: 1; }
}

.review .stars { color: #FBBF24; letter-spacing: 2px; margin-bottom: 10px; }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.review .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.review .nm { font-weight: 600; color: var(--text); font-size: 0.9rem; }
.review .lc { font-size: 0.78rem; color: var(--dim); }

.seo-block {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 0.8rem; color: var(--muted);
}
.page-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 24px; max-width: 800px; margin: 0 auto;
}
.page-card h2 { margin: 24px 0 12px; font-size: 1.25rem; }
.page-card p, .page-card li { color: var(--muted); margin-bottom: 12px; }
.page-card ul, .page-card ol { padding-left: 22px; margin-bottom: 16px; }
.breadcrumb { font-size: 0.76rem; color: var(--dim); margin-bottom: 16px; font-family: var(--font-mono); }
.breadcrumb a { color: var(--cyan); }

/* Admin */
.admin-body { background: #0a0a12; min-height: 100vh; display: flex; }
.admin-sidebar {
  width: 260px; background: #0e0e18; border-right: 1px solid var(--line);
  min-height: 100vh; position: fixed; left: 0; top: 0; z-index: 50;
  display: flex; flex-direction: column; transition: transform .3s;
}
.admin-brand {
  padding: 20px 18px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; font-weight: 800;
}
.admin-brand span {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(120deg, var(--cyan), #38BDF8); color: #041016;
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.admin-menu { flex: 1; padding: 12px 10px; overflow-y: auto; }
.admin-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 10px; font-size: .9rem;
  color: var(--muted); margin-bottom: 4px;
}
.admin-menu a:hover, .admin-menu a.active { background: rgba(0,229,255,0.1); color: #fff; }
.admin-menu .label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
  color: #52525b; padding: 16px 14px 8px;
}
.admin-main { flex: 1; margin-left: 260px; min-height: 100vh; }
.admin-topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,10,18,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px; display: flex; align-items: center; gap: 12px;
}
.admin-topbar h1 { font-size: 1.1rem; font-weight: 700; flex: 1; }
.admin-content { padding: 24px 20px; max-width: 1000px; }
.admin-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px; margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: #d4d4d8; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; color: #fff; font-size: .95rem; font-family: inherit;
}
.form-group textarea.html-editor { min-height: 260px; font-family: ui-monospace, monospace; font-size: .85rem; }
.alert-success { background: rgba(34,229,160,.12); color: #22E5A0; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.alert-error { background: rgba(255,46,151,.12); color: #FF2E97; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,229,255,.15), transparent 50%), var(--bg);
}
.login-box {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 40px 32px; width: 100%; max-width: 400px;
}
.admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 45; }
.admin-overlay.show { display: block; }
@media (max-width: 900px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.stats-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-box {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px; text-align: center;
}
.stat-box .num { font-size: 1.8rem; font-weight: 900; color: var(--cyan); }
.stat-box .lbl { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.badge-ok { background: rgba(34,229,160,.15); color: #22E5A0; padding: 3px 10px; border-radius: 6px; font-size: .75rem; }
.badge-draft { background: rgba(251,191,36,.15); color: #fbbf24; padding: 3px 10px; border-radius: 6px; font-size: .75rem; }

/* Comparison table */
.cmp-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  margin: 28px 0;
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9rem;
}
.cmp-table th, .cmp-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.cmp-table th:first-child, .cmp-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}
.cmp-table thead th {
  background: var(--panel-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
}
.cmp-table tbody tr:hover { background: rgba(0,229,255,0.04); }
.cmp-table .yes { color: var(--green); font-weight: 700; }
.cmp-table .no { color: var(--dim); }
.cmp-table .hl { background: rgba(0,229,255,0.06); }
.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 28px 64px rgba(0,0,0,0.45), 0 0 40px rgba(0,229,255,0.08);
}
.hero-visual img { width: 100%; height: auto; display: block; }

/* ═══════════════════════════════════════════
   Theme: day (light) / night (dark)
   Auto by UTC hour + manual override
   ═══════════════════════════════════════════ */

/* NIGHT (default / dark) — premium tech */
:root, [data-theme="night"] {
  --bg:        #0A0A0F;
  --bg-2:      #0F0F17;
  --panel:     #12121A;
  --panel-2:   #171722;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --cyan:      #00E5FF;
  --violet:    #7C3AED;
  --magenta:   #FF2E97;
  --green:     #22E5A0;
  --text:      #E8E8F0;
  --muted:     #A8A8BE;
  --dim:       #85859D;
  --glow-cyan: 0 0 24px rgba(0,229,255,0.35);
  --buy:       #1FB955;
  --buy-text:  #06210f;
  --hero-grad-1: rgba(124,58,237,0.12);
  --hero-grad-2: rgba(0,229,255,0.10);
  --header-bg: rgba(10,10,15,0.88);
  color-scheme: dark;
}

/* DAY (light) — trust + conversion */
[data-theme="day"] {
  --bg:        #F4F7FB;
  --bg-2:      #EAF0F7;
  --panel:     #FFFFFF;
  --panel-2:   #F0F5FA;
  --line:      rgba(15,23,42,0.08);
  --line-2:    rgba(15,23,42,0.14);
  --cyan:      #0369A1;
  --violet:    #6D28D9;
  --magenta:   #DB2777;
  --green:     #047857;
  --text:      #0F172A;
  --muted:     #475569;
  --dim:       #576273;
  --glow-cyan: 0 0 20px rgba(2,132,199,0.2);
  --buy:       #15803D;   /* contraste 5.02:1 avec texte blanc (WCAG AA) — était #16A34A (3.3:1) */
  --buy-text:  #ffffff;
  --hero-grad-1: rgba(2,132,199,0.08);
  --hero-grad-2: rgba(109,40,217,0.06);
  --header-bg: rgba(244,247,251,0.92);
  color-scheme: light;
}

[data-theme="day"] body {
  background-image:
    radial-gradient(720px circle at 12% -5%, var(--hero-grad-1), transparent 55%),
    radial-gradient(680px circle at 92% 0%, var(--hero-grad-2), transparent 50%);
}

[data-theme="day"] .site-header {
  background: var(--header-bg);
  border-bottom-color: var(--line);
}

[data-theme="day"] .btn-primary {
  background: linear-gradient(120deg, #0284C7, #0EA5E9);
  color: #fff;
  box-shadow: 0 6px 24px rgba(2,132,199,0.28);
}

[data-theme="day"] .btn-wa {
  background: var(--buy);
  color: var(--buy-text);
  box-shadow: 0 6px 22px rgba(22,163,74,0.3);
}

[data-theme="day"] .neon {
  color: #0284C7;
  text-shadow: none;
}

[data-theme="day"] .card {
  background: var(--panel);
  box-shadow: 0 4px 20px rgba(15,23,42,0.06);
}

[data-theme="day"] .price-card.featured {
  border-color: rgba(2,132,199,0.4);
  box-shadow: 0 8px 32px rgba(2,132,199,0.12);
}

[data-theme="day"] .wa-float {
  background: var(--buy);
}

[data-theme="day"] .eq span { background: var(--cyan); }

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}
.theme-toggle svg { width: 20px; height: 20px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="day"] .theme-toggle .icon-sun { display: block; }
[data-theme="day"] .theme-toggle .icon-moon { display: none; }

[data-theme="day"] .cmp-table thead th { background: var(--panel-2); }
[data-theme="day"] .site-footer { background: var(--bg-2); }
[data-theme="day"] .cta-band {
  background: linear-gradient(135deg, rgba(2,132,199,0.06), rgba(109,40,217,0.05));
}

/* Theme toggle always visible (desktop + mobile) */
.theme-toggle-bar {
  display: inline-flex !important;
  margin-left: 8px;
  order: 10;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .theme-toggle-bar {
    display: inline-flex !important;
    margin-left: auto;
    margin-right: 4px;
  }
  .burger { display: flex; }
}

/* Internal link mesh — topic hub */
.topic-hub {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.topic-hub h2 { margin-bottom: 8px; font-size: 1.35rem; }
.topic-hub .sub { margin-bottom: 16px; max-width: 720px; }
.topic-links {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .topic-links { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .topic-links { grid-template-columns: 1fr 1fr 1fr; }
}
.topic-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.88rem;
  color: var(--muted);
  transition: border-color .15s, color .15s;
}
.topic-links a:hover {
  border-color: var(--cyan);
  color: var(--text);
}
.topic-links a .kw {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.topic-hub-section { padding-top: 24px; }

/* ══════════════════════════════════════════════════════════════
   Bouton WhatsApp flottant + label "Support 1"
   ══════════════════════════════════════════════════════════════ */
.wa-dock {
  position: fixed;
  right: 20px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.wa-dock .wa-float {
  position: static;
  right: auto;
  bottom: auto;
  pointer-events: auto;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-dock .wa-float-label {
  pointer-events: none;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.82);
  border: 1px solid rgba(31, 185, 85, 0.45);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
[data-theme="day"] .wa-dock .wa-float-label {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 8px 28px rgba(31,185,85,0.40), 0 0 0 0 rgba(31,185,85,0.45); }
  70%  { box-shadow: 0 8px 28px rgba(31,185,85,0.40), 0 0 0 14px rgba(31,185,85,0); }
  100% { box-shadow: 0 8px 28px rgba(31,185,85,0.40), 0 0 0 0 rgba(31,185,85,0); }
}
@media (max-width: 520px) {
  .wa-dock { right: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   Protection du contenu (anti-capture) — site public uniquement
   ══════════════════════════════════════════════════════════════ */
body:not(.admin-body) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
body:not(.admin-body) input,
body:not(.admin-body) textarea,
body:not(.admin-body) select {
  -webkit-user-select: text;
  user-select: text;
}
body:not(.admin-body) img,
body:not(.admin-body) video,
body:not(.admin-body) svg {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
body:not(.admin-body) a img,
body:not(.admin-body) a svg,
body:not(.admin-body) button svg,
body:not(.admin-body) .theme-toggle svg,
body:not(.admin-body) .hero-video-wrap video {
  pointer-events: auto;
}
.shot-shield {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0A0A0F;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s linear;
}
.shot-shield.is-on {
  opacity: 1;
  visibility: visible;
}
@media print {
  body:not(.admin-body) * { visibility: hidden !important; }
  body:not(.admin-body)::before {
    content: "Contenu protégé — impression désactivée";
    visibility: visible !important;
    display: block;
    padding: 40px;
    font-size: 16px;
    color: #000;
  }
}

/* ===== Notice modal (avertissement essai/test — voir robots contact) ===== */
.notice-modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(4,4,8,0.72); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.notice-modal-overlay[hidden] { display: none; }
.notice-modal-box {
  position: relative; width: 100%; max-width: 460px;
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow-cyan);
  padding: 30px 26px 26px; text-align: center;
  animation: noticeModalIn .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes noticeModalIn {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.notice-modal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .02em;
  color: var(--text); margin-bottom: 14px;
}
.notice-modal-title {
  font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 14px; color: var(--text);
}
.notice-modal-text {
  font-size: 0.9rem; line-height: 1.65; color: var(--muted); margin: 0 0 14px;
}
.notice-modal-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px;
}
.notice-modal-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; color: var(--dim);
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px;
}
.notice-modal-close:hover { color: var(--text); }
@media (max-width: 480px) {
  .notice-modal-box { padding: 26px 18px 22px; }
  .notice-modal-actions { flex-direction: column; }
  .notice-modal-actions .btn { width: 100%; justify-content: center; }
}
html.notice-modal-open, html.notice-modal-open body { overflow: hidden; }

/* ===== Fix: une carte tarif qui déborde de la grille sur desktop =====
   Les colonnes CSS Grid en 1fr ont un min-width implicite = min-content,
   ce qui peut faire déborder une carte (surtout celle avec le badge
   "Populaire") hors du conteneur sur les largeurs desktop (grid-4/grid-3).
   Cette règle force le rétrécissement normal des colonnes. */
.grid > .price-card,
.price-card {
  min-width: 0;
}
.feat-list li {
  overflow-wrap: break-word;
  word-break: break-word;
}
.price-badge {
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Skip link (accessibilité clavier) ===== */
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 1000;
  background: var(--panel); color: var(--text); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 10px 16px; font-size: 0.9rem; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ===== Accessibilité : liens dans le texte identifiables sans se fier à la couleur seule =====
   (la règle historique `main p a` ne matchait jamais : le site n'utilise pas <main>) */
p a:not(.btn):not(.chip):not(.logo),
li a:not(.btn):not(.chip),
.faq-body a,
.seo-block p a,
.topic-hub .sub a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
