/* ==========================================
   RESET CSS
   Base neutre pour tous les navigateurs
   ========================================== */

/* Box sizing global */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reset marges et paddings */
* {
  margin: 0;
  padding: 0;
}

/* Scroll fluide */
html {
  scroll-behavior: smooth;
}

/* Base body */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Médias responsives */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Héritage des polices */
input,
button,
textarea,
select {
  font: inherit;
}

/* Liens propres */
a {
  text-decoration: none;
  color: inherit;
}

/* Listes sans puces */
ul,
ol {
  list-style: none;
}

/* Boutons propres */
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* Titres plus élégants */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
}

/* Evite les débordements texte */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
