/* =========================================================
   Sibium Analytics - base
   Medidas de referência: layout de 1440px com margens de 50px.
   ========================================================= */
:root {
	--sb-font: "Indivisible", "indivisible", "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sb-text: #1e1e1e;
	--sb-gray: #5f5f5f;
	--sb-muted: #333333;
	--sb-olive: #3a5500;
	--sb-green: #00c825;
	--sb-green-esg: #08c053;
	--sb-neon: #1cfe8c;
	--sb-light: #f7f7f7;
	--sb-border: #d9d9d9;
	--sb-grad: linear-gradient(-61deg, #1cff8d 1.6%, #08a22b 96.7%);
	--sb-gutter: 50px;
	--sb-max: 1440px;
	--sb-ease: cubic-bezier(.2, .65, .3, 1);

	/* Escala tipográfica (desktop = valores do Figma) */
	--sb-fs-xl: clamp(42px, 5.556vw, 80px);
	--sb-fs-lg: clamp(36px, 4.514vw, 65px);
	--sb-fs-md: clamp(27px, 2.431vw, 35px);
	--sb-fs-sm: clamp(21px, 1.736vw, 25px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sb-font);
	font-size: 16px;
	line-height: 1.25;
	color: var(--sb-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sb-green); outline-offset: 3px; }

.sb-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 10px 16px; }
.sb-skip:focus { left: 16px; top: 16px; }
.sb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sb-wrap { width: 100%; max-width: var(--sb-max); margin: 0 auto; padding: 0 var(--sb-gutter); }
.sb-wrap--1100 { max-width: calc(1100px + 2 * var(--sb-gutter)); }
.sb-main { display: block; }

/* ---------- Tipografia ---------- */
.sb-h-xl { font-size: var(--sb-fs-xl); line-height: .9375; letter-spacing: -.03em; font-weight: 400; }
.sb-h-lg { font-size: var(--sb-fs-lg); line-height: 1; letter-spacing: -.03em; font-weight: 500; }
.sb-h-lg--light { font-weight: 300; }
.sb-h-md { font-size: var(--sb-fs-md); line-height: 1; letter-spacing: -.03em; font-weight: 500; }
.sb-h-sm { font-size: var(--sb-fs-sm); line-height: 1; letter-spacing: -.03em; font-weight: 500; }
.sb-text { font-size: 16px; line-height: 20px; color: var(--sb-gray); }
.sb-text p + p { margin-top: 20px; }
.sb-olive { color: var(--sb-olive); }
.sb-green { color: var(--sb-green); }

