/* Reset minimal + éléments de base
   ---------------------------------------------------------------------------
   Pas de breakpoint : styles identiques pour toutes largeurs d’écran.
   --------------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 2px;
}

video {
	max-width: 100%;
	height: auto;
	display: block;
}

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

a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Gras du panel (writer) — Medium plutôt que Bold (trop marqué) */
strong,
b {
	font-weight: 500;
}

/*
 * Évite les « mots orphelins » en fin de paragraphe (un seul mot sur la dernière ligne).
 * pretty = paragraphes / listes ; balance = titres sur plusieurs lignes.
 */
p,
li,
.service-tab-text,
.service-below-tabs__text,
.service-hero__text,
.a-propos-page__text,
.prestations__desc,
.hero-intro__title {
	text-wrap: pretty;
}

h1,
h2,
h3,
h4,
.service-hero__title,
.a-propos-page__title,
.prestations__title {
	text-wrap: balance;
}

.font-serif {
	font-family: var(--font-serif);
}

.font-sans {
	font-family: var(--font-sans);
}

/* ——— Accessibilité ——— */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
