/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --fundo: #121212;
  --fundo-2: #1a1a1a;
  --texto: #ffffff;
  --texto-suave: #b4b4bd;
  --acento: #8652ff;
  --acento-rgb: 134 82 255;
  --acento-texto: #ffffff;
  --linha: rgb(255 255 255 / 0.13);
  --mistura: lighten;

  --fonte-titulo: "Archivo", "Arial Narrow", sans-serif;
  --fonte-texto: "Archivo", system-ui, sans-serif;
  --fonte-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --largura: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  /* grade fina de fundo (camada "tech") */
  --grade:
    linear-gradient(rgb(255 255 255 / .028) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(90deg, rgb(255 255 255 / .028) 1px, transparent 1px) 0 0 / 88px 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--grade), var(--fundo);
  color: var(--texto);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 var(--fonte-texto);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.carregando { overflow: hidden; }
/* Grão de filme */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao 1s steps(4) infinite;
}
@keyframes grao { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 700; font-stretch: 112%; text-transform: uppercase; line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(27px, 3.2vw, 50px); }
h3 { font-size: clamp(18px, 1.4vw, 22px); }
p { margin: 0 0 1em; color: var(--texto-suave); text-wrap: pretty; }
em { font-style: normal; color: var(--acento); }
.junto { white-space: nowrap; }

/* ── Carregamento ──────────────────────────────────────────────────────── */
.carga {
  position: fixed; inset: 0; z-index: 200; background: var(--fundo);
  display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: opacity .7s var(--ease), visibility 0s .7s;
}
.carga img { width: min(240px, 56vw); height: auto; }
.carga-num { font: 500 13px/1 var(--fonte-mono); letter-spacing: .2em; color: var(--texto-suave); }
.carga-num b { font-weight: 500; color: var(--texto); }
.carga-barra { width: min(240px, 56vw); height: 2px; background: var(--linha); overflow: hidden; }
.carga-barra i { display: block; height: 100%; background: var(--acento); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
body.pronto .carga { opacity: 0; visibility: hidden; pointer-events: none; }

/* ── Brilho que segue o cursor ─────────────────────────────────────────── */
.brilho {
  position: fixed; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; z-index: 45;
  border-radius: 50%; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle, rgb(var(--acento-rgb) / .17), transparent 62%);
  transition: opacity .6s;
}
.brilho.ativo { opacity: 1; }

/* ── Topo ──────────────────────────────────────────────────────────────── */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s;
}
.topo.rolou { background: rgb(18 18 18 / .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.marca { text-decoration: none; display: flex; align-items: center; }
.marca-logo { height: 44px; width: auto; }
.menu { display: flex; gap: 28px; align-items: center; font: 500 12px/1 var(--fonte-mono); letter-spacing: .08em; text-transform: uppercase; }
.menu a { text-decoration: none; opacity: .75; transition: opacity .3s; }
.menu a:hover { opacity: 1; }
.menu-cta { border: 1px solid rgb(var(--acento-rgb) / .6); padding: 11px 16px; border-radius: 999px; opacity: 1 !important; }
@media (max-width: 860px) { .menu a:not(.menu-cta) { display: none; } .marca-logo { height: 36px; } }

/* ── Marcadores de cena + progresso lateral ────────────────────────────── */
.cenas {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 48;
  display: none; flex-direction: column; gap: 14px; padding-right: 14px;
  font: 500 11px/1 var(--fonte-mono); letter-spacing: .12em; text-transform: uppercase;
}
@media (min-width: 1100px) and (pointer: fine) { .cenas { display: flex; } }
.cenas-linha { position: absolute; right: 0; top: -6px; bottom: -6px; width: 2px; background: var(--linha); }
.cenas-linha i { display: block; width: 100%; height: 100%; background: var(--acento); transform: scaleY(0); transform-origin: top; }
.cenas a { text-decoration: none; display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; color: var(--texto-suave); transition: color .3s; }
.cenas a b { font-weight: 500; }
.cenas a span { opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; text-shadow: 0 1px 12px #000; }
.cenas a:hover span, .cenas a.atual span { opacity: 1; transform: none; }
.cenas a.atual { color: var(--texto); }
.cenas a.atual b { color: var(--acento); }

/* ── Abertura cinematográfica ──────────────────────────────────────────── */
.cine { position: relative; height: var(--altura, 400vh); }
.cine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-vinheta {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(18 18 18 / .94) 0%, rgb(18 18 18 / .6) 34%, transparent 66%),
    radial-gradient(115% 85% at 50% 42%, transparent 42%, rgb(0 0 0 / .72) 100%),
    linear-gradient(to bottom, rgb(0 0 0 / .45), transparent 22%);
}
.letterbox { position: absolute; left: 0; right: 0; height: 50%; background: #000; z-index: 3; pointer-events: none; transition: transform 1.5s cubic-bezier(.7, 0, .15, 1) .15s; }
.letterbox--topo { top: 0; transform-origin: top; }
.letterbox--base { bottom: 0; transform-origin: bottom; }
body.pronto .letterbox { transform: scaleY(.12); }
.cine.andou .letterbox { transform: scaleY(0); transition-duration: .9s; transition-delay: 0s; }

.momento {
  position: absolute; inset: auto var(--gutter) 13vh; max-width: 760px; z-index: 4;
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  pointer-events: none; text-shadow: 0 2px 26px rgb(0 0 0 / .9), 0 0 2px rgb(0 0 0 / .6);
}
.momento.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.momento--titulo { max-width: none; bottom: 15vh; }
.momento--direita { left: auto; right: calc(var(--gutter) + 60px); text-align: right; }
.momento--centro { left: 50%; right: auto; transform: translate(-50%, 24px); text-align: center; width: min(820px, calc(100% - 2 * var(--gutter))); }
.momento--centro.ativo { transform: translate(-50%, 0); }
.titulo-abertura { font-size: clamp(34px, 6.2vw, 108px); font-weight: 800; font-stretch: 116%; line-height: .96; letter-spacing: -.02em; margin: 0 0 .28em; text-wrap: nowrap; }
.linha { display: block; overflow: hidden; padding-bottom: .06em; }
.linha > span { display: block; transform: translateY(112%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i) * .13s + .75s); }
body.pronto .linha > span { transform: none; }
.momento--titulo .apoio { opacity: 0; transition: opacity 1s 1.5s; }
body.pronto .momento--titulo .apoio { opacity: 1; }
.apoio { font-size: clamp(16px, 1.3vw, 21px); margin: 0; }
.destaque { font-family: var(--fonte-titulo); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 54px); line-height: 1.08; color: var(--texto); margin: 0 0 .5em; text-wrap: balance; }
.cine-dica {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: grid; justify-items: center; gap: 8px; font: 500 10px/1 var(--fonte-mono); letter-spacing: .34em; text-transform: uppercase; opacity: .6;
  transition: opacity .5s;
}
.cine-dica span { width: 1px; height: 38px; 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; }

/* ── Texto direto (sem cartão de vidro) ────────────────────────────────── */
.painel { position: relative; }
.painel > :last-child { margin-bottom: 0; }
.secao .painel { text-shadow: 0 2px 22px rgb(0 0 0 / .85), 0 0 2px rgb(0 0 0 / .6); }
.rotulo { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--fonte-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 20px; text-shadow: none; }
.rotulo b { font-weight: 500; color: var(--acento); }
.rotulo i { width: 34px; height: 1px; background: rgb(var(--acento-rgb) / .7); }

/* ── Seções (cenas) ────────────────────────────────────────────────────── */
.secao, .trilho, .grafico { position: relative; background: var(--grade), var(--fundo); box-shadow: 0 -40px 70px -30px rgb(0 0 0 / .85); }
.secao {
  isolation: isolate; overflow: clip;
  min-height: 100vh; padding: 16vh var(--gutter);
  display: grid; align-content: center;
}
.secao-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 600px) 1fr; }
.secao--larga { gap: 28px; justify-items: center; }
.painel--cabecalho { width: 100%; max-width: var(--largura); }
/* corte de cena: a seção fixa e a próxima passa por cima */
.secao.fixa { position: sticky; top: 0; margin-bottom: 55vh; filter: brightness(calc(1 - var(--cob, 0) * .78)); }
.secao.fixa > :not(.arte) { transform: scale(calc(1 - var(--cob, 0) * .05)); transform-origin: 50% 35%; }

