/* WSEG — banner principal da Home e faixa de números */

.wh-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #062A0E;
	font-family: "Poppins", sans-serif;
	color: #FFFFFF;
}
.wh-slides { position: relative; display: grid; min-height: clamp(600px, calc(100svh - 120px), 780px); }
.wh-slide {
	position: relative; grid-area: 1 / 1; display: flex;
	opacity: 0; visibility: hidden;
	transition: opacity .9s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .9s;
}
.wh-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s cubic-bezier(.22, 1, .36, 1), visibility 0s; z-index: 1; }
.wh-bg {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: center;
	transform: scale(1.06); transition: transform 7s ease-out;
}
.wh-slide.is-active .wh-bg { transform: scale(1); }
.wh-hero img.wh-bg { width: 100% !important; height: 100% !important; max-width: none !important; border-radius: 0 !important; z-index: 0; }
/* película em degradê: escura à esquerda (onde fica o texto), clara à direita */
.wh-slide::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(4, 28, 10, .92) 0%, rgba(4, 28, 10, .78) 34%, rgba(4, 28, 10, .30) 64%, rgba(4, 28, 10, .10) 100%),
		linear-gradient(0deg, rgba(4, 28, 10, .55) 0%, rgba(4, 28, 10, 0) 38%);
}
.wh-inner {
	position: relative; z-index: 2; flex: 1; width: 100%;
	max-width: 1240px; margin: 0 auto; padding: 72px 24px 200px;
	display: flex; align-items: center;
}
.wh-content {
	max-width: 620px;
	opacity: 0; transform: translateY(18px);
	transition: opacity .7s ease .25s, transform .8s cubic-bezier(.22, 1, .36, 1) .25s;
}
.wh-slide.is-active .wh-content { opacity: 1; transform: none; }

.wh-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 22px; padding: 8px 16px 8px 12px;
	border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
	background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px);
	font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #FFFFFF;
}
.wh-dot { width: 8px; height: 8px; border-radius: 50%; background: #6BBF1A; box-shadow: 0 0 0 4px rgba(107, 191, 26, .25); }
.wh-title {
	margin: 0 0 20px !important; padding: 0;
	font-family: "Poppins", sans-serif !important; font-weight: 700 !important;
	font-size: clamp(38px, 4.6vw, 60px) !important; line-height: 1.06 !important; letter-spacing: -.025em !important;
	color: #FFFFFF !important; text-wrap: balance;
}
.wh-desc {
	margin: 0 0 34px !important; max-width: 52ch;
	font-size: clamp(16px, 1.35vw, 19px) !important; line-height: 1.65 !important; font-weight: 400;
	color: rgba(255, 255, 255, .88) !important;
}
.wh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
body .wh-btn, body .wh-btn:visited {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 28px; border-radius: 999px;
	font: 600 15px/1 "Poppins", sans-serif; letter-spacing: .01em; text-decoration: none;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}
body .wh-btn-primary { background: #6BBF1A; color: #062A0E; border: 1px solid #6BBF1A; }
body .wh-btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: #062A0E; transform: translateY(-2px); }
body .wh-btn-ghost { background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .55); }
body .wh-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #FFFFFF; color: #FFFFFF; transform: translateY(-2px); }

/* controles */
.wh-controls {
	position: absolute; z-index: 3; left: 50%; bottom: 120px; transform: translateX(-50%);
	width: 100%; max-width: 1240px; padding: 0 24px;
	display: flex; align-items: center; justify-content: flex-end; gap: 14px;
}
body .wh-hero button.wh-arrow {
	width: 44px; height: 44px; padding: 0; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .30); color: #FFFFFF;
	cursor: pointer; transition: background-color .2s ease, border-color .2s ease;
}
body .wh-hero button.wh-arrow:hover, body .wh-hero button.wh-arrow:focus-visible { background: #FFFFFF; color: #062A0E; border-color: #FFFFFF; }
.wh-dots { display: flex; gap: 8px; }
body .wh-hero button.wh-dot-btn {
	width: 26px; height: 6px; padding: 0; border: 0; border-radius: 6px;
	background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s ease, background-color .3s ease;
}
body .wh-hero button.wh-dot-btn.is-active { width: 44px; background: #6BBF1A; }
.wh-hero :where(a, button):focus-visible { outline: 3px solid #B9F27C; outline-offset: 3px; }

/* faixa de números */
.ws-stats { position: relative; z-index: 5; margin-top: -88px; padding: 0 24px; font-family: "Poppins", sans-serif; }
.ws-inner { max-width: 1192px; margin: 0 auto; }
.ws-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: #FFFFFF; border-radius: 20px; overflow: hidden;
	box-shadow: 0 24px 60px rgba(6, 42, 14, .18), 0 2px 6px rgba(6, 42, 14, .06);
}
.ws-item { padding: 30px 34px; position: relative; }
.ws-item + .ws-item::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: rgba(11, 90, 24, .14); }
.ws-num { margin: 0 0 6px !important; line-height: 1 !important; color: #0B5A18; }
.ws-num strong { font-size: clamp(34px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.03em; }
.ws-num span { font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; margin-left: 4px; }
.ws-label { margin: 0 !important; font-size: 14.5px !important; line-height: 1.5 !important; color: #4B5A4D !important; max-width: 30ch; }

/* ---------- celular: texto centralizado sobre a imagem ---------- */
@media (max-width: 767px) {
	.wh-slides { min-height: min(660px, calc(100svh - 72px)); }
	.wh-slide::after {
		background: linear-gradient(180deg, rgba(4, 28, 10, .50) 0%, rgba(4, 28, 10, .62) 45%, rgba(4, 28, 10, .85) 100%);
	}
	.wh-inner { padding: 48px 22px 132px; justify-content: center; text-align: center; }
	.wh-content { max-width: 440px; display: flex; flex-direction: column; align-items: center; }
	.wh-eyebrow { margin-bottom: 18px; font-size: 11.5px; letter-spacing: .14em; }
	.wh-title { font-size: clamp(30px, 8.6vw, 38px) !important; line-height: 1.12 !important; margin-bottom: 16px !important; }
	.wh-desc { font-size: 15.5px !important; line-height: 1.6 !important; margin-bottom: 28px !important; }
	.wh-actions { flex-direction: column; width: 100%; gap: 10px; }
	body .wh-btn { width: 100%; min-height: 50px; }
	.wh-controls { bottom: 64px; justify-content: center; }
	body .wh-hero button.wh-arrow { display: none; }

	.ws-stats { margin-top: -40px; padding: 0 20px; }
	.ws-list { grid-template-columns: 1fr; border-radius: 18px; }
	.ws-item { padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; }
	.ws-item + .ws-item::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
	.ws-num { margin: 0 !important; white-space: nowrap; }
	.ws-num strong { font-size: 30px; }
	.ws-num span { font-size: 15px; }
	.ws-label { font-size: 14px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.ws-item { padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.wh-slide, .wh-bg, .wh-content { transition: none !important; transform: none !important; }
}
