/* Tumim Tech · estilo técnico: linhas finas, fonte de código, nada de vidro */
:root {
  --fundo: #0A191E;
  --fundo-2: #1E293B;
  --cartao: #0D1F25;          /* um degrau acima do fundo */
  --texto: #E2E8F0;
  --texto-suave: #8FA3AE;
  --acento: #00FFA8;          /* menta: ação principal, status, cursor */
  --primaria: #00BFA6;        /* verde: linhas, índices, ícones */
  --acento-texto: #0A191E;
  --linha: rgb(143 163 174 / .16);
  --linha-forte: rgb(143 163 174 / .28);
  --painel: rgb(30 41 59 / .58);

  --fonte-titulo: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --fonte-texto: "Inter", system-ui, sans-serif;

  --raio: 8px;
  --gutter: clamp(16px, 4vw, 56px);
  --largura: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 clamp(16px, 1.05vw, 17px)/1.65 var(--fonte-texto);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 84px); }
h2 { font-size: clamp(30px, 3.8vw, 56px); }
h3 { font-size: clamp(18px, 1.4vw, 21px); letter-spacing: -.025em; }
p { margin: 0 0 1em; color: var(--texto-suave); text-wrap: pretty; }

.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--acento); color: var(--acento-texto); padding: 10px 14px; border-radius: 4px; font: 500 14px/1 var(--fonte-titulo); text-decoration: none; }
.pular:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--primaria); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--largura) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Logo ─────────────────────────────────────────────────────────────── */
.tumim-logo { display: inline-flex; align-items: center; font: 400 21px/1 var(--fonte-titulo); letter-spacing: -.04em; white-space: nowrap; }
.tumim-logo .p { color: var(--primaria); font-weight: 800; margin-right: .35em; }
.tumim-logo .n { color: var(--texto); font-weight: 800; }
.tumim-logo .d { color: var(--texto-suave); }
.tumim-logo .c { display: inline-block; width: .47em; height: 1em; margin-left: .15em; background: var(--acento); animation: cursor 1.1s steps(1) infinite; }
@keyframes cursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.tumim-logo--rodape { font-size: 19px; }

/* ── Botões ───────────────────────────────────────────────────────────── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 14px/1 var(--fonte-titulo); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  color: var(--acento-texto); background: var(--acento); border: 1px solid var(--acento); border-radius: 4px;
  padding: 16px 24px; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.botao::after { content: "→"; transition: transform .25s var(--ease); }
.botao:hover { box-shadow: 0 0 0 4px rgb(0 255 168 / .14); }
.botao:hover::after { transform: translateX(3px); }
.botao:active { transform: translateY(1px) scale(.99); }
.botao--linha { background: transparent; color: var(--texto); border-color: var(--linha-forte); }
.botao--linha:hover { border-color: var(--acento); color: var(--acento); box-shadow: none; }
.botao--p { padding: 11px 16px; font-size: 13px; white-space: nowrap; }
@media (max-width: 380px) { .botao--p { padding: 10px 11px; font-size: 12px; } .botao--p::after { display: none; } }

/* ── Topo ─────────────────────────────────────────────────────────────── */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topo.rolou { background: rgb(10 25 30 / .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--linha); }
.topo-faixa { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px var(--gutter); max-width: calc(var(--largura) + 2 * var(--gutter)); margin: 0 auto; }
.topo-faixa > .botao { justify-self: end; }
.marca { text-decoration: none; display: flex; align-items: center; justify-self: start; }
.menu { display: flex; gap: 4px; }
.menu a { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 14px; border-radius: 4px; text-decoration: none; font: 400 13px/1 var(--fonte-titulo); color: var(--texto-suave); transition: color .2s, background .2s; }
.menu a span { color: var(--primaria); font-size: 11px; }
.menu a:hover { color: var(--texto); background: rgb(143 163 174 / .08); }
@media (max-width: 900px) { .menu { display: none; } .topo-faixa { grid-template-columns: 1fr auto; } }

