/* Reset CSS classique */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Marges et padding */
* {
  margin: 0;
  padding: 0;
}

/* HTML et body */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* Listes */
ul, ol {
  list-style: none;
}

/* Liens */
a {
  text-decoration: none;
  color: inherit;
}

/* Images et médias */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Formulaires */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Tableaux */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Autres éléments */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

/* Empêcher le débordement de texte */
p,
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Accessibilité */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}