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

:root {
  /* THÈME CLAIR DÉGRADÉ (par défaut) */
  --cream: #FBF9F5;
  --cream-deep: #F3EEE3;
  --bg-grad-end: #EFE7D6;
  --paper: #FFFFFF;
  --paper-soft: #FAF7F0;
  --navy: #0E1B33;
  --navy-soft: #1B2A4A;
  --gold: #B8923D;
  --gold-light: #D4AF5C;
  --gold-pale: #F1E6C8;
  --gold-dim: rgba(184,146,61,0.10);
  --gold-border: rgba(184,146,61,0.28);
  --green: #1F9B73;
  --green-dim: rgba(31,155,115,0.10);
  --red: #D14B43;
  --ink: #1B2333;
  --ink-muted: rgba(27,35,51,0.62);
  --ink-faint: rgba(27,35,51,0.38);
  --border: rgba(27,35,51,0.10);
  --mono: 'DM Mono', monospace;
  --shadow-sm: 0 2px 12px rgba(14,27,51,0.06);
  --shadow-md: 0 12px 40px rgba(14,27,51,0.10);
  --shadow-lg: 0 30px 80px rgba(14,27,51,0.16);
  --nav-bg: rgba(251,249,245,0.82);
  --nav-bg-scrolled: rgba(251,249,245,0.96);
  --chart-grid: #EFE7D6;

  /* Couleurs FIXES (ne changent jamais selon le thème) — pour panneaux toujours sombres : CTA final, footer, form-side */
  --panel-dark: #0E1B33;
  --panel-dark-soft: #1B2A4A;
  --panel-text: #FBF9F5;
  --panel-text-muted: rgba(251,249,245,0.65);
  --panel-text-faint: rgba(251,249,245,0.45);
  --panel-border: rgba(251,249,245,0.12);
  --panel-gold: #D4AF5C;

  --transition-theme: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ─── THÈME SOMBRE ─── */
[data-theme="dark"] {
  --cream: #0B1220;
  --cream-deep: #0E1626;
  --bg-grad-end: #060A12;
  --paper: #121B2E;
  --paper-soft: #162136;
  --navy: #F3EEE3;
  --navy-soft: #FBF9F5;
  --gold: #D4AF5C;
  --gold-light: #E8C97E;
  --gold-pale: #2A2412;
  --gold-dim: rgba(212,175,92,0.12);
  --gold-border: rgba(212,175,92,0.30);
  --green: #34D399;
  --green-dim: rgba(52,211,153,0.12);
  --red: #F0746A;
  --ink: #EDEFF5;
  --ink-muted: rgba(237,239,245,0.66);
  --ink-faint: rgba(237,239,245,0.42);
  --border: rgba(237,239,245,0.10);
  --shadow-sm: 0 2px 14px rgba(0,0,0,0.35);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.55);
  --nav-bg: rgba(11,18,32,0.80);
  --nav-bg-scrolled: rgba(11,18,32,0.96);
  --chart-grid: #1B2A45;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 45%, var(--bg-grad-end) 100%);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition: var(--transition-theme);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── PAGE LOADER (écran de chargement) ─── */
#pageLoader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#pageLoader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.loader-logo {
  width: 82px; height: 82px;
  animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader-logo img { width: 100%; height: 100%; object-fit: contain; }
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.75; }
}
.loader-bar {
  width: 130px; height: 3px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.loader-bar::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  animation: loaderSlide 1.1s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% { left: -40%; }
  100% { left: 100%; }
}
.loader-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 2.5px;
  color: var(--ink-faint); text-transform: uppercase;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }

/* ICON BASE (icônes stylées remplaçant les emojis) */
.icon {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 76px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s, background 0.4s;
}
nav.scrolled { background: var(--nav-bg-scrolled); box-shadow: var(--shadow-sm); }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 58px; width: auto; }
.nav-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: 2px; color: var(--navy); line-height: 1; }
.nav-logo-sub { font-size: 9px; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; display: block; margin-top: 2px; }

.nav-right { display: flex; align-items: center; gap: 22px; }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { color: var(--ink-muted); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--navy); color: var(--cream) !important;
  padding: 11px 24px; border-radius: 8px; font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s !important;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); color: var(--navy) !important; }