/* ── Abertura ─────────────────────────────────────────────────────────── */
.cine { position: relative; height: var(--altura, 400vh); }
.cine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-vinheta {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(10 25 30 / .82) 0%, rgb(10 25 30 / .35) 42%, transparent 70%),
    linear-gradient(to top, var(--fundo) 0%, transparent 38%),
    linear-gradient(to bottom, rgb(10 25 30 / .55), transparent 22%);
}
.cine-hud {
  position: absolute; left: var(--gutter); right: calc(var(--gutter) + 64px); bottom: 26px; z-index: 2;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  font: 400 11px/1 var(--fonte-titulo); letter-spacing: .06em; color: var(--texto-suave); pointer-events: none;
}
.cine-hud__barra { height: 1px; background: var(--linha); position: relative; }
.cine-hud__barra i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--primaria); }
.momento {
  position: absolute; left: var(--gutter); bottom: 15vh; max-width: 720px; z-index: 2;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.momento.ativo { opacity: 1; transform: none; pointer-events: auto; }
.momento--direita { left: auto; right: var(--gutter); max-width: 520px; }
.momento--centro { left: var(--gutter); right: var(--gutter); max-width: 760px; margin: 0 auto; text-align: center; }
.momento-rotulo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 400 12px/1 var(--fonte-titulo); letter-spacing: .08em; text-transform: uppercase; color: var(--primaria); }
.momento-rotulo::before { content: ""; width: 24px; height: 1px; background: var(--primaria); }
.titulo-abertura { margin-bottom: .35em; text-shadow: 0 2px 30px rgb(10 25 30 / .6); }
.apoio { font-size: clamp(16px, 1.25vw, 19px); margin: 0; max-width: 520px; color: var(--texto); opacity: .82; }
.destaque { font: 400 clamp(20px, 2vw, 30px)/1.3 var(--fonte-titulo); letter-spacing: -.03em; color: var(--texto); margin: 0; text-shadow: 0 2px 24px rgb(10 25 30 / .7); }
.destaque--grande { font-weight: 800; font-size: clamp(25px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 28px; }
.momento--direita .destaque { padding-left: 18px; border-left: 1px solid var(--primaria); }
.cine-dica {
  position: absolute; bottom: 58px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: grid; justify-items: center; gap: 8px; font: 400 10px/1 var(--fonte-titulo); letter-spacing: .3em; text-transform: uppercase; opacity: .6;
  transition: opacity .5s;
}
.cine-dica span { width: 1px; height: 32px; background: linear-gradient(var(--texto), transparent); animation: dica 2s var(--ease) infinite; }
@keyframes dica { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.cine.andou .cine-dica { opacity: 0; }

/* ── Seções ───────────────────────────────────────────────────────────── */
.secao { position: relative; padding: clamp(96px, 14vh, 150px) 0; }
.secao + .secao { border-top: 1px solid var(--linha); }
.secao-cab { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); font: 400 12px/1 var(--fonte-titulo); letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); }
.secao-num { color: var(--primaria); }
.secao-cab::after { content: ""; flex: 1; height: 1px; background: var(--linha); order: 2; }
.secao-meta { order: 3; }
.secao h2 { max-width: 16ch; }

/* 01 manifesto */
.duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.texto p { max-width: 54ch; font-size: clamp(16px, 1.1vw, 18px); }
.texto h2 { margin-bottom: 28px; }

