/* Site da Futura Tecnologia (futura.place)
   Identidade: a TV verde com antenas (verde #18d777, grafite #262833).
   Moderno com toques vintage: tela de tubo, letreiro de canal, barras de cor e faixa de telejornal.
   Toda animação respeita "prefers-reduced-motion". */

@font-face { font-family: "Space Grotesk"; src: url("/assets/fontes/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fontes/fraunces-italico.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "VT323"; src: url("/assets/fontes/vt323.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --fundo: #0e0f14;
  --fundo-2: #13151c;
  --superficie: #191b24;
  --linha: #2b2f3c;
  --texto: #eef2ef;
  --suave: #a6adb9;
  --verde: #18d777;
  --verde-2: #1bac66;
  --verde-tinta: #04170c;
  --grafite: #262833;
  --creme: #f3eee3;
  --tinta: #1d1f27;
  --tinta-suave: #575b69;
  --verde-claro: #0c8a4a;
  --raio: 22px;
  --sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --osd: "VT323", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
p { margin: 0 0 1em; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--verde); }

.caixa { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pular { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--verde); color: var(--verde-tinta); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.pular:focus { left: 16px; }

.sobretitulo { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--verde); }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; gap: .55em; padding: .95em 1.45em; border-radius: 999px;
  background: var(--verde); color: var(--verde-tinta); font-weight: 600; text-decoration: none; border: 1px solid transparent;
  box-shadow: 0 12px 30px -12px rgba(24, 215, 119, .75), inset 0 -2px 0 rgba(0, 0, 0, .14);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(24, 215, 119, .9), inset 0 -2px 0 rgba(0, 0, 0, .14); }
