/* ===========================================================
 * Hero (parts/hero.php) — bandeau image + titre + sous-titre
 * Réutilisable sur tout template qui inclut parts/hero.
 * La couleur du texte est pilotée par --hero-text-color
 * (défini en inline depuis le PHP : var(--vert1) ou var(--wh)).
 * =========================================================== */

.hero {
	position: relative;
	border-radius: var(--r10);
	overflow: hidden;
	aspect-ratio: 1228 / 400;
	background: var(--vert1);
	margin-bottom: var(--g29);
}
.hero .hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 0;
}
.hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--g20);
	padding: var(--g24);
	text-align: center;
	z-index: 1;
	color: var(--hero-text-color, var(--wh));
}
/* Surcharge .page_title (couleur dynamique, centré, sans margin, responsive) */
.hero__title {
	color: inherit;
	text-align: center;
	margin-bottom: 0;
	line-height: .9;
	font-size: clamp(2rem, 4vw, 50px);
	max-width: 70%;
}
.hero__subtitle {
	font-size: 14px;
	letter-spacing: 10%;
	text-transform: uppercase;
	line-height: 1.5;
	margin: 0;
	max-width: 606px;
	color: inherit;
}

@media (max-width: 680px) {
	.hero {
		padding: 76px 0 116px;
	}
	.hero__title {
		max-width: 90%;
	}
}
