/* Grupo MR — núcleo visual compartilhado pelos 4 sites.
   Cores tiradas do site atual e do logotipo aprovado (Drive "Logotipo aprovado"). */

/* Fontes hospedadas no próprio site (LGPD: o IP do visitante não vai ao Google).
   Subconjunto latin, que cobre todo o português. Licença SIL OFL 1.1, ver assets/fontes/LICENCA.md */
@font-face {
  font-family: "Manrope";
  src: url("fontes/manrope-latin-variavel.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anton";
  src: url("fontes/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ouro: #c89d4f;
  --ouro-claro: #e3c58a;
  --grafite: #28292b;
  --carvao: #2c2920;
  --noite: #0f0e0c;
  --papel: #f4efe6;
  --texto: #f3efe6;
  --texto-suave: rgba(243, 239, 230, 0.62);
  --linha: rgba(243, 239, 230, 0.12);
  --acento: var(--ouro);
  /* tema: --tinta é a cor do texto em RGB (para rgba(var(--tinta), .x)) e --base a do fundo */
  --tinta: 243, 239, 230;
  --base: 15, 14, 12;
  --fundo: var(--noite);
  --superficie: rgba(243, 239, 230, .03);
  --superficie-forte: #161511;
  --ouro-texto: #c89d4f;
  color-scheme: dark;

  --f-corpo: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --borda-raio: 4px;
  --margem: clamp(20px, 5vw, 72px);
  --largura: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}
/* Modo claro: segue a preferência do computador; o botão do topo troca e a escolha fica guardada */
html.claro {
  --tinta: 44, 41, 32;
  --base: 244, 239, 230;
  --fundo: var(--papel);
  --texto: #2c2920;
  --texto-suave: rgba(44, 41, 32, .68);
  --linha: rgba(44, 41, 32, .14);
  --superficie: rgba(255, 255, 255, .55);
  --superficie-forte: #fbf8f2;
  --ouro-texto: #9c7434;
  color-scheme: light;
}
/* blocos que são escuros nos dois temas (palco, cartões de contraste) */
.sempre-escuro {
  --tinta: 243, 239, 230; --base: 15, 14, 12; --fundo: #0f0e0c;
  --texto: #f3efe6; --texto-suave: rgba(243, 239, 230, .62); --linha: rgba(243, 239, 230, .12);
  --superficie: rgba(243, 239, 230, .03); --superficie-forte: #161511; --ouro-texto: #c89d4f;
  color: var(--texto); color-scheme: dark;
}
.claro .grao { opacity: .09; mix-blend-mode: multiply; }
.claro .botao { color: var(--papel); background: var(--carvao); }
.claro .botao::before { background: var(--ouro); }
.claro .botao:hover { color: var(--carvao); }
.claro .sempre-escuro .botao { color: var(--noite); background: var(--ouro); }
.claro .sempre-escuro .botao::before { background: #f3efe6; }
.claro .sempre-escuro .botao:hover { color: var(--noite); }
.so-claro { display: none !important; }
.claro .so-claro { display: block !important; }
.claro .so-escuro { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  transition: background-color .5s var(--ease), color .5s var(--ease);
  font-family: var(--f-corpo);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }

/* Barra de rolagem fina nas cores do logo (dourado sobre o fundo da página) */
html { scrollbar-width: thin; scrollbar-color: var(--ouro) var(--fundo); }
html.claro { scrollbar-color: var(--carvao) var(--papel); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--fundo); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--ouro-claro), var(--ouro)); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--ouro-claro); }
html.claro ::-webkit-scrollbar-track { background: var(--papel); }
html.claro ::-webkit-scrollbar-thumb { background: var(--carvao); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--acento); color: var(--noite); }

.container { width: min(100% - 2 * var(--margem), var(--largura)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
}
.rotulo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--acento);
}
.rotulo::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--texto-suave); max-width: 58ch; }
.acento { color: var(--acento); }

