/* ==========================================================================
   IPTV Abonnement — Design system (mobile-first)
   style.css : tokens, base, layout, composants
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F5FC;
  --bg-alternate: #F1ECFA;
  --primary: #6D4AFF;
  --primary-hover: #5839DD;
  --primary-light: #8A6BFF;
  --primary-soft: #E9E1FF;
  --primary-dark: #342079;
  --text-primary: #16122B;
  --text-secondary: #5F5B78; /* légèrement assombri vs #6E6A86 pour un contraste AA sur fond lilas */
  --border: #E6DFF5;
  --success: #22C55E;
  --success-dark: #15803D;
  --danger: #C62845;
  --footer: #131126;
  --shadow-sm: 0 4px 18px rgba(56,44,115,.06);
  --shadow-md: 0 14px 40px rgba(56,44,115,.08);
  --shadow-lg: 0 24px 60px rgba(56,44,115,.14);
  --shadow-btn: 0 10px 24px -6px rgba(109,74,255,.55);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --container-width: 1280px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 68px;
  --font: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --grad-primary: linear-gradient(135deg, #8A6BFF 0%, #6D4AFF 45%, #4A2FD0 100%);
  --grad-dark: linear-gradient(135deg, #2A1670 0%, #1B1450 45%, #0E1638 100%);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.15; letter-spacing: -.022em; font-weight: 800; color: var(--text-primary); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.28rem); letter-spacing: -.012em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary-soft); color: var(--primary-dark); }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container-width); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-secondary); }
.section--lilac { background: var(--bg-alternate); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--text-secondary); font-size: 1.06rem; margin: 0; }
.section-head--left { margin-inline: 0; text-align: left; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.accent { color: var(--primary); }
.accent-grad { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-secondary); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-full);
  background: var(--primary-soft); color: var(--primary-dark);
  font-size: .82rem; font-weight: 700; border: 1px solid #D9CCFF;
}
.badge svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border: 0; border-radius: var(--radius-full);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s, background-color .18s, color .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(109,74,255,.6); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: #fff; color: var(--text-primary); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { color: var(--primary); border-color: #CDBEFF; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--primary-dark); }
.btn--light:hover { color: var(--primary); transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 15px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(56,44,115,.06); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; flex: none; }
.logo:hover { color: var(--text-primary); }
.logo svg { width: 38px; height: 38px; }
.logo span span { color: var(--primary); }
.header-cta { margin-left: auto; min-height: 42px; padding: 10px 20px; font-size: .95rem; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--text-primary);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-open { display: none; }