/* ── Serviços: cartões com borda luminosa ──────────────────────────────── */
.cartoes { width: 100%; max-width: var(--largura); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cartao {
  position: relative; border-radius: 16px; padding: clamp(22px, 2.2vw, 32px);
  background: linear-gradient(180deg, rgb(var(--acento-rgb) / .09), rgb(18 18 18 / .82) 60%);
  border: 1px solid rgb(var(--acento-rgb) / .22);
  box-shadow: 0 0 44px -22px rgb(var(--acento-rgb) / .8), inset 0 1px 0 rgb(255 255 255 / .05);
}
.cartao::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--acento-rgb)), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.cartao > :last-child, .cartao > div > :last-child { margin-bottom: 0; }
.cartao-num { display: block; font: 500 11px/1 var(--fonte-mono); letter-spacing: .2em; color: var(--acento); margin-bottom: 26px; }
.cartao h3 { margin-bottom: .5em; }
.cartao--largo { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.diagrama { width: 100%; height: auto; overflow: visible; }
.diagrama-fios path { fill: none; stroke: rgb(var(--acento-rgb) / .45); stroke-width: 1.5; stroke-dasharray: 3 6; }
.diagrama-pulsos circle { fill: #fff; filter: drop-shadow(0 0 6px rgb(var(--acento-rgb))) drop-shadow(0 0 12px rgb(var(--acento-rgb))); }
.diagrama-nos rect { fill: rgb(18 18 18 / .9); stroke: rgb(var(--acento-rgb) / .7); stroke-width: 1.2; }
.diagrama text { fill: #fff; font: 500 12.5px var(--fonte-mono); text-anchor: middle; letter-spacing: .04em; }
.diagrama-centro circle { fill: rgb(var(--acento-rgb) / .22); stroke: var(--acento); stroke-width: 1.5; }
.diagrama-centro .anel { fill: none; transform-box: fill-box; transform-origin: center; animation: anel 2.6s ease-out infinite; }
@keyframes anel { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

/* ── Arte: imagens fundidas ao fundo ───────────────────────────────────── */
.arte {
  position: absolute; z-index: -1; pointer-events: none;
  object-fit: cover; mix-blend-mode: var(--mistura);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.arte--direita { top: 0; bottom: 0; right: 0; width: 64vw; height: 100%;
  -webkit-mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--fundo {
  inset: 0; width: 100%; height: 100%; opacity: .5;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
          mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.arte--suave { opacity: .32; }

/* ── Portfólio: faixa horizontal fixada na rolagem ─────────────────────── */
.trilho { overflow: clip; }
.trilho-palco {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto auto auto; align-content: center; gap: clamp(18px, 3.4vh, 38px);
  padding: 96px 0 34px;
}
.trilho-topo { padding: 0 var(--gutter); }
.trilho-topo h2 { margin: 0; }
.trilho-faixa { display: flex; gap: clamp(18px, 2.6vw, 40px); padding: 14px var(--gutter); width: max-content; will-change: transform; perspective: 1400px; }
.janela {
  margin: 0; flex: none; width: min(42vw, 78vh, 640px);
  border-radius: 12px; overflow: hidden; background: #1b1b1f;
  border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 30px 60px -30px #000, 0 0 50px -28px rgb(var(--acento-rgb) / .9);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
}
.janela:hover { border-color: rgb(var(--acento-rgb) / .75); box-shadow: 0 30px 60px -30px #000, 0 0 70px -22px rgb(var(--acento-rgb)); transition-duration: .12s, .4s, .4s; }
.janela-barra { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #232329; border-bottom: 1px solid rgb(255 255 255 / .08); }
.janela-barra i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .2); }
.janela-barra i:first-child { background: rgb(var(--acento-rgb) / .9); }
.janela-barra span { flex: 1; height: 14px; margin-left: 10px; border-radius: 99px; background: rgb(255 255 255 / .07); }
.janela-tela { aspect-ratio: 16 / 9; overflow: hidden; }
.janela-tela img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 0; transition: transform 1.2s var(--ease); }
.janela:hover .janela-tela img { transform: scale(1.32) translateY(-24.2%); transition: transform 7s linear; }
.trilho-medidor { margin: 0 var(--gutter); height: 2px; background: var(--linha); }
.trilho-medidor i { display: block; height: 100%; background: var(--acento); transform: scaleX(0); transform-origin: left; }
.clientes { list-style: none; margin: 0 auto; padding: 8vh var(--gutter) 12vh; width: 100%; max-width: calc(var(--largura) + 2 * var(--gutter)); display: flex; flex-wrap: wrap; gap: 26px 44px; align-items: center; justify-content: center; }
.clientes img { height: 46px; width: auto; max-width: 132px; object-fit: contain; opacity: .85; }
.clientes img.claro { filter: invert(1); }

/* ── Case: gráfico que se desenha com a rolagem ────────────────────────── */
.grafico-rolo { height: 340vh; }
.grafico-palco {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; gap: 2vh;
  padding: 100px var(--gutter) 5vh;
}
.grafico-topo { max-width: var(--largura); width: 100%; margin: 0 auto; }
.grafico-topo h2 { font-size: clamp(17px, 1.5vw, 24px); margin: 0; max-width: 30ch; color: var(--texto-suave); }
.grafico-corpo { position: relative; max-width: var(--largura); width: 100%; margin: 0 auto; min-height: 0; }
.contador { position: absolute; left: 0; top: 0; z-index: 2; display: grid; text-shadow: 0 4px 40px rgb(0 0 0 / .9); }
.contador-mes, .contador-legenda { font: 500 13px/1 var(--fonte-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--acento); }
.contador-legenda { color: var(--texto-suave); }
.contador-valor { font-family: var(--fonte-titulo); font-weight: 800; font-stretch: 118%; font-size: clamp(54px, 12.5vw, 200px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; margin: .08em 0 .1em -.04em; }
.indicadores { position: absolute; right: 0; top: 4px; z-index: 2; margin: 0; display: flex; gap: clamp(20px, 3vw, 48px); text-align: right; }
.indicadores dt { font: 500 11px/1 var(--fonte-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 8px; }
.indicadores dd { margin: 0; font: 500 clamp(20px, 2.2vw, 32px)/1 var(--fonte-mono); font-variant-numeric: tabular-nums; }
.curva { position: absolute; left: 0; right: 0; bottom: 34px; height: min(58%, 52vh); }
.curva svg { width: 100%; height: 100%; overflow: visible; display: block; }
.curva-grade line { stroke: rgb(255 255 255 / .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.curva-linha { stroke: var(--acento); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgb(var(--acento-rgb) / .9)); }
.curva-ponto { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgb(var(--acento-rgb) / .35), 0 0 26px 6px rgb(var(--acento-rgb)); }
.curva-meses { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 100%; height: 34px; font: 500 11px/34px var(--fonte-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.curva-meses li { position: absolute; transform: translateX(-50%); transition: color .3s; white-space: nowrap; }
.curva-meses li:first-child { transform: none; }
.curva-meses li:last-child { transform: translateX(-100%); }
.curva-meses li.passou { color: var(--texto); }
.grafico-detalhe { max-width: calc(var(--largura) + 2 * var(--gutter)); margin: 0 auto; padding: 6vh var(--gutter) 14vh; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.meses { width: 100%; border-collapse: collapse; margin: 18px 0; font: 400 14px/1.3 var(--fonte-mono); font-variant-numeric: tabular-nums; }
.meses th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); padding: 0 8px 10px 0; }
.meses td { padding: 10px 8px 10px 0; border-top: 1px solid var(--linha); color: var(--texto-suave); }
.meses td:first-child { color: var(--texto); }
.meses tr:last-child td { color: var(--texto); }
.meses tr:last-child td:nth-child(2) { color: var(--acento); }
.meses th:not(:first-child), .meses td:not(:first-child) { text-align: right; padding-right: 0; padding-left: 8px; }
.nota { font-size: 13px; }
.selos { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; font-family: var(--fonte-titulo); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.15; }
.selos li { padding-left: 22px; position: relative; }
.selos li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 2px; background: var(--acento); }
.link { color: var(--texto); text-decoration-color: var(--acento); text-underline-offset: 5px; font: 500 13px/1 var(--fonte-mono); letter-spacing: .1em; text-transform: uppercase; }

/* ── Contato ───────────────────────────────────────────────────────────── */
.secao--contato { justify-items: center; }
.painel--form { width: 100%; max-width: 760px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; text-shadow: none; }
.campo { display: grid; gap: 6px; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label { font: 500 11px/1.4 var(--fonte-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.campo input, .campo textarea {
  width: 100%; font: inherit; color: var(--texto);
  background: rgb(18 18 18 / .7); border: 1px solid var(--linha); border-radius: 12px;
  padding: 14px 16px; transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 3px rgb(var(--acento-rgb) / .22), 0 0 30px -10px rgb(var(--acento-rgb)); }
.campo.erro input { border-color: #d9776b; }
.pote { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; margin: 0; font-size: 14px; }
.form-status.ok { color: #b9a2ff; }
.form-status.falha { color: #e39a90; }

/* ── Botões ────────────────────────────────────────────────────────────── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 13px/1 var(--fonte-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-shadow: none;
  color: var(--acento-texto); background: var(--acento); border: 0; border-radius: 999px;
  padding: 19px 32px; box-shadow: 0 0 40px -8px rgb(var(--acento-rgb) / .9);
  transition: transform .35s var(--ease), filter .3s, box-shadow .3s;
}
.botao:hover { filter: brightness(1.1); box-shadow: 0 0 60px -6px rgb(var(--acento-rgb)); }
.botao[disabled] { opacity: .6; cursor: progress; }
.magnetico { transition: transform .35s var(--ease), filter .3s, box-shadow .3s; }

/* ── 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: 58px; height: 58px; 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 .5s var(--ease);
}
.whats.visivel { transform: scale(1); }
.whats:hover { transform: scale(1.07); }
.whats svg { width: 30px; height: 30px; }
.whats::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ── Rodapé ────────────────────────────────────────────────────────────── */
.rodape { position: relative; padding: 0 var(--gutter) 40px; background: var(--fundo); }
.rodape-painel { max-width: var(--largura); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; font: 400 12px/1.4 var(--fonte-mono); letter-spacing: .06em; color: var(--texto-suave); border-top: 1px solid var(--linha); padding: 28px 0 0; }
.rodape .marca-logo { height: 38px; }

/* ── Revelar ao rolar ──────────────────────────────────────────────────── */
.revelar { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.revelar.visto { opacity: 1; transform: none; }

/* ── Celular: versão leve (sem fixar cenas, sem 3D, sem brilho) ────────── */
@media (max-width: 860px) {
  .secao { padding: 13vh var(--gutter); min-height: auto; }
  .secao-grade { grid-template-columns: 1fr; }
  .arte--direita { left: 0; right: 0; width: 100%; height: 70%; opacity: .5;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent); }
  .momento, .momento--direita { left: var(--gutter); right: var(--gutter); bottom: 11vh; text-align: left; }
  .momento--centro { text-align: center; left: 50%; right: auto; }
  .titulo-abertura { text-wrap: balance; white-space: normal; }
  .cartoes { grid-template-columns: 1fr; }
  .cartao--largo { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .brilho { display: none; }
  /* portfólio vira faixa de arrastar com o dedo */
  .trilho-rolo { height: auto !important; }
  .trilho-palco { position: static; height: auto; padding: 13vh 0 2vh; }
  .trilho-faixa { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; perspective: none; scrollbar-width: none; }
  .trilho-faixa::-webkit-scrollbar { display: none; }
  .janela { width: 82vw; scroll-snap-align: center; transform: none; }
  .janela:hover .janela-tela img { transform: none; }
  .trilho-medidor { display: none; }
  .clientes { gap: 18px 26px; padding-top: 5vh; }
  .clientes img { height: 34px; max-width: 96px; }
  .grafico-rolo { height: 260vh; }
  .grafico-palco { padding-top: 84px; }
  .indicadores { top: auto; bottom: calc(min(58%, 52vh) + 50px); right: 0; left: 0; text-align: left; }
  .curva { height: min(40%, 40vh); }
  .curva-meses { font-size: 9px; letter-spacing: .04em; }
  .curva-meses li:nth-child(even) { display: none; }
  .grafico-detalhe { grid-template-columns: 1fr; }
  .meses { font-size: 12.5px; }
}

/* ── Movimento reduzido ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar, .linha > span, .momento:first-of-type { opacity: 1; transform: none; filter: none; }
  .momento--titulo .apoio { opacity: 1; }
  .carga, .letterbox, .brilho, .cine-dica { display: none; }
  .cine { height: 100svh; }
  .momento:not(:first-of-type) { display: none; }
  .grafico-rolo { height: auto; }
  .grafico-palco { position: relative; }
  .trilho-rolo { height: auto !important; }
  .trilho-palco { position: static; height: auto; }
  .trilho-faixa { width: auto; overflow-x: auto; transform: none !important; }
  .janela { transform: none; }
  .janela:hover .janela-tela img { transform: none; }
}

/* espaço para os marcadores de cena à direita */
@media (min-width: 1100px) and (pointer: fine) {
  .grafico-palco { padding-right: calc(var(--gutter) + 84px); }
  .cenas a span { background: rgb(18 18 18 / .8); padding: 4px 6px; border-radius: 4px; }
}

/* ── HUD da abertura (moldura de visor) ────────────────────────────────── */
.hud { position: absolute; inset: 84px var(--gutter) 28px; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 1s 1.4s; }
body.pronto .hud { opacity: 1; }
.hud-c { position: absolute; width: 22px; height: 22px; border: 0 solid rgb(var(--acento-rgb) / .9); }
.hud-c--1 { left: 0; top: 0; border-width: 1px 0 0 1px; }
.hud-c--2 { right: 0; top: 0; border-width: 1px 1px 0 0; }
.hud-c--3 { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.hud-c--4 { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.hud-info { position: absolute; top: 8px; font: 500 10px/1 var(--fonte-mono); letter-spacing: .24em; text-transform: uppercase; color: rgb(255 255 255 / .7); text-shadow: 0 1px 10px #000; }
.hud-info--e { left: 36px; }
.hud-info--d { right: 36px; }
.hud-info b { font-weight: 500; color: var(--acento); }
.hud-regua { position: absolute; left: 36px; right: 36px; bottom: 0; height: 1px; background: rgb(255 255 255 / .14); }
.hud-regua i { display: block; height: 100%; background: var(--acento); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgb(var(--acento-rgb)); }
/* linhas de varredura bem sutis sobre o vídeo */
.cine-vinheta::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgb(0 0 0 / .13) 3px 4px); mix-blend-mode: multiply; }
.momento em, .destaque em { text-shadow: 0 0 34px rgb(var(--acento-rgb) / .9); }

/* ── Vídeo de fundo na cena do case ────────────────────────────────────── */
.grafico-filme { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.grafico-veu { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(18 18 18 / .9), rgb(18 18 18 / .62) 30%, rgb(18 18 18 / .55) 70%, var(--fundo)), radial-gradient(120% 90% at 50% 50%, transparent 40%, rgb(0 0 0 / .6)); }
.grafico-topo, .grafico-corpo { position: relative; z-index: 1; }
.grafico-topo h2 { color: #fff; text-shadow: 0 2px 20px #000; }
@media (max-width: 860px) { .hud { inset: 76px 12px 20px; } .hud-info { display: none; } .hud-regua { left: 30px; right: 30px; } }
@media (prefers-reduced-motion: reduce) { .hud, .grafico-filme { display: none; } }

/* ── Abertura clara e nítida: menos escurecimento, sem varredura, menos roxo ── */
body::after { opacity: .03; }
.cine-palco { background: var(--fundo); }
.cine-vinheta {
  background:
    linear-gradient(to top, rgb(0 0 0 / .62) 0%, rgb(0 0 0 / .28) 30%, transparent 58%),
    linear-gradient(to bottom, rgb(0 0 0 / .3), transparent 16%);
}
.cine-vinheta::after { content: none; }
.titulo-abertura em { color: #fff; text-shadow: none; }
.momento em, .destaque em { color: #fff; text-shadow: none; }
.momento { text-shadow: 0 2px 30px rgb(0 0 0 / .75), 0 1px 3px rgb(0 0 0 / .55); }
.hud-c { border-color: rgb(255 255 255 / .75); }
.hud-info b { color: #fff; }
.hud-regua i { background: #fff; box-shadow: none; }
.grafico-veu { background: linear-gradient(to bottom, rgb(18 18 18 / .72), rgb(18 18 18 / .38) 30%, rgb(18 18 18 / .38) 70%, var(--fundo)); }

/* ── Abertura clara: texto escuro sobre vídeo luminoso ─────────────────── */
.topo { background: rgb(18 18 18 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cine-palco { background: #f3f1ee; }
.cine-vinheta {
  background: linear-gradient(to top, rgb(255 255 255 / .9) 0%, rgb(255 255 255 / .62) 26%, transparent 56%);
}
.momento { color: #121212; text-shadow: 0 0 28px rgb(255 255 255 / .9), 0 0 6px rgb(255 255 255 / .7); }
.momento .apoio { color: #2c2c33; font-weight: 500; }
.momento .destaque { color: #121212; }
.titulo-abertura em, .momento em, .destaque em { color: #6a3df0; text-shadow: none; }
.hud-c { border-color: rgb(18 18 18 / .55); }
.hud-info { color: rgb(18 18 18 / .75); text-shadow: none; }
.hud-info b { color: #121212; }
.hud-regua { background: rgb(18 18 18 / .16); }
.hud-regua i { background: #121212; box-shadow: none; }
.cine-dica { color: #121212; opacity: .75; }
.cine-dica span { background: linear-gradient(#121212, transparent); }
.cenas { mix-blend-mode: difference; }
.cenas a, .cenas a.atual, .cenas a.atual b { color: #fff; }
.cenas a span { background: none; text-shadow: none; }
.cenas-linha i { background: #fff; }
/* transição suave do branco da abertura para o escuro do site */
.cine::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30vh; background: linear-gradient(to bottom, transparent, var(--fundo)); pointer-events: none; z-index: 5; }

/* ── Topo: transparente e claro sobre a abertura, escuro no resto do site ── */
.topo { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topo.rolou { background: rgb(18 18 18 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.topo.claro, .topo.claro.rolou { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topo.claro.rolou { background: rgb(255 255 255 / .62); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 1px 0 rgb(18 18 18 / .08); }
.topo.claro .marca-logo { filter: invert(1) hue-rotate(180deg); } /* letras brancas viram pretas, o roxo se mantém */
.topo.claro .menu a { color: #121212; opacity: .8; }
.topo.claro .menu-cta { border-color: rgb(18 18 18 / .55); }
.topo .marca-logo, .topo .menu a { transition: filter .4s, color .4s, opacity .3s; }
/* sem barras pretas sobre o vídeo claro depois que a abertura carrega */
body.pronto .letterbox { transform: scaleY(0); }
.hud { inset: 92px var(--gutter) 28px; }

/* -- Versao atual: abertura colorida (agencia) + cena do case clara -- */
/* Abertura: texto branco sobre vídeo colorido, com degradê discreto */
.cine-palco { background: var(--fundo); }
.cine-vinheta {
  background:
    linear-gradient(to top, rgb(0 0 0 / .78) 0%, rgb(0 0 0 / .42) 30%, transparent 60%),
    linear-gradient(to bottom, rgb(0 0 0 / .55), transparent 20%);
}
.momento { color: #fff; text-shadow: 0 2px 30px rgb(0 0 0 / .8), 0 1px 3px rgb(0 0 0 / .6); }
.momento .apoio { color: #f1f1f1; font-weight: 400; }
.momento .destaque { color: #fff; }
.titulo-abertura em, .momento em, .destaque em { color: #fff; text-shadow: none; }
.hud-c { border-color: rgb(255 255 255 / .8); }
.hud-info { color: rgb(255 255 255 / .85); text-shadow: 0 1px 10px #000; }
.hud-info b { color: #fff; }
.hud-regua { background: rgb(255 255 255 / .25); }
.hud-regua i { background: #fff; }
.cine-dica { color: #fff; opacity: .8; }
.cine-dica span { background: linear-gradient(#fff, transparent); }
/* Topo: transparente no início, vidro escuro ao rolar; logo original */
.topo.claro, .topo.claro.rolou { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topo.rolou, .topo.claro.rolou { background: rgb(18 18 18 / .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.topo.claro .marca-logo { filter: none; }
.topo.claro .menu a { color: #fff; opacity: .85; }
.topo.claro .menu-cta { border-color: rgb(255 255 255 / .6); }

/* Cena do case: fundo claro (aparelhos no estúdio), texto escuro */
.grafico-veu {
  background: linear-gradient(to bottom, rgb(255 255 255 / .86) 0%, rgb(255 255 255 / .66) 34%, rgb(255 255 255 / .72) 80%, var(--fundo) 100%);
}
.grafico-palco { background: #f4f2ef; }
.grafico-topo h2 { color: #121212; text-shadow: none; }
.grafico-topo .rotulo { color: #4a4a52; }
.grafico-topo .rotulo b { color: #6a3df0; }
.contador { text-shadow: none; }
.contador-valor { color: #121212; }
.contador-mes { color: #6a3df0; }
.contador-legenda { color: #4a4a52; }
.indicadores dt { color: #4a4a52; }
.indicadores dd { color: #121212; }
.curva-grade line { stroke: rgb(18 18 18 / .14); }
.curva-linha { stroke: #6a3df0; filter: none; }
.curva-ponto { background: #6a3df0; box-shadow: 0 0 0 5px rgb(106 61 240 / .22); }
.curva-meses { color: #6b6b74; }
.curva-meses li.passou { color: #121212; }
.grafico-veu { background: linear-gradient(to bottom, rgb(255 255 255 / .86) 0%, rgb(255 255 255 / .66) 34%, rgb(255 255 255 / .8) 100%); }
.contador-valor { font-size: clamp(50px, 10.2vw, 168px); }

/* -- Cena do case em duas colunas: dados a esquerda, video nitido numa janela a direita -- */
.grafico-palco { background: var(--grade), var(--fundo); padding: 112px var(--gutter) 6vh; gap: 2.4vh; }
.grafico-veu { display: none; }
.grafico-filme {
  inset: auto; top: 112px; right: var(--gutter); left: auto;
  width: calc(46% - var(--gutter)); height: calc(100svh - 112px - 6vh);
  border-radius: 22px; box-shadow: 0 50px 100px -40px #000, 0 0 0 1px rgb(255 255 255 / .14);
}
.grafico-topo, .grafico-corpo { margin: 0; max-width: none; width: 50%; }
.grafico-topo h2 { color: #fff; font-size: clamp(18px, 1.7vw, 27px); max-width: 26ch; text-shadow: none; }
.grafico-topo .rotulo { color: var(--texto-suave); }
.grafico-topo .rotulo b { color: var(--acento); }
.grafico-corpo { display: flex; flex-direction: column; min-height: 0; }
.contador { position: static; text-shadow: none; }
.contador-mes { color: #a98bff; }
.contador-valor { color: #fff; font-size: clamp(46px, 6.9vw, 118px); margin: .1em 0 .12em -.03em; }
.contador-legenda { color: var(--texto-suave); }
.indicadores { position: static; margin: 2.4vh 0 0; text-align: left; gap: clamp(28px, 4vw, 64px); padding-top: 2vh; border-top: 1px solid var(--linha); }
.indicadores dt { color: var(--texto-suave); }
.indicadores dd { color: #fff; }
.curva { position: relative; left: auto; right: auto; bottom: auto; height: auto; flex: 1; min-height: 120px; margin: 3vh 0 34px; }
.curva-grade line { stroke: rgb(255 255 255 / .09); }
.curva-linha { stroke: var(--acento); filter: drop-shadow(0 0 10px rgb(var(--acento-rgb) / .8)); }
.curva-ponto { background: #fff; box-shadow: 0 0 0 5px rgb(var(--acento-rgb) / .35), 0 0 24px 6px rgb(var(--acento-rgb)); }
.curva-meses { color: var(--texto-suave); }
.curva-meses li.passou { color: #d9d9e0; }
.curva-meses li.agora { color: #fff; }
@media (min-width: 1100px) and (pointer: fine) {
  .grafico-palco { padding-right: var(--gutter); }
  .grafico-filme { right: calc(var(--gutter) + 84px); width: calc(46% - var(--gutter) - 84px); }
}
@media (max-width: 860px) {
  .grafico-palco { padding: calc(84px + 30svh + 20px) var(--gutter) 3vh; }
  .grafico-filme { top: 84px; left: var(--gutter); right: auto; width: calc(100% - 2 * var(--gutter)); height: 30svh; border-radius: 16px; }
  .grafico-topo, .grafico-corpo { width: 100%; }
  .contador-valor { font-size: clamp(44px, 14vw, 72px); }
  .indicadores { bottom: auto; }
  .curva { height: auto; margin-bottom: 30px; }
}

/* -- Cena do case imersiva: video em tela cheia, titulos por cima como em filme -- */
.grafico-palco { display: flex; flex-direction: column; gap: 2.6vh; padding: 118px var(--gutter) 0; background: #000; }
.grafico-filme { inset: 0; top: 0; right: 0; left: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.grafico-veu {
  display: block;
  background:
    linear-gradient(90deg, rgb(0 0 0 / .7) 0%, rgb(0 0 0 / .36) 36%, transparent 62%),
    linear-gradient(to top, rgb(0 0 0 / .82) 0%, rgb(0 0 0 / .3) 32%, transparent 54%),
    linear-gradient(to bottom, rgb(0 0 0 / .5), transparent 17%);
}
.grafico-topo { width: min(52%, 640px); }
.grafico-topo h2 { font-size: clamp(18px, 1.8vw, 28px); color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / .7); }
.grafico-topo .rotulo, .grafico-topo .rotulo b { color: rgb(255 255 255 / .82); }
.grafico-topo .rotulo i { background: rgb(255 255 255 / .6); }
.grafico-corpo { position: relative; width: 100%; flex: 1; display: block; }
.contador { text-shadow: 0 6px 50px rgb(0 0 0 / .65), 0 2px 6px rgb(0 0 0 / .45); }
.contador-mes { color: rgb(255 255 255 / .88); }
.contador-valor { font-size: clamp(54px, 9.4vw, 158px); color: #fff; }
.contador-legenda { color: rgb(255 255 255 / .75); }
.indicadores { border-top: 0; padding-top: 0; margin-top: 2.2vh; text-shadow: 0 2px 20px rgb(0 0 0 / .7); }
.indicadores dt { color: rgb(255 255 255 / .75); }
.curva { position: absolute; left: 0; right: 0; bottom: calc(5vh + 34px); height: min(27vh, 250px); min-height: 0; margin: 0; flex: none; }
#curva-area stop { stop-color: #fff; }
#curva-area stop:first-child { stop-opacity: .3; }
.curva-grade line { stroke: rgb(255 255 255 / .16); }
.curva-linha { stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 12px rgb(255 255 255 / .75)); }
.curva-ponto { background: #fff; box-shadow: 0 0 0 5px rgb(255 255 255 / .28), 0 0 30px 8px rgb(255 255 255 / .8); }
.curva-meses { color: rgb(255 255 255 / .6); text-shadow: 0 1px 10px #000; }
.curva-meses li.passou { color: rgb(255 255 255 / .85); }
.curva-meses li.agora { color: #fff; }
@media (min-width: 1100px) and (pointer: fine) {
  .grafico-palco { padding-right: calc(var(--gutter) + 84px); }
  .grafico-filme { right: 0; width: 100%; }
}
@media (max-width: 860px) {
  .grafico-palco { padding: 96px var(--gutter) 0; }
  .grafico-filme { top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; }
  .grafico-topo { width: 100%; }
  .contador-valor { font-size: clamp(46px, 15vw, 80px); }
  .curva { height: 22vh; bottom: calc(4vh + 30px); }
  .grafico-veu { background: linear-gradient(to top, rgb(0 0 0 / .85) 0%, rgb(0 0 0 / .35) 40%, rgb(0 0 0 / .55) 100%); }
}

/* -- Portfolio: cena em tela cheia, a camera passeia pela parede de sites -- */
.vitrine { position: relative; background: var(--fundo); box-shadow: 0 -40px 70px -30px rgb(0 0 0 / .85); }
.vitrine-rolo { height: 320vh; }
.vitrine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--fundo) url("assets/frames-portfolio/desktop/f_0120.webp") center / cover no-repeat; }
.vitrine-filme { position: absolute; inset: 0; width: 100%; height: 100%; }
.vitrine-veu { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(0 0 0 / .78) 0%, rgb(0 0 0 / .3) 26%, transparent 42%), linear-gradient(to top, var(--fundo) 0%, transparent 16%); }
.vitrine-topo { position: absolute; left: var(--gutter); top: 116px; max-width: 680px; text-shadow: 0 2px 26px rgb(0 0 0 / .9), 0 1px 3px rgb(0 0 0 / .6); }
.vitrine-topo h2 { margin-bottom: .25em; }
.vitrine-topo p { margin: 0; color: #ececf1; }
.vitrine-topo .rotulo, .vitrine-topo .rotulo b { color: rgb(255 255 255 / .85); }
.vitrine-topo .rotulo i { background: rgb(255 255 255 / .6); }
@media (max-width: 860px) { .vitrine-rolo { height: 230vh; } .vitrine-topo { top: 92px; right: var(--gutter); } }
@media (prefers-reduced-motion: reduce) { .vitrine-rolo { height: auto; } .vitrine-palco { position: relative; } .vitrine-filme { display: none; } }

/* -- Numeros do case sobre uma foto cinematografica em tela cheia -- */
.numeros { position: relative; isolation: isolate; overflow: clip; min-height: 112vh; display: flex; align-items: flex-end; }
.numeros-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; z-index: -2; }
.numeros-veu { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, var(--fundo) 0%, rgb(18 18 18 / .18) 12%, rgb(18 18 18 / .28) 34%, rgb(12 12 12 / .9) 62%, var(--fundo) 100%); }
.numeros-conteudo { width: 100%; max-width: calc(var(--largura) + 2 * var(--gutter)); margin: 0 auto; padding: 52vh var(--gutter) 11vh; }
.numeros-intro { font-family: var(--fonte-titulo); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: clamp(20px, 2.3vw, 36px); line-height: 1.1; color: #fff; max-width: 24ch; margin: 0 0 5vh; text-shadow: 0 2px 30px rgb(0 0 0 / .8); }
.marcos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 22px); align-items: end; }
.marcos li { display: flex; flex-direction: column; min-width: 0; }
.marco-valor { font-family: var(--fonte-titulo); font-weight: 700; font-stretch: 112%; font-size: clamp(15px, 1.75vw, 27px); line-height: 1; color: #fff; white-space: nowrap; margin-bottom: 12px; text-shadow: 0 2px 18px rgb(0 0 0 / .7); }
.marco-barra { display: block; height: max(6px, calc(var(--h) / 100 * 25vh)); border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, rgb(255 255 255 / .1), rgb(255 255 255 / .92));
  transform: scaleY(0); transform-origin: bottom; transition: transform 1.3s var(--ease) calc(var(--i) * .09s + .2s); }
.marcos.visto .marco-barra { transform: none; }
.marcos li:last-child .marco-barra { background: linear-gradient(to top, rgb(255 190 110 / .25), #ffd9a3 60%, #fff); box-shadow: 0 0 46px -6px rgb(255 200 130 / .8); }
.marcos li:last-child .marco-valor { font-size: clamp(19px, 2.5vw, 40px); }
.marco-mes { font: 500 12px/1 var(--fonte-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; padding-top: 14px; margin-top: 0; border-top: 1px solid rgb(255 255 255 / .3); }
.marco-det { font: 400 12px/1.5 var(--fonte-mono); color: rgb(255 255 255 / .66); margin-top: 6px; white-space: nowrap; }
.marco-mes + .marco-det { margin-top: 10px; }
.numeros .nota { margin: 22px 0 0; font-size: 13px; color: rgb(255 255 255 / .6); }
.provas { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 5vw, 76px); margin-top: 7vh; padding-top: 5vh; border-top: 1px solid var(--linha); }
.prova { display: flex; align-items: center; gap: 16px; }
.prova strong { font-family: var(--fonte-titulo); font-weight: 800; font-stretch: 118%; font-size: clamp(56px, 6.4vw, 104px); line-height: .9; color: #fff; }
.prova span { font: 500 13px/1.45 var(--fonte-mono); letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .8); }
.provas .botao { margin-left: auto; }
@media (max-width: 860px) {
  .numeros { min-height: 0; }
  .numeros-foto { height: 62vh; object-position: 42% 30%; }
  .numeros-veu { background: linear-gradient(to bottom, var(--fundo) 0%, rgb(18 18 18 / .2) 8%, rgb(18 18 18 / .3) 22%, var(--fundo) 50%); }
  .numeros-conteudo { padding: 40vh var(--gutter) 9vh; }
  .marcos { grid-template-columns: 1fr; gap: 16px; }
  .marcos li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 6px; align-items: baseline; }
  .marco-valor { grid-column: 2; grid-row: 1; margin: 0; font-size: 20px; }
  .marcos li:last-child .marco-valor { font-size: 26px; }
  .marco-mes { grid-column: 1; grid-row: 1; border: 0; padding: 0; }
  .marco-barra { grid-column: 1 / -1; grid-row: 2; height: 8px; width: calc(var(--h) * 1%); min-width: 8px; border-radius: 4px; background: linear-gradient(to right, rgb(255 255 255 / .2), #fff); transform: scaleX(0); transform-origin: left; }
  .marcos li:last-child .marco-barra { background: linear-gradient(to right, rgb(255 190 110 / .4), #ffd9a3); }
  .marco-det { margin: 0; font-size: 11px; }
  .marco-mes + .marco-det { margin: 0; grid-column: 1; }
  .provas .botao { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .marco-barra { transform: none; } }

/* -- Numeros do case: a foto ocupa a primeira tela inteira; as barras entram sobre a mesa -- */
.numeros { min-height: 0; display: block; }
.numeros-foto { height: 100vh; height: 100svh; object-position: 50% 50%; }
.numeros-veu { bottom: auto; height: 100vh; height: 100svh;
  background:
    linear-gradient(to bottom, var(--fundo) 0%, transparent 9%, transparent 56%, rgb(12 12 12 / .78) 84%, var(--fundo) 100%),
    linear-gradient(90deg, rgb(0 0 0 / .62) 0%, rgb(0 0 0 / .25) 30%, transparent 48%); }
.numeros-conteudo { padding-top: 73vh; }
.numeros-intro { position: absolute; top: 24vh; left: max(var(--gutter), calc((100% - var(--largura)) / 2)); max-width: 15ch; margin: 0; font-size: clamp(22px, 2.7vw, 42px); }
@media (max-width: 860px) {
  .numeros-foto, .numeros-veu { height: 58vh; }
  .numeros-foto { object-position: 62% 50%; }
  .numeros-veu { background: linear-gradient(to bottom, var(--fundo) 0%, transparent 10%, transparent 60%, var(--fundo) 100%); }
  .numeros-conteudo { padding-top: 60vh; }
  .numeros-intro { position: static; max-width: none; margin: 0 0 4vh; }
}

/* -- O que fazemos: quatro cenas cinematograficas em tela cheia -- */
.serv { position: relative; background: var(--fundo); box-shadow: 0 -40px 70px -30px rgb(0 0 0 / .85); }
.serv-rolo { height: 440vh; }
.serv-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0d0b09; }
.serv-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.09); transition: opacity 1.1s var(--ease), transform 7s linear; }
.serv-foto.ativo { opacity: 1; transform: scale(1); }
.serv-veu { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .42) 30%, transparent 58%),
    linear-gradient(to top, rgb(0 0 0 / .72) 0%, transparent 42%),
    linear-gradient(to bottom, rgb(0 0 0 / .5), transparent 18%); }
.serv-topo { position: absolute; left: var(--gutter); top: 112px; text-shadow: 0 2px 22px rgb(0 0 0 / .8); }
.serv-topo h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.serv-topo .rotulo, .serv-topo .rotulo b { color: rgb(255 255 255 / .88); margin: 0; }
.serv-topo .rotulo i { background: rgb(255 255 255 / .6); }
.serv-textos { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 15vh; }
.serv-item { position: absolute; left: 0; bottom: 0; width: min(100%, 720px); opacity: 0; transform: translateY(34px); filter: blur(8px); pointer-events: none;
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); text-shadow: 0 3px 34px rgb(0 0 0 / .85), 0 1px 3px rgb(0 0 0 / .6); }
.serv-item.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: .25s; }
.serv-letra { display: block; font: 500 12px/1 var(--fonte-mono); letter-spacing: .24em; color: rgb(255 255 255 / .8); margin-bottom: 20px; }
.serv-item h3 { font-size: clamp(40px, 7.2vw, 118px); font-weight: 800; font-stretch: 116%; line-height: .96; letter-spacing: -.02em; margin: 0 0 .22em; color: #fff; }
.serv-item p { font-size: clamp(17px, 1.5vw, 23px); line-height: 1.5; color: #f2f2f2; max-width: 34em; margin: 0; }
.serv-item .diagrama { width: min(100%, 520px); margin-top: 26px; filter: drop-shadow(0 4px 24px rgb(0 0 0 / .6)); }
.serv-item .diagrama-fios path { stroke: rgb(255 255 255 / .6); }
.serv-item .diagrama-pulsos circle { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.serv-item .diagrama-nos rect { fill: rgb(0 0 0 / .55); stroke: rgb(255 255 255 / .75); }
.serv-item .diagrama-centro circle { fill: rgb(255 255 255 / .16); stroke: #fff; }
.serv-indice { list-style: none; margin: 0; padding: 0; position: absolute; right: calc(var(--gutter) + 84px); bottom: 15vh; display: grid; gap: 14px; text-align: right;
  font: 500 12px/1 var(--fonte-mono); letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .55); text-shadow: 0 1px 14px #000; }
.serv-indice li { display: flex; justify-content: flex-end; align-items: center; gap: 12px; transition: color .4s; }
.serv-indice li b { font-weight: 500; order: 2; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; transition: background .4s, color .4s, border-color .4s; }
.serv-indice li.ativo { color: #fff; }
.serv-indice li.ativo b { background: #fff; color: #121212; border-color: #fff; }
@media (max-width: 860px) {
  .serv-rolo { height: 380vh; }
  .serv-topo { top: 92px; }
  .serv-textos { bottom: 12vh; }
  .serv-foto { object-position: 68% 50%; }
  .serv-veu { background: linear-gradient(to top, rgb(0 0 0 / .88) 0%, rgb(0 0 0 / .5) 42%, transparent 66%), linear-gradient(to bottom, rgb(0 0 0 / .55), transparent 20%); }
  .serv-indice { right: auto; left: var(--gutter); bottom: 4.5vh; display: flex; gap: 10px; }
  .serv-indice li { font-size: 0; gap: 0; }
  .serv-indice li b { font-size: 11px; }
  .serv-item .diagrama { display: none; }
}

/* -- Contato: foto cinematografica em tela cheia, chamada a esquerda e formulario a direita -- */
.contato { position: relative; isolation: isolate; overflow: clip; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; padding: 130px var(--gutter) 9vh; background: #0d0b09; box-shadow: 0 -40px 70px -30px rgb(0 0 0 / .85); }
.contato-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; z-index: -2; }
.contato-veu { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, var(--fundo) 0%, transparent 12%), linear-gradient(to top, rgb(0 0 0 / .78) 0%, transparent 46%), linear-gradient(270deg, rgb(0 0 0 / .5) 0%, transparent 52%); }
.contato-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 6vw, 96px); align-items: end; }
.contato-chamada { text-shadow: 0 3px 34px rgb(0 0 0 / .85), 0 1px 3px rgb(0 0 0 / .6); }
.contato-chamada .rotulo, .contato-chamada .rotulo b { color: rgb(255 255 255 / .88); text-shadow: 0 1px 12px #000; }
.contato-chamada .rotulo i { background: rgb(255 255 255 / .6); }
.contato-chamada h2 { font-size: clamp(38px, 6.2vw, 100px); font-weight: 800; font-stretch: 116%; line-height: .96; letter-spacing: -.02em; margin: 0 0 .28em; color: #fff; }
.contato-chamada p { font-size: clamp(17px, 1.45vw, 22px); color: #f2f2f2; max-width: 30em; margin: 0 0 1.6em; }
.botao--whats { background: #25d366; color: #06280f; box-shadow: 0 0 44px -8px rgb(37 211 102 / .9); font-weight: 600; }
.botao--whats:hover { box-shadow: 0 0 64px -6px rgb(37 211 102); }
.contato .painel--form { max-width: none; background: rgb(14 12 10 / .9); border: 1px solid rgb(255 255 255 / .14); border-radius: 22px; padding: clamp(22px, 2.6vw, 36px); box-shadow: 0 40px 90px -40px #000; text-shadow: none; }
.contato .painel--form h3 { font-size: clamp(18px, 1.5vw, 23px); margin: 0 0 4px; }
.contato .form { margin-top: 18px; gap: 14px; }
.contato .campo input, .contato .campo textarea { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); }
.contato .campo input:focus, .contato .campo textarea:focus { border-color: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / .16); }
.contato .form .botao { background: #fff; color: #121212; box-shadow: none; }
.contato .form .botao:hover { filter: brightness(.92); }
@media (max-width: 860px) {
  .contato { padding: 0 var(--gutter) 9vh; display: block; }
  .contato-foto { height: 62vh; object-position: 28% 40%; }
  .contato-veu { height: 62vh; bottom: auto; background: linear-gradient(to bottom, var(--fundo) 0%, transparent 14%, transparent 45%, #0d0b09 100%); }
  .contato-grade { grid-template-columns: 1fr; padding-top: 34vh; gap: 28px; }
  .botao--whats { width: 100%; }
}
.contato-chamada h2 { font-size: clamp(32px, 4.1vw, 64px); line-height: 1; max-width: 13ch; }
@media (max-width: 860px) { .contato-chamada h2 { max-width: none; } }

/* -- Cena "sempre aberto": a loja fechada a noite e o site vendendo -- */
.sempre { position: relative; isolation: isolate; overflow: clip; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; justify-items: end; padding: 120px calc(var(--gutter) + 84px) 10vh var(--gutter); background: #070b14; box-shadow: 0 -40px 70px -30px rgb(0 0 0 / .85); }
.sempre-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; z-index: -2; }
.sempre-veu { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, var(--fundo) 0%, transparent 13%, transparent 84%, var(--fundo) 100%), linear-gradient(270deg, rgb(3 6 14 / .78) 0%, rgb(3 6 14 / .5) 34%, transparent 58%); }
.sempre-texto { width: min(100%, 620px); text-shadow: 0 3px 34px rgb(0 0 0 / .85), 0 1px 3px rgb(0 0 0 / .6); }
.sempre-texto .rotulo { color: rgb(255 255 255 / .88); }
.sempre-texto .rotulo i { background: rgb(255 255 255 / .6); }
.sempre-texto h2 { font-size: clamp(40px, 6vw, 98px); font-weight: 800; font-stretch: 116%; line-height: .96; letter-spacing: -.02em; margin: 0 0 .3em; color: #fff; }
.sempre-texto h2 em { color: #ffcf8a; text-shadow: 0 0 44px rgb(255 190 110 / .7); }
.sempre-texto p { font-size: clamp(17px, 1.5vw, 23px); line-height: 1.5; color: #f2f2f2; max-width: 30em; margin: 0 0 1.7em; }
.sempre-texto .botao { background: #ffcf8a; color: #1a1206; box-shadow: 0 0 44px -8px rgb(255 190 110 / .9); font-weight: 600; text-shadow: none; }
@media (max-width: 860px) {
  .sempre { padding: 0 var(--gutter) 9vh; align-items: end; justify-items: start; }
  .sempre-foto { object-position: 12% 50%; }
  .sempre-veu { background: linear-gradient(to bottom, var(--fundo) 0%, transparent 12%, transparent 38%, rgb(3 6 14 / .9) 68%, var(--fundo) 100%); }
  .sempre-texto .botao { width: 100%; }
}
.sempre-texto h2 { font-size: clamp(34px, 4.7vw, 76px); line-height: 1; }
@media (max-width: 860px) {
  .sempre { display: block; padding: 50vh var(--gutter) 9vh; min-height: 0; }
  .sempre-foto { height: 62vh; object-position: 10% 50%; }
  .sempre-veu { height: 62vh; bottom: auto; background: linear-gradient(to bottom, var(--fundo) 0%, transparent 12%, transparent 62%, #070b14 100%); }
}

/* -- Sem marcadores de cena nem moldura de visor: devolve o espaco que eles reservavam -- */
.cenas, .hud { display: none !important; }
@media (min-width: 1100px) and (pointer: fine) { .grafico-palco { padding-right: var(--gutter); } }
.sempre { padding-right: var(--gutter); }
.serv-indice { right: var(--gutter); }
.momento--direita { right: var(--gutter); }

/* -- Portfolio passa sozinho: a cena ocupa uma tela e nao prende a rolagem -- */
.vitrine-rolo { height: 100vh; height: 100svh; }
.vitrine-palco { position: relative; }
@media (max-width: 860px) { .vitrine-rolo { height: 100svh; } }

/* -- Portfolio: parede parada e inclinada; so os sites passam, fila por fila -- */
.vitrine-palco { background: var(--fundo); perspective: 1500px; }
.mural { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.mural-plano { width: 190vw; display: grid; gap: clamp(14px, 1.6vw, 26px); transform: rotateX(34deg) rotateZ(-11deg) translateY(4%); transform-style: preserve-3d; }
.mural-fila { overflow: visible; }
.mural-trilho { display: flex; gap: clamp(14px, 1.6vw, 26px); width: max-content; animation: mural var(--tempo, 70s) linear infinite; will-change: transform; }
.mural-fila--volta .mural-trilho { animation-direction: reverse; }
.mural-trilho img { flex: none; width: clamp(280px, 27vw, 470px); height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 24px 50px -24px #000; }
@keyframes mural { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - clamp(7px, .8vw, 13px)), 0, 0); } }
.vitrine-veu { background: linear-gradient(to bottom, rgb(0 0 0 / .8) 0%, rgb(0 0 0 / .32) 28%, transparent 46%), linear-gradient(to top, var(--fundo) 0%, transparent 18%), linear-gradient(90deg, rgb(0 0 0 / .4), transparent 30%, transparent 70%, rgb(0 0 0 / .4)); }
@media (max-width: 860px) { .mural-plano { width: 300vw; transform: rotateX(30deg) rotateZ(-10deg) translateY(8%); } .mural-trilho img { width: 62vw; } }
@media (prefers-reduced-motion: reduce) { .mural-trilho { animation: none; } }

/* -- WhatsApp flutuante: pilula com o numero, sempre visivel -- */
.whats { width: auto; height: 60px; padding: 0 22px 0 15px; border-radius: 999px; display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .16) inset; transform: translateY(90px); opacity: 0; transition: transform .6s var(--ease), opacity .4s, box-shadow .3s; }
.whats.visivel { transform: none; opacity: 1; }
.whats:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgb(37 211 102 / .7), 0 0 0 1px rgb(255 255 255 / .22) inset; }
.whats svg { width: 30px; height: 30px; flex: none; }
.whats::after { border-radius: inherit; animation: pulso-pilula 2.8s ease-out infinite; }
@keyframes pulso-pilula { from { transform: scale(1); opacity: .6; } to { transform: scale(1.12, 1.45); opacity: 0; } }
.whats-texto { display: grid; line-height: 1.15; text-align: left; }
.whats-texto small { font: 500 10px/1.2 var(--fonte-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .92; }
.whats-texto b { font: 700 16px/1.2 var(--fonte-texto); letter-spacing: .01em; white-space: nowrap; }
.rodape-whats { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.rodape-whats::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.rodape-whats:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .whats { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .whats-texto { display: none; }
  .whats::after { animation-name: pulso; }
}

/* -- WhatsApp flutuante: so o icone, redondo -- */
.whats { width: 60px; height: 60px; padding: 0; justify-content: center; border-radius: 50%; }
.whats-texto { display: none; }
.whats::after { animation-name: pulso; }
.whats { display: grid; place-items: center; gap: 0; }
.whats svg { display: block; margin: 0; }

/* -- Alvos de toque confortaveis no celular -- */
@media (max-width: 860px) {
  .menu-cta { padding: 14px 16px; }
  .rodape-whats { padding: 12px 0; }
  .link { display: inline-block; padding: 10px 0; }
}

/* -- Abertura: texto entra logo e a frase de apoio faz parte do H1 -- */
.titulo-abertura { margin: 0; }
.titulo-abertura .apoio { display: block; margin-top: clamp(10px, 1.7vw, 30px); font-size: clamp(16px, 1.3vw, 21px); font-weight: 400; font-stretch: 100%; line-height: 1.5; letter-spacing: 0; text-wrap: wrap; text-transform: none; }
.linha > span { transition-delay: calc(var(--i) * .1s + .1s); }
.momento--titulo .apoio { transition: opacity .6s .35s; }

/* -- Links para as paginas de servico -- */
.serv-link { display: inline-block; margin-top: 22px; font: 500 13px/1 var(--fonte-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; text-decoration: none; padding: 15px 24px; border: 1px solid rgb(255 255 255 / .7); border-radius: 999px; text-shadow: none; background: rgb(0 0 0 / .28); transition: background .3s, color .3s; }
.serv-link:hover { background: #fff; color: #121212; }
.serv-link::after { content: " \2192"; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.rodape-links a { color: #fff; text-decoration: none; padding: 10px 0; }
.rodape-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* -- Abertura: as barras abrem rapido e, no celular, nao existem (o video ja aparece inteiro) -- */
.letterbox { transition: transform .7s cubic-bezier(.6, 0, .2, 1); }
@media (max-width: 860px) { .letterbox { display: none; } }

/* -- Celular: areas de toque e textos minimos -- */
@media (max-width: 860px) {
  .marca { min-height: 44px; }
  .marca-logo { height: 40px; }
  .rodape-links a { padding: 14px 0; }
  .rodape a[aria-label] { display: inline-flex; min-height: 44px; align-items: center; }
  .marco-det { font-size: 12px; }
}
@media (max-width: 860px) { .curva-meses { font-size: 11px; } }
