/* Gestor de Google Ads — identidade própria: azul-royal dos mascotes, lavanda, ouro e verde do WhatsApp.
   Sem logo, cores ou fonte do Google. Celular primeiro. Contraste AA (ver pesquisa/diretriz-visual.json). */

:root {
  --tinta: #141b5c;
  --tinta-2: #1f2878;
  --tinta-3: #2f3a96;
  --papel: #f4f5ff;
  --papel-2: #e8ebff;
  --branco: #ffffff;
  --linha: #d3d8fb;
  --borda-campo: #6870a8;
  --suave: #4a5285;
  --suave-escuro: #c3c9f5;
  --petroleo: #3044db;
  --petroleo-2: #1f30b5;
  --petroleo-claro: #e6e9ff;
  --sinal: #ffb21a;
  --sinal-texto: #a35400;
  --sinal-claro: #fff3d6;
  --whats: #25d366;
  --whats-hover: #1ebe5b;
  --ok: #138a52;
  --alerta: #d0312d;
  --alerta-claro: #fde8e7;

  --f-titulo: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --f-texto: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --raio: 14px;
  --raio-p: 8px;
  --sombra: 0 2px 4px rgba(26, 35, 120, 0.06), 0 12px 32px rgba(48, 68, 219, 0.13);
  --largura: 1160px;
  --texto-max: 44rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: 5.5rem; /* espaço para o botão flutuante não cobrir o rodapé */
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--petroleo); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--petroleo-2); text-decoration-thickness: 2px; }
strong { font-weight: 700; }
small { font-size: 0.85em; }

:focus-visible { outline: 3px solid var(--sinal); outline-offset: 2px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

.caixa { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 16px; }
.caixa-estreita { max-width: 46rem; }
.caixa-texto { max-width: 52rem; }

.pular {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--sinal); color: var(--tinta); padding: 0.6rem 1rem; border-radius: var(--raio-p); font-weight: 700;
}
.pular:focus { top: 12px; }

.rotulo-mono {
  font-family: var(--f-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sinal-texto); margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem;
}
.rotulo-mono::before { content: ""; width: 0.9rem; height: 2px; background: currentColor; flex: none; }

/* ---------- topo ---------- */
.topo { background: var(--tinta); color: var(--papel); border-bottom: 3px solid var(--sinal); }
.topo-linha { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; padding-top: 0.65rem; padding-bottom: 0.15rem; }
.topo .marca {
  display: inline-flex; align-items: center; gap: 0.6rem; color: var(--papel); text-decoration: none;
  font-family: var(--f-titulo); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; padding: 0.3rem 0; min-height: 44px;
}
.topo .marca:hover { color: var(--papel); }
.marca-ico { flex: none; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--tinta-3); }
.menu { width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.menu::-webkit-scrollbar { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0 0 0.35rem; display: flex; gap: 0.15rem; white-space: nowrap; }
.menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.65rem; color: var(--suave-escuro);
  text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: var(--raio-p);
}
.menu a:hover { color: var(--papel); background: var(--tinta-2); }
.menu a[aria-current="page"] { color: var(--papel); box-shadow: inset 0 -3px 0 var(--sinal); border-radius: 0; }
@media (min-width: 1024px) {
  .topo-linha { flex-wrap: nowrap; justify-content: space-between; padding-bottom: 0.65rem; }
  .menu { width: auto; margin: 0; padding: 0; overflow: visible; }
  .menu ul { padding: 0; }
}

/* ---------- trilha ---------- */
.pagina { padding-top: 1.1rem; padding-bottom: 2.5rem; }
.trilha ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0; font-size: 0.85rem; color: var(--suave); }
.trilha li { display: inline-flex; align-items: center; }
.trilha li + li::before { content: "›"; margin: 0 0.45rem; color: var(--sinal-texto); font-weight: 700; }
.trilha a { color: var(--suave); }
.trilha a:hover { color: var(--petroleo); }

