/* ══════════════════════════════════════════════════
   DIAGIA — styles.css v5.0 — COMPLET & UNIFIÉ
   ✅ Scroll freeze corrigé
   ✅ Float-cards visibles
   ✅ Navbar mobile sans saut de layout
   ✅ scroll-padding-top pour ancres
   ✅ iOS touch scrolling
   ✅ Responsive parfait
   ✅ App Store buttons
   ✅ Chatbot mobile fix intégré
   ✅ Section parrainage
   ✅ Section app download
   ✅ Espace client navbar
══════════════════════════════════════════════════ */
:root {
  --bg: #080C14;
  --bg2: #0D1220;
  --bg3: #111827;
  --surface: #161D2E;
  --surface2: #1E2740;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --accent: #00D4FF;
  --accent2: #0066FF;
  --purple: #8B5CF6;
  --green: #10B981;
  --orange: #F59E0B;
  --red: #EF4444;
  --text: #F0F4FF;
  --text2: #94A3B8;
  --text3: #64748B;
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --navbar-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--navbar-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
body > * { max-width: 100vw; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--navbar-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(8,12,20,.96);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(14px);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--text);
  text-decoration: none; flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-links {
  display: flex; list-style: none; gap: 28px; margin: 0; flex: 1;
}
.nav-links a {
  color: var(--text2); font-size: .9rem; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-nav-client {
  padding: 8px 14px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 8px;
  color: var(--accent); font-size: .82rem; font-weight: 600;
  white-space: nowrap; transition: all .2s;
  text-decoration: none;
}
.btn-nav-client:hover { background: rgba(0,212,255,.18); text-decoration: none; }
.btn-nav-outline {
  padding: 8px 16px;
  background: transparent; border: 1px solid var(--border2);
  border-radius: 8px; color: var(--text2); font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-nav-outline:hover { background: rgba(255,255,255,.06); color: var(--text); }
.btn-nav-cta {
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none; border-radius: 8px;
  color: #000; font-size: .875rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: opacity .2s;
}
.btn-nav-cta:hover { opacity: .88; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text2); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding-top: var(--navbar-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,102,255,.12) 0%, transparent 60%);
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
}
.hero-orb-1 { width: 600px; height: 600px; background: #0066FF; top: -100px; left: -100px; }
.hero-orb-2 { width: 500px; height: 500px; background: #8B5CF6; bottom: -50px; right: -80px; }
.hero-container {
  max-width: 1280px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-left { display: flex; flex-direction: column; gap: 24px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-pill {
  padding: 6px 14px; border-radius: 100px;
  font-size: .78rem; font-weight: 600; font-family: var(--font-head);
}
.badge-blue { background: rgba(0,102,255,.15); border: 1px solid rgba(0,102,255,.3); color: #7BB3FF; }
.badge-green { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3); color: #6EE7B7; }
.hero-h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
}
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%, var(--purple) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: var(--text2); font-size: 1.05rem; line-height: 1.7; max-width: 520px; }
.hero-stats { display: flex; align-items: center; gap: 20px; }
.stat-sep { width: 1px; height: 36px; background: var(--border2); }
.stat-n { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.stat-l { font-size: .75rem; color: var(--text3); font-weight: 500; margin-top: 2px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none; border-radius: 12px;
  color: #000; font-weight: 700; font-size: .95rem; font-family: var(--font-head);
  cursor: pointer; transition: opacity .2s, transform .2s;
}
.btn-hero-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border2);
  border-radius: 12px; color: var(--text2); font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: all .2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.1); color: var(--text); }

/* ── APP STORE BUTTONS ─────────────────────────── */
.app-store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.app-store-row-lg { margin-top: 8px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border2);
  border-radius: 12px; color: var(--text); font-size: .82rem;
  text-decoration: none; transition: all .2s; cursor: pointer;
}
.store-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); text-decoration: none; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-soon { font-size: .65rem; color: var(--text3); font-weight: 400; }
.store-name { font-weight: 700; font-family: var(--font-head); font-size: .875rem; }
.store-apple { border-color: rgba(255,255,255,.15); }
.store-google { border-color: rgba(255,255,255,.15); }
.store-btn-sm {
  padding: 7px 14px; gap: 8px; font-size: .78rem; border-radius: 8px;
}
.store-btn-sm span { font-weight: 600; }

