/* ============================================
   SOLERIA — Design Tokens & Base (Light · Warm)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* Backgrounds — subtly warmed */
  --bg: #FBF9F4;            /* soft warm ivory */
  --bg-2: #FFFFFF;
  --bg-3: #F5F1E8;          /* warm cream — alt sections */
  --bg-tonal: #EFEAF8;      /* lavender tonal */

  /* Surfaces */
  --surface: rgba(255, 255, 255, 0.7);
  --surface-2: rgba(255, 255, 255, 0.95);
  --surface-glass: rgba(255, 255, 255, 0.7);

  /* Borders — warmer */
  --border: rgba(50, 35, 20, 0.09);
  --border-strong: rgba(50, 35, 20, 0.16);
  --border-warm: rgba(180, 130, 80, 0.3);

  /* Text — warm near-black */
  --text: #1A140F;
  --text-2: #5C5247;
  --text-3: #6B6052;        /* darkened for AA contrast on ivory (≈5.4:1) */

  /* Accents — Stripe Pure */
  --indigo: #635BFF;        /* primary */
  --violet: #7C3AED;
  --violet-soft: #A78BFA;
  --cyan: #06B6D4;
  --coral: #635BFF;         /* aliased to primary for back-compat */
  --rose: #A78BFA;
  --amber: #F59E0B;
  --emerald: #10B981;

  /* Gradients */
  --grad: linear-gradient(135deg, #635BFF 0%, #A78BFA 100%);
  --grad-soft: linear-gradient(135deg, #C7D2FE 0%, #E0E7FF 100%);
  --grad-cool: linear-gradient(135deg, #06B6D4 0%, #635BFF 100%);
  --grad-text: linear-gradient(180deg, #0A0A0A 0%, #3A3A3F 100%);
  --grad-heading: linear-gradient(135deg, #635BFF 0%, #7C3AED 100%);

  /* Type scale */
  --display: clamp(56px, 8.5vw, 128px);
  --h1: clamp(44px, 6vw, 88px);
  --h2: clamp(36px, 4.6vw, 64px);
  --h3: clamp(22px, 2vw, 28px);

  /* Spacing */
  --section-y: clamp(80px, 10vw, 160px);
  --container: 1280px;
  --container-wide: 1440px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 1px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.06), 0 24px 56px rgba(0,0,0,0.08);
  --shadow-glow: 0 8px 24px rgba(99,91,255,0.22), 0 0 60px rgba(167,139,250,0.14);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--violet); color: white; }

/* ============================================
   Background — soft grid + pastel glows
   ============================================ */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(50,35,20,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(50,35,20,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 70%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-glow::before, .bg-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.bg-glow::before {
  width: 720px; height: 720px;
  background: radial-gradient(circle, #C7D2FE 0%, transparent 60%);
  top: -260px; left: 30%; transform: translateX(-50%);
}
.bg-glow::after {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #FBE2C8 0%, transparent 65%);
  top: 80px; right: -120px;
  opacity: 0.7;
}
.bg-glow {
  /* Add third warm glow via box-shadow trick — use a span instead */
}

main { position: relative; z-index: 1; }

/* ============================================
   Container & Section
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-y) 0; position: relative; }

/* ============================================
   Navbar
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px 10px 20px;
  background: rgba(251, 249, 244, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(99,91,255,0.4), 0 0 24px rgba(167,139,250,0.25);
}
.logo-mark svg { width: 16px; height: 16px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(10,10,10,0.04); }

/* Dropdown menu — Agents */
.nav-dropdown-wrap {
  position: relative;
}
.nav-with-caret {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-with-caret svg { opacity: 0.5; transition: transform 0.2s; }
.nav-dropdown-wrap:hover .nav-with-caret svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, -8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
  background: rgba(255, 252, 247, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px;
  min-width: 340px;
  margin-top: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 110;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  transition: background 0.15s;
  color: var(--text) !important;
  font-size: 13px !important;
  text-decoration: none;
}
.nav-dropdown-item:hover { background: var(--bg-3) !important; }
.nav-dropdown-emoji {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99,91,255,0.14), rgba(167,139,250,0.1));
  border: 1px solid rgba(99,91,255,0.22);
  border-radius: 9px;
  font-size: 16px;
  flex-shrink: 0;
}
.nav-dropdown-text { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-name {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.nav-dropdown-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 8px 22px rgba(99,91,255,0.4), 0 0 32px rgba(167,139,250,0.22);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 12px 28px rgba(99,91,255,0.5), 0 0 40px rgba(167,139,250,0.3);
}
.btn-ghost {
  background: white;
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--bg-3); border-color: var(--border-warm); }
.btn-lg { padding: 16px 26px; font-size: 15px; }

.nav .btn-primary { padding: 10px 18px; font-size: 13px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 20px; height: 20px;
  background: var(--grad);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(99,91,255,0.4);
}
.badge-dot::before {
  content: '';
  width: 6px; height: 6px;
  background: white; border-radius: 50%;
}

h1.hero-title {
  font-size: var(--h1);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
  text-wrap: balance;
}
h1.hero-title .hero-kicker {
  display: block;
  font-family: 'Geist', sans-serif;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.35;
  text-wrap: balance;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
h1.hero-title .grad-line {
  display: block;
  color: var(--text);
  font-family: 'Geist', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  opacity: 0.85;
  margin-top: 18px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 14px;
  line-height: 1.5;
  text-wrap: pretty;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero-sub strong {
  font-weight: 600;
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub-secondary {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.5;
  font-weight: 400;
}

.hero-custom {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 14px;
  background: linear-gradient(135deg, rgba(99,91,255,0.06), rgba(167,139,250,0.06));
  border: 1px solid rgba(99,91,255,0.25);
  border-radius: 100px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(99,91,255,0.08);
  max-width: calc(100% - 32px);
}
.hero-custom-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #635BFF, #A78BFA);
  border-radius: 50%;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(99,91,255,0.3);
}
.hero-custom-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
  text-align: left;
}
.hero-custom-text strong {
  font-weight: 600;
  background: linear-gradient(135deg, #635BFF, #7C3AED);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 600px) {
  .hero-custom { padding: 14px 18px; border-radius: 18px; }
  .hero-custom-text { font-size: 13px; }
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.stat {
  background: white;
  padding: 28px 20px;
  text-align: center;
}
.stat-num {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 4px;
  font-family: 'Geist', sans-serif;
}
.stat-num .accent {
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 13px; color: var(--text-3); }

@media (max-width: 720px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 12px; }
  .stat-num { font-size: 24px; }
}

/* ============================================
   STATS STRIP — animated promise bar
   ============================================ */
.stats-strip {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 28px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(99,91,255,0.10), rgba(255,255,255,0.92) 40%, rgba(99,91,255,0.08));
  border: 1px solid rgba(99,91,255,0.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 40px -22px rgba(99,91,255,0.35),
    0 8px 20px -14px rgba(15,15,25,0.10);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.stats-strip::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 0% 50%, rgba(99,91,255,0.10), transparent 60%),
    radial-gradient(60% 120% at 100% 50%, rgba(34,197,94,0.08), transparent 60%);
  pointer-events: none;
}
.stats-strip-shine {
  position: absolute;
  top: 0; left: -40%;
  width: 35%; height: 100%;
  background: linear-gradient(110deg,
    transparent 0%,
    rgba(255,255,255,0.55) 45%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0.55) 55%,
    transparent 100%);
  filter: blur(2px);
  transform: skewX(-18deg);
  animation: strip-shine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes strip-shine {
  0%, 15%   { left: -40%; opacity: 0; }
  25%       { opacity: 1; }
  60%       { left: 110%; opacity: 1; }
  61%, 100% { left: 110%; opacity: 0; }
}
.stats-strip-item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  z-index: 1;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.stats-strip-item:hover { transform: translateY(-2px); }
.stats-strip-item:nth-child(2) .stats-num { animation-delay: .15s; }
.stats-strip-item:nth-child(4) .stats-num { animation-delay: .30s; }
.stats-strip-item:nth-child(6) .stats-num { animation-delay: .45s; }
.stats-strip-item:nth-child(8) .stats-num { animation-delay: .60s; }
.stats-strip-value {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats-num {
  background: linear-gradient(135deg, #635bff 0%, #8b5cf6 50%, #635bff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: stats-grad 5s ease-in-out infinite;
  display: inline-block;
}
@keyframes stats-grad {
  0%, 100% { background-position: 0% 50%; transform: translateY(0); }
  50%      { background-position: 100% 50%; transform: translateY(-1px); }
}
.stats-unit {
  font-size: 0.7em;
  color: #635bff;
  font-weight: 700;
}
.stats-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #22c55e;
  margin-left: 8px;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.55);
  animation: stats-dot 1.8s ease-out infinite;
  align-self: center;
}
@keyframes stats-dot {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.stats-strip-label {
  font-size: 12.5px;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
}
.stats-strip-sep {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, rgba(99,91,255,0.25), transparent);
  flex: 0 0 auto;
  z-index: 1;
}
@media (max-width: 720px) {
  .stats-strip { flex-wrap: wrap; padding: 16px 14px; gap: 12px 6px; }
  .stats-strip-sep { display: none; }
  .stats-strip-item { flex: 1 1 40%; }
  .stats-strip-label { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .stats-strip-shine, .stats-num, .stats-pulse { animation: none; }
  .stats-num { background-position: 0 0; }
}

/* ============================================
   CONSTAT — gentler but still dramatic
   ============================================ */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.kicker {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--indigo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h2.section-title {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  margin-top: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   AGENTS (legacy grid - unused, kept for safety)
   ============================================ */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.agent-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.agent-card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 980px) { .agents-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .agents-grid { grid-template-columns: 1fr; } }

/* ============================================
   PACK
   ============================================ */
.pack-wrap {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 80px 48px;
  background:
    radial-gradient(ellipse at top left, rgba(99,91,255,0.14), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(251,191,128,0.16), transparent 50%),
    linear-gradient(180deg, #F5F1E8 0%, #EFE8F8 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.pack-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.pack-inner { position: relative; }
.pack-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0;
}
.pack-col {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pack-col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pack-col-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(99,91,255,0.32);
}
.pack-col-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.pack-col-text { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.pack-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .pack-wrap { padding: 56px 24px; }
  .pack-cols { grid-template-columns: 1fr; }
}

/* ============================================
   PREUVES
   ============================================ */
.preuves-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.preuve {
  text-align: center;
  padding: 40px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.preuve:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.preuve::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  width: 200%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(99,91,255,0.08), transparent 50%);
  transform: translateX(-50%);
  pointer-events: none;
}
.preuve-num {
  position: relative;
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  font-feature-settings: 'tnum';
}
.preuve-label { position: relative; font-size: 14px; color: var(--text-2); }

@media (max-width: 900px) { .preuves-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   MÉTHODE
   ============================================ */
.methode-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 64px;
}
.methode-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-warm) 20%, var(--border-warm) 80%, transparent);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 600;
  font-family: 'Geist Mono', monospace;
  position: relative;
  box-shadow: 0 0 0 8px var(--bg), 0 8px 24px rgba(99,91,255,0.18);
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.step-num span {
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step-desc { font-size: 14px; color: var(--text-2); }

.methode-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.methode-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.methode-badge svg { color: var(--emerald); }

@media (max-width: 800px) {
  .methode-steps { grid-template-columns: 1fr; gap: 40px; }
  .methode-steps::before { display: none; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  color: var(--text);
}
.faq-item:hover .faq-q { color: var(--violet); }
.faq-toggle {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s, background 0.2s, border-color 0.2s;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--grad); border-color: transparent; color: white; }
.faq-toggle svg { width: 14px; height: 14px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  padding: 0 8px;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 8px 28px;
}

/* ============================================
   FOOTER CTA — warm spotlight
   ============================================ */
.footer-cta {
  position: relative;
  text-align: center;
  padding: 100px 32px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at center top, rgba(99,91,255,0.22), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(251,191,128,0.22), transparent 60%),
    linear-gradient(180deg, #EFEAF8 0%, #F5E8D8 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, black, transparent 70%);
  pointer-events: none;
}
.footer-cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.footer-cta h2 { font-size: var(--h2); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; color: var(--text); margin-bottom: 20px; text-wrap: balance; }
.footer-cta p { color: var(--text-2); font-size: 17px; margin-bottom: 36px; }
.footer-cta .cta-row { margin-bottom: 0; }
.footer-cta .kicker { color: var(--indigo); }

.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-meta { font-size: 13px; color: var(--text-3); display: flex; gap: 24px; }
.footer-meta a:hover { color: var(--text-2); }

/* ============================================
   BOTTOM ACTION BAR (moved from hero)
   ============================================ */
.bottom-actions {
  padding: var(--section-y) 0;
  position: relative;
}
.bottom-actions .hero-cta-note {
  color: var(--text);
  text-shadow: none;
}

/* ============================================
   Reveal animation
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Accessibility — reduced motion fallback
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  /* content must never stay hidden if motion is disabled */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Lucide icon system (replaces emoji icons)
   ============================================ */
.nav-dropdown-emoji,
.agent-emoji,
[class*="hero-tag-emoji"],
.agent-hero-emoji,
.cred-icn,
.cta-demo-icn { color: var(--indigo); }
.nav-dropdown-emoji svg,
.agent-emoji svg { width: 20px; height: 20px; display: block; }
[class*="hero-tag-emoji"] svg { width: 18px; height: 18px; display: block; }
.agent-hero-emoji svg { width: 38px; height: 38px; display: block; }
.constat-icn svg,
.pain-icn svg { width: 20px; height: 20px; display: block; }

/* ============================================
   Conversion block — demo line + audit CTA
   ============================================ */
.cta-demo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  margin: 0 auto 28px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.3s;
}
.cta-demo:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cta-demo-icn {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
}
.cta-demo-icn svg { width: 20px; height: 20px; }
.cta-demo-txt { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.cta-demo-lbl {
  font-family: 'Geist Mono', monospace;
  font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-2);
}
.cta-demo-num {
  font-size: 21px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text); font-feature-settings: 'tnum';
}
.cta-fineprint { font-size: 13px; color: var(--text-3); margin-top: 22px; margin-bottom: 0; }

/* ============================================
   Credibility grid (replaces invented stats)
   ============================================ */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cred-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.cred-card:hover { transform: translateY(-4px); border-color: var(--border-warm); box-shadow: var(--shadow-lg); }
.cred-icn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,91,255,0.14), rgba(167,139,250,0.10));
  border: 1px solid rgba(99,91,255,0.22);
  margin-bottom: 18px;
}
.cred-icn svg { width: 22px; height: 22px; }
.cred-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin-bottom: 10px; line-height: 1.25; }
.cred-text { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.cred-text a { color: var(--indigo); font-weight: 600; }
@media (max-width: 900px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cred-grid { grid-template-columns: 1fr; } }


/* ============================================
   Landing — Phase 1 animations (light theme)
   ============================================ */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 2; }
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .55; will-change: transform; }
.hero-orb.o1 { width: 46vw; max-width: 600px; height: 46vw; max-height: 600px; top: -12%; left: 6%;
  background: radial-gradient(circle, rgba(99,91,255,.30), transparent 70%); }
