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

:root {
  --red: #DC2626;
  --red-dark: #B91C1C;
  --red-light: #FEE2E2;
  --gray-900: #1F2937;
  --gray-800: #374151;
  --gray-700: #4B5563;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--gray-900);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.25); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.nav-logo img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.nav-logo-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--white);
}
.nav-logo-name span { color: var(--red); }
.nav-logo-tag {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--red); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-ghost {
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }

.btn-primary {
  text-decoration: none;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  padding: 156px clamp(16px, 4vw, 24px) 96px;
  background: linear-gradient(160deg, #fff 0%, var(--gray-50) 60%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(220,38,38,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-light);
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .3px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero h1 span { color: var(--red); }

.hero-sub {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-sub span {
  color: var(--red);
  font-weight: 600;
}


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

.hero-quote {
  display: block;
  margin-top: 22px;
  max-width: 500px;
  padding: 16px 18px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.04), rgba(220, 38, 38, 0.08));
  border: 1px solid rgba(220, 38, 38, 0.14);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(31, 41, 55, 0.08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.hero-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(31, 41, 55, 0.12);
  border-color: rgba(220, 38, 38, 0.24);
}

.hero-quote-text {
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  font-weight: 600;
  color: var(--gray-800);
}

.hero-quote-source {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
}
.btn-hero {
  text-decoration: none;
  background: var(--red);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 10px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(220,38,38,.35);
}
.btn-hero:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220,38,38,.4);
}
.btn-hero-secondary {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.btn-hero-secondary:hover { color: var(--red); }
.btn-hero-secondary svg { transition: transform .2s; }
.btn-hero-secondary:hover svg { transform: translateX(4px); }

/* ─── HERO VISUAL ─────────────────────────────────────── */
.hero-visual {
  position: relative;
}

.dashboard-mockup {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform .4s;
}
.dashboard-mockup:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.mockup-bar {
  background: var(--gray-900);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dots .d1 { background: #FF5F57; }
.mockup-dots .d2 { background: #FEBC2E; }
.mockup-dots .d3 { background: #28C840; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}

.mockup-body {
  padding: 20px;
  background: var(--gray-50);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mockup-header-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}
.mockup-header-date {
  font-size: 12px;
  color: var(--gray-500);
  background: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--gray-300);
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.kpi-card {
  background: var(--white);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--gray-100);
}
.kpi-label {
  font-size: 11px;
  color: var(--gray-500);
  margin-bottom: 4px;
  font-weight: 500;
}
.kpi-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
}
.kpi-value.green { color: #16A34A; }
.kpi-value.red { color: var(--red); }
.kpi-delta {
  font-size: 11px;
  color: #16A34A;
  font-weight: 600;
  margin-top: 2px;
}
.kpi-delta.neg { color: var(--red); }

.mockup-chart {
  background: var(--white);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-100);
}
.chart-title { font-size: 12px; font-weight: 600; color: var(--gray-700); margin-bottom: 12px; }

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.bar-wrap {
  width: 100%;
  display: flex;
  gap: 3px;
  align-items: flex-end;
}
.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}
.bar.cost { background: var(--gray-300); }
.bar.margin { background: var(--red); }
.bar-label { font-size: 9px; color: var(--gray-500); }

.mockup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.invoice-list {
  background: var(--white);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--gray-100);
}
.invoice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 11px;
}
.invoice-item:last-child { border-bottom: none; }
.invoice-name { color: var(--gray-700); font-weight: 500; }
.invoice-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
}
.badge-ok { background: #DCFCE7; color: #15803D; }
.badge-warn { background: #FEF3C7; color: #B45309; }
.badge-new { background: var(--red-light); color: var(--red); }

.price-suggest {
  background: var(--white);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--gray-100);
}
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 11px;
}
.price-item:last-child { border-bottom: none; }
.price-product { color: var(--gray-700); font-weight: 500; }
.price-values { text-align: right; }
.price-sell { font-weight: 700; color: var(--gray-900); font-size: 12px; }
.price-margin { color: #16A34A; font-weight: 600; }

/* ─── LOGOS BAND ──────────────────────────────────────── */
.logos-band {
  padding: 32px 24px;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}
.logos-band-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.logos-band p {
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 24px;
}
.logos-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-item {
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-300);
  letter-spacing: -0.5px;
  transition: color .2s;
}
.logo-item:hover { color: var(--gray-500); }

/* ─── SECTIONS COMMUNES ───────────────────────────────── */
section { padding: 96px clamp(16px, 4vw, 24px); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.15;
}
.section-sub {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── FEATURES ────────────────────────────────────────── */
#fonctionnalites { background: var(--gray-50); }

.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: box-shadow .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ────────────────────────────────────── */
#comment-ca-marche { background: var(--white); }

.steps-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps-list { display: flex; flex-direction: column; gap: 0; }

.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: .2s;
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; padding-bottom: 0; }

