/* Minimal reset — box-model + antialiasing */

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

* {
	margin: 0;
}

body {
	-webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* Focus visible — RGAA 10.7
 * Outline blanc sur fond sombre (header brand), outline brand sur fond clair.
 * :focus (sans :focus-visible) est volontairement absent — le navigateur
 * ajoute son propre style au clic souris qui interfère avec le design.
 */

:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

/* Header buttons sit on dark brand bg — white outline is more visible */
.portail-header :focus-visible {
	outline-color: #fff;
}
