/* =========================================================
   RESET minimal, respect des styles sémantiques par défaut
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-corps);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--texte-principal);
  background: var(--fond-clair);
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--bleu-nuit);
}

p {
  margin: 0 0 var(--space-sm);
}

ul, ol {
  padding-left: 1.25rem;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--bleu-principal);
  outline-offset: 3px;
  border-radius: 2px;
}