.hero-orb.o2 { width: 38vw; max-width: 520px; height: 38vw; max-height: 520px; top: 14%; right: 0;
  background: radial-gradient(circle, rgba(167,139,250,.26), transparent 70%); }
.hero-orb.o3 { width: 32vw; max-width: 440px; height: 32vw; max-height: 440px; bottom: -16%; left: 40%;
  background: radial-gradient(circle, rgba(6,182,212,.14), transparent 70%); }

.hero-title .word { display: inline-block; will-change: transform, opacity; }

/* GSAP owns the reveals when active — neutralise the CSS/IO reveal to avoid double-trigger & flash */
.gsap-on .reveal { transition: none !important; }
.gsap-on .reveal.in { opacity: 0; transform: translateY(20px); }
.gsap-on .hero-title.reveal { opacity: 1; }
.gsap-on .btn { transition: box-shadow .35s ease, background .25s ease, border-color .25s ease, color .25s ease; }
.gsap-on .btn, .gsap-on .cta-demo { will-change: transform; }

@media (max-width: 760px) { .hero-orb { filter: blur(54px); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .hero-orb { display: none; } }

/* ============================================
   HERO — Trustpilot chip + prompt bar + press strip
   ============================================ */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: -0.005em;
}
.trust-stars { display: inline-flex; gap: 2px; }
.trust-star {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #00B67A;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  border-radius: 2px;
}
.trust-text { white-space: nowrap; }
.trust-text strong { color: var(--text); font-weight: 700; }
.trust-brand {
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.trust-brand::before {
  content: "★";
  color: #00B67A;
  margin-right: 4px;
}

/* Prompt bar (Limova-inspired) */
.hero-prompt {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 14px;
  padding: 6px;
  position: relative;
  overflow: visible;
  z-index: 40;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset,
              0 12px 32px -16px rgba(99,91,255,0.25),
              0 24px 48px -28px rgba(124,58,237,0.18);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hero-prompt:focus-within {
  border-color: var(--violet-soft);
  box-shadow: 0 0 0 4px rgba(167,139,250,0.18),
              0 16px 36px -16px rgba(99,91,255,0.32);
}
.hero-prompt-agent {
  position: relative;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  flex: 0 0 auto;
  background: transparent;
  border-radius: 12px;
}
.hero-prompt-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-tonal);
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.hero-prompt-trigger:hover { background: color-mix(in oklab, var(--violet) 10%, var(--bg-tonal)); }
.hero-prompt-trigger[aria-expanded="true"] {
  border-color: var(--violet-soft);
  background: color-mix(in oklab, var(--violet) 8%, var(--bg-tonal));
}
.hero-prompt-trigger-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-prompt-trigger[aria-expanded="true"] .hero-prompt-caret { transform: rotate(180deg); }

.hero-prompt-menu {
  position: absolute;
  top: auto;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 10000;
  width: 300px;
  min-width: 300px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 20px 50px -16px rgba(99,91,255,0.35),
              0 8px 20px -8px rgba(0,0,0,0.12);
  max-height: 320px;
  overflow-y: auto;
  animation: hpm-in .18s ease-out;
}
@keyframes hpm-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-prompt-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.hero-prompt-menu li:hover,
.hero-prompt-menu li:focus-visible {
  background: var(--grad-heading);
  color: #fff;
  outline: none;
}
.hpm-emoji {
  display: inline-flex;
  width: 22px;
  justify-content: center;
  font-size: 15px;
}
.hero-prompt-caret {
  color: var(--violet);
  pointer-events: none;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.hero-prompt-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
}
.hero-prompt-input::placeholder { color: var(--text-3); }
.hero-prompt-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--grad-heading);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(99,91,255,0.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-prompt-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(99,91,255,0.55);
}

