/*
  Feuille des pages juridiques.
  Reprend les jetons de la vitrine, en colonne de lecture plutôt qu'en page
  de vente : un texte qu'on doit pouvoir relire ne se met pas en scène.
*/
:root {
  --rose-200: #FFC2D3; --rose-300: #FF93B1; --rose-400: #FF5E8A;
  --rose-500: #E23E6B; --gold-300: #FFC24B; --violet-400: #8B6FEE;
  --ink: #160B14; --ink-raised: #23121F; --ink-line: rgba(255,194,211,.14);
  --text: #FDFBFC; --text-soft: #C9B8C4; --text-faint: #8D8190;
  --gutter: 16px;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.72; -webkit-font-smoothing: antialiased;
}
a { color: var(--rose-200); }
a:hover { color: var(--rose-300); }

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); background: rgba(22,11,20,.8);
  border-bottom: 1px solid var(--ink-line);
}
.nav__inner {
  max-width: 820px; margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { width: 26px; height: 26px; display: block; }
.brand span { font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.nav a.back { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-soft); }
.nav a.back:hover { color: var(--rose-200); }

main { max-width: 820px; margin: 0 auto; padding: 48px var(--gutter) 88px; }

h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 800; }
.updated { color: var(--text-faint); font-size: 14px; margin: 0 0 8px; }
.lede { color: var(--text-soft); font-size: 18px; margin: 0 0 40px; }

h2 {
  font-size: 23px; font-weight: 800; letter-spacing: -.01em;
  margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--ink-line);
  scroll-margin-top: 80px;
}
h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }
strong { color: var(--text); font-weight: 700; }

/* Sommaire */
.toc {
  background: var(--ink-raised); border: 1px solid var(--ink-line);
  border-radius: 18px; padding: 22px 26px; margin-bottom: 8px;
}
.toc p { font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--text-faint); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 5px; font-size: 15px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Encadré : ce qui mérite d'être lu même en diagonale. */
.note {
  background: linear-gradient(135deg, rgba(245,166,35,.12), rgba(226,62,107,.1));
  border: 1px solid rgba(245,166,35,.32);
  border-radius: 18px; padding: 20px 24px; margin: 24px 0;
}
.note p:last-child { margin-bottom: 0; }

table {
  width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px;
  display: block; overflow-x: auto;
}
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink-line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); font-weight: 700; }
td { color: var(--text-soft); }
td:first-child { color: var(--text); font-weight: 600; }

footer {
  border-top: 1px solid var(--ink-line); padding: 30px 0 44px;
  font-size: 14px; color: var(--text-faint);
}
.footer__inner {
  max-width: 820px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
}
footer a { text-decoration: none; color: var(--text-faint); }
footer a:hover { color: var(--rose-200); }
