/* ============================================================
   ETG Advanced Price Action Suite - Design System
   Dark Mode (OLED) + Light Mode - Inter - Conversion landing
   ============================================================ */

:root {
  /* Palette DARK (défaut) */
  --bg: #020617;
  --bg-soft: #0B1120;
  --card: #0E1223;
  --card-hover: #131A30;
  --line: #1E293B;
  --line-soft: #26334a;
  --accent: #F5B301;
  --accent-hover: #D99700;
  --accent-soft: rgba(245, 179, 1, 0.14);
  --accent-ink: #1A1200;
  --grid-line: rgba(255, 255, 255, 0.07);
  --red: #EF4444;
  --red-soft: rgba(239, 68, 68, 0.1);
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-soft: #CBD5E1;
  --nav-bg: rgba(2, 6, 23, 0.85);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Typo */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --section-pad: 48px;
  --container: 1140px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 300ms;
}

/* ============ THÈME UNIQUE MIXTE ============ */
/* Sections de contenu : fond clair, cartes blanches, texte sombre */
.demo, .problem, .features, .how, .compat, .proof, .faq {
  color: var(--text);
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --card: #FFFFFF;
  --card-hover: #E2E8F0;
  --line: #E2E8F0;
  --line-soft: #CBD5E1;
  --accent: #B8860B;
  --accent-hover: #9A7209;
  --accent-soft: rgba(184, 134, 11, 0.1);
  --accent-ink: #1A1200;
  --grid-line: rgba(15, 23, 42, 0.07);
  --red: #DC2626;
  --red-soft: rgba(220, 38, 38, 0.08);
  --text: #0F172A;
  --text-muted: #475569;
  --text-soft: #334155;
  --nav-bg: rgba(248, 250, 252, 0.9);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
  position: relative;
}

/* Titres et éléments UI : Inter (--font), corps : Manrope (--font-body) */
h1, h2, h3, h4,
.hero-title,
.section-title,
.section-sub,
.price,
.price-card,
.btn,
.nav-logo,
.nav-logo span,
.nav-links a,
.footer-brand,
.brand-logo .brand-word,
.faq-item summary,
.author,
.badge {
  font-family: var(--font);
}


/* Fond fintech : grille de points subtile, fixe */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, var(--text-muted) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.055;
}
body::before { opacity: 0.07; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Le contenu passe au-dessus du fond fintech */
header.nav { z-index: 100; }
main { position: relative; z-index: 1; }
.footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: all var(--t-med) var(--ease);
  min-height: 44px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 20px rgba(245, 179, 1, 0.25);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: ctaShine 4.5s ease-in-out 1.5s infinite;
  pointer-events: none;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 28px rgba(245, 179, 1, 0.35);
  animation-play-state: paused;
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--line-soft);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.25), 0 4px 20px rgba(245, 179, 1, 0.12);
  background: var(--accent-soft);
}

.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 17px; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { font-weight: 700; font-size: 16px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.nav-logo-img { height: 34px; width: auto; display: block; background: #FFFFFF; border-radius: 8px; padding: 2px 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); }
.nav-logo span { color: var(--text); }
.nav-version {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 5px;
  padding: 2px 6px;
  line-height: 1.4;
  text-transform: none;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color var(--t-fast) var(--ease); }
.nav-links a:hover { color: var(--text); }
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  transition: all var(--t-med) var(--ease);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-med) var(--ease);
}