/* ---------- artigo ---------- */
.grade-artigo { display: block; }
.lateral { display: none; }
@media (min-width: 1024px) {
  .grade-artigo { display: grid; grid-template-columns: minmax(0, var(--texto-max)) 16rem; gap: 3.5rem; justify-content: space-between; }
  .lateral { display: block; }
  .grade-artigo:has(.lateral) .sumario { display: none; }
}
.texto { max-width: var(--texto-max); min-width: 0; counter-reset: secao; }
.cab-artigo { margin-bottom: 1.5rem; }
.selo {
  display: inline-block; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--petroleo); background: var(--petroleo-claro); border-radius: 999px; padding: 0.2rem 0.7rem; margin: 0 0 0.85rem;
}
.cab-artigo h1 { font-size: clamp(1.85rem, 1.2rem + 3vw, 2.9rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.85rem; }
.linha-meta { font-size: 0.9rem; color: var(--suave); margin: 0; }

.texto > h2 {
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.85rem); font-weight: 800; margin: 2.6rem 0 0.9rem; padding-top: 1.1rem;
  border-top: 2px solid var(--tinta); counter-increment: secao;
}
.texto > h2::before {
  content: counter(secao, decimal-leading-zero); display: block; font-family: var(--f-mono); font-weight: 500;
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--sinal-texto); margin-bottom: 0.35rem;
}
.texto h3 { font-size: 1.22rem; font-weight: 700; margin: 1.8rem 0 0.6rem; }
.texto > p, .texto > .lista { max-width: 40rem; }
.lista { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.lista li { margin-bottom: 0.45rem; padding-left: 0.2rem; }
.lista li::marker { color: var(--sinal-texto); font-weight: 700; }
.nota { display: block; color: var(--suave); font-size: 0.93rem; }
.bloco-titulo { font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem; margin: 0 0 0.75rem; }
.legenda { font-size: 0.85rem; color: var(--suave); margin: 0.6rem 0 0; }

/* resumo */
.resumo { background: var(--branco); border: 1px solid var(--linha); border-left: 5px solid var(--sinal); border-radius: var(--raio-p); padding: 1.1rem 1.2rem 0.4rem; margin: 0 0 1.5rem; }
.resumo ul { margin: 0 0 0.8rem; padding-left: 1.15rem; }
.resumo li { margin-bottom: 0.4rem; }
.resumo li::marker { color: var(--sinal-texto); }

/* sumário */
.sumario { border: 1px solid var(--linha); border-radius: var(--raio-p); background: var(--branco); margin: 0 0 1.5rem; }
.sumario summary { cursor: pointer; padding: 0.75rem 1rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.sumario summary::-webkit-details-marker { display: none; }
.sumario summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.2rem; color: var(--sinal-texto); }
.sumario[open] summary::after { content: "–"; }
.sumario nav { padding: 0 1rem 0.8rem; }
.sumario ol, .sumario-lateral ol { margin: 0; padding-left: 1.4rem; font-size: 0.95rem; }
.sumario li, .sumario-lateral li { margin-bottom: 0.35rem; }
.sumario li::marker, .sumario-lateral li::marker { font-family: var(--f-mono); font-size: 0.8em; color: var(--sinal-texto); }
.sumario-lateral { position: sticky; top: 1.25rem; max-height: calc(100vh - 2.5rem); overflow-y: auto; padding: 0.2rem 0 1rem 1rem; border-left: 2px solid var(--linha); font-size: 0.9rem; }
.sumario-lateral a { color: var(--suave); text-decoration: none; }
.sumario-lateral a:hover { color: var(--petroleo); text-decoration: underline; }

/* passos */
.passos { list-style: none; counter-reset: passo; padding: 0; margin: 0 0 1.5rem; }
.passos > li { counter-increment: passo; position: relative; padding: 0 0 1.1rem 3.1rem; }
.passos > li::before {
  content: counter(passo); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--tinta); color: var(--papel); font-family: var(--f-mono); font-weight: 500; display: grid; place-items: center; font-size: 0.95rem;
}
.passos > li:not(:last-child)::after { content: ""; position: absolute; left: 1.02rem; top: 2.3rem; bottom: 0.2rem; width: 2px; background: var(--linha); }
.passos p { margin: 0 0 0.35rem; }
.passo-titulo { font-weight: 700; padding-top: 0.2rem; }

/* tabelas */
.tabela { margin: 0 0 1.6rem; }
.tabela-rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--linha); border-radius: var(--raio-p); background: var(--branco); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--linha); }
thead th { background: var(--papel-2); font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }

/* anúncio-modelo */
.anuncio { margin: 0 0 1.8rem; }
.anuncio > .rotulo-mono { margin-bottom: 0.6rem; }
.anuncio-previa { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1rem 1.15rem; box-shadow: var(--sombra); margin-bottom: 0.75rem; max-width: 40rem; }
.anuncio-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; margin: 0 0 0.35rem; font-size: 0.88rem; }
.anuncio-tag { font-weight: 700; }
.anuncio-url { color: var(--suave); word-break: break-all; }
.anuncio-titulo { font-size: 1.15rem; line-height: 1.35; color: var(--petroleo); font-weight: 600; margin: 0 0 0.3rem; }
.anuncio-desc { color: var(--suave); font-size: 0.95rem; margin: 0; }
.anuncio .botao-linha { margin-bottom: 0.75rem; }
.anuncio-contagem td.conta { font-family: var(--f-mono); white-space: nowrap; font-size: 0.85rem; }
.anuncio-contagem tr.passou td.conta { color: var(--alerta); font-weight: 600; }
.anuncio-contagem tr.ok td.conta { color: var(--ok); }

