/* ==========================================================================
   Tema Grupo HUX — estilos
   Cores principais vêm do Personalizar como variáveis (--hux-*).
   ========================================================================== */

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Nunito Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Nunito Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("../fonts/nunito-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--hux-blue: #3251A3;
	--hux-green: #06E944;
	--hux-navy: #101D4A;
	--hux-navy-2: #0A1433;
	--hux-light: #EEF1FA;
	--hux-veil: .45;
	--hux-ink: #101D4A;
	--hux-text: #2E3446;
	--hux-muted: #5A6178;
	--hux-on-dark: #D5DCF2;
	--hux-on-dark-2: #8FA0D4;
	--hux-line: #D2D9EC;
	--hux-white: #FFFFFF;
	--hux-error: #B42318;
	--f-display: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Nunito Sans", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gutter: clamp(20px, 3vw, 24px);
	--radius: 24px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--header-h: 84px;
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
	margin: 0;
	background: var(--hux-white);
	color: var(--hux-text);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--hux-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hux-navy); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--hux-ink); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--hux-green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--hux-green); color: var(--hux-navy-2); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hux-skip {
	position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--hux-green); color: var(--hux-navy-2);
	padding: 12px 18px; border-radius: 12px; font-weight: 800; text-decoration: none; transition: top .2s;
}
.hux-skip:focus { top: 16px; }
.hux-main:focus { outline: none; }

.hux-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.hux-icon { flex: none; }