.botao svg { width: 1.25em; height: 1.25em; flex: none; }
.botao-contorno { background: rgba(255, 255, 255, .02); color: var(--texto); border-color: var(--linha); box-shadow: none; }
.botao-contorno:hover { border-color: var(--verde); box-shadow: 0 0 0 4px rgba(24, 215, 119, .12); }
.botao-pequeno { padding: .6em 1.15em; font-size: .92rem; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.topo.rolou { background: rgba(14, 15, 20, .8); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: rgba(255, 255, 255, .06); }
.topo-dentro { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 2; }
.marca-tv { width: 46px; height: 41px; flex: none; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.marca:hover .marca-tv { transform: rotate(-6deg) scale(1.06); }
.marca-nome { display: flex; flex-direction: column; line-height: 1; }
.marca-nome b { font-size: 1.42rem; font-weight: 500; letter-spacing: -.02em; }
.marca-nome small { font-size: .6rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--verde); margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.botao) { color: var(--suave); text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.menu a:not(.botao)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--verde); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:not(.botao):hover { color: var(--texto); }
.menu a:not(.botao):hover::after { transform: scaleX(1); }
.menu-abrir { display: none; position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--linha); background: rgba(14, 15, 20, .6); cursor: pointer; }
.menu-abrir span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--texto); border-radius: 2px; transition: transform .3s, top .3s; }
.menu-abrir span:first-child { top: 17px; }
.menu-abrir span:last-child { top: 27px; }
.menu-abrir[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-abrir[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Abertura (hero) ---------- */
/* O hero deixa a altura da faixa de notícias de fora, para ela aparecer já na primeira tela */
.hero { position: relative; min-height: calc(100vh - 53px); min-height: calc(100svh - 53px); display: flex; align-items: center; padding: clamp(88px, 13vh, 120px) 0 clamp(48px, 7vh, 110px); overflow: hidden; isolation: isolate; }
.hero-grade-fundo {
  position: absolute; z-index: -2; left: -50%; right: -50%; bottom: -12%; height: 52%;
  background-image: linear-gradient(rgba(24, 215, 119, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 215, 119, .14) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 80%); mask-image: linear-gradient(to top, #000, transparent 80%);
  animation: grade-anda 5s linear infinite;
}
@keyframes grade-anda { to { background-position: 0 64px, 0 0; } }
.hero-tv {
  position: absolute; z-index: -1; width: min(88vw, 1560px); right: -6vw; top: 50%;
  transform: translateY(calc(-47% + var(--p, 0) * 70px)) scale(calc(1 + var(--p, 0) * .06));
  transform-origin: 65% 50%;
}
.tv-quadro { position: relative; aspect-ratio: 1376 / 768; }
.tv-quadro > img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 84%, transparent), linear-gradient(to right, transparent, #000 18%, #000 97%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 84%, transparent), linear-gradient(to right, transparent, #000 18%, #000 97%, transparent); mask-composite: intersect; }
.tv-quadro::before { content: ""; position: absolute; z-index: 1; left: 40%; top: 4%; width: 50%; height: 92%; border-radius: 50%; background: radial-gradient(closest-side, rgba(24, 215, 119, .16), transparent); mix-blend-mode: screen; pointer-events: none; }
/* A tela da TV da foto: liga como tubo antigo e fica com varredura suave */
.tv-tela { position: absolute; z-index: 2; left: 53.7%; top: 32.6%; width: 22.9%; height: 39%; border-radius: 9% / 12%; overflow: hidden; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); }
.tv-tela::before { content: ""; position: absolute; inset: 0; background: #07080b; animation: tela-liga 1.5s .35s ease-out both; }
.tv-tela::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #eafff3; box-shadow: 0 0 18px 4px rgba(24, 215, 119, .8); transform: scaleX(0); animation: tela-linha 1.5s .35s ease-out both; }
@keyframes tela-liga { 0%, 42% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tela-linha { 0% { transform: scaleX(0); opacity: 1; } 28% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(1) scaleY(90); opacity: .7; } 100% { transform: scaleX(1) scaleY(140); opacity: 0; } }
.tv-varredura { position: absolute; left: 0; right: 0; height: 35%; top: -35%; background: linear-gradient(transparent, rgba(24, 215, 119, .09), transparent); animation: varredura 6s 2s linear infinite; }
@keyframes varredura { to { top: 100%; } }
/* Zapping: a tela da foto troca sozinha entre os canais dos produtos (site.js, "Zapping na TV do hero").
   O canal 0 é a própria FT da foto, sem nada por cima. */
.tv-tela { container-type: size; }
.tv-tela::before, .tv-tela::after { z-index: 5; }
.tv-canal { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .25s; }
.tv-canal.ativo { opacity: 1; }
.tv-canal img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.05); }
.tv-tela.rolando .tv-canal.ativo { animation: tv-rola .4s steps(5, end) 1; }
@keyframes tv-rola { from { transform: translateY(-14%); } to { transform: none; } }
.tv-linhas { position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .5) 100%); }
.tv-tela .tv-varredura { z-index: 2; }
.tv-chiado { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; transition: opacity .1s; }
.tv-tela.trocando .tv-chiado { opacity: 1; }
.tv-osd { position: absolute; top: 8%; left: 10%; z-index: 4; font-family: var(--osd); font-size: 12cqw; line-height: .9; color: #8dffbe; letter-spacing: .04em; text-shadow: 0 0 2px #000, 0 1px 3px #000, 0 0 8px rgba(24, 215, 119, .9), 2px 0 rgba(255, 40, 100, .35), -2px 0 rgba(0, 200, 255, .35); opacity: 0; transition: opacity .2s; }
.tv-osd small { display: block; font-size: .58em; letter-spacing: .08em; text-transform: uppercase; }
.tv-tela.osd-on .tv-osd { opacity: 1; }
/* Sinal saindo das antenas */
.sinal { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--verde); stroke-width: 3.2; stroke-linecap: round; pointer-events: none; }
.sinal path { opacity: 0; animation: sinal 2.6s ease-out infinite; filter: drop-shadow(0 0 4px rgba(24, 215, 119, .9)); }
.sinal path:nth-child(2) { animation-delay: .25s; }
.sinal path:nth-child(3) { animation-delay: .5s; }
.sinal-b path { animation-delay: 1.1s; }
.sinal-b path:nth-child(2) { animation-delay: 1.35s; }
.sinal-b path:nth-child(3) { animation-delay: 1.6s; }
@keyframes sinal { 0% { opacity: 0; } 18% { opacity: .95; } 60%, 100% { opacity: 0; } }
/* Cartões "holográficos" em volta da TV */
.holo {
  position: absolute; z-index: 3; width: clamp(150px, 14vw, 220px); padding: 12px 14px; border-radius: 16px; font-size: .74rem; line-height: 1.35;
  background: rgba(19, 23, 29, .66); border: 1px solid rgba(24, 215, 119, .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px rgba(0, 0, 0, .5), 0 0 34px rgba(24, 215, 119, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  translate: calc(var(--mx, 0) * var(--d, 10) * 1px) calc(var(--my, 0) * var(--d, 10) * 1px);
  animation: holo-surge .9s cubic-bezier(.2, .9, .25, 1) both, holo-flutua 7s ease-in-out infinite;
}
.holo p { margin: 0; }
.holo-topo { display: flex; align-items: center; gap: 6px; color: var(--suave); font-weight: 500; margin-bottom: 8px !important; }
.ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 8px var(--verde); flex: none; }
.holo-chat { left: 37.5%; top: 13%; width: clamp(170px, 16vw, 240px); --d: 16; animation-delay: 1.3s, 0s; }
.holo-barras { left: 40%; top: 63%; --d: 26; animation-delay: 1.55s, -2s; }
.holo-ronda { left: 76%; top: 71%; --d: 20; animation-delay: 1.8s, -4s; }
@keyframes holo-surge { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes holo-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.balao { margin: 0; padding: 7px 10px; border-radius: 12px; max-width: 92%; }
.balao + .balao { margin-top: 6px; }
.balao-cliente { background: #232938; border-bottom-left-radius: 4px; }
.balao-ia { margin-left: auto; background: rgba(24, 215, 119, .16); border: 1px solid rgba(24, 215, 119, .35); border-bottom-right-radius: 4px; }
.balao-ia small { display: block; color: var(--verde); font-weight: 600; font-size: .9em; margin-bottom: 2px; }
.holo-chat .balao-cliente { animation: chat-cliente 9s 1.6s infinite both; }
.holo-chat .balao-ia { animation: chat-ia 9s 1.6s infinite both; }
@keyframes chat-cliente { 0% { opacity: 0; transform: translateY(6px); } 7%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat-ia { 0%, 13% { opacity: 0; transform: translateY(6px); } 19%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.barras { display: flex; align-items: flex-end; gap: 5px; height: 52px; }
.barras i { flex: 1; height: var(--h, 50%); border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, var(--verde-2), var(--verde)); transform-origin: bottom; animation: barra 2.8s ease-in-out infinite alternate; }
.barras i:nth-child(1) { --h: 42%; animation-delay: -.3s; }
.barras i:nth-child(2) { --h: 64%; animation-delay: -1.1s; }
.barras i:nth-child(3) { --h: 50%; animation-delay: -.7s; }
.barras i:nth-child(4) { --h: 82%; animation-delay: -1.9s; }
.barras i:nth-child(5) { --h: 70%; animation-delay: -.2s; }
.barras i:nth-child(6) { --h: 96%; animation-delay: -1.5s; }
.barras i:nth-child(7) { --h: 58%; animation-delay: -2.4s; }
@keyframes barra { from { transform: scaleY(.5); } to { transform: scaleY(1); } }
.holo-grande { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px !important; }
.progresso { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.progresso i { display: block; height: 100%; background: var(--verde); transform-origin: left; animation: progresso 6s ease-in-out infinite; }
@keyframes progresso { 0% { transform: scaleX(0); } 55%, 92% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: .2; } }

.hero-texto { position: relative; transform: translateY(calc(var(--p, 0) * -40px)); opacity: calc(1 - var(--p, 0) * .9); }
.osd { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 18px; font-family: var(--osd); font-size: 1.2rem; letter-spacing: .08em; color: var(--verde); text-shadow: 0 0 8px rgba(24, 215, 119, .6); }
.osd i { width: .62em; height: .62em; border-radius: 50%; background: #ff4b55; box-shadow: 0 0 8px #ff4b55; animation: piscar 1.4s steps(2, jump-none) infinite; }
@keyframes piscar { 50% { opacity: .15; } }
.hero h1 { font-size: clamp(2.7rem, 6.3vw, 5.6rem); line-height: 1.01; letter-spacing: -.05em; max-width: 11.5ch; margin: .28em 0 .32em; }
.glitch { position: relative; display: inline-block; padding-right: .06em; }
.glitch::before, .glitch::after { content: attr(data-texto); position: absolute; inset: 0; padding-right: inherit; opacity: 0; pointer-events: none; }
.glitch::before { color: #ff3d7f; animation: glitch-a 4.2s 2s infinite steps(1, end); }
.glitch::after { color: #38d6ff; animation: glitch-b 4.2s 2s infinite steps(1, end); }
@keyframes glitch-a { 0%, 88%, 100% { opacity: 0; transform: none; clip-path: none; } 89% { opacity: .8; transform: translate(-4px, 1px); clip-path: inset(10% 0 55% 0); } 91% { opacity: .8; transform: translate(3px, -1px); clip-path: inset(60% 0 8% 0); } 93% { opacity: 0; } }
@keyframes glitch-b { 0%, 88%, 100% { opacity: 0; transform: none; clip-path: none; } 89% { opacity: .8; transform: translate(4px, -1px); clip-path: inset(48% 0 20% 0); } 91% { opacity: .8; transform: translate(-3px, 1px); clip-path: inset(5% 0 70% 0); } 93% { opacity: 0; } }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--suave); max-width: 33em; }
.selos { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--suave); font-size: .9rem; }
.selos li { display: inline-flex; align-items: center; gap: .45em; }
.selos svg { width: 1.05em; height: 1.05em; color: var(--verde); }
.hero-texto > * { animation: sobe .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-texto > :nth-child(2) { animation-delay: .1s; }
.hero-texto > :nth-child(3) { animation-delay: .2s; }
.hero-texto > :nth-child(4) { animation-delay: .32s; }
.hero-texto > :nth-child(5) { animation-delay: .44s; }
.hero-texto > :nth-child(6) { animation-delay: .56s; }
@keyframes sobe { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rolar { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 14px; }
.rolar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--verde); animation: rolar 1.8s ease-in-out infinite; }
@keyframes rolar { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Faixa de telejornal ---------- */
.faixa { position: relative; z-index: 2; display: flex; align-items: stretch; background: var(--verde); color: var(--verde-tinta); overflow: hidden; box-shadow: 0 0 60px -10px rgba(24, 215, 119, .5); }
.faixa-selo { flex: none; display: flex; align-items: center; gap: .5em; padding: 0 1.1em; background: var(--fundo); color: var(--verde); font-family: var(--osd); font-size: 1.3rem; letter-spacing: .1em; text-transform: uppercase; }
.faixa-selo::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: #ff4b55; box-shadow: 0 0 8px #ff4b55; animation: piscar 1.4s steps(2, jump-none) infinite; }
.faixa-trilho { display: flex; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.faixa-texto { flex: none; display: flex; margin: 0; padding: .75em 0; white-space: nowrap; animation: faixa 55s linear infinite; }
.faixa:hover .faixa-texto { animation-play-state: paused; }
.faixa-texto span { padding: 0 1.4em; position: relative; font-weight: 500; }
.faixa-texto span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--verde-tinta); transform: rotate(45deg); }
.faixa-texto b { font-weight: 700; margin-right: .45em; }
@keyframes faixa { to { transform: translateX(-100%); } }

/* ---------- Destaque: o Planta Fácil com a sua IA (faixa de ponta a ponta, com o vídeo) ---------- */
.destaque-planta { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0;
  background: radial-gradient(55% 70% at 88% 12%, rgba(24, 215, 119, .16), transparent 70%), radial-gradient(45% 60% at 8% 100%, rgba(37, 99, 235, .14), transparent 70%), #0b0e13;
  border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.destaque-planta-grade { display: grid; grid-template-columns: minmax(300px, .85fr) 1.6fr; gap: clamp(28px, 4vw, 60px); align-items: center; width: min(1320px, calc(100% - 40px)); }
.destaque-planta h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); margin: 14px 0 0; }
.destaque-planta .lead { margin: 18px 0 0; color: var(--suave); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.destaque-planta .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.video-caixa { position: relative; overflow: hidden; background: #0b0e13; }
.video-caixa video { display: block; width: 100%; height: 100%; object-fit: contain; }
.destaque-planta-video .largo { aspect-ratio: 16 / 9; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); }
.destaque-planta-video .alto { display: none; aspect-ratio: 9 / 16; }
/* pausar e voltar a tocar: o vídeo toca sozinho, então o botão fica sempre à mostra (duas barras ou um triângulo) */
.video-pausa { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(11, 14, 19, .7); color: #f2f4f7; cursor: pointer; }
.video-pausa[hidden] { display: none; }
.video-pausa::before { content: ""; box-sizing: border-box; width: 12px; height: 14px; border: solid currentColor; border-width: 0 4px; }
.video-pausa[data-parado]::before { width: 0; height: 0; margin-left: 4px; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; }
.video-pausa:hover, .video-pausa:focus-visible { background: rgba(11, 14, 19, .92); border-color: var(--verde); }
.video-pausa:focus-visible { border-radius: 50%; }
@media (max-width: 899px) {
  .destaque-planta { padding-bottom: 0; }
  .destaque-planta-grade { grid-template-columns: 1fr; gap: 22px; }
  .destaque-planta-video { margin: 0 -20px; }
  .destaque-planta-video .largo { display: none; }
  .destaque-planta-video .alto { display: block; width: min(100%, calc(82svh * 9 / 16)); margin: 0 auto; }
}

/* ---------- Seções ---------- */
.secao { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.secao-topo { max-width: 700px; margin-bottom: clamp(40px, 6vw, 76px); }
.secao-topo h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); margin: .3em 0 .38em; }
.secao-topo > p:last-child { color: var(--suave); font-size: 1.1rem; margin: 0; }

/* ---------- Programação (portfólio) ---------- */
.prog { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.prog-tv { position: sticky; top: max(100px, calc(50vh - 270px)); }
.tvg { position: relative; padding-top: 14.6%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); --giro: 0deg; }
.tvg-antenas { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 100 / 15; overflow: visible; fill: none; stroke: var(--verde); stroke-width: 6px; stroke-linecap: round; transform-origin: 47% 100%; }
.tvg-antenas path { vector-effect: non-scaling-stroke; }
.tvg.trocando .tvg-antenas { animation: antena .55s ease-in-out; }
@keyframes antena { 30% { transform: rotate(-4deg); } 70% { transform: rotate(3deg); } }
.tvg-corpo {
  position: relative; display: grid; grid-template-columns: 1fr 16%; gap: 4.4%; padding: 4.2% 4% 4.2% 4.4%;
  border-radius: clamp(22px, 3vw, 44px); background: linear-gradient(165deg, #45f39b 0%, #18d777 32%, #14bf69 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), inset 0 -7px 0 rgba(0, 0, 0, .12), 0 0 90px -24px rgba(24, 215, 119, .55);
}
.tvg-tela { position: relative; aspect-ratio: 16 / 10; border-radius: clamp(14px, 2vw, 30px); overflow: hidden; background: var(--grafite); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .22); }
.tvg-tela::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, .5) 100%), linear-gradient(125deg, rgba(255, 255, 255, .12), transparent 38%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .55); }
.tvg-canal { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.tvg-canal.ativo { opacity: 1; visibility: visible; transition: opacity .2s; }
.tvg-canal img, .tvg-canal video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tvg-chiado { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; pointer-events: none; transition: opacity .12s; }
.tvg.trocando .tvg-chiado { opacity: 1; }
.tvg-osd { position: absolute; top: 5%; right: 5%; z-index: 6; font-family: var(--osd); font-size: clamp(1.2rem, 2.1vw, 2rem); color: #8dffbe; letter-spacing: .06em; text-shadow: 0 0 6px rgba(24, 215, 119, .9), 2px 0 rgba(255, 40, 100, .4), -2px 0 rgba(0, 200, 255, .4); opacity: 0; transition: opacity .2s; }
.tvg.osd-on .tvg-osd { opacity: 1; }
.tvg-legenda { position: absolute; left: 4%; bottom: 6%; z-index: 6; font-family: var(--osd); font-size: clamp(1rem, 1.6vw, 1.45rem); letter-spacing: .04em; color: #fff; background: rgba(0, 0, 0, .62); border-left: 3px solid var(--verde); padding: .05em .55em; }
.tvg-painel { display: flex; flex-direction: column; align-items: center; gap: 0; padding-top: 4%; }
.tvg-botao {
  position: relative; width: 82%; aspect-ratio: 1; margin-bottom: 18%; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 34% 28%, #42465a, #262833 56%, #191a22);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .14), 0 5px 10px rgba(0, 0, 0, .3);
  transform: rotate(var(--giro)); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), filter .2s;
}
.tvg-botao + .tvg-botao { transform: rotate(calc(var(--giro) * -.6)); }
.tvg-botao::after { content: ""; position: absolute; left: 50%; top: 9%; width: 9%; height: 34%; margin-left: -4.5%; border-radius: 4px; background: #a2a8b6; }
.tvg-botao:hover { filter: brightness(1.2); }
.tvg-botao:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.tvg-alto { display: flex; flex-direction: column; gap: clamp(5px, .7vw, 9px); width: 100%; margin-top: 4%; }
.tvg-alto i { height: clamp(4px, .55vw, 8px); border-radius: 6px; background: var(--grafite); }
.prog-canais { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.prog-canais button { font-family: var(--osd); font-size: 1.2rem; letter-spacing: .05em; padding: .2em .8em; border-radius: 9px; border: 1px solid var(--linha); background: transparent; color: var(--suave); cursor: pointer; transition: all .2s; }
.prog-canais button:hover { color: var(--texto); border-color: var(--verde); }
.prog-canais button[aria-current="true"] { background: var(--verde); border-color: var(--verde); color: var(--verde-tinta); }

.canal { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; transition: opacity .45s; }
.js-ok .prog .canal:not(.ativo) { opacity: .3; }
.canal-fig { display: none; }
.canal-num { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 8px; font-family: var(--osd); font-size: 1.35rem; color: var(--verde); letter-spacing: .05em; }
.status { display: inline-flex; align-items: center; gap: .45em; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .32em .75em; border-radius: 999px; border: 1px solid currentColor; }
.status::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.status-ar { color: #4cf0a0; }
.status-ar::before { animation: piscar 1.6s steps(2, jump-none) infinite; }
.status-teste { color: #ffd166; }
.status-obra { color: #ffa45c; }
.canal h3 { font-size: clamp(2.1rem, 3.5vw, 3rem); margin: .12em 0 .2em; }
.canal-frase { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.3; color: var(--texto); }
.canal p { color: var(--suave); }
.canal .canal-frase { color: var(--texto); }
.canal-lista { list-style: none; padding: 0; margin: .4em 0 1.6em; display: grid; gap: .55em; }
.canal-lista li { position: relative; padding-left: 1.6em; }
.canal-lista li::before { content: ""; position: absolute; left: .1em; top: .55em; width: .62em; height: .62em; border-radius: 2px; background: var(--verde); box-shadow: 0 0 10px rgba(24, 215, 119, .6); transform: rotate(45deg); }
.link-seta { display: inline-flex; align-items: center; gap: .5em; width: fit-content; color: var(--verde); font-weight: 600; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid rgba(24, 215, 119, .4); }
.link-seta svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.link-seta:hover svg { transform: translateX(5px); }

/* Tela do InTalk, desenhada em código (cabe em qualquer tamanho por unidades de contêiner) */
.mock-intalk { position: absolute; inset: 0; container-type: size; }
.mi { display: grid; grid-template-columns: 7% 34% 1fr; height: 100%; background: #10131a; color: #e8ecf2; font-size: 2.1cqw; line-height: 1.35; }
.mi p { margin: 0; }
.mi-canais { display: flex; flex-direction: column; align-items: center; gap: 3cqw; padding-top: 3.2cqw; background: #0a0c11; }
.mi-canais i { width: 3.3cqw; height: 3.3cqw; border-radius: 1cqw; }
.c-zap { background: #25d366; }
.c-insta { background: linear-gradient(45deg, #f9a825, #e91e63 55%, #7b1fa2); }
.c-msg { background: #2d88ff; }
.c-tele { background: #29a9eb; }
.c-mail { background: #f4b400; }
.c-site { background: var(--verde); }
.mi-lista { padding-top: 1.6cqw; border-right: 1px solid #1f2430; }
.mi-item { display: grid; grid-template-columns: auto 1fr; column-gap: 1.4cqw; padding: 1.8cqw 2.2cqw; border-bottom: 1px solid #1a1f29; opacity: 0; animation: mi-entra .45s forwards; }
.mi-item:first-child { background: #17213a; box-shadow: inset .5cqw 0 0 var(--verde); }
.mi-item:nth-child(1) { animation-delay: .15s; }
.mi-item:nth-child(2) { animation-delay: .45s; }
.mi-item:nth-child(3) { animation-delay: .75s; }
.mi-item:nth-child(4) { animation-delay: 1.05s; }
.mi-item i { grid-row: span 2; align-self: center; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; }
.mi-item b { font-weight: 600; font-size: 2.1cqw; }
.mi-item span { font-size: 1.75cqw; color: #8d96a7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi-conversa { display: flex; flex-direction: column; gap: 2cqw; padding: 2.6cqw 3.2cqw; background: radial-gradient(ellipse at 70% 30%, rgba(24, 215, 119, .07), transparent 60%); }
.mi-cab { display: flex; align-items: center; gap: 1.2cqw; font-weight: 600; padding-bottom: 1.8cqw; border-bottom: 1px solid #1f2430; }
.mi-cab i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; }
.mi .balao { font-size: 2cqw; padding: 1.6cqw 2.2cqw; border-radius: 2.2cqw; max-width: 84%; }
.mi .balao + .balao { margin-top: 0; }
.mi .balao-cliente { border-bottom-left-radius: .6cqw; animation: mi-entra .45s 1.2s both; }
.mi .balao-ia { border-bottom-right-radius: .6cqw; animation: mi-entra .45s 3s both; }
.mi .balao-ia small { font-size: 1.55cqw; }
.mi-digitando { display: flex; gap: .8cqw; align-self: flex-end; padding: 1.4cqw 2cqw; border-radius: 2cqw; background: rgba(24, 215, 119, .12); opacity: 0; animation: mi-digita 1.3s 1.7s both; }
.mi-digitando i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--verde); animation: pula .9s infinite; }
.mi-digitando i:nth-child(2) { animation-delay: .15s; }
.mi-digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes mi-entra { from { opacity: 0; transform: translateY(1.5cqw); } to { opacity: 1; transform: none; } }
@keyframes mi-digita { 0%, 100% { opacity: 0; } 12%, 88% { opacity: 1; } }
@keyframes pula { 50% { transform: translateY(-.8cqw); } }

/* Barras de cor: o "sinal em teste" dos produtos que ainda não estão no ar */
.barras-cor { position: absolute; inset: 0; display: grid; grid-template-rows: 70% 30%; container-type: size; background: #000; }
.bc-barras, .bc-base { display: grid; grid-template-columns: repeat(7, 1fr); }
.bc-base { grid-template-columns: 1.25fr 1.25fr 1.25fr 3.25fr; }
.bc-barras i:nth-child(1) { background: #c0c0c0; }
.bc-barras i:nth-child(2) { background: #c0c000; }
.bc-barras i:nth-child(3) { background: #00c0c0; }
.bc-barras i:nth-child(4) { background: #00c000; }
.bc-barras i:nth-child(5) { background: #c000c0; }
.bc-barras i:nth-child(6) { background: #c00000; }
.bc-barras i:nth-child(7) { background: #0000c0; }
.bc-base i:nth-child(1) { background: #00214c; }
.bc-base i:nth-child(2) { background: #fff; }
.bc-base i:nth-child(3) { background: #32006a; }
.bc-base i:nth-child(4) { background: #131313; }
.bc-aviso { position: absolute; left: 50%; top: 44%; margin: 0; transform: translate(-50%, -50%); padding: 2cqw 4.5cqw; background: #000; border: .45cqw solid #fff; color: #fff; font-family: var(--osd); font-size: 6.4cqw; line-height: 1; letter-spacing: .06em; text-align: center; white-space: nowrap; animation: tremer 3s steps(1, end) infinite; }
.bc-aviso small { display: block; margin-top: 1cqw; color: var(--verde); font-size: 4.2cqw; }
@keyframes tremer { 0%, 92%, 100% { transform: translate(-50%, -50%); } 93% { transform: translate(-49%, -51%); } 95% { transform: translate(-51%, -49%); } }

/* Laboratório */
.lab { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; margin-top: clamp(48px, 8vw, 100px); padding: 26px; border: 1px dashed var(--linha); border-radius: 26px; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .016) 0 10px, transparent 10px 20px); }
.lab-texto h3 { font-size: 1.7rem; margin: .3em 0 .3em; }
.lab-texto p:last-child { color: var(--suave); margin: 0; }
.lab-card { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: var(--superficie); border: 1px solid var(--linha); transition: border-color .25s, transform .25s; }
.lab-card:hover { border-color: rgba(24, 215, 119, .5); transform: translateY(-3px); }
.lab-card h4 { font-size: 1.3rem; margin: .1em 0 .3em; }
.lab-card p { color: var(--suave); font-size: .95rem; margin: 0; }
.lab-card .canal-num { font-size: 1.1rem; margin-bottom: 4px; gap: 8px; }
.lab-mini { position: relative; flex: none; width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: linear-gradient(90deg, #c0c0c0 0 14.3%, #c0c000 0 28.6%, #00c0c0 0 42.9%, #00c000 0 57.1%, #c000c0 0 71.4%, #c00000 0 85.7%, #0000c0 0); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35); }
.lab-mini::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 3px); }

/* ---------- Seções claras (papel antigo) ---------- */
.claro { background: var(--creme); color: var(--tinta); color-scheme: light; }
.claro::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.claro > .caixa { position: relative; }
#servicos { border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.claro .sobretitulo { color: var(--verde-claro); }
.claro h2 em { color: var(--verde-claro); }
.claro .secao-topo > p:last-child { color: var(--tinta-suave); }
.claro :focus-visible { outline-color: var(--verde-claro); }
.servicos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.servico { padding: 28px 24px; border-radius: var(--raio); background: #fffdf8; border: 1px solid #e2dbc9; box-shadow: inset 0 1px 0 #fff, 0 22px 40px -30px rgba(50, 35, 10, .45); transition: transform .3s, box-shadow .3s; }
.servico:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 #fff, 0 30px 50px -30px rgba(50, 35, 10, .55); }
.servico-icone { display: block; width: 58px; height: 58px; padding: 11px; border-radius: 17px; background: #dcf4e5; fill: none; stroke: var(--verde-claro); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.js-ok .servico-icone > * { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1) .35s; }
.js-ok .servico.visivel .servico-icone > * { stroke-dashoffset: 0; }
.servico h3 { font-size: 1.3rem; letter-spacing: -.025em; margin: 20px 0 8px; }
.servico p { color: var(--tinta-suave); font-size: .98rem; margin: 0; }
.numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; padding: 30px 24px; border-radius: 26px; background: #1b1d25; color: #fff; box-shadow: inset 0 0 0 6px #262833, 0 30px 60px -35px rgba(0, 0, 0, .6); position: relative; overflow: hidden; }
.numeros::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 3px); }
.numeros p { margin: 0; text-align: center; }
.numeros b, .numeros span { font-family: var(--osd); font-weight: 400; color: var(--verde); text-shadow: 0 0 14px rgba(24, 215, 119, .55); font-variant-numeric: tabular-nums; }
.numeros b { font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9; }
.numeros span { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.numeros small { display: block; margin-top: 6px; color: #b7bdc9; font-size: .92rem; line-height: 1.35; }

.como { padding-top: 0; }
.passos { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: passo; --prog: 0; }
.passos::before, .passos::after { content: ""; position: absolute; top: 28px; left: 29px; right: 29px; height: 3px; border-radius: 3px; background: #ddd4c1; }
.passos::after { background: var(--verde); box-shadow: 0 0 12px rgba(24, 215, 119, .7); transform: scaleX(var(--prog)); transform-origin: left; }
.passos li { position: relative; padding-top: 84px; }
.botao-tv { position: absolute; top: 0; left: 0; z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #42465a, #262833 56%, #191a22); box-shadow: 0 8px 16px rgba(0, 0, 0, .25), inset 0 2px 0 rgba(255, 255, 255, .14); transform: rotate(-120deg); transition: transform .8s cubic-bezier(.3, 1.5, .5, 1); }
.botao-tv::after { content: ""; position: absolute; left: 50%; top: 8px; width: 5px; height: 17px; margin-left: -2.5px; border-radius: 3px; background: #8d93a1; transition: background .4s, box-shadow .4s; }
.passos li.passou .botao-tv { transform: rotate(0deg); }
.passos li.passou .botao-tv::after { background: var(--verde); box-shadow: 0 0 10px var(--verde); }
.passos h3 { font-size: 1.35rem; margin-bottom: 8px; }
.passos h3::before { counter-increment: passo; content: "0" counter(passo); display: block; font-family: var(--osd); font-weight: 400; font-size: 1.25rem; letter-spacing: .05em; color: var(--verde-claro); margin-bottom: 4px; }
.passos p { color: var(--tinta-suave); margin: 0; }

/* ---------- Sobre ---------- */
.sobre { background: var(--fundo); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; margin-top: calc(clamp(28px, 4vw, 56px) * -1); }
.sobre-grade { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.sobre-foto { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px var(--linha); aspect-ratio: 1376 / 768; }
.sobre-foto img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1) translateY(calc(var(--py, 0) * 1px)); }
.sobre-foto::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px), linear-gradient(to top, rgba(14, 15, 20, .5), transparent 40%); }
.sobre-texto h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: .3em 0 .45em; }
.sobre-texto p:not(.sobretitulo) { color: var(--suave); font-size: 1.1rem; }

/* ---------- Contato ---------- */
.contato { background: radial-gradient(ellipse 60% 55% at 72% 50%, rgba(24, 215, 119, .12), transparent 70%), var(--fundo); }
.contato-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.contato-texto h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin: .3em 0 .4em; }
.contato-texto p:not(.sobretitulo) { color: var(--suave); font-size: 1.12rem; max-width: 30em; }
.particulas { position: relative; justify-self: center; width: 100%; max-width: 560px; aspect-ratio: 446 / 400; touch-action: pan-y; }
.particulas canvas { display: block; width: 100%; height: 100%; }
.particulas-dica { position: absolute; left: 0; right: 0; bottom: -40px; margin: 0; text-align: center; font-size: .82rem; color: var(--suave); }

/* ---------- Rodapé ---------- */
.rodape { padding: 70px 0 30px; background: #0a0b0f; border-top: 1px solid rgba(255, 255, 255, .05); }
.rodape-grade { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.rodape-marca p { color: var(--suave); margin: 16px 0 0; }
.rodape .rodape-legal { font-size: .85rem; color: #7d8492; line-height: 1.55; }
.rodape nav h2 { margin: 0 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--verde); }
.rodape nav a { display: block; width: fit-content; padding: 5px 0; color: var(--suave); text-decoration: none; transition: color .2s; }
.rodape nav a:hover { color: var(--texto); }
.rodape-fim { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .85rem; color: #7d8492; }
.rodape-fim p { margin: 0; }
.osd-mini { font-family: var(--osd); font-size: 1.1rem; letter-spacing: .12em; color: var(--verde); }

/* ---------- Página de texto (privacidade) ---------- */
.pagina-legal .topo-dentro .botao { position: relative; z-index: 2; }
.legal { max-width: 760px; padding: 140px 0 90px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin: .3em 0 .2em; }
.legal-data { color: var(--suave); margin-bottom: 2em; }
.legal h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 2em 0 .6em; }
.legal p, .legal li { color: #c9ced7; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--verde); text-underline-offset: 3px; }
.pagina-legal .rodape { padding-top: 10px; }
.pagina-legal .rodape-fim a { color: inherit; }

/* ---------- Revelar ao rolar (só quando o script carregou) ---------- */
.js-ok [data-revelar] { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js-ok [data-revelar].visivel { opacity: 1; transform: none; }
.js-ok .servico[data-revelar].visivel:hover { transform: translateY(-6px); }

/* ---------- Telas menores ---------- */
/* ===== Clientes: cartões escuros com o logo num painel claro (os logos foram feitos para fundo claro) ===== */
.clientes-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cliente { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--raio); background: var(--superficie); border: 1px solid var(--linha); transition: transform .3s, border-color .3s; }
.cliente:hover { transform: translateY(-6px); border-color: rgba(24, 215, 119, .45); }
.cliente-logo { display: grid; place-items: center; height: 120px; margin-bottom: 14px; padding: 16px; border-radius: 16px; background: #fffdf8; }
.cliente-logo img { max-width: 100%; max-height: 88px; width: auto; height: auto; object-fit: contain; }
.cliente h3 { font-size: 1.15rem; letter-spacing: -.02em; margin: 0; }
.cliente-ramo { margin: 0; color: var(--verde); font-family: var(--osd); font-size: 1.2rem; }
.cliente p { margin: 0; color: var(--suave); font-size: .95rem; }
.cliente .link-seta { margin-top: auto; }
.cliente p + .link-seta { margin-top: 12px; }

/* Grupo VAB dentro de Clientes: as seis marcas em três colunas, cada uma abre a página do caso */
.clientes-grupo-topo { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 22px; }
.clientes-grupo-topo h3, .clientes-sub { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; }
.clientes-grupo-topo p { margin: 0; max-width: 620px; color: var(--suave); }
.clientes-grupo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clientes-sub { margin: clamp(56px, 7vw, 84px) 0 22px; }

/* ===== Páginas de caso (/clientes/<marca>/) ===== */
.pagina-caso .topo-dentro .botao { position: relative; z-index: 2; }
.caso { padding: 130px 0 30px; }
.caso-abertura { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.caso-abertura h1 { font-size: clamp(2.7rem, 6.4vw, 4.8rem); margin: .22em 0 .12em; }
.caso-ramo { margin: 0 0 .7em; font-family: var(--osd); font-size: 1.55rem; color: var(--verde); }
.caso-intro { max-width: 660px; color: #c9ced7; font-size: 1.15rem; }
.caso-abertura .link-seta { margin-top: 22px; }
.caso-logo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14%; border-radius: 30px; background: #fffdf8; box-shadow: inset 0 0 0 9px var(--grafite), 0 34px 70px -34px rgba(0, 0, 0, .85); }
.caso-logo img { width: auto; height: auto; max-width: 100%; max-height: 150px; object-fit: contain; }
.caso-logo .osd-canal { position: absolute; top: 20px; left: 26px; font-family: var(--osd); font-size: 1.25rem; color: var(--verde-claro); letter-spacing: .05em; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.etiquetas li { padding: .34em .8em; border-radius: 999px; border: 1px solid rgba(24, 215, 119, .4); background: rgba(24, 215, 119, .06); color: var(--verde); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.caso .numeros { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: clamp(50px, 7vw, 84px); }
.entregas { display: grid; gap: clamp(70px, 9vw, 124px); margin-top: clamp(76px, 10vw, 136px); }
.entrega { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 66px); align-items: center; }
.entrega:nth-child(even) .entrega-texto { order: 2; }
.entrega-num { margin: 0 0 10px; font-family: var(--osd); font-size: 1.3rem; color: var(--verde); letter-spacing: .05em; }
.entrega .etiquetas { margin: 0; }
.entrega h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: .4em 0 .45em; }
.entrega-texto > p { color: #c9ced7; }
.entrega .canal-lista { margin-bottom: 0; color: #c9ced7; }
.tela { margin: 0; }
.tela-quadro { position: relative; overflow: hidden; border-radius: 18px; background: #0a0b0f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 0 0 9px var(--grafite), 0 44px 80px -40px rgba(0, 0, 0, .95); }
.tela-quadro img { display: block; width: 100%; height: auto; }
.tela-quadro::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 3px); }
.tela figcaption { margin-top: 20px; color: var(--suave); font-size: .9rem; }
.tela-celular .tela-quadro { width: min(300px, 72%); margin-inline: auto; border-radius: 34px; }
/* Enquanto o print não chega: as barras de cor da TV fora do ar */
.sem-sinal { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); aspect-ratio: 16 / 10; }
.tela-celular .sem-sinal { aspect-ratio: 9 / 18; }
.sem-sinal i:nth-child(1) { background: #c9c9c9; } .sem-sinal i:nth-child(2) { background: #d6d21f; } .sem-sinal i:nth-child(3) { background: #1fc9c9; }
.sem-sinal i:nth-child(4) { background: #1fc94a; } .sem-sinal i:nth-child(5) { background: #c91fc0; } .sem-sinal i:nth-child(6) { background: #c9241f; } .sem-sinal i:nth-child(7) { background: #2433c9; }
.sem-sinal p { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: max-content; max-width: 86%; margin: 0; padding: .45em 1em; background: #000; color: #fff; font-family: var(--osd); font-size: 1.25rem; line-height: 1.2; text-align: center; }
.sem-sinal small { display: block; color: #9aa1ad; font-size: .85em; }
/* Fluxos desenhados em código, para o que não tem tela (integrações e robôs) */
.fluxo { display: grid; gap: 14px; margin: 0; padding: clamp(22px, 4vw, 38px); list-style: none; border-radius: 18px; background: var(--superficie); border: 1px solid var(--linha); counter-reset: fluxo; }
.fluxo li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: #10121a; border: 1px solid var(--linha); font-weight: 500; counter-increment: fluxo; }
.fluxo li::before { content: counter(fluxo, decimal-leading-zero); flex: none; font-family: var(--osd); font-size: 1.3rem; color: var(--verde); }
.fluxo li + li::after { content: ""; position: absolute; left: 30px; top: -15px; width: 2px; height: 15px; background: linear-gradient(var(--verde), rgba(24, 215, 119, .2)); }
.fluxo li:last-child { border-color: rgba(24, 215, 119, .5); box-shadow: 0 0 26px -10px rgba(24, 215, 119, .7); }
.caso-bloco { margin-top: clamp(90px, 11vw, 140px); }
.caso-bloco > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 26px; }
.tambem { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tambem li { padding: 22px; border-radius: var(--raio); background: var(--superficie); border: 1px solid var(--linha); }
.tambem h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: -.02em; }
.tambem p { margin: 0; color: var(--suave); font-size: .95rem; }
.tecnologias { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tecnologias li { padding: .5em 1em; border-radius: 12px; background: #10121a; border: 1px solid var(--linha); color: #dfe4ea; font-size: .92rem; }
.caso-cta { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; margin-top: clamp(90px, 11vw, 140px); padding: clamp(28px, 5vw, 56px); border-radius: 30px; border: 1px solid rgba(24, 215, 119, .3); background: radial-gradient(120% 140% at 100% 0, rgba(24, 215, 119, .16), transparent 55%), var(--superficie); }
.caso-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 .35em; }
.caso-cta p { margin: 0; color: #c9ced7; max-width: 620px; }
.outros-casos ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.outros-casos a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 14px; border-radius: 18px; background: var(--superficie); border: 1px solid var(--linha); text-decoration: none; font-weight: 600; transition: transform .3s, border-color .3s; }
.outros-casos a:hover { transform: translateY(-4px); border-color: rgba(24, 215, 119, .45); }
.outros-casos span { display: grid; place-items: center; height: 76px; padding: 12px; border-radius: 12px; background: #fffdf8; }
.outros-casos img { width: auto; height: auto; max-width: 100%; max-height: 52px; object-fit: contain; }
.pagina-caso .rodape { padding-top: 10px; margin-top: 90px; }
.pagina-caso .rodape-fim a { color: inherit; }
/* Cada caso com a cor da sua marca (--marca na página; --marca-texto é a versão legível no fundo escuro).
   O botão de falar com a Futura continua verde: é o convite da Futura, não da marca. */
.pagina-caso { --marca: var(--verde-2); --marca-texto: var(--verde);
  background: radial-gradient(70% 520px at 85% -120px, color-mix(in srgb, var(--marca) 55%, transparent), transparent 70%) no-repeat, var(--fundo); }
.pagina-caso .caso h1 em, .pagina-caso .caso h2 em, .pagina-caso .caso-ramo, .pagina-caso .entrega-num, .pagina-caso .sobretitulo { color: var(--marca-texto); }
.pagina-caso .etiquetas li { color: var(--marca-texto); border-color: color-mix(in srgb, var(--marca-texto) 45%, transparent); background: color-mix(in srgb, var(--marca-texto) 8%, transparent); }
.pagina-caso .caso-logo { box-shadow: inset 0 0 0 9px var(--marca), 0 34px 70px -34px rgba(0, 0, 0, .85); }
.pagina-caso .caso-logo .osd-canal { color: var(--marca); }
.pagina-caso .caso .canal-lista li::before { background: var(--marca-texto); box-shadow: 0 0 10px color-mix(in srgb, var(--marca-texto) 60%, transparent); }
.pagina-caso .caso .numeros b, .pagina-caso .caso .numeros span { color: var(--marca-texto); text-shadow: 0 0 14px color-mix(in srgb, var(--marca-texto) 55%, transparent); }
.pagina-caso .fluxo li::before { color: var(--marca-texto); }
.pagina-caso .fluxo li + li::after { background: linear-gradient(var(--marca-texto), color-mix(in srgb, var(--marca-texto) 20%, transparent)); }
.pagina-caso .fluxo li:last-child { border-color: color-mix(in srgb, var(--marca-texto) 55%, transparent); box-shadow: 0 0 26px -10px color-mix(in srgb, var(--marca-texto) 70%, transparent); }
.pagina-caso .caso-abertura .link-seta { color: var(--marca-texto); border-color: color-mix(in srgb, var(--marca-texto) 40%, transparent); }
/* Na home, a faixa de cima de cada card do Grupo VAB tem a cor da marca */
.clientes-grupo .cliente { box-shadow: inset 0 4px 0 var(--marca, transparent); }
@media (max-width: 960px) {
  .caso-abertura, .entrega, .caso-cta { grid-template-columns: 1fr; }
  .entrega:nth-child(even) .entrega-texto { order: 0; }
  .caso-logo { max-width: 440px; }
  .outros-casos ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .caso { padding-top: 110px; }
  .outros-casos ul { grid-template-columns: 1fr 1fr; }
  .caso-cta .botao { justify-content: center; }
}

/* Telas baixas de computador: texto do hero um pouco menor, para a faixa de notícias caber na primeira tela */
@media (min-width: 901px) and (max-height: 860px) {
  .hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
  .hero .osd { margin-bottom: 10px; }
  .hero .selos { margin-top: 18px; }
}
@media (min-width: 901px) and (max-height: 720px) {
  .hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
  .hero .selos { display: none; }
}
@media (max-width: 1080px) {
  .servicos, .clientes-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab { grid-template-columns: 1fr 1fr; }
  .lab-texto { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .prog { grid-template-columns: 1fr; }
  .prog-tv { display: none; }
  .canal { min-height: 0; padding: 0 0 70px; }
  .js-ok .prog .canal:not(.ativo) { opacity: 1; }
  .canal-fig { display: block; position: relative; margin: 0 0 24px; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--grafite); border: 1px solid var(--linha); }
  .canal-fig img, .canal-fig video { display: block; width: 100%; height: 100%; object-fit: cover; }
  .canal-fig::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .1) 0 1px, transparent 1px 3px); }
  .sobre-grade, .contato-grade { grid-template-columns: 1fr; }
  .particulas { max-width: 440px; margin-bottom: 30px; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .menu-abrir { display: block; }
  .menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; flex-direction: column; justify-content: center; gap: 26px; background: rgba(10, 11, 15, .985); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .menu.aberto { opacity: 1; visibility: visible; transition: opacity .3s; }
  .menu a:not(.botao) { font-size: 1.6rem; color: var(--texto); }
  .menu .botao { font-size: 1.1rem; padding: .9em 1.6em; }
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding: 112px 0 40px; }
  .hero-texto { order: 1; transform: none; opacity: 1; }
  .hero-tv { order: 2; position: relative; right: auto; top: auto; width: 190vw; max-width: none; margin: 4vw 0 -20vw -73vw; transform: none; }
  .holo-barras { display: none; }
  .holo-chat { left: 39.5%; top: 3%; width: 42vw; --d: 0; }
  .holo-ronda { left: 72%; top: 70%; width: 33vw; --d: 0; }
  .holo { font-size: .68rem; padding: 9px 10px; }
  .rolar { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .caixa { width: calc(100% - 32px); }
  .servicos, .numeros { grid-template-columns: 1fr 1fr; }
  .servicos, .clientes-lista { grid-template-columns: 1fr; }
  .lab { grid-template-columns: 1fr; padding: 16px; }
  .passos { grid-template-columns: 1fr; gap: 0; }
  .passos::before, .passos::after { top: 0; bottom: 30px; left: 28px; right: auto; width: 3px; height: auto; }
  .passos::after { transform: scaleY(var(--prog)); transform-origin: top; }
  .passos li { padding: 4px 0 34px 84px; }
  .faixa-selo { font-size: 1.1rem; padding: 0 .8em; }
  .acoes .botao { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  /* O letreiro passa sempre (pedido do Bruno, 19/10/2026), só mais devagar; o mouse em cima continua pausando. */
  .faixa-texto { animation-duration: 90s !important; animation-iteration-count: infinite !important; }
  .hero-texto { transform: none !important; opacity: 1 !important; }
  /* A TV não perde o transform: ele é que a centraliza na altura (translateY -47%). Sem animação, o script
     não mexe no --p, então ela só deixa de acompanhar a rolagem. */
  /* As conversas do cartão do chat terminam a animação invisíveis; sem animação, ficam à mostra. */
  .holo-chat .balao { animation: none !important; opacity: 1 !important; transform: none !important; }
  /* Zapping sem movimento: só esmaece (o site.js também pula o chiado e a rolagem). */
  .tv-canal { transition-duration: 1.4s !important; }
  .tv-osd { transition-duration: .6s !important; }
  .holo { translate: none !important; }
}
