/* ════════════════════════════════════════════════════════════
   DESIGN SYSTEM — sombre, premium, accessible (WCAG 2.2 AA)
   Tous les contrastes texte/fond ≥ 4.5:1 (texte courant)
   ════════════════════════════════════════════════════════════ */
:root {
  /* Couleurs */
  --bg: #15223b;          /* bleu nuit clair */
  --bg-2: #1a2946;        /* bleu nuit, bandeaux */
  --surface: #20314f;     /* cartes */
  --surface-2: #2a3d5f;   /* cartes surélevées / champs */
  --line: rgba(170, 190, 225, .18);
  --line-2: rgba(170, 190, 225, .32);
  --text: #f3f5fa;        /* 18.4:1 sur --bg */
  --muted: #c3cbdb;       /* ≈10:1 sur --bg, ≈8:1 sur --surface */
  --dim: #a3afc6;         /* ≈7:1 sur --bg — méta uniquement */
  --gold: #e5b85c;        /* accent principal — 10.6:1 sur --bg */
  --gold-2: #f2cf7e;
  --gold-ink: #1a1204;    /* texte sur or — 10.9:1 */
  --blue: #5b97ff;        /* accent secondaire / liens / focus — 6.6:1 sur --bg */
  --blue-soft: rgba(91, 151, 255, .14);
  --ok: #43d692; --warn: #f5b543; --err: #ff7a7a;
  /* Typo */
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-md: 1.0625rem; --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --fs-3xl: clamp(2.3rem, 1.5rem + 3.8vw, 4.2rem);
  /* Espaces / formes */
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --gap: clamp(1rem, .7rem + 1vw, 1.5rem);
  --sec: clamp(4rem, 3rem + 5vw, 7.5rem);
  --wrap: 1200px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: var(--fs-md); line-height: 1.65; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(91, 151, 255, .10), transparent 60%),
                    radial-gradient(900px 500px at -10% 10%, rgba(229, 184, 92, .07), transparent 60%);
  background-repeat: no-repeat;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #8db5ff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: var(--fs-3xl); letter-spacing: -.035em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 780px); margin-inline: auto; }
.ic { width: 1.4em; height: 1.4em; flex: none; }
.ic-sm { width: 1.1em; height: 1.1em; } .ic-xs { width: .9em; height: .9em; }

/* Marché : n'afficher que les infos du pays choisi */
html[data-market="US"] .only-ca, html[data-market="CA"] .only-us { display: none !important; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; font: 700 var(--fs-sm)/1.2 var(--font);
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 30px -10px rgba(229, 184, 92, .55); }
.btn-primary:hover { color: var(--gold-ink); box-shadow: 0 14px 34px -10px rgba(229, 184, 92, .75); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); background: rgba(255, 255, 255, .07); }
.btn-outline { background: transparent; color: var(--gold-2); border-color: rgba(229, 184, 92, .55); }
.btn-outline:hover { color: var(--gold-ink); background: var(--gold); }
.btn-link { background: none; color: var(--muted); min-height: 40px; text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { color: var(--text); transform: none; }
.btn-danger { background: transparent; color: var(--err); border-color: rgba(255, 122, 122, .5); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: var(--fs-xs); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; transform: none; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── En-tête ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 34, 59, .85); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-mark svg { width: 34px; height: 34px; }
.brand-name { font-size: 1.05rem; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 1rem; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0 auto 0 1rem; padding: 0; }
.main-nav ul a { display: block; padding: .5rem .8rem; color: var(--muted); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); border-radius: 8px; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-util { display: flex; align-items: center; gap: .75rem; }
.mkt { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); }
.mkt select { background: transparent; color: var(--muted); border: 1px solid var(--line-2); border-radius: 8px; padding: .4rem .5rem; font: 600 var(--fs-xs) var(--font); }
.mkt select option { background: var(--surface); color: var(--text); }
.lang-switch, .nav-login { color: var(--muted); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.lang-switch:hover, .nav-login:hover { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; inset: 72px 0 auto 0; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 16px 1.5rem; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; margin: 0; }
  .main-nav ul a { padding: .85rem .5rem; font-size: var(--fs-md); }
  .nav-util { flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--line); }
  .nav-util .btn { width: 100%; }
}

