/* Nestwo — feuille de style pages marketing statiques (SEO/GEO, sans Flutter) */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:root {
  --primary: #1E3A8A;
  --primary-light: #3B5FC0;
  --accent: #FF5A5F;
  --success: #10B981;
  --bg: #F7F8FC;
  --text: #0F172A;
  --text-soft: #5E6E85;
  --border: #E2E8F0;
  --card: #FFFFFF;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
img { max-width: 100%; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--primary) url('/icons/Icon-192.png?v=2') center/76% no-repeat;
  flex-shrink: 0;
}
.site-header__brand {
  font-size: 18px; font-weight: 800; color: var(--text);
  text-decoration: none; letter-spacing: 0.2px;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-header nav a {
  font-size: 14px; font-weight: 500; color: var(--text-soft);
  text-decoration: none;
}
.site-header nav a:hover { color: var(--primary); }
.site-header nav a.is-active { color: var(--primary); font-weight: 700; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.28);
}
.btn--ghost {
  background: #fff; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--lg { padding: 15px 32px; font-size: 16px; border-radius: 14px; }
.site-header .btn { padding: 9px 18px; font-size: 14px; }

@media (max-width: 720px) {
  .site-header nav a:not(.btn) { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--primary) 0%, #2A4BA8 55%, var(--primary-light) 100%);
  color: #fff;
  padding: 72px 24px 80px;
  text-align: center;
}
.hero .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  max-width: 820px;
  margin: 0 auto 18px;
  letter-spacing: -0.5px;
}
.hero .sub {
  font-size: clamp(16px, 2.2vw, 19px);
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 34px;
  line-height: 1.6;
}
.hero .cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.hero .btn--ghost { background: rgba(255,255,255,0.95); border: none; }
.hero .note { margin-top: 18px; font-size: 13px; opacity: 0.78; }

/* ── Sections ───────────────────────────────────────────────────────── */
main { display: block; }
.section { padding: 64px 24px; }
.section--alt { background: #fff; }
.section__inner { max-width: 1080px; margin: 0 auto; }
.section h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section .lead {
  text-align: center;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: 17px;
}

/* ── Cards grid ─────────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: #EEF2FF;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-soft); }

/* ── Steps ──────────────────────────────────────────────────────────── */
.steps { counter-reset: step; max-width: 760px; margin: 0 auto; }
.step {
  display: flex; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step__num {
  counter-increment: step;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.step p { font-size: 15px; color: var(--text-soft); }

/* ── Pricing ────────────────────────────────────────────────────────── */
.pricing { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: 880px; margin: 0 auto; }
.price-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  position: relative;
}
.price-card--featured { border-color: var(--primary); box-shadow: 0 10px 36px rgba(30,58,138,0.14); }
.price-card .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 4px 14px;
  white-space: nowrap;
}
.price-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.price-card .amount { font-size: 34px; font-weight: 800; }
.price-card .amount small { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.price-card ul { list-style: none; margin-top: 18px; }
.price-card li {
  font-size: 14px; color: var(--text-soft);
  padding: 6px 0 6px 26px;
  position: relative;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--success); font-weight: 700;
}
.beta-banner {
  max-width: 880px;
  margin: 26px auto 0;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  border-radius: 14px;
  padding: 16px 22px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--text-soft);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; font-size: 15px; color: var(--text-soft); }

/* ── CTA final ──────────────────────────────────────────────────────── */
.cta-final {
  background: linear-gradient(160deg, var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}
.cta-final h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; margin-bottom: 12px; }
.cta-final p { opacity: 0.9; margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-final .btn--ghost { background: #fff; border: none; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 44px 24px 30px;
  font-size: 14px;
}
.site-footer__inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between;
}
.site-footer a { color: #CBD5E1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.site-footer .col ul { list-style: none; }
.site-footer .col li { margin-bottom: 8px; }
.site-footer .legal-line {
  max-width: 1080px; margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid #1E293B;
  font-size: 12.5px;
  color: #64748B;
}

/* ── Comparison table ───────────────────────────────────────────────── */
.compare { max-width: 880px; margin: 0 auto; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.compare th, .compare td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.compare th { background: var(--primary); color: #fff; font-size: 14px; }
.compare tr:last-child td { border-bottom: none; }
.compare td.yes { color: var(--success); font-weight: 700; }
.compare td.no { color: var(--text-soft); }