.site-nav { display: none; }
.nav-open .site-nav {
  display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; overflow-y: auto; padding: 12px var(--gutter) 40px;
  border-top: 1px solid var(--border);
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--border); }
.nav-link, .nav-sub a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 4px; text-decoration: none; color: var(--text-primary); font-weight: 600;
}
.nav-link[aria-current="page"], .nav-item.is-active > .nav-row .nav-link { color: var(--primary); }
.nav-row { display: flex; align-items: center; }
.nav-row .nav-link { flex: 1; }
.sub-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text-secondary); border-radius: 8px; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-sub { list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; border-left: 2px solid var(--primary-soft); }
.nav-sub a { padding: 9px 4px; font-weight: 500; color: var(--text-secondary); font-size: .95rem; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { color: var(--primary); }
.nav-mobile-cta { margin-top: 20px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .86rem; color: var(--text-secondary); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #B4AECB; }
.breadcrumbs a { color: var(--text-secondary); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current] { color: var(--text-primary); font-weight: 600; }

/* ---------- Hero (accueil) ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); overflow: hidden; background: linear-gradient(180deg, #FBFAFF 0%, #FFFFFF 70%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(109,74,255,.13) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.halo { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.halo--1 { width: 520px; height: 520px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(138,107,255,.38), transparent 65%); }
.halo--2 { width: 380px; height: 380px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(233,225,255,.9), transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero-copy h1 { margin: 18px 0 18px; }
.hero-copy h1 .w { display: inline-block; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--text-secondary); max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--success-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-note { margin-top: 20px; font-size: .86rem; color: var(--text-secondary); }

.hero-visual { position: relative; max-width: 620px; margin-inline: auto; width: 100%; }
.mockup { position: relative; width: 100%; aspect-ratio: 640 / 520; }
.mockup > svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 50px rgba(52,32,121,.22)); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.94); border: 1px solid var(--border); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .82rem; line-height: 1.3;
}
.float-card strong { display: block; font-size: 1.02rem; color: var(--text-primary); }
.float-card span { color: var(--text-secondary); }
.float-card .fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.float-card .fc-icon svg { width: 20px; height: 20px; }
.float-card--price { left: -4%; top: 8%; }
.float-card--price .fc-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.float-card--guide { right: -2%; bottom: 10%; }
.float-card--pay { left: 4%; bottom: -2%; display: none; }

/* ---------- Strip de réassurance ---------- */
.assurance { position: relative; z-index: 2; margin-top: -36px; }
.assurance-bar {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.assurance-item { background: #fff; padding: 22px 18px; display: flex; gap: 14px; align-items: center; }
.assurance-item .ai-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.assurance-item .ai-icon svg { width: 22px; height: 22px; }
.assurance-item strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.assurance-item span { font-size: .85rem; color: var(--text-secondary); }

/* ---------- Device chips ---------- */
.device-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.device-chip {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text-primary); font-weight: 600; font-size: .95rem;
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s, border-color .2s;
}
.device-chip svg { width: 24px; height: 24px; color: var(--primary); flex: none; }
.device-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D3C6FF; color: var(--text-primary); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #DCD1FA; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--text-secondary); margin: 0; }
.card p + p { margin-top: .7em; }
.card-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }
.card-link { margin-top: 16px; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { color: inherit; }
.features { grid-template-columns: 1fr; }

/* Steps */
.steps { grid-template-columns: 1fr; counter-reset: step; }
.step { padding-top: 26px; }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-primary); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; box-shadow: var(--shadow-btn);
}
.steps-cta { margin-top: 36px; text-align: center; }

/* ---------- Pricing ---------- */
.pricing-wrap { position: relative; max-width: 560px; margin-inline: auto; }
.pricing-wrap::before { content: ""; position: absolute; inset: 8% 0 -6%; background: radial-gradient(closest-side, rgba(138,107,255,.32), transparent); filter: blur(30px); z-index: 0; }
.price-card {
  position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg);
  border: 2px solid var(--primary); box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 44px);
  text-align: center;
}
.price-ribbon { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--grad-primary); color: #fff; font-weight: 700; font-size: .82rem; padding: 7px 18px; border-radius: var(--radius-full); box-shadow: var(--shadow-btn); white-space: nowrap; }
.price-card h3 { font-size: 1.35rem; margin: 10px 0 4px; }
.price-duration { color: var(--text-secondary); font-weight: 600; }
.price-amount { display: flex; align-items: flex-start; justify-content: center; gap: 4px; margin: 18px 0 2px; color: var(--text-primary); }
.price-amount .num { font-size: clamp(3.6rem, 9vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price-amount .cur { font-size: 1.8rem; font-weight: 800; margin-top: 6px; color: var(--primary); }
.price-old { color: var(--text-secondary); text-decoration: line-through; font-weight: 600; margin-right: 8px; }
.price-sub { color: var(--text-secondary); font-size: .95rem; margin-bottom: 22px; }
.price-sub strong { color: var(--primary); }
.price-list { list-style: none; padding: 0; margin: 0 auto 26px; text-align: left; display: grid; gap: 11px; max-width: 380px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; }
.price-list svg { width: 20px; height: 20px; color: var(--success-dark); flex: none; margin-top: 3px; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.pay-methods li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-full); font-size: .82rem; font-weight: 600; color: var(--text-secondary); background: var(--bg-secondary); }
.pay-methods svg { width: 16px; height: 16px; color: var(--primary); }
.price-legal { font-size: .8rem; color: var(--text-secondary); margin: 16px 0 0; }

/* ---------- Trust cards ---------- */
.trust { grid-template-columns: 1fr; }
.trust-card { display: flex; flex-direction: column; gap: 14px; }
.trust-card .tc-head { display: flex; align-items: center; gap: 12px; }
.trust-card .tc-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-primary); color: #fff; flex: none; }
.trust-card .tc-icon svg { width: 22px; height: 22px; }
.trust-card .tc-head strong { display: block; font-size: 1rem; }
.trust-card .tc-head span { font-size: .82rem; color: var(--text-secondary); }
.trust-card .tc-tag { align-self: flex-start; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); background: #E8F8EE; color: var(--success-dark); }

