/* Couleurs et éléments communs à toutes les pages (mode clair uniquement). */
:root {
  --bg: #f1f0ef;
  --line: #e3e1de;
  --ink: #1f1f1f;
  --muted: #6f6c68;
  --faint: #9a968f;
  --white: #ffffff;
  --black: #000000;
  --accent: #d9682b;
  --accent-hover: #c85b20;
  --accent-soft: #fbeadf;
  --ok: #2f7a50;
  --ok-soft: #e4f1e9;
  --danger: #b3261e;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(31, 31, 31, .04), 0 8px 28px rgba(31, 31, 31, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; }

/* Bouton FR/EN, en haut à droite */
.lang {
  position: absolute; top: 16px; right: 16px; z-index: 20;
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font-size: 12px; font-weight: 650; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; color: var(--muted);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.note {
  margin: 0; text-align: center; font-size: 11.5px; line-height: 1.45; color: var(--faint);
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