/* ============ GLOW / GLASS SUR CARTES ============ */
/* Halo doré au survol + reflet glass en haut de carte */
.card-glow {
  position: relative;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
/* Reflet glass : léger gradient lumineux en haut de la carte */
.card-glow::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}
.card-glow::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
}
.demo .card-glow::before, .problem .card-glow::before, .features .card-glow::before, .how .card-glow::before, .compat .card-glow::before, .proof .card-glow::before, .faq .card-glow::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
}
/* Halo or au survol */
.card-glow:hover {
  border-color: rgba(245, 179, 1, 0.4);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(245, 179, 1, 0.14),
    0 0 80px rgba(245, 179, 1, 0.06);
}
.demo .card-glow:hover, .problem .card-glow:hover, .features .card-glow:hover, .how .card-glow:hover, .compat .card-glow:hover, .proof .card-glow:hover, .faq .card-glow:hover {
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.14),
    0 0 40px rgba(184, 134, 11, 0.12),
    0 0 80px rgba(184, 134, 11, 0.06);
}
/* Glow permanent très doux sur la carte prix (mise en avant) */
.price-card.card-glow {
  box-shadow: var(--shadow-lg), 0 0 60px rgba(245, 179, 1, 0.08);
}
.pricing {
  position: relative;
  background:
    radial-gradient(ellipse 75% 60% at 50% 45%, rgba(245, 179, 1, 0.24), transparent 70%),
    radial-gradient(ellipse 55% 45% at 8% 12%, rgba(245, 179, 1, 0.18), transparent 70%),
    radial-gradient(ellipse 55% 45% at 92% 88%, rgba(245, 179, 1, 0.18), transparent 70%),
    radial-gradient(ellipse 35% 30% at 88% 10%, rgba(245, 179, 1, 0.14), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
/* Points de lumière décoratifs */
.pricing::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 5px, rgba(245, 179, 1, 0.50), transparent 90%),
    radial-gradient(circle 4px, rgba(245, 179, 1, 0.38), transparent 90%),
    radial-gradient(circle 3px, rgba(245, 179, 1, 0.30), transparent 90%);
  background-size: 420px 340px, 560px 460px, 700px 540px;
  background-position: 8% 15%, 82% 25%, 55% 75%;
  background-repeat: no-repeat;
}
.pricing .price-card.card-glow {
  box-shadow: var(--shadow-lg), 0 0 60px rgba(245, 179, 1, 0.08);
}

/* ============ HERO ============ */
.hero {
  padding: 96px 0 48px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-soft), transparent),
    var(--bg);
  text-align: center;
  transition: background var(--t-med) var(--ease);
  overflow: hidden;
}
/* Grille SaaS : fine grille de lignes (style Linear/Vercel) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, rgba(0,0,0,0.9), transparent 75%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
  z-index: 0;
}
/* Halo lumineux animé derrière le hero */
.hero::before {
  content: "";
  position: absolute;
  top: -20%; left: 50%;
  width: 900px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(245, 179, 1, 0.16), transparent 70%);
  filter: blur(60px);
  animation: heroGlow 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.12); }
}
.hero-inner { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 24px;
  max-width: 100%;
}
.hero-badge i { font-size: 16px; }
.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.accent-text { color: var(--accent); }
.hero-sub {
  max-width: 640px;
  color: var(--text-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-trust .trust-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .trust-item i { font-size: 16px; color: var(--accent); }
.hero-trust .dot { color: var(--accent); font-weight: 800; }
.risk-inline {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* ============ MOCKUP CHART (IMAGE) ============ */
.chart-mockup {
  margin: 32px 0 28px;
  width: 100%;
  max-width: 860px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--card);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(245, 179, 1, 0.08);
  overflow: hidden;
  position: relative;
}

/* Badge « Aperçu en live » sur la vidéo du hero */
.live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-block;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}


/* ============ RANGÉE LOGOS (brand strip) ============ */
.brand-strip {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-strip-logos {
  display: block;
  width: 100%;
}
.brand-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  /* marquee JS-driven */
  padding: 6px 0;
}
.brand-track:hover { animation-play-state: paused; }
.brand-strip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-logo { 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  opacity: 0.75;
  transition: opacity var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.brand-logo:hover { opacity: 1; color: var(--text); }
.brand-logo svg { height: 22px; width: auto; }
.brand-logo .ph { font-size: 20px; }
.brand-word { white-space: nowrap; }
/* logos gris -> couleur en hover, jamais de couleur de marque frauduleuse */
.brand-logo .brand-word { font-family: var(--font); }

/* Images de logos officiels */
.brand-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: saturate(0.9);
  transition: filter var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.brand-logo:hover .brand-img { filter: saturate(1); }
/* MT5 : le PNG officiel a des couleurs MetaQuotes, on le garde tel quel */
.brand-mt5 .brand-img { height: 30px; }
/* Weltrade : logo blanc prévu pour fond sombre -> inline + currentColor (fils de .brand-logo) */
.brand-weltrade svg { height: 26px; width: auto; color: var(--text-soft); }
.brand-weltrade svg path { fill: currentColor; stroke: currentColor; }
/* Deriv : logo coloré officiel */
.brand-deriv .brand-img { height: 26px; }

/* ============ SECTIONS GÉNÉRIQUES ============ */
section { padding: var(--section-pad) 0; }
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 18px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 24px;
}

/* ============ EN-TÊTE COMMUN SECTIONS ============ */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 16px;
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-eyebrow + .section-title { margin-top: 0; }
.text-gold {
  color: var(--accent);
}
.hairline {
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: -6px auto 20px;
}

/* ============ PROBLÈME : GRILLE DOULEUR ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.pain-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  overflow: hidden;
}
.pain-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.pain-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font);
  font-size: 44px;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  opacity: 0.85;
  pointer-events: none;
}
.pain-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 22px;
  margin-bottom: 18px;
}
.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pain-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.problem-bridge {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.problem-bridge p {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.problem-bridge i { color: var(--accent); font-size: 20px; }

/* ============ FEATURES : BENTO GRID ============ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.bento-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.bento-lg { grid-column: span 2; }
.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 18px;
}
.bento-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.bento-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.bento-visual {
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.bento-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* ============ COMMENT ÇA MARCHE : TIMELINE ============ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.timeline .step { position: relative; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--card);
}
.step h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.step p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.step-time {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ============ PRICING PREMIUM ============ */
.price-badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 14px;
}
.licence-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
  text-align: left;
}
.licence-box i {
  font-size: 26px;
  color: var(--accent);
  flex-shrink: 0;
}
.licence-box strong {
  display: block;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}
