.cover-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: var(--cor-destaque-secundaria);
	color: var(--cor-fundo-secundario);
}

.cover-hero__picture {
	display: contents;
}

.cover-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cover-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.cover-hero__container {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--spacing-xl);
	width: 100%;
	padding-top: 80px;
	padding-bottom: 36px;
}

.cover-hero--align-start .cover-hero__container {
	justify-content: flex-start;
}

.cover-hero--align-center .cover-hero__content {
	margin-top: auto;
}

/* Conteúdo livre (eyebrow, H1 e texto pré-montados no template). */
.cover-hero__content>*:last-child {
	margin-bottom: 0;
}

.cover-hero__content h1,
.cover-hero__content h2 {
	margin: 4px 0 0;
	font-family: var(--font-1);
	font-size: clamp(2rem, 4.4vw, var(--fs-1));
	font-weight: 500;
	line-height: 1.08;
	color: var(--cor-fundo-secundario);
}

.cover-hero__content .act-eyebrow {
	letter-spacing: 0.14em;
	color: var(--cor-secundaria);
}

.cover-hero__content .act-eyebrow sub {
	color: var(--cor-extra-secundaria);
}

.cover-hero__content p:not(.act-eyebrow) {
	max-width: 636px;
	margin-top: var(--spacing-md);
	font-size: var(--fs-4);
	line-height: 1.6;
	color: var(--cor-fundo-secundario);
}

/* Faixa de números */
.cover-hero__stats {
	display: grid;
	grid-template-columns: repeat(var(--act-hero-stats, 4), minmax(0, 1fr));
	gap: var(--spacing-md);
	margin-top: auto;
}

.cover-hero--align-center .cover-hero__content {
	margin-bottom: var(--spacing-lg);
}

.cover-hero__stat {
	position: relative;
	min-width: 0;
	padding: 0 16px;
}

.cover-hero__stat-value {
	display: block;
	font-family: var(--font-1);
	font-size: 36px;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	color: var(--cor-secundaria);
}

.cover-hero__stat-label {
	display: block;
	margin-top: 8px;
	font-family: var(--font-2);
	font-size: 10.5px;
	line-height: 1.6;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--cor-fundo-secundario);
}

@media (max-width: 991px) {
	.cover-hero__stats {
		grid-template-columns: repeat(min(var(--act-hero-stats, 4), 2), minmax(0, 1fr));
		row-gap: var(--spacing-lg);
	}

	.cover-hero__container {
		padding-top: 56px;
	}
}

@media (max-width: 480px) {
	.cover-hero__stat-value {
		font-size: 28px;
	}
}

/* Editor */
.cover-hero-add-stat {
	margin-top: var(--spacing-sm);
}
