/* ─────────────────────────────────────────────────
   ARAX — Présentation Marketing
   Design system cohérent avec l'app ARAX
   ───────────────────────────────────────────────── */

:root {
  --primary: #E0361C;
  --primary-dark: #C42D17;
  --secondary: #E14761;
  --accent: #E17A68;
  --bg: #0D0D0F;
  --bg-2: #111115;
  --surface: rgba(255,255,255,0.05);
  --surface-hover: rgba(255,255,255,0.09);
  --border: rgba(255,255,255,0.09);
  --border-hover: rgba(224,54,28,0.5);
  --text: #F0F0F2;
  --text-muted: rgba(240,240,242,0.55);
  --text-soft: rgba(240,240,242,0.75);
  --green: #4ade80;
  --orange: #f59e0b;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  /* ─── Glassmorphism ─── */
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  --glass-bg-hover: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.07) 100%);
  --glass-border: rgba(255,255,255,0.12);
  --glass-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.08) inset, 0 -1px 0 rgba(0,0,0,0.2) inset;
  --glass-shadow-hover: 0 20px 60px rgba(224,54,28,0.12), 0 8px 32px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.12) inset;
  --glass-blur: blur(20px) saturate(160%);
  --glass-reflect: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.12) 0%, transparent 60%);
}

/* ─── VIEW TRANSITION — onde circulaire ─── */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 9999; }

@keyframes shockOldOut {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes shockNewIn {
  0%   { opacity: 0; transform: scale(0.96); }
  55%  { opacity: 1; transform: scale(1.04); }
  80%  { transform: scale(0.99); }
  100% { opacity: 1; transform: scale(1); }
}

/* ─── LIGHT MODE ─── */
[data-theme="light"] {
  --bg: #f5f5f7;
  --bg-2: #ebebee;
  --surface: rgba(0,0,0,0.05);
  --surface-hover: rgba(0,0,0,0.09);
  --border: rgba(0,0,0,0.1);
  --border-hover: rgba(224,54,28,0.45);
  --text: #0D0D0F;
  --text-muted: rgba(13,13,15,0.48);
  --text-soft: rgba(13,13,15,0.7);
  /* ─── Glassmorphism light ─── */
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.48) 100%);
  --glass-bg-hover: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.62) 100%);
  --glass-border: rgba(255,255,255,0.85);
  --glass-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.95) inset, 0 -1px 0 rgba(0,0,0,0.04) inset;
  --glass-shadow-hover: 0 20px 60px rgba(224,54,28,0.1), 0 8px 32px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.95) inset;
  --glass-reflect: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.65) 0%, transparent 55%);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(245,245,247,0.45);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 32px rgba(0,0,0,0.1), 0 1px 0 rgba(255,255,255,0.9) inset;
}

