/* =========================================================================
   LinkHub — Landing divertissement premium
   Système visuel : sombre, cinématographique, accent rouge.
   Tokens pilotés par data-ambiance / --accent sur <html>.
   ========================================================================= */

:root {
  /* Ambiance NOIR (défaut) */
  --bg:          #07070a;
  --bg-2:        #0c0c10;
  --surface:     #131318;
  --surface-2:   #1b1b22;
  --border:      rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text:        #f6f6f8;
  --text-dim:    #9a9aa6;
  --text-faint:  #62626d;

  /* Accent (rouge Netflix) */
  --accent:      #e50914;
  --accent-glow: #ff2a32;
  --accent-deep: #b00610;
  --accent-ink:  #ffffff;   /* texte par-dessus l'accent */

  /* Halo cinématographique du hero */
  --hero-tint:   229, 9, 20;  /* rgb de l'accent, pour les voiles */

  --maxw: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-card: 0 24px 60px -28px rgba(0,0,0,0.85);

  --font-display: "Clash Display", "Cairo", system-ui, sans-serif;
  --font-body: "Satoshi", "Cairo", system-ui, sans-serif;
}

/* ---- Reset / base ------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: "Cairo", var(--font-body); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: "Cairo", var(--font-display); font-weight: 700; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Accent helpers ---------------------------------------------------- */
.text-accent { color: var(--accent); }
.accent-pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-glow);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
}
.accent-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-glow);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-glow) 70%, transparent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-glow) 60%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---- Boutons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 13px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-accent {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--accent) 90%, transparent);
}
.btn-accent:hover {
  background: var(--accent-glow);
  box-shadow: 0 18px 44px -12px color-mix(in srgb, var(--accent-glow) 95%, transparent);
  transform: translateY(-2px);
}
.btn-ghost {
  background: color-mix(in srgb, var(--text) 6%, transparent);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 12%, transparent); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn .wa { width: 19px; height: 19px; flex: none; }

/* ---- Header ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 25px; direction: ltr;
  letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 2px;
}
.logo .mark { color: var(--accent); }
.logo .glyph {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; margin-inline-end: 9px; border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 85%, transparent);
}
.logo .glyph svg { width: 16px; height: 16px; }
.header .spacer { flex: 1; }

/* sélecteur de langue */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 11px;
  background: color-mix(in srgb, var(--text) 5%, transparent);
  border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-body); font-weight: 600; font-size: 14px; cursor: pointer;
}
.lang-btn:hover { border-color: var(--border-strong); }
.lang-btn .flag { font-size: 16px; line-height: 1; }
.lang-btn .chev { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.lang[data-open="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 184px; padding: 7px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: none; flex-direction: column; gap: 2px; z-index: 80;
}
.lang[data-open="true"] .lang-menu { display: flex; }
.lang-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 9px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--text-dim);
}
.lang-opt:hover { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.lang-opt[aria-selected="true"] { color: var(--text); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.lang-opt .flag { font-size: 17px; }

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 92px 0 88px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; }

/* Couches de fond du hero (variante active : cinematic) */
.hero-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
html[data-hero="cinematic"] .hero-layer--cinematic { opacity: 1; }

/* cinématique : photo simulée + vignettage */
.hero-layer--cinematic {
  background:
    radial-gradient(120% 90% at 76% 12%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 58%),
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 74%, transparent) 34%, transparent 72%),
    url("hero-bg.jpg"),
    linear-gradient(115deg, #1a1d29 0%, #0a0b12 45%, #120a0d 100%);
  background-position: center;
  background-size: cover;
}
.hero-layer--cinematic::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 22% 30%, rgba(80,110,180,.28), transparent 60%),
    radial-gradient(50% 60% at 85% 80%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%);
  mix-blend-mode: screen; opacity: .9;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 30%, transparent) 0%, transparent 22%, transparent 55%, var(--bg) 99%),
    linear-gradient(to right, var(--bg) 2%, color-mix(in srgb, var(--bg) 55%, transparent) 38%, transparent 75%);
}
html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 30%, transparent) 0%, transparent 22%, transparent 55%, var(--bg) 99%),
    linear-gradient(to left, var(--bg) 2%, color-mix(in srgb, var(--bg) 55%, transparent) 38%, transparent 75%);
}

