/* =========================================================================
   RESET — remise à zéro minimale des styles par défaut du navigateur.
   Ne contient aucune décision de design : tout est dans tokens.css.
   ========================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Les médias ne débordent jamais de leur conteneur. */
img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

svg {
  height: auto;
}

/* Les champs de formulaire héritent de la typographie du site. */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* Évite les mots coupés bizarrement sur les titres longs (catalan, espagnol). */
h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
  overflow-wrap: break-word;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  border-collapse: collapse;
}

/* Masqué à l'œil mais lu par les lecteurs d'écran. */
.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