/* ─── THEME TOGGLE ─── */
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, background 0.3s;
}
.theme-toggle:hover { border-color: var(--gold-border); }
.theme-toggle .icon { width: 19px; height: 19px; color: var(--gold); stroke-width: 1.7; position: absolute; transition: opacity 0.25s, transform 0.35s; }
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-60deg) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(60deg) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

.theme-toggle-mobile {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; margin-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 15px; font-weight: 500; color: var(--navy);
}

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger svg { stroke: var(--navy); }

.mobile-menu {
  position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 199;
  background: var(--cream);
  transform: translateY(-110%);
  transition: transform 0.35s ease;
  padding: 32px 28px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  display: block; padding: 16px 4px; font-size: 18px; font-weight: 500;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-cta { margin-top: 20px; text-align: center; justify-content: center; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--navy); color: var(--cream);
  padding: 15px 32px; border-radius: 9px; font-weight: 700; font-size: 14px;
  letter-spacing: 0.3px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary .icon { width: 17px; height: 17px; }

.btn-ghost {
  background: transparent; color: var(--navy);
  padding: 15px 32px; border-radius: 9px; font-weight: 600; font-size: 14px;
  letter-spacing: 0.3px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--border); transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh; padding: 76px 0 0;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 75% 30%, rgba(184,146,61,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 10% 85%, rgba(31,155,115,0.07) 0%, transparent 55%);
  z-index: 0;
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: linear-gradient(var(--navy) 1px, transparent 1px), linear-gradient(90deg, var(--navy) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  z-index: 0;
}

/* ─── HERO SLIDER ─── */
.hero-slider {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 76px);
  max-width: 1480px;
  margin: 0 auto;
}
.hero-slide {
  display: none;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: calc(100vh - 76px);
}
.hero-slide.active {
  display: grid;
  animation: heroFade 0.7s ease;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; gap: 10px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: var(--border);
  cursor: pointer; padding: 0;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 5px; }
.hero-dot:hover { background: var(--gold-light); }

.hero-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.14);
  background: rgba(16,22,38,0.52); backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.72);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.hero-nav-btn:hover { background: rgba(184,146,61,0.22); border-color: var(--gold); color: var(--gold); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-left { padding: 70px 48px 80px 64px; position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 100px;
  padding: 7px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 26px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:0.2 } }

.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px, 6.2vw, 88px); line-height: 0.96; letter-spacing: 1.5px; color: var(--navy); margin-bottom: 22px; }
.hero-title span { color: var(--gold); }