[data-theme="light"] .stats-bg {
  background: linear-gradient(135deg, #fce8e5 0%, #fde8ea 50%, #f5e5f5 100%);
}
[data-theme="light"] .stats-bg::before {
  background: radial-gradient(ellipse at 50% 50%, rgba(224,54,28,0.12) 0%, transparent 70%);
}
[data-theme="light"] .stat-big {
  background: linear-gradient(135deg, #0D0D0F 0%, rgba(13,13,15,0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .stat-desc { color: rgba(13,13,15,0.55); }

[data-theme="light"] .stats-grid {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .mockup-card {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 32px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.06);
}

[data-theme="light"] .sms-notif {
  background: rgba(245,245,247,0.95);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

[data-theme="light"] .step-bubble {
  background: linear-gradient(135deg, var(--bg), var(--bg-2));
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(224,54,28,0.25);
}

[data-theme="light"] .nav-mobile {
  background: rgba(245,245,247,0.98);
}

[data-theme="light"] .theme-toggle {
  color: #0D0D0F;
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.06);
}

/* icône visible selon le thème */
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }
button { cursor: pointer; font-family: var(--font); border: none; }
input, textarea, select { font-family: var(--font); }

/* ─── UTILS ─── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.reveal-right {
  transform: translateX(40px);
}
.reveal.visible {
  opacity: 1;
  transform: translate(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(224,54,28,0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(224,54,28,0.45);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; }

.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
  background: var(--surface);
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(13,13,15,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 32px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 32px;
  width: auto;
}
.mockup-logo-sm .logo-img {
  height: 20px;
}
[data-theme="dark"] .logo-light  { display: none; }
[data-theme="dark"] .logo-dark   { display: block; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark  { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(224,54,28,0.3);
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224,54,28,0.4);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-soft);
  flex-shrink: 0;
  transition: var(--transition);
}
.theme-toggle:hover {
  background: var(--surface);
  color: var(--text);
}
.theme-toggle svg { display: block; }
.theme-toggle.spinning svg {
  animation: spinIcon 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes spinIcon {
  0%   { transform: rotate(0deg) scale(1); }
  40%  { transform: rotate(200deg) scale(0.7); }
  100% { transform: rotate(360deg) scale(1); }
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  gap: 16px;
  background: rgba(13,13,15,0.98);
}
.nav-mobile a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.btn-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 4px;
}

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

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: blobMove1 12s ease-in-out infinite;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: blobMove2 15s ease-in-out infinite;
}
.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: blobMove3 10s ease-in-out infinite;
  opacity: 0.12;
}

@keyframes blobMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 60px) scale(1.08); }
  66% { transform: translate(30px, -30px) scale(0.95); }
}
@keyframes blobMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(50px, -40px) scale(1.12); }
  70% { transform: translate(-20px, 30px) scale(0.92); }
}
@keyframes blobMove3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -60px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 80%
  );
  transform: skewX(-20deg);
  animation: badge-shine 4s ease-in-out infinite;
}

@keyframes badge-shine {
  0%   { left: -120%; opacity: 0; }
  10%  { opacity: 1; }
  40%  { left: 160%; opacity: 1; }
  50%  { left: 160%; opacity: 0; }
  100% { left: 160%; opacity: 0; }
}

[data-theme="light"] .hero-badge::after {
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(224, 54, 28, 0.22) 50%,
    transparent 80%
  );
}

.hero-title {
  font-size: clamp(5rem, 10vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── HERO MOCKUP ─── */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 100%;
  max-width: 360px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}

.floating {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mockup-logo-sm {
  display: flex;
  align-items: center;
}
.mockup-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.mockup-stat {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num.green { color: var(--green); }
.stat-num.orange { color: var(--orange); }
.stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-rdv {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  transition: var(--transition);
}
.mockup-rdv:last-child { margin-bottom: 0; }
.mockup-rdv:hover { border-color: var(--border-hover); }
.mockup-rdv.confirmed:hover { border-color: rgba(74,222,128,0.5); }
.mockup-rdv.pending:hover { border-color: rgba(245,158,11,0.5); }

.rdv-badge {
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.rdv-badge.confirmed { color: var(--green); }
.rdv-badge.pending { color: var(--orange); }

.rdv-vehicle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.rdv-meta {
  display: flex;
  gap: 14px;
}
.rdv-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.rdv-meta svg { opacity: 0.6; flex-shrink: 0; }

/* SMS notifications floating */
.sms-notif {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(20,20,25,0.92);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.sms-notif svg { color: var(--green); flex-shrink: 0; }

.notif-1 {
  top: -20px;
  right: -30px;
  animation: floatNotif1 7s ease-in-out infinite 1s;
}
.notif-2 {
  bottom: -20px;
  left: -30px;
  animation: floatNotif2 8s ease-in-out infinite 2s;
}

@keyframes floatNotif1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
}
@keyframes floatNotif2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 64px;
}

/* ─── PROBLEMS ─── */
.problems {
  background: var(--bg-2);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-reflect);
  pointer-events: none;
  z-index: 0;
}
.problem-card > * { position: relative; z-index: 1; }
.problem-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.problem-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(224,54,28,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}
.problem-card:hover .problem-icon {
  background: rgba(224,54,28,0.2);
}

.problem-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.problem-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0;
}

.problem-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── SOLUTION ─── */
.solution {
  background: var(--bg);
  text-align: center;
}
.solution .section-sub { margin-left: auto; margin-right: auto; }

.solution-pillars {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.solution-pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-reflect);
  pointer-events: none;
  z-index: 0;
}
.solution-pillars > * { position: relative; z-index: 1; }

