/* ============================================================
   RESET — base typographique et accessibilité
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.15;
  color: var(--c-black);
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
a { color: var(--c-blue-ink); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

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