.hero-subtitle { font-size: 18px; color: var(--ink-muted); max-width: 470px; margin-bottom: 10px; font-weight: 400; }
.hero-tagline { font-family: var(--mono); font-size: 12px; color: var(--green); letter-spacing: 1px; margin-bottom: 38px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 32px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 34px; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ─── DASHBOARD MOCKUP ─── */
.hero-right { padding: 70px 60px 80px 16px; position: relative; z-index: 2; }
.dashboard-frame {
  background: var(--paper); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  transform: perspective(1300px) rotateY(-5deg) rotateX(2.5deg);
  transition: transform 0.5s;
}
.dashboard-frame:hover { transform: perspective(1300px) rotateY(-1.5deg) rotateX(1deg); }

.db-topbar { background: var(--panel-dark); padding: 11px 18px; display: flex; align-items: center; gap: 8px; }
.db-dot { width: 9px; height: 9px; border-radius: 50%; }
.db-dot.r { background: #E8453C; } .db-dot.y { background: #F5A623; } .db-dot.g { background: #27C93F; }
.db-title { font-family: var(--mono); font-size: 11px; color: var(--panel-text-muted); margin-left: 10px; letter-spacing: 1px; }

.db-body { display: grid; grid-template-columns: 175px 1fr; height: 360px; }
.db-sidebar { background: var(--paper-soft); border-right: 1px solid var(--border); padding: 16px 0; }
.db-sidebar-section { padding: 4px 14px; font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--gold); opacity: 0.65; text-transform: uppercase; margin: 10px 0 4px; }
.db-nav-item { padding: 7px 16px; font-size: 11px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.db-nav-item.active { background: var(--gold-dim); color: var(--gold); border-left: 2px solid var(--gold); font-weight: 600; }
.db-nav-item .icon { width: 12px; height: 12px; flex-shrink: 0; }

.db-main { padding: 16px; overflow: hidden; background: var(--paper); }
.db-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.db-page-title { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 2px; color: var(--navy); }
.db-period { font-family: var(--mono); font-size: 9px; color: var(--green); background: var(--green-dim); padding: 3px 9px; border-radius: 4px; }

.db-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.db-kpi { background: var(--paper-soft); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.db-kpi-label { font-family: var(--mono); font-size: 8px; color: var(--ink-faint); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.db-kpi-value { font-family: 'Bebas Neue', sans-serif; font-size: 21px; color: var(--green); line-height: 1; }
.db-kpi-value.gold { color: var(--gold); } .db-kpi-value.navy { color: var(--navy); }
.db-kpi-delta { font-family: var(--mono); font-size: 8px; color: #1F9B73; margin-top: 2px; }
.db-kpi-delta.neg { color: var(--red); }

.db-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.db-chart { background: var(--paper-soft); border: 1px solid var(--border); border-radius: 8px; padding: 10px; height: 130px; overflow: hidden; }
.db-chart-title { font-family: var(--mono); font-size: 8px; color: var(--ink-faint); letter-spacing: 1px; margin-bottom: 6px; }
.chart-line-svg, .chart-bar-svg { width: 100%; height: 90px; }

/* ─── SECTIONS ─── */
section { position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-pad { padding-top: 110px; padding-bottom: 110px; }

.section-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.section-eyebrow .icon { width: 14px; height: 14px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: 1.5px; margin-bottom: 20px; color: var(--navy); }
.section-title span { color: var(--gold); }
.section-lead { font-size: 17px; color: var(--ink-muted); max-width: 560px; font-weight: 400; line-height: 1.7; }

/* ─── TICKER ─── */
.ticker-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--paper); padding: 13px 0; }
.ticker-inner { display: flex; animation: ticker 24s linear infinite; width: max-content; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.ticker-item { display: flex; align-items: center; gap: 10px; padding: 0 40px; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.ticker-item .icon { width: 14px; height: 14px; color: var(--gold); }
.ticker-item strong { color: var(--gold); }

/* ─── MODULES ─── */
#modules { background: var(--cream-deep); }

/* Slider wrapper */
.modules-slider { overflow: hidden; position: relative; margin-top: 60px; }
.modules-slider-track { display: flex; width: 200%; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.modules-slide { width: 50%; flex-shrink: 0; }
.modules-slide .modules-grid { margin-top: 0; }

/* Grid */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; margin-top: 60px; }
.module-card { background: var(--paper); padding: 38px 32px; transition: background 0.25s; position: relative; overflow: hidden; }
.module-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.module-card:hover { background: var(--paper-soft); }
.module-card:hover::after { transform: scaleX(1); }

/* Slider controls */
.modules-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.modules-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--paper); color: var(--ink-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; flex-shrink: 0; }
.modules-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.modules-dots { display: flex; gap: 8px; align-items: center; }
.modules-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; transition: width 0.3s, border-radius 0.3s, background 0.3s; padding: 0; flex-shrink: 0; }
.modules-dot.active { background: var(--gold); width: 26px; border-radius: 4px; }

.module-icon { width: 50px; height: 50px; background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--gold); }
.module-icon .icon { width: 24px; height: 24px; }
.module-name { font-family: 'Bebas Neue', sans-serif; font-size: 21px; letter-spacing: 1.5px; color: var(--navy); margin-bottom: 10px; }
.module-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.65; }
.module-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--mono); font-size: 10px; color: var(--green); background: var(--green-dim); padding: 4px 11px; border-radius: 4px; letter-spacing: 1px; }

