/* ===============================
   RESET CSS - version moderne
   =============================== */

/* 1. Box-sizing universel */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Suppression des marges/paddings par défaut */
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li,
figure, blockquote,
dl, dd {
  margin: 0;
  padding: 0;
}

/* 3. Corps de base */
html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%; /* ⛔️ zoom auto sur iOS */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.5;
  background-color: var(--color-bg);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 4. Listes sans puces par défaut */
/* ul,
ol {
  list-style: none;
} */

/* 5. Liens sans soulignement par défaut */
a {
  text-decoration: none;
  color: inherit;
}

/* 6. Images et médias fluides */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 7. Champs de formulaire propres */
input,
button,
textarea,
select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* 8. Boutons cliquables */
button {
  cursor: pointer;
}

/* 9. Titres = police en gras par défaut */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

/* 10. Tables sans styles parasites */
table {
  border-collapse: collapse;
  width: 100%;
}