.step-num {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  transition: .2s;
}
.step.active .step-num {
  background: var(--red);
  color: var(--white);
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
}
.step.active .step-content h3 { color: var(--red); }

.steps-visual {
  position: relative;
}
.ocr-demo {
  background: var(--gray-900);
  border-radius: 16px;
  padding: 28px;
  color: var(--white);
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
}
.ocr-demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ocr-demo-icon {
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.ocr-demo-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }
.ocr-demo-sub { font-size: 12px; color: rgba(255,255,255,.4); }

.ocr-scan-area {
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
}
.ocr-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  margin-bottom: 8px;
}
.ocr-line.highlight {
  background: rgba(220,38,38,.4);
  position: relative;
  overflow: hidden;
}
.ocr-line.highlight::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220,38,38,.6), transparent);
  animation: scan 2s infinite;
}
@keyframes scan {
  0% { left: -100%; }
  100% { left: 100%; }
}
.ocr-line.w60 { width: 60%; }
.ocr-line.w80 { width: 80%; }
.ocr-line.w45 { width: 45%; }
.ocr-line.w70 { width: 70%; }

.ocr-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ocr-result-item {
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 12px;
}
.ocr-result-label { font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.ocr-result-value { font-size: 18px; font-weight: 700; }
.ocr-result-value.green { color: #4ADE80; }
.ocr-result-value.red { color: #F87171; }

/* ─── METRICS ─────────────────────────────────────────── */
#chiffres {
  background: var(--gray-900);
  padding: 72px 24px;
}
.metrics-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.metrics-inner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 48px;
  letter-spacing: -1px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.metric-item { text-align: center; }
.metric-value {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* ─── PRICING ─────────────────────────────────────────── */
#tarif { background: var(--gray-50); }

.pricing-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.05);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #F97316);
}
.pricing-card--featured {
  box-shadow: 0 32px 80px rgba(220,38,38,.18), 0 0 0 2px var(--red);
}
.pricing-card--featured::before {
  height: 5px;
  background: linear-gradient(90deg, var(--red), #F97316);
}
.pricing-card--devis::before {
  background: linear-gradient(90deg, var(--gray-700), var(--gray-500));
}
.pricing-price-devis {
  font-size: 38px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.btn-pricing--outline {
  background: transparent;
  color: var(--gray-900);
  border: 2px solid var(--gray-300);
  box-shadow: none;
}
.btn-pricing--outline:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  box-shadow: none;
}
.icon-tablet {
  width: 14px;
  height: 17px;
  vertical-align: middle;
  margin-right: 3px;
  color: var(--gray-700);
  position: relative;
  top: -1px;
}
.pricing-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.pricing-badge--muted {
  background: var(--gray-100);
  color: var(--gray-700);
}
.pricing-plan-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.pricing-plan-desc {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.price-amount {
  font-size: 56px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -3px;
  line-height: 1;
}
.price-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-700);
  align-self: flex-start;
  margin-top: 10px;
}
.price-period {
  font-size: 16px;
  color: var(--gray-500);
  font-weight: 500;
}
.pricing-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 24px 0;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
}
.pricing-features li::before {
  content: '✓';
  width: 20px; height: 20px;
  min-width: 20px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.btn-pricing {
  display: block;
  background: var(--red);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  padding: 16px;
  border-radius: 10px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(220,38,38,.3);
}
.btn-pricing:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,38,38,.4);
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 16px;
}

/* ─── FAQ ─────────────────────────────────────────────── */
#faq { background: var(--white); }

.faq-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.faq-sticky { position: sticky; top: 100px; }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
  font-family: inherit;
}
.faq-question:hover { color: var(--red); }
.faq-question.open { color: var(--red); }

.faq-chevron {
  width: 24px; height: 24px;
  min-width: 24px;
  background: var(--gray-100);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.faq-question.open .faq-chevron {
  background: var(--red);
  transform: rotate(45deg);
}
.faq-question.open .faq-chevron svg { stroke: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
}
.faq-answer.open { max-height: 300px; padding-bottom: 20px; }
.faq-answer p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ─── CTA FINAL ───────────────────────────────────────── */
.cta-section {
  background: var(--gray-900);
  padding: 96px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(220,38,38,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  line-height: 1.1;
  position: relative;
}
.cta-section h2 span { color: var(--red); }
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  margin-bottom: 40px;
  position: relative;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}
.btn-cta {
  text-decoration: none;
  background: var(--red);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 10px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(220,38,38,.4);
}
.btn-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(220,38,38,.5);
}
.btn-cta-ghost {
  text-decoration: none;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  font-weight: 500;
  padding: 18px 32px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  transition: border-color .2s, color .2s;
}
.btn-cta-ghost:hover {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img { height: 48px; width: auto;}
.footer-brand-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.3px;
}
.footer-brand-name span { color: var(--red); }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-col a:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}
.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }
.footer-legal a[aria-current="page"] { color: rgba(255,255,255,.55); }