/* ─── FEATURES SPLIT ─── */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.feature-split:last-child { margin-bottom: 0; }
.feature-split.reverse .feature-visual { order: -1; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-muted); line-height: 1.5; }
.feature-list li .icon { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

.feature-visual { background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 32px; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.feature-visual::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(ellipse, var(--gold-dim) 0%, transparent 70%); }

.kpi-widget { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.kw-card { background: var(--cream-deep); border: 1px solid var(--border); border-radius: 11px; padding: 16px; }
.kw-label { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; color: var(--ink-faint); text-transform: uppercase; }
.kw-value { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: var(--gold); line-height: 1.1; }
.kw-sub { font-family: var(--mono); font-size: 10px; color: var(--green); }

.funnel-widget { display: flex; flex-direction: column; gap: 8px; }
.funnel-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.funnel-label { width: 80px; color: var(--ink-muted); font-size: 11px; flex-shrink: 0; }
.funnel-bar-wrap { flex: 1; height: 20px; background: var(--cream-deep); border-radius: 4px; overflow: hidden; }
.funnel-bar { height: 100%; border-radius: 4px; transition: width 1s ease; }
.funnel-count { font-family: var(--mono); font-size: 11px; color: var(--gold); width: 30px; text-align: right; }

/* ─── TECH STRIP ─── */
.tech-strip { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden; }
.tech-inner { display: flex; align-items: center; gap: 48px; width: max-content; animation: ticker 22s linear infinite; padding: 0; }
.tech-item { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--ink-muted); text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.tech-item .icon { width: 15px; height: 15px; color: var(--gold); }
.tech-item:hover { color: var(--gold); }

/* ─── WHY ─── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; }
.why-card { background: var(--paper); border: 1px solid var(--border); border-radius: 14px; padding: 28px; display: flex; gap: 20px; align-items: flex-start; transition: border-color 0.2s, box-shadow 0.2s; }
.why-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-sm); }
.why-icon { width: 46px; height: 46px; flex-shrink: 0; background: var(--gold-dim); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.why-icon .icon { width: 22px; height: 22px; }
.why-title { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.why-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; }

/* ─── PRICING ─── */
#pricing { background: var(--cream-deep); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; align-items: start; }
.pricing-card { background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 38px 32px; position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--gold); background: linear-gradient(160deg, var(--paper-soft), var(--paper)); }
.pricing-card.featured::before { content: 'RECOMMANDÉ'; position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--cream); background: var(--navy); padding: 4px 11px; border-radius: 4px; }

.pricing-tier { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 3px; color: var(--navy); margin-bottom: 6px; }
.pricing-sub { font-size: 12px; color: var(--ink-muted); margin-bottom: 24px; line-height: 1.4; }
.pricing-price { font-family: 'Bebas Neue', sans-serif; font-size: 42px; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.pricing-price-note { font-size: 11px; color: var(--ink-muted); margin-bottom: 24px; font-family: var(--mono); }
.pricing-divider { height: 1px; background: var(--border); margin: 24px 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-muted); }
.pricing-features li .icon { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 1px; }

.pricing-cta { display: block; text-align: center; margin-top: 28px; padding: 13px; border-radius: 9px; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; text-decoration: none; transition: all 0.2s; }
.pricing-cta.outlined { border: 1.5px solid var(--border); color: var(--navy); }
.pricing-cta.outlined:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.pricing-cta.solid { background: var(--navy); color: var(--cream); }
.pricing-cta.solid:hover { background: var(--gold); color: var(--navy); }

/* ─── CTA FINAL ─── */
#cta-final { background: linear-gradient(150deg, var(--panel-dark) 0%, var(--panel-dark-soft) 100%); text-align: center; padding: 120px 48px; position: relative; overflow: hidden; }
#cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(184,146,61,0.10) 0%, transparent 70%); }
.cta-label { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--panel-gold); text-transform: uppercase; margin-bottom: 20px; }
.cta-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: 1.5px; margin-bottom: 20px; color: var(--panel-text); }
.cta-title span { color: var(--panel-gold); }
.cta-sub { font-size: 17px; color: var(--panel-text-muted); max-width: 500px; margin: 0 auto 40px; font-weight: 400; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
#cta-final .btn-primary { background: var(--panel-gold); color: var(--panel-dark); }
#cta-final .btn-primary:hover { background: #E8C97E; }
#cta-final .btn-ghost { color: var(--panel-text); border-color: var(--panel-border); }
#cta-final .btn-ghost:hover { border-color: var(--panel-gold); color: var(--panel-gold); background: rgba(184,146,61,0.1); }

.cta-contacts { margin-top: 48px; display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.cta-contact-item { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--panel-text-muted); text-decoration: none; }
.cta-contact-item:hover { color: var(--panel-gold); }
.cta-contact-item .icon { width: 16px; height: 16px; color: var(--panel-gold); flex-shrink: 0; }

/* ─── FOOTER ─── */
footer { background: var(--panel-dark); padding: 40px 48px 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid var(--panel-border); flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 54px; }
.footer-brand-text { font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: 2px; color: var(--panel-text); }
.footer-brand-sub { font-size: 9px; color: var(--panel-gold); letter-spacing: 2px; text-transform: uppercase; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col-title { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--panel-gold); text-transform: uppercase; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--panel-text-muted); text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover { color: var(--panel-gold); }
.footer-col .icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--panel-gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--mono); font-size: 11px; color: var(--panel-text-faint); }
.footer-badge { font-family: var(--mono); font-size: 10px; color: var(--panel-gold); border: 1px solid rgba(184,146,61,0.3); padding: 5px 13px; border-radius: 100px; }

