/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0e17;
  --bg2:       #0f1421;
  --card:      #141b2d;
  --card-h:    #1a2340;
  --border:    #1e2d4a;
  --accent:    #4f8ef7;
  --accent2:   #3b7ae6;
  --text:      #e8edf5;
  --muted:     #7a8aa0;
  --white:     #ffffff;
  --radius:    14px;
  --shadow:    0 8px 32px rgba(0,0,0,.45);
  --font:      'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:      'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

/* ─── NAV ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,14,23,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--white);
}
.logo-mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.logo-word { font-weight: 600; letter-spacing: -.02em; }
.logo-word b { font-weight: 600; color: var(--accent); }
.logo-img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.btn-nav {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.btn-nav:hover { background: var(--accent2); transform: translateY(-1px); }

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ─── LANGUAGE DROPDOWN ─── */
.lang-dropdown { position: relative; }
.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); }
.lang-arrow { font-size: .65rem; transition: transform .2s; display: inline-block; }
.lang-dropdown.open .lang-arrow { transform: rotate(180deg); }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  min-width: 148px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  z-index: 500;
}
.lang-dropdown.open .lang-menu { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: .82rem;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-option:hover { background: rgba(255,255,255,.05); color: var(--text); }
.lang-flag-img { width: 18px; height: auto; border-radius: 2px; vertical-align: middle; flex-shrink: 0; }
.lang-option.active { color: var(--accent); }
.lang-radio {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.lang-option.active .lang-radio {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,.15);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(79,142,247,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(0,100,255,.08) 0%, transparent 60%);
}

/* animated grid */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,45,74,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,45,74,.4) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(79,142,247,.15);
  border: 1px solid rgba(79,142,247,.3);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 24px rgba(79,142,247,.3);
  animation: glowPulse 2.8s ease-in-out infinite;
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(79,142,247,.55);
  animation: none;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(79,142,247,.06); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── SECTIONS ─── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── CATEGORY FILTERS ─── */
.cat-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}

.cat-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 100px;
  padding: 9px 20px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cat-btn:hover { border-color: var(--accent); color: var(--text); }
.cat-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.cat-count {
  font-size: .72rem;
  font-weight: 700;
  background: rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 1px 7px;
  min-width: 20px;
  text-align: center;
}
.cat-btn.active .cat-count { background: rgba(0,0,0,.2); }

/* card hidden state */
.algo-card.hidden,
.family-head.hidden {
  display: none;
}

/* ─── FAMILLES DU CATALOGUE ─── */
.family-head {
  grid-column: 1 / -1;
  padding: 8px 4px 0;
  margin-top: 16px;
}
.family-head:first-child { margin-top: 0; }
.family-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.family-head p {
  color: var(--muted);
  font-size: .925rem;
  max-width: 820px;
}
.family-risk {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.family-risk p strong { color: #fca5a5; }

/* ─── CAPTURES SUR LES CARTES ─── */
.card-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 4px 0 18px;
}

/* ─── CATEGORY TAGS ON CARDS ─── */
.card-cat-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.tag-strategies { background: rgba(99,102,241,.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,.25); }
.tag-grid       { background: rgba(251,146,60,.12);  color: #fdba74; border: 1px solid rgba(251,146,60,.25); }
.tag-risk       { background: rgba(239,68,68,.12);   color: #fca5a5; border: 1px solid rgba(239,68,68,.25); }
.tag-news       { background: rgba(234,179,8,.12);   color: #fde047; border: 1px solid rgba(234,179,8,.25); }

/* ─── ALGO CARDS ─── */
.algo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.algo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.algo-card:hover {
  border-color: rgba(79,142,247,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 40px rgba(79,142,247,.08);
}

.algo-card.featured {
  border-color: rgba(79,142,247,.5);
  background: linear-gradient(135deg, var(--card) 0%, rgba(79,142,247,.06) 100%);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--bg);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: .04em;
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79,142,247,.08);
  border: 1px solid rgba(79,142,247,.12);
  border-radius: 14px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .25s;
}
.algo-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(79,142,247,.15);
}

.algo-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-desc {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 18px;
  line-height: 1.65;
}

.card-features {
  margin-bottom: 24px;
}
.card-features li {
  font-size: .875rem;
  color: var(--text);
  padding: 4px 0;
  opacity: .85;
}
.card-features li::before { content: ''; }

/* ─── PRICING ─── */
.card-pricing { border-top: 1px solid var(--border); padding-top: 20px; }

.price-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.price-btn {
  flex: 1;
  min-width: 90px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 6px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}
.price-btn:hover, .price-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,142,247,.08);
}

