@font-face {
  font-family: "Anton";
  src: url("fonts/anton.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #0B0C10;
  --bg-2: #13151C;
  --ink: #F4F5F8;
  --muted: #9BA1B3;
  --blue: #2F55FF;
  --blue-2: #5B7CFF;
  --paper: #F1EEE6;
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
/* clip (pas hidden) : coupe le bandeau incliné sans casser le header sticky */
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
.accent { color: var(--blue-2); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(11, 12, 16, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font: 26px/1 var(--display); letter-spacing: .04em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--blue); color: #fff;
  font-weight: 700; text-decoration: none;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .2s;
}
.btn:hover { background: #2447E6; transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn-sm { padding: 9px 20px; font-size: 15px; }
.btn-lg { padding: 18px 32px; font-size: 19px; }
.btn-invert { background: var(--ink); color: var(--bg); }
.btn-invert:hover { background: #fff; }

/* Kinetic lines: each line slides up from behind a mask */
/* padding-top laisse de la place aux accents (È, Ê) sous le masque */
.line { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.in .line > span, .hero-title.in .line > span { transform: none; }
.line:nth-child(2) > span { transition-delay: .12s; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Hero */
.hero {
  padding: clamp(48px, 10vh, 120px) var(--gutter) 0;
  text-align: center;
  position: relative;
}
.kicker {
  display: inline-block; margin: 0 0 20px;
  font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-2);
}
.hero-title {
  font: clamp(64px, 15vw, 220px)/.9 var(--display);
  letter-spacing: .005em;
}
.lead { max-width: 620px; margin: 28px auto 0; font-size: clamp(17px, 2vw, 21px); color: var(--muted); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 36px; }
.alt-dl { display: flex; gap: 14px; color: var(--muted); font-size: 15px; }
.alt-dl a { font-weight: 700; color: var(--ink); }
.hero-shot {
  margin: 64px auto 0; max-width: 880px;
  position: relative;
}
.hero-shot::before {
  content: ""; position: absolute; inset: 12% -6% -6% -6%;
  background: var(--blue); border-radius: 28px; z-index: -1;
  transform: rotate(-3deg);
}
.hero-shot img { border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.hero-shot.reveal { transform: translateY(80px); transition-duration: 1.2s; }
.hero-shot.reveal.in { transform: none; }

/* Marquees */
.marquee { overflow: hidden; white-space: nowrap; padding: 18px 0; margin-top: 96px; }
.marquee-blue { background: var(--blue); color: #fff; transform: rotate(-2deg) scale(1.05); }
.marquee-light { background: var(--paper); color: var(--bg); margin-top: 0; }
.track { display: inline-flex; animation: scroll 40s linear infinite; }
.track.reverse { animation-direction: reverse; }
.track span { font: clamp(28px, 4vw, 52px)/1 var(--display); letter-spacing: .02em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Showcases */
.showcases { padding: 120px var(--gutter) 140px; display: grid; gap: clamp(96px, 14vw, 180px); }
.show {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px);
  align-items: center; max-width: 1280px; margin: 0 auto; width: 100%;
}
.show.flip .show-text { order: 2; }
.num { display: block; font: 20px/1 var(--display); color: var(--blue-2); margin-bottom: 14px; letter-spacing: .1em; }
.big { font: clamp(52px, 8vw, 120px)/.92 var(--display); }
.show-text p { color: var(--muted); font-size: 19px; max-width: 460px; margin: 24px 0 0; }
.show-img { margin: 0; position: relative; }
.show-img img {
  border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateX(60px) rotate(2deg);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.show.flip .show-img img { transform: translateX(-60px) rotate(-2deg); }
.show.in .show-img img { opacity: 1; transform: none; }
.show-img::after {
  content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1;
  right: -4%; bottom: -8%; border-radius: 24px; background: var(--blue);
  transform: scale(.6); opacity: 0; transition: transform 1.1s var(--ease) .15s, opacity .6s;
}
.show.flip .show-img::after { right: auto; left: -4%; background: var(--paper); }
.show.in .show-img::after { transform: none; opacity: 1; }

/* Section titles */
.section-title { font: clamp(48px, 9vw, 130px)/.92 var(--display); margin-bottom: 56px; }

/* Feature list */
.features { padding: 140px var(--gutter); max-width: 1280px; margin: 0 auto; }
.feature-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  border-top: 2px solid var(--ink);
}
.feature-list li { padding: 28px 24px 32px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.feature-list h3 { font: 30px/1 var(--display); letter-spacing: .01em; margin-bottom: 10px; }
.feature-list p { margin: 0; color: var(--muted); }
.feature-list li:nth-child(3n+2) { transition-delay: .08s; }
.feature-list li:nth-child(3n) { transition-delay: .16s; }

/* FAQ */
.faq { padding: 0 var(--gutter) 140px; max-width: 1000px; margin: 0 auto; }
.faq-list { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid rgba(255, 255, 255, .12); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; font-size: 21px; font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font: 36px/1 var(--display); color: var(--blue-2);
  transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 24px; color: var(--muted); max-width: 720px; }

/* Final CTA */
.final {
  background: var(--blue); text-align: center;
  padding: clamp(80px, 14vw, 160px) var(--gutter);
}
.mega { font: clamp(110px, 28vw, 380px)/.85 var(--display); }
.final .accent { color: var(--bg); }
.final .btn { margin-top: 32px; }

/* Footer */
.foot {
  padding: 48px var(--gutter);
  display: grid; gap: 8px; justify-items: start;
  color: var(--muted); font-size: 15px;
}
.foot .brand { color: var(--ink); margin-bottom: 8px; }
.foot p { margin: 0; }
.foot .muted { opacity: .75; }

/* Legal pages */
.legal-hero {
  padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(64px, 8vw, 100px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(47, 85, 255, .18), transparent 42%),
    var(--bg);
}
.legal-title { font-size: clamp(58px, 11vw, 164px); }
.legal-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 32px;
}
.legal-badges span {
  padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, .04);
  font-size: 14px; font-weight: 700;
}
.legal-updated { margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.legal-layout {
  display: grid; grid-template-columns: 230px minmax(0, 780px);
  justify-content: center; align-items: start; gap: clamp(40px, 7vw, 100px);
  padding: 0 var(--gutter) 140px;
}
.legal-toc { position: sticky; top: 104px; border-top: 2px solid var(--ink); padding-top: 20px; }
.legal-toc-title { margin: 0 0 16px; font: 24px/1 var(--display); letter-spacing: .06em; }
.legal-toc nav { display: grid; gap: 10px; }
.legal-toc a { color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; transition: color .2s; }
.legal-toc a:hover { color: var(--blue-2); }
.legal-content { min-width: 0; }
.legal-section { padding: 48px 0 56px; border-top: 1px solid rgba(255, 255, 255, .15); scroll-margin-top: 90px; }
.legal-section:first-child { border-top: 2px solid var(--ink); }
.legal-section h2 { font: clamp(36px, 5vw, 62px)/1 var(--display); letter-spacing: .01em; margin-bottom: 28px; }
.legal-section h3 { margin: 32px 0 10px; font-size: 20px; line-height: 1.35; }
.legal-section p, .legal-section li { color: #C5C9D4; }
.legal-section p { margin: 0 0 18px; }
.legal-section ul, .legal-section ol { margin: 12px 0 24px; padding-left: 24px; }
.legal-section li { margin-bottom: 9px; padding-left: 5px; }
.legal-section li::marker { color: var(--blue-2); }
.legal-section code {
  padding: 2px 6px; border-radius: 5px; background: var(--bg-2);
  color: var(--ink); font-size: .86em; overflow-wrap: anywhere;
}
.legal-callout {
  position: relative; margin-top: 28px; padding: 24px 26px;
  background: var(--bg-2); border-left: 4px solid var(--blue-2); border-radius: 0 12px 12px 0;
}
.legal-callout strong { display: block; margin-bottom: 6px; color: var(--ink); }
.legal-callout p { margin: 0; }
.legal-warning { border-left-color: #F2B84B; }
.legal-table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.legal-table th, .legal-table td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.legal-table th { background: var(--blue); color: #fff; font-size: 14px; }
.legal-table td { color: #C5C9D4; }
.legal-table td:first-child { color: var(--ink); font-weight: 700; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-back { margin-top: 16px; padding: 13px 24px; }

/* Mobile */
@media (max-width: 820px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .show { grid-template-columns: 1fr; }
  .show.flip .show-text { order: 0; }
  .show-img::after { width: 40%; }
  .marquee { margin-top: 64px; }
  .showcases, .features { padding-top: 88px; padding-bottom: 96px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: 88px; }
  .legal-toc { position: static; }
  .legal-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-section { padding-top: 40px; }
}

@media (max-width: 480px) {
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-callout { padding: 20px; }
  .legal-badges { align-items: center; flex-direction: column; }
}

/* Reduced motion: everything visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .line > span, .show-img img, .show-img::after { opacity: 1 !important; transform: none !important; }
}
