/* Downplan landing — sobre, une colonne, beaucoup d'air. */

:root {
  --ink: #171a21;
  --ink-soft: #555e6e;
  --ink-faint: #8a93a3;
  --accent: #3b5bdb;
  --accent-deep: #2c46b8;
  --accent-soft: #edf1fd;
  --bg: #fcfcfb;
  --card: #ffffff;
  --line: #e5e8ef;
  --ok: #2f9e44;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.lang {
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.lang a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 6px;
}

.lang a:hover {
  color: var(--accent);
}

.lang .active {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Sections ---------- */

section {
  margin: 96px 0;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 32px;
}

/* ---------- Hero ---------- */

.hero {
  margin-top: 72px;
  text-align: center;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 auto 40px;
}

/* ---------- Formulaire ---------- */

.subscribe {
  max-width: 480px;
  margin: 0 auto;
}

.subscribe .fields {
  display: flex;
  gap: 10px;
}

.subscribe input[type="email"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
}

.subscribe input[type="email"]::placeholder {
  color: var(--ink-faint);
}

.subscribe input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}

.subscribe button {
  font: inherit;
  font-weight: 600;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.subscribe button:hover {
  background: var(--accent-deep);
}

.subscribe button:disabled {
  opacity: 0.6;
  cursor: default;
}

.founder-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

.founder-note strong {
  color: var(--accent-deep);
}

.form-error {
  color: #c0392b;
  font-size: 0.92rem;
  margin: 10px 0 0;
}

.form-success {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 16px 20px;
  margin: 0;
  font-weight: 500;
}

/* Honeypot : jamais visible, jamais focusable. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Cascade ---------- */

.cascade {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  max-width: 460px;
  box-shadow: 0 1px 3px rgb(23 26 33 / 0.05);
}

.step + .step {
  margin-top: 26px;
}

.step:nth-child(2) { margin-left: 11%; }
.step:nth-child(3) { margin-left: 22%; }
.step:nth-child(4) { margin-left: 33%; }

/* Connecteur vertical entre les blocs */
.step + .step::before {
  content: "";
  position: absolute;
  top: -27px;
  left: 32px;
  height: 26px;
  border-left: 2px solid var(--line);
}

.step-level {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 6px;
}

.step-text {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: var(--ink);
}

.step-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar {
  flex: 1;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

.step-value {
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  min-width: 3.2em;
  text-align: right;
}

.step-done .bar-fill {
  background: var(--ok);
}

.step-done .step-value {
  color: var(--ok);
  font-weight: 600;
}

.cascade-caption {
  margin: 40px auto 0;
  max-width: 36em;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Bénéfices ---------- */

.benefits ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits li + li {
  margin-top: 44px;
}

.benefits h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.benefits p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Rappel offre ---------- */

.offer {
  background: var(--accent-soft);
  border-radius: 20px;
  padding: 56px 32px;
  text-align: center;
}

.offer h2 {
  margin-bottom: 12px;
}

.offer .offer-text {
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 auto 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  margin: 96px 0 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.site-footer p {
  margin: 4px 0;
}

/* ---------- Mobile ---------- */

@media (max-width: 560px) {
  section {
    margin: 72px 0;
  }

  .hero {
    margin-top: 48px;
  }

  .subscribe .fields {
    flex-direction: column;
  }

  .step:nth-child(2) { margin-left: 6%; }
  .step:nth-child(3) { margin-left: 12%; }
  .step:nth-child(4) { margin-left: 18%; }

  .offer {
    padding: 40px 22px;
  }
}