.btn-buy {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg, var(--accent) 30%, #5fffc0 50%, var(--accent) 70%);
  background-size: 250% auto;
  animation: shimmer 4s linear infinite;
  color: var(--bg);
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s, filter .2s;
}
.btn-buy:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ─── DOC LINK ─── */
.btn-doc {
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  text-decoration: none;
  margin-top: 8px;
  transition: color .2s, border-color .2s;
}
.btn-doc:hover { color: var(--accent); border-color: var(--accent); }

/* ─── BADGE GOLD ─── */
.badge-gold {
  background: rgba(255,180,0,.15);
  border-color: rgba(255,180,0,.35);
  color: #f0b429;
  margin-bottom: 16px;
}

/* ─── SUR MESURE — PERKS ─── */
.custom-perks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.perk {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.perk:hover {
  border-color: rgba(79,142,247,.35);
  transform: translateY(-3px);
}
.perk-icon { font-size: 1.8rem; margin-bottom: 12px; }
.perk h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.perk p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ─── SUR MESURE — TARIFS ─── */
.custom-pricing-banner {
  background: linear-gradient(135deg, rgba(79,142,247,.07) 0%, rgba(0,100,255,.05) 100%);
  border: 1px solid rgba(79,142,247,.2);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 48px;
}

.cpb-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.cpb-prices {
  display: flex;
  gap: 0;
  align-items: stretch;
  flex-wrap: wrap;
}

.cpb-tier {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px;
}
.cpb-tier:first-child { padding-left: 0; }

.cpb-tier-name {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.cpb-tier-price {
  font-size: 1.1rem;
  font-weight: 500;
}
.cpb-tier-price strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}
.cpb-tier-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}

.cpb-sep {
  width: 1px;
  background: var(--border);
  margin: 0 8px;
  align-self: stretch;
}

/* ─── SUR MESURE — FORMULAIRE ─── */
.custom-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.custom-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-intro {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 28px;
}

.custom-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: .825rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: .7;
}

.form-group select option { background: var(--bg2); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  align-self: flex-start;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 36px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(79,142,247,.25);
}
.btn-submit:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(79,142,247,.4);
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .custom-form-wrap { padding: 24px 20px; }
  .cpb-prices { flex-direction: column; gap: 20px; }
  .cpb-sep { width: auto; height: 1px; margin: 0; }
  .cpb-tier { padding: 0; }
  .btn-submit { width: 100%; text-align: center; }
}

/* ─── HOW IT WORKS ─── */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: .25;
  line-height: 1;
  margin-bottom: 12px;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: .875rem;
  color: var(--muted);
}

.step-content code {
  background: rgba(79,142,247,.1);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .8rem;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  align-self: center;
  padding: 0 8px;
  margin-top: -20px;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }

.faq-arrow {
  font-size: .75rem;
  color: var(--muted);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

.faq-a p {
  padding: 0 24px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* ─── CONTACT ─── */
.contact-container { text-align: center; }

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  transition: border-color .2s, transform .2s;
  min-width: 240px;
}
.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.contact-icon { font-size: 1.8rem; }
.contact-text { text-align: left; }
.contact-text strong { display: block; font-weight: 700; }
.contact-text small { color: var(--muted); font-size: .85rem; }

.disclaimer {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,180,0,.06);
  border: 1px solid rgba(255,180,0,.2);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── ABOUT ─── */
.about-wrap {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.about-text { flex: 1; }
.about-text .badge { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 20px; }
.about-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.5rem;
}
.about-tag {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 500;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 190px;
}
.about-stat {
  text-align: center;
  padding: 24px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.about-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ─── FOOTER ─── */
footer {
  background: #070b12;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-inner p { color: var(--muted); font-size: .85rem; }
.footer-legal { font-size: .75rem; opacity: .5; }

/* ─── KEYFRAMES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gridDrift {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-12px, -8px); }
}
@keyframes shimmer {
  0%   { background-position: -250% center; }
  100% { background-position:  250% center; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(79,142,247,.3); }
  50%       { box-shadow: 0 0 48px rgba(79,142,247,.7), 0 0 72px rgba(79,142,247,.2); }
}

/* ─── HERO ENTRANCE (staggered) ─── */
.hero .badge      { animation: fadeUp .6s ease .10s both; }
.hero h1          { animation: fadeUp .7s ease .25s both; }
.hero .hero-sub   { animation: fadeUp .6s ease .42s both; }
.hero .hero-cta   { animation: fadeUp .6s ease .57s both; }
.hero .hero-stats { animation: fadeUp .6s ease .72s both; }

/* ─── HERO GRID DRIFT ─── */
.hero-bg::before { animation: gridDrift 18s ease-in-out infinite; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── CARD GRADIENT BORDER GLOW ─── */
.algo-card {
  overflow: visible;
}
.algo-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(79,142,247,.5) 0%, rgba(0,100,255,.35) 100%);
  opacity: 0;
  transition: opacity .3s;
  z-index: -1;
  pointer-events: none;
}
.algo-card:hover::after { opacity: 1; }

/* ─── NAV SCROLLSPY ─── */
.nav-links a.spy-active { color: var(--white) !important; }
.nav-links a.spy-active:not(.btn-nav)::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 2px;
  animation: fadeUp .2s ease both;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 16px; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
  }
  .burger { display: block; }
  .lang-btn { padding: 4px 8px; font-size: .75rem; }

  .about-wrap { flex-direction: column; }
  .about-stats { flex-direction: row; justify-content: center; min-width: unset; }
  .about-stat { flex: 1; min-width: 0; }

  .algo-grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }

  .hero h1 { font-size: 2rem; }

  .hero-stats { gap: 20px; }
  .stat-sep { display: none; }

  .price-options { flex-direction: column; }
  .price-btn { min-width: auto; }
}

