/* 1. Box sizing global */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Marges et paddings à zéro */
* {
  margin: 0;
  padding: 0;
}

/* 3. Supprimer les décorations des liens */
a {
  text-decoration: none;
  color: inherit;
}

/* 4. Réinitialiser les listes */
ul,
ol {
  list-style: none;
}

/* 6. Assurer une largeur et hauteur pleine pour le html et le body */
html,
body {
  width: 100%;
  height: 100%;
}

/* 7. Supprimer les bordures par défaut des formulaires */
input,
button,
textarea,
select {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

/* 8. Supprimer les bordures et ajuster les boutons */
button {
  all: unset;
  cursor: pointer;
}

/* 9. Images et médias flexibles */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 10. Tableaux propres */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* 11. Réinitialiser les éléments de formulaire */
textarea {
  resize: none;
}

/* 12. Normalisation des scrollbars (optionnel) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
