/* ==========================================================================
   Abztrato v2
   Linguagem: fundo preto, tipografia grotesca grande e apertada, botões de
   cantos retos, caixas pretas com marcador quadrado na cor de destaque,
   ilustrações isométricas de blocos de montar ("construtores") e um rodapé
   inteiro na cor de destaque. A cor vem de data-accent no <html>.
   ========================================================================== */

:root {
	--bg: #000000;
	--panel: #1b1b1d;
	--panel-2: #111113;
	--box: #050505;
	--line: rgba(255, 255, 255, 0.08);
	--line-2: rgba(255, 255, 255, 0.16);
	--fg: #f3f3f3;
	--muted: #9a9aa2;
	--dim: #5f5f68;
	--paper: #f3f3f1;
	--ink: #0a0a0a;
	--ink-muted: #6d6d73;
	--slate: #6a747d;

	--accent: #c6f432;
	--accent-hi: #d4ff4d;
	--accent-ink: #0a0b05;
	--accent-rgb: 198, 244, 50;

	--f-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--f-body: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--wrap: 1400px;
	--gutter: max(20px, env(safe-area-inset-left, 0px));
	--gutter-r: max(20px, env(safe-area-inset-right, 0px));
	--sec: clamp(88px, 11vw, 160px);
	--r: 3px;
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
	--ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);

	color-scheme: dark;
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
em { font-style: normal; color: var(--accent-hi); }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 80px);
	margin-inline: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter-r);
}
@media (min-width: 900px) { :root { --gutter: max(40px, env(safe-area-inset-left, 0px)); --gutter-r: max(40px, env(safe-area-inset-right, 0px)); } }

/* ---------- Tipografia ---------- */
.label {
	display: inline-flex; gap: .5em; align-items: center;
	font-family: var(--f-mono); font-size: 12px; font-weight: 500;
	text-transform: uppercase; letter-spacing: .1em;
	color: var(--muted);
	margin-bottom: 24px;
}
.label__br { color: var(--accent-hi); }
.label__idx { color: var(--fg); }
.label__sep { color: var(--dim); }
.h2 { font-size: clamp(38px, 5.4vw, 80px); max-width: 15ch; }
.display { font-size: clamp(52px, 9vw, 150px); line-height: .92; letter-spacing: -0.045em; }
.display--md { font-size: clamp(44px, 6.4vw, 104px); max-width: 12ch; }
.section__lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); max-width: 44ch; line-height: 1.45; letter-spacing: -0.01em; }

.tag {
	display: inline-flex; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
	color: var(--muted); border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px 10px; white-space: nowrap;
}
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Marcador quadrado da referência */
.sq { display: inline-block; flex: none; width: 14px; height: 14px; background: var(--accent); border-radius: 1px; }
.sq--light { background: var(--fg); }

/* ---------- Botões ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 48px; padding: 0 20px;
	border-radius: var(--r);
	background: var(--accent); color: var(--accent-ink);
	font-weight: 500; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
	position: relative; overflow: hidden; isolation: isolate;
	transition: color .35s, background-color .35s;
}
.btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .18);
	transform: translateX(-101%);
	transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateX(0); }
.btn--light { background: var(--fg); color: var(--ink); }
.btn--light::after { background: rgba(0, 0, 0, .08); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--nav { height: 58px; padding: 0 24px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.btn-row--center { justify-content: center; }

/* Barra de ação larga com quadrado da seta separado */
.barlink {
	display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 4px;
	width: 100%; height: 62px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
	color: var(--accent-ink); text-align: left;
}
.barlink__text, .barlink__arrow { background: var(--accent); border-radius: var(--r); display: flex; align-items: center; transition: filter .3s; }
.barlink__text { justify-content: flex-end; padding: 0 28px; overflow: hidden; }
.barlink__arrow { justify-content: center; }
.barlink__arrow .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.barlink:hover .barlink__arrow .arrow, a:hover > .barlink .arrow { transform: translateX(5px); }
.barlink:hover .barlink__text, a:hover > .barlink .barlink__text { filter: brightness(1.08); }

/* ---------- Aviso no topo ---------- */
.announce {
	position: relative; z-index: 70;
	display: flex; align-items: center; justify-content: center;
	min-height: 34px; padding: 6px 48px;
	padding-top: calc(6px + env(safe-area-inset-top, 0px));
	background: var(--accent); color: var(--accent-ink);
	font-size: 13.5px; font-weight: 500; text-align: center;
}
.announce a { display: inline-flex; align-items: center; gap: 8px; }
.announce .arrow { width: 12px; height: 12px; }
.announce__close { position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; }
.announce__close svg { width: 14px; height: 14px; }
.announce.is-closed { display: none; }

/* ---------- Cabeçalho flutuante ---------- */
.site-header {
	position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
	padding: 14px var(--gutter-r) 0 var(--gutter);
	height: 0; /* não empurra o hero: a barra flutua sobre ele */
	transition: transform .6s var(--ease);
}
.site-header.is-hidden { transform: translateY(-120%); }
.header__bar {
	max-width: 1240px; margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	height: 78px; padding: 0 10px 0 28px;
	background: rgba(27, 27, 29, .86);
	backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, .05);
}
.brand { color: var(--fg); display: block; }
.brand__logo { height: 31px; width: auto; transition: color .3s; }
.brand:hover .brand__logo { color: var(--accent-hi); }
.nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: flex-end; }
.nav__list { display: flex; align-items: center; gap: 34px; margin-inline: auto; }
.nav__list > li { position: relative; }
.nav__list a { font-size: 16px; font-weight: 500; color: var(--fg); opacity: .9; transition: color .25s; }
.nav__list a:hover, .nav__list .current-menu-item a, .nav__list a[aria-current="page"] { color: var(--accent-hi); opacity: 1; }