/* ─── FLOATING BUTTONS ─── */
.float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 250; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }

.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer; border: none;
  text-decoration: none; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-lg); }
.float-btn .icon { width: 26px; height: 26px; }

.float-btn.whatsapp { background: #25D366; color: #fff; }
.float-btn.support { background: var(--navy); color: var(--cream); }
.float-btn.top { background: var(--gold); color: var(--navy); opacity: 0; pointer-events: none; transform: translateY(10px); }
.float-btn.top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.float-tooltip {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: var(--cream);
  font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 7px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float-btn:hover .float-tooltip { opacity: 1; }

.float-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0.5; animation: floatpulse 2.2s infinite; }
@keyframes floatpulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.7); opacity: 0; } }

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; } .reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; } .reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ═══════════════ RESPONSIVE ═══════════════ */

/* TABLET LARGE */
@media (max-width: 1100px) {
  .hero-left { padding: 60px 32px 60px 48px; }
  .hero-right { padding: 60px 48px 60px 0; }
  .container { padding: 0 32px; }
  .section-pad { padding-top: 90px; padding-bottom: 90px; }
}

/* TABLET */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  #hero { min-height: auto; }
  .hero-slider { min-height: auto; }
  .hero-slide { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 110px 24px 50px; text-align: left; }
  .hero-right { padding: 0 24px 60px; }
  .hero-stats { gap: 24px; }
  .hero-dots { bottom: 16px; }
  .hero-nav-btn { display: none; }

  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; gap: 44px; }
  .feature-split.reverse .feature-visual { order: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }

  .footer-top { flex-direction: column; }
  .footer-cols { gap: 36px; }
  .container { padding: 0 24px; }
  .section-pad { padding-top: 70px; padding-bottom: 70px; }
  .tech-inner { gap: 30px; }
}

/* MOBILE */
@media (max-width: 600px) {
  nav { height: 66px; padding: 0 16px; }
  .nav-logo img { height: 46px; }
  .nav-logo-text { font-size: 16px; }
  .mobile-menu { top: 66px; padding: 24px 20px; }

  .hero-left { padding: 90px 18px 40px; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); }
  .hero-subtitle { font-size: 15.5px; max-width: 100%; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a, .hero-actions button { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px 22px; }
  .hero-stat-value { font-size: 28px; }

  .hero-right { padding: 0 14px 70px; }
  .db-body { grid-template-columns: 1fr; height: auto; }
  .db-sidebar { display: none; }
  .db-charts { grid-template-columns: 1fr; }
  .dashboard-frame { transform: none; }

  .hero-dots { bottom: 10px; padding: 6px 11px; gap: 8px; }
  .hero-dot { width: 7px; height: 7px; }
  .hero-dot.active { width: 18px; }

  .container { padding: 0 18px; }
  .section-pad { padding-top: 56px; padding-bottom: 56px; }
  .section-title { font-size: clamp(30px, 9vw, 42px); }
  .section-lead { font-size: 15px; }

  .modules-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .module-card { padding: 28px 22px; }

  .feature-visual { padding: 22px; }
  .kpi-widget { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kw-value { font-size: 26px; }

  .why-card { padding: 22px; flex-direction: column; }
  .pricing-card { padding: 30px 22px; }
  .pricing-grid { gap: 18px; }

  .tech-item { font-size: 10px; }

  #cta-final { padding: 80px 22px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { width: 100%; justify-content: center; }
  .cta-contacts { flex-direction: column; align-items: center; gap: 16px; }

  footer { padding: 32px 18px 24px; }
  .footer-cols { gap: 28px; width: 100%; justify-content: space-between; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .float-stack { right: 14px; bottom: 14px; gap: 12px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn .icon { width: 23px; height: 23px; }
  .float-tooltip { display: none; }
}

@media (max-width: 380px) {
  .hero-stats { justify-content: space-between; }
  .kpi-widget { grid-template-columns: 1fr; }
}

/* ═══════════════ PAGE FONCTIONNALITÉS ═══════════════ */

/* ─── Page hero (variante simple, sans slider) ─── */
.page-hero {
  padding: 150px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(184,146,61,0.12) 0%, transparent 60%);
}
.page-hero .section-eyebrow { justify-content: center; }
.page-hero .section-title { margin: 0 auto 18px; }
.page-hero .section-lead { margin: 0 auto; text-align: center; }
.page-hero-stats {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
  margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border);
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.page-hero-stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--gold); line-height: 1; }
.page-hero-stat-label { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ─── Pilotage performance mockup (tableau de classement) ─── */
.pilotage-mockup {
  background: var(--panel-dark);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--panel-border);
}
.pilotage-topbar {
  background: var(--panel-dark-soft);
  padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--panel-border);
}
.pilotage-topbar-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: 2px;
  color: var(--panel-text); display: flex; align-items: center; gap: 10px;
}
.pilotage-topbar-title .icon { width: 16px; height: 16px; color: var(--panel-gold); }
.pilotage-topbar-meta { font-family: var(--mono); font-size: 10.5px; color: var(--panel-text-faint); }

