/* Braga Solutions
   Identidade do painel Cérebro: fundo quase preto, verde sinapse como único acento,
   Space Grotesk nos títulos, Inter no texto e a rede neural como linguagem.
   Um holofote verde sai do canto de baixo e atravessa a página; as superfícies são
   translúcidas para a luz passar por elas. */

@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Braga Mark"; font-style: normal; font-weight: 400; font-display: block;
  src: url("../fonts/braga-mark.otf") format("opentype");
}

:root {
  --sinapse: #2EF2C8;
  --sin: 46, 242, 200;
  --menta: #0f2e27;
  --alerta: #F5A524;
  --fundo: #0b0e0d;
  --s0: rgba(255, 255, 255, .03);
  --s1: #111514;
  --s2: rgba(255, 255, 255, .05);
  --s2h: rgba(255, 255, 255, .085);
  --poco: rgba(0, 0, 0, .36);
  --linha: rgba(255, 255, 255, .08);
  --linha-2: rgba(255, 255, 255, .13);
  --linha-3: rgba(255, 255, 255, .24);
  --branco: #fff;
  --texto: #f2f4f3;
  --t2: #bbbfbd;
  --t3: #9da2a0;
  --ft: "Space Grotesk", "Inter", system-ui, sans-serif;
  --fc: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --m: clamp(20px, 4vw, 40px);
  --larg: 1200px;
  --topo: 84px;
  --raio: 16px;
  --sai: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--fundo); color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 8px); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 16px/1.6 var(--fc); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sinapse); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sinapse); color: #000; }
html.com-ficha { overflow: hidden; }

.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: var(--m); top: -120px; z-index: 60; padding: 10px 14px; background: #fff; color: #000; font-weight: 600; border-radius: 6px; text-decoration: none; }
.pular:focus { top: 12px; }
.miolo { width: min(100% - 2 * var(--m), var(--larg)); margin-inline: auto; }
main, .rodape { position: relative; z-index: 1; }

/* ---------- a luz: holofote verde saindo do canto de baixo, atrás de tudo ---------- */
.luz { --a: 47deg; position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.luz i { position: absolute; left: 0; bottom: 0; display: block; }
.luz .halo { width: 80vmax; height: 80vmax; margin: 0 0 -40vmax -40vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--sin), .21), rgba(var(--sin), .07) 46%, rgba(var(--sin), 0)); }
.luz .feixe {
  width: 125vmax; height: 125vmax; transform-origin: 0 100%;
  rotate: calc(var(--rol, 0) * var(--giro, 10deg)); transition: rotate 1.4s var(--sai);
  -webkit-mask-image: radial-gradient(circle 120vmax at 0 100%, #000 2%, rgba(0, 0, 0, .52) 40%, rgba(0, 0, 0, 0) 96%);
  mask-image: radial-gradient(circle 120vmax at 0 100%, #000 2%, rgba(0, 0, 0, .52) 40%, rgba(0, 0, 0, 0) 96%);
}
.luz .feixe-1 { --giro: 11deg; background: conic-gradient(from calc(var(--a) - 21deg) at 0 100%, rgba(var(--sin), 0) 0deg, rgba(var(--sin), .05) 9deg, rgba(var(--sin), .19) 19.5deg, rgba(var(--sin), .27) 21deg, rgba(var(--sin), .19) 22.5deg, rgba(var(--sin), .05) 33deg, rgba(var(--sin), 0) 42deg); }
.luz .feixe-2 { --giro: -7deg; background: conic-gradient(from calc(var(--a) - 39deg) at 0 100%, rgba(var(--sin), 0) 0deg, rgba(var(--sin), .12) 5deg, rgba(var(--sin), 0) 10deg); }
.luz .feixe-3 { --giro: 16deg; background: conic-gradient(from calc(var(--a) + 20deg) at 0 100%, rgba(var(--sin), 0) 0deg, rgba(var(--sin), .1) 4deg, rgba(var(--sin), 0) 9deg); }

/* ---------- letras ---------- */
h1, h2, h3 { font-family: var(--ft); font-weight: 600; letter-spacing: -0.02em; color: var(--branco); text-wrap: balance; }
h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.03em; }
.h1-apoio { color: var(--t3); }
h2 { font-size: clamp(27px, 2.9vw, 40px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.2; }
.lead { max-width: 46ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--t2); text-wrap: pretty; }

/* ---------- a marca escrita ---------- */
.marca, .topo-marca { font-family: "Braga Mark", var(--ft); font-weight: 400; line-height: 0; white-space: nowrap; color: #fff; }
.marca-nome { display: block; padding: 0.172em 0.5374em 0 0; }
.marca-nome::before, .cap::before, .marca-sol::before { content: ""; display: inline-block; width: 0; height: 0.7em; vertical-align: baseline; }
.cap { display: inline-block; }
.marca-ancora { display: inline-block; position: relative; width: 0; height: 0; vertical-align: baseline; }
.marca-canto { position: absolute; left: -0.0532em; bottom: 0.3087em; width: 0.5906em; height: 0.5615em; max-width: none; fill: currentColor; }
.marca-sol { display: block; margin: 0.7876em 0 0 1.254em; font-size: 0.3333em; letter-spacing: 0.729em; }

/* ---------- botões: bloco branco com o canto da logo, que salta no hover ---------- */
.bt {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  height: 46px; padding: 0 22px; border-radius: 5px; border: 1px solid #fff;
  background: #fff; color: #000; font: 600 15px/1 var(--ft); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .25s;
}
.bt-canto { position: absolute; top: -6px; right: -6px; width: 13px; height: 12px; fill: #fff; pointer-events: none; transition: transform .3s var(--sai), fill .2s; }
.bt:hover, .bt:focus-visible { background: var(--sinapse); border-color: var(--sinapse); box-shadow: 0 10px 30px -12px rgba(var(--sin), .7); }
.bt:hover .bt-canto, .bt:focus-visible .bt-canto { transform: translate(4px, -4px); fill: var(--sinapse); }
.bt:active { transform: scale(.97); }
.bt-p { height: 38px; padding: 0 16px; font-size: 14px; }
.bt-p .bt-canto { top: -5px; right: -5px; width: 11px; height: 10px; }
.bt-2 { background: rgba(255, 255, 255, .04); color: var(--texto); border-color: var(--linha-3); }
.bt-2:hover, .bt-2:focus-visible { background: rgba(var(--sin), .1); border-color: var(--sinapse); color: #fff; box-shadow: none; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

.elo { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid rgba(var(--sin), .4); font: 500 14px/1.3 var(--ft); letter-spacing: 0; color: var(--sinapse); text-decoration: none; transition: border-color .2s; }
.elo::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transition: transform .3s var(--sai); }
.elo:hover { border-bottom-color: var(--sinapse); }
.elo:hover::after { transform: translate(2px, -2px); }

/* quem tem .luz-mouse ganha um clarão verde que segue o ponteiro */
.luz-mouse { background-image: radial-gradient(300px circle at var(--mx, -999px) var(--my, -999px), rgba(var(--sin), .11), rgba(var(--sin), 0) 70%); }

/* ---------- topo: barra flutuante de vidro ---------- */
.topo {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 30; width: min(100% - 2 * var(--m), 880px); height: 54px; margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px;
  background-color: rgba(18, 23, 22, .3); background-image: linear-gradient(rgba(255, 255, 255, .11), rgba(255, 255, 255, .045));
  -webkit-backdrop-filter: blur(22px) saturate(175%); backdrop-filter: blur(22px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 44px -24px rgba(0, 0, 0, .95);
  transition: background-color .35s, border-color .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
/* fora do topo da página a barra passa por cima de fotos claras: o vidro escurece o que está atrás para o menu continuar legível */
.topo.rolou, html:not(.js) .topo { background-color: rgba(13, 17, 16, .72); -webkit-backdrop-filter: blur(22px) saturate(175%) brightness(.6); backdrop-filter: blur(22px) saturate(175%) brightness(.6); }
.topo.rolou .menu a:not(.ativo):not(:hover), html:not(.js) .topo .menu a:not(:hover) { color: #d3d6d5; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .topo { background-color: rgba(20, 25, 24, .96); } }
.topo-linha { display: flex; align-items: center; gap: 16px; height: 100%; padding: 0 8px 0 18px; }
.topo-marca { display: block; margin-right: auto; padding: 6px 0; font-size: 20px; text-decoration: none; }
.menu { display: flex; gap: 0; }
.menu a { position: relative; padding: 9px 11px; font-size: 13.5px; font-weight: 500; line-height: 1.2; color: var(--t2); text-decoration: none; white-space: nowrap; transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sinapse); opacity: 0; transform: translateY(3px); transition: opacity .25s, transform .3s var(--sai); }
.menu a:hover, .menu a.ativo { color: #fff; }
.menu a.ativo::after { opacity: 1; transform: none; }
.topo .bt-p { height: 36px; }
.menu-botao { display: none; position: relative; width: 36px; height: 36px; border: 1px solid var(--linha-2); border-radius: 9px; }
.menu-botao span { position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; margin-top: -0.75px; background: #fff; transition: transform .25s var(--sai); }
.menu-botao span:first-child { transform: translateY(-3.5px); }
.menu-botao span:last-child { transform: translateY(3.5px); }
.topo.aberto .menu-botao span:first-child { transform: rotate(45deg); }
.topo.aberto .menu-botao span:last-child { transform: rotate(-45deg); }
.progresso { position: absolute; left: 16px; right: 16px; bottom: -3px; height: 5px; overflow: hidden; pointer-events: none; }
.progresso i { position: absolute; left: 0; top: 2px; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(var(--sin), 0) 0%, rgba(var(--sin), .55) 70%, var(--sinapse)); transform: translateX(calc((var(--p, 0) - 1) * 100%)); }
.progresso i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--sinapse); }
html:not(.js) .progresso { display: none; }

/* ---------- primeira tela ---------- */
.hero { position: relative; padding-bottom: clamp(40px, 5vw, 64px); }
.hero-palco { position: relative; height: clamp(330px, 56vh, 520px); }
.rede { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
.hero-marca { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); font-size: clamp(54px, 9vw, 124px); }
.hero-marca .marca-sol { color: var(--t3); }
.js .hero-marca { display: none; }
.hero-texto { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 88px); align-items: end; margin-top: -6px; }
.hero-lado { display: grid; gap: 22px; padding-bottom: 5px; }
.fatos { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--linha-2); }
.fatos li { position: relative; display: grid; gap: 2px; align-content: start; padding-top: 18px; }
.fatos li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--fundo); border: 1.5px solid #6a706e; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.fatos li:hover::before { background: var(--sinapse); border-color: var(--sinapse); box-shadow: 0 0 0 5px rgba(var(--sin), .16); }
.fatos strong { font: 600 15px/1.3 var(--ft); letter-spacing: -0.01em; color: #fff; }
.fatos span { font-size: 14px; line-height: 1.45; color: var(--t3); }
.fatos::after { content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--sinapse); box-shadow: 0 0 10px 2px rgba(var(--sin), .55); opacity: 0; }

/* ---------- seções: as faixas mudam de tom e começam num fio aceso ---------- */
.secao { position: relative; padding: clamp(56px, 6.2vw, 86px) 0; }
.faixa { background: var(--s0); border-block: 1px solid var(--linha); }
.faixa::before, .rodape::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, rgba(var(--sin), .06), rgba(var(--sin), .75) calc(max(var(--m), (100% - var(--larg)) / 2)), rgba(var(--sin), .2) 46%, rgba(var(--sin), 0) 80%); pointer-events: none; }
.faixa::after, .rodape::after { content: ""; position: absolute; top: -4px; left: calc(max(var(--m), (100% - var(--larg)) / 2) - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--sinapse); box-shadow: 0 0 14px 3px rgba(var(--sin), .55); pointer-events: none; }
.secao-topo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; margin-bottom: clamp(26px, 3.2vw, 40px); }