/* ---------- Grão de filme (dá textura e tira o ar de "template") ---------- */
.grao {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao 0.9s steps(4) infinite;
}
@keyframes grao {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ---------- Rolagem travada enquanto carrega (html.carregando vem do <head>, core.js solta) ---------- */
html.carregando, html.carregando body { overflow: hidden; }

/* ---------- Tronco: frase em pedaços pela rolagem + tronco de partículas atrás (core.js, iniciarTronco) ---------- */
.tronco-sec { position: relative; height: calc(100svh + var(--pedacos, 7) * 45svh); }
.tronco-palco { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.tronco-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.tronco-frase { position: relative; margin: 0; padding: 0 var(--margem); max-width: 18ch; text-align: center; font-size: clamp(34px, min(5.4vw, 9vh), 89px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; text-shadow: 0 2px 21px var(--fundo), 0 0 55px var(--fundo); }
.tronco-frase > span { display: block; transition: opacity .45s, transform .6s var(--ease), filter .45s; }
.tronco-frase.troca > span { opacity: 0; transform: translateY(-21px) scale(.97); filter: blur(6px); }
.tronco-frase.entra > span { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: none; }
.tronco-frase .acento { color: var(--ouro-texto); }
@media (prefers-reduced-motion: reduce) { .tronco-frase > span { transition: none; } }

/* ---------- Formulário de contato (core.js, iniciarContato): superfície sólida, sem borda ---------- */
.contato { width: min(560px, calc(100vw - 26px)); max-height: calc(100svh - 26px); padding: clamp(34px, 5vw, 55px); border: 0; border-radius: 13px; background: var(--superficie-forte); color: var(--texto); box-shadow: 0 34px 89px rgba(0, 0, 0, .45); overflow: auto; }
.contato::backdrop { background: rgba(8, 7, 6, .72); backdrop-filter: blur(5px); }
.contato h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; padding-right: 34px; }
.contato-texto { margin: 13px 0 21px; color: var(--texto-suave); }
.contato-fechar { position: absolute; top: 13px; right: 13px; width: 44px; height: 44px; font-size: 28px; line-height: 1; color: var(--texto-suave); }
.contato-form { display: grid; gap: 13px; }
.contato [hidden] { display: none; }
.contato-campo { display: grid; gap: 5px; font-weight: 700; font-size: 14px; }
.contato-campo input, .contato-campo select { width: 100%; min-height: 48px; padding: 0 13px; border: 0; border-radius: 8px; font: 500 16px var(--f-corpo); color: var(--texto); background: rgba(var(--tinta), .07); }
.contato-campo select option { color: #2c2920; }
.contato-campo input:focus-visible, .contato-campo select:focus-visible, .contato-optin input:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }
.contato-lgpd { margin: 0; font-size: 13px; color: var(--texto-suave); }
.contato-optin { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texto-suave); }
.contato-optin input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ouro); flex: none; }
.contato-erro, .contato-aviso { min-height: 0; margin: 0; font-size: 13px; font-weight: 700; color: #e0816a; }
.claro .contato-erro, .claro .contato-aviso { color: #a33a22; } /* contraste de leitura no fundo claro */
.contato-isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contato-form .botao { justify-self: start; margin-top: 8px; }
.contato-pronto h3 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 0; color: var(--ouro-texto); }
.contato-pronto p { margin: 13px 0 21px; color: var(--texto-suave); }
/* a janela fica por cima do cursor próprio: dentro dela volta o cursor do sistema */
body.tem-cursor .contato, body.tem-cursor .contato * { cursor: auto; }
body.tem-cursor .contato :is(button, a, select, label, input[type=checkbox]) { cursor: pointer; }
.link-contato { font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cursor próprio ---------- */
.cursor, .cursor-ponto {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  border-radius: 50%; transform: translate3d(-100px, -100px, 0);
}
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid var(--acento);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s;
}
.cursor-ponto { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--acento); }
/* o ponto vira mãozinha: some o ponto, a mão gira e cresce com um leve quique; ao segurar, fecha e aperta */
.cursor-ponto { transition: background-color .2s; }
.cursor-ponto svg { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; max-width: none; fill: none; stroke: var(--acento); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(-35deg); transition: opacity .22s, transform .5s cubic-bezier(.2, 1.5, .4, 1); }
.cursor-ponto[data-modo="garra"], .cursor-ponto[data-modo="segura"] { background-color: transparent; }
.cursor-ponto[data-modo="garra"] svg { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.cursor-ponto[data-modo="segura"] svg { opacity: 1; transform: translate(-50%, -50%) scale(.86) rotate(-10deg); transition-duration: .22s, .25s; }
.cursor-ponto .mao-abre, .cursor-ponto .mao-fecha { transition: opacity .15s; }
.cursor-ponto .mao-fecha, .cursor-ponto[data-modo="segura"] .mao-abre { opacity: 0; }
.cursor-ponto[data-modo="segura"] .mao-fecha { opacity: 1; }
.cursor[data-modo="garra"] { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor[data-modo="segura"] { width: 30px; height: 30px; margin: -15px 0 0 -15px; background-color: color-mix(in srgb, var(--acento) 22%, transparent); }
.cursor .cursor-dica { position: absolute; left: 50%; bottom: calc(100% + 13px); padding: 8px 13px; border-radius: 8px; white-space: nowrap; font: 700 13px var(--f-corpo); background: var(--texto); color: var(--fundo); opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s, transform .45s var(--ease); }
.cursor.com-dica .cursor-dica { opacity: 1; transform: translate(-50%, 0); }
.cursor.ativo { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: color-mix(in srgb, var(--acento) 18%, transparent); }
.cursor .cursor-texto {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--texto); opacity: 0; transition: opacity .25s;
}
.cursor.ativo .cursor-texto { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ponto { display: none; } }
@media (hover: hover) and (pointer: fine) { body.tem-cursor, body.tem-cursor a, body.tem-cursor button { cursor: none; } }

/* ---------- Barra de progresso de leitura ---------- */
.progresso { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: var(--acento); }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--margem);
  transition: transform .5s var(--ease), background-color .4s, backdrop-filter .4s;
}
.topo.rolou { background: color-mix(in srgb, var(--fundo) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.topo.escondido { transform: translateY(-110%); }
.topo .marca img { height: 30px; width: auto; }
.topo nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.topo nav a:not(.botao) { position: relative; opacity: .78; transition: opacity .25s; }
.topo nav a:not(.botao):hover, .topo nav a[aria-current="page"] { opacity: 1; }
.topo nav a:not(.botao)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--acento);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.topo nav a:not(.botao):hover::after, .topo nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 900px) { .topo nav a:not(.botao) { display: none; } }