.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: .8rem; color: var(--text3); font-weight: 500;
}
.hero-trust span::before { content: ''; }

/* ── PHONE MOCKUP ────────────────────────────────── */
.hero-right { display: flex; justify-content: center; align-items: center; }
.phone-scene { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px 60px; }
.phone-cards-left { display: none; }
.phone-cards-right { display: none; }
.float-card {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: rgba(22,29,46,.9); border: 1px solid var(--border2);
  border-radius: 12px; font-size: .75rem; font-weight: 600; color: var(--text);
  backdrop-filter: blur(8px); white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.fc-1 { animation: floatCard 4s ease-in-out infinite; }
.fc-2 { animation: floatCard 4s ease-in-out infinite 1.5s; }
.fc-3 { animation: floatCard 4s ease-in-out infinite 2.5s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.phone-wrap { position: relative; z-index: 3; }
.phone-frame {
  width: 240px; background: #0D1220;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 36px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.phone-notch { width: 80px; height: 20px; background: #080C14; border-radius: 0 0 12px 12px; margin: 0 auto; }
.phone-screen { padding: 12px; min-height: 380px; display: flex; flex-direction: column; gap: 10px; }
.phone-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.phone-logo-row { display: flex; align-items: center; gap: 6px; }
.phone-logo-icon { width: 22px; height: 22px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .65rem; color: #000; }
.phone-logo-txt { font-family: var(--font-head); font-size: .75rem; font-weight: 800; }
.phone-menu-icon { font-size: .8rem; color: var(--text3); }
.phone-chat { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-badge { display: inline-flex; align-items: center; gap: 4px; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25); color: #fbbf24; font-size: .6rem; font-weight: 600; padding: 3px 8px; border-radius: 100px; align-self: flex-start; }
.pc-msg { padding: 8px 10px; border-radius: 10px; font-size: .65rem; line-height: 1.5; }
.pc-user { background: rgba(0,102,255,.2); border: 1px solid rgba(0,102,255,.25); color: var(--text2); }
.pc-ai { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2); }
.pc-typing { display: flex; gap: 3px; align-items: center; padding: 4px 0; }
.pc-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--text3); animation: typing 1.2s infinite; }
.pc-typing span:nth-child(2) { animation-delay: .2s; }
.pc-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { opacity:.3; transform:translateY(0); } 30% { opacity:1; transform:translateY(-4px); } }
.pc-response { display: none; }
.pc-alert { font-size: .6rem; font-weight: 700; color: #fbbf24; background: rgba(251,191,36,.1); padding: 4px 8px; border-radius: 6px; margin-bottom: 6px; }
.pc-diag { font-size: .6rem; line-height: 1.6; color: var(--text2); }
.pc-label { font-weight: 700; }
.phone-bot-badge { display: flex; align-items: center; gap: 6px; font-size: .6rem; color: var(--text3); background: rgba(255,255,255,.03); border-top: 1px solid var(--border); padding: 8px 12px; margin: -12px; margin-top: 0; }
.green-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:.4; } }
.phone-home-bar { width: 60px; height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; margin: 8px auto 6px; }
/* Phone animation */
@keyframes showDots { 0%,40% { opacity:1; } 50%,100% { opacity:0; } }
@keyframes showResponse { 0%,45% { opacity:0; } 55%,100% { opacity:1; } }
#pcTyping { animation: showDots 2.5s ease-in-out 1 forwards; }
#pcResponse { display: block; animation: showResponse 2.5s ease-in-out 1 forwards; }
.phone-frame-sm { width: 180px; }
.phone-frame-sm .phone-screen { min-height: 280px; padding: 8px; }

/* ── TRUST STRIP ─────────────────────────────────── */
.trust-strip { background: rgba(255,255,255,.025); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; overflow: hidden; }
.trust-strip-inner { display: flex; align-items: center; gap: 20px; padding: 0 24px; max-width: 1280px; margin: 0 auto; flex-wrap: wrap; font-size: .82rem; color: var(--text3); font-weight: 500; justify-content: center; }
.ts-dot { color: var(--border2); }

