/**
 * Homepage — raízes.
 */

 .utf-roots {
	position: relative;
	padding: var(--utf-section-spacing) 0;
	background-color: var(--utf-dark);
	background-image: var(--utf-roots-bg, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
}

.utf-roots::before,
.utf-roots::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	z-index: 0;
	pointer-events: none;
}

/* Overlay inferior: #50352A sólido em baixo → transparente */
.utf-roots::before {
	bottom: 0;
	height: min(320px, 50vh);
	background: linear-gradient(to top, #3e2b23 0%, rgba(80, 53, 42, 0) 100%);
}

/* Overlay superior: #50352A sólido em cima → transparente */
.utf-roots::after {
	top: 0;
	height: min(320px, 50vh);
	background: linear-gradient(to bottom, #3e2b23 0%, rgba(80, 53, 42, 0) 100%);
}

.utf-roots__inner {
	position: relative;
	z-index: 1;
}

.utf-roots__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 48%);
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}

.utf-roots__subtitle {
	margin: 0 0 1.25rem;
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: rgba(255, 255, 255, 0.75);
}

.utf-roots__title {
	display: flex;
	flex-direction: column;
	margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}

.utf-roots__title-line {
	white-space: nowrap;
}

.utf-roots__text {
	max-width: 52ch;
}

.utf-roots__text p {
	margin: 0 0 1.25rem;
	font-size: clamp(0.9rem, 1.4vw, 1rem);
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.82);
}

.utf-roots__text p:last-child {
	margin-bottom: 0;
}

.utf-roots__stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
	padding: 0;
	list-style: none;
}

.utf-roots__stat-value {
	font-size: clamp(1.75rem, calc(2.5vw + 0.75rem), 2.5rem);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	color: var(--utf-accent);
}

.utf-roots__stat-label {
	font-size: clamp(0.85rem, 1.2vw, 0.95rem);
	color: rgba(255, 255, 255, 0.8);
}

.utf-roots__media {
	margin: 0;
	max-width: min(640px, 100%);
	aspect-ratio: 1;
}

.utf-roots__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 999px) {
	.utf-roots__grid {
		grid-template-columns: 1fr;
	}

	.utf-roots__media {
		max-width: min(520px, 100%);
		margin-inline: auto;
	}
}