/* ---------------------------------------------------------------- Botões */
.hux-btn {
	--btn-bg: var(--hux-blue); --btn-fg: #fff; --btn-bd: var(--btn-bg);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--f-display); font-weight: 900; font-size: 15px; line-height: 1.1; text-decoration: none;
	cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
	will-change: transform;
}
.hux-btn:hover { color: var(--btn-fg); box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--btn-bg) 80%, transparent); }
.hux-btn .hux-icon { transition: transform .35s var(--ease); }
.hux-btn:hover .hux-icon { transform: translateX(4px); }
.hux-btn--blue { --btn-bg: var(--hux-blue); }
.hux-btn--blue:hover { --btn-bg: #27428A; }
.hux-btn--green { --btn-bg: var(--hux-green); --btn-fg: var(--hux-navy-2); }
.hux-btn--green:hover { --btn-bg: #3DF26D; }
.hux-btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.hux-btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: #fff; box-shadow: none; }
.hux-btn--outline { --btn-bg: transparent; --btn-fg: var(--hux-blue); --btn-bd: var(--hux-blue); }
.hux-btn--outline:hover { --btn-bg: var(--hux-blue); --btn-fg: #fff; }
.hux-btn--company { --btn-bg: var(--co-accent); --btn-fg: var(--co-ink); }
.hux-btn--block { width: 100%; }
.hux-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hux-green); box-shadow: 0 0 0 0 var(--hux-green); animation: hux-pulse 2.4s infinite; }
@keyframes hux-pulse { 0% { box-shadow: 0 0 0 0 rgba(6, 233, 68, .55); } 70% { box-shadow: 0 0 0 10px rgba(6, 233, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(6, 233, 68, 0); } }

/* ---------------------------------------------------------------- Rótulos e títulos */
.hux-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--f-display); font-weight: 900; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--hux-blue);
}
.hux-eyebrow__bar { width: 28px; height: 3px; border-radius: 2px; background: var(--hux-green); display: inline-block; }
.hux-eyebrow--green { color: var(--hux-green); }
.hux-h2 { font-weight: 900; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; }
.hux-h2 em, .hux-purpose__quote em, .hux-contact__title em { font-style: normal; color: var(--hux-blue); }
.hux-h2--sm { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 28px; }
.hux-head { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(36px, 4vw, 52px); }
.hux-head__title { flex: 1 1 min(100%, 540px); min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hux-head__text { flex: 1 1 min(100%, 380px); max-width: 480px; font-size: 17px; color: var(--hux-text); }

/* ---------------------------------------------------------------- Seções */
.hux-sec { padding-block: clamp(72px, 8vw, 116px); position: relative; }
.hux-sec--light { background: var(--hux-light); }
.hux-sec--dark { background: var(--hux-navy-2); color: #fff; }
.hux-sec--navy { background: var(--hux-navy); color: #fff; }
.hux-sec--dark .hux-h2, .hux-sec--navy .hux-h2 { color: #fff; }
.hux-sec--dark .hux-h2 em, .hux-sec--navy .hux-h2 em { color: var(--hux-green); }
.hux-sec--dark .hux-head__text, .hux-sec--navy .hux-head__text { color: var(--hux-on-dark); }

/* ---------------------------------------------------------------- Cabeçalho */
.hux-header {
	position: fixed; inset: 0 0 auto 0; z-index: 90;
	padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 0;
	transition: transform .5s var(--ease);
	pointer-events: none;
}
.hux-header > * { pointer-events: auto; }
.hux-header.is-hidden { transform: translateY(-120%); }
.admin-bar .hux-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hux-header { top: 46px; } }
.hux-header__bar {
	max-width: var(--wrap); margin: 0 auto; height: 64px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-radius: 999px; padding: 8px 8px 8px 24px;
	box-shadow: 0 1px 0 rgba(16, 29, 74, .06);
	transition: box-shadow .4s var(--ease);
}
.hux-header.is-scrolled .hux-header__bar { box-shadow: 0 16px 40px -18px rgba(10, 20, 51, .45); }
.hux-header__logo img { height: 32px; width: auto; }
.hux-header__nav { flex: 1; display: flex; justify-content: center; }
.hux-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.hux-menu a {
	display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none;
	font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--hux-ink);
	transition: background .25s, color .25s;
}
.hux-menu a:hover, .hux-menu .current-menu-item > a, .hux-menu a.is-active { background: var(--hux-light); color: var(--hux-blue); }
.hux-menu .sub-menu { display: none; }
.hux-header__cta { min-height: 48px; padding-inline: 20px; }
.hux-burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--hux-blue); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.hux-burger__close { display: none; }
.hux-header.is-open .hux-burger__open { display: none; }
.hux-header.is-open .hux-burger__close { display: flex; }
.hux-drawer {
	max-width: var(--wrap); margin: 8px auto 0; background: #fff; border-radius: 24px; padding: 8px 20px 20px;
	display: none; box-shadow: 0 24px 50px -20px rgba(10, 20, 51, .5);
}
.hux-header.is-open .hux-drawer { display: block; }
.hux-drawer__menu { list-style: none; margin: 0 0 16px; padding: 0; }
.hux-drawer__menu a {
	display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border-bottom: 1px solid #E4E8F4;
	font-family: var(--f-display); font-weight: 800; font-size: 19px; color: var(--hux-ink); text-decoration: none;
}
.hux-drawer__menu a::after { content: "→"; color: var(--hux-blue); }
@media (max-width: 1080px) {
	.hux-header__nav, .hux-header__cta { display: none; }
	.hux-burger { display: inline-flex; }
	.hux-header__bar { border-radius: 22px; height: 60px; padding: 6px 6px 6px 18px; }
	.hux-header__logo img { height: 26px; }
}

/* ---------------------------------------------------------------- Progresso e cortina */
.hux-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 95; pointer-events: none; }
.hux-progress span { display: block; height: 100%; background: var(--hux-green); transform-origin: 0 50%; transform: scaleX(0); }
.hux-curtain {
	position: fixed; inset: 0; z-index: 200; background: var(--hux-navy-2);
	display: flex; align-items: center; justify-content: center;
	visibility: hidden; pointer-events: none;
}
.hux-curtain.is-active { visibility: visible; pointer-events: auto; }
.hux-curtain__mark { width: 72px; height: 72px; }
.hux-curtain__mark svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- Hero */
.hux-hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--hux-navy);
	height: clamp(620px, 100svh, 960px);
	display: flex; align-items: center;
}
.hux-hero__media { position: absolute; inset: 0; z-index: -1; }
.hux-hero__media picture, .hux-hero__media img { width: 100%; height: 100%; }
.hux-hero__media img { object-fit: cover; object-position: var(--hero-pos, 100% 100%); transform-origin: 70% 60%; }
.hux-hero__veil {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 20, 51, .78) 0%, rgba(10, 20, 51, 0) 22%),
		linear-gradient(90deg, rgba(16, 29, 74, calc(var(--hux-veil) + .25)) 0%, rgba(16, 29, 74, var(--hux-veil)) 32%, rgba(16, 29, 74, 0) 62%),
		linear-gradient(0deg, rgba(10, 20, 51, .55) 0%, rgba(10, 20, 51, 0) 22%);
}
.hux-hero__content { padding-top: calc(var(--header-h) + 20px); padding-bottom: 60px; }
.hux-hero__copy { max-width: 640px; display: flex; flex-direction: column; gap: 24px; }
.hux-hero__title { color: #fff; font-weight: 900; font-size: clamp(42px, 4.1vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
.hux-hero__title em { font-style: normal; color: var(--hux-green); }
.hux-hero__title .hux-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hux-hero__text { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: #E3E8F6; max-width: 470px; text-shadow: 0 1px 12px rgba(10, 20, 51, .5); }
.hux-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hux-hero__scroll {
	position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px;
	border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px;
}
.hux-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--hux-green); animation: hux-scroll 1.8s var(--ease) infinite; }
@keyframes hux-scroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 767px) {
	.hux-hero { height: auto; display: flex; flex-direction: column; align-items: stretch; }
	.hux-hero__media { position: relative; order: 2; aspect-ratio: 1508 / 1256; z-index: 0; }
	.hux-hero__media img { object-position: 50% 100%; }
	.hux-hero__veil { background: linear-gradient(180deg, var(--hux-navy) 0%, rgba(16, 29, 74, 0) 30%); }
	.hux-hero__content { order: 1; padding-top: calc(var(--header-h) + 16px); padding-bottom: 12px; }
	.hux-hero__scroll { display: none; }
}

