/* ====================================================
   LANDING PAGE – Variables & reset
==================================================== */
:root {
  --navy: #1B2B5E;
  --yellow: #F5C400;
  --bg: #F7F5EF;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --font: 'Inter', sans-serif;
  --muted: #6B7280;
  --max-w: 1160px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--navy); font-size: 16px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ====================================================
   UTILITAIRES
==================================================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: #fff; }
.tag {
  display: inline-block; background: var(--yellow); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.tag-white {
  display: inline-block; background: rgba(255,255,255,.15); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
h1, h2, h3 { line-height: 1.2; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* ====================================================
   BOUTONS
==================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: none; font-family: var(--font);
  transition: opacity .15s, transform .1s;
}
.btn:hover { opacity: .88; transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ====================================================
   NAV
==================================================== */
.lp-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid #E5E7EB;
  padding: 0 24px;
}
.lp-nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.lp-logo { display: flex; align-items: center; gap: 12px; }
.lp-logo img { height: 40px; width: auto; }
.lp-logo-text { font-size: 22px; font-weight: 800; color: var(--navy); }
.lp-logo-text span { color: var(--yellow); }
.lp-nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.lp-nav-links a { color: var(--navy); transition: color .15s; }
.lp-nav-links a:hover { color: var(--yellow); }
.nav-cta { background: var(--yellow); color: var(--navy) !important; padding: 10px 20px; border-radius: 8px; font-weight: 700 !important; }
.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ====================================================
   HERO
==================================================== */
.hero {
  background: var(--navy);
  padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,196,0,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-kicker {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--yellow); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 900; color: #fff;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--yellow); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.75); margin-bottom: 32px; line-height: 1.65;
}
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.6); font-size: 14px;
}
.hero-trust-badge {
  background: rgba(245,196,0,.15); border: 1px solid rgba(245,196,0,.3);
  border-radius: 20px; padding: 4px 14px; color: var(--yellow); font-weight: 600; font-size: 13px;
}
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.4);
  width: 100%; border: 2px solid rgba(255,255,255,.1);
}
.hero-badge-free {
  position: absolute; top: -16px; right: -16px;
  background: var(--yellow); color: var(--navy);
  font-weight: 800; font-size: 13px; text-align: center;
  padding: 12px 16px; border-radius: 12px; box-shadow: 0 4px 16px rgba(245,196,0,.4);
  line-height: 1.3;
}
.hero-badge-free .big { font-size: 22px; display: block; }

/* ====================================================
   LOGOS CLIENTS
==================================================== */
.logos-band {
  background: var(--bg); padding: 28px 24px; border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB;
}
.logos-band-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.logos-band p { font-size: 14px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.logos-band-logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; justify-content: center; }
.logo-placeholder {
  height: 36px; width: 100px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em;
}

