/* Page marketing (référentiel §9.1, décision 29/09/2026) — vitrine de la plateforme elle-même, sur
   <marque>.fr. Même palette que apps/onboarding/styles.css (sobriété, pas de dépendance CSS externe),
   mais mise en page pensée comme une vraie page d'atterrissage (héro, sections, tarifs) plutôt qu'un
   formulaire utilitaire. */

:root {
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --bg: #fafaf9;
  --panel: #ffffff;
  --brand: #1e40af;
  --brand-dark: #172f6e;
  --brand-soft: #eff2fb;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
}

/* ---------- Barre de navigation ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.primary:hover {
  background: var(--brand-dark);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn.large {
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
}

/* ---------- Héro ---------- */

.hero {
  background: linear-gradient(180deg, var(--brand-soft), var(--bg));
  padding: 4rem 1.25rem 3.5rem;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.1rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Sections génériques ---------- */

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section.alt {
  max-width: none;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.alt > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 1.6rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.tag-list li {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

/* ---------- Étapes ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.steps li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.steps p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Tarifs ---------- */

.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.pricing-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.price-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.price-detail {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.addons {
  text-align: center;
}

.addons h3 {
  font-size: 1.1rem;
}

/* ---------- Liste à coches ---------- */

.check-list {
  list-style: none;
  padding: 0;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ---------- CTA final ---------- */

.cta-final {
  text-align: center;
}

/* ---------- Pied de page ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a.btn {
    width: 100%;
    text-align: center;
  }
}