.hero-inner { position: relative; max-width: 680px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); margin: 22px 0 0; overflow-wrap: anywhere; }
.hero h1 .hl { color: var(--accent); }
.hero .sub { margin-top: 22px; font-size: clamp(17px, 2.1vw, 21px); color: var(--text-dim); line-height: 1.55; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.stat {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 12px;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  border: 1px solid var(--border);
}
.stat svg { width: 18px; height: 18px; color: var(--accent-glow); flex: none; }
.stat b { font-weight: 700; font-size: 15px; }
.stat span { font-size: 13px; color: var(--text-dim); }
.stat .col { display: flex; flex-direction: column; line-height: 1.2; }

/* ---- Sections génériques ---------------------------------------------- */
section { position: relative; }
.section-pad { padding: 84px 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-glow); margin-bottom: 14px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.04em; }
.section-title { font-size: clamp(30px, 4.4vw, 50px); max-width: 760px; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--text-dim); max-width: 620px; line-height: 1.55; }

/* ---- Essai gratuit ----------------------------------------------------- */
.trial {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 48%),
    var(--surface);
  padding: 52px;
  box-shadow: var(--shadow-card);
}
.trial::before {
  content: ""; position: absolute; inset-inline-end: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 65%);
  filter: blur(20px); opacity: .5; pointer-events: none;
}
.trial-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.trial h2 { font-size: clamp(28px, 3.6vw, 42px); }
.trial .lead { margin-top: 16px; color: var(--text-dim); font-size: 18px; line-height: 1.55; }
.trial .free-tag { font-size: 17px; }
.trial-perks {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.trial-perk {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 38px; padding: 8px 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--text) 5%, transparent);
  border: 1px solid var(--border);
  color: var(--text-dim); font-size: 13px; font-weight: 700;
}
.trial-perk .tp-icon {
  width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-glow);
}
.trial-perk .tp-icon svg { width: 15px; height: 15px; }
.trial-btns { display: grid; gap: 14px; }
.trial-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 15px;
  background: var(--bg-2); border: 1px solid var(--border);
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
  cursor: pointer;
}
.trial-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: var(--shadow-card); }
.trial-card .tc-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-glow);
}
.trial-card.is-premium .tc-icon { background: linear-gradient(140deg, var(--accent), var(--accent-deep)); color: var(--accent-ink); }
.trial-card .tc-icon svg { width: 22px; height: 22px; }
.trial-card .tc-body { flex: 1; }
.trial-card .tc-body b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.trial-card .tc-body span { font-size: 13px; color: var(--text-dim); }
.trial-card .tc-go { width: 22px; height: 22px; color: var(--text-faint); transition: color .2s, transform .2s; }
html[dir="rtl"] .trial-card .tc-go { transform: scaleX(-1); }
.trial-card:hover .tc-go { color: var(--accent-glow); }

/* ---- Réassurance / bandeau -------------------------------------------- */
.assure { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: 26px 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); }
.flags-row { display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; }
.flags-row .flags { display: flex; gap: 4px; font-size: 22px; }
.flags-row span { font-size: 13px; color: var(--text-dim); }
.devices { display: flex; align-items: center; gap: 16px; }
.devices .dev { display: flex; align-items: center; gap: 7px; color: var(--text-dim); font-size: 13px; font-weight: 600; }
.devices .dev svg { width: 19px; height: 19px; color: var(--text); }

.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.badge-card {
  padding: 22px; border-radius: var(--radius); background: var(--bg-2);
  border: 1px solid var(--border); transition: transform .2s, border-color .2s;
}
.badge-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.badge-card .bc-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent-glow); margin-bottom: 14px; }
.badge-card .bc-icon svg { width: 22px; height: 22px; }
.badge-card b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.badge-card p { margin-top: 6px; font-size: 14px; color: var(--text-dim); line-height: 1.45; }

