html,
body.tc-hero-page {
	margin: 0;
	padding: 0;
	height: 100%;
	background: #283726;
}

.tc-hero {
	position: relative;
	width: 100vw;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tc-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: blur( 38px ) brightness( 0.62 ) saturate( 1.15 );
	transform: scale( 1.15 );
	transition: filter 0.6s ease, transform 0.6s ease, opacity 0.6s ease;
}

.tc-hero__stage {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.8rem;
	padding: 2rem 1.25rem;
	box-sizing: border-box;
	transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

/* Cadre : taille plafonnée proche de la résolution native de la vidéo (1024 px) pour rester net. */
.tc-hero__frame {
	width: min( 100%, 1024px, calc( ( 100vh - 12rem ) * 16 / 9 ) );
	aspect-ratio: 16 / 9;
	border-radius: 24px;
	overflow: hidden;
	background: #283726;
	border: 1px solid rgba( 253, 251, 247, 0.35 );
	box-shadow: 0 24px 70px rgba( 0, 0, 0, 0.45 );
}

.tc-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tc-hero__content {
	position: relative;
	z-index: 2;
	transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.tc-hero--leaving .tc-hero__bg {
	opacity: 0.9;
}

.tc-hero--leaving .tc-hero__stage {
	filter: blur( 6px );
	opacity: 0;
	transform: scale( 0.97 );
}

.tc-hero__btn {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-size: 1.15rem;
	letter-spacing: 0.03em;
	color: #283726;
	background: rgba( 253, 251, 247, 0.82 );
	border: 1px solid rgba( 126, 155, 115, 0.65 );
	padding: 1.1em 2.8em;
	border-radius: 999px;
	text-decoration: none;
	display: inline-block;
	backdrop-filter: blur( 6px );
	-webkit-backdrop-filter: blur( 6px );
	box-shadow: 0 8px 30px rgba( 40, 55, 38, 0.18 );
	animation: tc-float 4s ease-in-out infinite;
	transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.tc-hero__btn:hover,
.tc-hero__btn:focus-visible {
	transform: translateY( -3px ) scale( 1.03 );
	background: rgba( 253, 251, 247, 0.95 );
	color: #283726;
	box-shadow: 0 12px 36px rgba( 40, 55, 38, 0.26 );
}

@keyframes tc-float {
	0%,
	100% {
		transform: translateY( 0 );
	}
	50% {
		transform: translateY( -6px );
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.tc-hero__btn {
		animation: none;
	}
}

@media ( max-width: 600px ) {
	.tc-hero__btn {
		font-size: 1rem;
		padding: 0.9em 2.1em;
	}
}