/* ====================================================
   POURQUOI GRATUIT
==================================================== */
.why-free { background: #EEF2FF; padding: 60px 24px; }
.why-free-inner {
  max-width: 800px; margin: 0 auto; text-align: center;
}
.why-free h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; color: var(--navy); }
.why-free-card {
  background: var(--white); border-radius: 16px; padding: 36px;
  box-shadow: var(--shadow); border-left: 5px solid var(--yellow); text-align: left; margin-top: 32px;
}
.why-free-card .avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow); font-size: 24px; margin-bottom: 16px;
}
.why-free-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.why-free-card p { color: #374151; line-height: 1.7; font-size: 16px; margin-bottom: 12px; }
.why-free-card .highlight {
  background: rgba(245,196,0,.15); border-radius: 8px; padding: 16px 20px;
  font-weight: 600; color: var(--navy); margin-top: 16px; font-size: 15px;
}

/* ====================================================
   PROBLÈMES
==================================================== */
.problems-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.problem-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border-top: 3px solid var(--yellow);
}
.problem-icon { font-size: 32px; margin-bottom: 12px; }
.problem-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.problem-card p { color: #4B5563; font-size: 15px; line-height: 1.6; }

/* ====================================================
   FEATURES
==================================================== */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding: 72px 0; border-bottom: 1px solid #E5E7EB;
}
.feature-block:last-child { border-bottom: none; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-tag {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--navy); background: rgba(245,196,0,.25); padding: 4px 12px; border-radius: 20px;
  display: inline-block; margin-bottom: 16px;
}
.feature-block h3 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.feature-block p { color: #4B5563; font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; }
.feature-list li::before { content: '✅'; flex-shrink: 0; margin-top: 1px; }
.feature-visual img {
  width: 100%; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

/* ====================================================
   STATS BAND
==================================================== */
.stats-band { background: var(--yellow); padding: 48px 24px; }
.stats-band-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.stat-item { text-align: center; }
.stat-item .val { font-size: 48px; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-item .lbl { font-size: 15px; font-weight: 600; color: var(--navy); margin-top: 6px; opacity: .8; }

/* ====================================================
   TABLEAU COMPARATIF
==================================================== */
.compare-table-wrap { overflow-x: auto; margin-top: 48px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th { padding: 16px 20px; font-weight: 700; font-size: 14px; text-align: left; }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid #E5E7EB; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg); }
.col-us { background: rgba(27,43,94,.04); }
.col-us th { background: var(--navy); color: #fff; border-radius: 8px 8px 0 0; text-align: center; }
.col-us td { text-align: center; font-weight: 600; color: var(--navy); }
.col-other { text-align: center; }
.compare-table .check { color: #16A34A; font-size: 18px; }
.compare-table .cross { color: #DC2626; font-size: 18px; }

/* ====================================================
   ÉTAPES
==================================================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.step-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); text-align: center;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--yellow);
  color: var(--navy); font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.step-card p { font-size: 14px; color: #4B5563; line-height: 1.6; }

/* ====================================================
   SECTION INSCRIPTION (REMPLACE TARIFS)
==================================================== */
.register-section { background: var(--navy); padding: 80px 24px; }
.register-inner {
  max-width: 860px; margin: 0 auto;
}
.register-inner h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 900; color: #fff; margin-bottom: 12px; }
.register-inner .sub { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 48px; }
.register-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.register-step-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 32px;
}
.register-step-card .step-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.register-step-card .step-num-badge {
  width: 36px; height: 36px; background: var(--yellow); color: var(--navy);
  border-radius: 50%; font-weight: 900; font-size: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.register-step-card h3 { font-size: 18px; font-weight: 700; color: #fff; }
.register-step-card p { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 20px; line-height: 1.6; }
.lp-form { display: flex; flex-direction: column; gap: 12px; }
.lp-input {
  width: 100%; padding: 12px 16px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; font-size: 15px; font-family: var(--font);
  transition: border-color .15s;
}
.lp-input::placeholder { color: rgba(255,255,255,.4); }
.lp-input:focus { outline: none; border-color: var(--yellow); }
.lp-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.register-arrow {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); font-size: 24px;
}
.register-note { margin-top: 24px; text-align: center; color: rgba(255,255,255,.5); font-size: 14px; }

/* ====================================================
   FAQ
==================================================== */
.faq-list { max-width: 760px; margin: 0 auto; margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--navy);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font);
}
.faq-question .faq-icon { font-size: 20px; transition: transform .25s; color: var(--yellow); flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.faq-answer.open { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; color: #4B5563; line-height: 1.7; font-size: 15px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ====================================================
   CTA FINAL
==================================================== */
.cta-final { background: var(--yellow); padding: 80px 24px; text-align: center; }
.cta-final h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.cta-final p { font-size: 18px; color: rgba(27,43,94,.75); margin-bottom: 32px; }

/* ====================================================
   FOOTER
==================================================== */
.lp-footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 48px 24px 32px; }
.lp-footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px;
}
.footer-brand .lp-logo-text { color: #fff; font-size: 20px; }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.5); transition: color .15s; }
.footer-legal a:hover { color: var(--yellow); }

/* ====================================================
   MODAL INSCRIPTION
==================================================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: none; align-items: center; justify-content: center; z-index: 500;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: 20px; padding: 40px; width: 90%; max-width: 520px;
  position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.25); max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--navy);
}
.modal-steps { display: flex; gap: 12px; margin-bottom: 28px; }
.modal-step-dot {
  flex: 1; height: 4px; border-radius: 2px; background: #E5E7EB;
}
.modal-step-dot.done { background: var(--yellow); }
.modal-step-dot.active { background: var(--navy); }
.modal-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--navy); }
.modal-box .modal-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-input {
  width: 100%; padding: 12px 16px; border: 1.5px solid #E5E7EB;
  border-radius: 8px; font-size: 15px; font-family: var(--font); color: var(--navy);
  transition: border-color .15s;
}
.modal-input:focus { outline: none; border-color: var(--navy); }
.modal-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.alert-success-modal {
  background: #D1FAE5; color: #065F46; border-radius: 8px;
  padding: 16px 20px; font-weight: 600; text-align: center; margin-bottom: 16px;
}
.alert-error-modal {
  background: #FEE2E2; color: #991B1B; border-radius: 8px;
  padding: 16px 20px; font-weight: 600; text-align: center; margin-bottom: 16px;
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 80px 24px 60px; }
  .hero h1 { text-align: center; }
  .hero-sub { text-align: center; }
  .hero-kicker { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge-free { top: -10px; right: 10px; }
  .problems-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .register-steps { grid-template-columns: 1fr; }
  .register-arrow { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .lp-nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.reverse { direction: ltr; }
  .problems-grid { grid-template-columns: 1fr; }
  .stats-band-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }
  .lp-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal-input-row { grid-template-columns: 1fr; }
  .lp-input-row { grid-template-columns: 1fr; }
}