/* Submenu */
.nav__list .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 7px; }
.nav__list .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.sub-menu {
	position: absolute; top: 100%; left: 50%; width: 560px; margin-top: 22px;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 8px;
	background: rgba(20, 20, 22, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, .07); border-radius: 4px;
	opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
	transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav__list .menu-item-has-children:hover > .sub-menu, .nav__list .menu-item-has-children:focus-within > .sub-menu, .nav__list .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .35s var(--ease); }
.nav__list .menu-item-has-children:hover > a::after, .nav__list .menu-item-has-children.is-open > a::after { transform: translateY(1px) rotate(-135deg); }
.sub-menu a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 16px 18px; border-radius: 2px; background: rgba(255, 255, 255, .025); opacity: 1 !important; transition: background-color .25s; }
.sub-menu a:hover { background: rgba(var(--accent-rgb), .14); }
.sub__n { font-family: var(--f-mono); font-size: 11.5px; color: var(--accent-hi); padding-top: 4px; grid-row: span 2; }
.sub__t { font-size: 17px; letter-spacing: -0.02em; color: var(--fg); }
.sub__d { font-size: 13px; color: var(--muted); font-weight: 400; }
.sub-menu a:hover .sub__t { color: var(--accent-hi); }

.menu-toggle { display: none; width: 46px; height: 46px; position: relative; border-radius: var(--r); background: var(--accent); }
.menu-toggle i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--accent-ink); transition: transform .5s var(--ease); }
.menu-toggle i:nth-of-type(1) { top: 19px; }
.menu-toggle i:nth-of-type(2) { top: 26px; }
.menu-open .menu-toggle i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 900px) {
	.menu-toggle { display: block; z-index: 2; }
	.nav {
		position: fixed; inset: 0;
		flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px;
		padding: 100px var(--gutter-r) 40px var(--gutter);
		background: var(--bg);
		clip-path: inset(0 0 100% 0);
		transition: clip-path .7s var(--ease-in-out);
	}
	.menu-open .nav { clip-path: inset(0 0 0 0); }
	.nav { justify-content: flex-start; overflow-y: auto; padding-top: 170px; gap: 28px; }
	.nav__list { flex-direction: column; align-items: flex-start; gap: 4px; margin-inline: 0; }
	.nav__list > li > a { font-size: clamp(32px, 8.5vw, 52px); letter-spacing: -0.04em; }
	.nav__list .menu-item-has-children > a::after { display: none; }
	.sub-menu, .nav__list .menu-item-has-children:hover > .sub-menu, .nav__list .menu-item-has-children:focus-within > .sub-menu { position: static; width: auto; margin: 4px 0 12px; padding: 0 0 0 4px; grid-template-columns: 1fr; gap: 2px; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1; visibility: visible; transform: none; }
	.sub-menu::before { display: none; }
	.sub-menu a { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; background: none; }
	.sub__n { padding: 0; }
	.sub__t { font-size: 21px; }
	.sub__d { display: none; }
	.menu-open { overflow: hidden; }
	.menu-open .site-header { transform: none; }
	.menu-open .header__bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
	.menu-open .brand { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: min(100svh, 1000px);
	display: flex; align-items: flex-end;
	padding-top: 140px; padding-bottom: clamp(56px, 7vw, 96px);
	overflow: hidden;
	text-align: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__canvas--soft { opacity: .55; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.92) 70%); z-index: 0; pointer-events: none; }
.hero__title { font-size: clamp(46px, 8.2vw, 136px); line-height: .94; letter-spacing: -0.04em; max-width: 14ch; font-weight: 500; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; letter-spacing: -0.015em; color: var(--fg); max-width: 50ch; }
.hero .hero__lead { margin-inline: auto; }

/* Páginas internas */
.page-hero {
	position: relative; overflow: hidden;
	padding-top: calc(120px + clamp(40px, 6vw, 90px));
	padding-bottom: clamp(56px, 7vw, 110px);
	border-bottom: 1px solid var(--line);
}
.page-hero__inner, .page-hero__grid { position: relative; z-index: 1; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px 64px; align-items: center; }
.page-hero__title { font-size: clamp(42px, 6.6vw, 104px); line-height: .95; letter-spacing: -0.045em; max-width: 14ch; }
.page-hero__title--post { font-size: clamp(36px, 5vw, 72px); }
.page-hero__inner--narrow { max-width: 980px; }
.page-hero__art .illus { width: 100%; max-width: 520px; margin-inline: auto; }
.page-hero--plain { padding-bottom: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__art .illus { max-width: 360px; } }

/* Entrada dos títulos palavra por palavra */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .04em .2em; margin: -.14em -.04em -.2em; }
[data-split] .w > span { display: inline-block; }
.js [data-split]:not(.is-in) .w > span { transform: translateY(108%); }
.js [data-split] .w > span { transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.js [data-fade] { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: .45s; }
.js [data-fade]:not(.is-in) { opacity: 0; transform: translateY(16px); }

/* ---------- Seções ---------- */
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section__head { margin-bottom: clamp(44px, 5vw, 72px); }
.section__head--split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }

/* Painéis de serviço (cards "Builders") */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background: var(--panel); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.panel__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-height: 300px; padding: 24px 16px 20px 26px; }
.panel__idx { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.panel__title { font-size: clamp(38px, 4.4vw, 68px); line-height: .95; letter-spacing: -0.045em; }
.panel__art { display: flex; align-items: center; justify-content: flex-end; }
.panel__art .illus { width: 100%; max-width: 270px; }
.panel .barlink { margin-top: 6px; }
@media (max-width: 1100px) { .panels { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.panel { padding: 10px; }
	.panel__top { grid-template-columns: 1fr; min-height: 0; padding: 18px 12px; }
	.panel__art { justify-content: center; }
	.panel__art .illus { max-width: 240px; }
	.barlink__text { padding: 0 18px; font-size: 16px; }
}

/* Caixas pretas com marcador */
.boxes { display: grid; gap: 6px; }
.box {
	display: flex; align-items: flex-start; gap: 22px;
	background: var(--box);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 2px;
	padding: 26px 30px;
	font-size: clamp(17px, 1.45vw, 21px); line-height: 1.35; letter-spacing: -0.015em;
	transition: border-color .35s, background-color .35s;
}
.box .sq { margin-top: .32em; }
.box:hover { border-color: rgba(var(--accent-rgb), .55); }
.boxes--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.boxes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.box--tall { flex-direction: column; justify-content: space-between; gap: 48px; min-height: 260px; padding: 30px; background: var(--panel-2); }
.box--tall h3 { font-size: clamp(22px, 1.9vw, 27px); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 12px; }
.box--tall p { color: var(--muted); font-size: 15.5px; line-height: 1.5; letter-spacing: 0; }
@media (max-width: 1100px) { .boxes--grid, .boxes--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .boxes--grid, .boxes--3 { grid-template-columns: 1fr; } .box--tall { min-height: 0; } .box { padding: 22px; gap: 16px; } }

/* Fundação / manifesto */
.foundation { text-align: center; }
.foundation__head .display { max-width: 11ch; margin-inline: auto; }
.foundation__art { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 760px; }
.foundation__art .illus { width: 100%; }
.manifesto__text {
	font-size: clamp(26px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -0.035em;
	max-width: 26ch; margin: clamp(56px, 7vw, 100px) auto 0;
}
.js .manifesto__text .mw { color: #3a3a40; transition: color .25s; }
.js .manifesto__text .mw.on { color: var(--fg); }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: clamp(56px, 7vw, 100px); text-align: left; }
.col { background: var(--panel-2); border-radius: 2px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.col h3 { font-size: 24px; letter-spacing: -0.025em; line-height: 1.1; margin-top: 18px; }
.col p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; } }

/* Faixa de números */
.stats-band { padding-block: clamp(40px, 6vw, 80px); background: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { position: relative; min-height: 230px; padding: 28px 54px 28px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.stat--0 { background: var(--accent); color: var(--accent-ink); }
.stat--1 { background: #000; color: #fff; }
.stat--2 { background: var(--slate); color: var(--ink); }
.stat--3 { background: #2e2e30; color: #fff; }
.stat__num { font-size: clamp(56px, 6vw, 96px); line-height: .9; letter-spacing: -0.05em; font-weight: 400; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .32em; letter-spacing: -0.02em; font-weight: 500; }
.stat__label { font-size: 15.5px; font-weight: 500; line-height: 1.35; max-width: 26ch; }
.corner { position: absolute; right: 24px; width: 9px; height: 9px; background: currentColor; }
.corner--tr { top: 24px; }
.corner--br { bottom: 24px; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { min-height: 180px; } }

/* Matriz IA × pessoas */
.matrix { display: grid; gap: 6px; }
.matrix__row {
	display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.3fr) minmax(0, 1.2fr);
	gap: 20px 40px; padding: 28px 30px;
	background: var(--box); border: 1px solid rgba(255, 255, 255, .07); border-radius: 2px;
	transition: border-color .35s;
}
.matrix__row:hover { border-color: rgba(var(--accent-rgb), .55); }
.matrix__row--head { background: transparent; border-color: transparent; padding-block: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.matrix__row--head:hover { border-color: transparent; }
.matrix__row--head span { display: flex; align-items: center; gap: 10px; }
.matrix__row--head .sq { width: 10px; height: 10px; }
.matrix__row span[role="cell"]:not(.matrix__stage) { color: var(--muted); }
.matrix__stage { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; line-height: 1.05; }
@media (max-width: 760px) {
	.matrix__row { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
	.matrix__row--head { display: none; }
	.matrix__row span[role="cell"]:nth-child(2)::before { content: "Ferramentas e IA · "; color: var(--accent-hi); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
	.matrix__row span[role="cell"]:nth-child(3)::before { content: "Pessoas decidem · "; color: var(--fg); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
}

/* Seção clara */
.section--light { background: var(--paper); color: var(--ink); }
.section--light .label { color: var(--ink-muted); }
.section--light .label__br { color: var(--ink); }
.section--light .section__lead { color: var(--ink-muted); margin-top: 28px; }
.section--light em { color: var(--ink); }
.trust__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 72px; align-items: center; }
.trust__art .illus { width: 100%; max-width: 600px; margin-left: auto; }
.section--light .tone-black polygon, .section--light .tone-black path, .section--light .tone-black ellipse { stroke: #0a0a0a; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: 1fr; } .trust__art .illus { margin-inline: auto; max-width: 420px; } }

/* Processo */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding-top: 38px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps__bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line-2); }
.steps__bar b { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; background: var(--panel-2); border-radius: 2px; padding: 26px 24px 30px; min-height: 230px; transition: background-color .4s; }
.step::before { content: ""; position: absolute; top: -43px; left: 0; width: 12px; height: 12px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .4s, box-shadow .4s; }
.step.is-active::before { background: var(--accent); box-shadow: none; }
.step__n { font-family: var(--f-mono); font-size: 12.5px; color: var(--accent-hi); display: block; margin-bottom: 40px; }
.step h3 { font-size: 24px; margin-bottom: 12px; letter-spacing: -0.03em; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) {
	.steps, .steps--4 { grid-template-columns: 1fr; padding-top: 0; padding-left: 32px; }
	.steps__bar { top: 0; bottom: 0; left: 5px; right: auto; width: 2px; height: auto; }
	.steps__bar b { transform-origin: top; transform: scaleY(var(--p, 0)); }
	.step { min-height: 0; }
	.step::before { top: 28px; left: -32px; }
	.step__n { margin-bottom: 16px; }
}

/* Como trabalhamos (fundo claro): etapas + princípios */
.stats-band + .how { padding-top: clamp(40px, 5vw, 72px); }
.section--light .steps__bar { background: rgba(0, 0, 0, .14); }
.section--light .step { background: #fff; border: 1px solid rgba(0, 0, 0, .08); }
.section--light .step::before { background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .25); }
.section--light .step.is-active::before { background: var(--accent); box-shadow: none; }
.section--light .step__n { color: var(--ink); }
.section--light .step__n::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.section--light .step p { color: var(--ink-muted); }
.how__principles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px 48px; margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid rgba(0, 0, 0, .12); }
.how__ptitle { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.035em; font-weight: 500; line-height: 1.05; }
.principles-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.principles-list li { display: flex; gap: 16px; align-items: flex-start; }
.principles-list .sq { margin-top: .45em; width: 12px; height: 12px; }
.principles-list h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 6px; }
.principles-list p { color: var(--ink-muted); font-size: 15.5px; }
@media (max-width: 860px) { .how__principles, .principles-list { grid-template-columns: 1fr; } }

/* Notas */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 30px; min-height: 320px; background: var(--panel); border-radius: 2px; border: 1px solid transparent; transition: border-color .4s, transform .6s var(--ease); }
a.card:hover { border-color: rgba(var(--accent-rgb), .6); }
.card__meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); }
.card__title { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.08; letter-spacing: -0.03em; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__go { margin-top: auto; display: inline-flex; gap: 10px; align-items: center; font-size: 15px; }
.card__go .arrow { width: 14px; height: 14px; }
.card--soon { background: var(--panel-2); border: 1px dashed var(--line-2); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px 80px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 6px; }
.faq__item { background: var(--box); border: 1px solid rgba(255, 255, 255, .07); border-radius: 2px; transition: border-color .3s; }
.faq__item[open] { border-color: rgba(var(--accent-rgb), .45); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; background: var(--accent); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--accent-ink); transition: transform .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__body { padding: 0 64px 26px 28px; color: var(--muted); max-width: 66ch; }

/* Manifesto final com barras */
.statement { position: relative; overflow: hidden; padding-block: clamp(120px, 16vw, 230px); text-align: center; border-bottom: 3px solid var(--accent); }
.statement__inner { position: relative; z-index: 1; }
.statement__label { color: var(--accent-hi); font-size: 16px; font-weight: 500; margin-bottom: 26px; }
.statement__title { font-size: clamp(44px, 6.8vw, 110px); line-height: .94; letter-spacing: -0.045em; max-width: 13ch; margin-inline: auto; }
.statement__lead { font-size: clamp(17px, 1.5vw, 21px); margin: 22px auto 0; max-width: 34ch; }
.bars { position: absolute; top: 0; bottom: 0; width: 30%; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.bars--left { left: 0; padding-left: 8px; }
.bars--right { right: 0; padding-right: 8px; }
.bars i {
	position: relative; width: 2px; height: var(--h);
	background: linear-gradient(to bottom, rgba(var(--accent-rgb), .95), rgba(var(--accent-rgb), 0));
	border-radius: 2px;
	transform-origin: top;
	animation: bar-grow var(--dur) var(--ease-in-out) var(--delay) infinite alternate;
}
.bars i::after {
	content: ""; position: absolute; left: 50%; top: 0;
	width: var(--w); height: 34%;
	transform: translateX(-50%);
	background: var(--accent); border-radius: 99px;
	animation: bar-slide calc(var(--dur) * 1.3) var(--ease-in-out) var(--delay) infinite alternate;
}
@keyframes bar-grow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@keyframes bar-slide { from { top: 0; } to { top: 60%; } }
@media (max-width: 760px) { .bars { width: 22%; } .bars i:nth-child(even) { display: none; } }

/* ---------- Página de serviço ---------- */
.terminal { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-2); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.terminal__bar i { width: 10px; height: 10px; background: #2a2a2e; }
.terminal__bar i:first-child { background: var(--accent); }
.terminal__bar span { margin-left: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.terminal__body { padding: 8px 0; }
.terminal__line { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 12px 40px; padding: 22px 28px; border-bottom: 1px dashed var(--line); }
.terminal__line:last-child { border-bottom: 0; }
.terminal__key { font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.terminal__prompt { color: var(--accent-hi); }
.terminal__val { color: var(--muted); }
@media (max-width: 760px) { .terminal__line { grid-template-columns: 1fr; padding: 20px; } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 80px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.stack__item { font-family: var(--f-mono); font-size: 14px; padding: 14px 18px; background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: 2px; transition: border-color .3s, color .3s; }
.stack__item:hover { border-color: var(--accent); color: var(--accent-hi); }

.others__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.other { display: flex; flex-direction: column; gap: 8px; background: var(--panel); border-radius: var(--r); padding: 12px; }
.other .barlink { margin-top: auto; }
.other__art { padding: 28px 24px 20px; height: 260px; display: grid; place-items: center; }
.other__art .illus .iso { max-height: 210px; }
.other__art .illus { width: 100%; max-width: 220px; transition: transform .7s var(--ease); }
.other:hover .other__art .illus { transform: translateY(-6px); }
.barlink--static { height: 56px; font-size: 17px; }
.barlink--static .barlink__text { justify-content: flex-start; padding: 0 20px; }
@media (max-width: 900px) { .others__grid { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px 80px; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 6px; background: var(--panel); border-radius: var(--r); padding: 12px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 4px; border: 1px solid rgba(255, 255, 255, .07); padding: 18px 22px 12px; margin: 0; min-width: 0; background: var(--box); border-radius: 2px; transition: border-color .3s; }
.field:focus-within { border-color: var(--accent); }
.field label, .field legend { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0; }
fieldset.field legend { float: left; width: 100%; margin-bottom: 14px; }
fieldset.field .pills { clear: both; padding-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 19px; color: var(--fg); background: transparent; border: 0; border-radius: 0; padding: 6px 0 8px; appearance: none; letter-spacing: -0.01em; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--panel); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 2px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 15px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.pill span::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--muted); }
.pill input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pill input:checked + span::before { background: var(--accent-ink); border-color: var(--accent-ink); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .barlink { margin-top: 6px; }
.form__notice { padding: 16px 20px; background: var(--box); border-left: 3px solid var(--accent); font-size: 15.5px; }
.form__notice--err { border-left-color: #ff6b5e; }
.contact__aside { display: grid; gap: 48px; align-content: start; }
.next .box { align-items: flex-start; }
.next .step__n { margin: 2px 0 0; }
.next h3 { font-size: 21px; margin-bottom: 6px; letter-spacing: -0.025em; }
.next p { color: var(--muted); font-size: 15.5px; letter-spacing: 0; }
.direct { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.03em; }
.direct a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); overflow-wrap: anywhere; }
.direct a:hover { background-size: 100% 2px; }
.page-hero--contact .hero__lead { margin-top: 28px; color: var(--muted); max-width: 52ch; }

/* ---------- Conteúdo do editor ---------- */
.prose { max-width: 760px; font-size: 18px; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 38px; margin-top: 2em; }
.prose h3 { font-size: 27px; margin-top: 1.6em; }
.prose a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose blockquote { margin-left: 0; padding-left: 24px; border-left: 3px solid var(--accent); font-size: 26px; letter-spacing: -0.02em; }
.prose code { font-family: var(--f-mono); font-size: .9em; background: var(--panel); padding: 2px 6px; }
.prose pre { background: var(--panel-2); border: 1px solid var(--line); padding: 20px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose img { height: auto; }
.pagination { margin-top: 48px; font-family: var(--f-mono); font-size: 14px; }
.pagination .nav-links { display: flex; gap: 16px; }
.pagination .current { color: var(--accent-hi); }

/* ---------- Rodapé na cor de destaque ---------- */
.site-footer { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding-top: clamp(56px, 7vw, 96px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__claim { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.035em; max-width: 18ch; font-weight: 500; }
.footer__loc { margin-top: 18px; font-size: 15px; opacity: .7; }
.footer__title { font-size: 16px; opacity: .6; margin-bottom: 10px; }
.footer__col li + li { margin-top: 4px; }
.footer__col a { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.footer__col a:hover { background-size: 100% 1px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(56px, 8vw, 120px); font-size: 13.5px; opacity: .7; }
.footer__mark { display: block; color: var(--accent-ink); margin-top: 20px; height: calc((100vw - var(--gutter) - var(--gutter-r)) * 0.154); max-height: 216px; overflow: hidden; padding-inline: var(--gutter) var(--gutter-r); }
.footer__logo { width: 100%; max-width: calc(var(--wrap) + 80px); margin-inline: auto; height: auto; transform: translateY(var(--fy, 0%)); transition: transform .2s linear; }
@media (max-width: 860px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__intro { grid-column: 1 / -1; } }

/* ---------- Ilustrações isométricas ---------- */
.illus { position: relative; }
.illus .iso { width: 100%; height: auto; }
.iso--voxel { display: none; }
[data-illus="voxel"] .iso--solid { display: none; }
[data-illus="voxel"] .iso--voxel { display: block; }
.iso { overflow: visible; stroke-linejoin: round; }
.iso polygon { stroke: #0a0a0a; stroke-width: 1.1; }
.iso .hatch, .iso .grid { display: none; }

/* Módulos (padrão): sólidos, painel rebaixado no topo e nós de conexão */
.tone-gray .t { fill: #6f7178; }
.tone-gray .l { fill: #55575d; }
.tone-gray .r { fill: #44464b; }
.tone-gray .grid { display: block; stroke: rgba(0, 0, 0, .28); stroke-width: 1; }
.tone-black .t { fill: #141416; }
.tone-black .l { fill: #0a0a0b; }
.tone-black .r { fill: #000; }
.tone-black polygon { stroke: #5c5c63; }
.tone-black .p { fill: #1d1d20; }
.tone-accent .t { fill: var(--accent); }
.tone-accent .l { fill: color-mix(in srgb, var(--accent) 78%, #000); }
.tone-accent .r { fill: color-mix(in srgb, var(--accent) 60%, #000); }
.tone-accent .p { fill: color-mix(in srgb, var(--accent) 86%, #fff); }
.tone-white .t { fill: #ededee; }
.tone-white .l { fill: #c6c6cb; }
.tone-white .r { fill: #a5a5ab; }
.tone-white .p { fill: #f8f8f8; }
.tone-ghost polygon { fill: none; stroke: #8a8a90; stroke-dasharray: 4 4; }
.tone-dark .t { fill: #34363c; }
.tone-dark .l { fill: #26272c; }
.tone-dark .r { fill: #1c1d21; }
.tone-doc .t { fill: #222328; }
.tone-doc .l, .tone-doc .r { fill: #18191c; }
.iso .p { stroke-width: .8; }
.iso-guide { stroke: #8a8a90; stroke-width: 1; stroke-dasharray: 3 3; }
.iso-line { stroke: #50535b; stroke-width: 5; stroke-linecap: round; }
.node-ring { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.tone-accent .node-ring { stroke: var(--accent-ink); opacity: .55; }
.node { fill: var(--accent); }
.tone-accent .node { fill: var(--accent-ink); }
.link { stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 2 4; stroke-linecap: round; animation: link-flow 1.6s linear infinite; }
@keyframes link-flow { to { stroke-dashoffset: -12; } }

/* Blueprint: desenho técnico em traço, com hachura e destaque em contorno */
[data-illus="blueprint"] .iso polygon { fill: var(--bg, #000); stroke: #7d8089; stroke-width: 1; }
[data-illus="blueprint"] .iso .p { fill: none; stroke: #3d3f45; stroke-dasharray: 2 3; }
[data-illus="blueprint"] .iso .hatch { display: block; stroke: #3a3c42; stroke-width: 1; }
[data-illus="blueprint"] .iso .grid { display: block; stroke: #26272b; }
[data-illus="blueprint"] .tone-accent polygon { stroke: var(--accent); fill: rgba(var(--accent-rgb), .1); }
[data-illus="blueprint"] .tone-accent .t { fill: rgba(var(--accent-rgb), .22); }
[data-illus="blueprint"] .tone-accent .hatch { stroke: rgba(var(--accent-rgb), .6); }
[data-illus="blueprint"] .tone-accent .p { stroke: var(--accent); }
[data-illus="blueprint"] .tone-accent .node { fill: var(--accent); }
[data-illus="blueprint"] .tone-accent .node-ring { stroke: var(--accent); opacity: 1; }
[data-illus="blueprint"] .tone-white polygon { stroke: #d6d6da; }
[data-illus="blueprint"] .tone-ghost polygon { fill: none; stroke: #5d6068; }
[data-illus="blueprint"] .iso-line { stroke: #3d3f45; stroke-width: 3; }

/* Voxel: cubos com folga, sem traço preto */
.iso--voxel polygon { stroke: rgba(0, 0, 0, .55); stroke-width: .8; }
.iso--voxel .tone-black polygon { stroke: #45454b; }

/* Seção clara */
.section--light .tone-black polygon { stroke: #0a0a0a; }
.section--light .iso-guide { stroke: #6d6d73; }
[data-illus="blueprint"] .section--light .iso polygon { fill: var(--paper); stroke: #55585f; }
[data-illus="blueprint"] .section--light .iso .hatch { stroke: #c4c4c8; }
[data-illus="blueprint"] .section--light .tone-accent polygon { stroke: var(--accent); fill: rgba(var(--accent-rgb), .12); }

/* Montagem: as peças descem no lugar quando a ilustração aparece */
.js .iso .iso-b { transition: transform 1s var(--ease, ease), opacity .8s var(--ease, ease); transition-delay: calc(var(--k) * 130ms + 150ms); }
.js .reveal.pending .iso .iso-b, .js [data-fade]:not(.is-in) .iso .iso-b { transform: translateY(-36px); opacity: 0; }
.iso-float { animation: iso-float 4.5s ease-in-out infinite; }
@keyframes iso-float { 50% { translate: 0 -8px; } }

/* ---------- Variações de hero ---------- */
.hero[data-hero-variant] { display: none; }
[data-hero="1"] .hero--v1, [data-hero="2"] .hero--v2, [data-hero="3"] .hero--v3, [data-hero="4"] .hero--v4 { display: flex; }
.hero__title--left { text-align: left; max-width: 12ch; }
.hero--v2 .hero__lead, .hero--service .hero__lead, .hero--v3 .hero__lead { margin-inline: 0; color: var(--muted); max-width: 46ch; text-align: left; }
.hero--v2, .hero--service, .hero--v3, .hero--v4 { text-align: left; align-items: center; padding-top: 150px; }
.hero--v2::after, .hero--v3::after, .hero--v4::after { display: none; }

/* 2 · Montagem: texto à esquerda com espaço, composição isométrica à direita, campo de traços ao fundo */
.hero--v2::after, .hero--service::after {
	display: block; inset: 0; height: auto;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .7) 38%, rgba(0, 0, 0, .15) 70%, transparent 100%),
		linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, .85) 100%);
}
.hero2 { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px 48px; align-items: center; }
.hero2 .hero__title { font-size: clamp(44px, 6vw, 104px); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; }
.hero--v2 .hero__lead, .hero--service .hero__lead { margin-top: 36px; max-width: 48ch; line-height: 1.5; }
.hero2 .btn-row { margin-top: 44px; }
.hero2__art .illus { width: 106%; max-width: 740px; margin-left: auto; margin-right: -3%; }
.pulse { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); animation: pulse 2s infinite; flex: none; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
@media (max-width: 960px) {
	.hero2 { grid-template-columns: 1fr; }
	.hero2__art .illus { width: 100%; margin-inline: auto; max-width: 480px; }
	.hero--v2::after, .hero--service::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, .8)); }
}

/* 3 · Terminal: o projeto sendo "construído" em tempo real */
.hero--v3 { background: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px) 0 0 / 22px 22px; }
.hero3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 48px 64px; align-items: center; }
.hero3 .hero__title { font-size: clamp(44px, 6.4vw, 108px); }
.console { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 120px rgba(var(--accent-rgb), .12); }
.console__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--panel); }
.console__bar i { width: 10px; height: 10px; background: #2c2c30; }
.console__bar i:first-child { background: var(--accent); }
.console__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.console__body { padding: 22px 24px 18px; font-family: var(--f-mono); font-size: clamp(12.5px, 1vw, 14.5px); line-height: 1.5; min-height: 258px; }
.console__body p { display: flex; gap: 10px; padding: 4px 0; color: var(--muted); }
.console__body p b { margin-left: auto; font-weight: 500; color: var(--accent-hi); }
.console__cmd { color: var(--fg) !important; margin-bottom: 8px; }
.console__p, .console__k { color: var(--accent-hi); }
.console__s { color: var(--fg); opacity: .7; }
.console__done { color: var(--fg) !important; }
.console__cursor { display: inline-block; width: 9px; height: 1.1em; background: var(--accent); margin-left: 4px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console__meter { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 24px 18px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.console__meter i { height: 4px; background: var(--line-2); position: relative; overflow: hidden; }
.console__meter b { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--cp, 1)); transition: transform .4s var(--ease); }
.console__pct { color: var(--fg); font-variant-numeric: tabular-nums; }
.js .console p.is-hidden { visibility: hidden; }
@media (max-width: 960px) { .hero3 { grid-template-columns: 1fr; } }

/* 4 · Tipográfico: a palavra "Builders" ocupando a largura toda */
.hero--v4 { align-items: stretch; padding-bottom: clamp(40px, 5vw, 72px); }
.hero4 { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; width: 100%; }
.hero4__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero4__top .label { margin: 0; }
.hero4__status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero4__giant { font-family: var(--f-display); font-weight: 500; font-size: min(31.5vw, 540px); line-height: .8; letter-spacing: -0.065em; margin-left: -0.04em; white-space: nowrap; }
.hero4__dot { display: inline-block; width: .16em; height: .16em; background: var(--accent); margin-left: .04em; animation: blink 1.1s steps(1) infinite; }
.hero4__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; border-top: 1px solid var(--line-2); padding-top: 28px; }
.hero4__title { font-size: clamp(28px, 3.2vw, 50px); line-height: 1.02; letter-spacing: -0.04em; max-width: 16ch; }
.hero4__bottom .hero__lead { margin: 0; color: var(--muted); max-width: 46ch; }
.hero4__bottom .btn-row { margin-top: 24px; }
.hero4__scan { position: absolute; left: 0; right: 0; height: 1px; top: 0; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .8), transparent); animation: scan 7s var(--ease-in-out) infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(80px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(92vh); opacity: 0; } }
@media (max-width: 860px) { .hero4__bottom { grid-template-columns: 1fr; } }

/* ---------- Painel de testes ---------- */
.switcher {
	position: fixed; z-index: 80;
	right: max(16px, env(safe-area-inset-right, 0px));
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	width: min(320px, calc(100vw - 32px));
	background: rgba(22, 22, 24, .94);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--line-2);
	border-radius: 4px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, .55);
	color: var(--fg);
	font-size: 13px;
}
.switcher__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.switcher__toggle .sq { width: 10px; height: 10px; }
.switcher__toggle span { display: inline-flex; align-items: center; gap: 10px; }
.switcher__chev { transition: transform .4s var(--ease); }
.switcher.is-collapsed .switcher__chev { transform: rotate(180deg); }
.switcher__body { display: grid; gap: 14px; padding: 0 14px 14px; }
.switcher.is-collapsed .switcher__body { display: none; }
.switcher__group { display: grid; gap: 8px; }
.switcher__head { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.switcher__head b { color: var(--fg); font-weight: 500; }
.switcher__row { display: flex; flex-wrap: wrap; gap: 6px; }
.switcher__dot { width: 28px; height: 28px; border-radius: 2px; background: var(--dot); box-shadow: 0 0 0 2px #161618; transition: transform .25s var(--ease), box-shadow .25s; }
.switcher__dot:hover { transform: scale(1.08); }
.switcher__dot[aria-pressed="true"] { box-shadow: 0 0 0 2px #161618, 0 0 0 3.5px var(--fg); }
.switcher__opt { flex: 1 1 auto; height: 32px; padding: 0 10px; border-radius: 2px; background: var(--panel); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); transition: background-color .25s, color .25s, border-color .25s; }
.switcher__opt:hover { color: var(--fg); }
.switcher__opt[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Revelação ao rolar ---------- */
.js .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.pending { opacity: 0; transform: translateY(26px); }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-split] .w > span, .js [data-fade], .js .reveal.pending, .js .iso .iso-b { transform: none !important; opacity: 1 !important; }
}

/* ---------- Blog ---------- */
.barlink--inline { width: min(100%, 320px); height: 56px; font-size: 16px; }
.barlink--inline .barlink__text { justify-content: flex-start; padding: 0 20px; }
.blog-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.blog-hero__grid .section__lead { margin: 0; }
.blog-cats, .gal-ctl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 4vw, 48px); }
.chip {
	display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
	font: 500 15px var(--f-body); letter-spacing: -0.01em; color: var(--fg);
	background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer;
	transition: border-color .3s, background-color .3s, color .3s;
}
.chip:hover { border-color: rgba(var(--accent-rgb), .7); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.chip:focus-visible, .gal-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.post-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid transparent; border-radius: 2px; transition: border-color .4s; min-width: 0; }
.post-card:hover { border-color: rgba(var(--accent-rgb), .6); }
.post-card__art { display: grid; place-items: center; padding: 36px 32px 20px; background: var(--panel-2); aspect-ratio: 4 / 3; max-width: 100%; }
.post-card__art .illus { width: 100%; max-width: 250px; transition: transform .7s var(--ease); }
.post-card:hover .post-card__art .illus { transform: translateY(-6px); }
.post-card__body { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 28px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card__meta b { font-weight: 500; color: var(--accent-hi); }
.post-card__title { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; text-wrap: pretty; max-width: 26ch; }
.post-card p { color: var(--muted); font-size: 16.5px; max-width: 52ch; }
.post-card__go { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 10px; align-items: center; font-size: 15px; }
.post-card__go .arrow { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.post-card:hover .post-card__go .arrow { transform: translateX(5px); }
.post-card--feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 6px; }
.post-card--feature .post-card__art { aspect-ratio: auto; min-height: 420px; }
.post-card--feature .post-card__art .illus { max-width: 400px; }
.post-card--feature .post-card__body { padding: clamp(28px, 4vw, 56px); justify-content: center; gap: 20px; }
.post-card--feature .post-card__title { font-size: clamp(30px, 3.2vw, 48px); }
.post-card--feature .post-card__go { margin-top: 12px; flex: none; }
.blog-empty { display: grid; justify-items: center; gap: 24px; text-align: center; padding-block: 40px; }
.blog-empty .illus { width: min(100%, 320px); }

.post-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.post-hero__back { display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 15px; color: var(--muted); transition: color .3s; }
.post-hero__back:hover { color: var(--fg); }
.post-hero__back .arrow { width: 14px; height: 14px; transform: rotate(180deg); }
.post-hero__art .illus { width: 100%; max-width: 420px; margin-left: auto; }
.page-hero__title--post { font-size: clamp(38px, 4.6vw, 68px); text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.post-meta dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.post-meta dd { margin: 4px 0 0; font-size: 16px; }
.post-body { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.post-body .prose { min-width: 0; }
.post-aside { position: sticky; top: 120px; display: grid; gap: 16px; justify-items: start; padding: 28px; background: var(--panel); border-radius: 2px; max-width: 340px; justify-self: end; }
.post-aside__k { font-size: 21px; letter-spacing: -0.025em; line-height: 1.15; }
.related { padding-top: 0; }

@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
	.blog-hero__grid, .post-hero__grid, .post-body { grid-template-columns: 1fr; }
	.post-card--feature { grid-template-columns: 1fr; }
	.post-card--feature .post-card__art { min-height: 0; aspect-ratio: 4 / 3; }
	.post-hero__art .illus { margin-inline: auto; max-width: 340px; }
	.post-aside { position: static; justify-self: stretch; max-width: none; }
}
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Biblioteca de ilustrações ---------- */
.gal-ctl { gap: 12px 32px; }
.gal-ctl__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gal-ctl__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-right: 6px; }
.gal-act { height: 36px; padding: 0 14px; font: 500 14px var(--f-body); color: var(--fg); background: transparent; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: border-color .3s, background-color .3s; font-variant-numeric: tabular-nums; }
.gal-act:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); }
.gal-act:disabled { cursor: progress; opacity: .8; }
.lib-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 1280px) { .lib-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lib-grid { grid-template-columns: 1fr; } }
.lib-card { display: grid; grid-template-rows: 1fr auto auto; background: var(--panel-2); border-radius: 2px; min-width: 0; }
.lib-card__art { display: grid; place-items: center; padding: 32px 22px 14px; min-height: 260px; border-radius: 2px 2px 0 0; transition: background-color .3s; }
.lib-card__art .illus { width: 100%; max-width: 270px; }
.lib .iso { overflow: visible; }
.lib .iso-float { animation: none; }
.lib-card__body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 18px 18px 14px; border-top: 1px solid var(--line); }
.lib-card__n { font-family: var(--f-mono); font-size: 12px; color: var(--accent-hi); padding-top: 5px; }
.lib-card__title { font-size: 20px; letter-spacing: -0.025em; font-weight: 500; }
.lib-card p { color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.45; }
.lib-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 18px 20px; }
.lib-card__foot .gal-act { padding: 0 12px; }
.lib-note { margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.lib--light .lib-card__art { background: var(--paper); }
.lib--light .tone-black polygon { stroke: #0a0a0a; }
.lib--transparent .lib-card__art {
	background-color: #1a1a1c;
	background-image: linear-gradient(45deg, #26262a 25%, transparent 25%), linear-gradient(-45deg, #26262a 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #26262a 75%), linear-gradient(-45deg, transparent 75%, #26262a 75%);
	background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

/* Biblioteca: Voxel ou Blueprint, independente do estilo do site */
.lib .illus .iso--solid { display: none; }
.lib .illus .iso--voxel { display: block; }
.lib--blueprint .illus .iso--voxel { display: none; }
.lib--blueprint .illus .iso--solid { display: block; }
.lib--blueprint .link { animation: none; }
.lib--blueprint .iso polygon { fill: var(--bg, #000); stroke: #7d8089; stroke-width: 1; }
.lib--blueprint .iso .p { fill: none; stroke: #3d3f45; stroke-dasharray: 2 3; }
.lib--blueprint .iso .hatch { display: block; stroke: #3a3c42; stroke-width: 1; }
.lib--blueprint .iso .grid { display: block; stroke: #26272b; }
.lib--blueprint .tone-accent polygon { stroke: var(--accent); fill: rgba(var(--accent-rgb), .1); }
.lib--blueprint .tone-accent .t { fill: rgba(var(--accent-rgb), .22); }
.lib--blueprint .tone-accent .hatch { stroke: rgba(var(--accent-rgb), .6); }
.lib--blueprint .tone-accent .p { stroke: var(--accent); }
.lib--blueprint .tone-accent .node { fill: var(--accent); }
.lib--blueprint .tone-accent .node-ring { stroke: var(--accent); opacity: 1; }
.lib--blueprint .tone-white polygon { stroke: #d6d6da; }
.lib--blueprint .tone-ghost polygon { fill: none; stroke: #5d6068; }
.lib--blueprint .iso-line { stroke: #3d3f45; stroke-width: 3; }
.lib--blueprint.lib--light .iso polygon { fill: var(--paper); stroke: #55585f; }
.lib--blueprint.lib--light .iso .hatch { stroke: #c4c4c8; }
.lib--blueprint.lib--light .tone-accent polygon { stroke: var(--accent); fill: rgba(var(--accent-rgb), .12); }
.lib--blueprint.lib--light .tone-white polygon { stroke: #55585f; }
.lib-card__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); align-self: center; margin-right: 4px; }
@media (max-width: 640px) { .lib-card__art { min-height: 0; } .lib-card__foot { padding-left: 22px; } }

/* ---------- Páginas de serviço ---------- */
.hero--service { min-height: min(100svh, 940px); }
.hero__title--svc { font-size: clamp(40px, 4.7vw, 78px) !important; line-height: 1.04; max-width: 15ch; text-wrap: balance; }
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.svc-split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.svc-split__art .illus { width: 100%; max-width: 620px; margin-inline: auto; }
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin-top: clamp(32px, 4vw, 48px); }
.pains li { display: flex; gap: 16px; align-items: flex-start; }
.pains .sq { margin-top: .4em; width: 12px; height: 12px; }
.pains h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 8px; }
.pains p { color: var(--ink-muted); font-size: 15.5px; line-height: 1.5; }
.boxes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-values { margin-top: clamp(32px, 4vw, 48px); }
.svc-values .box--tall { min-height: 220px; }
.deliv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.deliv li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; padding: 28px 0 32px; border-top: 1px solid var(--line-2); }
.deliv__n { font-family: var(--f-mono); font-size: 12px; color: var(--accent-hi); padding-top: 6px; grid-row: span 2; }
.deliv h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.15; }
.deliv p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.svc-for { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px 64px; align-items: start; }
@media (max-width: 1000px) {
	.svc-split, .svc-split--rev, .svc-for { grid-template-columns: 1fr; }
	.svc-split--rev .svc-split__art { order: -1; }
	.svc-split__art .illus { max-width: 440px; }
	.deliv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .pains, .boxes--2, .deliv { grid-template-columns: 1fr; } .svc-values .box--tall { min-height: 0; } }

/* Blog na home */
.notes .section__head .h2 { max-width: 18ch; }
.notes__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.notes__more .barlink { grid-column: 3; }
@media (max-width: 1100px) { .notes__more { grid-template-columns: repeat(2, minmax(0, 1fr)); } .notes__more .barlink { grid-column: 2; } }
@media (max-width: 680px) { .notes__more { grid-template-columns: 1fr; } .notes__more .barlink { grid-column: 1; } }