/* ---- Comparatif contenus ---------------------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface); padding: 0;
}
.compare-card.is-premium { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.cc-visual { position: relative; height: 188px; overflow: hidden; }
.cc-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(1.05) contrast(1.04);
}
.compare-card:not(.is-premium) .cc-photo { object-position: 52% 43%; }
.compare-card.is-premium .cc-photo { object-position: center 45%; }
.cc-visual::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--surface), color-mix(in srgb, var(--surface) 66%, transparent) 22%, transparent 72%),
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 35%, transparent), transparent 48%);
  pointer-events: none;
}
.cc-body { padding: 26px 28px 30px; position: relative; z-index: 2; }
.cc-tier { display: inline-flex; align-items:center; gap:8px; font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.compare-card.is-premium .cc-tier { color: var(--accent-glow); }
.cc-metric { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.cc-metric .num { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; }
.compare-card.is-premium .cc-metric .num { color: var(--accent-glow); }
.cc-metric .lbl { font-size: 15px; color: var(--text-dim); }
.cc-list { margin-top: 18px; display: grid; gap: 11px; }
.cc-list .row { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--text); }
.cc-list .row svg { width: 18px; height: 18px; color: var(--accent-glow); flex: none; }

/* ---- Tarifs ------------------------------------------------------------ */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.plan {
  position: relative;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface); padding: 34px 30px 32px;
  display: flex; flex-direction: column;
}
.plan.is-premium {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background:
    radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 50%),
    var(--surface);
  box-shadow: var(--shadow-card);
}
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.plan-name .tier { color: var(--accent); }
.plan-trial {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; font-weight: 700;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-glow); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.plan-desc { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.plan-desc .chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-dim);
}
.plan-desc .chip svg { width: 15px; height: 15px; color: var(--accent-glow); }
.plan-rows { margin-top: 24px; display: grid; gap: 10px; }
.price-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px;
  padding: 13px 8px 13px 16px; border-radius: 13px;
  background: var(--bg-2); border: 1px solid var(--border);
  transition: border-color .2s, background .2s, transform .15s;
}
html[dir="rtl"] .price-row { padding: 13px 16px 13px 8px; }
.price-row:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-1px); }
.price-row.popular { border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, var(--bg-2)); }
.pr-dur { display: flex; flex-direction: column; gap: 3px; }
.pr-dur b { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.pr-dur .tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-glow); }
.pr-price { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.pr-price .mo { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--text-faint); text-align: end; }
.pr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: 11px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
  background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text);
  border: 1px solid var(--border-strong); transition: all .18s ease;
}
.pr-btn svg { width: 16px; height: 16px; }
.pr-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-1px); }
.plan.is-premium .price-row.popular .pr-btn { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.plan.is-premium .price-row.popular .pr-btn:hover { background: var(--accent-glow); }
.plan-foot { margin-top: 20px; font-size: 13px; color: var(--text-faint); display: flex; align-items: center; gap: 8px; }
.plan-foot svg { width: 15px; height: 15px; color: var(--accent-glow); }

/* ---- Footer ------------------------------------------------------------ */
.footer { border-top: 1px solid var(--border); margin-top: 30px; padding: 54px 0 40px; background: var(--bg-2); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer .f-about { max-width: 320px; }
.footer .f-about p { margin-top: 14px; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.footer-links { display: flex; gap: 54px; flex-wrap: wrap; }
.footer-links .col h4 { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.footer-links .col a { display: block; color: var(--text-dim); font-size: 14px; padding: 5px 0; }
.footer-links .col a:hover { color: var(--text); }
.footer .wa-note {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  padding: 10px 15px; border-radius: 11px; font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, #25d366 14%, transparent); color: #4ce07a;
  border: 1px solid color-mix(in srgb, #25d366 32%, transparent);
}
.footer .wa-note svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  color: var(--text-faint); font-size: 13px; }

/* ---- Floating WhatsApp ------------------------------------------------- */
.wa-float {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #06301a;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s; cursor: pointer;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---- Bandeau de consentement (RGPD) ----------------------------------- */
.consent {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 300;
  width: min(920px, calc(100% - 28px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px;
  padding: 16px 20px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.consent .consent-text { flex: 1 1 320px; color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }
.consent .consent-text a { color: var(--accent-glow); text-decoration: underline; text-underline-offset: 3px; }
.consent .consent-btns { display: flex; gap: 10px; flex: none; }
.consent .c-btn {
  padding: 10px 18px; border-radius: 11px; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  border: 1px solid var(--border-strong); transition: background .18s ease, border-color .18s ease;
}
.consent .c-refuse { background: transparent; color: var(--text); }
.consent .c-refuse:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.consent .c-accept { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.consent .c-accept:hover { background: var(--accent-glow); border-color: var(--accent-glow); }
@media (max-width: 560px) {
  .consent { bottom: 0; width: 100%; border-radius: 16px 16px 0 0; }
  .consent .consent-btns { width: 100%; }
  .consent .c-btn { flex: 1; }
}

/* ---- Animations au scroll --------------------------------------------- */
.reveal { opacity: 1; transform: none; }
html.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
html.js-anim .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .hero-layer, .accent-pill .dot { transition: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- Pages légales ----------------------------------------------------- */
.legal-hero {
  position: relative; overflow: hidden; padding: 78px 0 40px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(110% 120% at 100% 0%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 52%),
    var(--bg-2);
}
.legal-hero .crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.legal-hero .crumb span { white-space: nowrap; }
.legal-hero .crumb a { color: var(--text-dim); }
.legal-hero .crumb a:hover { color: var(--accent-glow); }
.legal-hero .crumb svg { width: 14px; height: 14px; opacity: .6; }
html[dir="rtl"] .legal-hero .crumb svg { transform: scaleX(-1); }
.legal-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-top: 18px; }
.legal-hero .updated { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-faint); white-space: nowrap; }
.legal-hero .updated svg { width: 15px; height: 15px; color: var(--accent-glow); }

.legal-body { padding: 58px 0 30px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-section { margin-bottom: 40px; }
.legal-section h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; }
.legal-section h2 .n { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 8px;
  padding: 3px 9px; flex: none; line-height: 1.2; }
.legal-section h3 { font-size: 18px; margin: 22px 0 8px; color: var(--text); }
.legal-section p { color: var(--text-dim); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.legal-section p strong, .legal-section li strong { color: var(--text); font-weight: 700; }
.legal-section a { color: var(--accent-glow); text-decoration: underline; text-underline-offset: 3px; }
.legal-section ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.legal-section ul li { position: relative; padding-inline-start: 26px; color: var(--text-dim); font-size: 16px; line-height: 1.6; }
.legal-section ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 10px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

.legal-callout {
  display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); margin: 26px 0;
}
.legal-callout svg { width: 24px; height: 24px; color: var(--accent-glow); flex: none; margin-top: 2px; }
.legal-callout b { font-family: var(--font-display); font-weight: 600; font-size: 17px; display: block; margin-bottom: 5px; }
.legal-callout p { margin: 0; font-size: 15px; }

.legal-contact {
  margin-top: 40px; padding: 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.legal-contact .lc-txt b { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.legal-contact .lc-txt p { margin-top: 6px; color: var(--text-dim); font-size: 15px; }

.legal-toc { margin-bottom: 36px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--border); }
.legal-toc h4 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-inline-start: 0; list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; align-items: center; gap: 11px; color: var(--text-dim); font-size: 15px; font-weight: 500; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-weight: 700;
  font-size: 12px; color: var(--accent); flex: none; }
.legal-toc a:hover { color: var(--text); }

/* À propos */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 8px; }
.about-stat { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.about-stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); color: var(--accent-glow); letter-spacing: -.02em; }
.about-stat .lbl { margin-top: 6px; font-size: 14px; color: var(--text-dim); }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-value { padding: 24px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--border); }
.about-value .av-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent-glow); margin-bottom: 14px; }
.about-value .av-icon svg { width: 23px; height: 23px; }
.about-value b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.about-value p { margin-top: 7px; font-size: 14px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 760px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
  .legal-contact { flex-direction: column; align-items: flex-start; }
}

/* ---- Blog -------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.blog-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; transition: transform .2s ease, border-color .2s ease; }
.blog-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.blog-card .bc-date { font-size: 12px; color: var(--text-faint); }
.blog-card h2 { font-size: 20px; margin: 8px 0 10px; line-height: 1.2; }
.blog-card p { color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.blog-card .bc-more { display: inline-block; margin-top: 12px; color: var(--accent-glow); font-weight: 600; font-size: 14px; }
.post-body h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 28px 0 12px; }
.post-body p { color: var(--text-dim); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.post-body a { color: var(--accent-glow); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--text); }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .trial-grid { grid-template-columns: 1fr; gap: 30px; }
  .assure { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .devices { justify-content: center; }
  .badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .section-pad { padding: 64px 0; }
  .trial { padding: 34px 24px; }
  .compare, .pricing { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 26px; }
  .hero { padding: 64px 0 70px; }
  .header .hide-sm { display: none; }
}
@media (max-width: 460px) {
  .hero h1 { max-width: calc(100vw - 48px); font-size: 31px; line-height: 1.08; }
  .hero .sub { font-size: 16px; }
  .badges { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr auto; gap: 10px; }
  .price-row .pr-btn { grid-column: 1 / -1; width: 100%; }
  .hero-stats .stat { flex: 1 1 calc(50% - 12px); }
}
