/* Même identité que l'app : graphite sombre, accent cobalt, police Geist. */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg-0: #0b0d10;
  --bg-1: #13161b;
  --bg-2: #181b21;
  --bg-3: #20242b;
  --line: #262b33;
  --fg: #e8eaee;
  --muted: #9aa1ad;
  --faint: #636b78;
  --accent: #4f7cff;
  --accent-hover: #6a90ff;
  --ok: #2fd38f;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: "Geist", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.88em; background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; padding: 0.1em 0.4em; }

/* ---------- Barre du haut ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px);
  background: color-mix(in srgb, var(--bg-0) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; }
.brand img { border-radius: 8px; }
.topnav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.topnav a:not(.btn) { color: var(--muted); text-decoration: none; }
.topnav a:not(.btn):hover { color: var(--fg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 10px; font-weight: 600; text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; padding: 14px 22px; font-size: 17px; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-small { background: var(--bg-3); color: var(--fg); padding: 8px 14px; font-size: 14px; }
.btn-small:hover { background: #2a2f38; }
.btn[aria-disabled="true"] { background: var(--bg-3); color: var(--muted); pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 9vw, 112px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 96px);
  max-width: 1360px; margin: 0 auto;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 700;
  margin: 0 0 22px; max-width: 14ch;
}
.lead { color: var(--muted); font-size: 19px; max-width: 46ch; margin: 0 0 34px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-meta { margin: 0; color: var(--faint); font-size: 14px; }

.hero-shot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-1);
  box-shadow: 0 40px 120px -40px rgba(79, 124, 255, 0.35), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}
.hero-shot img { display: block; width: 100%; height: auto; }

/* ---------- Sections ---------- */
section h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.025em; line-height: 1.15; font-weight: 700;
  margin: 0 0 40px;
}
.features, .join {
  max-width: 1360px; margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

/* Fonctions : liste aérée séparée par des filets, pas de cartes. */
.feature-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
}
.feature-list li { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.feature-list svg {
  width: 26px; height: 26px; margin-bottom: 14px;
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature-list h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.feature-list p { margin: 0; color: var(--muted); font-size: 16px; max-width: 38ch; }

/* Étapes : une vraie séquence, donc numérotée. */
.steps {
  list-style: none; counter-reset: step; margin: 0 0 44px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px);
}
.steps li {
  counter-increment: step; position: relative;
  padding: 28px 26px 26px; border-radius: var(--radius);
  background: var(--bg-1); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-hover);
  font-weight: 700; font-size: 16px;
}
.steps h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.steps em { color: var(--fg); font-style: normal; font-weight: 500; }
.join-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.note { margin: 0; color: var(--faint); font-size: 15px; }

/* ---------- Pied de page ---------- */
.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--faint); font-size: 14px;
}

/* ---------- Écrans étroits ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topnav a:not(.btn) { display: none; }
  .feature-list { grid-template-columns: 1fr; }
  .btn-primary { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
