/* ==========================================================================
   OlyBat — Feuille de style partagée
   Toutes les pages du site marketing
   ========================================================================== */

:root {
  /* === Palette OlyBat — Bleu marine + Orange === */
  --navy: #0B3B82;            /* Bleu principal */
  --navy-dark: #062A5E;        /* Bleu marine profond */
  --navy-darker: #041E45;
  --blue: #0B3B82;             /* Mappé sur principal */
  --blue-mid: #1E5BB8;         /* Bleu secondaire */
  --blue-light: #4A7BC8;       /* Bleu clair / hover */
  --orange: #FF8C00;           /* Orange accent */
  --orange-light: #FFA640;     /* Orange clair (hover) */
  --orange-dark: #E07A00;      /* Orange foncé (active) */
  --green: #2E7D32;            /* Vert pour success */
  --white: #FFFFFF;
  --off-white: #F5F5F5;        /* Gris clair de fond */
  --off-white-2: #EAEAEA;      /* Gris secondaire */
  --text: #1A1A1A;             /* Texte principal */
  --text-muted: #6B7280;       /* Texte secondaire */
  --border: rgba(11, 59, 130, 0.10);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

/* ============================== NAV ============================== */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(10, 47, 78, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 22px; color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; color: rgba(255, 255, 255, 0.7);
  font-weight: 400; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--orange); color: var(--white);
  border: none; padding: 10px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); }

/* ============================== BUTTONS ============================== */
.btn-primary {
  background: var(--orange); color: var(--white);
  border: none; padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0.4);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 140, 0, 0.5); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--glass); color: var(--white);
  border: 1px solid var(--glass-border); padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 400; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue); padding: 12px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* ============================== HERO COMMUN ============================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, #0D3B61 70%, #112D4E 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 59, 130, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 59, 130, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; pointer-events: none; }
.orb-1 { width: 500px; height: 500px; background: var(--blue-mid); top: -100px; right: -100px; animation: float1 8s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: var(--orange); bottom: 50px; left: -50px; animation: float2 10s ease-in-out infinite; }
.orb-3 { width: 200px; height: 200px; background: var(--blue-light); top: 50%; left: 30%; animation: float3 12s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,30px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-15px,25px)} }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 140, 0, 0.3);
  color: var(--orange-light);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
  animation: fadeDown 0.6s ease both;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800; line-height: 1.05;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .line2 {
  background: linear-gradient(90deg, #64B5F6, var(--blue-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: rgba(255, 255, 255, 0.65);
  line-height: 1.7; max-width: 560px; margin: 0 auto 40px;
  font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-sub strong { color: var(--orange-light); }
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-btns-secondary {
  margin-top: 20px;
  margin-bottom: 64px;
}

/* ============================== HERO SIGNUP (friction zéro) ============================== */
.hero-signup {
  display: flex;
  flex-direction: row;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeUp 0.7s 0.3s ease both;
  transition: border-color 0.2s, background 0.2s;
}
.hero-signup:focus-within {
  border-color: rgba(255, 140, 0, 0.5);
  background: rgba(255, 255, 255, 0.10);
}
.hero-signup-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  min-height: 48px;
  font-weight: 400;
}
.hero-signup-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.hero-signup-btn {
  white-space: nowrap;
  padding: 12px 26px !important;
  font-size: 15px !important;
  min-height: 48px;
}

/* ============================== HERO TRUST SIGNALS ============================== */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 6px;
  margin: 0 auto 10px;
  max-width: 720px;
  font-size: 13px;
  font-weight: 500;
  animation: fadeUp 0.7s 0.4s ease both;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  /* Pill avec background pour contraste garanti même sur dark gradient */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-trust-dot {
  display: none; /* on enlève les · puisque les pills se voient déjà séparées */
}

/* ============================== STICKY MOBILE CTA ============================== */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: rgba(11, 59, 130, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
}
.sticky-mobile-cta-btn {
  display: block;
  width: 100%;
  background: var(--orange);
  color: var(--navy);
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  min-height: 48px;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}
.sticky-mobile-cta-btn:active { transform: translateY(1px); }

.hero-stats {
  display: flex; justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  animation: fadeUp 0.7s 0.4s ease both;
  overflow: hidden;
}
.stat {
  flex: 1; padding: 24px 32px; text-align: center;
  border-right: 1px solid var(--glass-border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px; font-weight: 700; color: var(--white);
  letter-spacing: -1.2px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.stat-num span { color: var(--orange); font-weight: 600; }
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 4px; }

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:translateY(0)} }