/* checklist */
.checklist, .arvore, .exemplo, .raiox, .ferramenta { margin: 0 0 1.8rem; }
.checklist { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.1rem 1.15rem 0.6rem; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { border-top: 1px solid var(--papel-2); }
.checklist li:first-child { border-top: 0; }
.checklist label { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.6rem 0; cursor: pointer; }
.checklist input, label.marca input { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; flex: none; accent-color: var(--petroleo); }
.checklist small { display: block; color: var(--suave); font-size: 0.88rem; }
.checklist input:checked + span { color: var(--suave); }
.checklist-progresso { font-family: var(--f-mono); font-size: 0.85rem; color: var(--petroleo); margin: 0.4rem 0 0.6rem; }

/* árvore de decisão */
.arvore { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.1rem 1.15rem; }
.arvore-lista { margin: 0; padding-left: 1.4rem; }
.arvore-lista > li { margin-bottom: 1rem; }
.arvore-lista > li::marker { font-family: var(--f-mono); color: var(--sinal-texto); }
.arvore-lista p { margin: 0 0 0.3rem; }
.arvore-pergunta { font-weight: 700; }
.arvore-jogo { background: var(--papel); border-radius: var(--raio-p); padding: 1rem; margin-bottom: 0.8rem; }
.arvore-passo { font-family: var(--f-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--suave); margin-bottom: 0.4rem; }
.arvore-q { font-size: 1.1rem; font-weight: 700; }
.arvore-botoes { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.arvore-resultado { border-left: 4px solid var(--petroleo); background: var(--branco); padding: 0.75rem 0.9rem; border-radius: 0 var(--raio-p) var(--raio-p) 0; }
.arvore-ver { margin-bottom: 0.8rem; }

/* avisos */
.aviso { border-left: 5px solid; border-radius: 0 var(--raio-p) var(--raio-p) 0; padding: 0.9rem 1.1rem 0.15rem; margin: 0 0 1.5rem; }
.aviso-rotulo { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; margin: 0 0 0.3rem; }
.aviso-regra { border-color: var(--petroleo); background: var(--petroleo-claro); }
.aviso-regra .aviso-rotulo { color: var(--petroleo); }
.aviso-atencao { border-color: var(--alerta); background: var(--alerta-claro); }
.aviso-atencao .aviso-rotulo { color: var(--alerta); }
.aviso-dica { border-color: var(--sinal); background: var(--sinal-claro); }
.aviso-dica .aviso-rotulo { color: var(--sinal-texto); }

/* exemplo calculado */
.exemplo { background: var(--branco); border: 1px solid var(--linha); border-top: 4px solid var(--petroleo); border-radius: var(--raio); padding: 1.1rem 1.15rem 0.5rem; }
.exemplo-premissas { background: var(--papel-2); border-radius: var(--raio-p); padding: 0.75rem 0.9rem 0.2rem; margin-bottom: 0.9rem; font-size: 0.93rem; }
.exemplo-premissas > p { font-weight: 700; margin: 0 0 0.35rem; }
.exemplo-premissas ul { margin: 0 0 0.6rem; padding-left: 1.15rem; }
.exemplo-conta { margin-bottom: 0.9rem; }
.exemplo-conta th { font-weight: 500; }
.exemplo-conta td { font-family: var(--f-mono); font-size: 0.9rem; text-align: right; white-space: nowrap; }
@media (max-width: 520px) { .exemplo-conta td { white-space: normal; } }
.exemplo-conclusao { font-weight: 600; border-top: 2px solid var(--tinta); padding-top: 0.75rem; }

/* Raio-X (cartão escuro: assinatura visual do portal) */
.raiox { background: var(--tinta); color: var(--papel); border-radius: var(--raio); padding: 1.2rem 1.15rem 0.6rem; }
.raiox .rotulo-mono { color: var(--sinal); }
.raiox h3 { color: var(--papel); font-size: 1.25rem; margin: 0 0 0.9rem; }
.raiox .tabela-rolagem { background: var(--tinta-2); border-color: var(--tinta-3); }
.raiox th, .raiox td { border-color: var(--tinta-3); }
.raiox thead th { background: var(--tinta-3); color: var(--papel); }
.raiox td { font-family: var(--f-mono); font-size: 0.88rem; white-space: nowrap; }
.raiox-termos { list-style: none; margin: 0 0 0.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.raiox-termos li, .raiox .termo {
  display: inline-block; font-family: var(--f-mono); font-size: 0.85rem; border: 1px solid var(--tinta-3); background: var(--tinta-2);
  border-radius: 999px; padding: 0.3rem 0.75rem;
}
.raiox-mais { margin: 0.8rem 0 0.4rem; font-size: 0.9rem; color: var(--suave-escuro); line-height: 2.1; }
.raiox-fonte { font-size: 0.82rem; color: var(--suave-escuro); margin: 0.6rem 0 0.4rem; }

/* CTA no meio do texto */
.cta-meio { background: var(--branco); border: 2px solid var(--tinta); border-radius: var(--raio); padding: 1.1rem 1.15rem; margin: 0 0 1.8rem; }
.cta-texto { font-weight: 700; font-size: 1.05rem; }
.cta-micro { font-size: 0.85rem; color: var(--suave); margin: 0.7rem 0 0; }

/* FAQ e fontes */
.faq, .fontes, .lista-hub, .lista-noticias, .mapa-site { margin-top: 2.6rem; }
.faq h2, .fontes h2, .lista-hub h2, .lista-noticias h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.9rem; padding-top: 1.1rem; border-top: 2px solid var(--tinta); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 0.85rem 2rem 0.85rem 0; position: relative; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.7rem; font-family: var(--f-mono); font-size: 1.25rem; color: var(--sinal-texto); }
.faq details[open] summary::after { content: "–"; }
.faq-resposta { padding: 0 0 0.6rem; }
.fontes ol { padding-left: 1.3rem; font-size: 0.95rem; }
.fontes li { margin-bottom: 0.5rem; }
.dominio { font-family: var(--f-mono); font-size: 0.78rem; color: var(--suave); margin-left: 0.25rem; }

/* cartões (Leia também, hubs, home) */
.leia-tambem { padding-top: 0.5rem; padding-bottom: 2.5rem; }
.leia-tambem h2, .secao h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.9rem); font-weight: 800; margin-bottom: 1rem; }
.cartoes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 0.85rem; }
.cartao {
  display: flex; flex-direction: column; gap: 0.35rem; height: 100%; background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--raio); padding: 1rem 1.05rem 1.1rem; text-decoration: none; color: var(--tinta); transition: border-color 0.15s, box-shadow 0.15s;
}
.cartao:hover { border-color: var(--petroleo); box-shadow: var(--sombra); color: var(--tinta); }
.cartao-selo { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sinal-texto); }
.cartao-titulo { font-family: var(--f-titulo); font-weight: 700; font-size: 1.1rem; line-height: 1.25; color: var(--petroleo); }
.cartao:hover .cartao-titulo { text-decoration: underline; }
.cartao-desc { font-size: 0.92rem; color: var(--suave); line-height: 1.5; }

