/* Landing azae.ai — style minimal, responsive, neutre (branding complet en Phase 5). */

:root {
  --bg: #0f1115;
  --surface: #171a21;
  --surface-2: #1e222b;
  --line: #2a2f3a;
  --text: #eef1f6;
  --muted: #9aa3b2;
  --accent: #6c8cff;
  --accent-ink: #0b1020;
  --ok: #3ecf8e;
  --radius: 14px;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: radial-gradient(1200px 600px at 50% -10%, #1b2030 0%, var(--bg) 60%);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

.hidden { display: none !important; }

/* Topbar */
.topbar {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px clamp(16px, 5vw, 48px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand-tag { color: var(--muted); font-size: 13px; }

/* Hero */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(32px, 8vw, 80px) clamp(16px, 5vw, 48px);
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 5.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.lead { color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); max-width: 620px; margin: 0 auto 28px; }
.micro { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #88a2ff; }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

/* Pourquoi */
.why {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px clamp(16px, 5vw, 48px) 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.why-item { display: flex; gap: 12px; align-items: flex-start; }
.why-ico { font-size: 22px; line-height: 1.3; }
.why-item strong { font-size: 15px; }
.why-item span { color: var(--muted); font-size: 14px; }

/* Flow */
.flow { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px) 64px; }
.step { margin-top: 40px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  font-weight: 700; font-size: 14px; color: var(--accent);
}
.step h2 { font-size: clamp(20px, 3vw, 26px); margin: 0; letter-spacing: -0.02em; }

/* Profiles */
.profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.profile-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.profile-card:hover { border-color: var(--accent); background: var(--surface-2); }
.profile-card .pc-title { font-weight: 700; margin-bottom: 6px; }
.profile-card .pc-sub { color: var(--muted); font-size: 13px; }

/* Form */
.form { display: grid; gap: 16px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input,
.field select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  width: 100%;
}
.field input:focus,
.field select:focus { outline: none; border-color: var(--accent); }
.row2 { display: flex; gap: 12px; }
.row2 .field { flex: 1; }
.hint { color: var(--muted); font-size: 12px; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.form-error { color: #ff8585; font-size: 14px; }

/* Packs */
.price-note { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pack {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pack.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.pack .badge {
  position: absolute; top: -11px; left: 18px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
}
.pack .p-label { font-weight: 700; font-size: 18px; }
.pack .p-hours { color: var(--accent); font-weight: 700; font-size: 14px; }
.pack .p-price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.pack .p-mode { color: var(--muted); font-size: 13px; }
.pack .p-hourly { color: var(--muted); font-size: 13px; }
.pack .p-blurb { color: var(--muted); font-size: 14px; flex: 1; }
.pack .btn { margin-top: 8px; width: 100%; }

/* Footer */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 28px clamp(16px, 5vw, 48px) 48px;
  color: var(--muted); font-size: 13px; border-top: 1px solid var(--line);
}
.footer .signature { color: var(--text); font-size: 15px; margin-bottom: 6px; }
.footer .signature strong { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
