/* Section Hero (template-parts/sections/hero.php) */

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100svh;
	overflow: hidden;
	background: var(--c-night);
	color: var(--c-cream);
	text-align: center;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 55% 50%;
}

/* Voile : lisibilité du logo et des textes sans éteindre la photo (plus claire que la précédente). */
.hero__veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at center, rgb(12 14 22 / 0.5), transparent 75%),
		linear-gradient(to bottom, rgb(12 14 22 / 0.55), rgb(12 14 22 / 0.25) 35%, rgb(12 14 22 / 0.3) 65%, rgb(12 14 22 / 0.78));
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
}

.hero__eyebrow {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(1.125rem, 2.4vw, 1.5rem);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-shadow: 0 1px 14px rgb(0 0 0 / 0.75);
}

.hero__title {
	margin: 2rem 0 0;
}

/* Le logo fourni a une marge intégrée autour du cercle ; taille plafonnée par la hauteur d'écran. */
.hero__logo {
	width: min(16rem, 44svh);
	height: auto;
}

@media (min-width: 40rem) {
	.hero__logo {
		width: min(20rem, 44svh);
	}
}

@media (min-width: 64rem) {
	.hero__logo {
		width: min(22rem, 44svh);
	}
}

.hero__tagline {
	max-width: 28rem;
	margin: 2rem 0 0;
	font-family: var(--f-serif);
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-style: italic;
	color: rgb(243 238 228 / 0.9);
	text-shadow: 0 1px 10px rgb(0 0 0 / 0.6);
}

.hero__positioning {
	margin: 1rem 0 0;
	font-size: 1rem;
	letter-spacing: 0.14em;
	color: rgb(243 238 228 / 0.92);
	text-shadow: 0 1px 10px rgb(0 0 0 / 0.7);
}

.hero__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-top: 2.5rem;
}

.hero__link {
	padding: 0.75rem 1.5rem;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	text-underline-offset: 0.5rem;
	color: rgb(243 238 228 / 0.85);
	text-shadow: 0 1px 10px rgb(0 0 0 / 0.6);
}

.hero__link:hover {
	color: var(--c-cream);
	text-decoration: underline;
}

@media (min-width: 40rem) {
	.hero__actions {
		flex-direction: row;
	}
}

.hero__scroll {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	display: none;
	transform: translateX(-50%);
	color: rgb(243 238 228 / 0.6);
	transition: color var(--dur) var(--ease-soft);
}

.hero__scroll:hover {
	color: var(--c-cream);
}

@media (min-width: 40rem) {
	.hero__scroll {
		display: block;
	}
}