.pillar {
  flex: 1;
  padding: 40px 36px;
  text-align: center;
}
.pillar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.pillar-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}
.pillar-icon {
  width: 60px;
  height: 60px;
  background: rgba(224,54,28,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

/* ─── BENEFITS ─── */
.benefits {
  background: var(--bg);
}

.benefits-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.benefit-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}
.benefit-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-reflect);
  pointer-events: none;
  z-index: 0;
}
.benefit-panel > * { position: relative; z-index: 1; }
.benefit-panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.benefit-panel-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: rgba(224,54,28,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.benefit-panel-icon.secondary {
  background: rgba(99,102,241,0.12);
  color: #6366f1;
}

.benefit-panel h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.benefit-panel-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  margin-top: 4px;
  font-style: italic;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(74,222,128,0.12);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  margin-top: 1px;
}

/* ─── FEATURES ─── */
.features {
  background: var(--bg-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-reflect);
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 0;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(224,54,28,0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(var(--color-raw, 224,54,28), 0.12);
  background: color-mix(in srgb, var(--color) 14%, transparent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── ADN ─── */
.adn-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.adn-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(224,54,28,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.adn-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.adn-left .section-title { margin-bottom: 24px; }

.adn-text {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 20px;
}

.adn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.adn-tag {
  padding: 7px 16px;
  background: rgba(224,54,28,0.1);
  border: 1px solid rgba(224,54,28,0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.adn-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.adn-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-reflect);
  pointer-events: none;
  z-index: 0;
}
.adn-card > * { position: relative; z-index: 1; }

.adn-quote-mark {
  font-size: 5rem;
  line-height: 0.6;
  color: var(--primary);
  font-family: Georgia, serif;
  opacity: 0.4;
  margin-bottom: 16px;
}

.adn-quote {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}

.adn-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.adn-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.adn-author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}
.adn-author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.adn-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.adn-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.adn-value::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-reflect);
  pointer-events: none;
  z-index: 0;
}
.adn-value > * { position: relative; z-index: 1; }
.adn-value-icon {
  width: 40px;
  height: 40px;
  background: rgba(224,54,28,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.adn-value-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.adn-value-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.adn-value.visible .adn-value-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* ─── TIMELINE ─── */
.timeline-section {
  background: var(--bg);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-line {
  position: absolute;
  left: 35px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, rgba(224,54,28,0.15) 100%);
}
.timeline-line::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  top: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(224,54,28,0.4), transparent);
  filter: blur(4px);
  animation: linePulse 3s ease-in-out infinite;
}
@keyframes linePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.step-bubble {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--bg), var(--bg-2));
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(224,54,28,0.3);
  color: var(--primary);
}
.step-num {
  display: none;
}

.step-content {
  padding-top: 14px;
  flex: 1;
}
.step-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.step-badge.auto {
  color: var(--primary);
  background: rgba(224,54,28,0.1);
  border-color: rgba(224,54,28,0.25);
}
.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
}

/* ─── STATS ─── */
.stats-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0806 0%, #200a0a 50%, #180610 100%);
  z-index: 0;
}
.stats-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(224,54,28,0.2) 0%, transparent 70%);
}

.stats-section .container { position: relative; z-index: 1; }

.stats-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 64px;
  color: var(--text);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.stat-item {
  padding: 48px 32px;
  text-align: center;
  background: rgba(255,255,255,0.03);
  transition: background var(--transition);
}
.stat-item:hover,
.stat-item.auto-active { background: rgba(255,255,255,0.06); }