/* ---------- projetos ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filtros button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border: 1px solid var(--linha-2); border-radius: 8px; background: rgba(255, 255, 255, .025); font-size: 14px; font-weight: 500; line-height: 1; color: var(--t2); transition: color .2s, border-color .2s, background-color .2s, transform .2s var(--sai); }
.filtros button span { font-size: 13px; color: var(--t3); font-variant-numeric: tabular-nums; }
.filtros button:hover { color: #fff; border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.filtros button[aria-pressed="true"] { background: var(--menta); border-color: rgba(var(--sin), .5); color: var(--sinapse); }
.filtros button[aria-pressed="true"] span { color: rgba(var(--sin), .7); }
html:not(.js) .filtros, html:not(.js) .abrir { display: none; }
.grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grade > li { min-width: 0; }
.grade > li[hidden] { display: none; }
.cartao { position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--raio); background-color: var(--s2); transition: background-color .3s, transform .4s var(--sai), box-shadow .3s; }
.cartao::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--linha), inset 0 1px 0 rgba(255, 255, 255, .07); pointer-events: none; transition: box-shadow .3s; }
.cartao:hover, .cartao:focus-within { background-color: var(--s2h); transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .95), 0 0 60px -24px rgba(var(--sin), .5); }
.cartao:hover::after, .cartao:focus-within::after { box-shadow: inset 0 0 0 1px rgba(var(--sin), .45), inset 0 1px 0 rgba(var(--sin), .5); }
.cartao-midia { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--poco); }
.cartao-midia::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(205deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 34%); pointer-events: none; }
.cartao-midia > img { transition: opacity .35s, transform .7s var(--sai); }
.cartao-midia.cheia > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.cartao:hover .cheia > img { transform: scale(1.04); }
.cartao-midia.telas { display: flex; justify-content: center; align-items: flex-start; gap: 4.4%; padding: 8.5% 8% 0; background: radial-gradient(110% 95% at 50% 0%, rgba(var(--sin), .13) 0%, rgba(0, 0, 0, .3) 64%); }
.telas > img { flex: 1 1 0; min-width: 0; border-radius: 9px 9px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .13), 0 18px 40px rgba(0, 0, 0, .55); }
.telas > img:nth-child(2) { margin-top: -3.4%; }
.telas.duas { padding-inline: 21%; }
.telas.duas > img:nth-child(2) { margin-top: 5%; }
.cartao:hover .telas > img:nth-child(1) { transform: translate(-5px, -6px) rotate(-1.6deg); }
.cartao:hover .telas > img:nth-child(2) { transform: translateY(-10px); }
.cartao:hover .telas > img:nth-child(3) { transform: translate(5px, -6px) rotate(1.6deg); }
.cartao:hover .telas.duas > img:nth-child(2) { transform: translate(5px, -9px) rotate(1.6deg); }
/* prévia: ao passar o mouse, as telas do projeto correm numa fita (ou o vídeo toca na tela do meio) */
.fita { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; padding: 15px 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.fita-trilho { display: flex; gap: 10px; height: 100%; padding-inline: 15px; }
.fita-trilho > * { flex: none; width: auto; max-width: none; height: 100%; border-radius: 8px; object-fit: cover; background: #0c100f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.cartao.previa .fita { opacity: 1; visibility: visible; transition-delay: 0s; }
.cartao.previa .tem-fita > img { opacity: 0; transform: scale(.94); }
.previa-video { position: absolute; z-index: 1; max-width: none; object-fit: cover; object-position: 50% 0; border-radius: 9px 9px 0 0; opacity: 0; pointer-events: none; transition: opacity .3s, transform .7s var(--sai); }
.cartao.previa .previa-video { opacity: 1; transform: translateY(-10px); }
.selo { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 9px; border-radius: 7px; background: rgba(9, 13, 12, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font: 500 12px/1.2 var(--ft); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .35s var(--sai); pointer-events: none; }
.selo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sinapse); }
.cartao.previa .selo { opacity: 1; transform: none; }
.cartao-canto { position: absolute; top: 14px; right: 14px; z-index: 4; width: 18px; height: 17px; fill: rgba(255, 255, 255, .5); pointer-events: none; transform-origin: 100% 0; transition: transform .35s var(--sai), fill .25s; }
.cartao:hover .cartao-canto, .cartao:focus-within .cartao-canto, .convite-caixa:hover .cartao-canto { fill: var(--sinapse); transform: scale(1.5); }
.cartao-texto { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px 20px; }
.cartao-linha { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tipo { font-size: 13px; line-height: 1.3; color: var(--t3); white-space: nowrap; }
.cartao p { font-size: 15px; line-height: 1.55; color: var(--t2); }
.cartao-pe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--linha); }
.estado { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.3; color: var(--t3); }
.estado::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #6a706e; }
.estado.vivo { color: var(--sinapse); }
.estado.vivo::before { background: var(--sinapse); }
.abrir { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font: 500 14px/1.2 var(--ft); color: #fff; white-space: nowrap; }
.abrir::before { content: ""; position: absolute; inset: 0; z-index: 5; }
.abrir::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transition: transform .3s var(--sai); }
.cartao:hover .abrir, .abrir:focus-visible { color: var(--sinapse); }
.cartao:hover .abrir::after { transform: translate(3px, -3px); }
.abrir:focus-visible { outline: none; }
.cartao:has(.abrir:focus-visible) { outline: 2px solid var(--sinapse); outline-offset: 3px; }
.convite-caixa { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; height: 100%; min-height: 250px; padding: 22px; border: 1px dashed rgba(255, 255, 255, .22); border-radius: var(--raio); background-color: rgba(var(--sin), .03); background-image: radial-gradient(300px circle at var(--mx, -999px) var(--my, -999px), rgba(var(--sin), .12), rgba(var(--sin), 0) 70%), radial-gradient(90% 80% at 100% 0%, rgba(var(--sin), .12), rgba(var(--sin), 0) 70%); transition: border-color .3s, transform .4s var(--sai); }
.convite-caixa:hover { border-color: rgba(var(--sin), .55); transform: translateY(-5px); }
.convite h3 { font-size: 24px; }
.convite p { max-width: 30ch; font-size: 15px; line-height: 1.55; color: var(--t2); }
.convite .bt { margin-top: 10px; }