/* Secondary CTA row under prompt */
.hero-ctas-secondary {
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.hero-cta-call {
  position: relative;
  padding-left: 32px;
}
.hero-cta-call,
.hero-cta-call:hover,
.hero-cta-call:focus,
.hero-cta-call:active {
  transform: none !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}
.hero-cta-pulse {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: heroPulse 2.2s ease-out infinite;
}
@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.hero-cta-call strong { font-weight: 700; color: var(--text); margin-left: 2px; }
.hero-cta-divider { color: var(--border-strong); }
.hero-cta-note {
  font-size: 14px;
  color: #ffffff;
  font-weight: 700;
  max-width: 620px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.hero-cta-note strong { color: #ffffff; font-weight: 700; }
@media (max-width: 760px) {
  .hero-cta-divider { display: none; }
  .hero-cta-note { text-align: center; max-width: 100%; }
}

/* Press strip */
.hero-press {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.hero-press-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
}
.hero-press-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 44px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity .3s ease, filter .3s ease;
}
.hero-press-track:hover { opacity: 0.85; filter: grayscale(0.3); }
.hero-press-logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  user-select: none;
}
.hero-press-logo em { font-style: normal; color: var(--violet); font-weight: 800; }
.logo-echos { font-family: 'Times New Roman', serif; font-style: italic; font-weight: 700; }
.logo-figaro { font-family: 'Times New Roman', serif; font-weight: 700; letter-spacing: -0.01em; }
.logo-tribune { font-weight: 900; letter-spacing: 0.08em; font-size: 16px; }
.logo-capital { font-weight: 900; letter-spacing: -0.02em; font-size: 21px; }
.logo-frenchweb { font-family: 'Geist Mono', monospace; font-weight: 700; font-size: 16px; }

/* Responsive prompt bar */
@media (max-width: 720px) {
  .hero-prompt {
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 20px;
  }
  .hero-prompt-agent { width: 100%; justify-content: space-between; padding: 10px 14px; }
  .hero-prompt-input { flex-basis: 100%; padding: 10px 12px; border-top: 1px solid var(--border); }
  .hero-prompt-cta { width: 100%; justify-content: center; padding: 14px 20px; }
}

/* ============================================
   HERO — Ambient background, grid, particles, orb art
   ============================================ */
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('/hero-bg.jpg') center/cover no-repeat;
  opacity: .18;
  filter: saturate(1.3) brightness(1.4) contrast(1.1);
  mix-blend-mode: screen;
  animation: heroKenburns 28s ease-in-out infinite alternate;
  will-change: transform;
  mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 70%);
}
@keyframes heroKenburns {
  0%   { transform: scale(1.05) translate(-1%, -1%); }
  100% { transform: scale(1.15) translate(2%, 2%); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,91,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,91,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  animation: heroGridDrift 40s linear infinite;
  opacity: .5;
}
@keyframes heroGridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 56px 56px, 56px 56px; }
}

