/* =========================================================================
   João Torres · torryos.site
   Direção: "diagnóstico" sobre um céu de brilhos. Preto, branco e UMA cor
   (o verde do WhatsApp, que também é a cor da ação).
   Escrito mobile-first: a regra base é o celular, min-width sobe.
   Movimento só com transform e opacity (o que a placa de vídeo faz sozinha).
   ========================================================================= */

@font-face {
  font-family: 'Inter';
  src: url('fontes/inter-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fontes/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --fundo: #0a0a0a;
  --camada: #111113;
  --camada-2: #17171a;
  --linha: #232327;
  --linha-forte: #34343a;
  --texto: #f4f4f5;
  --suave: #a1a1aa;
  --fraco: #84848d; /* era #71717a (4,1:1); agora 5,3:1 no fundo */
  --acento: #25d366;
  --acento-rgb: 37, 211, 102;
  --tinta: #03170b;

  --fonte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --largura: 1200px;
  --margem: clamp(16px, 5vw, 40px);
  --topo-h: 68px;
  --raio: 20px;
  --suave-ease: cubic-bezier(.2, .75, .15, 1);
  --vai-vem: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 8px); background: var(--fundo); }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h3 { line-height: 1.25; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(var(--acento-rgb), .3); }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; border-radius: 6px; }

main, .rodape { position: relative; z-index: 1; }
.largura { width: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: var(--margem); }

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--acento); color: var(--tinta); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.pular:focus { top: 12px; }

/* ---------- o céu de brilhos (brilho.js) ---------- */
.ceu {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 100%; height: 100vh; height: 100lvh;
  pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease;
}
.ceu.aceso { opacity: 1; }

/* barra de progresso da leitura */
.progresso { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progresso span { display: block; height: 100%; width: 100%; background: var(--acento); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); }

/* ---------- botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--acento); color: var(--tinta);
  font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset;
  transition: transform .35s var(--suave-ease), box-shadow .35s var(--suave-ease);
  overflow: hidden; isolation: isolate; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn::after { /* brilho que atravessa o botão no hover */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--suave-ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--suave-ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::after { transform: translateX(120%); }
  .btn:hover svg { transform: translateX(3px); }
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-pq { min-height: 40px; padding: 0 18px; font-size: 14px; letter-spacing: 0; text-transform: none; box-shadow: none; }
.btn-gd { min-height: 60px; padding: 0 22px; font-size: 13.5px; letter-spacing: .03em; white-space: nowrap; }
.btn-gd .ic-whats { width: 22px; height: 22px; stroke-width: 2; }
@media (min-width: 480px) { .btn-gd { min-height: 62px; padding: 0 32px; font-size: 15px; letter-spacing: .06em; } }

.link-seta { display: inline-flex; align-items: center; gap: 8px; color: var(--suave); font-weight: 500; font-size: 15px; padding: 10px 2px; transition: color .25s; }
.link-seta::after { content: '↓'; transition: transform .3s var(--suave-ease); }
.link-seta:hover { color: var(--texto); }
.link-seta:hover::after { transform: translateY(3px); }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
/* Sem blur no celular: com o céu animando embaixo, o blur seria recalculado a cada quadro. */
.topo.rolou { background: rgba(10,10,10,.97); border-bottom-color: rgba(255,255,255,.06); }
@media (min-width: 900px) and (hover: hover) {
  .topo.rolou { background: rgba(10,10,10,.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
}
.topo-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--topo-h); max-width: var(--largura); margin-inline: auto; padding-inline: var(--margem); }
.marca { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.topo .marca img { width: 34px; height: auto; transition: transform .5s var(--suave-ease); }
.topo .marca:hover img { transform: rotate(-6deg) scale(1.06); }
.menu { display: none; }
@media (min-width: 900px) {
  .menu { display: flex; gap: 4px; }
  .menu a { position: relative; padding: 8px 14px; color: var(--suave); font-size: 14px; font-weight: 500; border-radius: 999px; transition: color .25s, background .25s; }
  .menu a:hover { color: var(--texto); background: rgba(255,255,255,.05); }
}

/* ---------- entrada conforme rola: só opacidade e posição, sem blur ---------- */
.js [data-r] {
  opacity: 0; transform: translate3d(0, 22px, 0);
  transition: opacity .75s var(--suave-ease), transform .75s var(--suave-ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js [data-r].visto { opacity: 1; transform: none; }

/* título quebrado em palavras (app.js) */
.palavra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.palavra > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform .85s var(--suave-ease); transition-delay: calc(var(--w) * 45ms + 80ms); }
.visto .palavra > span { transform: none; }

/* ---------- tipografia das seções ---------- */
.rotulo { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); margin-bottom: 18px; }
.h2 { font-size: clamp(32px, 6.2vw, 62px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; max-width: 17ch; text-wrap: balance; }
.texto { color: var(--suave); font-size: clamp(16.5px, 1.6vw, 19px); max-width: 56ch; margin-top: 18px; text-wrap: pretty; }
.secao { position: relative; padding-block: clamp(56px, 8vw, 104px); }

/* =========================================================================
   1. HERO
   ========================================================================= */
.hero { position: relative; display: flex; align-items: center; padding: calc(var(--topo-h) + 28px) 0 40px; overflow: hidden; }
@media (min-width: 1000px) { .hero { min-height: 100svh; padding-bottom: 64px; } }
.hero-in { position: relative; display: grid; gap: 44px; align-items: center; }
.hero-texto { position: relative; z-index: 2; }
/* Uma coluna só, centralizada, em qualquer tela: título, subtítulo, logo e só depois o
   botão (ordem pedida por ele em 25/09/2026; tudo centralizado em 29/09/2026). O texto
   "se desmonta" pra logo entrar no meio dele. */
.hero-in { gap: 0; justify-items: center; text-align: center; }
.hero-texto { display: contents; }
.hero-texto > * { position: relative; z-index: 2; }
.titulo { order: 1; } .sub { order: 2; }
.hero-logo { order: 3; margin-top: 36px; }
.acoes { order: 4; margin-top: 36px; }

.titulo { font-size: clamp(40px, 10.4vw, 78px); line-height: 1; letter-spacing: -.045em; font-weight: 800; max-width: 13ch; margin-inline: auto; text-wrap: balance; }
.sub { font-size: clamp(17.5px, 2.1vw, 22px); color: var(--suave); margin-top: 22px; margin-inline: auto; max-width: 34ch; line-height: 1.5; text-wrap: balance; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; margin-top: 32px; }

@media (min-width: 1000px) {
  .titulo { max-width: 17ch; }
  .hero-logo { margin-top: 28px; }
  .acoes { margin-top: 28px; }
}

/* ---------- a logo no hero (como estava no domínio antes: flutua e brilha, agora em verde) ---------- */
.hero { flex-direction: column; align-items: stretch; justify-content: center; }
.hero-logo { position: relative; z-index: 1; display: grid; place-items: center; }
.hero-logo img { width: min(62vw, 260px); height: auto; animation: logo-boia 4.2s ease-in-out infinite, logo-brilho 4.2s ease-in-out infinite; }
@media (min-width: 1000px) { .hero-logo img { width: min(18vw, 230px); } }
@keyframes logo-boia { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes logo-brilho {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(var(--acento-rgb), .22)); }
  50% { filter: drop-shadow(0 0 48px rgba(var(--acento-rgb), .5)); }
}

.ponto { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acento); flex: none; } /* parada: só pulsa onde é "ao vivo" (.proj-vivo) */
@keyframes bate { 70% { box-shadow: 0 0 0 8px rgba(var(--acento-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--acento-rgb), 0); } }
@keyframes roda { to { transform: rotate(360deg); } }