/* ---------- serviços: lista de cartões; com JS vira abas no computador e sanfona no celular ---------- */
.servicos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.servico { overflow: hidden; background: var(--s2); border-radius: 14px; }
.servico h3 { font-size: 18px; scroll-margin-top: calc(var(--topo) + 24px); }
.servico h3 button { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; }
.servico-corpo { display: grid; gap: 14px; justify-items: start; padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--t2); }
html:not(.js) .servico-corpo .elo { display: none; }
.servico-prova { position: relative; margin: 0 14px 14px; overflow: hidden; border-radius: 10px; background: var(--poco); }
.servico-prova img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--sai); }
.servico-prova:hover img { transform: scale(1.05); }
.servico-prova figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; font-size: 13px; line-height: 1.3; color: #e0e0e0; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .88)); }
.js .servicos { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.js .servico h3 button::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #6a706e; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.js .servico.ativo h3 button::after { background: var(--sinapse); border-color: var(--sinapse); box-shadow: 0 0 0 4px rgba(var(--sin), .16); }
.js .servico:not(.ativo) .servico-corpo, .js .servico:not(.ativo) .servico-prova { display: none; }
.js .servico:not(.ativo) h3 { color: var(--t2); }

/* ---------- o seu negócio ---------- */
.seu { position: relative; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px 40px; padding: clamp(18px, 3vw, 36px); border: 1px solid var(--linha-2); border-radius: 22px; background-color: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.seu-cabeca { display: grid; gap: 14px; align-content: start; }
.seu-cabeca h2 { font-size: clamp(26px, 2.5vw, 34px); }
.seu-form { display: grid; gap: 14px; margin-top: 6px; }
.campo { display: grid; gap: 6px; }
.campo label { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--t2); }
.campo input, .campo select { width: 100%; height: 48px; padding: 0 14px; background-color: var(--poco); border: 1px solid var(--linha-2); border-radius: 8px; font-size: 16px; color: #fff; transition: border-color .2s, box-shadow .2s; }
.campo select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #b4b4b4 50%), linear-gradient(135deg, #b4b4b4 50%, transparent 50%); background-position: calc(100% - 21px) 21px, calc(100% - 15px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.campo select option { background: #111514; color: #fff; }
.campo input::placeholder { color: #7a807e; }
.campo input:hover, .campo select:hover { border-color: rgba(255, 255, 255, .3); }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--sinapse); box-shadow: 0 0 0 4px rgba(var(--sin), .14); }
.seu-form .bt { justify-self: start; margin-top: 8px; }
.seu-rede { position: relative; min-height: 250px; overflow: hidden; border: 1px solid var(--linha); border-radius: 14px; background: var(--poco) radial-gradient(rgba(255, 255, 255, .1) 1px, rgba(0, 0, 0, 0) 1.5px) 0 0 / 22px 22px; }
.seu-rede canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seu-nome-fixo { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; font: 700 clamp(30px, 5.2vw, 68px)/1.02 var(--ft); letter-spacing: -0.02em; text-align: center; color: #fff; overflow-wrap: anywhere; }
.seu-rede.viva .seu-nome-fixo { opacity: 0; }
.mocks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mock { display: grid; grid-template-rows: auto 1fr; gap: 9px; min-width: 0; }
.mock figcaption { display: flex; align-items: center; gap: 8px; font: 500 13px/1.2 var(--ft); color: var(--t2); transition: color .25s; }
.mock figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sinapse); transition: box-shadow .25s; }
.mock-tela { display: flex; flex-direction: column; min-height: 262px; overflow: hidden; border: 1px solid var(--linha-2); border-radius: 12px; background-color: rgba(4, 7, 6, .62); font-size: 12px; line-height: 1.4; transition: transform .4s var(--sai), border-color .3s, box-shadow .3s; }
.mock:hover .mock-tela { transform: translateY(-5px); border-color: rgba(var(--sin), .45); box-shadow: 0 24px 46px -28px rgba(0, 0, 0, .95), 0 0 50px -24px rgba(var(--sin), .5); }
.mock:hover figcaption { color: #fff; }
.mock:hover figcaption::before { box-shadow: 0 0 0 4px rgba(var(--sin), .18); }
.m-barra { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--linha); font-size: 11.5px; color: var(--t3); }
.m-barra i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3a403e; }
.m-barra span, .m-site-topo strong, .m-zap-topo strong, .m-linhas span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-site { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 12px 14px 14px; }
.m-site-topo { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--t3); }
.m-site-topo strong { font-weight: 600; color: #e8e8e8; }
.m-site-topo span { flex: none; }
.m-nome { margin-top: auto; padding-top: 14px; font: 700 25px/1.05 var(--ft); letter-spacing: -0.02em; color: #fff; overflow-wrap: anywhere; }
.m-frase { margin-top: 8px; font-size: 12.5px; color: var(--t2); }
.m-pe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.m-botao { padding: 7px 11px; border-radius: 4px; background: var(--sinapse); font: 600 11.5px/1 var(--ft); color: #000; white-space: nowrap; }
.m-itens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.m-itens span { padding: 7px 8px; border: 1px solid var(--linha-2); border-radius: 6px; font-size: 10.5px; line-height: 1.25; color: var(--t2); }
.m-sis { display: flex; flex-direction: column; flex: 1; gap: 10px; min-height: 0; padding: 12px 14px; }
.m-sis > strong { font: 600 13.5px/1.2 var(--ft); color: #fff; }
.m-numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.m-numeros div { display: grid; gap: 3px; align-content: start; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.m-numeros b { font: 600 18px/1 var(--ft); color: #fff; font-variant-numeric: tabular-nums; }
.m-numeros span { font-size: 10.5px; line-height: 1.25; color: var(--t3); }
.m-numeros .atencao b { color: var(--alerta); }
.m-linhas { display: grid; margin-top: auto; }
.m-linhas div { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--linha); font-size: 11.5px; }
.m-linhas b { font-weight: 500; color: var(--t3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-linhas span { color: #e0e0e0; }
.m-linhas i { font-style: normal; font-size: 10.5px; color: var(--sinapse); white-space: nowrap; }
.m-linhas .atencao i { color: var(--alerta); }
.m-zap-topo { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--linha); }
.m-zap-topo > div { min-width: 0; }
.m-foto { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--menta); font: 600 12px/1 var(--ft); color: var(--sinapse); }
.m-zap-topo strong { display: block; font: 600 12.5px/1.2 var(--ft); color: #fff; }
.m-zap-topo small { display: block; font-size: 10.5px; color: var(--t3); }
.m-conversa { display: flex; flex-direction: column; flex: 1; justify-content: flex-end; gap: 6px; padding: 12px; }
.m-conversa p { max-width: 86%; padding: 7px 10px; border-radius: 10px; font-size: 11.5px; line-height: 1.4; }
.m-conversa .ele, .mini-conversa .ele { align-self: flex-start; background: rgba(255, 255, 255, .1); color: #e8e8e8; border-bottom-left-radius: 3px; }
.m-conversa .nos, .mini-conversa .nos { align-self: flex-end; background: var(--menta); color: #d6fff5; border-bottom-right-radius: 3px; }

/* cada ramo tem um mini tema: o site de exemplo muda de cor, de letra e de detalhe; o painel e o WhatsApp levam a cor do ramo */
.mocks { --mf: rgba(4, 7, 6, .62); --mt: #fff; --mt2: #bbbfbd; --mt3: #9da2a0; --ml: rgba(255, 255, 255, .13); --ma: #2EF2C8; --mat: #000; --mc: #2EF2C8; --mr: 4px; --mfonte: var(--ft); --mestilo: normal; --mcaixa: none; --mtam: 25px; --mforma: 50%; --malerta: var(--alerta); }
.mocks[data-ramo="clinica"] { --mf: #f2f9fb; --mt: #0f2f3a; --mt2: #3f5c66; --mt3: #4d6973; --ml: rgba(15, 47, 58, .17); --ma: #0b7285; --mat: #fff; --mc: #5fd6e8; --mr: 999px; }
.mocks[data-ramo="oficina"] { --mf: #17191d; --mt: #f4f5f7; --mt2: #b3b8c2; --mt3: #9499a4; --ml: rgba(255, 255, 255, .14); --ma: #ff7a1a; --mat: #17191d; --mc: #ff8f3d; --mr: 2px; --mcaixa: uppercase; --mtam: 22px; --mforma: 1px; }
.mocks[data-ramo="salao"] { --mf: #1c1815; --mt: #f6efe4; --mt2: #c9bcab; --mt3: #a89b8a; --ml: rgba(214, 173, 102, .3); --ma: #d6ad66; --mat: #1c1815; --mc: #dcb777; --mr: 1px; --mfonte: Georgia, "Times New Roman", serif; --mforma: 0; }
.mocks[data-ramo="restaurante"] { --mf: #fff5e8; --mt: #3a1c0e; --mt2: #6d4a37; --mt3: #7a5744; --ml: rgba(58, 28, 14, .18); --ma: #c7391a; --mat: #fff; --mc: #ff8663; --mr: 8px; --mfonte: Georgia, "Times New Roman", serif; }
.mocks[data-ramo="obra"] { --mf: #eceeef; --mt: #1c2126; --mt2: #485058; --mt3: #555d66; --ml: rgba(28, 33, 38, .18); --ma: #f2b705; --mat: #1c2126; --mc: #f5c531; --mr: 2px; --mcaixa: uppercase; --mtam: 22px; --mforma: 1px; }
.mocks[data-ramo="academia"] { --mf: #0e0e10; --mt: #fff; --mt2: #b9b9c2; --mt3: #9a9aa5; --ml: rgba(255, 255, 255, .15); --ma: #d4ff3a; --mat: #0e0e10; --mc: #d4ff3a; --mr: 999px; --mestilo: italic; --mcaixa: uppercase; --mtam: 22px; --mforma: 1px; }
.mocks[data-ramo="escritorio"] { --mf: #f5f2ea; --mt: #14233b; --mt2: #46536a; --mt3: #525f75; --ml: rgba(20, 35, 59, .18); --ma: #14233b; --mat: #fff; --mc: #d0ac62; --mr: 2px; --mfonte: Georgia, "Times New Roman", serif; --mforma: 0; }
.mocks[data-ramo="pet"] { --mf: #fff9ee; --mt: #2e2947; --mt2: #575173; --mt3: #625c7d; --ml: rgba(46, 41, 71, .16); --ma: #ff8a5c; --mat: #2e2947; --mc: #ff9670; --mr: 999px; }
.mock-site .mock-tela { background-color: var(--mf); }
.mock-site .m-barra { border-bottom-color: var(--ml); color: var(--mt3); }
.mock-site .m-barra i { background: var(--mt3); opacity: .6; }
.mock-site .m-site { position: relative; z-index: 0; overflow: hidden; }
.mock-site .m-site > * { position: relative; }
.mock-site .m-site-topo { color: var(--mt3); }
.mock-site .m-site-topo strong { color: var(--mt); }
.mock-site .m-site-topo strong::before, .m-sis > strong::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: var(--mforma); background: var(--ma); vertical-align: 0; }
.m-sis > strong::before { background: var(--mc); }
.mock-site .m-nome { font-family: var(--mfonte); font-style: var(--mestilo); font-size: var(--mtam); text-transform: var(--mcaixa); color: var(--mt); }
.mock-site .m-frase { color: var(--mt2); }
.mock-site .m-botao { border-radius: var(--mr); background: var(--ma); color: var(--mat); }
.mock-site .m-itens span { border-color: var(--ml); border-radius: min(var(--mr), 8px); color: var(--mt2); }
.mocks .m-linhas i { color: var(--mc); }
.mocks .m-linhas .atencao i, .mocks .m-numeros .atencao b { color: var(--malerta); }
/* onde a cor do ramo é quente, o aviso muda de cor para não se confundir com ela */
.mocks[data-ramo="oficina"], .mocks[data-ramo="salao"], .mocks[data-ramo="obra"], .mocks[data-ramo="escritorio"] { --malerta: #ff6b6b; }
.mocks[data-ramo="restaurante"], .mocks[data-ramo="pet"] { --malerta: #ffd166; }
.mocks .m-foto { background: var(--menta); background: color-mix(in srgb, var(--mc) 22%, #0c100f); color: var(--mc); }
.mocks .m-conversa .nos { background: var(--menta); background: color-mix(in srgb, var(--mc) 24%, #0d1110); color: #f6fffd; }
.mock-site .m-site::before { content: ""; position: absolute; z-index: 0; pointer-events: none; }
.mocks[data-ramo="clinica"] .m-site::before { right: -16px; top: 26px; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(rgba(11, 114, 133, .28), rgba(11, 114, 133, .28)) 50% 50% / 30px 9px no-repeat, linear-gradient(rgba(11, 114, 133, .28), rgba(11, 114, 133, .28)) 50% 50% / 9px 30px no-repeat, rgba(11, 114, 133, .09); }
.mocks[data-ramo="oficina"] .m-site::before { left: 0; right: 0; top: 0; height: 5px; background: repeating-linear-gradient(-45deg, var(--ma) 0 7px, rgba(0, 0, 0, 0) 7px 14px); }
.mocks[data-ramo="salao"] .m-site::before { inset: 6px; border: 1px solid rgba(214, 173, 102, .36); }
.mocks[data-ramo="restaurante"] .m-site::before { left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--ma) 0 6px, rgba(199, 57, 26, .22) 6px 12px); }
.mocks[data-ramo="obra"] .m-site::before { inset: 0; border-top: 4px solid var(--ma); background: linear-gradient(rgba(28, 33, 38, .07) 1px, rgba(0, 0, 0, 0) 1px) 0 0 / 16px 16px, linear-gradient(90deg, rgba(28, 33, 38, .07) 1px, rgba(0, 0, 0, 0) 1px) 0 0 / 16px 16px; }
.mocks[data-ramo="academia"] .m-site::before { top: -20%; right: 30px; width: 52px; height: 140%; background: rgba(212, 255, 58, .13); transform: skewX(-20deg); }
.mocks[data-ramo="escritorio"] .m-site::before { left: 0; top: 0; bottom: 0; width: 3px; background: #b8924a; }
.mocks[data-ramo="pet"] .m-site::before { inset: 0; background: radial-gradient(circle at 86% 31%, rgba(255, 138, 92, .3) 0 30px, rgba(0, 0, 0, 0) 31px), radial-gradient(circle at 67% 21%, rgba(46, 41, 71, .09) 0 13px, rgba(0, 0, 0, 0) 14px); }

/* ---------- como funciona: quatro nós num fio ---------- */
.passos { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; padding-top: 40px; counter-reset: passo; }
.passos::before, .passos::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: var(--linha-2); }
.passos::after { background: var(--sinapse); transform-origin: 0 50%; transform: scaleX(0); }
.passo { position: relative; display: grid; gap: 8px; align-content: start; counter-increment: passo; }
.passo::before { content: counter(passo); position: absolute; left: 0; top: -40px; z-index: 1; width: 25px; height: 25px; border-radius: 50%; border: 1.5px solid #5a605e; background: var(--fundo); font: 600 12px/22px var(--ft); text-align: center; color: var(--t2); }
html:not(.js) .passo::before, .passos.visto .passo::before { border-color: var(--sinapse); color: var(--sinapse); box-shadow: 0 0 0 5px rgba(var(--sin), .1); }
.passos.visto::after { transform: scaleX(1); }
.passos.visto .passo:hover::before { background: var(--sinapse); color: #04110d; box-shadow: 0 0 0 6px rgba(var(--sin), .18), 0 0 22px rgba(var(--sin), .6); }
.passo h3 { margin-top: 8px; transition: color .25s; }
.passo p { font-size: 15px; line-height: 1.6; color: var(--t2); }
.mini { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 128px; padding: 14px; overflow: hidden; border: 1px solid var(--linha); border-radius: 12px; background-color: var(--s2); font-size: 12.5px; line-height: 1.35; color: #e0e0e0; transition: transform .4s var(--sai), border-color .3s, background-color .3s, box-shadow .3s; }
.passo:hover .mini { transform: translateY(-5px); border-color: rgba(var(--sin), .45); background-color: var(--s2h); box-shadow: 0 22px 44px -28px rgba(0, 0, 0, .95), 0 0 50px -26px rgba(var(--sin), .5); }
.mini-conversa span { max-width: 92%; padding: 7px 10px; border-radius: 10px; }
.mini-site .url { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 11.5px; color: var(--t3); }
.mini-site .url::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4a504e; }
.mini-site strong { font: 700 21px/1.1 var(--ft); letter-spacing: -0.02em; color: #fff; }
.mini-site .botao { align-self: flex-start; padding: 7px 11px; border-radius: 4px; background: var(--sinapse); font: 600 11.5px/1 var(--ft); color: #000; }
.mini-entregas { gap: 0; }
.mini-entregas span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--linha); }
.mini-entregas span:last-child { border-bottom: 0; }
.mini-entregas b { flex: none; font-size: 11.5px; font-weight: 500; color: var(--t3); }
.mini-entregas b.agora { color: var(--sinapse); }
.mini-ar strong { font: 600 16px/1.2 var(--ft); color: #fff; }
.mini-ar span:last-child { font-size: 12px; color: var(--t3); }
.mini-ar .vivo { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--sinapse); }
.mini-ar .vivo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sinapse); }

/* ---------- dúvidas ---------- */
.duvidas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px clamp(32px, 6vw, 80px); align-items: start; }
.duvidas-lado { position: sticky; top: calc(var(--topo) + 20px); display: grid; gap: 16px; justify-items: start; }
.duvidas-lado .bt { margin-top: 8px; }
.duvidas-lista { border-top: 1px solid var(--linha-2); }
.duvidas-lista details { position: relative; border-bottom: 1px solid var(--linha-2); transition: background-color .3s; }
.duvidas-lista details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sinapse); transform: scaleY(0); transform-origin: 50% 0; transition: transform .4s var(--sai); }
.duvidas-lista details:hover, .duvidas-lista details[open] { background-color: rgba(255, 255, 255, .03); }
.duvidas-lista details:hover::before, .duvidas-lista details[open]::before { transform: scaleY(1); }
.duvidas-lista summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 14px 19px 18px; font: 500 18px/1.3 var(--ft); letter-spacing: -0.01em; color: #fff; cursor: pointer; list-style: none; transition: color .2s; }
.duvidas-lista summary::-webkit-details-marker { display: none; }
.duvidas-lista summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-top: 1.5px solid var(--t3); border-right: 1.5px solid var(--t3); transform: translateY(-2px) rotate(135deg); transition: transform .3s var(--sai), border-color .2s; }
.duvidas-lista summary:hover { color: var(--sinapse); }
.duvidas-lista details[open] summary::after { transform: translateY(2px) rotate(-45deg); border-color: var(--sinapse); }
.duvidas-lista details p { max-width: 58ch; padding: 0 14px 22px 18px; color: var(--t2); }

/* ---------- contato ---------- */
.contato { position: relative; display: flex; align-items: center; min-height: 300px; overflow: hidden; padding: clamp(26px, 5vw, 60px); border: 1px solid var(--linha-2); border-radius: 22px; background-color: rgba(255, 255, 255, .035); background-image: radial-gradient(70% 140% at 0% 100%, rgba(var(--sin), .15), rgba(var(--sin), 0) 62%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.contato-rede { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .12) 26%, #000 72%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .12) 26%, #000 72%); }
.contato-texto { position: relative; display: grid; gap: 12px; max-width: 580px; }
.contato h2 { font-size: clamp(28px, 3.3vw, 44px); }
.contato .acoes { margin-top: 14px; gap: 16px 28px; }
.numero { padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .3); font: 500 20px/1.2 var(--ft); font-variant-numeric: tabular-nums; color: #fff; text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s; }
.numero:hover { color: var(--sinapse); border-color: var(--sinapse); }

/* ---------- página não encontrada ---------- */
.nada { display: grid; align-items: center; min-height: 100svh; padding: calc(var(--topo) + 16px) 0 48px; }
.nada .contato { min-height: min(500px, 64svh); }
.nada h1 { font-size: clamp(30px, 3.6vw, 46px); }
.nada-codigo { font: 500 14px/1.3 var(--ft); color: var(--sinapse); }

/* ---------- rodapé ---------- */
.rodape { padding: 52px 0 26px; border-top: 1px solid var(--linha); background: rgba(0, 0, 0, .3); }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 36px 64px; }
.rodape-marca .marca { font-size: 38px; }
.rodape-marca > p:not(.marca) { max-width: 30ch; margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--t3); }
.rodape-contato { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.canal { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px; border: 1px solid var(--linha-2); border-radius: 10px; background-color: rgba(255, 255, 255, .03); font-size: 13.5px; color: var(--t2); text-decoration: none; transition: border-color .25s, color .25s, background-color .25s, transform .3s var(--sai); }
.canal svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
a.canal:hover { border-color: rgba(var(--sin), .6); background-color: rgba(var(--sin), .08); color: #fff; transform: translateY(-2px); }
a.canal:hover svg { color: var(--sinapse); }
.canal.em-breve { cursor: default; color: var(--t3); }
.canal small { padding: 2px 7px; border-radius: 999px; background: rgba(var(--sin), .12); font: 600 10.5px/1.4 var(--ft); color: var(--sinapse); letter-spacing: .02em; }
.contato .email { align-self: center; font-size: 15px; color: var(--t2); text-decoration: none; border-bottom: 1px solid var(--linha-3); transition: color .2s, border-color .2s; }
.contato .email:hover { color: #fff; border-color: var(--sinapse); }
.rodape-colunas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 14px; line-height: 1.4; }
.rodape-colunas strong { display: block; margin-bottom: 8px; font: 600 13px/1.4 var(--ft); color: var(--t3); }
.rodape-colunas a, .rodape-fim a { position: relative; display: inline-block; padding: 4px 0; color: var(--t2); text-decoration: none; transition: color .2s; }
.rodape-colunas a::after, .rodape-fim a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--sinapse); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--sai); }
.rodape-colunas a:hover, .rodape-fim a:hover { color: #fff; }
.rodape-colunas a:hover::after, .rodape-fim a:hover::after { transform: scaleX(1); }
.rodape-fim { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--linha); font-size: 13px; color: var(--t3); }

/* ---------- ficha do projeto: à esquerda fica o que não sai da tela (o vídeo); à direita, o texto e a galeria ---------- */
.ficha { --tf: 84px; --vh: clamp(320px, calc(100dvh - var(--tf) - 172px), 600px); width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; overflow: hidden auto; overscroll-behavior: contain; border: 1px solid rgba(255, 255, 255, .15); border-radius: 18px; background: var(--s1); color: var(--texto); box-shadow: 0 40px 120px -40px #000, 0 0 90px -40px rgba(var(--sin), .45); scrollbar-width: thin; scrollbar-color: #3a403e transparent; }
.ficha::backdrop { background: rgba(4, 7, 6, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ficha-topo { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 18px 26px 15px; background: rgba(17, 21, 20, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--linha-2); }
.ficha-topo h2 { font-size: 28px; }
.ficha-topo p { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--t2); }
.ficha-fechar { flex: none; position: relative; width: 40px; height: 40px; border: 1px solid var(--linha-2); border-radius: 8px; transition: border-color .2s, background-color .2s, transform .3s var(--sai); }
.ficha-fechar:hover { border-color: var(--sinapse); background-color: rgba(var(--sin), .1); transform: rotate(90deg); }
.ficha-fechar span { position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; margin-top: -0.75px; background: #fff; transform: rotate(45deg); }
.ficha-fechar span + span { transform: rotate(-45deg); }
.ficha-miolo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px 34px; align-items: start; padding: 24px 26px 28px; }
.ficha-palco { position: sticky; top: calc(var(--tf) + 24px); display: grid; gap: 12px; min-width: 0; }
.ficha-palco.de-texto { width: min(350px, 32vw); gap: 20px; }
.palco-video { overflow: hidden; border-radius: 14px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 60px -22px rgba(var(--sin), .55); }
.palco-video video { width: auto; max-width: none; height: var(--vh); aspect-ratio: 9 / 16; object-fit: cover; }
.palco-som { width: 100%; height: 42px; padding: 0 12px; font-size: 14px; }
.palco-volta { display: none; }
.palco-telas { display: flex; gap: 12px; }
.palco-telas figure { height: min(var(--vh), 470px); aspect-ratio: var(--r); }
.ficha-conteudo { display: grid; gap: 24px; min-width: 0; align-content: start; }
.ficha.empilhada .ficha-miolo { grid-template-columns: minmax(0, 1fr); }
.ficha.centro { width: min(1040px, calc(100vw - 32px)); }
.ficha.centro .ficha-conteudo { align-self: center; }
.ficha.trio .ficha-conteudo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px 30px; }
.ficha-corpo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 40px; }
.ficha-texto { display: grid; gap: 14px; align-content: start; }
.ficha-texto p { line-height: 1.65; color: #dfe2e1; text-wrap: pretty; }
.ficha-texto .nota { padding-left: 14px; border-left: 2px solid var(--linha-3); font-size: 14px; line-height: 1.5; color: var(--t3); }
.ficha-texto .acoes { margin-top: 6px; }
.lista-nos li { position: relative; padding: 7px 0 7px 26px; font-size: 15px; line-height: 1.45; }
.lista-nos li::before { content: ""; position: absolute; left: 2px; top: 13px; z-index: 1; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--sinapse); background: var(--s1); }
.lista-nos li::after { content: ""; position: absolute; left: 5.5px; top: 21px; bottom: -13px; width: 1px; background: var(--linha-3); }
.lista-nos li:last-child::after { display: none; }
/* galeria: cada fila ocupa a largura toda e as fotos da fila ficam com a mesma altura, sem cortar nada */
.galeria { display: grid; gap: 12px; min-width: 0; }
.fila { display: flex; align-items: flex-start; gap: 12px; }
.fila figure, .palco-telas figure { position: relative; flex: var(--r) 1 0; min-width: 0; aspect-ratio: var(--r); overflow: hidden; border-radius: 10px; background: #0c100f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .11); cursor: zoom-in; transition: transform .4s var(--sai), box-shadow .3s; }
.palco-telas figure { flex: none; }
.fila img, .palco-telas img { width: 100%; height: 100%; object-fit: cover; }
.fila figure:hover, .fila figure:focus-visible, .palco-telas figure:hover, .palco-telas figure:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(var(--sin), .7), 0 20px 40px -22px #000, 0 0 44px -18px rgba(var(--sin), .6); }
.fila figure::after, .palco-telas figure::after { content: ""; position: absolute; top: 9px; right: 9px; width: 11px; height: 11px; border-top: 2px solid #fff; border-right: 2px solid #fff; opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .35s var(--sai); filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8)); }
.fila figure:hover::after, .fila figure:focus-visible::after, .palco-telas figure:hover::after, .palco-telas figure:focus-visible::after { opacity: 1; transform: none; }

/* a foto ampliada */
.lupa { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 8, 7, .93); color: var(--texto); }
.lupa::backdrop { background: transparent; }
.lupa figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; justify-items: center; align-items: center; width: 100%; height: 100%; padding: 60px 76px 22px; cursor: zoom-out; }
.lupa img { width: auto; max-width: 100%; height: auto; max-height: 100%; min-height: 0; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 100px -40px #000, 0 0 90px -40px rgba(var(--sin), .5); }
.lupa figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; max-width: 80ch; font-size: 14px; line-height: 1.45; text-align: center; color: var(--t2); }
.lupa figcaption b { font: 500 14px/1.45 var(--ft); color: var(--sinapse); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lupa button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--linha-2); border-radius: 9px; background: rgba(17, 21, 20, .8); transition: border-color .2s, background-color .2s; }
.lupa button:hover { border-color: var(--sinapse); background-color: rgba(var(--sin), .12); }
.lupa button::before { content: ""; width: 10px; height: 10px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.lupa-ant { left: 16px; top: 50%; margin-top: -22px; }
.lupa-ant::before { transform: translateX(2px) rotate(-135deg); }
.lupa-prox { right: 16px; top: 50%; margin-top: -22px; }
.lupa-prox::before { transform: translateX(-2px) rotate(45deg); }
.lupa-fechar { right: 16px; top: 12px; }
.lupa .lupa-fechar::before, .lupa .lupa-fechar::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; width: auto; height: 1.5px; margin-top: -0.75px; border: 0; background: #fff; transform: rotate(45deg); }
.lupa .lupa-fechar::after { transform: rotate(-45deg); }
.lupa.uma .lupa-ant, .lupa.uma .lupa-prox { display: none; }

/* ---------- larguras ---------- */
@media (min-width: 900px) {
  .js .servicos { position: relative; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, .92fr); grid-template-rows: repeat(6, minmax(60px, auto)); gap: 0 30px; }
  .js .servicos::before { content: ""; grid-column: 2 / 4; grid-row: 1 / -1; border: 1px solid var(--linha-2); border-radius: var(--raio); background: var(--s2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
  .js .servico { display: contents; }
  .js .servico h3 { position: relative; grid-column: 1; font-size: 18px; border-bottom: 1px solid var(--linha); }
  .js .servico:first-child h3 { border-top: 1px solid var(--linha); }
  .js .servico h3 button { height: 100%; padding: 0 2px 0 0; transition: color .2s, padding .35s var(--sai); }
  .js .servico h3 button:hover, .js .servico.ativo h3 button { color: #fff; padding-left: 10px; }
  .js .servico h3::after { content: ""; position: absolute; left: calc(100% - 6px); top: 50%; width: 36px; height: 1px; background: var(--sinapse); box-shadow: 0 0 10px rgba(var(--sin), .8); transform-origin: 0 50%; transform: scaleX(0); transition: transform .35s var(--sai); }
  .js .servico.ativo h3::after { transform: scaleX(1); }
  .js .servico-corpo { z-index: 1; grid-column: 2; grid-row: 1 / -1; align-self: center; gap: 22px; padding: 30px 0 30px 34px; font-size: 19px; line-height: 1.55; color: #e8e8e8; text-wrap: pretty; }
  .js .servico-prova { z-index: 1; grid-column: 3; grid-row: 1 / -1; min-height: 0; margin: 14px 14px 14px 0; }
  .js .servico-prova img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .js .servico-prova:not(.retrato) img { object-position: 0 0; }
}
@media (max-width: 1040px) {
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .servicos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ficha.trio .ficha-conteudo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 959.98px) {
  :root { --topo: 76px; }
  .topo { top: 10px; height: 52px; }
  .topo-linha { gap: 10px; padding: 0 8px 0 16px; }
  .menu-botao { display: block; }
  html:not(.js) .menu-botao { display: none; }
  .menu { position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); display: none; flex-direction: column; gap: 0; padding: 6px 18px 8px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px; background: #0f1312; box-shadow: 0 28px 60px -24px #000; }
  .topo.aberto .menu { display: flex; }
  .menu a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--linha); }
  .menu a:last-child { border-bottom: 0; }
  .menu a::after { left: auto; right: 4px; bottom: 50%; margin: 0 0 -2px; }
  .bt-longo { display: none; }
}
@media (max-width: 899.98px) {
  .luz { --a: 25deg; }
  .luz .feixe-3 { display: none; }
  .hero-texto, .secao-topo, .seu, .duvidas, .ficha-corpo, .rodape-grade, .ficha-miolo { grid-template-columns: minmax(0, 1fr); }
  .hero-palco { height: clamp(270px, 40svh, 350px); }
  .hero-texto { margin-top: 4px; }
  .duvidas-lado { position: static; }
  .fatos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; border-top: 0; }
  .fatos li { border-top: 1px solid var(--linha-2); }
  .fatos::after { display: none; }
  .passos { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 0 0 0 44px; }
  .passos::before, .passos::after { left: 12px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .passos::after { transform-origin: 50% 0; transform: scaleY(0); }
  .passos.visto::after { transform: scaleY(1); }
  .passo::before { left: -44px; top: 0; }
  .mini { max-width: 340px; }
  .mocks { grid-auto-flow: column; grid-auto-columns: min(84%, 320px); grid-template-columns: none; overflow-x: auto; margin-inline: calc(clamp(18px, 3vw, 36px) * -1); padding: 6px clamp(18px, 3vw, 36px); scroll-snap-type: x mandatory; scroll-padding-inline: clamp(18px, 3vw, 36px); scrollbar-width: none; }
  .mocks::-webkit-scrollbar { display: none; }
  .mock { scroll-snap-align: start; }
  .seu-rede { min-height: 210px; }
  .contato-rede { -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, #000); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, #000); }
  .ficha { --vh: min(52svh, 460px); width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .ficha-topo { padding: 16px 18px 14px; }
  .ficha-topo h2 { font-size: 24px; }
  .ficha-miolo { gap: 22px; padding: 18px 18px 24px; }
  .ficha-palco { position: static; justify-items: center; }
  .palco-video { height: var(--vh); aspect-ratio: 9 / 16; }
  .palco-video.mini { overflow: visible; }
  .palco-video.mini video { position: fixed; z-index: 6; right: 18px; bottom: 18px; width: 104px; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .24), 0 18px 40px -10px #000, 0 0 44px -12px rgba(var(--sin), .75); pointer-events: none; }
  .palco-video.mini .palco-volta { display: block; position: fixed; z-index: 7; right: 18px; bottom: 18px; width: 104px; aspect-ratio: 9 / 16; border-radius: 12px; }
  .palco-video.mini .palco-volta::after { content: ""; position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-top: 2px solid #fff; border-right: 2px solid #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .9)); }
  .ficha-palco.de-texto { width: auto; justify-items: stretch; }
  .palco-som { width: auto; min-width: min(100%, 260px); }
  .palco-telas { justify-content: center; }
  .palco-telas figure { height: auto; flex: 1 1 0; max-width: 220px; }
  .fila { flex-wrap: wrap; }
  .fila figure { flex: 0 1 calc(50% - 6px); }
  .fila figure.larga { flex-basis: 100%; }
  .fila figure.impar { flex-basis: 100%; aspect-ratio: 1.6; }
  .fila figure.impar img { object-position: 50% 0; }
  .lupa figure { padding: 62px 12px 18px; }
  .lupa-ant, .lupa-prox { top: auto; bottom: 14px; margin: 0; }
  .lupa figcaption { padding-inline: 52px; font-size: 13px; }
}
@media (max-width: 640px) {
  .grade, .servicos { grid-template-columns: minmax(0, 1fr); }
  .hero .acoes .bt { flex: 1 1 auto; }
  .rodape-colunas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rodape-marca .marca { font-size: 32px; }
  .contato .acoes { flex-direction: column; align-items: flex-start; }
}

/* ---------- movimento ---------- */
@keyframes abrir { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes pulsa { 50% { box-shadow: 0 0 0 5px rgba(var(--sin), .18); } }
@keyframes corre { 0% { left: 0; opacity: 0; } 6%, 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fita { to { transform: translateX(calc(-1 * var(--vai, 0px))); } }
@keyframes feixe-a { from { transform: rotate(-3.5deg); opacity: .74; } to { transform: rotate(4.5deg); opacity: 1; } }
@keyframes feixe-b { from { transform: rotate(5deg); opacity: 1; } to { transform: rotate(-4deg); opacity: .55; } }
@keyframes halo { 50% { opacity: .7; transform: scale(1.07); } }
@keyframes aparece { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .js .revela { opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .7s var(--sai), transform .7s var(--sai); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .revela.visto { opacity: 1; transform: none; }
  .js .hero-texto, .js .fatos { animation: abrir .9s var(--sai) .5s both; }
  .js .fatos { animation-delay: .7s; }
  .luz { animation: aparece 1.6s ease-out both; }
  .luz .feixe-1 { animation: feixe-a 11s ease-in-out infinite alternate; }
  .luz .feixe-2 { animation: feixe-b 15s ease-in-out infinite alternate; }
  .luz .feixe-3 { animation: feixe-b 19s ease-in-out -6s infinite alternate; }
  .luz .halo { animation: halo 7s ease-in-out infinite; }
  .ficha[open] { animation: abrir .34s var(--sai); }
  .palco-video.mini video { animation: abrir .3s var(--sai); }
  .mock-site .mock-tela { transition: transform .4s var(--sai), border-color .3s, box-shadow .3s, background-color .45s; }
  .mock-site .m-nome, .mock-site .m-frase, .mock-site .m-botao, .mock-site .m-itens span, .mock-site .m-site-topo, .mock-site .m-site-topo strong, .mocks .m-linhas i, .mocks .m-foto, .mocks .m-conversa .nos, .mock-site .m-site-topo strong::before, .m-sis > strong::before { transition: background-color .45s, color .45s, border-color .45s, border-radius .45s; }
  .lupa[open] { animation: aparece .22s ease-out; }
  .lupa[open] img { animation: abrir .3s var(--sai); }
  .grade > li.filtrado, .js .servico.ativo .servico-corpo, .js .servico.ativo .servico-prova, .duvidas-lista details[open] p { animation: abrir .4s var(--sai); }
  .estado.vivo::before, .mini-ar .vivo::before, .selo::before { animation: pulsa 2.4s ease-in-out infinite; }
  .fatos::after { animation: corre 7s linear 2s infinite; }
  .cartao.previa .fita-trilho { animation: fita var(--dur, 16s) ease-in-out .35s infinite alternate; }
  .telas > img { transition: opacity .35s, transform .6s var(--sai); }
  .passos::after { transition: transform 2.2s cubic-bezier(.4, 0, .6, 1) .2s; }
  .passo::before { transition: border-color .4s, color .4s, box-shadow .4s, background-color .3s; transition-delay: calc(.2s + var(--i, 0) * .62s); }
  .passos.pronto .passo::before { transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