@media (max-width: 480px) {
  .contact-card { min-width: auto; width: 100%; }
}

/* ─── REVIEWS ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.review-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s;
}
.review-card:hover { border-color: rgba(79,142,247,.35); }
.review-stars { color: #f5c518; font-size: 1rem; letter-spacing: 2px; }
.review-text {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.review-author { font-weight: 600; font-size: .9rem; color: var(--text); }
.review-loc { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.rev-flag { width: 16px; height: auto; border-radius: 2px; flex-shrink: 0; }
.review-ea-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(79,142,247,.12);
  border: 1px solid rgba(79,142,247,.25);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.reviews-cta {
  text-align: center;
  margin-top: 40px;
}
.reviews-cta a {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.reviews-cta a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 600px) {
  .review-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════
   SOBRIETE — 12/11/2026
   Le site faisait « genere par IA » : Inter, lueur verte sur grille,
   pastilles en majuscules, emojis en guise d'icones, mot vert dans
   chaque titre, boutons qui pulsent, cartes qui s'illuminent. On retire
   le decor et on montre le produit.
   ═══════════════════════════════════════════════════════════════════ */

/* plus de decor anime */
.hero-bg { display: none; }
.hero .badge, .hero h1, .hero .hero-sub, .hero .hero-cta, .hero .hero-stats { animation: none; }
.btn-primary, .btn-buy, .btn-submit { animation: none; box-shadow: none; background-image: none; }
.btn-primary:hover, .btn-buy:hover, .btn-submit:hover { box-shadow: none; transform: none; filter: none; background: var(--accent2); }
.btn-nav:hover { transform: none; }
.algo-card::after { display: none; }
.algo-card:hover, .perk:hover { transform: none; box-shadow: none; border-color: #2c4167; }

/* rayons plus droits */
.algo-card, .perk, .family-risk, .card-shot, .custom-pricing-banner, .contact-card,
.btn-primary, .btn-ghost, .btn-buy, .btn-doc, .btn-nav, .btn-submit, .price-btn, .cat-btn { border-radius: 6px; }

/* un seul mot en couleur : celui de l'accueil */
.section-header h2 .accent, .about-wrap .accent, .contact .accent { color: inherit; }

/* etiquettes : texte technique plutot que pastilles lumineuses */
.badge, .badge-gold {
  background: none; border: none; padding: 0; border-radius: 0;
  font-family: var(--mono); font-weight: 500; font-size: .78rem;
  letter-spacing: .02em; text-transform: none; color: var(--muted);
}
.card-cat-tag { border-radius: 3px; font-family: var(--mono); text-transform: none; letter-spacing: 0; font-weight: 500; }
.stat-num, .price-btn, .cat-count, .about-stat-num, .cpb-tier-price strong { font-family: var(--mono); }
.stat-num { font-weight: 500; }
.stat-label { text-transform: none; letter-spacing: 0; font-size: .85rem; }

/* accueil : texte a gauche, capture reelle a droite */
.hero { min-height: auto; padding: 136px 0 88px; }
.hero-content.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
  text-align: left;
  padding: 0 24px;
}
.hero-split h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; }
.hero-split .hero-sub { margin: 0 0 32px; font-size: 1.05rem; }
.hero-split .hero-cta, .hero-split .hero-stats { justify-content: flex-start; }
.hero-split .stat { text-align: left; }
.hero-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 6px; }
.hero-shot figcaption { margin-top: 10px; font-family: var(--mono); font-size: .75rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero { padding: 104px 0 56px; }
  .hero-content.hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-split h1 { font-size: 1.9rem; }
}

/* captures sur les cartes */
.card-shot { aspect-ratio: 1200 / 630; object-fit: cover; object-position: right center; }
.btn-buy { background: var(--accent); color: var(--bg); }
.price-btn { font-family: var(--font); }