/* ── SECTIONS ────────────────────────────────────── */
.section { padding: 100px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-label { display: inline-block; font-size: .78rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.2); padding: 4px 14px; border-radius: 100px; margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text2); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ── PROBLEMS ────────────────────────────────────── */
.problems-section { background: var(--bg2); }
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.problem-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: border-color .3s; }
.problem-card:hover { border-color: rgba(239,68,68,.3); }
.problem-icon { font-size: 2rem; margin-bottom: 14px; }
.problem-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.problem-card p { color: var(--text2); font-size: .875rem; line-height: 1.65; margin-bottom: 14px; }
.problem-cost { font-size: .78rem; font-weight: 600; color: var(--red); background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.15); padding: 6px 12px; border-radius: 8px; }

/* ── FEATURES ────────────────────────────────────── */
.features-list { display: flex; flex-direction: column; gap: 56px; }
.feature-row { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.feature-row-rev { grid-template-columns: 1fr auto; }
.feature-row-rev .feature-icon-wrap { order: 2; }
.feature-row-rev .feature-body { order: 1; }
.feature-icon-wrap { width: 100px; height: 100px; border-radius: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fi-blue { background: linear-gradient(135deg, #0066FF, #0099FF); box-shadow: 0 20px 40px rgba(0,102,255,.25); }
.fi-purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); box-shadow: 0 20px 40px rgba(139,92,246,.25); }
.fi-green { background: linear-gradient(135deg, #10B981, #059669); box-shadow: 0 20px 40px rgba(16,185,129,.25); }
.feature-body h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.feature-body p { color: var(--text2); line-height: 1.7; max-width: 540px; margin-bottom: 14px; }
.feature-tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--text3); background: rgba(255,255,255,.04); border: 1px solid var(--border); padding: 5px 12px; border-radius: 8px; }

/* ── HOW IT WORKS ────────────────────────────────── */
.how-section { background: var(--bg2); }
.steps-row { display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; }
.step-item { text-align: center; max-width: 180px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #000; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step-item h4 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.step-item p { font-size: .82rem; color: var(--text2); line-height: 1.5; }
.step-arrow { font-size: 1.5rem; color: var(--text3); flex-shrink: 0; }

/* ── ROI CALCULATOR ──────────────────────────────── */
.roi-section { background: linear-gradient(135deg, rgba(0,102,255,.06) 0%, transparent 60%); }
.roi-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.roi-left h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.roi-left p { color: var(--text2); margin-bottom: 28px; }
.roi-form { display: flex; flex-direction: column; gap: 20px; }
.roi-field label { display: block; font-size: .85rem; color: var(--text2); font-weight: 500; margin-bottom: 10px; }
.roi-val { color: var(--accent); font-weight: 700; }
.roi-field input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.roi-result-box { background: var(--surface); border: 1px solid rgba(0,212,255,.15); border-radius: var(--radius-lg); padding: 36px; text-align: center; box-shadow: 0 0 40px rgba(0,212,255,.06); }
.roi-label-sm { font-size: .78rem; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.roi-number { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--green); margin-bottom: 8px; }
.roi-sub { font-size: .875rem; color: var(--text2); margin-bottom: 24px; }
.btn-roi { padding: 12px 28px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border: none; border-radius: 10px; color: #000; font-weight: 700; font-size: .9rem; cursor: pointer; width: 100%; transition: opacity .2s; }
.btn-roi:hover { opacity: .88; }

/* ── APP DOWNLOAD SECTION ────────────────────────── */
.app-section { background: var(--bg2); }
.app-download-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.app-dl-left h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.app-dl-left p { color: var(--text2); margin-bottom: 24px; line-height: 1.7; }
.app-dl-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.app-dl-feat { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--text2); }
.app-dl-feat span { color: var(--green); font-weight: 700; }
.app-dl-right { display: flex; justify-content: center; }
.app-dl-phone { padding: 20px; }
.app-screen-content { display: flex; flex-direction: column; gap: 12px; padding: 8px 4px; flex: 1; }
.app-screen-stat { background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.15); border-radius: 10px; padding: 12px; text-align: center; }
.app-stat-n { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.app-stat-l { font-size: .6rem; color: var(--text3); }
.app-screen-recent { display: flex; flex-direction: column; gap: 6px; }
.app-recent-item { display: flex; align-items: center; gap: 6px; font-size: .6rem; color: var(--text2); background: rgba(255,255,255,.03); border-radius: 8px; padding: 8px; }
.app-recent-icon { font-size: .75rem; flex-shrink: 0; }
.app-recent-item span:nth-child(2) { flex: 1; }
.app-badge-ok { background: rgba(16,185,129,.15); color: var(--green); padding: 2px 6px; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.app-badge-warn { background: rgba(239,68,68,.15); color: var(--red); padding: 2px 6px; border-radius: 4px; font-weight: 600; white-space: nowrap; }

/* ── PRICING ─────────────────────────────────────── */
.pricing-section { background: var(--bg2); }
.billing-toggle { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px; max-width: 300px; margin: 0 auto 32px; }
.toggle-btn { flex: 1; padding: 9px 16px; border: none; border-radius: 9px; background: transparent; color: var(--text2); font-weight: 600; font-size: .85rem; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.toggle-btn.toggle-active { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #000; }
.save-badge { background: rgba(16,185,129,.2); color: var(--green); font-size: .65rem; padding: 2px 7px; border-radius: 100px; font-weight: 700; }
.trial-banner { display: flex; align-items: center; justify-content: space-between; background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.2); border-radius: var(--radius-lg); padding: 18px 24px; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.trial-left { display: flex; align-items: center; gap: 14px; }
.trial-icon { font-size: 1.8rem; flex-shrink: 0; }
.trial-left strong { display: block; font-family: var(--font-head); font-size: .95rem; margin-bottom: 2px; }
.trial-left span { font-size: .82rem; color: var(--text2); }
.btn-trial { padding: 10px 22px; background: var(--green); border: none; border-radius: 10px; color: #000; font-weight: 700; font-size: .85rem; cursor: pointer; white-space: nowrap; transition: opacity .2s; }
.btn-trial:hover { opacity: .88; }
.pricing-guarantees-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: .78rem; color: var(--text3); margin-bottom: 28px; padding: 10px 16px; background: rgba(255,255,255,.03); border-radius: 10px; border: 1px solid rgba(255,255,255,.06); }
.pg-item { display: flex; align-items: center; gap: 4px; }
.pg-sep { color: var(--border2); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.plan-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; position: relative; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.plan-card:hover { transform: translateY(-4px); border-color: var(--border2); }
.plan-featured { border-color: rgba(0,212,255,.3); background: linear-gradient(160deg, rgba(0,102,255,.06) 0%, rgba(22,29,46,1) 60%); }
.plan-featured:hover { border-color: rgba(0,212,255,.5); }
.plan-popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #000; font-size: .72rem; font-weight: 700; font-family: var(--font-head); padding: 4px 14px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.plan-desc { font-size: .8rem; color: var(--text3); margin-bottom: 20px; }
.plan-price-wrap { margin-bottom: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; }
.plan-amount { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--text); }
.plan-curr { font-size: 1.2rem; font-weight: 700; color: var(--text2); margin-left: 2px; }
.plan-period { font-size: .78rem; color: var(--text3); }
.plan-annual { font-size: .72rem; color: var(--accent); margin-top: 4px; }
.plan-quota { display: inline-block; background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.15); color: var(--accent); font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 8px; margin-bottom: 20px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan-features li { font-size: .85rem; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.plan-features li:first-child { color: var(--text); }
.feat-no { color: var(--text3) !important; }
.btn-plan { padding: 12px; border: 1px solid var(--border2); border-radius: 10px; background: transparent; color: var(--text); font-weight: 700; font-size: .875rem; cursor: pointer; transition: all .2s; margin-bottom: 12px; }
.btn-plan:hover { background: rgba(255,255,255,.06); }
.btn-plan-featured { background: linear-gradient(135deg, var(--accent), var(--accent2)); border: none; color: #000; }
.btn-plan-featured:hover { opacity: .88; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.plan-activation { font-size: .72rem; color: var(--text3); text-align: center; }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .8rem; color: var(--text3); margin-bottom: 32px; flex-wrap: wrap; text-align: center; }
.pricing-note-sep { color: var(--border2); }
.guarantees { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.guarantee-item { display: flex; align-items: center; gap: 12px; font-size: .85rem; }
.guarantee-item span { font-size: 1.5rem; }
.guarantee-item strong { display: block; font-weight: 600; color: var(--text); }
.guarantee-item span:last-child { color: var(--text2); font-size: .78rem; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testi-section { background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: border-color .3s; }
.testi-card:hover { border-color: var(--border2); }
.testi-stars { color: #fbbf24; font-size: .9rem; }
.testi-card p { color: var(--text2); font-size: .875rem; line-height: 1.7; flex: 1; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: #000; flex-shrink: 0; }
.testi-author strong { display: block; font-size: .875rem; }
.testi-author span { font-size: .75rem; color: var(--text3); }
.testi-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ts { text-align: center; }
.ts-n { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--accent); }
.ts-l { font-size: .75rem; color: var(--text3); margin-top: 2px; }

/* ── REFERRAL SECTION ────────────────────────────── */
.referral-section { background: var(--bg2); }
.referral-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.referral-left h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.referral-left p { color: var(--text2); margin-bottom: 28px; line-height: 1.7; }
.referral-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.ref-step { display: flex; align-items: flex-start; gap: 14px; }
.ref-num { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #000; font-family: var(--font-head); font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.ref-step strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.ref-step p { font-size: .8rem; color: var(--text3); margin: 0; }
.btn-referral { padding: 12px 24px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border: none; border-radius: 12px; color: #000; font-weight: 700; font-size: .9rem; cursor: pointer; transition: opacity .2s; display: inline-block; }
.btn-referral:hover { opacity: .88; }
.referral-right { display: flex; justify-content: center; }
.referral-card {
  background: linear-gradient(160deg, #0f1f3d 0%, #0d1520 100%);
  border: 1px solid rgba(0,212,255,.35);
  border-radius: 24px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0,212,255,.12), inset 0 1px 0 rgba(255,255,255,.06);
  max-width: 320px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.referral-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(0,212,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
.ref-card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.ref-card-title { font-family: var(--font-head); font-size: .78rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
/* ── Code parrain : style néon ── */
.ref-code-wrap { position: relative; margin-bottom: 8px; cursor: pointer; }
.ref-code-preview {
  font-family: 'Courier New', monospace;
  font-size: 1.45rem;
  font-weight: 800;
  color: #00F0FF;
  background: rgba(0,212,255,.1);
  border: 1.5px solid rgba(0,212,255,.5);
  border-radius: 12px;
  padding: 14px 16px;
  letter-spacing: .18em;
  text-shadow: 0 0 12px rgba(0,212,255,.6), 0 0 24px rgba(0,212,255,.3);
  box-shadow: 0 0 16px rgba(0,212,255,.08), inset 0 1px 0 rgba(0,212,255,.1);
  transition: all .2s;
  user-select: all;
}
.ref-code-wrap:hover .ref-code-preview {
  border-color: rgba(0,212,255,.8);
  text-shadow: 0 0 16px rgba(0,212,255,.9), 0 0 32px rgba(0,212,255,.5);
  box-shadow: 0 0 24px rgba(0,212,255,.2);
}
.ref-copy-hint { font-size: .68rem; color: var(--text3); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.ref-copy-hint::before { content: '📋'; font-size: .7rem; }
.ref-card-note { font-size: .75rem; color: var(--text3); margin-bottom: 24px; }
.ref-card-gain { display: flex; gap: 16px; justify-content: center; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.06); }
.ref-gain-item { text-align: center; }
.ref-gain-n { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--green); text-shadow: 0 0 12px rgba(16,185,129,.3); }
.ref-gain-l { font-size: .68rem; color: var(--text3); line-height: 1.4; margin-top: 2px; }

/* ── Barre CTA mobile sticky ──────────────────────── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(8,12,20,.95);
  border-top: 1px solid rgba(0,212,255,.2);
  backdrop-filter: blur(14px);
}
.mobile-sticky-cta button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: 12px;
  color: #000;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .01em;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-section { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq-item:hover { border-color: var(--border2); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: var(--text); }
.faq-icon { font-size: 1.2rem; color: var(--text3); flex-shrink: 0; transition: transform .3s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; padding: 0 20px; }
.faq-a p { color: var(--text2); font-size: .875rem; line-height: 1.7; padding-bottom: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-a { max-height: 300px; }

/* ── CTA FINAL ───────────────────────────────────── */
.cta-final { background: linear-gradient(135deg, rgba(0,102,255,.08) 0%, rgba(139,92,246,.06) 100%); }
.cta-final-wrap { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-final h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-final p { color: var(--text2); margin-bottom: 32px; font-size: 1rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.cta-note { font-size: .78rem; color: var(--text3); }

/* ── FOOTER ──────────────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--text); }
.footer-brand p { font-size: .85rem; color: var(--text2); line-height: 1.65; }
.footer-badge { display: inline-block; font-size: .75rem; color: var(--text3); background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: 5px 12px; }
.footer-stores { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-family: var(--font-head); font-size: .78rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.footer-col a { font-size: .85rem; color: var(--text3); transition: color .2s; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: var(--text3); }

/* ── SOCIAL PROOF ────────────────────────────────── */
.social-proof { position: fixed; bottom: 24px; left: 24px; z-index: 900; transform: translateX(-120%); transition: transform .4s cubic-bezier(.34,1.56,.64,1); max-width: 300px; }
.social-proof.show { transform: translateX(0); }
.sp-inner { background: var(--surface); border: 1px solid var(--border2); border-radius: 12px; padding: 12px 16px; font-size: .78rem; color: var(--text2); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* ── MODALS ──────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 24px; padding: 36px 32px;
  width: 100%; max-width: 520px; position: relative;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform .25s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.06); border: none; border-radius: 8px;
  color: var(--text3); font-size: .85rem; width: 32px; height: 32px;
  cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,.12); color: var(--text); }

/* Progress bar */
.modal-progress { margin-bottom: 28px; }
.mp-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 10px; }
.mp-step { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mp-step span { width: 30px; height: 30px; border-radius: 50%; background: var(--surface2); border: 2px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: var(--text3); transition: all .3s; }
.mp-step em { font-size: .6rem; font-style: normal; color: var(--text3); }
.mp-step.active span { background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; color: #000; }
.mp-step.done span { background: var(--green); border-color: transparent; color: #fff; }
.mp-step.active em, .mp-step.done em { color: var(--text); }
.mp-line { width: 40px; height: 2px; background: var(--border2); margin: 0 4px; margin-bottom: 16px; transition: background .3s; }
.mp-bar { height: 3px; background: var(--surface2); border-radius: 2px; overflow: hidden; }
.mp-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 2px; transition: width .4s ease; }

/* Form steps */
.modal-step { display: none; }
.modal-step.active { display: block; }
.step-icon { font-size: 2.2rem; margin-bottom: 12px; }
.modal-box h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.step-sub { color: var(--text2); font-size: .875rem; margin-bottom: 20px; }
.demo-icon { font-size: 2rem; margin-bottom: 10px; }
.demo-modal p, .contact-modal p { color: var(--text2); font-size: .875rem; margin-bottom: 20px; }
.field-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-group label { font-size: .82rem; font-weight: 600; color: var(--text2); }
.field-group input, .field-group select, .field-group textarea {
  padding: 11px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border2);
  border-radius: 10px; color: var(--text); font-size: .875rem; font-family: var(--font-body);
  transition: border-color .2s; width: 100%; resize: vertical;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: none; border-color: var(--accent);
}
select { background-color: var(--surface) !important; color: var(--text) !important; }
select option { background-color: #1a1f2e !important; color: var(--text) !important; }
.field-err { font-size: .75rem; color: var(--red); display: none; min-height: 16px; }
.field-hint { font-size: .72rem; color: var(--text3); margin-top: 4px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--text3); }
.ape-selector { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border2); border-radius: 10px; cursor: pointer; transition: border-color .2s; }
.ape-selector:hover { border-color: var(--accent); }
.ape-placeholder { color: var(--text3); font-size: .875rem; }
.ape-selected { color: var(--text); font-size: .875rem; font-weight: 500; }
.code-group { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.code-group label { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--text2); margin-bottom: 8px; }
.optional-badge { background: rgba(255,255,255,.06); color: var(--text3); font-size: .65rem; padding: 2px 7px; border-radius: 100px; font-weight: 500; }
.input-with-status { position: relative; }
.input-with-status input { padding-right: 36px; }
.input-status { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .85rem; }
.code-info { font-size: .78rem; color: var(--green); margin-top: 6px; font-weight: 600; }
.plan-select-group { margin-bottom: 14px; }
.plan-select-group label { font-size: .82rem; font-weight: 600; color: var(--text2); display: block; margin-bottom: 10px; }
.plan-radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-radio { display: flex; cursor: pointer; }
.plan-radio input { display: none; }
.pr-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px; background: rgba(255,255,255,.03); border: 2px solid var(--border); border-radius: 10px; width: 100%; transition: all .2s; position: relative; }
.plan-radio input:checked + .pr-card { border-color: var(--accent); background: rgba(0,212,255,.06); }
.pr-popular { position: absolute; top: -8px; font-size: .55rem; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #000; padding: 2px 6px; border-radius: 100px; font-weight: 700; }
.pr-name { font-family: var(--font-head); font-size: .8rem; font-weight: 700; }
.pr-price { font-size: .65rem; color: var(--text3); }
.pr-featured { border-color: rgba(0,212,255,.25); }
.cgv-group { margin-bottom: 16px; }
.cgv-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .82rem; color: var(--text2); }
.cgv-check input { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.cgv-check a { color: var(--accent); }
.cgv-warn { font-size: .72rem; color: var(--orange); margin-top: 8px; }
.form-global-error { font-size: .82rem; color: var(--red); background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; }
.btn-step-next { width: 100%; padding: 13px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border: none; border-radius: 10px; color: #000; font-weight: 700; font-size: .9rem; cursor: pointer; transition: opacity .2s; }
.btn-step-next:hover { opacity: .88; }
.btn-step-next:disabled { opacity: .5; cursor: not-allowed; }
.btn-step-back { padding: 13px 18px; background: rgba(255,255,255,.04); border: 1px solid var(--border2); border-radius: 10px; color: var(--text2); font-weight: 600; font-size: .875rem; cursor: pointer; transition: all .2s; }
.btn-step-back:hover { background: rgba(255,255,255,.08); }
.step-btns { display: flex; gap: 10px; }
.step-reassure { font-size: .75rem; color: var(--text3); text-align: center; margin-top: 12px; }
.submit-note { font-size: .75rem; color: var(--text3); text-align: center; margin-top: 10px; }

/* Loading step */
.loading-wrap { text-align: center; padding: 40px 20px; }
.loader-ring { width: 56px; height: 56px; border: 3px solid var(--border2); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-wrap h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 8px; }
.loading-wrap p { color: var(--text3); font-size: .85rem; }

/* APE Modal */
.ape-modal { max-width: 480px; }
.ape-options { display: flex; flex-direction: column; gap: 8px; }
.ape-option { display: flex; align-items: center; gap: 14px; padding: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; transition: all .2s; }
.ape-option:hover, .ape-option.selected { border-color: var(--accent); background: rgba(0,212,255,.05); }
.ape-emoji { font-size: 1.5rem; }
.ape-option strong { display: block; font-size: .875rem; margin-bottom: 2px; }
.ape-option span { font-size: .78rem; color: var(--text2); }

/* Exit popup */
.exit-popup h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.exit-popup p { color: var(--text2); font-size: .875rem; margin-bottom: 0; }

/* ── CHATBOT ──────────────────────────────────────── */
.chatbot {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  width: 340px; background: var(--surface);
  border: 1px solid var(--border2); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  display: flex; flex-direction: column;
  transition: all .3s ease;
  max-height: 480px;
}
.chatbot.minimized { max-height: 64px; }
.chatbot.minimized .chatbot-body { display: none; }
.chatbot-hdr {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; cursor: pointer; border-radius: 20px;
  user-select: none; flex-shrink: 0;
}
.chatbot-hdr:hover { background: rgba(255,255,255,.03); border-radius: 20px; }
.cb-avatar-wrap { position: relative; flex-shrink: 0; }
.cb-av-letter { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; color: #000; }
.cb-online-dot { position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; background: var(--green); border: 2px solid var(--surface); border-radius: 50%; }
.chatbot-info { flex: 1; }
.cb-name { font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.cb-status { font-size: .72rem; color: var(--green); }
.chatbot-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cb-messages { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; max-height: 260px; }
.cb-msg { display: flex; gap: 8px; align-items: flex-end; }
.cb-bot { flex-direction: row; }
.cb-av-sm { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .65rem; color: #000; flex-shrink: 0; }
.cb-bubble { background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: .8rem; line-height: 1.5; color: var(--text2); max-width: 220px; }
.cb-msg:not(.cb-bot) .cb-bubble { background: rgba(0,102,255,.15); border-color: rgba(0,102,255,.2); border-radius: 12px 12px 4px 12px; margin-left: auto; color: var(--text); }
.cb-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; }
.cb-suggestions button { padding: 6px 10px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; color: var(--text2); font-size: .72rem; cursor: pointer; transition: all .2s; white-space: nowrap; }
.cb-suggestions button:hover { background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.25); color: var(--text); }
.cb-footer { padding: 8px 14px 14px; }
.btn-whatsapp { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.25); border-radius: 10px; color: #25D366; font-size: .8rem; font-weight: 600; text-decoration: none; transition: all .2s; width: 100%; justify-content: center; }
.btn-whatsapp:hover { background: rgba(37,211,102,.2); text-decoration: none; }
.pc-typing-chat { display: flex; gap: 3px; align-items: center; padding: 4px 2px; }
.pc-typing-chat span { width: 5px; height: 5px; border-radius: 50%; background: var(--text3); animation: typing 1.2s infinite; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(3,1fr); gap: 14px; }
  .hero-container { gap: 40px; }
  .roi-wrap { grid-template-columns: 1fr; gap: 36px; }
  .app-download-wrap { grid-template-columns: 1fr; gap: 36px; }
  .app-dl-right { display: none; }
  .referral-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: var(--navbar-h); left: 0; right: 0; background: rgba(8,12,20,.98); border-bottom: 1px solid var(--border); padding: 20px 24px; flex-direction: column; gap: 16px; backdrop-filter: blur(14px); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-actions .btn-nav-client { display: none; }
  .nav-actions .btn-nav-outline { display: none; }
  .nav-actions .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-container { grid-template-columns: 1fr; padding: 60px 24px; text-align: center; }
  .hero-right { display: none; }
  .hero-stats, .hero-ctas, .hero-trust, .hero-badges, .app-store-row { justify-content: center; }
  .hero-sub { margin: 0 auto; }
  .plans-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 24px; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-stats { gap: 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .plan-radios { grid-template-columns: repeat(3,1fr); }
  .modal-box { padding: 24px 20px; border-radius: 18px; }
  .step-btns { flex-direction: column; }
  .btn-step-back { order: 2; }
  .feature-row, .feature-row-rev { grid-template-columns: 1fr; text-align: center; }
  .feature-row-rev .feature-icon-wrap, .feature-row-rev .feature-body { order: unset; }
  .feature-icon-wrap { margin: 0 auto; }
  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .section { padding: 64px 0; }
  /* Chatbot mobile */
  .chatbot { width: calc(100% - 2rem); right: 1rem; left: 1rem; bottom: 4.5rem; }
  .chatbot.minimized { width: auto; max-width: 220px; right: 1rem; left: auto; bottom: 4.5rem; }
  .social-proof { max-width: 260px; }
  /* Parrainage : afficher la carte en version mini sur mobile */
  .referral-wrap { grid-template-columns: 1fr; gap: 32px; }
  .referral-right { display: flex !important; justify-content: center; }
  .referral-card { max-width: 100%; padding: 24px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  /* Mobile sticky CTA bar */
  .mobile-sticky-cta { display: block; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 1.8rem; }
  .plans-grid { max-width: 100%; }
  .modal-box { max-height: 95vh; border-radius: 16px 16px 0 0; align-self: flex-end; }
  .modal-overlay { padding: 0; align-items: flex-end; }
}
