/* ==================================================
SECTION / PAGE HEADINGS
================================================== */
.section-heading {
	display: fit-content;
	width: fit-content;
	margin: 0;
	font-family: var(--wp--preset--font-family--geist);
	font-weight: 900;
	line-height: 0.95;
	text-transform: uppercase;
	color: inherit;
}

/* Trait = largeur exacte du titre */
.section-heading::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 16px;
	background: currentColor;
}

.section-heading {
	opacity: 0;
	transform: translateY(16px);
	transition:
	opacity 500ms ease,
	transform 600ms cubic-bezier(.2, .8, .2, 1);
}

.section-heading::after {
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 600ms cubic-bezier(.2, .8, .2, 1) 180ms;
}

.section-heading.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.section-heading.is-visible::after {
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.section-heading {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.section-heading::after {
		transform: none;
		transition: none;
	}

}

/* ==================================================
MOBILE
================================================== */
@media (max-width: 782px) {
	.section-heading {
		line-height: 1;
	}

	.section-heading::after {
		margin-top: 12px;
	}

}