/* ---------- Device grid ---------- */
.device-grid { grid-template-columns: repeat(2, 1fr); }
.device-card { text-align: center; padding: 24px 14px; text-decoration: none; color: var(--text-primary); }
.device-card .card-icon { margin: 0 auto 12px; }
.device-card strong { display: block; font-size: .98rem; }
.device-card span { font-size: .8rem; color: var(--text-secondary); }

/* ---------- Bento (univers) ---------- */
.bento { grid-template-columns: 1fr; }
.bento-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 260px; color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; text-decoration: none; }
.bento-card:hover { color: #fff; }
.bento-card .bento-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.bento-card:hover .bento-art { transform: scale(1.04); }
.bento-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(14,10,40,.82) 100%); }
.bento-card h3 { color: #fff; font-size: clamp(1.2rem, 2vw, 1.55rem); margin-bottom: 6px; }
.bento-card p { color: rgba(255,255,255,.86); margin: 0; font-size: .95rem; }
.bento-tag { align-self: flex-start; margin-bottom: auto; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: var(--radius-full); font-size: .78rem; font-weight: 700; }

/* ---------- Players ---------- */
.players { grid-template-columns: 1fr; }
.player-card .pc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.player-mono { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--grad-primary); flex: none; }
.player-mono--b { background: linear-gradient(135deg, #22C1A6, #0F8A7E); }
.player-mono--c { background: linear-gradient(135deg, #3B82F6, #1E40AF); }
.player-mono--d { background: linear-gradient(135deg, #F59E0B, #C2410C); }
.player-card h3 { margin: 0; }
.player-card .pc-plat { font-size: .82rem; color: var(--text-secondary); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; padding: 0; }
.tags li { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-full); background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border); }
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-md);
  background: var(--primary-soft); border: 1px solid #D6C9FF; color: var(--primary-dark); font-size: .95rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--primary); }
.notice p { margin: 0; }
.notice--warn { background: #FFF7E8; border-color: #F6DDAA; color: #6B4400; }
.notice--warn svg { color: #B26A00; }

/* ---------- Prose (contenu éditorial & guides) ---------- */
.prose { max-width: 780px; font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 2.1em; }
.prose h3 { margin-top: 1.7em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: #3D3956; }
.prose li { margin-bottom: .4em; }
.prose a { font-weight: 600; }
.prose table { margin: 1.4em 0; font-size: .95rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: block; overflow-x: auto; }
.prose table thead th { background: var(--bg-alternate); color: var(--text-primary); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; min-width: 120px; }
.prose tr:last-child td { border-bottom: 0; }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 4px solid var(--primary); background: var(--bg-secondary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose code { background: var(--bg-alternate); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.answer-box {
  background: linear-gradient(135deg, #F5F1FF, #FFFFFF); border: 1px solid #D9CCFF; border-left: 5px solid var(--primary);
  border-radius: var(--radius-md); padding: 20px 22px; margin: 0 0 2em; font-size: 1.06rem;
}
.answer-box > strong:first-child { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.answer-box p { margin: 0; color: var(--text-primary); }
.editorial-cols { display: grid; gap: 28px 48px; }
.editorial-cols .prose { max-width: none; }

.toc { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 22px; margin: 0 0 2em; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.toc a:hover { text-decoration: underline; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, #F7F4FF 0%, #FFFFFF 100%); border-bottom: 1px solid var(--border); }
.page-hero .halo--1 { width: 420px; height: 420px; top: -180px; right: -100px; }
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 14px 0 14px; }
.page-hero .lead { font-size: 1.1rem; color: var(--text-secondary); max-width: 720px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--text-secondary); margin-top: 16px; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta svg { width: 16px; height: 16px; color: var(--primary); }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 24px; }

.page-layout { display: grid; gap: 40px; }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-stack { display: grid; gap: 20px; align-content: start; }
.mini-offer { border: 2px solid var(--primary); text-align: left; }
.mini-offer .mo-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 6px 0; }
.mini-offer .mo-price span { font-size: 1.2rem; color: var(--primary); }
.mini-offer ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; font-size: .92rem; }
.mini-offer li { display: flex; gap: 8px; color: var(--text-secondary); }
.mini-offer li svg { width: 18px; height: 18px; color: var(--success-dark); flex: none; margin-top: 3px; }
.aside-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; text-decoration: none; font-weight: 600; font-size: .94rem; border-bottom: 1px dashed var(--border); }
.aside-links svg { width: 16px; height: 16px; }

/* Related */
.related { grid-template-columns: 1fr; }
.related .card h3 { font-size: 1.08rem; }
.related .card .card-kicker { font-size: .76rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: block; }

/* Sources */
.sources { margin-top: 2.5em; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; font-size: .94rem; }
.sources h2 { font-size: 1.1rem; margin: 0 0 10px; }
.sources ul { margin: 0; padding-left: 1.1em; }
.sources li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; overflow: hidden; }
.faq-item[open] { border-color: #CDBEFF; box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: inherit; margin: 0; letter-spacing: -.005em; line-height: 1.4; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .2s, color .2s; }
.faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-answer { padding: 0 22px 20px; color: var(--text-secondary); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-more { text-align: center; margin-top: 28px; }

/* ---------- CTA final ---------- */
.cta-final { padding-block: var(--section-y); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(22px, 3vw, 36px);
  background: var(--grad-dark); color: #fff; text-align: center; padding: clamp(44px, 7vw, 88px) clamp(22px, 5vw, 64px);
}
.cta-box::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; left: 50%; top: -360px; transform: translateX(-50%); background: radial-gradient(circle, rgba(138,107,255,.55), transparent 62%); }
.cta-box::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.cta-box h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta-box p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 620px; margin: 0 auto 30px; }
.cta-box .cta-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; list-style: none; padding: 0; margin: 26px 0 0; font-size: .9rem; color: rgba(255,255,255,.82); }
.cta-box .cta-points li { display: inline-flex; gap: 8px; align-items: center; }
.cta-box .cta-points svg { width: 18px; height: 18px; color: #A7F3C0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #BDB8D6; padding: clamp(56px, 7vw, 80px) 0 28px; font-size: .94rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
.footer-brand p { margin: 16px 0 18px; color: #A9A4C4; max-width: 320px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.12rem; text-decoration: none; }
.footer-logo:hover { color: #fff; }
.footer-logo svg { width: 38px; height: 38px; }
.footer-logo span span { color: #B9A6FF; }
.site-footer h2 { color: #fff; font-size: .95rem; letter-spacing: 0; margin: 0 0 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #C9C4E2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-wa { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius-full); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-weight: 600; }
.footer-wa svg { width: 20px; height: 20px; color: #4ADE80; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 10px; font-size: .84rem; color: #9893B4; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1FA855; color: #fff; box-shadow: 0 12px 28px -6px rgba(16,120,60,.55);
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.04); }
.wa-float .wa-label { position: absolute; right: 70px; white-space: nowrap; background: #fff; color: var(--text-primary); font-size: .82rem; font-weight: 700; padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow-md); opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; }

/* ---------- Divers ---------- */
.todo { background: #FFF2C6; color: #6B4400; padding: 1px 6px; border-radius: 5px; font-weight: 600; font-size: .92em; }
.reading-progress { position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%; background: var(--grad-primary); transform-origin: 0 50%; transform: scaleX(0); }
.split { display: grid; gap: 40px; align-items: center; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--success-dark); flex: none; margin-top: 3px; }
.kpi-note { font-size: .82rem; color: var(--text-secondary); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; }
.table-wrap table { min-width: 620px; font-size: .94rem; }
.table-wrap th, .table-wrap td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap thead th { background: var(--bg-alternate); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.yes { color: var(--success-dark); font-weight: 700; }
.partial { color: #9A5B00; font-weight: 700; }
.no { color: var(--danger); font-weight: 700; }
.contact-cards { grid-template-columns: 1fr; }
.post-list { grid-template-columns: 1fr; }
.post-card .post-meta { font-size: .8rem; color: var(--text-secondary); margin-top: 14px; display: block; }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.accent-light { background: linear-gradient(90deg, #C4B5FF, #9B82FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mo-sub { margin: 0; }
.nav-item.is-active > .nav-link { color: var(--primary); }
ol.steps { list-style: none; padding: 0; margin: 0; }
.players + .notice { margin-top: 28px; }
.float-card div > span { display: block; }
.float-card--price { left: -2%; top: -3%; }
.bento-card .bento-art { object-fit: cover; }
.prose .faq-list { margin-top: 1em; }
.prose .pricing-wrap { margin: 2em auto; }
.prose .price-list li, .prose .pay-methods li { color: inherit; margin: 0; }
.prose .related { margin-top: 1em; }
.prose ol.steps-list { counter-reset: s; list-style: none; padding: 0; }
.prose ol.steps-list > li { counter-increment: s; position: relative; padding: 4px 0 14px 50px; margin: 0; }
.prose ol.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 11px; background: var(--grad-primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.h-aside { font-size: 1rem; margin: 0 0 8px; }
.aside-stack .aside-card { display: grid; gap: 20px; }
.mini-offer .mo-price { color: var(--text-primary); }
.card-kicker { font-size: .76rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: block; }
h2.h3 { font-size: clamp(1.12rem, 1.6vw, 1.28rem); letter-spacing: -.012em; }
.error-page .hero-actions { justify-content: center; margin-top: 24px; }
.contact-cards .card p + p { margin-top: .7em; }
/* Grilles : empêche les pistes de s'élargir au contenu minimal (tableaux, mots longs) */
.grid > *, .page-layout > *, .hero-grid > *, .editorial-cols > *, .split > *, .footer-grid > * { min-width: 0; }
.page-layout { grid-template-columns: minmax(0, 1fr); }
.device-chip { min-width: 0; overflow-wrap: anywhere; }
.prose { overflow-wrap: break-word; }
.nav-open body { overflow: hidden; }
@media (min-width: 1280px) { .nav-open body { overflow: visible; } }

/* ==========================================================================
   INTÉGRATION MAQUETTE (reference-design.png) — header + Hero accueil
   Mesures relevées sur la maquette 1752 px, exprimées en --u (=1vw plafonné)
   ========================================================================== */
:root {
  --brand-deep: #6314CB;
  --brand-ink: #141530;
  --grad-primary: linear-gradient(135deg, #7C2BE3 0%, #6616D4 52%, #5A0EC8 100%);
  --shadow-btn: 0 12px 26px -8px rgba(99, 20, 203, .55);
  --u: min(1vw, 17.52px);
}
.container--wide { max-width: 1752px; padding-inline: clamp(20px, calc(var(--u) * 3.68), 64px); }

/* Header */
.site-header { background: rgba(252, 250, 253, .97); }
.logo { gap: 12px; font-size: 1.32rem; letter-spacing: -.025em; color: var(--brand-ink); }
.logo svg { width: 44px; height: 42px; }
.logo span span { color: var(--brand-deep); }
.header-cta { background: var(--grad-primary); }

/* Hero */
.hero--ref { position: relative; isolation: isolate; overflow: hidden; padding: 0; background: linear-gradient(180deg, #FBF8FE 0%, #FBF7FE 60%, #F7F0FE 100%); }
.hero--ref::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hb-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hb-glow--1 { width: 46vw; height: 46vw; right: 6vw; top: -16vw; background: radial-gradient(circle, rgba(214, 192, 255, .55), transparent 65%); }
.hb-glow--2 { width: 30vw; height: 30vw; left: 26vw; bottom: -18vw; background: radial-gradient(circle, rgba(203, 170, 255, .35), transparent 70%); }
.hb-wave { position: absolute; left: 0; bottom: 0; width: 58%; height: 24%; }

.hero-visual { position: relative; z-index: 1; }
.hero-devices { position: relative; container-type: inline-size; aspect-ratio: 1062 / 801; }
.hero-devices__img { width: 100%; height: 100%; display: block; }
.price-float { position: absolute; left: 60.85%; top: 12.1%; width: 31.6%; height: 16%; rotate: -6deg; }
.price-float__card {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 2.6cqw;
  background: #FFFFFF; border: 1.5px solid #E2D0FC; border-radius: 2.6cqw;
  box-shadow: 0 0 0 .45cqw rgba(255, 255, 255, .55), 0 1.6cqw 4.4cqw rgba(99, 20, 203, .26), 0 0 2.6cqw rgba(165, 120, 255, .38);
}
.price-float__icon { width: 6.4cqw; height: 6.4cqw; color: var(--brand-deep); flex: none; }
.price-float p { margin: 0; display: flex; flex-direction: column; align-items: center; line-height: 1.02; }
.price-float strong { font-size: 5.1cqw; font-weight: 800; letter-spacing: -.035em; color: #5E10CB; white-space: nowrap; }
.price-float span { font-size: 2.55cqw; font-weight: 700; color: #1B1A33; margin-top: .9cqw; }
.price-sparks { position: absolute; left: 89.2%; top: 4.8%; width: 7.2%; height: auto; }

.hero-inner { position: relative; z-index: 2; }
.hero--ref .hero-copy h1 { color: var(--brand-ink); font-weight: 800; letter-spacing: -.034em; line-height: 1.13; margin: 0; }
.hero--ref .hero-copy h1 .price { color: #5E10CB; }
.hero-badge { display: inline-flex; align-items: center; gap: .7em; border-radius: var(--radius-full); background: #EEE1FD; color: #1B1830; font-weight: 600; }
.hero-badge svg { color: #6209CD; flex: none; }
.hero--ref .hero-lead { color: #45415E; max-width: none; margin: 0; }
.hero--ref .hero-lead strong { color: var(--brand-ink); }
.hero-feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.hero-feats li { display: flex; align-items: center; gap: 10px; line-height: 1.35; color: #6E6A86; }
.hero-feats svg { color: var(--brand-deep); flex: none; }
.hero-feats strong { display: block; color: var(--brand-ink); font-weight: 700; }
.btn--outline { background: #FFFFFF; color: var(--brand-ink); border: 2px solid var(--brand-deep); }
.btn--outline:hover { color: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(99, 20, 203, .5); }
.btn--outline svg { color: var(--brand-deep); }
.btn--hero svg { width: 1.2em; height: 1.2em; }
.btn--primary.btn--hero svg { transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.btn--primary.btn--hero:hover svg { transform: translateX(4px); }

/* Mobile / tablette : texte puis visuel */
@media (max-width: 1023px) {
  .hero--ref { display: flex; flex-direction: column; }
  .hero-inner { order: 1; padding-top: 28px; }
  .hero-visual { order: 2; margin: 8px 0 -6px; }
  .hero-badge { padding: 9px 16px; font-size: .9rem; }
  .hero-badge svg { width: 20px; height: 20px; }
  .hero--ref .hero-copy h1 { font-size: clamp(2.05rem, 8.4vw, 3.4rem); margin-top: 18px; }
  .hero--ref .hero-copy h1 br { display: none; }
  .hero--ref .hero-lead { font-size: 1.04rem; line-height: 1.6; margin-top: 16px; }
  .hero-feats { margin-top: 22px; font-size: .9rem; }
  .hero-feats svg { width: 30px; height: 30px; }
  .hero-actions { margin-top: 26px; gap: 12px; }
  .btn--hero { flex: 1 1 220px; min-height: 54px; }
  .hb-wave { width: 100%; height: 14%; }
}

/* Desktop : composition de la maquette */
@media (min-width: 1024px) {
  .header-inner { height: 76px; }
  .hero-visual { position: absolute; right: 0; bottom: -10px; width: calc(var(--u) * 60.6); }
  .hero-inner { min-height: calc(var(--u) * 60.6 * .7542 - 6px); padding-top: calc(var(--u) * 4.05); padding-bottom: calc(var(--u) * 7.2); }
  .hero-copy { max-width: calc(var(--u) * 54); }
  .hero-badge { height: calc(var(--u) * 3.37); padding: 0 calc(var(--u) * 2.05) 0 calc(var(--u) * 1.75); font-size: calc(var(--u) * 1.16); }
  .hero-badge svg { width: calc(var(--u) * 1.75); height: calc(var(--u) * 1.75); }
  .hero--ref .hero-copy h1 { font-size: calc(var(--u) * 4.62); margin-top: calc(var(--u) * 1.35); }
  .hero--ref .hero-lead { font-size: calc(var(--u) * 1.47); line-height: 1.39; margin-top: calc(var(--u) * 1.75); }
  .hero--ref .hero-lead span { display: block; }
  .hero-feats { display: flex; gap: calc(var(--u) * 1.75); margin-top: calc(var(--u) * 3.1); font-size: calc(var(--u) * 1.06); }
  .hero-feats li { gap: calc(var(--u) * .8); }
  .hero-feats svg { width: calc(var(--u) * 2.35); height: calc(var(--u) * 2.35); }
  .hero-actions { gap: calc(var(--u) * 1.3); margin-top: calc(var(--u) * 4.1); }
  .btn--hero { height: calc(var(--u) * 3.98); min-width: calc(var(--u) * 17.6); padding: 0 calc(var(--u) * 2.1); font-size: calc(var(--u) * 1.2); gap: calc(var(--u) * .9); }
}
@media (min-width: 1280px) {
  .site-nav { margin-left: auto; }
  .nav-list { gap: 0; }
  .nav-link { font-size: 15.5px; font-weight: 600; color: #1B1830; padding: 10px 17px; position: relative; }
  .nav-row .nav-link { padding-right: 4px; }
  .nav-link:hover { background: none; color: var(--brand-deep); }
  .nav-link[aria-current="page"], .nav-item.is-active > .nav-link, .nav-item.is-active > .nav-row .nav-link { color: #6E1BDF; }
  .nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -9px; height: 3px; border-radius: 3px; background: #6E1BDF; }
  .header-cta { margin-left: clamp(18px, 3.2vw, 46px); min-height: 44px; padding: 0 30px; font-size: 15.5px; }
}
/* — Passe 2 : calage sur la maquette — */
.logo { font-size: 1.66rem; gap: 12px; }
.logo svg { width: 48px; height: 46px; }
.hero--ref .hero-copy h1 { letter-spacing: -.025em; }
.hero-badge { font-weight: 600; }
.hero--ref .hero-lead { font-weight: 500; color: #3A3654; }
.hero-feats li { color: #5F5B78; }
@media (min-width: 1024px) {
  .hero--ref .hero-copy h1 { font-size: calc(var(--u) * 4.4); line-height: 1.04; margin-top: calc(var(--u) * .7); }
  .hero--ref .hero-lead { font-size: calc(var(--u) * 1.57); line-height: 1.33; margin-top: calc(var(--u) * 1.2); }
  .hero-feats svg { width: calc(var(--u) * 2.5); height: calc(var(--u) * 2.5); }
}
@media (min-width: 1280px) {
  .nav-link { font-size: 15px; padding: 10px 17px; }
}
@media (min-width: 1280px) {
  .nav-link { font-size: 14.6px; padding: 10px 17.5px; }
  .logo { margin-left: 12px; }
  .header-cta { margin-left: 28px; }
}
@media (min-width: 1280px) {
  .site-nav .nav-link { font-size: 14.6px; font-weight: 600; padding: 10px 17.5px; color: #1B1830; }
  .site-nav .nav-row .nav-link { padding-right: 2px; }
  .site-nav .nav-link:hover { background: none; color: var(--brand-deep); }
  .site-nav .nav-link[aria-current="page"], .site-nav .nav-item.is-active > .nav-link { color: #6E1BDF; }
  .site-nav .sub-toggle { padding: 6px 4px; color: #1B1830; }
  .site-header .header-cta { margin-left: 28px; }
}
.site-nav .nav-link { white-space: nowrap; }
@media (min-width: 1280px) { .site-header .header-cta { margin-left: 10px; } }
.sub-toggle { flex: none; }
.price-float { top: 11.2%; }
@media (max-width: 1279px) {
  .logo { font-size: 1.28rem; gap: 10px; }
  .logo svg { width: 38px; height: 36px; }
}
@media (max-width: 1023px) {
  .hero--ref .hero-copy h1 br { display: inline; }
}
@media (max-width: 1023px) { .hero-visual { margin-bottom: -18px; } }
@media (min-width: 1024px) {
  .hero-feats { font-size: max(13px, calc(var(--u) * 1.06)); }
  .hero--ref .hero-lead { font-size: max(16px, calc(var(--u) * 1.57)); }
  .hero-badge { font-size: max(13.5px, calc(var(--u) * 1.16)); }
  .btn--hero { font-size: max(15px, calc(var(--u) * 1.2)); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-visual { width: calc(var(--u) * 57); right: -2.5vw; }
  .hero--ref .hero-copy h1 { font-size: calc(var(--u) * 4.15); }
  .hero-feats { gap: calc(var(--u) * 1.3); }
}
@media (min-width: 1024px) and (max-width: 1279px) { .hero-visual { right: -1vw; width: calc(var(--u) * 56); } }
@media (min-width: 1280px) { .site-header .site-nav { margin-left: auto; } }

/* ---------- Deux offres : test 1 mois + abonnement 12 mois ---------- */
.pricing-wrap--duo { max-width: 940px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.pricing-wrap--duo::before { inset: 10% 10% -4%; }
.pricing-wrap--duo .price-card { display: flex; flex-direction: column; }
.pricing-wrap--duo .price-card .btn { margin-top: auto; }
.pricing-wrap--duo .price-list { margin-bottom: 26px; }
.price-card--test { border: 1.5px solid var(--border); box-shadow: var(--shadow-md); }
.price-card--test .price-ribbon { background: #fff; color: var(--brand-deep); border: 1.5px solid #D9C6FB; box-shadow: var(--shadow-sm); }
.price-card--test .price-amount .num { font-size: clamp(3rem, 7vw, 3.8rem); }
.price-card--featured { border: 2px solid var(--brand-deep); }
.pricing-foot { max-width: 940px; margin: 26px auto 0; text-align: center; }
.pricing-foot .pay-methods { margin-top: 0; }
.prose .pricing-foot .pay-methods li { margin: 0; }
.mo-test { font-size: .86rem; margin: 12px 0 0; text-align: center; color: var(--text-secondary); }
.hero-test { margin: 14px 0 0; font-size: .95rem; color: #5F5B78; }
.hero-test a { font-weight: 700; color: var(--brand-deep); }
@media (min-width: 760px) {
  .pricing-wrap--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card--featured { transform: translateY(-10px); }
}
@media (min-width: 1024px) {
  .hero-test { font-size: max(14px, calc(var(--u) * 1.04)); margin-top: calc(var(--u) * 1.1); }
  .hero-inner { padding-bottom: calc(var(--u) * 4.9); }
}
/* Illustration HD (tools/import_hero.py) : carte prix calée sur le coin du téléviseur */
.price-float { top: 23.9%; }
.price-sparks { top: 17.5%; }
/* Mobile/tablette : l'illustration HD a des marges transparentes (place du texte en desktop) → on les rogne */
@media (max-width: 1023px) {
  .hero-devices { width: 118%; margin-left: -14%; margin-top: -14%; }
}
@media (max-width: 1023px) { .hero-devices { margin-top: -9%; } }
/* Menu complet : espacements progressifs de 1280 px (serré) à 1440 px (maquette) */
@media (min-width: 1280px) and (max-width: 1439px) {
  .site-nav .nav-link { padding-inline: clamp(9px, calc((100vw - 1280px) * .05 + 9px), 17.5px); }
  .logo { margin-left: 0; }
}

/* ==========================================================================
   Illustrations 3D (générées le 25/11/2026, sources dans design/images-ia/)
   ========================================================================== */
/* Cartes « Un abonnement, plusieurs façons de regarder » : cadrage sur les appareils */
.bento-card .bento-art--tv { object-position: center 18%; }
.bento-card .bento-art--upper { object-position: center top; }

/* Page Test IPTV : visuel à droite du titre (texte inchangé) */
.page-hero-grid { position: relative; z-index: 1; display: grid; gap: 8px; align-items: center; }
.page-hero-visual { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.page-hero-visual::before { content: ""; position: absolute; inset: 12% 8% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(138,107,255,.28), transparent); filter: blur(24px); }
.page-hero-visual__img { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; }
  .page-hero-visual { max-width: none; margin: -12px -16px -24px 0; }
}

/* Prix de référence (config.json → reference_price, pratiqué dans les 30 jours précédant la baisse) */
.price-sub--ref { margin-bottom: 6px; font-weight: 700; color: var(--primary); }
.price-sub--ref .price-old { font-size: 1.05rem; color: var(--text-secondary); }
