/* Reset et typographie. Tout est en rem pour que « Agrandir le texte » fonctionne. */
*, *::before, *::after { box-sizing: border-box; }

/* Texte agrandi par défaut (public âgé / malvoyant) : tout est en rem, donc tout suit. */
html { font-size: 125%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--font-texte);
  font-size: 1.1875rem; /* 19 px */
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-titre);
  line-height: 1.2;
  margin: 0 0 var(--esp-2);
}
h1 { font-weight: 700; font-size: 2.25rem; }
h2 { font-weight: 600; font-size: 1.5rem; }
h3 { font-weight: 600; font-size: 1.2rem; }

p { margin: 0 0 var(--esp-2); }
a { color: var(--turquoise-fonce); }

img, svg, canvas, video { max-width: 100%; }

:focus-visible {
  outline: 4px solid var(--turquoise);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--turquoise); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--rayon-pilule); z-index: 10; text-decoration: none;
}
.lien-evitement:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