/* Hero compact pour les autres pages */
.hero-compact {
  min-height: auto; padding: 140px 48px 60px;
}
.hero-compact h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.hero-compact .hero-sub { margin-bottom: 0; }

/* ============================== SECTIONS COMMUNES ============================== */
section { padding: 100px 48px; }
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; color: var(--text);
  letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.7; max-width: 520px;
}

/* ============================== FEATURES ============================== */
.features-section {
  background: var(--off-white);
  position: relative; overflow: hidden;
}
.features-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(11, 59, 130, 0.06) 0%, transparent 70%);
}
.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1100px; margin: 0 auto;
  position: relative;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.feat-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0; transition: opacity 0.3s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(10, 47, 78, 0.1); }
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.feat-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.feat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.feat-tag {
  display: inline-block; margin-top: 16px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase;
}
.tag-ia { background: rgba(11, 59, 130, 0.1); color: var(--blue); }
.tag-auto { background: rgba(255, 140, 0, 0.1); color: var(--orange); }
.tag-pro { background: rgba(74, 200, 74, 0.1); color: var(--green); }

/* ============================== COMPARAISON ============================== */
.comparison-section { background: var(--navy); }
.comparison-section .section-title { color: var(--white); }
.comparison-section .section-sub { color: rgba(255, 255, 255, 0.55); }
.comparison-header { margin-bottom: 56px; text-align: center; }
.comparison-header .section-sub { margin: 0 auto; }
.comparisons { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.comp-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center;
}
.comp-before {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px; padding: 18px 20px;
}
.comp-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.comp-before .comp-label { color: rgba(255, 255, 255, 0.3); }
.comp-before p { font-size: 14px; color: rgba(255, 255, 255, 0.55); line-height: 1.6; }
.comp-after {
  background: linear-gradient(135deg, rgba(11, 59, 130, 0.2), rgba(30, 116, 200, 0.1));
  border: 1px solid rgba(11, 59, 130, 0.3);
  border-radius: 14px; padding: 18px 20px;
}
.comp-after .comp-label { color: var(--orange-light); }
.comp-after p { font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 1.6; }
.comp-arrow { font-size: 20px; color: var(--orange); flex-shrink: 0; text-align: center; }

/* ============================== PRICING ============================== */
.pricing-section { background: var(--off-white); }
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .section-sub { margin: 0 auto; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1000px; margin: 0 auto;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px; padding: 36px;
  transition: all 0.3s;
}
.plan-card.featured {
  background: var(--navy);
  border: none;
  box-shadow: 0 24px 64px rgba(10, 47, 78, 0.25);
  transform: scale(1.04);
}
.plan-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(255, 140, 0, 0.15); color: var(--orange);
  margin-bottom: 16px;
}
.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 8px;
}
.plan-card.featured .plan-name { color: var(--white); }
.plan-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px; font-weight: 700; color: var(--blue);
  letter-spacing: -2px; margin: 16px 0 4px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.plan-card.featured .plan-price { color: var(--orange); }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; margin-left: 4px; }