.licence-box span {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.price-card {
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--card), var(--card-hover));
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}
.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.guarantee i {
  color: var(--accent);
  font-size: 17px;
}

/* ============ RESPONSIVE NOUVEAUX BLOCS ============ */
@media (max-width: 900px) {
  :root { --section-pad: 32px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-lg { grid-column: span 1; }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  :root { --section-pad: 28px; }
  .pain-grid { grid-template-columns: 1fr; }
}

/* ============ VIDÉO DÉMO ============ */
.demo, .problem, .features, .how, .compat, .proof, .faq {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
/* Points halo subtils sur les fonds clairs */
.features, .proof {
  position: relative;
  background:
    radial-gradient(ellipse 55% 40% at 85% 8%, rgba(184, 134, 11, 0.07), transparent),
    radial-gradient(ellipse 45% 35% at 10% 90%, rgba(184, 134, 11, 0.05), transparent),
    var(--bg-soft);
}
.features::after, .proof::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 4px, rgba(184, 134, 11, 0.25), transparent 90%),
    radial-gradient(circle 3px, rgba(184, 134, 11, 0.20), transparent 90%);
  background-size: 500px 420px, 640px 540px;
  background-position: 88% 12%, 12% 88%;
  background-repeat: no-repeat;
}
.demo-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 8px 0;
}
.demo-track {
  display: flex;
  gap: 0;
  width: max-content;
  /* marquee JS-driven */
}
.demo-track:hover { animation-play-state: paused; }
.cap-item {
  flex: 0 0 380px;
  margin-right: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  min-height: 255px;
}
.cap-item img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.cap-item figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
  font-family: var(--font);
}


/* ============ COMPATIBILITÉ ============ */
.compat-line {
  text-align: center;
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 28px;
}
.compat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}
.compat-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: background var(--t-med) var(--ease);
}
.compat-box h3 {
  font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.compat-box h3 i { font-size: 18px; }
.compat-box.no .problem h3 { color: var(--red); }
.compat-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15.5px;
  padding: 7px 0;
}
.compat-box li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.compat-box.no li::before { content: "✕"; color: var(--red); }

/* ============ SOCIAL PROOF ============ */
.testimonials-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 8px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  /* marquee JS-driven */
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--t-med) var(--ease);
  flex: 0 0 auto;
  width: 320px;
}
.testimonial:hover { border-color: var(--line-soft); }

/* Étoiles */
.stars {
  display: flex;
  gap: 3px;
  color: #F5B301; /* or, visible en dark ET light */
  font-size: 15px;
}
.star {
  color: inherit;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(184, 134, 11, 0.35);
}
.stars i { line-height: 1; }

/* Footer témoignage : avatar + infos */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--card-hover));
  border: 1px solid var(--line-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.author { color: var(--text-soft); font-size: 14px; font-weight: 600; line-height: 1.25; }
.author-loc { color: var(--text-muted); font-size: 12.5px; line-height: 1.4; }
.quote { color: var(--text-soft); font-size: 15.5px; line-height: 1.65; font-style: italic; }

/* ============ PRICING ============ */
.price-card {
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--card), var(--card-hover));
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: background var(--t-med) var(--ease);
}
.price-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 179, 1, 0.5), transparent 40%, transparent 60%, rgba(239, 68, 68, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price { font-size: 52px; font-weight: 800; letter-spacing: -1.5px; color: var(--text); }
.price-note { color: var(--text-muted); font-size: 14.5px; margin: 8px 0 20px; }
.price-includes { text-align: left; margin-bottom: 22px; display: flex; flex-direction: column; gap: 12px; }
.price-includes li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 15.5px;
}
.price-includes li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.group-detail {
  text-align: left;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px;
  padding: 14px 18px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}