/* botões */
.botao-whats, .botao-principal, .botao-linha {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.2rem;
  border-radius: 999px; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.botao-whats { background: var(--whats); color: var(--tinta); border-color: var(--whats); }
.botao-whats:hover { background: var(--whats-hover); border-color: var(--whats-hover); color: var(--tinta); }
.botao-principal { background: var(--petroleo); color: var(--papel); border-color: var(--petroleo); }
.botao-principal:hover { background: var(--petroleo-2); border-color: var(--petroleo-2); color: var(--papel); }
.botao-principal:disabled { opacity: 0.6; cursor: progress; }
.botao-linha { background: transparent; color: var(--petroleo); border-color: var(--petroleo); min-height: 44px; padding: 0.55rem 1rem; font-size: 0.95rem; }
.botao-linha:hover { background: var(--petroleo-claro); color: var(--petroleo); }
.botao-grande { font-size: 1.1rem; padding: 0.9rem 1.6rem; min-height: 56px; }
.ico { flex: none; }
.link-botao { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

/* CTA final */
.cta-final { background: var(--tinta); color: var(--papel); padding: 2.8rem 0 3rem; border-top: 3px solid var(--sinal); }
.cta-final .rotulo-mono { color: var(--sinal); }
.cta-final h2 { color: var(--papel); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); font-weight: 800; margin-bottom: 0.8rem; }
.cta-final p { color: var(--suave-escuro); }

/* rodapé */
.rodape { background: var(--tinta); color: var(--suave-escuro); padding: 2.5rem 0 1.5rem; font-size: 0.93rem; border-top: 1px solid var(--tinta-3); }
.rodape a { color: var(--papel); }
.rodape-grade { display: grid; gap: 1.8rem; margin-bottom: 1.8rem; }
@media (min-width: 760px) { .rodape-grade { grid-template-columns: 1.4fr 1fr 1fr; } }
.rodape-nome { display: flex; align-items: center; gap: 0.6rem; color: var(--papel); font-family: var(--f-titulo); font-weight: 800; font-size: 1.15rem; }
.rodape-titulo { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sinal); margin-bottom: 0.6rem; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li { margin-bottom: 0.15rem; }
.rodape nav a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.rodape nav a:hover { text-decoration: underline; }
.rodape-whats { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; min-height: 44px; }
.rodape-aviso { border-top: 1px solid var(--tinta-3); padding-top: 1.2rem; font-size: 0.85rem; }
.rodape-legal { font-size: 0.85rem; margin: 0; }
.rodape .link-botao { color: var(--papel); }

/* WhatsApp flutuante (verde com texto tinta: branco no verde reprova contraste) */
.wa-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--whats); color: var(--tinta); font-weight: 700; text-decoration: none; padding: 0.75rem 1.1rem; min-height: 52px;
  border-radius: 999px; box-shadow: 0 6px 22px rgba(15, 26, 23, 0.28), 0 0 0 2px var(--tinta);
}
.wa-flutuante:hover { background: var(--whats-hover); color: var(--tinta); }
.wa-flutuante .ico { width: 22px; height: 22px; }