.term { background: #071216; border: 1px solid var(--linha-forte); border-radius: var(--raio); overflow: hidden; font: 400 13px/1.7 var(--fonte-titulo); box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
.term-cab { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--linha); color: var(--texto-suave); font-size: 12px; }
.term-cab b { color: var(--texto); font-weight: 500; }
.term-pontos { display: inline-flex; gap: 6px; }
.term-pontos i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--linha-forte); }
.term-ramo { margin-left: auto; padding: 3px 8px; border: 1px solid var(--linha); border-radius: 4px; font-size: 11px; }
.term-tela { padding: 18px 18px 22px; min-height: 236px; }
.term-tela p { margin: 0; color: var(--texto-suave); }
.term-cmd { color: var(--texto) !important; margin-bottom: 8px !important; }
.term-cwd { color: var(--primaria); }
.term-sig { color: var(--texto-suave); }
.term-caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -3px; margin-left: 2px; background: var(--acento); animation: cursor 1.1s steps(1) infinite; }
.term-ln { display: flex; gap: 10px; }
.term-ln .ok { color: var(--acento); }
.term-ln b { color: var(--texto); font-weight: 500; }
.term-ln .t { margin-left: auto; color: rgb(143 163 174 / .7); }
.term-fim { margin-top: 10px !important; padding-top: 12px; border-top: 1px dashed var(--linha); color: var(--texto) !important; }
.term-tag { background: var(--acento); color: var(--acento-texto); font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 3px; }
.term.js [data-term-ln] { opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.term.js [data-term-ln].on { opacity: 1; transform: none; }

/* 02 serviços */
.cartoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.cartao { background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); padding: 8px 8px 28px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .04); }
.cartao h3 { margin: 24px 20px 8px; }
.cartao p { margin: 0 20px; font-size: 15.5px; line-height: 1.6; color: rgb(226 232 240 / .78); }
.cartao-painel {
  position: relative; height: 240px; border-radius: 5px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, rgb(0 191 166 / .16), transparent 60%),
    radial-gradient(80% 80% at 100% 100%, rgb(0 255 168 / .08), transparent 60%),
    #0B232A;
}
.cartao-painel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(226 232 240 / .06); pointer-events: none; }