.risk-note {
  max-width: 620px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ============ FAQ ============ */
.faq .container { max-width: 760px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--t-med) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============ CTA FINAL ============ */
.final-cta {
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245, 179, 1, 0.08), transparent),
    radial-gradient(ellipse 70% 60% at 50% 100%, var(--accent-soft), transparent),
    var(--bg);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 3px, rgba(245, 179, 1, 0.28), transparent),
    radial-gradient(circle 2px, rgba(245, 179, 1, 0.20), transparent);
  background-size: 480px 380px, 620px 520px;
  background-position: 15% 80%, 85% 30%;
  background-repeat: no-repeat;
}
.final-cta .btn-xl { margin-bottom: 14px; }
.final-cta .hero-trust { margin-bottom: 0; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 6px 0 0;
}
.footer .container { text-align: center; }
.footer-brand { font-weight: 700; font-size: 9px; color: var(--text-soft); margin-bottom: 3px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.footer-risk { max-width: 720px; margin: 0 auto 4px; color: var(--text-muted); font-size: 8.5px; line-height: 1.4; }
.footer-links a { color: var(--accent); font-size: 14px; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { color: var(--text-muted); font-size: 8.5px; margin-top: 3px; }

/* ============ STAGGER REVEAL (motion) ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* Hero : cascade d'apparition */
.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.6s var(--ease) forwards;
  animation-delay: var(--hd, 0s);
}
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* CTA principal : pulse doux continu */
.btn-primary {
  animation: ctaPulse 2.8s ease-in-out 2s infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(245, 179, 1, 0.25); }
  50% { box-shadow: 0 4px 34px rgba(245, 179, 1, 0.5); }
}
@keyframes ctaShine {
  0% { left: -80%; }
  45%, 100% { left: 130%; }
}

@keyframes ctaPulseLight {
  0%, 100% { box-shadow: 0 4px 14px rgba(184, 134, 11, 0.2); }
  50% { box-shadow: 0 4px 26px rgba(184, 134, 11, 0.35); }
}

/* Reveal : stagger subtil selon l'index (géré en JS avec --ri) */
.reveal { transition-delay: calc(var(--ri, 0) * 60ms); }

/* ============ TILT 3D LÉGER (cartes) ============ */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.tilt:hover {
  transform: perspective(900px) rotateX(2.5deg) rotateY(-2.5deg) translateY(-4px) scale(1.012);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(245, 179, 1, 0.12);
}
.demo .tilt:hover, .problem .tilt:hover, .features .tilt:hover, .how .tilt:hover, .compat .tilt:hover, .proof .tilt:hover, .faq .tilt:hover {
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14), 0 0 40px rgba(184, 134, 11, 0.1);
}

/* ============ ACCESSIBILITÉ : mouvement réduit ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-anim { opacity: 1; transform: none; transition: none; animation: none; }
  .btn:hover { transform: none; }
  .step:hover { transform: none; }
  .tilt:hover { transform: none; }
  .hero::before { animation: none; }
  .btn-primary { animation: none; }
  .btn-primary::before { animation: none; }
  /* marquee JS pause */
  /* marquee JS pause */
  .live-dot { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  :root { --section-pad: 32px; }
  .compat-boxes { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad: 32px; }
    .cap-item { flex-basis: 270px; min-height: 210px; }
  .demo-track { animation-duration: 70s; }
  .live-badge { padding: 5px 11px; font-size: 11px; top: 10px; left: 10px; }
  .nav-logo { font-size: 14px; gap: 6px; }
  .nav-logo-img { height: 28px; }
  .nav-version { font-size: 9.5px; padding: 1px 5px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-burger { display: flex; }
  .hero { padding: 90px 0 40px; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 360px; }
  .hero-ctas .btn { width: 100%; }
  .price-card { padding: 36px 24px; }
  .price { font-size: 42px; }
}
/* Vidéo démo dans le hero */
.chart-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: fill;
  background: #000;
}

.reveal, .hero-anim { opacity: 1 !important; transform: none !important; }