/* ── Sections ────────────────────────────────────────────── */
.sec { padding-block: var(--sec); }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(32, 49, 79, .7) 15%, rgba(32, 49, 79, .7) 85%, transparent); }
.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.lead { color: var(--muted); font-size: var(--fs-lg); line-height: 1.6; }
.meta { color: var(--dim); font-size: var(--fs-xs); }
.grid { display: grid; gap: var(--gap); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 1rem + 1vw, 1.85rem); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 1.1rem; }
.card-ic.gold { background: rgba(229, 184, 92, .12); color: var(--gold); }
a.card { color: inherit; text-decoration: none; transition: border-color .2s, transform .2s var(--ease); display: block; }
a.card:hover { border-color: var(--line-2); transform: translateY(-2px); color: inherit; }
.card .more { color: var(--gold-2); font-weight: 700; font-size: var(--fs-sm); display: inline-flex; gap: .35rem; align-items: center; margin-top: .75rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 .accent { background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #d9a447); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; margin-bottom: 2rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; padding: 0; list-style: none; color: var(--muted); font-size: var(--fs-sm); }
.hero-notes li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-notes .ic { color: var(--ok); }

/* Démonstration d'interface (générique, sans faux contenus) */
.demo { position: relative; border-radius: var(--r-lg); background: linear-gradient(160deg, #263a5e, #1a2946); border: 1px solid var(--line-2); padding: 14px; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset; }
.demo::after { content: ''; position: absolute; inset: auto 18% -18px; height: 18px; background: radial-gradient(closest-side, rgba(91,151,255,.35), transparent); filter: blur(8px); }
.demo-screen { border-radius: 14px; overflow: hidden; background: #060a13; aspect-ratio: 16 / 10; display: grid; grid-template-columns: 30% 1fr; }
.demo-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.demo-side span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); padding: 7px 8px; border-radius: 8px; font-weight: 600; }
.demo-side span.on { background: rgba(229,184,92,.13); color: var(--gold-2); }
.demo-side .ic { width: 14px; height: 14px; }
.demo-main { padding: 14px; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; min-width: 0; }
.demo-player { border-radius: 10px; aspect-ratio: 16 / 7; background: radial-gradient(120% 120% at 20% 10%, #1d3566 0%, #0c1630 45%, #070c18 100%); position: relative; display: grid; place-items: center; color: rgba(255,255,255,.75); }
.demo-player .ic { width: 34px; height: 34px; }
.demo-player small { position: absolute; left: 10px; bottom: 8px; font-size: 10px; color: var(--muted); }
.demo-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.demo-bar i { display: block; height: 100%; width: 38%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); animation: bar 6s var(--ease) infinite alternate; }
@keyframes bar { to { width: 72%; } }
.demo-rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-content: start; }
.demo-rows i { aspect-ratio: 16 / 10; border-radius: 8px; background: linear-gradient(135deg, #15223d, #0e172b); border: 1px solid var(--line); }
.demo-rows i:nth-child(3n+1) { background: linear-gradient(135deg, #1b2e55, #0f1a33); }
.demo-cap { margin-top: .9rem; color: var(--dim); font-size: var(--fs-xs); text-align: center; }

/* ── Bande de confiance ─────────────────────────────────── */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.trust div { background: var(--bg-2); padding: 1.25rem 1.35rem; display: flex; gap: .85rem; align-items: flex-start; }
.trust .ic { color: var(--gold); margin-top: .15rem; }
.trust strong { display: block; font-size: var(--fs-sm); }
.trust span { color: var(--muted); font-size: var(--fs-xs); line-height: 1.5; }

/* ── Appareils ──────────────────────────────────────────── */
.dev { text-align: center; }
.dev .card-ic { margin-inline: auto; width: 60px; height: 60px; border-radius: 18px; }
.dev .card-ic .ic { width: 28px; height: 28px; }
.tag { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: rgba(67, 214, 146, .12); color: var(--ok); }
.tag-warn { background: rgba(245, 181, 67, .12); color: var(--warn); }
.tag-muted { background: rgba(255, 255, 255, .06); color: var(--muted); }

/* ── Étapes ─────────────────────────────────────────────── */
.steps { counter-reset: s; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: s; position: relative; padding: 1.75rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.steps > li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.25px var(--gold); margin-bottom: .75rem; }
.steps p { color: var(--muted); margin: 0; font-size: var(--fs-sm); }

/* ── Forfaits ───────────────────────────────────────────── */
.plans { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem 1.5rem 1.25rem; }
.plan-featured { background: linear-gradient(180deg, rgba(229,184,92,.09), var(--surface) 40%); border-color: rgba(229, 184, 92, .55); box-shadow: 0 30px 60px -30px rgba(229, 184, 92, .35); }
.plan-badge { position: absolute; top: -.8rem; left: 1.5rem; background: var(--gold); color: var(--gold-ink); font-size: var(--fs-xs); font-weight: 800; padding: .25rem .75rem; border-radius: 999px; margin: 0; }
.plan-name { font-size: var(--fs-md); color: var(--muted); font-weight: 700; margin-bottom: .75rem; }
.plan-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .35rem; }
.price-token { font-size: 1.35rem; color: var(--gold-2); letter-spacing: 0; }
.price-cur { font-size: var(--fs-sm); color: var(--muted); font-weight: 700; letter-spacing: 0; }
.plan-term { color: var(--text); font-size: var(--fs-sm); font-weight: 600; margin-bottom: .35rem; }
.plan-tax, .plan-renew { color: var(--dim); font-size: var(--fs-xs); line-height: 1.5; }
.plan .checks { margin: 1rem 0; flex: 1; }
.plan .btn-block { margin-top: auto; }
.plan .btn-link { margin-top: .25rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.checks .ic { color: var(--ok); margin-top: .2rem; }
.crosses .ic { color: var(--err); }

/* Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
caption { text-align: left; padding: 1rem 1.25rem 0; color: var(--muted); font-size: var(--fs-xs); caption-side: bottom; padding-bottom: 1rem; }
th, td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; background: rgba(255,255,255,.02); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { display: grid; gap: .75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 1.35rem; cursor: pointer; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform .2s; color: var(--muted); }
.faq-item[open] .faq-chev { transform: rotate(90deg); }
.faq-a { padding: 0 1.35rem 1.25rem; color: var(--muted); }
.faq-a p:last-child { margin: 0; }

/* ── Témoignages ────────────────────────────────────────── */
.quote { display: flex; flex-direction: column; gap: 1rem; }
.quote blockquote { margin: 0; font-size: var(--fs-md); }
.quote footer { color: var(--muted); font-size: var(--fs-sm); }
.placeholder { border: 1.5px dashed var(--line-2); background: transparent; color: var(--muted); }

/* ── Bandeau CTA ────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(2rem, 1.5rem + 3vw, 4rem); background: radial-gradient(700px 300px at 100% 0%, rgba(229,184,92,.20), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(91,151,255,.18), transparent 60%), var(--surface); border: 1px solid var(--line-2); display: grid; gap: 1.5rem; grid-template-columns: 1.4fr auto; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ── En-tête de page intérieure ─────────────────────────── */
.page-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--fs-2xl); max-width: 860px; }
.page-hero .lead { max-width: 760px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: var(--fs-xs); color: var(--dim); }
.crumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* Résumé « réponse directe » (AEO) */
.tldr { background: linear-gradient(135deg, rgba(91,151,255,.10), rgba(91,151,255,.03)); border: 1px solid rgba(91,151,255,.3); border-radius: var(--r); padding: 1.25rem 1.4rem; margin: 0 0 2rem; }
.tldr strong:first-child { display: block; color: var(--blue); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem; }
.tldr p { margin: 0; }

/* ── Prose (guides, légal, blog) ────────────────────────── */
.prose { color: var(--muted); }
.prose h2 { color: var(--text); font-size: var(--fs-xl); margin-top: 2.5em; scroll-margin-top: 90px; }
.prose h3 { color: var(--text); margin-top: 1.8em; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; color: var(--text); }
.prose .table-wrap { margin: 1.5rem 0; }
.prose > :first-child { margin-top: 0; }
.layout-side { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.toc { position: sticky; top: 96px; font-size: var(--fs-sm); }
.toc p { color: var(--dim); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem .9rem; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--gold); }
@media (max-width: 900px) { .layout-side { grid-template-columns: 1fr; } .toc { position: static; } }

/* Guides : étapes numérotées détaillées */
.gsteps { list-style: none; counter-reset: g; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.gsteps > li { counter-increment: g; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.gsteps > li::before { content: counter(g); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(229,184,92,.12); color: var(--gold-2); font-weight: 800; }
.gsteps h3 { margin: .35rem 0 .4rem; font-size: var(--fs-md); }
.gsteps p { margin: 0 0 .5rem; }
.gsteps p:last-child { margin: 0; }
.shot { margin-top: .75rem; border: 1.5px dashed var(--line-2); border-radius: 12px; padding: .9rem 1rem; color: var(--dim); font-size: var(--fs-xs); display: flex; gap: .6rem; align-items: center; }

.callout { display: flex; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--r); margin: 1.5rem 0; border: 1px solid; }
.callout > .ic { margin-top: .15rem; }
.callout div > :last-child { margin-bottom: 0; }
.callout-info { background: rgba(91,151,255,.07); border-color: rgba(91,151,255,.3); color: var(--muted); }
.callout-info > .ic { color: var(--blue); }
.callout-warn { background: rgba(245,181,67,.07); border-color: rgba(245,181,67,.35); color: var(--muted); }
.callout-warn > .ic { color: var(--warn); }
.callout strong { color: var(--text); }

/* ── Formulaires ────────────────────────────────────────── */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 700; font-size: var(--fs-sm); }
.field .hint { color: var(--dim); font-size: var(--fs-xs); }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: var(--surface-2); color: var(--text); font: 500 var(--fs-md) var(--font);
}
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.input[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: var(--fs-xs); font-weight: 600; min-height: 1em; }
.row2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; border: 0; padding: 0; margin: 0; }
.choices legend { margin-bottom: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); }
.choice input:checked + span { border-color: var(--gold); background: rgba(229,184,92,.09); color: var(--gold-2); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--gold); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.15rem; border-radius: 12px; font-size: var(--fs-sm); border: 1px solid; }
.alert-ok { background: rgba(67,214,146,.08); border-color: rgba(67,214,146,.35); color: #b9f1d6; }
.alert-err { background: rgba(255,122,122,.08); border-color: rgba(255,122,122,.35); color: #ffd0d0; }
.alert-info { background: rgba(91,151,255,.08); border-color: rgba(91,151,255,.35); color: #cfe0ff; }
.form-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow); }
.spin { width: 1.1em; height: 1.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.demo-flag { display: inline-flex; align-items: center; gap: .4rem; background: rgba(245,181,67,.12); color: var(--warn); border: 1px solid rgba(245,181,67,.35); border-radius: 999px; padding: .25rem .75rem; font-size: var(--fs-xs); font-weight: 700; }

/* ── Tableaux de bord (client / admin) ──────────────────── */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; padding-block: 2rem 5rem; align-items: start; }
.dash-nav { position: sticky; top: 92px; display: grid; gap: .2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .6rem; }
.dash-nav button { display: flex; align-items: center; gap: .65rem; width: 100%; text-align: left; background: none; border: 0; color: var(--muted); font: 600 var(--fs-sm) var(--font); padding: .7rem .8rem; border-radius: 10px; cursor: pointer; }
.dash-nav button:hover { color: var(--text); background: rgba(255,255,255,.04); }
.dash-nav button[aria-selected="true"] { background: rgba(229,184,92,.11); color: var(--gold-2); }
.dash-panel { min-width: 0; }
.dash-panel > section[hidden] { display: none; }
.dash-panel h2 { font-size: var(--fs-xl); }
.kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin-bottom: 1.5rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.kpi span { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.kpi strong { display: block; font-size: 1.7rem; letter-spacing: -.02em; margin-top: .25rem; }
.kpi small { color: var(--dim); font-size: var(--fs-xs); }
.status-dot { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: var(--fs-sm); }
.status-dot::before { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.s-ok { color: var(--ok); } .s-warn { color: var(--warn); } .s-err { color: var(--err); } .s-muted { color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.toolbar .input { min-height: 42px; max-width: 280px; font-size: var(--fs-sm); }
.bars { display: grid; gap: .55rem; }
.bars div { display: grid; grid-template-columns: 120px 1fr 60px; gap: .75rem; align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.bars i { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--blue), #8db5ff); display: block; }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } .dash-nav { position: static; grid-auto-flow: column; overflow-x: auto; } .dash-nav button { white-space: nowrap; } }

/* Statut */
.status-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }

/* ── Pied de page ───────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 4rem; margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand p { color: var(--muted); font-size: var(--fs-sm); max-width: 360px; margin-top: 1rem; }
.foot-brand address { font-style: normal; display: grid; gap: .2rem; color: var(--dim); font-size: var(--fs-xs); }
.foot-h { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer ul a { color: var(--muted); text-decoration: none; font-size: var(--fs-sm); }
.site-footer ul a:hover { color: var(--text); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 2rem; margin-top: 3rem; border-top: 1px solid var(--line); color: var(--dim); font-size: var(--fs-xs); }
.foot-base p { margin: 0; }

/* ── Bannière témoins ───────────────────────────────────── */
.cookie { position: fixed; inset: auto 16px 16px; z-index: 90; display: flex; justify-content: center; }
.cookie-in { width: min(100%, 760px); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.25rem 1.4rem; font-size: var(--fs-sm); color: var(--muted); }
.cookie-t { color: var(--text); font-weight: 800; margin-bottom: .35rem; }
.cookie-opts { display: flex; flex-wrap: wrap; gap: 1rem; margin: .5rem 0 1rem; }
.cookie-opts label { display: inline-flex; gap: .45rem; align-items: center; color: var(--text); }
.cookie-btns { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }

/* Révélation douce au défilement */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Erreurs 404 / 500 */
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.err-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold); margin-bottom: 1rem; }

/* Pages géographiques : forcer la devise du marché présenté */
html [data-force-market="US"] .only-us, html [data-force-market="CA"] .only-ca { display: inline !important; }
html [data-force-market="US"] .only-ca, html [data-force-market="CA"] .only-us { display: none !important; }

/* ── Accueil IPTV premium ───────────────────────────────── */
.demo-q { position: absolute; top: 8px; right: 8px; font: 800 10px/1 var(--font); font-style: normal; letter-spacing: .06em; color: var(--gold-ink); background: linear-gradient(135deg, var(--gold-2), var(--gold)); padding: 4px 6px; border-radius: 5px; }
.demo-epg { display: grid; gap: 6px; align-content: start; }
.demo-epg div { display: flex; gap: 5px; align-items: center; }
.demo-epg b { width: 54px; flex: none; font-size: 9.5px; color: var(--muted); font-weight: 700; }
.demo-epg i { height: 18px; border-radius: 5px; background: linear-gradient(135deg, #15223d, #0e172b); border: 1px solid var(--line); }
.demo-epg div:first-child i:first-of-type { background: rgba(229,184,92,.18); border-color: rgba(229,184,92,.45); }

.pstrip { list-style: none; margin: clamp(2.5rem, 2rem + 3vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-2); border-radius: var(--r); background: linear-gradient(90deg, rgba(229,184,92,.06), rgba(91,151,255,.05)); }
.pstrip li { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.1rem .75rem; font-weight: 700; font-size: var(--fs-sm); text-align: center; }
.pstrip li + li { border-left: 1px solid var(--line); }
.pstrip .ic { color: var(--gold); }
@media (max-width: 900px) { .pstrip { grid-template-columns: 1fr 1fr; } .pstrip li + li { border-left: 0; } .pstrip li { justify-content: flex-start; border-top: 1px solid var(--line); } .pstrip li:nth-child(-n+2) { border-top: 0; } .pstrip li:nth-child(even) { border-left: 1px solid var(--line); } .pstrip li:last-child { grid-column: 1 / -1; border-left: 0; } }

.what-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.what-grid .lead strong { color: var(--text); }
.what-grid > div > p:not(.lead):not(.eyebrow) { color: var(--muted); }
.what-grid .more { color: var(--gold-2); font-weight: 700; display: inline-flex; gap: .35rem; align-items: center; text-decoration: none; }
@media (max-width: 960px) { .what-grid { grid-template-columns: 1fr; } }
.cmp table { font-size: var(--fs-sm); }
.cmp th small { display: block; font-size: 10px; letter-spacing: .1em; color: var(--gold); margin-top: .2rem; }
.cmp thead th { vertical-align: bottom; }
.cmp td, .cmp thead th:not(:first-child) { text-align: center; color: var(--muted); }
.cmp .cmp-us { background: rgba(229,184,92,.07); color: var(--text); }
.cmp thead .cmp-us { color: var(--gold-2); text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); }
.cmp-y, .cmp-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.cmp-y { background: rgba(67,214,146,.14); color: var(--ok); }
.cmp-n { background: rgba(255,122,122,.12); color: var(--err); }

.adv { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.5rem); }
.adv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.adv-row.rev .adv-txt { order: 2; }
.adv-txt h3 { font-size: var(--fs-xl); margin-bottom: .5rem; }
.adv-txt p { color: var(--muted); margin: 0; max-width: 46ch; }
@media (max-width: 800px) { .adv-row { grid-template-columns: 1fr; } .adv-row.rev .adv-txt { order: 0; } }

.pv { border-radius: 16px; background: #060a13; border: 1px solid var(--line-2); padding: 16px; min-height: 180px; display: grid; gap: 12px; align-content: center; }
.pv-screen { position: relative; aspect-ratio: 16 / 8; border-radius: 10px; overflow: hidden; background: radial-gradient(120% 120% at 15% 10%, #24417d 0%, #0d1835 45%, #060b17 100%); display: flex; gap: 6px; align-items: flex-start; justify-content: flex-end; padding: 10px; max-width: 100%; }
.pv-grad { position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(229,184,92,.18)); }
.q { position: relative; z-index: 1; font: 800 11px/1 var(--font); padding: 5px 8px; border-radius: 6px; color: var(--muted); border: 1px solid var(--line-2); background: rgba(7,11,20,.6); }
.q-on { color: var(--gold-ink); background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: transparent; }
.pv-posters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pv-posters i { aspect-ratio: 2 / 3; border-radius: 7px; background: linear-gradient(160deg, #1d3263, #0d1630); border: 1px solid var(--line); }
.pv-posters i:nth-child(3n) { background: linear-gradient(160deg, #3a2f18, #141008); }
.pv-posters i:nth-child(4n+1) { background: linear-gradient(160deg, #152a3a, #0a1520); }
.pv-tabs { display: flex; gap: 14px; font-size: var(--fs-xs); color: var(--dim); font-weight: 700; }
.pv-tabs b { color: var(--gold-2); }
.pv-epg { display: grid; gap: 10px; }
.pv-epg div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; }
.pv-epg small { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; }
.pv-epg i { height: 22px; border-radius: 6px; background: #13203a; border: 1px solid var(--line); display: block; }
.pv-epg i.on { background: rgba(229,184,92,.2); border-color: rgba(229,184,92,.5); }
.pv-epg i.rp { background: rgba(91,151,255,.18); border-color: rgba(91,151,255,.45); }
.pv-dev { position: relative; min-height: 200px; display: block; }
.pv-dev .ic { position: absolute; color: var(--blue); }
.pv-dev .d1 { width: 46%; height: auto; left: 8%; top: 12%; color: var(--gold); }
.pv-dev .d2 { width: 14%; height: auto; left: 57%; top: 50%; }
.pv-dev .d3 { width: 22%; height: auto; right: 6%; top: 10%; }
.pv-dev .d4 { width: 12%; height: auto; right: 12%; bottom: 10%; }
.pv-chat { gap: 10px; }
.pv-chat p { margin: 0; padding: .65rem .9rem; border-radius: 14px; font-size: var(--fs-sm); max-width: 85%; }
.pv-chat .b1 { background: var(--surface-2); color: var(--text); justify-self: end; border-bottom-right-radius: 4px; }
.pv-chat .b2 { background: rgba(229,184,92,.14); color: var(--gold-2); border-bottom-left-radius: 4px; }
.pv-chat small { color: var(--dim); font-size: var(--fs-xs); }
.btn-sm { white-space: nowrap; }
@media (max-width: 900px) { .pstrip li { text-align: left; } }
.brand-name { white-space: nowrap; }
.brand-mark img { width: 42px; height: 42px; display: block; }
.brand-name { font-size: 1.2rem; letter-spacing: -.025em; }
.brand-accent { color: var(--gold-2); }
.plan-save-row { min-height: 1.4em; margin: 0 0 .35rem; font-size: var(--fs-sm); color: var(--muted); }
.plan-save b { color: var(--ok); font-weight: 700; }
.plan-save b { white-space: nowrap; }

/* Sélecteur du nombre d'écrans */
.screens { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; padding: 1.1rem 1.35rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.screens-txt { min-width: 0; flex: 1 1 280px; }
.screens-h { margin: 0; font-weight: 800; }
.screens-note { margin: .2rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
.screens-btns { display: flex; gap: .4rem; }
.screens-btns button { width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface-2); color: var(--text); font: 800 var(--fs-md) var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.screens-btns button:hover { border-color: var(--gold); }
.screens-btns button[aria-checked="true"] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: transparent; color: var(--gold-ink); }
.plan-screens { display: block; font-size: var(--fs-xs); color: var(--gold-2); font-weight: 700; letter-spacing: 0; min-height: 1.2em; }
.paybar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.25rem; color: var(--muted); font-size: var(--fs-sm); }
.paybar > .ic { color: var(--ok); }
.paybar ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.paybar li { padding: .25rem .65rem; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--text); font-weight: 700; font-size: var(--fs-xs); }
.paybar-note { color: var(--dim); font-size: var(--fs-xs); }