/* ---------- Botões ---------- */
.sb-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 50px; padding: 0 30px; border-radius: 30px;
	font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
	border: 1px solid transparent; cursor: pointer;
	transition: background-color .3s var(--sb-ease), color .3s var(--sb-ease), border-color .3s var(--sb-ease), transform .3s var(--sb-ease);
}
.sb-btn:hover { transform: translateY(-2px); }
.sb-btn--verde { background: var(--sb-green); color: #fff; }
.sb-btn--verde:hover { background: #00a91f; }
.sb-btn--escuro { background: var(--sb-text); color: #fff; }
.sb-btn--escuro:hover { background: #000; }
.sb-btn--contorno { border-color: #fff; color: #fff; }
.sb-btn--contorno:hover { background: #fff; color: var(--sb-text); }
.sb-btn--contorno-escuro { border-color: var(--sb-text); color: var(--sb-text); }
.sb-btn--contorno-escuro:hover { background: var(--sb-text); color: #fff; }
.sb-btn--vidro { background: rgba(0, 0, 0, .3); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sb-btn--vidro:hover { background: rgba(0, 0, 0, .5); }
.sb-btn--branco { background: #fff; color: var(--sb-olive); border-color: #fff; font-weight: 400; }
.sb-btn--branco:hover { background: var(--sb-neon); border-color: var(--sb-neon); color: var(--sb-text); }
.sb-btn--header-escuro { background: var(--sb-text); color: #fff; font-weight: 400; }
.sb-btn--header-escuro:hover { background: var(--sb-green); }

/* ---------- Cabeçalho ---------- */
.sb-header { position: absolute; top: 28px; left: 0; right: 0; z-index: 50; }
.sb-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 43px; }
.sb-header__logo { justify-self: start; display: block; width: 189px; }
.sb-header__logo svg { width: 189px; height: 32px; }
.sb-nav ul { display: flex; gap: 51px; }
.sb-nav a { font-size: 14px; color: #fff; transition: opacity .25s; }
.sb-nav a:hover { opacity: .7; }
.sb-nav a.is-current { font-weight: 700; }
.sb-header__cta { justify-self: end; height: 43px; min-width: 228px; }
.sb-header--escuro .sb-nav a { color: var(--sb-text); }
.sb-burger { display: none; justify-self: end; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.sb-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.sb-burger span + span { margin-top: 6px; }
.sb-header--escuro .sb-burger span { background: var(--sb-text); }
.sb-menu-open .sb-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.sb-menu-open .sb-burger span:nth-child(2) { opacity: 0; }
.sb-menu-open .sb-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.sb-mobile-menu { position: fixed; inset: 0; z-index: 45; background: #fff; padding: 110px 24px 40px; overflow-y: auto; }
.sb-mobile-menu[hidden] { display: none; }
.sb-mobile-menu li + li { border-top: 1px solid #eee; }
.sb-mobile-menu a:not(.sb-btn) { display: block; padding: 16px 0; font-size: 22px; letter-spacing: -.03em; font-weight: 500; }
.sb-mobile-menu a.is-current { color: var(--sb-green); }
.sb-mobile-menu__cta { margin-top: 28px; width: 100%; }
.sb-menu-open { overflow: hidden; }
.sb-menu-open .sb-header { position: fixed; }
.sb-menu-open .sb-header .sb-burger span { background: var(--sb-text); }
.sb-menu-open .sb-header__logo svg [fill="white"], .sb-menu-open .sb-header__logo svg [fill="#fff"] { fill: var(--sb-text); }

/* ---------- WhatsApp flutuante ---------- */
.sb-whatsapp {
	position: fixed; right: var(--sb-gutter); top: min(426px, calc(100vh - 90px)); z-index: 40;
	width: 50px; height: 50px; border-radius: 50%;
	transition: transform .3s var(--sb-ease); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .18));
}
.sb-whatsapp:hover { transform: scale(1.08); }
.sb-whatsapp svg { width: 50px; height: 50px; }

/* ---------- Faixa de chamada (CTA) ---------- */
.sb-cta { position: relative; background: #000; color: #fff; overflow: hidden; }
.sb-cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: .3; }
.sb-cta__inner { position: relative; display: flex; justify-content: space-between; gap: 40px; min-height: 367px; padding-top: 43px; padding-bottom: 43px; }
.sb-cta__title { font-size: var(--sb-fs-lg); font-weight: 300; line-height: 1; letter-spacing: -.03em; max-width: 471px; }
.sb-cta__side { display: flex; flex-direction: column; align-items: flex-end; text-align: right; max-width: 360px; padding-right: 4px; }
.sb-cta__text { font-size: 16px; line-height: 20px; }
.sb-cta__text + .sb-cta__btn { margin-top: 75px; }
.sb-cta__btn { margin-right: -4px; }

/* ---------- Rodapé ---------- */
.sb-footer { background: #000; color: #fff; padding-bottom: 26px; }
.sb-footer__line { height: 1px; background: linear-gradient(90deg, #1e1e1e, #1cff8d); }
.sb-footer__grid, .sb-footer__bottom { display: grid; grid-template-columns: 490fr 274fr 227fr 270fr 79fr; }
.sb-footer__grid { padding-top: 139px; }
.sb-footer__logo { display: block; width: 308px; }
.sb-footer__logo svg { width: 308px; height: 52px; }
.sb-footer__text { margin-top: 30px; max-width: 300px; font-size: 12px; line-height: 18px; }
.sb-footer__img { margin-top: 30px; width: 310px; aspect-ratio: 310 / 110; overflow: hidden; }
.sb-footer__img img { width: 100%; height: 100%; object-fit: cover; }
.sb-footer__h { font-size: 14px; line-height: 18px; font-weight: 500; letter-spacing: -.03em; color: var(--sb-neon); }
.sb-footer__col ul { margin-top: 20px; }
.sb-footer__col li { font-size: 14px; line-height: 20px; }
.sb-footer__col li + li { margin-top: 10px; }
.sb-footer__col a { transition: color .25s; }
.sb-footer__col a:hover { color: var(--sb-neon); }
.sb-footer__col li.sb-footer__end { margin-top: 40px; }
.sb-footer__social { margin-top: 20px; }
.sb-social { display: flex; align-items: center; gap: 15px; }
.sb-social__item { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; transition: opacity .25s; }
.sb-social__item:hover { opacity: .7; }
.sb-social__item svg { width: 100%; height: 100%; }
.sb-social__item--instagram svg { width: 13px; height: 13px; }
.sb-footer__bottom { margin-top: 132px; align-items: center; font-size: 10px; font-weight: 500; }
.sb-footer__copy { padding-left: 3px; }
.sb-footer__legal { grid-column: 2 / 5; }
.sb-footer__legal a:hover { color: var(--sb-neon); }
.sb-footer__nefi { justify-self: end; display: block; width: 40px; margin-right: -3px; }

/* ---------- Componentes compartilhados ---------- */
/* Cartão de diferencial (ícone + título + texto) 360 x 215 */
.sb-feature { background: #fff; border: 1px solid var(--sb-border); border-radius: 25px; padding: 30px 30px 20px; min-height: 215px; display: flex; flex-direction: column; transition: border-color .3s, box-shadow .3s, transform .3s var(--sb-ease); }
.sb-feature:hover { border-color: #c7c7c7; box-shadow: 0 14px 34px rgba(0, 0, 0, .06); }
.sb-feature__icon { width: 41px; height: 41px; border-radius: 50%; background: var(--sb-green); display: flex; align-items: center; justify-content: center; flex: none; }
.sb-feature__icon img { width: 20px; height: 20px; object-fit: contain; }
.sb-feature__title { margin-top: 29px; font-size: var(--sb-fs-sm); line-height: 1; letter-spacing: -.03em; font-weight: 500; color: var(--sb-text); }
.sb-feature__text { margin-top: 10px; font-size: 16px; line-height: 20px; color: var(--sb-text); max-width: 262px; }

/* Setores atendidos: 6 cartões 172 x 202 (foto 172 x 114 + nome) */
.sb-setores { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sb-setor { border-radius: 20px; background: #fff; min-height: 202px; display: flex; flex-direction: column; overflow: hidden; }
.sb-setor__top { height: 114px; border-radius: 20px; overflow: hidden; background: #e9e9e9; }
.sb-setor__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--sb-ease); }
.sb-setor:hover .sb-setor__img { transform: scale(1.05); }
.sb-setor__name { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 16px; font-size: 16px; line-height: 20px; color: var(--sb-text); }

/* Formulários */
.sb-form { display: grid; gap: 10px; }
.sb-form__field { position: relative; }
.sb-form input, .sb-form select, .sb-form textarea {
	width: 100%; height: 50px; border: 1px solid var(--sb-border); border-radius: 30px; background: #fff;
	padding: 0 30px; font-size: 14px; color: var(--sb-text); appearance: none; -webkit-appearance: none;
	transition: border-color .25s;
}
.sb-form textarea { height: 100px; border-radius: 25px; padding: 13px 30px; resize: vertical; min-height: 100px; }
.sb-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231e1e1e' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 26px center; padding-right: 50px; }
.sb-form select:invalid, .sb-form select:has(option[value=""]:checked) { color: #757575; }
.sb-form select option { color: var(--sb-text); }
.sb-form input::placeholder, .sb-form textarea::placeholder { color: #757575; opacity: 1; }
.sb-form input:focus, .sb-form select:focus, .sb-form textarea:focus { outline: none; border-color: var(--sb-green); }
.sb-form__submit { width: 100%; height: 50px; margin-top: 11px; }
.sb-form__hp { position: absolute !important; left: -9999px !important; }
.sb-form__msg { font-size: 14px; line-height: 20px; padding: 12px 20px; border-radius: 20px; }
.sb-form__msg--ok { background: #e8f9ec; color: #0b6b23; }
.sb-form__msg--erro { background: #fdecec; color: #8a1c1c; }
.sb-form__msg[hidden] { display: none; }

/* ---------- Animações de entrada ---------- */
.sb-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--sb-ease), transform .9s var(--sb-ease); transition-delay: var(--sb-delay, 0s); }
.sb-js [data-reveal="fade"] { transform: none; }
.sb-js [data-reveal="zoom"] { transform: scale(.97); }
.sb-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sb-js [data-reveal] { opacity: 1; transform: none; transition: none; }
	.sb-btn, .sb-whatsapp, .sb-feature { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1200px) {
	.sb-nav ul { gap: 32px; }
	.sb-header__cta { min-width: 0; }
	.sb-footer__grid, .sb-footer__bottom { grid-template-columns: 1.6fr 1fr 1fr 1fr .5fr; column-gap: 24px; }
	.sb-setores { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
	:root { --sb-gutter: 32px; }
	.sb-header__inner { grid-template-columns: auto 1fr auto; }
	.sb-nav, .sb-header__cta { display: none; }
	.sb-burger { display: block; grid-column: 3; }
	.sb-whatsapp { top: auto; bottom: 24px; right: 20px; }
	.sb-footer__grid { grid-template-columns: 1fr 1fr 1fr; row-gap: 48px; padding-top: 80px; }
	.sb-footer__brand { grid-column: 1 / -1; }
	.sb-footer__col--redes { grid-column: auto; }
	.sb-footer__bottom { grid-template-columns: 1fr auto; row-gap: 12px; margin-top: 72px; }
	.sb-footer__legal { grid-column: 1 / -1; grid-row: 2; }
	.sb-footer__nefi { grid-row: 1; grid-column: 2; }
}
@media (max-width: 768px) {
	:root { --sb-gutter: 20px; }
	.sb-header { top: 18px; }
	.sb-header__logo, .sb-header__logo svg { width: 160px; height: auto; }
	.sb-cta__inner { flex-direction: column; min-height: 0; padding-top: 64px; padding-bottom: 64px; gap: 28px; }
	.sb-cta__side { align-items: flex-start; text-align: left; max-width: none; padding-right: 0; }
	.sb-cta__text + .sb-cta__btn { margin-top: 28px; }
	.sb-cta__btn { margin-right: 0; }
	.sb-footer__grid { grid-template-columns: 1fr 1fr; }
	.sb-footer__logo, .sb-footer__logo svg { width: 240px; height: auto; }
	.sb-footer__img { width: 100%; max-width: 310px; }
	.sb-setores { grid-template-columns: repeat(2, 1fr); }
	.sb-feature { min-height: 0; }
	.sb-btn { white-space: normal; text-align: center; min-height: 50px; height: auto; padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 420px) {
	.sb-footer__grid { grid-template-columns: 1fr; }
}