.hero-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.5), rgba(99,91,255,.7), rgba(6,182,212,.4), transparent);
  filter: blur(1px);
  opacity: .55;
  animation: heroScan 7s ease-in-out infinite;
}
@keyframes heroScan {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .8; }
  100% { transform: translateY(92vh); opacity: 0; }
}

.hero-particles { position: absolute; inset: 0; }
.hero-particles span {
  position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,91,255,.9), rgba(167,139,250,.2) 60%, transparent 70%);
  box-shadow: 0 0 10px rgba(99,91,255,.6);
  bottom: -10px;
  animation: heroParticle linear infinite;
  opacity: .5;
}
.hero-particles span:nth-child(1)  { left: 6%;  animation-duration: 18s; animation-delay: 0s; }
.hero-particles span:nth-child(2)  { left: 14%; animation-duration: 22s; animation-delay: 3s; width:3px;height:3px; }
.hero-particles span:nth-child(3)  { left: 22%; animation-duration: 16s; animation-delay: 6s; }
.hero-particles span:nth-child(4)  { left: 31%; animation-duration: 24s; animation-delay: 1s; width:5px;height:5px; }
.hero-particles span:nth-child(5)  { left: 40%; animation-duration: 20s; animation-delay: 9s; }
.hero-particles span:nth-child(6)  { left: 48%; animation-duration: 17s; animation-delay: 4s; }
.hero-particles span:nth-child(7)  { left: 57%; animation-duration: 23s; animation-delay: 11s; width:3px;height:3px;}
.hero-particles span:nth-child(8)  { left: 65%; animation-duration: 19s; animation-delay: 2s; }
.hero-particles span:nth-child(9)  { left: 73%; animation-duration: 21s; animation-delay: 7s; width:5px;height:5px;}
.hero-particles span:nth-child(10) { left: 82%; animation-duration: 18s; animation-delay: 5s; }
.hero-particles span:nth-child(11) { left: 90%; animation-duration: 25s; animation-delay: 10s; }
.hero-particles span:nth-child(12) { left: 96%; animation-duration: 20s; animation-delay: 8s; width:3px;height:3px;}
@keyframes heroParticle {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: .7; }
  50%  { transform: translateY(-50vh) translateX(20px); opacity: .9; }
  90%  { opacity: .5; }
  100% { transform: translateY(-100vh) translateX(-10px); opacity: 0; }
}