/* banner de cookies */
.consentimento {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; background: var(--tinta); color: var(--papel);
  border: 1px solid var(--tinta-3); border-radius: var(--raio); padding: 1rem 1.1rem; box-shadow: 0 10px 30px rgba(15, 26, 23, 0.35); font-size: 0.93rem;
}
.consentimento p { margin-bottom: 0.8rem; }
.consentimento a { color: var(--papel); }
.consentimento-botoes { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; }
.consentimento .botao-linha { color: var(--papel); border-color: var(--suave-escuro); }
.consentimento .botao-linha:hover { background: var(--tinta-2); color: var(--papel); }
.consentimento .botao-principal { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.consentimento .botao-principal:hover { background: var(--papel-2); color: var(--tinta); }
body:has(.consentimento:not([hidden])) .wa-flutuante { bottom: 11rem; }
@media (min-width: 760px) {
  .consentimento { right: auto; max-width: 32rem; }
  body:has(.consentimento:not([hidden])) .wa-flutuante { bottom: 16px; }
}

/* ---------- home ---------- */
.hero {
  background-color: var(--tinta); color: var(--papel); padding: 2.6rem 0 3rem; border-bottom: 3px solid var(--sinal);
  background-image: linear-gradient(var(--tinta-2) 1px, transparent 1px), linear-gradient(90deg, var(--tinta-2) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
}
.hero .rotulo-mono { color: var(--sinal); }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 1.1rem; color: var(--papel); }
.hero-resumo p { color: var(--suave-escuro); font-size: 1.08rem; max-width: 36rem; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-arte { display: none; }
@media (min-width: 900px) {
  .hero { padding: 4rem 0 4.4rem; }
  .hero-grade { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
  .hero-arte { display: block; }
  .hero-svg { width: 100%; max-width: 420px; height: auto; display: block; margin-left: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-svg .cursor { animation: piscar 1.1s steps(2, start) infinite; }
  .hero-svg .lance { animation: subir 0.6s ease-out both; }
  .hero-svg .l2 { animation-delay: 0.12s; }
  .hero-svg .l3 { animation-delay: 0.24s; }
}
@keyframes piscar { to { visibility: hidden; } }
@keyframes subir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.secao { padding: 3rem 0; }
.secao-alt { background: var(--papel-2); }
.secao-intro { color: var(--suave); max-width: 40rem; }
.secao .texto { margin: 0 auto; }
.busca-prof { display: grid; gap: 0.35rem; max-width: 26rem; margin: 0 0 1.1rem; }
.grade-prof { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 0.5rem; }
.grade-prof a {
  display: flex; align-items: center; min-height: 48px; padding: 0.55rem 0.85rem; background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--raio-p); text-decoration: none; font-weight: 600; color: var(--tinta);
}
.grade-prof a:hover { border-color: var(--petroleo); color: var(--petroleo); }
.chips { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.95rem; border-radius: 999px; background: var(--branco);
  border: 1px solid var(--linha); text-decoration: none; font-weight: 600; color: var(--petroleo);
}
.chips a:hover { border-color: var(--petroleo); }
.noticias { list-style: none; margin: 0 0 1rem; padding: 0; }
.noticia-item { padding: 0.9rem 0; border-bottom: 1px solid var(--linha); }
.noticia-item time { display: block; font-family: var(--f-mono); font-size: 0.8rem; color: var(--sinal-texto); }
.noticia-item a { font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem; }
.noticia-item p { margin: 0.3rem 0 0; color: var(--suave); font-size: 0.95rem; }
.vazio { color: var(--suave); background: var(--branco); border: 1px dashed var(--linha); border-radius: var(--raio-p); padding: 0.9rem 1rem; }
.rss { font-size: 0.92rem; }

/* mapa do site e listas de hub */
.mapa-site h2 { font-size: 1.35rem; font-weight: 800; margin: 2rem 0 0.7rem; padding-top: 0.9rem; border-top: 2px solid var(--tinta); }
.mapa-lista { padding-left: 1.2rem; columns: 1; }
@media (min-width: 760px) { .mapa-lista { columns: 2; column-gap: 2.5rem; } }
.mapa-lista li { margin-bottom: 0.35rem; break-inside: avoid; }

/* ---------- ferramentas (M11) ---------- */
.ferramenta { background: var(--branco); border: 2px solid var(--tinta); border-radius: var(--raio); padding: 1.15rem 1.15rem 0.6rem; }
.ferr-form { margin: 0 0 1rem; }
.ferr-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0.85rem 1rem; margin-bottom: 0.9rem; }
.ferr-grade-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.campo { display: grid; gap: 0.3rem; align-content: start; margin-bottom: 0.2rem; }
.campo-rotulo { font-weight: 600; font-size: 0.95rem; display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.campo-dica { font-size: 0.84rem; color: var(--suave); line-height: 1.45; }
.ferramenta input:not([type="checkbox"]), .ferramenta textarea, .ferramenta select, .busca-prof input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tinta); background: var(--branco); border: 1.5px solid var(--borda-campo);
  border-radius: var(--raio-p); padding: 0.6rem 0.75rem; min-height: 46px;
}
.ferramenta textarea { resize: vertical; line-height: 1.5; }
.ferramenta input:focus-visible, .ferramenta textarea:focus-visible, .ferramenta select:focus-visible, .busca-prof input:focus-visible { border-color: var(--petroleo); }
.ferramenta [aria-invalid="true"] { border-color: var(--alerta) !important; }
fieldset { border: 1px solid var(--linha); border-radius: var(--raio-p); padding: 0.8rem 0.9rem 0.3rem; margin: 0 0 1rem; min-width: 0; }
legend { font-weight: 700; padding: 0 0.35rem; }
label.marca { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; padding: 0.35rem 0; }
.contador { font-family: var(--f-mono); font-weight: 500; font-size: 0.8rem; color: var(--suave); }
.contador.passou { color: var(--alerta); font-weight: 600; }
.ferr-premissa { background: var(--sinal-claro); border-radius: var(--raio-p); padding: 0.65rem 0.85rem; font-size: 0.93rem; }
.ferr-saida { background: var(--papel); border-radius: var(--raio); padding: 1rem; margin-bottom: 0.9rem; }
.ferr-numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 0.6rem; margin: 0 0 0.9rem; }
.ferr-numeros > div { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-p); padding: 0.7rem 0.8rem; }
.ferr-numeros dt { font-size: 0.85rem; color: var(--suave); }
.ferr-numeros dd { margin: 0.15rem 0 0; font-family: var(--f-mono); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }
.ferr-numeros dd small { display: block; font-family: var(--f-texto); font-size: 0.8rem; color: var(--suave); }
.ferr-numeros dd small.bom { color: var(--ok); font-weight: 600; }
.ferr-numeros dd small.medio { color: var(--sinal-texto); font-weight: 600; }
.ferr-numeros dd small.ruim { color: var(--alerta); font-weight: 600; }
.ferr-formula { font-family: var(--f-mono); font-size: 0.8rem; color: var(--suave); line-height: 1.6; }
.ferr-veredito { font-weight: 600; }
.ferr-erro { color: var(--alerta); font-weight: 600; }
.ferr-dica, .ferr-status { font-size: 0.92rem; color: var(--suave); }
.ferr-privacidade { font-size: 0.85rem; color: var(--suave); border-top: 1px solid var(--papel-2); padding-top: 0.7rem; }
.ferr-codigo {
  display: block; font-family: var(--f-mono); font-size: 0.88rem; background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--raio-p); padding: 0.7rem 0.8rem; word-break: break-all; min-height: 2.8rem; margin: 0.3rem 0 0.7rem;
}
.ferr-acoes { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.ferr-nota-grande { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 0.8rem; }
.ferr-nota-grande span { font-family: var(--f-titulo); font-weight: 800; font-size: 3.2rem; line-height: 1; }
.ferr-nota-grande small { color: var(--suave); }
.ferr-nota-grande .bom { color: var(--ok); }
.ferr-nota-grande .medio { color: var(--sinal-texto); }
.ferr-nota-grande .ruim { color: var(--alerta); }
.ferr-checklist { list-style: none; margin: 0; padding: 0; }
.ferr-checklist li { border-bottom: 1px solid var(--papel-2); }
.ferr-checklist small { display: block; color: var(--suave); }
.ferr-checklist small.peso { display: inline; font-family: var(--f-mono); font-size: 0.75rem; margin-left: 0.3rem; }
.ferr-faltam { padding-left: 1.3rem; margin: 0; }
.ferr-faltam li { margin-bottom: 0.3rem; }
.ferr-achados, .ferr-alertas { list-style: none; margin: 0; padding: 0; }
.ferr-achados li, .ferr-alertas li { background: var(--branco); border-left: 4px solid var(--petroleo); border-radius: 0 var(--raio-p) var(--raio-p) 0; padding: 0.6rem 0.8rem; margin-bottom: 0.5rem; font-size: 0.95rem; }
.ferr-achados li.ok, .ferr-alertas li.ok { border-color: var(--ok); }
.ferr-achados li.alerta, .ferr-alertas li.alerta { border-color: var(--alerta); }
.ferr-achados code { font-family: var(--f-mono); font-size: 0.88em; background: var(--papel-2); padding: 0.05rem 0.3rem; border-radius: 4px; }
.ferr-resumo { font-family: var(--f-mono); font-size: 0.85rem; color: var(--suave); }
.ferr-texto { width: 100%; font-family: var(--f-mono) !important; font-size: 0.85rem !important; line-height: 1.55; min-height: 16rem; }
.ferr-passos { padding-left: 1.3rem; }
.ferr-grupos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.85rem; margin-bottom: 0.9rem; }
.ferr-grupo { background: var(--papel); border-radius: var(--raio-p); padding: 0.85rem 0.9rem; }
.ferr-grupo ul { padding-left: 1.1rem; font-size: 0.93rem; margin: 0.3rem 0 0.7rem; }