/* =========================================================================
   Carrossel automático do hero: passa sozinho, sempre, e não para
   (pedido dele, 25/09/2026). Dois grupos iguais; o trilho anda o tamanho
   de um grupo mais o vão e recomeça, sem emenda.
   ========================================================================= */
.carrossel {
  --vao: 18px;
  position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 64px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.carrossel-trilho { display: flex; gap: var(--vao); width: max-content; animation: passa 48s linear infinite; will-change: transform; }
.carrossel-grupo { display: flex; gap: var(--vao); }
@keyframes passa { to { transform: translate3d(calc(-50% - var(--vao) / 2), 0, 0); } }

/* todos do mesmo tamanho, na horizontal */
.cx {
  position: relative; flex: none; width: 400px; height: 236px; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--linha-forte);
  background: linear-gradient(180deg, #16161a, #101013);
  font-size: 13px; line-height: 1.35;
}
@media (max-width: 600px) { .cx { zoom: .82; } }
.cx svg { flex: none; }
.av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; }
.av-laranja { background: linear-gradient(135deg, #ff9f43, #ee5a24); }
.av-roxo { background: linear-gradient(135deg, #a78bfa, #6d28d9); }

/* 1. site */
.cx-barra { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--linha); }
.cx-barra i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a41; }
.cx-barra i:nth-child(1) { background: #ff5f57; } .cx-barra i:nth-child(2) { background: #febc2e; } .cx-barra i:nth-child(3) { background: #28c840; }
.cx-barra span { display: flex; align-items: center; gap: 5px; margin-left: 10px; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.05); font-family: var(--mono); font-size: 11px; color: var(--suave); }
.cx-barra svg { width: 11px; height: 11px; fill: none; stroke: var(--acento); stroke-width: 2.4; }
.cx-site-corpo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; padding: 16px; height: calc(100% - 34px); }
.cx-site-txt { display: flex; flex-direction: column; justify-content: center; }
.cx-site-tag { align-self: flex-start; padding: 2px 8px; border-radius: 99px; background: rgba(var(--acento-rgb), .14); color: var(--acento); font-size: 10.5px; font-weight: 600; margin-bottom: 8px; }
.cx-site-txt b { font-size: 19px; line-height: 1.1; letter-spacing: -.02em; }
.cx-l { display: block; height: 6px; border-radius: 4px; background: #2a2a30; margin-top: 8px; width: 92%; }
.cx-l.curta { width: 60%; }
.cx-zap { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; padding: 7px 11px; border-radius: 99px; background: var(--acento); color: var(--tinta); font-style: normal; font-weight: 700; font-size: 11px; }
.cx-zap svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
/* a fachada da loja: toldo listrado, vitrine com produtos e porta */
.cx-loja { position: relative; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #f6d7a7, #f0b67f 55%, #c9855a); }
.cx-toldo { position: absolute; left: 6%; right: 6%; top: 16%; height: 20%; border-radius: 0 0 10px 10px; background: repeating-linear-gradient(90deg, #e63946 0 14px, #fff4e6 14px 28px); box-shadow: 0 6px 0 rgba(0,0,0,.12); }
.cx-vitrine { position: absolute; left: 10%; width: 46%; top: 44%; bottom: 0; border-radius: 4px 4px 0 0; background: #cde8f5; border: 3px solid #7a4a2b; border-bottom: 0; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 4px 6px; }
.cx-vitrine i { width: 18%; border-radius: 3px 3px 0 0; }
.cx-vitrine i:nth-child(1) { height: 42%; background: #2a9d8f; } .cx-vitrine i:nth-child(2) { height: 62%; background: #e76f51; } .cx-vitrine i:nth-child(3) { height: 32%; background: #264653; }
.cx-porta { position: absolute; right: 12%; width: 22%; top: 50%; bottom: 0; border-radius: 4px 4px 0 0; background: #7a4a2b; }
.cx-porta::after { content: ''; position: absolute; right: 18%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #f4d35e; }

/* 2. Google Maps */
.cx-mapa { display: grid; grid-template-columns: 1.1fr 1fr; background: #202124; border-color: #3c4043; }
.cx-mapa-arte { width: 100%; height: 100%; display: block; }
.cx-ficha { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 14px 16px; color: #e8eaed; }
.cx-nome { font-size: 17px; font-weight: 700; }
.cx-nota { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.cx-nota span { color: #fbbc04; letter-spacing: .06em; }
.cx-nota em { font-style: normal; color: #9aa0a6; }
.cx-aberto { font-size: 12px; color: #9aa0a6; }
.cx-aberto b { color: #81c995; font-weight: 600; }
.cx-bts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.cx-bts span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; color: #8ab4f8; }
.cx-bts svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; border: 1px solid #5f6368; fill: none; stroke: #8ab4f8; stroke-width: 2; }
.cx-bts .azul svg { background: #8ab4f8; border-color: #8ab4f8; stroke: #202124; fill: #202124; }

/* 3. diagnóstico */
.cx-diag { padding: 16px 18px; }
.cx-topo { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 14px; }
.cx-topo em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--acento); }
.cx-barra-prog { height: 6px; border-radius: 99px; background: #26262b; margin: 10px 0 12px; overflow: hidden; }
.cx-barra-prog span { display: block; width: 75%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4285f4, #25d366); }
.cx-diag ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cx-diag li { display: flex; align-items: center; gap: 9px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--linha); }
.cx-diag li p { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 10.5px; color: var(--suave); line-height: 1.25; }
.cx-diag li p b { color: var(--texto); font-size: 12.5px; }
.cx-diag .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; }
.cx-diag .ic svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; }
.i-maps { background: #ea4335; } .i-site { background: #4285f4; } .i-zap { background: #25d366; } .i-sis { background: #8b5cf6; }
.cx-diag li i { flex: none; width: 16px; height: 16px; border-radius: 50%; }
.cx-diag li i.ok { background: var(--acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2303170b' stroke-width='3.2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cx-diag li i.fazendo { border: 2px solid rgba(251,191,36,.3); border-top-color: #fbbf24; animation: roda 1.2s linear infinite; }

/* 4. WhatsApp */
.cx-zapchat { background: #0b141a; border-color: #2a3942; }
.cx-zap-topo { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #202c33; }
.cx-zap-topo p { flex: 1; display: flex; flex-direction: column; font-size: 11px; color: #8696a0; }
.cx-zap-topo p b { color: #e9edef; font-size: 13.5px; }
.cx-zap-topo svg { width: 18px; height: 18px; fill: none; stroke: #aebac1; stroke-width: 2; }
.cx-zap-corpo { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; }
.bal { position: relative; max-width: 82%; padding: 6px 9px 16px; border-radius: 9px; font-size: 12.5px; color: #e9edef; }
.bal small { position: absolute; right: 8px; bottom: 3px; font-size: 9.5px; color: #8696a0; }
.bal small span { color: #53bdeb; }
.bal.ela { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; padding-right: 44px; }
.bal.eu { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.cx-origem { align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 8px; background: #182229; color: #8696a0; font-size: 10.5px; }
.cx-origem svg { width: 12px; height: 12px; fill: none; stroke: #8696a0; stroke-width: 2; }

/* 5. avaliação no Google */
.cx-aval { padding: 14px 16px; background: #fff; border-color: #dadce0; color: #202124; }
.cx-aval-topo { display: flex; align-items: center; gap: 10px; }
.cx-aval-topo .g { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #dadce0; font-weight: 800; font-size: 16px; background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc04 0 50%, #34a853 0 75%, #4285f4 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-aval-topo p { flex: 1; display: flex; flex-direction: column; font-size: 11px; color: #5f6368; }
.cx-aval-topo p b { color: #202124; font-size: 13px; }
.cx-estrelas { color: #fbbc04; font-size: 15px; letter-spacing: .05em; }
.cx-aval-corpo { display: flex; gap: 10px; margin-top: 12px; }
.cx-aval-corpo p { font-size: 12.5px; color: #3c4043; }
.cx-aval-corpo p b { display: block; color: #202124; }
.cx-resp { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #f1f3f4; border-left: 3px solid #1a73e8; font-size: 12px; color: #3c4043; }
.cx-resp b { display: block; font-size: 11px; color: #1a73e8; }

/* 6. agendamento no sistema */
.cx-agenda { display: flex; gap: 16px; padding: 18px; }
.cx-cal { flex: none; width: 74px; height: 82px; border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; align-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.8); }
.cx-cal span { width: 100%; padding: 4px 0; text-align: center; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.cx-cal b { flex: 1; display: grid; place-items: center; color: #111; font-size: 24px; letter-spacing: -.03em; }
.cx-agenda-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cx-lemb { padding: 8px 10px; border-radius: 10px; background: #1c1c21; font-size: 12px; color: var(--suave); }
.cx-lemb b { display: block; color: var(--texto); font-size: 12.5px; }
.cx-conf { display: flex; align-items: center; gap: 8px; }
.cx-conf span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #005c4b; color: #fff; font-size: 12px; font-weight: 700; }
.cx-conf em { font-style: normal; font-size: 12px; color: var(--acento); font-weight: 600; }
.cx-dia p { font-size: 10.5px; color: var(--fraco); margin-bottom: 5px; }
.cx-dia div { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.cx-dia i { height: 18px; border-radius: 4px; background: #222227; }
.cx-dia i.c1 { background: #4285f4; } .cx-dia i.c2 { background: #25d366; } .cx-dia i.c3 { background: #fbbf24; } .cx-dia i.c4 { background: #a78bfa; }

/* =========================================================================
   2. ABORDAGEM
   ========================================================================= */
.rota { position: relative; margin-top: clamp(36px, 5vw, 56px); padding: clamp(24px, 4vw, 44px); border-radius: 24px; border: 1px solid var(--linha); background: linear-gradient(180deg, rgba(17,17,19,.92), rgba(13,13,15,.92)); }
.rota-exemplo { position: absolute; top: -11px; left: clamp(18px, 3vw, 36px); padding: 2px 12px; background: var(--fundo); border-radius: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fraco); }
.rota-lista { position: relative; display: grid; gap: 30px; }
.rota-trilho { position: absolute; left: calc(clamp(24px, 4vw, 44px) + 25px); top: calc(clamp(24px, 4vw, 44px) + 26px); bottom: 124px; width: 2px; background: var(--linha); overflow: hidden; border-radius: 2px; }
.rota-cheio { position: absolute; inset: 0; background: var(--acento); transform-origin: 50% 0; transform: scaleY(0); transition: transform 2.2s var(--suave-ease) .2s; }
.rota-pulso { display: none; }
.no { position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start; align-content: start; }
.no-ic { grid-row: span 3; position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--camada-2); border: 1px solid var(--linha-forte); color: var(--suave); transition: background .6s var(--suave-ease), border-color .6s var(--suave-ease), color .6s var(--suave-ease); transition-delay: calc(var(--i) * .5s + .3s); }
.no-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.no h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.no p { color: var(--suave); font-size: 16px; line-height: 1.45; margin-top: 2px; }
.no-status { justify-self: start; margin-top: 10px; padding: 3px 10px; border-radius: 99px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--suave-ease), transform .5s var(--suave-ease); transition-delay: calc(var(--i) * .5s + .6s); }
.no-status.ok { background: rgba(var(--acento-rgb), .12); color: var(--acento); }
.no-status.falta { border: 1px dashed rgba(255,255,255,.5); color: var(--texto); }
.rota.ativa .rota-cheio { transform: scaleY(1); }
.rota.ativa .no-ic { background: rgba(var(--acento-rgb), .12); border-color: rgba(var(--acento-rgb), .5); color: var(--acento); }
.rota.ativa .no.furo .no-ic { background: var(--camada-2); border: 1px dashed rgba(255,255,255,.55); color: var(--texto); animation: alerta 1.6s ease-in-out 2; animation-delay: 1.8s; }
.rota.ativa .no-status { opacity: 1; transform: none; }
@keyframes alerta { 50% { box-shadow: 0 0 0 8px rgba(255,255,255,.08); } }
.rota-conclusao { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--linha); color: var(--suave); font-size: 16px; opacity: 0; transition: opacity .8s; transition-delay: 2.4s; }
.rota-conclusao b { color: var(--texto); font-weight: 600; }
.rota.ativa .rota-conclusao { opacity: 1; }
html:not(.js) .no-status, html:not(.js) .rota-conclusao { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .rota-lista { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .no { grid-template-columns: 1fr; row-gap: 0; }
  .no-ic { grid-row: auto; margin-bottom: 20px; width: 60px; height: 60px; }
  .rota-trilho { left: calc(clamp(24px, 4vw, 44px) + 30px); right: calc(clamp(24px, 4vw, 44px) + (100% - 2 * clamp(24px, 4vw, 44px) - 84px) / 4 - 30px); top: calc(clamp(24px, 4vw, 44px) + 30px); bottom: auto; width: auto; height: 2px; }
  .rota-cheio { transform-origin: 0 50%; transform: scaleX(0); }
  .rota.ativa .rota-cheio { transform: scaleX(1); }
  .rota-pulso { display: block; position: absolute; top: -3px; left: 0; width: 60px; height: 8px; background: radial-gradient(closest-side, rgba(255,255,255,.9), transparent); opacity: 0; }
}
@keyframes corre { 0% { left: -60px; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* =========================================================================
   3. SERVIÇOS
   ========================================================================= */
.servicos-grade { display: grid; gap: 14px; margin-top: clamp(32px, 4.5vw, 52px); }
/* 3 serviços desde 25/09/2026, quando a automação saiu do site: 3 colunas a partir de 900px */
@media (min-width: 900px) { .servicos-grade { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.card {
  position: relative; padding: 24px; border-radius: var(--raio); border: 1px solid var(--linha);
  background: linear-gradient(180deg, #121214, #0d0d0f); overflow: hidden; isolation: isolate;
  transition: border-color .4s, transform .5s var(--suave-ease);
}
@media (min-width: 720px) { .card { padding: 28px; } }
.card::after { /* borda que acende perto do mouse */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--acento-rgb), .7), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (hover: hover) { .card:hover::after { opacity: 1; } }
.card h3 { font-size: 23px; font-weight: 700; letter-spacing: -.025em; margin-top: 22px; }
.card p { color: var(--suave); font-size: 16.5px; line-height: 1.55; margin-top: 8px; max-width: 42ch; }

/* a imagem de cada serviço surge com um zoom leve quando o card aparece */
.card-img { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--linha); background: #0b0b0d; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.js .card-img img { opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 1.4s var(--suave-ease); transition-delay: calc(var(--d, 0) * 70ms + 140ms); }
.js .visto .card-img img { opacity: 1; transform: none; }
.card-img::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,.3)); }


/* =========================================================================
   4. PROJETOS: vitrine presa na tela (projetos.js)
   ========================================================================= */
.projetos { padding-bottom: 0; }

/* o título da seção: "projetos" enorme, "meus" na cor, e o "não são todos" em destaque.
   Cada linha sobe de dentro de uma máscara, a grande por último. */
.projetos-topo { display: grid; }
.projetos-titulo { font-weight: 800; }
.pt-linha { display: block; overflow: hidden; }
.pt-linha > span { display: inline-block; }
/* a máscara de cada linha desce até o fim do g, do p e do j; a margem negativa devolve o espaço */
.pt-antes { font-size: clamp(30px, 6.2vw, 58px); line-height: 1.12; letter-spacing: -.035em; padding-bottom: .08em; margin-bottom: -.08em; }
.pt-antes em { font-style: normal; color: var(--acento); }
/* letra desse tamanho parece recuada: puxa um pouco pra esquerda, pra alinhar com a linha de cima */
.pt-grande { font-size: clamp(64px, 21vw, 176px); line-height: .98; letter-spacing: -.055em; padding-bottom: .14em; margin: -.04em 0 -.14em -.045em; }
.js .pt-linha > span { transform: translate3d(0, 106%, 0); transition: transform 1s var(--suave-ease) .12s; }
.js .pt-grande > span { transition-duration: 1.2s; transition-delay: .3s; }
.js .visto .pt-linha > span { transform: none; }
.projetos-texto strong { color: var(--texto); font-weight: 700; }
.projetos-texto { margin-top: 22px; }
@media (min-width: 1000px) {
  /* no computador o texto vai pro lado da palavra grande, na altura dela */
  .projetos-topo { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: end; }
  .projetos-topo .rotulo { grid-column: 1 / -1; }
  .pt-grande { font-size: min(176px, 14.6vw); } /* entre 1000 e 1200 a palavra encolhe, pro texto do lado não espremer */
  .projetos-texto { margin: 0 0 1.3em; max-width: 36ch; justify-self: end; }
}

.vitrine { position: relative; }
.vitrine-palco {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-areas: 'p'; place-items: center;
  padding: var(--topo, 88px) 0 var(--baixo, 56px);
}
.proj { grid-area: p; position: relative; width: var(--fw, 960px); max-width: calc(100vw - 32px); visibility: hidden; will-change: transform, opacity; }
.proj.em-cena { visibility: visible; }
.js .vitrine:not(.lista) .proj { opacity: 0; }

.proj-cabeca { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 24px; margin-bottom: 10px; opacity: var(--oc, 1); transform: translate3d(0, calc((1 - var(--oc, 1)) * -10px), 0); }
.vitrine.lista .proj-cabeca { opacity: 1; transform: none; }
.proj-tipo { width: 100%; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); margin-bottom: 4px; }
.proj-tipo b { color: var(--acento); font-weight: 500; }
.proj-nome { font-size: clamp(21px, 2.5vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.proj-desc { color: var(--suave); font-size: 14.5px; line-height: 1.45; max-width: 56ch; }
@media (min-width: 900px) { .proj-desc { font-size: 15.5px; text-align: right; max-width: 44ch; } }

.proj-moldura {
  position: relative; border-radius: 16px; overflow: hidden; background: #0f0f11; border: 1px solid var(--linha-forte);
  box-shadow: 0 50px 110px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03) inset;
  transition: border-color .4s, box-shadow .4s;
}
.proj-barra { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 14px; border-bottom: 1px solid var(--linha); background: #131316; }
.proj-pontos { display: none; gap: 6px; }
.proj-pontos i { width: 9px; height: 9px; border-radius: 50%; background: var(--linha-forte); }
.proj-url { flex: 1 1 auto; min-width: 0; max-width: 340px; display: flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.04); font-family: var(--mono); font-size: 11.5px; color: var(--suave); }
.proj-url > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.proj-url svg { flex: none; width: 12px; height: 12px; fill: none; stroke: var(--acento); stroke-width: 2.4; }
.proj-vivo, .proj-selo { display: none; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
.proj-vivo { color: var(--acento); }
.proj-vivo i { width: 6px; height: 6px; border-radius: 50%; background: var(--acento); animation: bate 2s infinite; }
.proj-selo { padding: 3px 9px; border-radius: 99px; border: 1px dashed var(--linha-forte); color: var(--suave); }
@media (min-width: 640px) { .proj-pontos, .proj-vivo, .proj-selo { display: flex; } }
.proj-navegar {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 99px;
  border: 1px solid var(--linha-forte); background: rgba(255,255,255,.04); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s; -webkit-tap-highlight-color: transparent;
}
.proj-navegar svg { width: 13px; height: 13px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.proj-navegar:hover { border-color: rgba(var(--acento-rgb), .6); }
.proj-abrir { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 99px; color: var(--suave); transition: color .25s, background .25s; }
.proj-abrir:hover { color: var(--texto); background: rgba(255,255,255,.06); }
.proj-abrir svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.proj-tela { position: relative; width: 100%; height: var(--fh, 600px); overflow: hidden; background: #0b0b0d; isolation: isolate; contain: layout paint; }
.proj-camera { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; transition: opacity .4s ease; }
.proj-camera.suave { transition: transform .6s var(--vai-vem), opacity .4s ease; }
.proj-camera iframe { width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity .6s ease; }
.carregado .proj-camera iframe { opacity: 1; }
.interativo .proj-camera { pointer-events: auto; }
.proj-tela.apagando .proj-camera { opacity: 0; }

.proj-carregando {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--fraco); pointer-events: none;
  background: linear-gradient(110deg, #0d0d0f 30%, #141417 50%, #0d0d0f 70%) 0 0 / 250% 100%;
  animation: brilha-carga 1.6s linear infinite; transition: opacity .5s ease;
}
.proj-carregando span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(var(--acento-rgb), .25); border-top-color: var(--acento); animation: roda .8s linear infinite; }
.carregado .proj-carregando { opacity: 0; animation: none; }
.carregado .proj-carregando span { animation: none; }
@keyframes brilha-carga { to { background-position: -250% 0; } }

.proj-cobertura { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 16px; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.proj-dica {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px;
  background: rgba(10,10,10,.86); border: 1px solid var(--linha-forte); color: var(--texto); font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.8);
  transition: opacity .3s, transform .3s var(--suave-ease);
}
.proj-dica svg { width: 13px; height: 13px; fill: var(--acento); stroke: var(--acento); stroke-width: 1.5; stroke-linejoin: round; }
.proj-dica { opacity: 0; transform: translateY(6px); }
.dica-viva .proj-dica { opacity: 1; transform: none; }
@media (hover: none) { .vitrine.lista .proj-dica { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .proj-cobertura:hover .proj-dica { opacity: 1; transform: none; }
}
.interativo .proj-cobertura { display: none; }
.proj-aviso {
  position: absolute; left: 50%; top: 12px; z-index: 5; max-width: calc(100% - 24px);
  padding: 8px 14px; border-radius: 99px; background: rgba(10,10,10,.9); border: 1px solid rgba(var(--acento-rgb), .45);
  color: var(--texto); font-size: 12.5px; font-weight: 500; text-align: center; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -8px, 0); transition: opacity .35s ease, transform .35s var(--suave-ease);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.8);
}
.proj-aviso.mostra { opacity: 1; transform: translate3d(-50%, 0, 0); }
.interativo .proj-moldura { border-color: rgba(var(--acento-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--acento-rgb), .14), 0 50px 110px -40px rgba(0,0,0,.95); }
.interativo .proj-navegar { background: var(--acento); border-color: transparent; color: var(--tinta); }
.interativo .proj-navegar svg { fill: none; stroke-width: 2.6; stroke-linecap: round; }

/* o cursor do passeio: grande o bastante pra ver, com sombra pra destacar em qualquer fundo */
.proj-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 30px; height: 30px; margin: -3.5px 0 0 -6.5px; pointer-events: none; opacity: 0; transform-origin: 6.5px 3.5px; transition: opacity .35s ease; will-change: transform; filter: drop-shadow(0 4px 8px rgba(0,0,0,.55)) drop-shadow(0 0 1px rgba(0,0,0,.8)); }
.proj-cursor.visivel { opacity: 1; }
.proj-cursor svg { width: 30px; height: 30px; }
.proj-clique { position: absolute; left: 0; top: 0; z-index: 2; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 2px solid var(--acento); background: rgba(var(--acento-rgb), .14); pointer-events: none; opacity: 0; }
.proj-clique.pulsa { animation: clique .6s ease-out; }
@keyframes clique {
  from { opacity: .95; transform: translate3d(var(--cx), var(--cy), 0) scale(.25); }
  to { opacity: 0; transform: translate3d(var(--cx), var(--cy), 0) scale(1.35); }
}

.vitrine-indice { position: absolute; left: 50%; bottom: 14px; z-index: 6; display: flex; align-items: center; gap: 12px; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; color: var(--suave); white-space: nowrap; }
.vitrine-num b { color: var(--texto); font-weight: 500; }
.vitrine-barras { display: flex; gap: 6px; }
.vitrine-barras i { position: relative; width: 28px; height: 3px; border-radius: 3px; background: var(--linha-forte); overflow: hidden; }
.vitrine-barras i::after { content: ''; position: absolute; inset: 0; background: var(--acento); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.vitrine-dica { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; transition: opacity .4s; }
.vitrine-dica::after { content: '↓'; animation: desce-seta 1.6s var(--suave-ease) infinite; }
.vitrine-indice.fim .vitrine-dica { opacity: 0; }
@keyframes desce-seta { 0%, 100% { transform: none; } 50% { transform: translateY(3px); } }

/* sem vitrine presa: um embaixo do outro (menos movimento ou tela muito baixa) */
.vitrine.lista .vitrine-palco { position: static; height: auto; overflow: visible; display: flex; flex-direction: column; align-items: center; gap: 56px; padding: 32px 0 clamp(56px, 8vw, 104px); }
.vitrine.lista .proj { visibility: visible; opacity: 1; transform: none; }
.vitrine.lista .vitrine-indice { display: none; }
.projetos-sem-js { display: grid; gap: 10px; padding: 24px var(--margem); }
.projetos-sem-js a { text-decoration: underline; }

/* =========================================================================
   5. SISTEMAS
   ========================================================================= */
.sis-visual { position: relative; display: grid; gap: 18px; margin-top: clamp(32px, 4.5vw, 52px); }

.crm { position: relative; border-radius: 22px; border: 1px solid var(--linha-forte); background: linear-gradient(180deg, #131316, #0d0d0f); overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0,0,0,.9); }
.crm-barra { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--linha); }
.crm-barra i { width: 9px; height: 9px; border-radius: 50%; background: var(--linha-forte); }
.crm-barra span { margin-left: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--suave); }
.crm-barra i:nth-child(1) { background: #ff5f57; } .crm-barra i:nth-child(2) { background: #febc2e; } .crm-barra i:nth-child(3) { background: #28c840; }
.crm-hoje { margin-left: auto; font-style: normal; font-size: 12px; color: var(--suave); padding: 3px 10px; border-radius: 99px; background: rgba(var(--acento-rgb), .1); }
.crm-equipe { display: none; }
@media (min-width: 640px) { .crm-equipe { display: flex; margin-left: 10px; } .crm-equipe .av + .av { margin-left: -8px; } }
.crm-equipe .av { width: 26px; height: 26px; font-size: 10px; border: 2px solid #131316; }
.crm-corpo { display: flex; }
.crm-lado { display: none; }
@media (min-width: 800px) {
  .crm-lado { display: flex; flex-direction: column; gap: 10px; width: 58px; padding: 16px 0; align-items: center; border-right: 1px solid var(--linha); }
  .crm-lado b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #0a0a0a; border: 1px solid var(--linha-forte); margin-bottom: 8px; }
  .crm-lado span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--fraco); }
  .crm-lado span svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
  .crm-lado span.ativo { background: rgba(var(--acento-rgb), .14); color: var(--acento); }
}
.crm-col.extra { display: none; }
@media (min-width: 640px) { .crm-col.extra { display: flex; } }
.crm-quadro { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; padding: 16px; overflow: hidden; }
@media (min-width: 640px) { .crm-quadro { grid-auto-columns: minmax(150px, 1fr); } }
@media (min-width: 640px) and (max-width: 799px) { .crm-quadro { mask-image: linear-gradient(90deg, #000 80%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); } }
.crm-col { --cor: #60a5fa; display: flex; flex-direction: column; gap: 9px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.02); border: 1px solid var(--linha); border-top: 3px solid var(--cor); min-height: 260px; }
.crm-col.c-amarelo { --cor: #fbbf24; } .crm-col.c-verde { --cor: #25d366; } .crm-col.c-roxo { --cor: #a78bfa; }
.crm-col p { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--texto); padding: 2px 4px 6px; }
.crm-col p span { display: flex; align-items: center; gap: 7px; }
.crm-col p span i { width: 8px; height: 8px; border-radius: 50%; background: var(--cor); }
.crm-col em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--cor); padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.05); }
.crm-card { position: relative; padding: 10px 11px; border-radius: 10px; background: #18181c; border: 1px solid var(--linha); font-size: 13px; display: flex; flex-direction: column; gap: 6px; color: var(--suave); }
.crm-quem { display: flex; align-items: center; gap: 8px; color: var(--texto); font-weight: 600; font-size: 13px; }
.crm-quem .av { width: 24px; height: 24px; font-size: 9.5px; }
.av-azul { background: linear-gradient(135deg, #60a5fa, #2563eb); } .av-rosa { background: linear-gradient(135deg, #f472b6, #db2777); }
.av-verde { background: linear-gradient(135deg, #4ade80, #16a34a); }
.origem { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 600; }
.origem b { font-size: 10px; }
.o-google { background: rgba(66,133,244,.15); color: #8ab4f8; }
.o-insta { background: linear-gradient(90deg, rgba(245,133,41,.2), rgba(221,42,123,.2)); color: #f9a8d4; }
.o-zap { background: rgba(37,211,102,.14); color: #4ade80; }
.o-indica { background: rgba(251,191,36,.14); color: #fcd34d; }
.crm-card.novo { border-color: rgba(var(--acento-rgb), .7); box-shadow: 0 0 0 3px rgba(var(--acento-rgb), .12); }
.crm-card.novo .selo-novo { position: absolute; top: -9px; right: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta); background: var(--acento); padding: 1px 7px; border-radius: 99px; }
.js .crm-card.novo { opacity: 0; transform: translate3d(0, -14px, 0) scale(.95); transition: opacity .7s var(--suave-ease), transform .7s var(--suave-ease); }
.js .crm-card.novo.chegou { opacity: 1; transform: none; }
.crm-aviso { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #1b1b1f; border: 1px solid rgba(var(--acento-rgb), .4); color: var(--texto); font-size: 13.5px; font-weight: 500; box-shadow: 0 20px 40px -12px rgba(0,0,0,.8); }
.crm-aviso svg { width: 16px; height: 16px; fill: none; stroke: var(--acento); stroke-width: 3; }
.js .crm-aviso { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .6s var(--suave-ease), transform .6s var(--suave-ease); }
.js .crm-aviso.aparece { opacity: 1; transform: none; }

/* =========================================================================
   6. COMO FUNCIONA
   ========================================================================= */
.passos { position: relative; display: grid; gap: 6px; margin-top: clamp(32px, 4.5vw, 52px); }
.passos::before { content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--linha); }
.passos::after { content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--acento); transform-origin: 50% 0; transform: scaleY(var(--passos, 0)); box-shadow: 0 0 12px rgba(var(--acento-rgb), .6); }
.passo { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-content: start; padding: 14px 0; }
.passo-n { grid-row: span 2; position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--fundo); border: 1px solid var(--linha-forte); font-family: var(--mono); font-size: 14px; color: var(--suave); transition: border-color .5s var(--suave-ease), color .5s var(--suave-ease), background .5s var(--suave-ease), box-shadow .5s var(--suave-ease); }
.passo.feito .passo-n { border-color: var(--acento); color: var(--acento); background: #07140c; box-shadow: 0 0 0 6px rgba(var(--acento-rgb), .08); }
.passo h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; align-self: end; }
.passo p { color: var(--suave); font-size: 16px; line-height: 1.5; margin-top: 2px; }

@media (min-width: 1000px) {
  .passos { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .passos::before, .passos::after { left: 28px; right: 10%; top: 44px; bottom: auto; width: auto; height: 2px; }
  .passos::after { transform-origin: 0 50%; transform: scaleX(var(--passos, 0)); }
  .passo { grid-template-columns: 1fr; padding: 16px 0; }
  .passo-n { grid-row: auto; margin-bottom: 22px; }
  .passo h3 { align-self: start; }
}

/* =========================================================================
   7. SOBRE
   ========================================================================= */
.sobre-in { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .sobre-in { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.sobre-foto { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.sobre-moldura { position: relative; aspect-ratio: 584 / 610; border-radius: 26px; overflow: hidden; border: 1px solid var(--linha); background: linear-gradient(180deg, #121214, #0a0a0a); transition: transform .6s var(--suave-ease); }
.sobre-moldura img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; mask-image: linear-gradient(180deg, #000 78%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); }
.sobre-foto figcaption { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: rgba(10,10,10,.85); border: 1px solid var(--linha); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--suave); }
.selos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.selos li { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--linha-forte); background: rgba(10,10,10,.6); font-size: 14px; color: var(--suave); }

/* =========================================================================
   8. CTA FINAL, com o feixe de luz do SparklesCore
   ========================================================================= */
.final { position: relative; padding-block: clamp(72px, 10vw, 128px) clamp(64px, 9vw, 112px); border-top: 1px solid var(--linha); text-align: center; overflow: hidden; }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-titulo { position: relative; z-index: 2; font-size: clamp(36px, 7.4vw, 82px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; max-width: 15ch; text-wrap: balance; }

.feixe { position: relative; width: min(40rem, 100%); height: 9rem; margin-top: 18px; }
/* halo de luz embaixo do feixe */
.feixe::before { content: ''; position: absolute; top: -28px; left: 50%; width: 70%; height: 90px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--acento-rgb), .16), rgba(var(--acento-rgb), .05) 55%, transparent); }
.feixe-l { position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-radius: 99px; pointer-events: none; }
.feixe-l.l1 { width: 75%; height: 2px; background: linear-gradient(90deg, transparent, var(--acento), transparent); filter: blur(4px); }
.feixe-l.l2 { width: 75%; height: 1px; background: linear-gradient(90deg, transparent, var(--acento), transparent); }
.feixe-l.l3 { width: 25%; height: 5px; background: linear-gradient(90deg, transparent, #d9ffe9, transparent); filter: blur(4px); }
.feixe-l.l4 { width: 25%; height: 1px; background: linear-gradient(90deg, transparent, #eafff2, transparent); }
.feixe-brilho {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1s ease;
  /* a máscara do demo: a poeira só aparece embaixo do centro do feixe */
  mask-image: radial-gradient(55% 125% at 50% 0%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(55% 125% at 50% 0%, #000 20%, transparent 100%);
}
.feixe-brilho.aceso { opacity: 1; }
.feixe-l.l1, .feixe-l.l3 { animation: feixe-respira 4s ease-in-out infinite; }
@keyframes feixe-respira { 50% { opacity: .65; } }

.final .texto { position: relative; z-index: 2; margin: -3.4rem auto 34px; }
.numero { margin-top: 18px; font-family: var(--mono); font-size: 14px; letter-spacing: .08em; color: var(--suave); }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); padding: 26px 0; background: var(--fundo); }
.rodape-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.rodape .marca img { width: 26px; height: auto; }
.rodape p { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--fraco); }

/* ---------- quem pediu menos movimento: versão calma, não parada ----------
   Windows com "Efeitos de animação" desligado, iPhone com "Reduzir movimento"
   e Android com "Remover animações" caem aqui. Some o que voa, balança ou dá
   zoom; fica o que só aparece (fade), pisca ou muda de cor.
   ?movimento no endereço força a versão completa (classe .movimento-total). */
@media (prefers-reduced-motion: reduce) {
  html:not(.movimento-total) { scroll-behavior: auto; }
  .js:not(.movimento-total) [data-r] { transform: none; transition-property: opacity; }
  .js:not(.movimento-total) .palavra > span, .js:not(.movimento-total) .pt-linha > span { transform: none; }
  .js:not(.movimento-total) .flutua { animation: aparece .9s ease forwards; }
  .js:not(.movimento-total) .c-janela .flutua { animation-delay: .1s; }
  .js:not(.movimento-total) .c-cel .flutua { animation-delay: .25s; }
  .js:not(.movimento-total) .c-diag .flutua { animation-delay: .4s; }
  .js:not(.movimento-total) .c-notif .flutua { animation-delay: .55s; }
  .js:not(.movimento-total) .camada, .js:not(.movimento-total) .sobre-moldura { transition: none; }
  .js:not(.movimento-total) .m-scanner, .js:not(.movimento-total) .rota-pulso { display: none; }
  .js:not(.movimento-total) .m-pino::before { animation: none; opacity: .5; transform: scale(1, .45); }
  .js:not(.movimento-total) .m-diag li b.fazendo { animation-duration: 2.4s; }
  .js:not(.movimento-total) .rolar span, .js:not(.movimento-total) .vitrine-dica::after { animation: none; }
  .js:not(.movimento-total) .no-status, .js:not(.movimento-total) .proj-cabeca,
  .js:not(.movimento-total) .crm-card.novo, .js:not(.movimento-total) .crm-aviso,
  .js:not(.movimento-total) .proj-aviso, .js:not(.movimento-total) .proj-dica { transform: none; }
  .js:not(.movimento-total) .proj-aviso { left: 12px; right: 12px; max-width: none; width: fit-content; margin-inline: auto; }
  .js:not(.movimento-total) .card-img img { transform: none; }
  .js:not(.movimento-total) .btn::after { display: none; }
  .js:not(.movimento-total) .btn:hover, .js:not(.movimento-total) .btn:hover svg,
  .js:not(.movimento-total) .topo .marca:hover img, .js:not(.movimento-total) .link-seta:hover::after { transform: none; }
  .js:not(.movimento-total) .proj-carregando { animation: none; }
  .js:not(.movimento-total) .carrossel-trilho { animation-duration: 75s; }
  .js:not(.movimento-total) .hero-logo img { animation-duration: 7s; }
}
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
