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

:root {
  --navy: #0A2F4E;
  --navy-dark: #061829;
  --navy-darker: #040F1A;
  --blue: #185FA5;
  --blue-mid: #1E74C8;
  --blue-light: #4AC8FF;
  --orange: #E07B20;
  --orange-light: #F59C3A;
  --green: #2E7D32;
  --white: #FFFFFF;
  --off-white: #F4F7FB;
  --off-white-2: #EBF3FF;
  --text: #0D1F2D;
  --text-muted: #6B8299;
  --border: rgba(24, 95, 165, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
}

*, *::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(224, 123, 32, 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(224, 123, 32, 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(24, 95, 165, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 95, 165, 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(224, 123, 32, 0.15);
  border: 1px solid rgba(224, 123, 32, 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;
  margin-bottom: 64px;
}

.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(24, 95, 165, 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(24, 95, 165, 0.1); color: var(--blue); }
.tag-auto { background: rgba(224, 123, 32, 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(24, 95, 165, 0.2), rgba(30, 116, 200, 0.1));
  border: 1px solid rgba(24, 95, 165, 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(224, 123, 32, 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(24, 95, 165, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 95, 165, 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(224, 123, 32, 0.15);
  border: 1px solid rgba(224, 123, 32, 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-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; }

/* ============================== 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;
}

/* ============================== 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(224, 123, 32, 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-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;
}

/* ============================== 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: 480px) {
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .howto-step { padding: 28px 22px; }
}

/* ============================== 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 {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
