/*
 * Alternate — reset doux.
 * Objectif : neutraliser les incohérences des navigateurs sans écraser ce qu'Elementor gère.
 * Volontairement léger : pas d'opinion typographique ici (voir theme.css).
 */

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

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

/* On retire les marges par défaut ; le rythme vertical est posé dans theme.css. */
body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
	margin: 0;
}

body {
	min-height: 100vh;
	line-height: 1.6;
}

/* Médias fluides par défaut. */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Les champs de formulaire héritent de la typographie. */
input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

/* Évite les débordements de mots très longs. */
p,
h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}

ul,
ol {
	padding: 0;
}

a {
	color: inherit;
}

/* Respecte la préférence « réduire les animations ». */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