/* ============================================
   HERO — Agent figurines stage
   ============================================ */
/* ============================================
   HERO — Live AI Console (cards animées)
   ============================================ */
.hero-console {
  position: absolute;
  right: -2%;
  bottom: 4%;
  width: min(46vw, 560px);
  height: min(46vw, 560px);
  pointer-events: none;
  z-index: 1;
  perspective: 1400px;
}
.hc-glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(closest-side at 50% 50%, rgba(99,91,255,.45), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(56,189,248,.35), transparent 70%);
  filter: blur(40px);
  animation: hcGlow 6s ease-in-out infinite;
}
@keyframes hcGlow {
  0%,100% { opacity: .75; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.06); }
}
.hc-card {
  position: absolute;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(99,91,255,.18);
  border-radius: 18px;
  box-shadow:
    0 30px 60px -20px rgba(45,38,117,.35),
    0 8px 20px rgba(99,91,255,.15);
  padding: 14px 16px;
  color: #1a1640;
  font-size: 13px;
  transform-style: preserve-3d;
  will-change: transform;
}
.hc-card-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: #5b5689;
  margin-bottom: 10px;
}
.hc-card-head .hc-time { margin-left: auto; color: #8c87b8; font-weight: 500; }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
.hc-dot.live { animation: hcLive 1.6s ease-out infinite; }
@keyframes hcLive {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  100% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
}

/* Card 1 — Appel entrant */
.hc-call {
  top: 0; left: 0;
  width: 78%;
  transform: translateZ(40px) rotate(-3deg);
  animation: hcFloatA 8s ease-in-out infinite;
}
.hc-call-body { display: flex; align-items: center; gap: 12px; }
.hc-avatar {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #635bff, #a78bfa);
  display: grid; place-items: center;
  color: #fff; font-size: 18px;
  flex: 0 0 auto;
}
.hc-avatar .hc-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(99,91,255,.6);
  animation: hcAvRing 2.2s ease-out infinite;
}
.hc-avatar .hc-ring.r2 { animation-delay: 1.1s; }
@keyframes hcAvRing {
  0%   { transform: scale(.7); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hc-call-info { flex: 1; min-width: 0; line-height: 1.3; }
.hc-call-info strong { display: block; font-size: 13px; }
.hc-call-info span { color: #6b6796; font-size: 12px; }
.hc-wave {
  display: flex; align-items: center; gap: 3px;
  height: 26px;
}
.hc-wave i {
  display: block; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #635bff, #38bdf8);
  animation: hcWave 1.1s ease-in-out infinite;
}
.hc-wave i:nth-child(1){ animation-delay:.0s } .hc-wave i:nth-child(2){ animation-delay:.08s }
.hc-wave i:nth-child(3){ animation-delay:.16s } .hc-wave i:nth-child(4){ animation-delay:.24s }
.hc-wave i:nth-child(5){ animation-delay:.32s } .hc-wave i:nth-child(6){ animation-delay:.40s }
.hc-wave i:nth-child(7){ animation-delay:.48s } .hc-wave i:nth-child(8){ animation-delay:.40s }
.hc-wave i:nth-child(9){ animation-delay:.32s } .hc-wave i:nth-child(10){animation-delay:.24s }
.hc-wave i:nth-child(11){animation-delay:.16s } .hc-wave i:nth-child(12){animation-delay:.08s }
.hc-wave i:nth-child(13){animation-delay:.04s } .hc-wave i:nth-child(14){animation-delay:.00s }
@keyframes hcWave {
  0%,100% { height: 6px; opacity: .55; }
  50%     { height: 22px; opacity: 1; }
}

/* Card 2 — WhatsApp */
.hc-chat {
  top: 32%; right: 0;
  width: 72%;
  transform: translateZ(80px) rotate(2.5deg);
  animation: hcFloatB 9s ease-in-out infinite;
}
.hc-badge.wa {
  background: #25d366; color: #fff;
  padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .02em;
}
.hc-bubbles { display: flex; flex-direction: column; gap: 6px; }
.hc-bubble {
  max-width: 78%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 12.5px; line-height: 1.35;
  opacity: 0;
  animation: hcBubble .5s ease-out forwards;
}
.hc-bubble.in  { background: #f1ecff; color: #2d2675; border-bottom-left-radius: 4px; align-self: flex-start; }
.hc-bubble.out { background: linear-gradient(135deg,#635bff,#7c6dff); color:#fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.hc-bubble:nth-child(1) { animation-delay: .2s; }
.hc-bubble:nth-child(2) { animation-delay: 1.0s; }
.hc-bubble:nth-child(3) { animation-delay: 1.9s; }
.hc-bubble:nth-child(4) { animation-delay: 2.7s; }
@keyframes hcBubble {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.hc-bubble.typing { display: inline-flex; gap: 4px; padding: 10px 12px; }
.hc-bubble.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.9);
  animation: hcType 1.2s ease-in-out infinite;
}
.hc-bubble.typing span:nth-child(2) { animation-delay: .15s; }
.hc-bubble.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes hcType {
  0%,80%,100% { transform: translateY(0); opacity: .5; }
  40%         { transform: translateY(-4px); opacity: 1; }
}

/* Card 3 — Notifications */
.hc-notif {
  bottom: 0; left: 8%;
  width: 82%;
  transform: translateZ(20px) rotate(-1.5deg);
  animation: hcFloatC 10s ease-in-out infinite;
  display: flex; flex-direction: column; gap: 8px;
}
.hc-notif-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 12px;
  background: linear-gradient(180deg, #faf8ff, #f3efff);
  border: 1px solid rgba(99,91,255,.12);
  opacity: 0;
  animation: hcSlideIn .55s ease-out forwards;
}
.hc-notif-row:nth-child(1) { animation-delay: .4s; }
.hc-notif-row:nth-child(2) { animation-delay: 1.6s; }
.hc-notif-row:nth-child(3) { animation-delay: 2.8s; }
@keyframes hcSlideIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hc-notif-row .hc-ic {
  width: 30px; height: 30px; border-radius: 9px;
  background: #fff; border: 1px solid rgba(99,91,255,.15);
  display: grid; place-items: center; font-size: 15px;
  flex: 0 0 auto;
}
.hc-notif-row > div { flex: 1; min-width: 0; line-height: 1.3; }
.hc-notif-row strong { display: block; font-size: 12.5px; }
.hc-notif-row span { color: #6b6796; font-size: 12px; }
.hc-pill {
  font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: #ecfdf5; color: #047857;
}
.hc-pill.star { background: #fef3c7; color: #b45309; }
.hc-pill.cal  { background: #ede9fe; color: #6d28d9; }

/* KPI flottants */
.hc-kpi {
  position: absolute;
  padding: 8px 12px;
  background: rgba(13,11,40,.85);
  color: #fff;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(13,11,40,.35);
  white-space: nowrap;
  animation: hcKpi 7s ease-in-out infinite;
  border: 1px solid rgba(167,139,250,.35);
}
.hc-kpi b { color: #a78bfa; margin-right: 4px; }
.hc-kpi.k1 { top: -4%; right: 6%; animation-delay: 0s; }
.hc-kpi.k2 { top: 46%; left: -10%; animation-delay: 1.6s; }
.hc-kpi.k3 { bottom: -2%; right: -2%; animation-delay: 3.2s; }
@keyframes hcKpi {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* Float keyframes pour les 3 cards (axes différents) */
@keyframes hcFloatA {
  0%,100% { transform: translateZ(40px) translateY(0)    rotate(-3deg); }
  50%     { transform: translateZ(40px) translateY(-10px) rotate(-2deg); }
}
@keyframes hcFloatB {
  0%,100% { transform: translateZ(80px) translateY(0)    rotate(2.5deg); }
  50%     { transform: translateZ(80px) translateY(-14px) rotate(1.5deg); }
}
@keyframes hcFloatC {
  0%,100% { transform: translateZ(20px) translateY(0)   rotate(-1.5deg); }
  50%     { transform: translateZ(20px) translateY(-8px) rotate(-0.5deg); }
}

@media (max-width: 980px) {
  .hero-console {
    position: relative; right: auto; bottom: auto;
    width: 100%; max-width: 520px; height: 460px;
    margin: 32px auto 0;
  }
}
@media (max-width: 560px) {
  .hero-console { height: 420px; }
  .hc-call  { width: 86%; }
  .hc-chat  { width: 80%; }
  .hc-notif { width: 90%; left: 4%; }
  .hc-kpi.k2 { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-img, .hero-grid, .hero-scanline, .hero-particles,
  .hc-glow, .hc-dot.live, .hc-wave i, .hc-bubble, .hc-bubble.typing span,
  .hc-notif-row, .hc-kpi, .hc-call, .hc-chat, .hc-notif, .hc-avatar .hc-ring {
    animation: none !important;
  }
  .hc-bubble, .hc-notif-row { opacity: 1 !important; }
}

/* ============================================
   SECTION AMBIENT ANIMATIONS (non-hero)
   Soft animated background per section.
   ============================================ */
section[data-screen-label]:not(.hero) {
  position: relative;
  overflow: hidden;
}
section[data-screen-label]:not(.hero) > .container { position: relative; z-index: 2; }

section[data-screen-label]:not(.hero)::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  z-index: 0;
  background:
    radial-gradient(600px 380px at 10% 20%, rgba(99,91,255,.07), transparent 60%),
    radial-gradient(520px 340px at 90% 80%, rgba(167,139,250,.06), transparent 60%);
  animation: sectionDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
section[data-screen-label]:not(.hero)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(99,91,255,.18) 1px, transparent 1.5px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  opacity: .25;
  animation: dotsDrift 30s linear infinite;
  pointer-events: none;
}
@keyframes sectionDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-2%, 1%) scale(1.04); }
}
@keyframes dotsDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 38px 38px; }
}

/* Alternate sections get a different tint to keep rhythm visible */
.agent-section.alt::before {
  background:
    radial-gradient(600px 380px at 85% 15%, rgba(6,182,212,.07), transparent 60%),
    radial-gradient(520px 340px at 15% 85%, rgba(99,91,255,.06), transparent 60%) !important;
}

@media (prefers-reduced-motion: reduce) {
  section[data-screen-label]:not(.hero)::before,
  section[data-screen-label]:not(.hero)::after { animation: none !important; }
}

/* Ambient hero backdrop — subtle violet glow on top of ivory */
.hero {
  background:
    radial-gradient(900px 600px at 12% 0%,  rgba(99,91,255,.06), transparent 60%),
    radial-gradient(700px 500px at 88% 30%, rgba(167,139,250,.05), transparent 60%),
    var(--bg);
}

/* ====== Hero background video ====== */
.hero { position: relative; overflow: hidden; }
.hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.05);
  animation: heroVideoZoom 30s ease-in-out infinite alternate;
}
.hero-video-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(8,8,16,.40) 0%, rgba(8,8,16,.50) 80%),
    linear-gradient(180deg, rgba(8,8,16,.42) 0%, rgba(8,8,16,.48) 50%, rgba(8,8,16,.72) 100%);
}
@keyframes heroVideoZoom {
  0%   { transform: scale(1.04) translate3d(0,0,0); }
  100% { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}
.hero .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }
}
