/* ============================================================================
   legal.css : feuille de style partagée des 3 pages juridiques publiques
   (dogtraceid.fr/privacy, /terms, /legal) — LOT DOGTRACE PUBLIC LEGAL PAGES
   (29/09/2026).
   ----------------------------------------------------------------------------
   Tokens copiés depuis mobile/src/theme/colors.js (purple #6C4CF5,
   navy #0D1120) pour rester visuellement cohérent avec l'application —
   jamais réinventés. Polices Manrope (titres) / Inter (corps), identiques
   à celles utilisées dans l'app (mêmes familles Google Fonts), chargées ici
   depuis Google Fonts au lieu des packages @expo-google-fonts (pas de build
   JS ici, site statique).
   ============================================================================ */

:root {
  --purple: #6c4cf5;
  --purple-dark: #5636d6;
  --purple-tint: #f1edff;
  --navy: #0d1120;
  --muted: #6b7280;
  --line: #e7e9f3;
  --bg: #f6f6fb;
  --white: #ffffff;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
}

.brand span {
  color: var(--purple);
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--purple);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 12px;
}

h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}

.meta {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

section {
  margin: 0 0 32px;
}

h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 10px;
  scroll-margin-top: 24px;
}

section > p:first-of-type {
  margin-top: 0;
}

p {
  margin: 0 0 12px;
  max-width: 65ch;
}

strong {
  font-weight: 700;
}

ul {
  margin: 0 0 12px;
  padding-left: 22px;
  max-width: 65ch;
}

li {
  margin-bottom: 6px;
}

.callout {
  background: var(--purple-tint);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 12px;
  max-width: 65ch;
}

.callout p {
  margin: 0;
}

.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 40px;
}

.toc p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  columns: 2;
  column-gap: 24px;
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
}

.toc li {
  margin-bottom: 4px;
  break-inside: avoid;
}

.toc a {
  color: var(--navy);
  text-decoration: none;
}

.toc a:hover {
  color: var(--purple);
}

.identity-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
}

.identity-table tr {
  border-bottom: 1px solid var(--line);
}

.identity-table tr:last-child {
  border-bottom: none;
}

.identity-table th,
.identity-table td {
  text-align: left;
  padding: 10px 0;
  font-size: 14px;
  vertical-align: top;
}

.identity-table th {
  color: var(--muted);
  font-weight: 600;
  width: 40%;
}

.placeholder {
  background: var(--orange-bg, #fef3dc);
  color: #92610a;
  border: 1px dashed #f5a524;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-block;
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
}

footer .footer__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
}

@media (max-width: 480px) {
  .toc ol {
    columns: 1;
  }
}
