/* Unload — site vitrine & pages legales.
   Tokens repris de app/constants/theme.ts : memes hex, memes familles
   (Outfit pour les titres, Geist pour le corps), meme orbe radiale que
   le splash (blanc -> #4f5bd5 -> #182170). */

:root {
  --background: #13142b;
  --background-deeper: #0b0c1d;
  --surface: #28296e;
  --navy: #4f5bd5;
  --navy-light: #b0b5ec;
  --text: #f1f2fc;
  --text-brand: #dcdef7;
  --stroke-blue: #b2b8f1;
  --coral: #ff6f91;
}

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

/* Fond UNI, et non plus un degrade.
   Le degrade allait de #13142b a #0b0c1d en passant par un violet
   plus clair au milieu : la couleur changeait le long de la page, et
   le bas virait au presque-noir. Un aplat de `--surface` tient le
   meme violet du haut jusqu'au pied.
   `background-attachment` a saute avec : il n'a aucun sens sur un
   aplat, et il coutait un repaint au defilement sur iOS. */
body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  color: var(--text-brand);
  background: var(--surface);
  min-height: 100vh;
  line-height: 1.7;
}

.orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #ffffff 0%, #4f5bd5 52%, #182170 100%);
  box-shadow: 0 0 64px 24px rgba(79, 91, 213, 0.45);
  animation: breathe 4.5s ease-in-out infinite;
}

.orb.small {
  width: 28px;
  height: 28px;
  box-shadow: 0 0 24px 8px rgba(79, 91, 213, 0.4);
  animation: none;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

header.site {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px clamp(24px, 6vw, 72px);
}

header.site a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
  letter-spacing: 0.3px;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px clamp(24px, 6vw, 40px) 96px;
}

.hero {
  text-align: center;
  padding: 8vh 0 10vh;
}

.hero .orb {
  width: 180px;
  height: 180px;
  margin: 0 auto 48px;
}

h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 6vw, 52px);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 18px;
}

.tagline {
  font-size: 19px;
  color: var(--navy-light);
  margin-bottom: 48px;
}

.hero .cta {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--background-deeper);
  background: linear-gradient(120deg, #f1f2fc, #b0b5ec);
  border-radius: 999px;
  padding: 16px 36px;
  text-decoration: none;
}

.hero .stores {
  margin-top: 20px;
  font-size: 14px;
  color: var(--navy-light);
}

h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin: 44px 0 14px;
}

h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin: 28px 0 10px;
}

p, li {
  color: var(--text-brand);
  margin-bottom: 12px;
}

ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

a {
  color: var(--stroke-blue);
}

/* Un voile CLAIR, plus le violet du fond.
   L'encart etait `rgba(40, 41, 110, .35)`, c'est-a-dire `--surface` a
   35 % : sur un fond devenu ce meme violet, il ne se voyait plus du
   tout. Un voile blanc tres faible le fait ressortir sans introduire
   une seconde couleur. */
.card {
  background: rgba(241, 242, 252, 0.07);
  border: 1px solid rgba(178, 184, 241, 0.25);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 22px 0;
}

.muted {
  color: var(--navy-light);
  font-size: 14px;
}

footer.site {
  border-top: 1px solid rgba(178, 184, 241, 0.18);
  margin-top: 48px;
  padding: 32px clamp(24px, 6vw, 72px) 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  font-size: 14px;
}

footer.site a {
  color: var(--navy-light);
  text-decoration: none;
}

footer.site a:hover {
  color: var(--text);
}

/* ── Selecteur de langue ──────────────────────────────────────────────
   Deux liens dans l'en-tete, pousses a droite. Le courant est marque
   `aria-current` : on le montre actif sans en faire un lien mort — il
   reste cliquable, ce qui evite le cas ou l'on croit avoir change de
   langue sans que rien ne bouge. */
.lang {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lang a {
  padding: 4px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: #b0b5ec;
}
.lang a[aria-current='true'] {
  color: #f1f2fc;
  background: rgba(241, 242, 252, 0.1);
}
.lang a:hover {
  color: #f1f2fc;
}