.pilotage-table-wrap { overflow-x: auto; }
.pilotage-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pilotage-table thead th {
  text-align: left; padding: 12px 18px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--panel-text-faint); border-bottom: 1px solid var(--panel-border);
  white-space: nowrap;
}
.pilotage-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--panel-border);
  font-size: 12.5px; color: var(--panel-text-muted);
  white-space: nowrap;
}
.pilotage-table tbody tr:last-child td { border-bottom: none; }
.pilotage-rank { font-family: var(--mono); font-size: 11px; color: var(--panel-gold); }
.pilotage-user-name { color: var(--panel-text); font-weight: 700; font-size: 13px; }
.pilotage-user-sub { font-family: var(--mono); font-size: 10px; color: var(--panel-text-faint); margin-top: 2px; }
.pilotage-score-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  background: rgba(209,75,67,0.15); color: #F0746A;
}
.pilotage-score-badge.mid { background: rgba(212,175,92,0.15); color: var(--panel-gold); }
.pilotage-score-badge.good { background: rgba(52,211,153,0.15); color: #34D399; }
.pilotage-axe { color: var(--panel-gold); font-weight: 600; }
.pilotage-analyse-btn {
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600;
  color: var(--panel-text); background: transparent;
  border: 1px solid var(--panel-border); border-radius: 7px;
  padding: 6px 12px; white-space: nowrap;
}

/* ─── Grille détaillée de fonctionnalités (avec sous-listes) ─── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.feat-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feat-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.feat-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.feat-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.feat-icon .icon { width: 22px; height: 22px; }
.feat-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: 1.2px; color: var(--navy); }
.feat-card-plan {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--green); background: var(--green-dim); padding: 2px 8px; border-radius: 4px;
  display: inline-block; margin-top: 4px;
}
.feat-card-plan.amber { color: var(--gold); background: var(--gold-dim); }

.feat-card-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 16px; }

.feat-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.feat-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; }
.feat-list li .icon { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ─── Bandeau plan évolutif (comptabilité etc.) ─── */
.plan-note {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: 14px; padding: 20px 24px; margin-top: 56px;
}
.plan-note-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.plan-note-icon .icon { width: 19px; height: 19px; }
.plan-note-title { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.plan-note-text { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
.plan-note-text a { color: var(--gold); font-weight: 600; text-decoration: underline; }

/* ─── Comparatif rapide par catégorie ─── */
.category-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 44px 0 0;
}
.category-tab {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--border); color: var(--ink-muted);
  background: var(--paper); text-decoration: none;
  transition: all 0.2s;
}
.category-tab:hover, .category-tab.active { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

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

@media (max-width: 900px) {
  .page-hero { padding: 120px 0 50px; }
  .page-hero-stats { gap: 28px 36px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pilotage-table { min-width: 580px; }
}

@media (max-width: 600px) {
  .page-hero { padding: 100px 0 36px; }
  .page-hero-stats { gap: 20px 28px; }
  .page-hero-stat-value { font-size: 28px; }
  .feat-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .feat-card { padding: 24px 20px; }
  .plan-note { flex-direction: column; padding: 18px; }
  .category-tabs { gap: 8px; }
  .category-tab { font-size: 10px; padding: 7px 14px; }
  .pilotage-table-wrap { -webkit-overflow-scrolling: touch; }
}