.frag { position: absolute; background: #0A1A1F; border: 1px solid rgb(226 232 240 / .12); border-radius: 8px; box-shadow: 0 20px 50px rgb(0 0 0 / .45); font: 400 12px/1.6 var(--fonte-titulo); color: var(--texto-suave); }
.frag-codigo { left: 24px; top: 28px; right: -40px; bottom: -20px; }
.frag-abas { display: flex; border-bottom: 1px solid rgb(226 232 240 / .08); font-size: 11px; }
.frag-abas span { padding: 9px 14px; border-right: 1px solid rgb(226 232 240 / .08); }
.frag-abas .on { color: var(--texto); box-shadow: inset 0 -1px 0 var(--primaria); }
.frag-codigo pre { margin: 0; padding: 12px 0; white-space: pre; overflow: hidden; }
.frag-codigo .ln { display: inline-block; width: 34px; padding-right: 12px; text-align: right; color: rgb(143 163 174 / .45); }
.frag-codigo .ln.mark { color: var(--acento); box-shadow: inset 2px 0 0 var(--acento); }
.frag-codigo .tg { color: #7dd3c6; }
.frag-codigo .at { color: var(--texto-suave); }
.frag-codigo .st { color: var(--acento); }

.frag-app { left: 24px; right: 24px; top: 32px; overflow: hidden; }
.frag-app__cab { display: flex; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid rgb(226 232 240 / .08); }
.frag-app__cab b { color: var(--texto); font-weight: 500; }
.frag-app__lin { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid rgb(226 232 240 / .05); }
.frag-app__lin span:nth-child(2) { color: var(--texto); font-family: var(--fonte-texto); font-size: 13px; }
.frag-app__lin.is-on { background: rgb(0 191 166 / .08); box-shadow: inset 2px 0 0 var(--primaria); }
.chip { font-size: 10.5px; padding: 2px 8px; border-radius: 4px; border: 1px solid rgb(226 232 240 / .14); }
.chip--ok { color: var(--texto); }
.chip--vai { color: var(--acento-texto); background: var(--acento); border-color: var(--acento); }

.diag { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); }
.diag-linhas path { fill: none; stroke: rgb(143 163 174 / .3); stroke-width: 1.2; }
.diag-pulsos path { fill: none; stroke: var(--acento); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 100; stroke-dashoffset: 14; filter: drop-shadow(0 0 4px rgb(0 255 168 / .8)); animation: pulso-linha 3.2s var(--d, 0s) linear infinite; }
@keyframes pulso-linha { 0% { stroke-dashoffset: 14; opacity: 1; } 55% { stroke-dashoffset: -100; opacity: 1; } 56%, 100% { opacity: 0; stroke-dashoffset: -100; } }
.diag-tile { fill: #E8EEF2; }
.diag-nucleo { fill: #0A1A1F; stroke: var(--primaria); stroke-width: 1.2; }
.diag-nucleo-txt { fill: var(--acento); font: 500 13px var(--fonte-titulo); }

/* 03 processo */
.pipeline { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.pipeline::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: var(--linha-forte); }
.pipeline::after { content: ""; position: absolute; left: 0; top: 14px; height: 3px; width: 18%; background: linear-gradient(90deg, transparent, var(--acento)); border-radius: 3px; filter: drop-shadow(0 0 6px rgb(0 255 168 / .7)); animation: pipe 4s linear infinite; }
@keyframes pipe { from { transform: translateX(-100%); } to { transform: translateX(560%); } }
.pipeline li { position: relative; padding-right: clamp(16px, 2vw, 32px); display: grid; align-content: start; gap: 10px; }
.pipe-no { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 18px; border: 1px solid var(--primaria); border-radius: 4px; background: var(--fundo); font: 500 12px/1 var(--fonte-titulo); color: var(--primaria); position: relative; z-index: 1; }
.pipeline strong { font: 800 17px/1.2 var(--fonte-titulo); letter-spacing: -.03em; }
.pipeline li > span:last-child { color: var(--texto-suave); font-size: 15px; line-height: 1.6; }

/* 05 contato */
.contato { display: grid; justify-items: center; text-align: center; padding: clamp(8px, 3vw, 40px) 0 0; }
.contato-titulo { max-width: none !important; font-size: clamp(34px, 6vw, 92px); margin-bottom: 24px; }
.cursor-bloco { display: inline-block; width: .5em; height: .85em; margin-left: .12em; vertical-align: -.05em; background: var(--acento); animation: cursor 1.1s steps(1) infinite; }
.contato p { max-width: 56ch; font-size: clamp(16px, 1.15vw, 18px); }
.contato-acoes { display: flex; justify-content: center; margin-top: 18px; }

/* ── Rodapé ───────────────────────────────────────────────────────────── */
.rodape { position: relative; border-top: 1px solid var(--linha); padding: clamp(64px, 9vw, 112px) 0 24px; overflow: hidden; }

/* terminal interativo */
.cli { background: #071216; border: 1px solid var(--linha-forte); border-radius: var(--raio); font: 400 14px/1.7 var(--fonte-titulo); overflow: hidden; }
.cli-cab { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--linha); font-size: 12px; color: var(--texto-suave); }
.cli-dica { margin-left: auto; color: rgb(143 163 174 / .6); }
.cli-tela { height: 220px; overflow-y: auto; padding: 18px 18px 6px; scrollbar-width: thin; scrollbar-color: var(--linha-forte) transparent; }
.cli-tela p { margin: 0 0 2px; color: var(--texto-suave); white-space: pre-wrap; }
.cli-tela b { color: var(--texto); font-weight: 500; }
.cli-tela a { color: var(--acento); text-decoration: none; border-bottom: 1px solid rgb(0 255 168 / .35); }
.cli-tela a:hover { border-color: var(--acento); }
.cli-tela .cli-eco { color: var(--texto); margin-top: 10px; }
.cli-tela .cli-eco span { color: var(--primaria); }
.cli-tela .cli-erro { color: #f0a58f; }
.cli-linha { display: flex; align-items: center; gap: 10px; padding: 10px 18px 14px; }
.cli-prompt { color: var(--primaria); white-space: nowrap; }
.cli-linha input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--texto); font: inherit; caret-color: var(--acento); padding: 8px 0; }
.cli-linha input::placeholder { color: rgb(143 163 174 / .4); }
.cli-enviar { width: 40px; height: 40px; border-radius: 4px; border: 1px solid var(--linha-forte); background: transparent; color: var(--texto-suave); font: inherit; cursor: pointer; transition: border-color .2s, color .2s; }
.cli-enviar:hover { border-color: var(--acento); color: var(--acento); }
.cli-atalhos { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--linha); }
.cli-atalhos button { font: 400 12.5px/1 var(--fonte-titulo); color: var(--texto-suave); background: transparent; border: 1px solid var(--linha); border-radius: 4px; padding: 11px 14px; cursor: pointer; transition: color .2s, border-color .2s, transform .2s; }
.cli-atalhos button::before { content: "> "; color: var(--primaria); }
.cli-atalhos button:hover { color: var(--texto); border-color: var(--primaria); transform: translateY(-1px); }
.cli-atalhos button:active { transform: translateY(1px); }

/* colunas */
.rodape-grade { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-top: clamp(56px, 7vw, 88px); }
.rodape-marca p { margin: 16px 0 0; max-width: 34ch; font-size: 15px; }
.rodape-col { display: grid; align-content: start; gap: 2px; font: 400 13.5px/1 var(--fonte-titulo); }
.rodape-tit { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--primaria); margin-bottom: 12px; }
.rodape-col a { color: var(--texto-suave); text-decoration: none; padding: 9px 0; width: fit-content; background: linear-gradient(var(--acento), var(--acento)) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .3s var(--ease); }
.rodape-col a:hover { color: var(--texto); background-size: 100% 1px; }

