/*
 * Feuille de style des pages légales.
 *
 * Ces pages vivent hors de l'application React : Apple réclame une URL de
 * politique de confidentialité au moment du dépôt, et Google une page de
 * suppression de compte atteignable sans connexion. Toutes deux doivent donc
 * s'afficher sans que rien ne se charge — pas de bundle, pas d'authentification,
 * pas même de JavaScript.
 *
 * Les couleurs reprennent les jetons de `tailwind.config.js` à la main, pour la
 * même raison : faire passer Tailwind sur ces fichiers les rendrait dépendants
 * du build, et une page légale doit rester lisible même si le build casse.
 */

:root {
  --fond: #09090b;
  --fond-carte: rgba(24, 24, 27, 0.6);
  --bord: rgba(255, 255, 255, 0.07);
  --texte: #fafafa;
  --texte-doux: #a1a1aa;
  --texte-faible: #71717a;
  --accent: #38bdf8;
  --alerte: #f87171;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  /* 16 px de gouttière : ces pages se lisent surtout depuis un téléphone,
     ouvertes depuis la fiche du store. */
  padding: 2.5rem 1rem 5rem;
}

header.marque {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

header.marque svg { width: 2.25rem; height: 2.25rem; flex: none; }

header.marque .nom {
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

h1 {
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.85rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 0.4rem;
}

h2 {
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bord);
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.5rem 0 0.4rem;
}

.maj {
  color: var(--texte-faible);
  font-size: 0.8rem;
  margin: 0 0 2rem;
}

p, li { color: var(--texte-doux); }
li { margin-bottom: 0.35rem; }
ul { padding-left: 1.15rem; }

strong { color: var(--texte); font-weight: 600; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

.carte {
  background: var(--fond-carte);
  border: 1px solid var(--bord);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}

.carte p:first-child { margin-top: 0; }
.carte p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--bord);
}

th { color: var(--texte); font-weight: 600; }
td { color: var(--texte-doux); }

.retour {
  display: inline-block;
  margin-top: 3rem;
  color: var(--texte-faible);
  font-size: 0.85rem;
  text-decoration: none;
}

.retour:hover { color: var(--texte); }

nav.liens {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bord);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

nav.liens a { color: var(--texte-faible); text-decoration: none; }
nav.liens a:hover { color: var(--texte); }

@media (max-width: 480px) {
  h1 { font-size: 1.55rem; }
  .page { padding-top: 1.75rem; }
}
