/* ============================================
   ALGORIS IT — reset.css
   Remise à zéro propre des styles navigateur.
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

/* Desktop only — smooth scroll. Disabled on touch
   because it conflicts with address bar transitions */
@media (pointer: fine) {
  html { scroll-behavior: smooth; }
}

body {
  min-height: var(--vh-stable, 100svh);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  line-height: 1.1;
}

p {
  line-height: 1.7;
}

/* Supprime les animations pour les utilisateurs qui le préfèrent */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}