/* ---------- Botões ---------- */
.botao {
  --cor: var(--acento);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: var(--borda-raio);
  background: var(--cor); color: var(--noite);
  font-weight: 800; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .4s var(--ease), color .4s;
}
.botao::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--texto);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.botao:hover::before { transform: translateY(0); }
.botao .seta { transition: transform .4s var(--ease); }
.botao:hover .seta { transform: translateX(4px); }
.botao.fantasma { background: transparent; color: var(--texto); }
.botao.fantasma::before { background: var(--cor); }
.botao.fantasma:hover { color: var(--noite); }
.botao.pequeno { padding: 11px 18px; font-size: 13px; }
.botao:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }

/* ---------- Revelações no scroll ---------- */
.revela { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--atraso, 0s); }
.revela.visivel { opacity: 1; transform: none; }
.linhas .linha { display: block; overflow: hidden; padding: .34em 0 .06em; margin-top: -.34em; } /* BUG-SITE-003: folga para o acento (Ê, Ó, Ã) não ser cortado pela máscara */
.linhas .linha > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + var(--atraso, 0s)); }
.linhas.visivel .linha > span { transform: none; }

/* Palavras que acendem conforme a leitura */
.acende .palavra { opacity: .16; transition: opacity .3s, color .3s; }
.acende .palavra.on { opacity: 1; }
.acende .palavra.destaque.on { color: var(--acento); }

