/* EURAIA — jetons de marque (univers « Atelier »).
   Encre #17140F · Vélin #F2EDE3 · Laiton #A9843A · Cire #A3301C (clair) / #E8876F (sombre)
   Marcellus (titres) · Instrument Sans (texte) · JetBrains Mono (cotes, données) */

:root {
  --encre: #17140F;
  --velin: #F2EDE3;
  --laiton: #A9843A;
  --cire-clair: #A3301C;
  --cire-sombre: #E8876F;

  --font-titre: 'Marcellus', 'Times New Roman', serif;
  --font-texte: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* Thème clair (vélin) */
  --bg: #F2EDE3;
  --surface: #FAF7F0;
  --surface-2: #ECE5D6;
  --ligne: #DDD5C5;
  --ligne-forte: #C9BEA8;
  --texte: #17140F;
  --texte-2: #3D382F;
  --texte-3: #5A5347;
  --accent: #A3301C;
  --accent-texte: #FFFFFF;
  --laiton-texte: #7A5E22;
  --trame: rgba(169, 132, 58, 0.10);
  --ok: #2F5D4A;
  --attention: #8A5A0C;
  --critique: #A3301C;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--texte);
  font-family: var(--font-texte);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .titre {
  font-family: var(--font-titre);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
}

.mono { font-family: var(--font-mono); }

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo svg { flex-shrink: 0; }
.logo-mot { font-family: var(--font-titre); letter-spacing: 0.1em; font-size: 20px; }
