.home-hero {
	--home-hero-title-color: #fff;
	--home-hero-outline-color: rgba(0, 0, 0, .7);
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	width: 100%;
	min-height: clamp(240px, 30vw, 390px);
	margin-top: 0;
	overflow: hidden;
	background: #23272b;
}

/* Le contenu principal chevauche le bas du visuel d'accueil.
   Son contour et son ombre doivent rester visibles devant le header. */
.home-hero + .main {
	position: relative;
	z-index: 1;
}

.home-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	display: block;
	object-fit: cover;
	object-position: center;
}

.home-hero__content {
	width: min(92%, 1100px);
	padding: clamp(2rem, 6vw, 5rem) 1rem;
	text-align: center;
}

.home-hero__title {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	padding: .22em .65em .28em;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .2) 48%, rgba(0, 0, 0, .08) 68%, transparent 82%);
	color: var(--home-hero-title-color);
	font-size: clamp(2rem, 6vw, 5.75rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.025em;
	text-wrap: balance;
	text-shadow: 0 .035em .09em rgba(0, 0, 0, .55);
}

.home-hero__subtitle {
	display: table;
	max-width: 70ch;
	margin: clamp(.65rem, 1.5vw, 1rem) auto 0;
	padding: .45em .9em;
	border-radius: 999px;
	background: rgba(0, 0, 0, .38);
	box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .16);
	color: var(--home-hero-title-color);
	font-size: clamp(.95rem, 1.45vw, 1.35rem);
	font-weight: 600;
	line-height: 1.4;
	text-wrap: balance;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

@media (max-width: 575.98px) {
	.home-hero {
		min-height: clamp(240px, 62vw, 320px);
	}

	.home-hero__content {
		width: 100%;
		padding-inline: 1.25rem;
	}

	.home-hero__subtitle {
		border-radius: .8rem;
	}
}