/* ─── MOBILE MENU ─────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--gray-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 99;
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn-primary { text-align: center; margin-top: 8px; }

/* ─── LEGAL PAGES ─────────────────────────────────────── */
.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px clamp(16px, 4vw, 24px) 80px;
}
.legal-main h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: var(--gray-900);
}
.legal-lang-toggle {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.legal-lang-toggle a {
  color: var(--gray-700);
  font-weight: 500;
  text-decoration: none;
}
.legal-lang-toggle a:hover { color: var(--red); text-decoration: underline; }
.legal-lang-toggle strong { color: var(--gray-900); font-weight: 600; }
.legal-lang-toggle .sep { color: var(--gray-300); margin: 0 8px; user-select: none; }
.legal-main .legal-lead {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 48px;
}
.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gray-700);
  margin-bottom: 16px;
}
.legal-section p, .legal-section li {
  font-size: 15px;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.legal-section ul { padding-left: 20px; margin-bottom: 0; }
.legal-section li { margin-bottom: 8px; }
.legal-section a { color: var(--red); text-decoration: none; font-weight: 500; }
.legal-section a:hover { text-decoration: underline; }
.legal-dl {
  display: grid;
  gap: 10px;
}
.legal-dl > div {
  display: grid;
  grid-template-columns: minmax(0, 160px) 1fr;
  gap: 12px 24px;
  font-size: 15px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 10px;
}
.legal-dl dt {
  font-weight: 600;
  color: var(--gray-700);
}
.legal-dl dd { color: var(--gray-800); }

/* ─── CONTACT ─────────────────────────────────────────── */
#contact { background: var(--white); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  margin-bottom: 18px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.contact-form .btn-submit:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.contact-form-hint {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 14px;
  line-height: 1.5;
}
.contact-form-hint a { color: var(--red); font-weight: 600; }
.contact-form-hint a:hover { text-decoration: underline; }

.thanks-banner {
  display: none;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99990;
  max-width: min(560px, calc(100% - 32px));
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.thanks-banner.visible { display: block; }
.thanks-banner button {
  margin-left: 12px;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.pricing-option-extra {
  margin-top: 20px;
  padding: 16px 18px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.04), rgba(220, 38, 38, 0.08));
  border: 1px solid rgba(220, 38, 38, 0.14);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(31, 41, 55, 0.08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  border-radius: 12px;
  font-size: 15px;
}
.pricing-option-extra strong { color: var(--gray-900); }

/* ─── ANIMATIONS ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .pricing-cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-logo-tag { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-inner {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual {
    display: block;
    margin-top: 36px;
    max-width: 100%;
  }
  .dashboard-mockup {
    transform: none;
    box-shadow: 0 20px 48px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06);
  }
  .dashboard-mockup:hover { transform: none; }
  .mockup-kpis { grid-template-columns: 1fr; gap: 8px; }
  .mockup-row { grid-template-columns: 1fr; }
  .hero { padding: 120px max(16px, env(safe-area-inset-right)) 72px max(16px, env(safe-area-inset-left)); }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .btn-hero-secondary {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .steps-wrapper { grid-template-columns: 1fr; }
  .steps-visual { display: none; }

  .pricing-cards-grid { grid-template-columns: 1fr; }

  .faq-wrapper { grid-template-columns: 1fr; }
  .faq-sticky { position: static; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .logos-list { gap: 28px 20px; }

  .legal-dl > div { grid-template-columns: 1fr; }

  .contact-form-card { padding: 24px 20px; }
  .price-amount { font-size: 44px; }
  .pricing-card { padding: 28px 22px; }
  .faq-answer.open { max-height: min(1200px, 85vh); }
  #chiffres { padding: 56px 16px; }
  .cta-section { padding: 64px 16px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-cta, .btn-cta-ghost { width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; box-sizing: border-box; text-align: center; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  section { padding: 72px clamp(20px, 4vw, 24px); }
  .hero { padding-top: 132px; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-inner { min-height: 72px; }
  .nav-logo img { height: 44px; }
  .nav-logo-name { font-size: 19px; }
  section { padding: 64px 16px; }
  .hero { padding: 112px max(16px, env(safe-area-inset-right)) 56px max(16px, env(safe-area-inset-left)); }
  .features-header { margin-bottom: 40px; }
  .feature-card { padding: 24px; }
}
