:root {
  --bg: #0a0e16;
  --bg-alt: #0e1522;
  --card: #111827;
  --border: #1f2a3d;
  --text: #e6ebf4;
  --muted: #9aa8c0;
  --accent: #1f6fff;
  --accent-2: #16a4fd;
  --accent-grad: linear-gradient(135deg, #16a4fd, #2067fc);
  --radius: 14px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 153px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 20px rgba(32, 111, 252, .35); }
.btn-primary:hover { box-shadow: 0 8px 26px rgba(32, 111, 252, .5); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 22, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(900px 420px at 70% -10%, rgba(32, 111, 252, .18), transparent 60%),
    radial-gradient(700px 380px at 10% 10%, rgba(22, 164, 253, .12), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { text-align: center; }
.hero-kicker {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; }
.grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; gap: 26px; justify-content: center; margin-top: 44px; color: var(--muted); font-size: 15px; flex-wrap: wrap; }
.hero-points li::before { color: var(--accent-2); margin-right: 6px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; text-align: center; letter-spacing: -.3px; }
.section-sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 620px; margin: 12px auto 0; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 48px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: rgba(32, 111, 252, .5); transform: translateY(-2px); }
.card-icon { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 48px; align-items: stretch; }
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.plan h3 { font-size: 18px; font-weight: 700; }
.plan-price { font-size: 34px; font-weight: 800; margin: 12px 0 4px; letter-spacing: -.5px; }
.plan-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-tagline { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; margin-bottom: 22px; flex-grow: 1; }
.plan li { padding: 7px 0; color: var(--muted); font-size: 15px; border-top: 1px solid var(--border); }
.plan li:first-child { border-top: none; }
.plan .btn { width: 100%; }
.plan-featured {
  background: linear-gradient(180deg, rgba(32, 111, 252, .12), var(--card) 38%);
  border-color: rgba(32, 111, 252, .6);
  box-shadow: 0 14px 40px rgba(32, 111, 252, .18);
  position: relative;
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::after { content: "+"; font-size: 20px; color: var(--accent-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 15px; padding-bottom: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-grid .section-title { text-align: left; }
.contact-grid .section-sub { text-align: left; margin-left: 0; }
.form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
.form label:first-of-type { margin-top: 0; }
.form .opt { color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { margin-top: 20px; width: 100%; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 14px; font-size: 15px; min-height: 22px; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 36px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.footer-inner p { color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: var(--muted); font-size: 14px; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { font-size: 13px; color: #6b7686; }

/* ---------- Page légale (CGU) — épurée ---------- */
.legal { max-width: 1060px; margin: 0 auto; padding: 64px 0 96px; }
.legal-head { margin-bottom: 48px; max-width: 640px; }
.legal-head .legal-tag { display: block; color: var(--muted); font-size: 13px; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 18px; }
.legal-head h1 { font-size: 34px; font-weight: 800; letter-spacing: -.4px; margin: 0 0 14px; line-height: 1.15; }
.legal-head .updated { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.legal-head .legal-intro { color: var(--muted); font-size: 15.5px; line-height: 1.8; margin: 0; border-top: 1px solid var(--border); padding-top: 22px; text-align: justify; hyphens: auto; }
.legal-layout { display: flex; gap: 64px; align-items: flex-start; }
.legal-toc { position: sticky; top: 153px; flex: 0 0 200px; }
.legal-toc-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #6b7686; margin: 0 0 14px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; }
.legal-toc li { margin: 0; }
.legal-toc a { display: block; color: #8a94a8; font-size: 13.5px; padding: 5px 0; line-height: 1.4; }
.legal-toc a:hover { color: var(--text); text-decoration: none; }
.legal-toc a.active { color: var(--accent-2); }
.legal-body { max-width: 640px; flex: 1 1 auto; min-width: 0; }
.legal-section { padding: 30px 0; border-top: 1px solid var(--border); }
.legal-section:first-child { border-top: none; padding-top: 0; }
.legal-section h2 { font-size: 18px; font-weight: 700; margin: 0 0 14px; color: var(--text); letter-spacing: -.1px; }
.legal-section h2 .legal-num { color: #6b7686; font-weight: 600; margin-right: 10px; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 15px; line-height: 1.8; text-align: justify; hyphens: auto; }
.legal-section p { margin: 0 0 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { padding-left: 18px; margin: 0 0 12px; }
.legal-section ul:last-child { margin-bottom: 0; }
.legal-section li { margin: 6px 0; }
.legal-section li::marker { color: var(--accent); }
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-back { display: inline-block; margin-top: 36px; color: var(--accent-2); font-size: 14.5px; font-weight: 500; }
.legal-back:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .legal-layout { flex-direction: column; gap: 24px; }
  .legal-toc { position: static; }
}
@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
}