/* ============================================================
   reset.css - normalisation des styles par défaut du navigateur.
   Ne contient aucune décision de design : ni couleur, ni taille.
   Ce fichier n'a pas à être modifié pour réhabiller un site.
   ============================================================ */

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

* {
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	min-height: 100svh;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
	text-wrap: balance;
}

p,
li,
figcaption,
dd,
dt {
	text-wrap: pretty;
}

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

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

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

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

a {
	color: inherit;
	text-decoration-skip-ink: auto;
}

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

hr {
	border: none;
	border-block-start-width: 1px;
	border-block-start-style: solid;
}

:target {
	scroll-margin-block-start: 5rem;
}

/* Respect strict des préférences système : aucune animation imposée. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