/* nome gigante */
.rodape-gigante {
  position: relative; margin-top: clamp(48px, 6vw, 80px); padding: 0 var(--gutter);
  font: 800 clamp(48px, 15.2vw, 270px)/.82 var(--fonte-titulo); letter-spacing: -.075em; white-space: nowrap; text-align: center;
  user-select: none; --x: 50%; --y: 50%;
}
.rg-base { display: block; color: transparent; -webkit-text-stroke: 1px rgb(143 163 174 / .18); }
.rg-luz {
  position: absolute; inset: 0; padding: inherit; display: block;
  background: radial-gradient(260px circle at var(--x) var(--y), var(--acento), var(--primaria) 35%, transparent 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9; transition: opacity .4s;
}
.rodape-gigante:not(.ativo) .rg-luz { animation: varre 7s ease-in-out infinite; }
@keyframes varre { 0%, 100% { --x: 15%; } 50% { --x: 85%; } }
@property --x { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --y { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

.rodape-linha { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linha); font: 400 12px/1.5 var(--fonte-titulo); color: rgb(143 163 174 / .75); }

@media (max-width: 860px) {
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
  .cli-dica { display: none; }
  .cli-tela { height: 200px; font-size: 13px; }
}

/* ── Abertura "iniciando sistema" ─────────────────────────────────────── */
.boot { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: var(--fundo);
  background-image: radial-gradient(rgb(143 163 174 / .08) 1.2px, transparent 1.2px); background-size: 28px 28px;
  transition: opacity .5s var(--ease), visibility .5s; }
html.boot-on .boot { display: grid; }
html.boot-on body { overflow: hidden; }
.boot.sai { opacity: 0; visibility: hidden; }
.boot-caixa { width: min(360px, calc(100% - 48px)); display: grid; gap: 22px; }
.boot-logo { font-size: 30px; }
.boot-linhas { font: 400 13px/1.9 var(--fonte-titulo); color: var(--texto-suave); min-height: 74px; }
.boot-linhas p { margin: 0; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.boot-linhas p::before { content: "> "; color: var(--primaria); }
.boot-linhas p.on { opacity: 1; transform: none; }
.boot-ok { color: var(--acento) !important; }
.boot-barra { height: 2px; background: var(--linha); border-radius: 2px; overflow: hidden; }
.boot-barra i { display: block; height: 100%; width: 0; background: var(--acento); box-shadow: 0 0 10px var(--acento); transition: width .2s linear; }

/* ── WhatsApp flutuante ───────────────────────────────────────────────── */
.whats {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .35);
  transform: scale(0); transition: transform .4s var(--ease);
}
.whats.visivel { transform: scale(1); }
.whats.visivel:hover { transform: scale(1.06); }
.whats svg { width: 27px; height: 27px; }

/* Cantoneiras verdes (cartões de projeto) */
.cantos::before, .cantos::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none;
  border: 2px solid var(--primaria);
}
.cantos::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--raio); }
.cantos::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--raio); }

