:root {
  --bg: #0b0c0f;
  --ink: #eceef2;
  --ink-dim: rgba(236, 238, 242, 0.62);
  --ink-faint: rgba(236, 238, 242, 0.36);
  --accent: #f0c27a;
  --accent-ink: #231805;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-hi: rgba(255, 255, 255, 0.085);
  --edge: rgba(255, 255, 255, 0.1);
  --edge-top: rgba(255, 255, 255, 0.22);
  --spring: cubic-bezier(0.22, 1.25, 0.36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 450 17px/1.55 -apple-system, "SF Pro Text", "Segoe UI Variable", system-ui, sans-serif;
  letter-spacing: -0.012em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-weight: 680; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }

.stage { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.g1 { width: 60vw; height: 60vw; left: -10vw; top: -30vw; background: radial-gradient(circle, rgba(240, 194, 122, 0.32), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 50vw; height: 50vw; right: -15vw; top: 30vh; background: radial-gradient(circle, rgba(120, 140, 190, 0.28), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(6vw, 4vh) scale(1.08); } }

.glass {
  background: linear-gradient(180deg, var(--glass-hi), var(--glass));
  border: 1px solid var(--edge); border-top-color: var(--edge-top);
  backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 48px -28px rgba(0, 0, 0, 0.85);
}

.nav {
  position: sticky; top: 14px; z-index: 10; margin: 14px auto 0; width: min(1080px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 680; text-decoration: none; }
.brand img { border-radius: 7px; }
.links { display: flex; gap: 26px; font-size: 15px; }
.links a { text-decoration: none; color: var(--ink-dim); transition: color 0.2s; }
.links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 640; font-size: 16px;
  padding: 14px 22px; border-radius: 15px; color: var(--accent-ink);
  background: linear-gradient(180deg, #ffd99a, var(--accent));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 12px 30px -12px rgba(240, 194, 122, 0.6);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 18px 36px -12px rgba(240, 194, 122, 0.7); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn.ghost { color: var(--ink); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--edge); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn.small { padding: 9px 16px; font-size: 14px; border-radius: 12px; }

main { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding: 96px 0 72px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); }
.hero h1 span { color: var(--ink-faint); }
.lede { color: var(--ink-dim); font-size: 19px; margin: 22px 0 0; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--ink-faint); }
.hero-art { margin: 0; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.cursor, .beam { transition: transform 0.5s var(--spring); }
.phone { animation: aim 6s ease-in-out infinite; transform-box: fill-box; }
@keyframes aim { 50% { translate: 0 -6px; } }

.section { padding: 72px 0; }
.section > h2 { font-size: clamp(30px, 3.6vw, 42px); max-width: 18em; margin-bottom: 36px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 26px; border-radius: 24px; transition: transform 0.4s var(--spring), border-color 0.3s; }
.feature:hover { transform: translateY(-3px); border-color: rgba(240, 194, 122, 0.3); }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; margin: 18px 0 8px; }
.feature p { margin: 0; color: var(--ink-dim); font-size: 15.5px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 26px; border-radius: 24px; }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-weight: 700; color: var(--accent-ink); background: linear-gradient(180deg, #ffd99a, var(--accent)); }
.steps h3 { font-size: 19px; margin: 18px 0 8px; }
.steps p { margin: 0; color: var(--ink-dim); font-size: 15.5px; }

.privacy { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 48px; border-radius: 32px; margin: 72px 0; }
.privacy h2 { font-size: clamp(30px, 3.6vw, 42px); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-dim); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 7px; background: rgba(240, 194, 122, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23f0c27a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks b { color: var(--ink); font-weight: 620; }

.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-faint); font-weight: 400; font-size: 22px; line-height: 1; transition: transform 0.3s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink-dim); font-size: 16px; }

.final { text-align: center; padding: 96px 0 120px; }
.final h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 0 auto 28px; }

.footer { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 40px; display: flex; justify-content: space-between; color: var(--ink-faint); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s var(--spring); }
.reveal.seen { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 24px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .privacy { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .privacy { padding: 26px 22px; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Sélecteur de langue */
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--edge); }
.lang a { padding: 5px 9px; border-radius: 8px; font-size: 12.5px; font-weight: 640; letter-spacing: 0.04em; text-decoration: none; color: var(--ink-faint); transition: color 0.2s, background 0.2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--ink); background: rgba(255, 255, 255, 0.1); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset; }