.plan-card.featured .plan-price span { color: rgba(255, 255, 255, 0.5); }
.plan-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.plan-card.featured .plan-desc { color: rgba(255, 255, 255, 0.5); border-bottom-color: rgba(255, 255, 255, 0.1); }
.plan-feature { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; padding-left: 20px; position: relative; }
.plan-feature::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-size: 12px; }
.plan-card.featured .plan-feature { color: rgba(255, 255, 255, 0.7); }
.plan-card.featured .plan-feature::before { color: var(--orange); }
.plan-btn {
  width: 100%; margin-top: 28px; padding: 14px;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s; border: none;
}
.plan-btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.plan-btn-outline:hover { background: var(--blue); color: var(--white); }
.plan-btn-fill { background: var(--orange); color: var(--white); }
.plan-btn-fill:hover { background: var(--orange-light); transform: translateY(-1px); }
.plan-btn-ghost { background: rgba(255, 255, 255, 0.1); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
.plan-btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

/* ============================== BETA / CTA SECTION ============================== */
.beta-section {
  background: linear-gradient(135deg, #0D2E4A 0%, var(--navy) 50%, #0D3B61 100%);
  text-align: center; padding: 80px 48px;
  position: relative; overflow: hidden;
}
.beta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 59, 130, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 59, 130, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.beta-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.beta-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 140, 0, 0.3);
  color: var(--orange-light);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.beta-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; color: var(--white);
  letter-spacing: -1.5px; margin-bottom: 16px;
}
.beta-section p { font-size: 17px; color: rgba(255, 255, 255, 0.6); margin-bottom: 36px; }
.beta-reassure {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 6px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
}
.beta-reassure span:not([class]) {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* On masque les "•" séparateurs car les pills se distinguent déjà */
.beta-reassure span:nth-child(2),
.beta-reassure span:nth-child(4) {
  display: none;
}
.beta-input-row {
  display: flex; gap: 12px; justify-content: center;
  max-width: 480px; margin: 0 auto;
}
.beta-input {
  flex: 1; padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px; color: var(--white);
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  outline: none;
}
.beta-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.beta-input:focus { border-color: var(--orange); }

/* ============================== FOOTER ============================== */
footer {
  background: var(--navy-darker); color: rgba(255, 255, 255, 0.5);
  padding: 60px 48px 30px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .footer-logo span { color: var(--orange); }
.footer-brand p { font-size: 13px; color: rgba(255, 255, 255, 0.5); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13px; color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ============================== LEGAL PAGES ============================== */
.legal-section {
  background: var(--off-white);
  padding: 60px 48px 100px;
}
.legal-container {
  max-width: 800px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}
.legal-container h1 {
  font-family: 'Syne', sans-serif;
  font-size: 36px; font-weight: 800; color: var(--text);
  letter-spacing: -1px; margin-bottom: 8px;
}
.legal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.legal-container h2 {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--blue);
  margin-top: 32px; margin-bottom: 12px;
}
.legal-container p {
  font-size: 15px; color: var(--text); line-height: 1.7;
  margin-bottom: 14px;
}
.legal-container ul { margin: 8px 0 16px 24px; }
.legal-container li { font-size: 15px; color: var(--text); line-height: 1.8; }
.legal-container strong { color: var(--text); font-weight: 600; }

/* ============================== FAQ ============================== */
.faq-section { background: var(--off-white); padding: 100px 48px; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { box-shadow: 0 8px 24px rgba(10, 47, 78, 0.06); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--text);
  user-select: none;
}
.faq-question::after {
  content: '+'; font-size: 24px; color: var(--orange);
  font-weight: 300; transition: transform 0.2s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

/* ============================== CONTACT FORM ============================== */
.contact-section { background: var(--off-white); padding: 60px 48px 100px; }
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}
.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 32px; font-weight: 700; color: var(--text);
  letter-spacing: -1px; margin-bottom: 16px;
}
.contact-info p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  margin-bottom: 12px;
}
.contact-block-label {
  font-size: 11px; font-weight: 600; color: var(--orange);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-block a, .contact-block p { font-size: 15px; color: var(--text); font-weight: 600; line-height: 1.5; margin: 0; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px;
  background: var(--off-white);
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; color: var(--text);
  font-family: 'DM Sans', sans-serif; outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--orange); color: var(--white);
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.form-submit:hover { background: var(--orange-light); transform: translateY(-1px); }

/* ============================== SCROLL REVEAL ============================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  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; }

/* ============================== BILLING TOGGLE ============================== */
.billing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 40px;
  text-align: center;
}
.billing-toggle {
  display: inline-flex;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
}
.billing-opt {
  background: transparent;
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.billing-opt:hover { color: var(--text); }
.billing-opt.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(10, 47, 78, 0.2);
}
.billing-save {
  background: var(--accent, var(--orange));
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.billing-opt.active .billing-save {
  background: var(--orange);
  color: var(--white);
}
.billing-hint {
  font-size: 13px;
  color: var(--text-muted);
}
.billing-hint strong { color: var(--text); font-weight: 600; }

.plan-billed {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 8px;
  min-height: 16px;
  transition: opacity 0.2s ease;
}
.plan-card.featured .plan-billed { color: rgba(255, 255, 255, 0.6); }

/* ============================== TOAST ============================== */
.bf-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1px;
  box-shadow: 0 16px 48px rgba(10, 47, 78, 0.32);
  border: 1px solid var(--glass-border);
  z-index: 9999;
  max-width: calc(100% - 32px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.bf-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.bf-toast[data-type="success"] { border-left: 4px solid #4AC874; }
.bf-toast[data-type="info"]    { border-left: 4px solid var(--blue-light); }
.bf-toast[data-type="error"]   { border-left: 4px solid var(--orange); }

button[disabled], .plan-btn[disabled], .form-submit[disabled], .btn-primary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================== DÉMO VISUELLE ============================== */
.demo-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  padding: 80px 32px;
}
.demo-grid {
  max-width: 1100px;
  margin: 48px auto 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}
.demo-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 280px;
  width: 100%;
}
.demo-mockup-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
}

