/* Reset CSS moderne pour annuler les styles par défaut des navigateurs */

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

/* Marges et padding */
* {
    margin: 0;
    padding: 0;
}

/* Hauteur de ligne et amélioration du rendu */
html {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Éléments média */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Formulaires */
input,
button,
textarea,
select {
    font: inherit;
}

/* Typographie */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* Listes */
ul,
ol {
    list-style: none;
}

/* Liens */
a {
    text-decoration: none;
    color: inherit;
}

/* Boutons */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Tableaux */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Body */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
}

/* Suppression des styles par défaut sur certains éléments HTML5 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
