:root {
  --bg: #06070c;
  --bg2: #0b0d16;
  --panel: rgba(20, 22, 34, .66);
  --line: rgba(255, 255, 255, .09);
  --text: #f4f1ff;
  --muted: #a3a8c0;
  --gold: #ffd56b;
  --orange: #ff8a4c;
  --pink: #ff5f8f;
  --violet: #a66bff;
  --cyan: #4fd1ff;
  --green: #3ddc84;
  --grad: linear-gradient(90deg, var(--gold), var(--orange), var(--pink), var(--violet), var(--cyan), var(--gold));
  --radius: 22px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.grad-text { background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 10s linear infinite; }
@keyframes flow { to { background-position: 300% 0; } }

/* fond étoilé + halos */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(255,138,76,.16), transparent 60%),
              radial-gradient(900px 600px at 100% 20%, rgba(166,107,255,.16), transparent 60%),
              radial-gradient(900px 700px at 40% 120%, rgba(79,209,255,.12), transparent 60%), var(--bg); }

/* navigation */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(6,7,12,.6); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .16em; font-size: 15px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 550; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links .cta { color: #1d0c00; background: var(--grad); background-size: 300% 100%; animation: flow 6s linear infinite; font-weight: 800; }
.nav-links .cta:hover { color: #1d0c00; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); }

/* boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 750; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #1d0c00; background: var(--grad); background-size: 300% 100%; animation: flow 6s linear infinite; box-shadow: 0 12px 40px rgba(255,138,76,.28); }
.btn-ghost { background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.25); }

/* sections */
section { padding: 96px 0; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-title { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }
.center { text-align: center; } .center .lead { margin: 0 auto; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(14px); transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.icon-badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* révélation au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* pied de page */
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--text); }
.legal { width: 100%; font-size: 12.5px; color: #6b7088; }

@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: rgba(6,7,12,.96); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .burger { display: grid; place-items: center; }
  section { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