/* ===== Phone frame (cadre iPhone CSS pur) ===== */
.phone-frame {
  width: 260px;
  height: 520px;
  background: linear-gradient(135deg, #0B3B82 0%, #0a0a0a 50%, #0B3B82 100%);
  border-radius: 38px;
  padding: 7px;
  box-shadow:
    /* Ombre profonde */
    0 50px 100px -20px rgba(10, 47, 78, 0.45),
    /* Ombre rapprochée */
    0 30px 60px -15px rgba(10, 47, 78, 0.3),
    /* Lueur interne (verre) */
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    /* Bord lumineux haut */
    inset 0 1.5px 0 rgba(255, 255, 255, 0.18),
    /* Bord ombre bas */
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.6);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.demo-mockup:hover .phone-frame {
  transform: translateY(-10px) rotateX(2deg) rotateY(-1deg);
  box-shadow:
    0 60px 120px -20px rgba(10, 47, 78, 0.55),
    0 40px 80px -15px rgba(10, 47, 78, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.6);
}

/* Dynamic Island */
.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 0.5px rgba(0, 0, 0, 0.8);
}
.phone-island::after {
  content: '';
  position: absolute;
  top: 50%; right: 8px;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2a2a, #0a0a0a);
}

/* Home indicator iOS (barre du bas) */
.phone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 2px;
  z-index: 5;
}
.phone-screen-1 .phone-home-indicator,
.phone-screen-2 .phone-home-indicator { background: rgba(0, 0, 0, 0.3); }
.phone-screen-3 .phone-home-indicator { background: rgba(255, 255, 255, 0.5); }

/* Status bar iOS */
.phone-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 0;
  font-size: 11px;
  font-weight: 600;
  color: #0B3B82;
  z-index: 4;
  pointer-events: none;
}
.phone-screen-1 .phone-statusbar,
.phone-screen-2 .phone-statusbar { color: white; }
.psb-time { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.psb-icons {
  display: flex; align-items: center; gap: 5px;
}
.phone-statusbar-dark { color: white; }
.phone-screen {
  width: 100%;
  height: 100%;
  background: #F5F5F5;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  font-family: 'DM Sans', sans-serif;
  color: #0B3B82;
  display: flex;
  flex-direction: column;
}

/* ===== Hero (header navy) ===== */
.ps-hero {
  background: linear-gradient(135deg, #062A5E 0%, #0B3B82 40%, #0B3B82 100%);
  color: white;
  padding: 50px 14px 16px;
  position: relative;
  overflow: hidden;
}
.ps-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.45) 0%, rgba(255, 140, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(2px);
}
.ps-hero::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.25) 0%, rgba(255, 140, 0, 0) 70%);
  border-radius: 50%;
}
.ps-hero-compact { padding-bottom: 14px; }
.ps-date {
  font-size: 9px; opacity: 0.65;
  position: relative; z-index: 1;
  letter-spacing: 0.3px;
}
.ps-greet {
  font-size: 17px; font-weight: 800; margin-top: 3px;
  position: relative; z-index: 1;
  letter-spacing: -0.3px;
}
.ps-greet span { font-size: 14px; display: inline-block; animation: wave 2.5s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(14deg); }
  50% { transform: rotate(0); }
}
.ps-sub {
  font-size: 9px; opacity: 0.75; margin-top: 3px;
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 5px;
}
.ps-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FFA640;
  box-shadow: 0 0 0 0 rgba(245, 156, 58, 0.7);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 156, 58, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245, 156, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 156, 58, 0); }
}
.ps-search {
  margin-top: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  display: flex; align-items: center; gap: 6px;
  position: relative; z-index: 1;
  backdrop-filter: blur(8px);
}
.ps-search-ico { color: #FFA640; font-size: 10px; }

/* ===== Body ===== */
.ps-body {
  padding: 12px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ps-body-small { padding: 10px; gap: 8px; }

/* IA banner */
.ps-ia {
  background: linear-gradient(135deg, #0B3B82 0%, #0B3B82 100%);
  border-radius: 12px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10, 47, 78, 0.2);
}
.ps-ia::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(245, 156, 58, 0.3) 0%, transparent 70%);
}
.ps-ia-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #FF8C00, #FFA640);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255, 140, 0, 0.4);
  position: relative; z-index: 1;
}
.ps-ia-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.ps-ia-text strong { display: block; font-size: 9px; font-weight: 800; letter-spacing: -0.1px; }
.ps-ia-text small { font-size: 7px; opacity: 0.7; line-height: 1.3; display: block; margin-top: 1px; }
.ps-claude {
  font-size: 7px; font-weight: 800;
  padding: 4px 7px;
  background: rgba(245, 156, 58, 0.2);
  color: #FFA640;
  border-radius: 100px;
  border: 0.5px solid rgba(245, 156, 58, 0.4);
  position: relative; z-index: 1;
  letter-spacing: 0.3px;
}