/* impressão */
@media print {
  .topo .menu, .wa-flutuante, .consentimento, .cta-final, .cta-meio, .leia-tambem, .lateral, .sumario, .rodape nav { display: none !important; }
  body { background: #fff; padding: 0; }
  a { color: inherit; }
}


/* =====================================================================
   Tema vibrante com os mascotes (03/12/2026)
   ===================================================================== */
:root {
  --grad: linear-gradient(135deg, #2f45e6 0%, #5a4ff2 55%, #8a5cff 100%);
  --grad-claro: linear-gradient(135deg, #eef0ff 0%, #e2e6ff 100%);
  --raio-grande: 22px;
}
body { background: #f7f8ff; }

/* topo */
.topo { background: var(--grad); border-bottom: 0; box-shadow: 0 6px 22px rgba(48, 68, 219, 0.28); }
.topo .marca, .topo .marca:hover { color: #fff; }
.marca-ico { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); border-radius: 8px; }
.menu a { color: #e9ecff; font-weight: 600; }
.menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }
.menu a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--sinal); }

/* abertura da home */
.hero {
  background: radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.2) 0, transparent 38%),
    radial-gradient(circle at 6% 92%, rgba(255, 178, 26, 0.32) 0, transparent 34%), var(--grad);
  border-bottom: 0; position: relative; overflow: hidden; padding-bottom: 2.4rem;
}
.hero .rotulo-mono { color: #ffd66b; }
.hero h1 { color: #fff; }
.hero-resumo p { color: #e8ebff; }
.hero .botao-principal { background: var(--sinal); color: var(--tinta); border-color: var(--sinal); }
.hero .botao-principal:hover { background: #ffc54d; border-color: #ffc54d; color: var(--tinta); }
.hero-arte { display: block; margin-top: 1.8rem; }
.hero-mascotes { position: relative; max-width: 330px; margin: 0 auto; }
.mascote-hero { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(10, 14, 80, 0.38)); }
.mascote-hero-2 { position: absolute; right: -10%; bottom: -6%; width: 36%; height: auto; filter: drop-shadow(0 10px 16px rgba(10, 14, 80, 0.35)); }
.hero-bolha {
  position: absolute; background: #fff; color: var(--tinta); font-weight: 700; font-size: 0.82rem; line-height: 1.2;
  padding: 0.5rem 0.85rem; border-radius: 999px; box-shadow: 0 10px 24px rgba(10, 14, 80, 0.25); white-space: nowrap;
}
.hero-bolha.b1 { left: -6%; top: 2%; }
.hero-bolha.b2 { left: -2%; bottom: 8%; background: var(--whats); color: var(--tinta); }
@media (min-width: 900px) {
  .hero-arte { margin-top: 0; }
  .hero-mascotes { max-width: 470px; }
  .hero-bolha { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .mascote-hero { animation: flutuar 5s ease-in-out infinite; }
  .mascote-hero-2 { animation: flutuar 4s ease-in-out 0.6s infinite; }
  .hero-bolha { animation: entrar 0.7s ease-out both; }
  .hero-bolha.b2 { animation-delay: 0.25s; }
}
@keyframes flutuar { 50% { transform: translateY(-10px); } }
@keyframes entrar { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }

/* seções da home */
.secao-alt { background: #eef0ff; }
.secao-cab { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.secao-cab h2 { margin-bottom: 0.3rem; }
.secao-cab .secao-intro { margin: 0; }
.mascote-secao { width: 86px; height: auto; flex: none; filter: drop-shadow(0 8px 14px rgba(48, 68, 219, 0.25)); }
@media (min-width: 760px) { .mascote-secao { width: 112px; } }

/* cartões e listas */
.cartao { border-radius: 18px; border-color: #dfe3ff; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.cartao:hover { border-color: var(--petroleo); box-shadow: var(--sombra); transform: translateY(-3px); }
.cartao-selo { color: var(--petroleo); font-weight: 600; }
.grade-prof a { border-radius: 14px; border-color: #dfe3ff; transition: background 0.15s, color 0.15s, transform 0.15s; }
.grade-prof a:hover { background: var(--petroleo); border-color: var(--petroleo); color: #fff; transform: translateY(-2px); }
.chips a { border-color: #dfe3ff; }
.chips a:hover { background: var(--petroleo); color: #fff; }

/* topo de cada página com mascote */
.cab-artigo.com-mascote {
  display: flex; align-items: flex-end; gap: 0.75rem; background: var(--grad-claro); border: 1px solid #d6dbff;
  border-radius: var(--raio-grande); padding: 1.15rem 1.1rem 1.1rem; position: relative; overflow: hidden;
}
.cab-artigo.com-mascote::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 92, 255, 0.28), transparent 70%); pointer-events: none;
}
.cab-texto { flex: 1; min-width: 0; position: relative; z-index: 1; }
.cab-mascote { flex: none; width: 104px; align-self: flex-end; margin: 0 -0.2rem -1.1rem 0; position: relative; z-index: 1; }
.mascote-cab { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 16px rgba(48, 68, 219, 0.28)); }
.mascote-cab[src*="/dentista-"] { border-radius: 16px; margin-bottom: 1.1rem; box-shadow: 0 10px 22px rgba(48, 68, 219, 0.25); filter: none; }
.selo { background: var(--petroleo); color: #fff; }
@media (min-width: 640px) {
  .cab-artigo.com-mascote { padding: 1.6rem 1.6rem 1.4rem; gap: 1.2rem; }
  .cab-mascote { width: 160px; margin-bottom: -1.4rem; }
}
@media (min-width: 1024px) { .cab-mascote { width: 190px; } }

/* textos */
.texto > h2::before { color: var(--petroleo); }
.resumo { border-radius: 18px; border-color: #dfe3ff; box-shadow: 0 6px 20px rgba(48, 68, 219, 0.07); }

/* Raio-X: cartão vibrante */
.raiox { background: radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 40%), var(--grad); border-radius: var(--raio-grande); }
.raiox .rotulo-mono { color: #ffd66b; }
.raiox .tabela-rolagem { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); }
.raiox th, .raiox td { border-color: rgba(255, 255, 255, 0.18); }
.raiox thead th { background: rgba(255, 255, 255, 0.16); color: #fff; }
.raiox-termos li, .raiox .termo { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.raiox-fonte, .raiox-mais { color: #dfe3ff; }

/* caixa de WhatsApp no meio do texto */
.cta-meio {
  display: flex; align-items: center; gap: 1rem; background: linear-gradient(135deg, #e7fff0, #f3fff8);
  border: 2px solid var(--whats); border-radius: 20px; padding: 1rem 1.1rem;
}
.cta-meio-texto { min-width: 0; }
.mascote-cta-meio { width: 88px; height: auto; flex: none; border-radius: 16px; box-shadow: 0 8px 18px rgba(37, 211, 102, 0.25); }
@media (min-width: 640px) { .mascote-cta-meio { width: 118px; } .cta-meio { padding: 1.2rem 1.4rem; } }

/* chamada final */
.cta-final { background: radial-gradient(circle at 12% 15%, rgba(255, 178, 26, 0.28), transparent 35%), var(--grad); border-top: 0; }
.cta-final .rotulo-mono { color: #ffd66b; }
.cta-final p { color: #e8ebff; }
.cta-final-grade { display: grid; gap: 1.6rem; align-items: center; max-width: 60rem; }
.mascote-cta { width: 190px; height: auto; justify-self: center; border-radius: 26px; box-shadow: 0 18px 40px rgba(10, 14, 80, 0.4); }
@media (min-width: 760px) {
  .cta-final-grade { grid-template-columns: 1fr auto; gap: 2.5rem; }
  .mascote-cta { width: 250px; }
}
@media (prefers-reduced-motion: no-preference) { .mascote-cta { animation: flutuar 5s ease-in-out infinite; } }

/* botão flutuante e rodapé */
.wa-flutuante { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 0 0 3px #fff; }
.rodape { background: #10154a; border-top: 4px solid transparent; border-image: var(--grad) 1; }
.rodape-titulo { color: #ffd66b; }

/* 404 */
.mascote-404 { display: block; width: 170px; height: auto; margin: 0 0 1rem; filter: drop-shadow(0 10px 16px rgba(48, 68, 219, 0.25)); }
/* o espaço do botão flutuante fica dentro do rodapé (sem faixa branca no fim) */
body { padding-bottom: 0; }
.rodape { padding-bottom: 6rem; }
/* topo da página: no PC o mascote fica à direita; no celular o texto contorna o mascote */
.cab-mascote { order: 2; }
@media (max-width: 639px) {
  .cab-artigo.com-mascote { display: flow-root; padding: 1rem 1rem 1.05rem; }
  .cab-mascote { float: right; width: 96px; margin: 0 -0.25rem 0.35rem 0.6rem; }
  .mascote-cab[src*="/dentista-"] { margin-bottom: 0; border-radius: 14px; }
  .cta-meio { gap: 0.8rem; padding: 0.9rem; align-items: flex-start; }
  .mascote-cta-meio { width: 70px; border-radius: 12px; }
}
