/* reset.css — Golden Play France — remise à zéro minimale et moderne */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Filet de sécurité : le défilement horizontal ne doit JAMAIS s'appliquer
     à la page entière, uniquement à des conteneurs explicites comme
     .spec-table-wrap (voir global.css). Si un élément déborde malgré tout
     (bug futur, contenu imprévu), il est coupé ici plutôt que de rendre
     toute la page défilable horizontalement. */
  overflow-x: hidden;
  max-width: 100%;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul[role='list'], ol[role='list'] { list-style: none; }

html:focus-within { scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  text-rendering: optimizeSpeed;
  line-height: var(--lh-base, 1.35);
}

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

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

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

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

table {
  border-collapse: collapse;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