/* KPI grid */
.ps-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ps-kpi {
  background: white; border-radius: 12px; padding: 9px;
  position: relative;
  box-shadow: 0 1px 3px rgba(10, 47, 78, 0.04);
  overflow: hidden;
}
.ps-kpi-icon {
  width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  margin-bottom: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.ps-blue { background: linear-gradient(135deg, rgba(11, 59, 130, 0.18), rgba(255, 140, 0, 0.18)); }
.ps-green { background: linear-gradient(135deg, rgba(99, 153, 34, 0.18), rgba(125, 184, 50, 0.18)); }
.ps-kpi-num {
  font-size: 15px; font-weight: 800; line-height: 1;
  letter-spacing: -0.3px;
  color: #0B3B82;
}
.ps-kpi-lbl {
  font-size: 7px; color: #6B7280; margin-top: 3px; font-weight: 600; letter-spacing: 0.2px;
}
.ps-trend {
  font-size: 8px; font-weight: 700;
  color: #639922;
  background: rgba(99, 153, 34, 0.12);
  padding: 1px 5px;
  border-radius: 100px;
  margin-left: 3px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* Avatar circle */
.ps-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B3B82, #4A7BC8);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(11, 59, 130, 0.25);
}
.ps-row-flex { flex: 1; min-width: 0; }

/* Section titles */
.ps-section-title { font-size: 10px; font-weight: 800; margin-top: 2px; }
.ps-section-mini { font-size: 7px; font-weight: 700; color: #6B7280; letter-spacing: 0.5px; margin-top: 4px; }
.ps-section-orange { color: #0B3B82; }

/* Rows */
.ps-row {
  background: white; border-radius: 12px;
  padding: 9px 10px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 1px 3px rgba(10, 47, 78, 0.04);
}
.ps-row-title { font-size: 9px; font-weight: 700; color: #0B3B82; }
.ps-row-sub { font-size: 7px; color: #6B7280; margin-top: 2px; font-weight: 500; }
.ps-badge {
  font-size: 7px; font-weight: 800;
  padding: 4px 7px;
  border-radius: 100px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.ps-badge-green {
  background: linear-gradient(135deg, rgba(99, 153, 34, 0.18), rgba(125, 184, 50, 0.22));
  color: #4A7818;
  border: 0.5px solid rgba(99, 153, 34, 0.3);
}

/* Tab bar */
.ps-tab {
  background: white;
  border-top: 0.5px solid #E2E8F0;
  padding: 8px 4px 14px;
  display: flex; justify-content: space-around;
  position: relative;
  box-shadow: 0 -4px 12px rgba(10, 47, 78, 0.04);
}
.ps-tab-item {
  font-size: 6.5px;
  color: #9CA3AF;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.ps-tab-item span { font-size: 13px; }
.ps-tab-active {
  color: #0B3B82;
  position: relative;
}
.ps-tab-active::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2.5px;
  background: linear-gradient(90deg, #0B3B82, #4A7BC8);
  border-radius: 0 0 2px 2px;
}

/* ===== Mockup 2 — Devis IA ===== */
.ps-input {
  background: white; border-radius: 12px; padding: 10px;
  border: 1.5px solid rgba(11, 59, 130, 0.15);
  box-shadow: 0 1px 3px rgba(10, 47, 78, 0.04);
}
.ps-input-label {
  font-size: 8px; font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ps-input-text {
  font-size: 9px;
  margin-top: 5px;
  line-height: 1.45;
  color: #0B3B82;
  font-weight: 500;
}
.ps-cursor {
  display: inline-block;
  width: 1px; height: 9px;
  background: #0B3B82;
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.ps-input-btn {
  margin-top: 8px;
  background: linear-gradient(135deg, #0B3B82, #1E5BB8);
  color: white;
  font-size: 8px; font-weight: 800;
  padding: 6px 8px; border-radius: 7px;
  text-align: center;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(11, 59, 130, 0.3);
}
.ps-ligne {
  background: white; border-radius: 10px;
  padding: 7px 10px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 1px 3px rgba(10, 47, 78, 0.04);
  animation: slideIn 0.4s ease-out backwards;
}
.ps-ligne:nth-child(3) { animation-delay: 0.1s; }
.ps-ligne:nth-child(4) { animation-delay: 0.2s; }
.ps-ligne:nth-child(5) { animation-delay: 0.3s; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.ps-check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #639922, #7DB832);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(99, 153, 34, 0.35);
}
.ps-ligne-prix {
  font-size: 12px; font-weight: 800;
  color: #0B3B82;
  letter-spacing: -0.2px;
  flex-shrink: 0;
}
.ps-total {
  background: linear-gradient(135deg, #0B3B82 0%, #0B3B82 100%);
  color: white;
  border-radius: 12px; padding: 9px 12px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 4px 12px rgba(10, 47, 78, 0.25);
}
.ps-total-lbl { font-size: 8px; opacity: 0.75; font-weight: 600; letter-spacing: 0.4px; }
.ps-total-val { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; }
.ps-cta {
  background: linear-gradient(135deg, #FF8C00, #FFA640);
  color: white;
  font-size: 9px; font-weight: 800;
  padding: 8px; border-radius: 11px;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
}

/* ===== Mockup 3 — Scan facture ===== */
.ps-cam {
  flex: 0 0 50%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 140, 0, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #1A2530 0%, #0F1923 100%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ps-cam-corners {
  position: absolute; inset: 18px 18px 18px 18px;
  pointer-events: none;
  border-radius: 8px;
  background:
    /* Coin haut-gauche */
    linear-gradient(#FF8C00, #FF8C00) top left / 18px 2.5px no-repeat,
    linear-gradient(#FF8C00, #FF8C00) top left / 2.5px 18px no-repeat,
    /* Coin haut-droite */
    linear-gradient(#FF8C00, #FF8C00) top right / 18px 2.5px no-repeat,
    linear-gradient(#FF8C00, #FF8C00) top right / 2.5px 18px no-repeat,
    /* Coin bas-gauche */
    linear-gradient(#FF8C00, #FF8C00) bottom left / 18px 2.5px no-repeat,
    linear-gradient(#FF8C00, #FF8C00) bottom left / 2.5px 18px no-repeat,
    /* Coin bas-droite */
    linear-gradient(#FF8C00, #FF8C00) bottom right / 18px 2.5px no-repeat,
    linear-gradient(#FF8C00, #FF8C00) bottom right / 2.5px 18px no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.6));
}
.ps-scan-line {
  position: absolute;
  left: 22px; right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 140, 0, 0.7) 50%, transparent 95%);
  box-shadow: 0 0 4px rgba(255, 140, 0, 0.5);
  border-radius: 1px;
  animation: scanY 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}
@keyframes scanY {
  0%, 100% { top: 24px; opacity: 0.2; }
  50% { top: calc(100% - 24px); opacity: 0.5; }
}
.ps-cam-label {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 7px; font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  z-index: 4;
  letter-spacing: 0.3px;
}
.ps-facture {
  background: white;
  width: 78%;
  padding: 10px 12px;
  border-radius: 4px;
  transform: rotate(-3deg);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.3);
  font-size: 7px;
  position: relative;
  z-index: 2;
}
.ps-fac-title { font-weight: 700; font-size: 8px; text-align: center; margin-bottom: 4px; }
.ps-fac-line { color: #6B7280; font-size: 6px; }
.ps-fac-row {
  display: flex; justify-content: space-between;
  font-size: 6px;
  padding: 2px 0;
  border-top: 1px solid #E2E8F0;
}
.ps-fac-row:first-of-type { margin-top: 4px; }
.ps-fac-row strong { font-weight: 700; }
.ps-fac-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; padding-top: 4px;
  border-top: 1.5px solid #0B3B82;
  font-size: 7px; font-weight: 800;
}
.ps-fac-total span { color: #FF8C00; font-size: 8px; }

.ps-detected {
  background: white; border-radius: 12px;
  padding: 10px;
  box-shadow: 0 1px 3px rgba(10, 47, 78, 0.05);
  border: 1px solid rgba(255, 140, 0, 0.15);
}
.ps-det-row, .ps-det-grid {
  display: flex; gap: 8px; margin-bottom: 7px;
}
.ps-det-grid { grid-template-columns: 1fr 1fr; display: grid; }
.ps-det-lbl {
  font-size: 6px; font-weight: 800; color: #6B7280;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.ps-det-val { font-size: 11px; font-weight: 800; color: #0B3B82; letter-spacing: -0.2px; }
.ps-det-val-sm { font-size: 10px; font-weight: 700; color: #0B3B82; }
.ps-det-cat {
  background: linear-gradient(135deg, #639922, #7DB832);
  color: white;
  font-size: 7px; font-weight: 800;
  padding: 4px 8px; border-radius: 100px;
  display: inline-block;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 4px rgba(99, 153, 34, 0.3);
}

.ps-spark-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FF8C00;
  margin-right: 4px;
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
  animation: pulse-orange 1.5s ease-in-out infinite;
}
@keyframes pulse-orange {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.demo-mockup-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  max-width: 240px;
}
.demo-footer {
  text-align: center;
  font-size: 15px;
  color: var(--text);
  margin-top: 24px;
}
.demo-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; gap: 48px; }
  .phone-frame { width: 220px; height: 440px; }
}

/* ============================== HOW IT WORKS ============================== */
.howto-section {
  background: var(--off-white);
  padding: 80px 48px;
}
.howto-grid {
  max-width: 1200px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr;
  gap: 0;
  align-items: stretch;
}
.howto-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.howto-step:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(10, 47, 78, 0.1); }
.howto-number {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.4);
}
.howto-icon {
  font-size: 44px;
  margin: 12px 0 16px;
}
.howto-step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.howto-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.howto-connector {
  align-self: center;
  font-size: 28px;
  color: var(--blue);
  font-weight: 300;
  text-align: center;
  opacity: 0.4;
}

/* ============================== SOCIAL PROOF / TÉMOIGNAGES ============================== */
.social-proof-section {
  background: var(--white);
  padding: 80px 48px;
}
.metiers-grid {
  max-width: 900px;
  margin: 48px auto 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.metier-pill {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
  cursor: default;
}
.metier-pill:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease;
}
.testimonial:hover { transform: translateY(-4px); }
.testimonial-stars {
  font-size: 16px;
  color: var(--orange);
  letter-spacing: 2px;
}
.testimonial-icon {
  font-size: 36px;
  line-height: 1;
}
.testimonial-promise {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--green);
  background: rgba(74, 200, 116, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
  align-self: flex-start;
  margin-top: 4px;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
}
.testimonial-text strong { color: var(--text); font-weight: 600; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-job {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}
.testimonials-disclaimer {
  text-align: center;
  max-width: 900px;
  margin: 32px auto 0;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================== CHAT WIDGET ============================== */
.bf-chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border: none;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(10, 47, 78, 0.35);
  z-index: 9997;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.bf-chat-fab:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(10, 47, 78, 0.45);
}
.bf-chat-fab-icon {
  font-size: 18px;
  line-height: 1;
}
.bf-chat-fab-open {
  background: var(--accent);
}
.bf-chat-fab-open:hover {
  background: var(--accent);
}

.bf-chat-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 47, 78, 0.25);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9998;
  overflow: hidden;
}
.bf-chat-panel-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.bf-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--navy);
  color: var(--white);
}
.bf-chat-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.bf-chat-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}
.bf-chat-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.bf-chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.bf-chat-body {
  padding: 18px 18px 16px;
}
.bf-chat-intro {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 500;
}
.bf-chat-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--off-white);
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, transform 0.15s;
}
.bf-chat-option:hover {
  background: var(--off-white-2);
  transform: translateX(2px);
}
.bf-chat-opt-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.bf-chat-opt-text { flex: 1; }
.bf-chat-opt-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.bf-chat-opt-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}
.bf-chat-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .bf-chat-fab { bottom: 16px; right: 16px; padding: 12px 16px 12px 12px; }
  .bf-chat-fab-label { display: none; }
  .bf-chat-panel { bottom: 80px; right: 16px; left: 16px; width: auto; }
}

/* ============================== COOKIE BANNER ============================== */
.bf-cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9998;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 56px rgba(10, 47, 78, 0.18);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  max-width: 720px;
  margin: 0 auto;
}
.bf-cookie-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.bf-cookie-leaving {
  opacity: 0;
  transform: translateY(10px);
}
.bf-cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
}
.bf-cookie-text { flex: 1; }
.bf-cookie-text strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 700;
}
.bf-cookie-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.bf-cookie-text a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bf-cookie-actions { flex-shrink: 0; }
.bf-cookie-ok {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.bf-cookie-ok:hover { background: var(--orange-light); }
.bf-cookie-ok:active { transform: scale(0.97); }

@media (max-width: 600px) {
  .bf-cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .bf-cookie-ok { width: 100%; padding: 12px; }
}

/* ============================== MOBILE NAV ============================== */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  cursor: pointer; padding: 0;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  margin-left: auto;
  margin-right: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-burger:hover { background: rgba(255, 255, 255, 0.08); }
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 47, 78, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 98;
}
.nav-overlay.visible { opacity: 1; pointer-events: auto; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 900px) {
  nav.main-nav { padding: 14px 20px; }
  .nav-burger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 84%; max-width: 320px;
    height: 100vh; height: 100dvh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 28px 32px;
    display: flex !important; /* surcharge l'ancien display:none */
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    gap: 8px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links a.active { color: var(--orange-light); }

  /* Garde le CTA visible dans la nav même quand le menu est fermé */
  .nav-cta { margin-left: auto; }

  section { padding: 64px 22px; }
  .hero { padding: 100px 22px 60px; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .comp-row { grid-template-columns: 1fr; }
  .comp-arrow { display: none; }
  .plan-card.featured { transform: scale(1); }
  .hero-stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .beta-input-row { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-container { padding: 28px 20px; }
}

@media (max-width: 900px) {
  .howto-grid { grid-template-columns: 1fr; gap: 32px; }
  .howto-connector { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .howto-section, .social-proof-section { padding: 64px 22px; }
  .metiers-grid { gap: 8px; margin: 32px auto 40px; }
  .metier-pill { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 720px) {
  /* ===== HERO SIGNUP — vertical stack propre sur mobile ===== */
  .hero-signup {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-signup-input {
    width: 100%;
    text-align: left;
    padding-left: 18px;
    font-size: 16px !important;
    min-height: 52px;
  }
  .hero-signup-btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding: 14px 20px !important;
    font-size: 16px !important;
  }

  /* ===== TRUST SIGNALS — pills plus compactes sur mobile ===== */
  .hero-trust {
    font-size: 12px;
    gap: 6px 6px;
    padding: 0 14px;
    margin-bottom: 14px;
  }
  .hero-trust-item {
    padding: 4px 10px;
    font-size: 12px;
  }

  /* ===== BETA REASSURE — pills plus compactes sur mobile ===== */
  .beta-reassure {
    font-size: 12px;
    gap: 6px 6px;
    padding: 0 14px;
  }
  .beta-reassure span:not([class]) {
    padding: 4px 10px;
    font-size: 12px;
  }

  /* ===== STICKY CTA — visible uniquement sur mobile ===== */
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: 84px; } /* espace pour le sticky CTA */

  /* ===== INPUTS GLOBALEMENT — anti-zoom iOS ===== */
  input[type="email"], input[type="text"], input[type="tel"], textarea, select {
    font-size: 16px !important;
  }

  /* ===== TOUCH TARGETS ≥ 44px ===== */
  .btn-primary, .btn-ghost, .btn-outline, .nav-cta, .plan-btn {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .howto-step { padding: 28px 22px; }
  .hero-signup-input { font-size: 16px !important; }
}

/* ============================== ACCESSIBILITÉ ============================== */
/* Respect des préférences utilisateur (réduit les animations) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .orb { animation: none; }
}

/* Focus visible accessible (clavier) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange-light);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip-to-content pour lecteurs d'écran */
.skip-link {
  positi