/* ── Projetos: clean + técnico, cartões que se empilham ────────────────── */
.projetos { justify-items: center; gap: clamp(28px, 4vw, 48px); }
.projetos-cabecalho { width: 100%; max-width: var(--largura); display: grid; grid-template-columns: 1fr minmax(0, 380px) auto; align-items: end; gap: 12px 40px;
  padding-bottom: 28px; border-bottom: 1px solid var(--linha); }
.projetos-cabecalho h2 { margin: 0; }
.projetos-cabecalho p { margin: 0; font-size: 15px; }
.projetos-contagem { font: 400 13px/1 var(--fonte-titulo); color: var(--texto-suave); letter-spacing: .08em; }

.pilha { width: 100%; max-width: var(--largura); display: grid; gap: 32px; }
.projeto {
  position: sticky; top: calc(80px + var(--i) * 12px);
  display: grid;
  background-color: var(--fundo);
  background-image: radial-gradient(rgb(143 163 174 / .09) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  border: 1px solid var(--linha); border-radius: var(--raio);
  transform-origin: 50% 0;
}
.projeto.cantos::before, .projeto.cantos::after { width: 16px; height: 16px; border-width: 1.5px; }

/* barra de status estilo terminal */
.projeto-barra { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap;
  padding: 14px clamp(16px, 2vw, 24px); border-bottom: 1px solid var(--linha);
  font: 400 12.5px/1 var(--fonte-titulo); color: var(--texto-suave); letter-spacing: .02em; }
.projeto-indice { color: var(--primaria); }
.projeto-caminho b { color: var(--texto); font-weight: 400; }
.projeto-status { display: inline-flex; align-items: center; gap: 8px; }
.projeto-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--texto-suave); }
.projeto-status--no-ar { color: var(--acento); }
.projeto-status--no-ar::before { border: 0; background: var(--acento); box-shadow: 0 0 0 0 rgb(0 255 168 / .6); animation: online 2.2s ease-out infinite; }
@keyframes online { to { box-shadow: 0 0 0 7px rgb(0 255 168 / 0); } }
.projeto-link { margin-left: auto; color: var(--texto); text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.projeto-link:hover { color: var(--acento); border-color: var(--acento); }
.projeto-link:focus-visible { outline: 2px solid var(--primaria); outline-offset: 3px; }

/* janela de navegador mínima */
.janela { display: block; width: min(1160px, calc(100% - 2 * clamp(12px, 1.6vw, 24px)), calc((100vh - 240px) * 1.78)); margin: clamp(16px, 2vw, 26px) auto 0;
  border: 1px solid rgb(226 232 240 / .14); border-radius: 10px; overflow: hidden; background: #071216; text-decoration: none;
  transition: border-color .4s var(--ease); }
.janela-url { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-bottom: 1px solid rgb(226 232 240 / .1);
  font: 400 12px/1 var(--fonte-titulo); color: var(--texto-suave); }
.janela-url i { width: 9px; height: 9px; border: 1px solid var(--primaria); border-radius: 2px; }
.janela-tela { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.janela-tela img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.janela-tela::after { content: ""; position: absolute; inset: 0 0 auto; height: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgb(0 191 166 / .12) 85%, rgb(0 255 168 / .55) 100%);
  transform: translateY(-100%); }
.projeto:hover .janela { border-color: color-mix(in srgb, var(--primaria) 55%, transparent); }
.projeto:hover .janela-tela img { transform: scale(1.02); }
.projeto:hover .janela-tela::after { animation: varredura 1.6s var(--ease) 1; }
@keyframes varredura { 0% { opacity: 1; transform: translateY(-100%); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(340%); } }

/* rodapé do cartão */
.projeto-info { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px 28px;
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2vw, 24px); }
.projeto-info h3 { margin: 0; font-size: clamp(18px, 1.4vw, 21px); }
.projeto-info p { margin: 0; font-size: 15px; }
.projeto-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.projeto-tags li { font: 400 11.5px/1 var(--fonte-titulo); color: var(--texto-suave); border: 1px solid var(--linha); border-radius: 6px; padding: 6px 9px; }