.stat-big {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  line-height: 1.4;
}

.stats-detail {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-top: 28px;
  min-height: 1.6em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.stats-detail.visible {
  opacity: 1;
  transform: translateY(0);
}

[data-theme="light"] .stats-detail {
  color: rgba(13,13,15,0.5);
}
[data-theme="light"] .stat-item { background: rgba(0,0,0,0.03); }
[data-theme="light"] .stat-item:hover,
[data-theme="light"] .stat-item.auto-active { background: rgba(0,0,0,0.08); }

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,54,28,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ctaBlob 10s ease-in-out infinite;
}
@keyframes ctaBlob {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--text);
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 48px;
}

.cta-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: left;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-soft);
}
.form-field input {
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.form-field input:focus {
  border-color: rgba(224,54,28,0.5);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(224,54,28,0.1);
}
.form-field input::placeholder {
  color: var(--text-muted);
}
.phone-input-wrapper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.phone-input-wrapper:focus-within {
  border-color: rgba(224,54,28,0.5);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(224,54,28,0.1);
}
.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: rgba(255,255,255,0.06);
  border-right: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  user-select: none;
}
.phone-input-wrapper input {
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ─── FORM SUCCESS ─── */
.form-success {
  padding: 56px 32px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.88) translateY(16px);
  transition: none;
}
.form-success.visible {
  animation: successIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes successIn {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Glow background */
.success-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(74,222,128,0.18) 0%, rgba(34,211,238,0.08) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
.form-success.visible .success-glow {
  animation: glowPulse 2.4s ease-in-out 0.4s infinite alternate;
}
@keyframes glowPulse {
  from { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

/* Icon wrapper */
.success-icon-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  opacity: 0;
}
.form-success.visible .success-icon-wrap {
  animation: fadeSlideUp 0.5s ease-out 0.15s forwards;
}

/* SVG ring */
.success-ring {
  width: 80px;
  height: 80px;
  display: block;
}
.ring-draw {
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transform-origin: 40px 40px;
  transform: rotate(-90deg);
}
.form-success.visible .ring-draw {
  animation: ringDraw 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}
@keyframes ringDraw {
  to { stroke-dashoffset: 0; }
}

.check-draw {
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
}
.form-success.visible .check-draw {
  animation: checkDraw 0.38s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}
@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

/* Particles */
.success-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.s-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
}
.s-particle.burst {
  animation: particleBurst 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes particleBurst {
  0%   { opacity: 1; transform: translate(-50%, -50%) translate(0, 0) scale(1); }
  70%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(0.2); }
}

/* Text elements */
.success-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  opacity: 0;
  letter-spacing: -0.02em;
}
.form-success.visible .success-title {
  animation: fadeSlideUp 0.5s ease-out 0.95s forwards;
}

.success-sub {
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0;
}
.form-success.visible .success-sub {
  animation: fadeSlideUp 0.5s ease-out 1.1s forwards;
}
.success-sub strong {
  color: var(--text);
  font-weight: 600;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4ade80;
  opacity: 0;
}
.form-success.visible .success-badge {
  animation: fadeSlideUp 0.5s ease-out 1.25s forwards, badgePulse 2s ease-in-out 2s infinite alternate;
}
@keyframes badgePulse {
  from { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
  to   { box-shadow: 0 0 12px 2px rgba(74,222,128,0.2); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1024px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .benefits-split { grid-template-columns: 1fr; gap: 20px; }
  .adn-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content { order: 1; }
  .hero-mockup { order: 2; }
  .mockup-rdv { text-align: left; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .reveal-right { transform: translateY(32px); }

  .container { padding: 0 20px; }
  .section { padding: 72px 0; }

  .problems-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-panel { padding: 28px 24px; }

  .timeline-line { left: 27px; }
  .step-bubble { width: 56px; height: 56px; }

  .form-row { grid-template-columns: 1fr; }
  .cta-form { padding: 24px 20px; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 16px; }

  .sms-notif { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { justify-content: center; }
}