/* ---------------------------------------------------------------- Propósito */
.hux-purpose { background: linear-gradient(110deg, var(--hux-blue) 0%, color-mix(in srgb, var(--hux-blue) 78%, #6F8BE0) 50%, var(--hux-blue) 100%); background-size: 200% 100%; color: #fff; padding-block: clamp(64px, 7vw, 100px); overflow: hidden; }
.hux-purpose__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.hux-purpose__copy { flex: 1 1 min(100%, 540px); display: flex; flex-direction: column; gap: 18px; }
.hux-purpose__quote { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.hux-purpose__quote em { color: var(--hux-green); }
.hux-stats { flex: 1 1 min(100%, 460px); max-width: 560px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hux-stat {
	background: var(--hux-navy); border-radius: 20px; padding: 24px; border-top: 5px solid var(--stat-color, var(--hux-green));
	display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.hux-stat__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 4vw, 60px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hux-stat__label { font-size: 15px; font-weight: 600; color: var(--hux-on-dark); line-height: 1.4; }

/* ---------------------------------------------------------------- Governança */
.hux-gov .hux-h2 { color: var(--hux-ink); }
.hux-levels { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.hux-level {
	display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center;
	background: #fff; border-radius: var(--radius); padding: 24px 32px;
	box-shadow: 0 1px 0 rgba(16, 29, 74, .04), 0 12px 28px -22px rgba(16, 29, 74, .35);
}
.hux-level--top { background: var(--hux-navy); color: #fff; padding-block: 28px; }
.hux-level__label { flex: 0 0 210px; display: flex; align-items: center; gap: 14px; }
.hux-level__num {
	width: 46px; height: 46px; border-radius: 14px; flex: none;
	display: flex; align-items: center; justify-content: center;
	background: var(--hux-blue); color: #fff; font-family: var(--f-display); font-weight: 900; font-size: 18px;
}
.hux-level--top .hux-level__num { background: var(--hux-green); color: var(--hux-navy-2); }
.hux-level__name { font-family: var(--f-display); font-weight: 900; font-size: 22px; color: var(--hux-ink); line-height: 1.15; }
.hux-level--top .hux-level__name { color: #fff; }
.hux-level__body { flex: 1 1 min(100%, 480px); min-width: 0; }
.hux-level--top .hux-level__body { color: var(--hux-on-dark); font-size: 16px; }
.hux-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.hux-logo-tile {
	background: var(--tile-bg); border-radius: 16px; padding: 16px 18px; min-height: 86px;
	display: flex; align-items: center; justify-content: center; border-bottom: 4px solid var(--tile-accent);
	color: #fff; font-weight: 800; text-decoration: none;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hux-logo-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px var(--tile-accent); color: #fff; }
.hux-logo-tile img { width: 100%; max-width: 150px; height: auto; }
.hux-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hux-chip { border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 800; line-height: 1.2; }
.hux-chip--op { background: var(--hux-blue); color: #fff; }
.hux-chip--dev { border: 2px dashed var(--hux-blue); color: var(--hux-blue); padding: 6px 13px; }
.hux-chip--idea { border: 2px dotted var(--hux-muted); color: var(--hux-muted); padding: 6px 13px; }
.hux-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--hux-text); }
.hux-legend__item { display: inline-flex; align-items: center; gap: 7px; }
.hux-legend__item::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--hux-blue); }
.hux-legend__item--dev::before { background: none; border: 2px dashed var(--hux-blue); width: 8px; height: 8px; }
.hux-legend__item--idea::before { background: none; border: 2px dotted var(--hux-muted); width: 8px; height: 8px; }
.hux-audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.hux-audience { display: flex; gap: 12px; align-items: flex-start; background: var(--hux-light); border-radius: 16px; padding: 14px 16px; }
.hux-audience__icon { color: var(--hux-blue); }
.hux-audience strong { display: block; font-size: 16px; color: var(--hux-ink); line-height: 1.3; }
.hux-audience span:not(.hux-audience__icon) { display: block; font-size: 14px; color: var(--hux-text); line-height: 1.45; }
.hux-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.hux-pillar {
	background: var(--hux-navy); color: #fff; border-radius: var(--radius); padding: 28px;
	display: flex; flex-direction: column; gap: 14px; transform-style: preserve-3d;
	transition: box-shadow .4s var(--ease);
}
.hux-pillar:hover { box-shadow: 0 24px 50px -24px rgba(16, 29, 74, .8); }
.hux-pillar__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--hux-green); color: var(--hux-navy-2); display: flex; align-items: center; justify-content: center; }
.hux-pillar h3 { color: #fff; font-size: 21px; font-weight: 900; }
.hux-pillar p { font-size: 15px; line-height: 1.6; color: var(--hux-on-dark); }
.hux-pillar__ref { margin-top: auto; padding-top: 14px; border-top: 1px solid #2A3A72; font-size: 13px; font-weight: 800; color: var(--hux-green); }
@media (max-width: 700px) {
	.hux-level { padding: 20px; }
	.hux-level__label { flex-basis: 100%; }
}

/* ---------------------------------------------------------------- Time HUX (painéis) */
.hux-panels { display: flex; gap: 12px; height: clamp(580px, 44vw, 680px); }
.hux-panel {
	--co-edge: color-mix(in srgb, var(--co-accent) 32%, var(--co-deep));
	position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 28px;
	background: radial-gradient(120% 70% at 50% 100%, var(--co-edge) 0%, var(--co-deep) 62%);
	border: 1.5px solid var(--co-edge);
	transition: flex-grow .8s var(--ease), border-color .5s;
}
.hux-panel.is-open { flex-grow: 3.4; border-color: var(--co-accent); }
.hux-panel__toggle { position: absolute; inset: 0; z-index: 4; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.hux-panel.is-open .hux-panel__toggle { display: none; }
.hux-panel__media { position: absolute; inset: 0; }
.hux-panel__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transition: transform 1.2s var(--ease); }
.hux-panel:not(.is-open):hover .hux-panel__media img { transform: scale(1.05); }
.hux-panel__shade {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(6, 12, 32, .92) 0%, rgba(6, 12, 32, 0) 48%);
	transition: background .6s var(--ease);
}
.hux-panel.is-open .hux-panel__media { left: 42%; }
.hux-panel.is-open .hux-panel__shade { background: linear-gradient(90deg, var(--co-deep) 0%, rgba(6, 12, 32, 0) 40%); }
.hux-code {
	display: inline-block; font-family: var(--f-display); font-weight: 900; font-size: 14px; line-height: 1;
	color: var(--co-ink); background: var(--co-accent); border-radius: 9px; padding: 6px 9px;
}
.hux-panel__peek { position: absolute; inset: 0; z-index: 2; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; transition: opacity .4s; }
.hux-panel.is-open .hux-panel__peek { opacity: 0; }
.hux-panel__peek .hux-code { align-self: flex-start; }
.hux-panel__peek-foot { display: flex; flex-direction: column; gap: 10px; }
.hux-panel__peek-foot img { width: 130px; max-width: 100%; max-height: 64px; object-fit: contain; object-position: left bottom; }
.hux-panel__peek-foot strong { font-family: var(--f-display); font-size: 22px; font-weight: 900; }
.hux-panel__peek-foot span { font-size: 13px; font-weight: 700; color: var(--hux-on-dark); }
.hux-panel__body {
	position: relative; z-index: 3; height: 100%; width: min(50%, 480px);
	padding: clamp(22px, 2.6vw, 38px); display: flex; flex-direction: column; gap: 16px; overflow: hidden;
	opacity: 0; visibility: hidden; transition: opacity .5s var(--ease) .25s, visibility 0s linear .8s;
}
.hux-panel.is-open .hux-panel__body { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) .35s, visibility 0s; }
.hux-panel__top { display: flex; align-items: center; gap: 12px; }
.hux-panel__kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hux-on-dark); }
.hux-panel__logo { width: auto; max-width: 240px; max-height: 110px; object-fit: contain; object-position: left center; }
.hux-panel__name { color: #fff; font-size: 36px; font-weight: 900; }
.hux-panel__desc { font-size: 16px; line-height: 1.65; color: #E3E8F6; }
.hux-panel__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hux-panel__tags li { border: 1.5px solid var(--co-accent); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.hux-panel__body .hux-btn { margin-top: auto; align-self: flex-start; white-space: nowrap; }
.no-js .hux-panel__body { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
	.hux-panels { flex-direction: column; height: auto; }
	.hux-panel { flex: none; min-height: 132px; }
	.hux-panel.is-open { min-height: 0; }
	.hux-panel__media img { object-position: 50% 16%; }
	.hux-panel:not(.is-open) .hux-panel__media { left: 45%; }
	.hux-panel:not(.is-open) .hux-panel__shade { background: linear-gradient(90deg, var(--co-deep) 0%, var(--co-deep) 40%, rgba(6, 12, 32, 0) 75%); }
	.hux-panel.is-open .hux-panel__media { position: relative; left: 0; height: 380px; }
	.hux-panel.is-open .hux-panel__shade { background: linear-gradient(0deg, var(--co-deep) 0%, rgba(6, 12, 32, 0) 45%); }
	.hux-panel__peek { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
	.hux-panel__peek .hux-code { align-self: center; }
	.hux-panel__body { width: 100%; height: auto; display: none; }
	.hux-panel.is-open .hux-panel__body { display: flex; }
	.no-js .hux-panel__body { display: flex; }
}

/* ---------------------------------------------------------------- Projetos (cartões) */
.hux-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hux-filter__btn {
	min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--hux-blue);
	background: #fff; color: var(--hux-blue); font-family: var(--f-display); font-weight: 800; font-size: 14px; cursor: pointer;
	transition: background .25s, color .25s, border-color .25s;
}
.hux-filter__btn:hover { background: var(--hux-light); }
.hux-filter__btn.is-active { background: var(--hux-navy); border-color: var(--hux-navy); color: #fff; }
.hux-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.hux-card {
	position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
	background: #fff; border: 1.5px solid #C9D2EC; border-top: 5px solid var(--hux-blue); border-radius: 22px; padding: 24px;
	color: var(--hux-text); text-decoration: none;
	box-shadow: 0 10px 24px rgba(16, 29, 74, .07);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.hux-card--dev { border-top-color: #9AA8D6; border-color: #D6DCEE; }
.hux-card--idea { border-top-style: dashed; border-top-color: #9AA8D6; border-color: #D6DCEE; }
a.hux-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -20px rgba(16, 29, 74, .4); color: var(--hux-text); }
.hux-card.is-hidden { display: none; }
.hux-card__head { display: flex; align-items: center; gap: 12px; }
.hux-card__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--hux-navy); display: flex; align-items: center; justify-content: center; }
.hux-card__title { flex: 1; min-width: 0; font-size: 21px; font-weight: 900; color: var(--hux-ink); }
.hux-card__desc { font-size: 15px; line-height: 1.6; color: var(--hux-text); }
.hux-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hux-card__more { width: 36px; height: 36px; border-radius: 50%; background: var(--hux-light); color: var(--hux-blue); display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s, transform .4s var(--ease); }
a.hux-card:hover .hux-card__more { background: var(--hux-blue); color: #fff; transform: rotate(-45deg); }
.hux-badge { flex: none; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 900; white-space: nowrap; line-height: 1.3; }
.hux-badge--op { background: var(--hux-green); color: var(--hux-navy-2); }
.hux-badge--dev { background: #fff; color: var(--hux-blue); border: 1.5px dashed var(--hux-blue); padding: 4px 10px; }
.hux-badge--idea { background: #fff; color: var(--hux-muted); border: 1.5px dotted var(--hux-muted); padding: 4px 10px; }
.hux-owner { background: var(--chip-bg, var(--hux-light)); color: var(--chip-fg, var(--hux-ink)); border-radius: 8px; padding: 5px 10px; font-size: 12.5px; font-weight: 800; line-height: 1.35; }
.hux-plat__more { margin-top: 32px; display: flex; justify-content: center; }
.hux-plat--embedded { padding-block: 0; background: none; }
@media (max-width: 420px) {
	.hux-card__head { flex-wrap: wrap; }
	.hux-card__title { flex-basis: calc(100% - 60px); }
}

/* ---------------------------------------------------------------- Parceiros */
.hux-partners { overflow: hidden; }
.hux-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hux-marquee__track { display: flex; width: max-content; animation: hux-marquee 46s linear infinite; }
.hux-marquee:hover .hux-marquee__track { animation-play-state: paused; }
.hux-motion .hux-marquee__track.is-js { animation: none; }
.hux-marquee__group { display: flex; align-items: center; gap: 0; }
@keyframes hux-marquee { to { transform: translateX(-50%); } }
.hux-partner {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 2px;
	padding: 18px 40px; position: relative; color: #fff; text-decoration: none; white-space: nowrap;
}
.hux-partner::after { content: ""; position: absolute; right: -6px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--hux-green); clip-path: polygon(100% 0, 40% 50%, 100% 100%, 70% 100%, 10% 50%, 70% 0); }
.hux-partner__name { font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 3vw, 44px); line-height: 1.1; color: #fff; transition: color .3s; }
.hux-partner__area { font-size: 13px; font-weight: 700; color: var(--hux-on-dark-2); }
a.hux-partner:hover .hux-partner__name { color: var(--hux-green); }
.hux-partner img { height: 48px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; transition: opacity .3s, filter .3s; }
a.hux-partner:hover img { opacity: 1; filter: none; }
.hux-partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1px; background: #22346E; border: 1px solid #22346E; border-radius: 20px; overflow: hidden; }
.hux-partner-grid > div { background: var(--hux-navy); }
.hux-partner-grid .hux-partner { width: 100%; padding: 26px 22px; white-space: normal; }
.hux-partner-grid .hux-partner::after { display: none; }
.hux-partner-grid .hux-partner__name { font-size: 20px; }

/* ---------------------------------------------------------------- Contato */
.hux-contact__inner { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); align-items: flex-start; }
.hux-contact__info { flex: 1 1 min(100%, 440px); min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hux-contact__title { font-weight: 900; font-size: clamp(40px, 4.8vw, 68px); line-height: 1; letter-spacing: -.03em; }
.hux-contact__list { margin: 0; border-top: 1.5px solid var(--hux-line); }
.hux-contact__row { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 16px 0; border-bottom: 1.5px solid var(--hux-line); }
.hux-contact__row dt { flex: 0 0 130px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hux-muted); }
.hux-contact__row dt .hux-icon { color: var(--hux-blue); }
.hux-contact__row dd { margin: 0; flex: 1 1 220px; min-width: 0; font-size: 16px; font-weight: 700; color: var(--hux-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.hux-contact__row dd a { color: var(--hux-ink); text-decoration: none; }
.hux-contact__row dd a:hover { color: var(--hux-blue); }
.hux-contact__social { gap: 20px !important; }
.hux-copy { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--hux-line); background: #fff; color: var(--hux-muted); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 800; cursor: pointer; }
.hux-copy:hover { border-color: var(--hux-blue); color: var(--hux-blue); }
.hux-form { flex: 1 1 min(100%, 460px); min-width: 0; background: var(--hux-light); border-radius: 28px; padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; gap: 16px; }
.hux-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px 14px; }
.hux-field { display: flex; flex-direction: column; gap: 6px; }
.hux-field label { font-size: 13px; font-weight: 800; color: var(--hux-text); }
.hux-field abbr { text-decoration: none; color: var(--hux-blue); }
.hux-field input, .hux-field select, .hux-field textarea {
	width: 100%; border: 1.5px solid #C9D2EC; border-radius: 14px; background: #fff; color: var(--hux-ink);
	padding: 14px 16px; font: 15px/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s;
}
.hux-field textarea { min-height: 120px; resize: vertical; }
.hux-field input:focus, .hux-field select:focus, .hux-field textarea:focus { outline: none; border-color: var(--hux-blue); box-shadow: 0 0 0 4px rgba(50, 81, 163, .15); }
.hux-field.has-error input, .hux-field.has-error textarea { border-color: var(--hux-error); }
.hux-field__error { font-size: 13px; font-weight: 700; color: var(--hux-error); min-height: 0; }
.hux-field__error:empty { display: none; }
.hux-field--check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 14px; line-height: 1.5; cursor: pointer; }
.hux-field--check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--hux-blue); padding: 0; }
.hux-form__foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hux-form__status { font-size: 15px; font-weight: 700; color: var(--hux-ink); }
.hux-form__status.is-ok { color: #0B6B21; }
.hux-form__status.is-error { color: var(--hux-error); }
.hux-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.hux-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- Rodapé */
.hux-footer { background: var(--hux-navy-2); color: var(--hux-on-dark); padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); }
.hux-footer__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.hux-footer__logo { background: #fff; border-radius: 999px; padding: 12px 22px; display: inline-flex; }
.hux-footer__logo img { height: 28px; width: auto; }
.hux-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hux-footer__menu a { color: var(--hux-on-dark); text-decoration: none; font-weight: 700; font-size: 14px; }
.hux-footer__menu a:hover { color: var(--hux-green); }
.hux-footer__legal { font-size: 13px; }
.hux-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid #22346E; }
.hux-footer__widgets a { color: #fff; }
.hux-widget__title { color: #fff; font-size: 16px; margin-bottom: 10px; }

/* ---------------------------------------------------------------- Páginas internas */
.hux-intro { position: relative; isolation: isolate; overflow: hidden; background: var(--hux-navy); color: #fff; padding: calc(var(--header-h) + 72px) 0 clamp(56px, 6vw, 88px); }
.hux-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 90% 0%, rgba(50, 81, 163, .55), transparent 70%); }
.hux-intro__media { position: absolute; inset: 0 0 0 38%; z-index: -2; }
.hux-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.hux-intro--image::before { background: linear-gradient(90deg, var(--hux-navy) 38%, rgba(16, 29, 74, .55) 70%, rgba(16, 29, 74, .2)); }
.hux-intro__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hux-intro__title { color: #fff; font-weight: 900; font-size: clamp(38px, 4.6vw, 68px); max-width: 16ch; }
.hux-intro__lead { max-width: 620px; font-size: 18px; color: var(--hux-on-dark); }
.hux-intro__back { color: var(--hux-on-dark); text-decoration: none; font-weight: 800; font-size: 14px; }
.hux-intro__back:hover { color: var(--hux-green); }
@media (max-width: 767px) { .hux-intro__media { inset: 0; opacity: .35; } }

.hux-project__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.hux-project__card { position: sticky; top: 110px; background: var(--hux-light); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.hux-project__card dl { margin: 0; display: grid; gap: 6px; }
.hux-project__card dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hux-muted); }
.hux-project__card dd { margin: 0 0 10px; font-weight: 800; color: var(--hux-ink); }
@media (max-width: 900px) { .hux-project__inner { grid-template-columns: 1fr; } .hux-project__card { position: static; } }

.hux-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.hux-post-card { background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--hux-text); display: flex; flex-direction: column; box-shadow: 0 10px 24px rgba(16, 29, 74, .07); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.hux-post-card:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -20px rgba(16, 29, 74, .4); color: var(--hux-text); }
.hux-post-card__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hux-post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.hux-post-card__date { font-size: 13px; font-weight: 800; color: var(--hux-blue); }
.hux-post-card__title { font-family: var(--f-display); font-size: 21px; color: var(--hux-ink); line-height: 1.2; }
.hux-post-card__excerpt { font-size: 15px; }
.hux-pagination { margin-top: 32px; }
.hux-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.hux-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; text-decoration: none; font-weight: 800; }
.hux-pagination .current { background: var(--hux-navy); color: #fff; }
.hux-empty { font-size: 18px; }
.hux-404 { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- Conteúdo do editor */
.hux-prose { max-width: calc(820px + var(--gutter) * 2); font-size: 18px; }
.hux-prose > * + * { margin-top: 1.1em; }
.hux-prose h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 900; margin-top: 1.6em; }
.hux-prose h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; margin-top: 1.4em; }
.hux-prose ul, .hux-prose ol { padding-left: 1.3em; }
.hux-prose li + li { margin-top: .4em; }
.hux-prose blockquote { margin-inline: 0; padding: 8px 0 8px 22px; border-left: 4px solid var(--hux-green); font-family: var(--f-display); font-size: 1.2em; font-weight: 700; color: var(--hux-ink); }
.hux-prose img { border-radius: 18px; }
.hux-prose .alignwide { max-width: min(1200px, 100vw - var(--gutter) * 2); margin-inline: calc(50% - min(600px, 50vw - var(--gutter))); }
.hux-prose .alignfull { max-width: 100vw; margin-inline: calc(50% - 50vw); }
.hux-prose .alignfull img { border-radius: 0; }
.hux-prose .wp-block-button__link { border-radius: 999px; background: var(--hux-blue); color: #fff; font-family: var(--f-display); font-weight: 900; padding: 14px 24px; }
.hux-prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--hux-blue); border: 1.5px solid var(--hux-blue); }
.hux-prose .hux-lead, .hux-lead { font-size: 1.2em; color: var(--hux-ink); }
.hux-prose .hux-eyebrow { display: flex; }
.hux-band { background: var(--hux-navy); color: #fff; padding: clamp(48px, 6vw, 80px) var(--gutter); border-radius: 0; }
.hux-band h2 { color: #fff; }
.hux-band p { color: var(--hux-on-dark); }
.hux-block-cards { gap: 16px !important; }
.hux-card-block { background: #fff; border: 1.5px solid #C9D2EC; border-top: 5px solid var(--hux-blue); border-radius: 22px; padding: 24px; box-shadow: 0 10px 24px rgba(16, 29, 74, .07); }
.hux-page-intro { padding-block: 24px; }
.hux-sec--content { padding-top: 0; }

/* ---------------------------------------------------------------- Animações: estados controlados pelo JS */
.hux-motion.hux-ready [data-reveal], .hux-motion.hux-ready [data-reveal-item] { will-change: transform, opacity; }
.hux-split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hux-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
	.hux-marquee__group[aria-hidden="true"] { display: none; }
	.hux-marquee__group { flex-wrap: wrap; justify-content: center; }
	.hux-curtain { display: none; }
}

@media print {
	.hux-header, .hux-progress, .hux-curtain, .hux-form, .hux-hero__scroll { display: none !important; }
	.hux-hero { height: auto; }
}