/* layout: print grande à esquerda, ficha técnica à direita */
.projeto { grid-template-columns: auto minmax(220px, 1fr); }
.projeto-barra { grid-column: 1 / -1; }
.projeto .janela { width: min(1100px, calc(min(100vw, var(--largura)) - 2 * var(--gutter) - 330px), calc((100vh - 232px) * 1.95)); margin: 20px 0 20px clamp(24px, 4vw, 64px); justify-self: start; align-self: start; }
.projeto .janela-tela { aspect-ratio: 1.95 / 1; }
.projeto .projeto-info { grid-template-columns: 1fr; align-content: center; gap: 12px; padding: 20px clamp(16px, 2vw, 24px) clamp(60px, 9vh, 110px) clamp(24px, 3vw, 44px); max-width: 340px; }
.projeto-info h3 { font-size: clamp(20px, 1.6vw, 24px); }

@media (max-width: 860px) {
  .projetos-cabecalho { grid-template-columns: 1fr auto; }
  .projetos-cabecalho p { grid-column: 1 / -1; grid-row: 2; }
  .projetos-contagem { grid-row: 1; grid-column: 2; align-self: start; }
  .projeto { top: calc(76px + var(--i) * 10px); }
  .projeto-caminho { display: none; }
  .projeto { grid-template-columns: 1fr; }
  .projeto .janela { width: calc(100% - 32px); margin: 16px auto 0; }
  .projeto .janela-tela { aspect-ratio: 16 / 9; }
  .projeto .projeto-info { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .projeto-status--no-ar::before { animation: none; } }

/* projetos: ajustes ao novo cabeçalho de seção */
.projetos .projetos-cabecalho { max-width: none; grid-template-columns: 1fr minmax(0, 420px); padding-bottom: 0; border: 0; margin-bottom: clamp(28px, 4vw, 48px); }
.projetos .pilha { max-width: none; }

/* ── Celular e tablet ─────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .cartoes { grid-template-columns: 1fr; max-width: 560px; }
  .duas { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 28px; padding-left: 52px; }
  .pipeline::before { left: 15px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .pipeline::after { left: 14px; top: 0; width: 3px; height: 18%; background: linear-gradient(180deg, transparent, var(--acento)); animation-name: pipe-v; }
  @keyframes pipe-v { from { transform: translateY(-100%); } to { transform: translateY(560%); } }
  .pipeline li { padding-right: 0; }
  .pipe-no { position: absolute; left: -52px; top: -6px; margin: 0; }
}
@media (max-width: 860px) {
  .projetos .projetos-cabecalho { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .momento, .momento--direita { left: var(--gutter); right: var(--gutter); bottom: 14vh; max-width: none; }
  .momento--centro { bottom: 16vh; }
  .momento--centro .destaque--grande br { display: none; }
  .cine-vinheta { background: linear-gradient(to top, var(--fundo) 0%, rgb(10 25 30 / .7) 40%, transparent 75%), linear-gradient(to bottom, rgb(10 25 30 / .55), transparent 22%); }
  .topo-faixa > .botao { padding: 10px 12px; }
  .secao-meta { display: none; }
  .frag-codigo { right: -120px; }
  .tumim-logo { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .momento[data-de="0"] { opacity: 1; transform: none; }
  .cine { height: 100svh; }
  .momento:not([data-de="0"]), .cine-dica, .cine-hud { display: none; }
  .diag-pulsos, .pipeline::after { display: none; }
  .term.js [data-term-ln] { opacity: 1; transform: none; }
  .boot { display: none !important; }
  .rg-luz { background: none; color: rgb(0 191 166 / .5); }
}