/* ---------- Letreiro (marquee) ---------- */
.letreiro { display: flex; overflow: hidden; user-select: none; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.letreiro .faixa { display: flex; flex-shrink: 0; gap: 56px; padding-right: 56px; animation: rola var(--dur, 40s) linear infinite; }
.letreiro.reverso .faixa { animation-direction: reverse; }
.letreiro:hover .faixa { animation-play-state: paused; }
@keyframes rola { to { transform: translateX(-100%); } }

/* ---------- Qualificador de lead (CTA que já qualifica e manda pro funil) ---------- */
.qualifica { position: relative; border-radius: 6px; padding: clamp(24px, 4vw, 48px); background: color-mix(in srgb, var(--texto) 3%, transparent); }
.qualifica .passos { display: flex; gap: 6px; margin-bottom: 28px; }
.qualifica .passos i { flex: 1; height: 3px; border-radius: 2px; background: var(--linha); overflow: hidden; position: relative; }
.qualifica .passos i::after { content: ""; position: absolute; inset: 0; background: var(--acento); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.qualifica .passos i.feito::after { transform: scaleX(1); }
.qualifica .etapa { display: none; }
.qualifica .etapa.atual { display: block; animation: entra .6s var(--ease); }
@keyframes entra { from { opacity: 0; transform: translateX(24px); } }
.qualifica h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin: 0 0 20px; font-weight: 700; }
.qualifica .opcoes { display: grid; gap: 10px; }
.qualifica .opcao {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 16px 20px; border-radius: var(--borda-raio);
  font-weight: 600; transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.qualifica .opcao:hover { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 8%, transparent); transform: translateX(6px); }
.qualifica .opcao::after { content: "→"; color: var(--acento); }
.qualifica .resultado p { color: var(--texto-suave); margin: 0 0 24px; }
.qualifica .voltar { margin-top: 18px; font-size: 13px; opacity: .6; }
.qualifica .voltar:hover { opacity: 1; }
.qualifica .aviso { font-size: 12px; color: var(--texto-suave); margin-top: 18px; }

/* ---------- Rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); padding: 72px 0 40px; font-size: 15px; }
.rodape .grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.rodape h4 { font-size: 12px; letter-spacing: .06em; color: var(--acento); margin: 0 0 16px; font-weight: 800; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--texto-suave); }
.rodape a:hover { color: var(--texto); }
.rodape .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--linha); font-size: 13px; color: var(--texto-suave); }
.rodape .marca img { height: 34px; width: auto; margin-bottom: 18px; }
@media (max-width: 860px) { .rodape .grade { grid-template-columns: 1fr 1fr; } }

/* ---------- Transição entre páginas (3 barras do logo) ---------- */
.transicao { position: fixed; inset: 0; z-index: 400; pointer-events: none; display: flex; justify-content: center; gap: 2vw; overflow: hidden; }
.transicao i { width: 36vw; height: 140%; margin-top: -20%; flex: none; background: var(--ouro); transform: skewX(-22deg) translateY(110%); transition: transform .7s var(--ease-in-out); will-change: transform; }
html.transita body > :not(.transicao) { opacity: 0; }
.transicao i:nth-child(2) { background: var(--carvao); transition-delay: .06s; }
.transicao i:nth-child(3) { background: #f3efe6; transition-delay: .12s; }
.transicao.cobre i { transform: skewX(-22deg) translateY(0); }
.transicao.revela i { transform: skewX(-22deg) translateY(-110%); }
.transicao.imediato i { transition: none; }

/* ---------- Som e tema (botões do topo) ---------- */
.hud-topo { color: var(--texto-suave); white-space: nowrap; }
@media (max-width: 1000px) { .hud-topo { display: none; } }
.som { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-suave); }
.som:hover { color: var(--texto); }
.som i { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.som i b { width: 2px; height: 30%; background: currentColor; transition: height .3s; }
.som[aria-pressed="true"] { color: var(--ouro); }
.som[aria-pressed="true"] i b { animation: onda 1s ease-in-out infinite; }
.som[aria-pressed="true"] i b:nth-child(2) { animation-delay: .2s; }
.som[aria-pressed="true"] i b:nth-child(3) { animation-delay: .4s; }
@keyframes onda { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.tema { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-suave); }
.tema:hover { color: var(--texto); }
.tema i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transition: transform .6s var(--ease); }
.claro .tema i { transform: rotate(180deg); }
@media (max-width: 700px) { .som span, .tema span { display: none; } }

/* ---------- Nome gigante no fim da página ---------- */
.gigante { padding: clamp(40px, 6vw, 90px) 0 0; overflow: hidden; }
.gigante .faixa { gap: 4vw; padding-right: 4vw; }
.gigante .faixa span { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(90px, 17vw, 300px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--ouro); white-space: nowrap; transition: color .5s; }
.gigante:hover .faixa span { color: var(--ouro); }

/* ---------- Rótulos mono (linguagem de interface) ---------- */
.mono { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Grade infinita com lente (assets/grade.js) ---------- */
.mosaico { position: relative; height: 100svh; min-height: 560px; overflow: clip; background: var(--fundo); touch-action: pan-y; user-select: none; }
.mosaico .grade-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.mosaico .hud { position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px; color: var(--texto-suave); pointer-events: none; }
.mosaico .hud > * { pointer-events: auto; }
.mosaico .hud.cima-esq { top: 22px; left: var(--margem); }
.mosaico .hud.baixo-dir { bottom: 26px; right: var(--margem); }
.mosaico .grade-itens { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; padding: 0; list-style: none; }
@media (max-width: 700px) { .mosaico .hud.baixo-dir { display: none; } }

.balao {
  position: absolute; left: 0; top: 0; z-index: 4; width: max-content; max-width: 290px; pointer-events: none;
  padding: 14px 16px; border-radius: 6px; background: rgba(243, 239, 230, .96); color: var(--carvao);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s;
}
.balao.on { opacity: 1; }
.balao .mono { color: #8a6a30; }
.balao p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; font-weight: 600; }
.balao .ir { display: block; margin-top: 10px; color: var(--carvao); }
.claro .balao { background: var(--carvao); color: var(--papel); }
.claro .balao .mono, .claro .balao .ir { color: var(--ouro-claro); }
@media (hover: none) { .balao { display: none; } }
/* celular: dedo-guia que desliza deixando rastro de faíscas, até a primeira vez que a pessoa arrasta */
.mosaico .grade-faiscas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.grade-guia { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: grid; justify-items: center; gap: 8px; transition: opacity .5s; will-change: transform; }
.grade-guia svg { width: 44px; height: 44px; fill: none; stroke: var(--ouro); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.grade-guia span { padding: 8px 13px; border-radius: 8px; font: 700 13px var(--f-corpo); white-space: nowrap; background: var(--texto); color: var(--fundo); }
.grade-guia.sai { opacity: 0; }

/* ---------- Enxame de cursores ---------- */
.enxame { position: absolute; inset: 0; z-index: 6; pointer-events: none; overflow: hidden; }
.cursor-fake { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor-fake svg { width: 17px; height: 19px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); transition: transform .15s; transform-origin: 2px 2px; }
.cursor-fake.clica svg { transform: scale(.78); }
.cursor-fake span {
  position: absolute; left: 15px; top: 19px; white-space: nowrap;
  font: 700 11px/1 var(--f-corpo); padding: 5px 8px; border-radius: 3px 10px 10px 10px;
  background: var(--ouro); color: var(--carvao); box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  opacity: 0; transform: translateY(4px) scale(.9); transform-origin: 0 0; transition: opacity .35s, transform .45s var(--ease);
}
.cursor-fake.figma span { opacity: 1; transform: none; }
.cursor-fake.figma:nth-child(2) span { background: #f3efe6; }
.cursor-fake.figma:nth-child(3) span { background: var(--carvao); color: var(--ouro-claro); box-shadow: inset 0 0 0 1px rgba(200, 157, 79, .6), 0 6px 18px rgba(0, 0, 0, .3); }
.clique { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 2px solid var(--ouro); animation: clique .6s ease-out forwards; }
@keyframes clique { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .revela, .linhas .linha > span { opacity: 1; transform: none; }
}

/* ---------- Clientes: mural de logos oficiais ---------- */
.clientes { padding: clamp(90px, 11vw, 160px) 0; border-top: 1px solid var(--linha); }
.clientes .cabeca { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; align-items: end; margin-bottom: 56px; }
.clientes h2 { font-size: clamp(44px, 6vw, 100px); margin-top: 20px; }
.placar { text-align: right; }
.placar b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(90px, 11vw, 180px); line-height: .85; color: var(--ouro); }
.placar .mono { color: var(--texto-suave); }
.mural {
  --mx: 50%; --my: 50%;
  list-style: none; margin: 0 auto; padding: 1px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(200, 157, 79, .75), rgba(var(--tinta), .07) 70%);
  border-radius: 10px; overflow: hidden;
}
.mural li { position: relative; display: grid; place-items: center; height: clamp(110px, 10vw, 150px); background: var(--superficie-forte); overflow: hidden; transition: background-color .45s var(--ease); }
.mural li:first-child { border-top-left-radius: 9px; }
.mural img { position: absolute; max-width: 62%; max-height: 46%; width: auto; height: auto; transition: opacity .45s, transform .7s var(--ease), filter .45s; }
.mural .m { opacity: .62; }
.mural .c { opacity: 0; transform: scale(.92); }
.mural .nome { position: absolute; left: 14px; bottom: 11px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8a6a30; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.mural:hover li .m { opacity: .28; }
.mural li:hover { background: #f6f2ea; }
.claro .mural .m { filter: brightness(0); opacity: .55; }
.claro .mural:hover li .m { opacity: .22; }
.claro .mural li:hover { background: #fff; }
.mural li:hover .m { opacity: 0; transform: scale(1.06); }
.mural li:hover .c { opacity: 1; transform: scale(1.04); }
.mural li:hover .nome { opacity: 1; transform: none; }
.mural.observado li { opacity: 0; transform: translateY(24px); filter: blur(6px); }
.mural.observado.visivel li { opacity: 1; transform: none; filter: none; transition: opacity .8s, transform 1s var(--ease), filter .8s, background-color .45s var(--ease); transition-delay: var(--d); }
.clientes .nota { margin-top: 18px; text-align: right; color: var(--texto-suave); }
@media (max-width: 860px) { .mural { grid-template-columns: repeat(3, 1fr); } .placar { text-align: left; } }
@media (hover: none) { .mural .m { opacity: .75; } }
