/* ============================================================
   NAS APP — Estilo principal
   Mobile-first · Identidade: laranja #F36A00 / preto / off-white
   ============================================================ */

:root {
  --laranja: #F36A00;
  --laranja-escuro: #D45C00;
  --laranja-suave: #FDEBDD;
  --tinta: #15110C;
  --papel: #F7F4EF;
  --branco: #FFFFFF;
  --cinza: #6E665C;
  --cinza-claro: #9C948A;
  --linha: #E9E3D9;
  --verde: #1E8E5A;
  --vermelho: #C03A2B;
  --raio: 18px;
  --sombra: 0 1px 2px rgba(21,17,12,.05), 0 8px 24px -12px rgba(21,17,12,.12);
  --fonte-display: 'Baloo 2', system-ui, sans-serif;
  --fonte-corpo: 'Inter', system-ui, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fonte-corpo);
  background: var(--papel);
  color: var(--tinta);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100dvh;
  overscroll-behavior-y: contain;
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 2px; border-radius: 6px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,239,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.topo-inner {
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
}
.marca { display: flex; align-items: center; gap: 10px; }
.marca-robo { width: 40px; height: 40px; border-radius: 50%; background: var(--branco); border: 2px solid var(--tinta); }
.radar-ring { position: relative; display: inline-flex; border-radius: 50%; }
.radar-ring::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--laranja);
  animation: radar 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes radar {
  0% { transform: scale(.85); opacity: .9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .radar-ring::after { animation: none; opacity: 0; }
  * { transition: none !important; }
}
.marca-texto { display: flex; flex-direction: column; line-height: 1; }
.marca-nome {
  font-family: var(--fonte-display); font-weight: 800; font-size: 22px;
  color: var(--laranja); letter-spacing: -.5px;
}
.marca-nome em {
  font-style: normal; color: var(--tinta); font-size: 13px; font-weight: 700;
  border: 1.5px solid var(--tinta); border-radius: 8px; padding: 0 5px; margin-left: 5px;
  vertical-align: 3px;
}
.marca-sub { font-size: 10.5px; color: var(--cinza); font-weight: 600; letter-spacing: .4px; text-transform: uppercase; margin-top: 3px; }
.clima-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: 999px; padding: 6px 12px;
  font-weight: 700; font-size: 14px; color: var(--tinta);
  box-shadow: var(--sombra);
}
.clima-chip svg { width: 17px; height: 17px; color: var(--laranja); }

/* ---------- Estrutura ---------- */
.conteudo { max-width: 640px; margin: 0 auto; padding: 14px 14px calc(86px + var(--safe-bottom)); }
.aba { display: none; }
.aba.ativa { display: block; animation: surgir .25s ease; }
@keyframes surgir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.aba-cabecalho { padding: 8px 4px 16px; }
.aba-cabecalho h1 { font-family: var(--fonte-display); font-size: 26px; font-weight: 800; letter-spacing: -.4px; }
.aba-cabecalho p { color: var(--cinza); font-size: 14px; margin-top: 2px; }

/* ---------- Painel "Agora na cidade" ---------- */
.painel-cidade {
  background: var(--tinta); color: var(--branco);
  border-radius: var(--raio); padding: 16px; margin-bottom: 14px;
  box-shadow: var(--sombra);
}
.painel-cidade-titulo {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: 12px;
}
.ponto-vivo { width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); animation: pulsar 1.8s ease infinite; }
@keyframes pulsar { 50% { opacity: .35; } }
.painel-cidade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dado-cidade { display: flex; flex-direction: column; gap: 2px; }
.dado-cidade strong { font-family: var(--fonte-display); font-size: 22px; font-weight: 700; line-height: 1.1; }
.dado-cidade span { font-size: 11px; color: rgba(255,255,255,.65); font-weight: 500; }
.dado-cidade strong em { font-style: normal; color: var(--laranja); }

/* ---------- Chips de categorias ---------- */
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  background: var(--branco); border: 1px solid var(--linha);
  font-size: 13px; font-weight: 600; color: var(--cinza);
  transition: all .15s ease;
}
.chip svg { width: 15px; height: 15px; }
.chip.ativo { background: var(--tinta); color: var(--branco); border-color: var(--tinta); }

/* ---------- Feed / postagens ---------- */
.feed { display: flex; flex-direction: column; gap: 12px; }
.post {
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--raio); padding: 16px;
  box-shadow: var(--sombra);
}
.post-cabeca { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--papel); border: 1.5px solid var(--tinta); }
.post-quem { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.post-nome { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.selo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--laranja); color: var(--branco);
}
.selo svg { width: 9px; height: 9px; stroke-width: 3.5; }
.post-meta { font-size: 12px; color: var(--cinza-claro); display: flex; gap: 5px; align-items: center; }
.post-categoria {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .3px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--laranja-suave); color: var(--laranja-escuro);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.post-categoria svg { width: 12px; height: 12px; }
.post-titulo { font-family: var(--fonte-display); font-weight: 700; font-size: 17px; line-height: 1.3; margin-bottom: 6px; letter-spacing: -.2px; }
.post-resumo { color: #3D372F; font-size: 14.5px; white-space: pre-line; }
.post-fonte {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 7px 12px; border-radius: 10px;
  background: var(--papel); border: 1px solid var(--linha);
  font-size: 12.5px; font-weight: 600; color: var(--cinza);
  text-decoration: none; transition: all .15s;
  max-width: 100%;
}
.post-fonte:active { background: var(--laranja-suave); }
.post-fonte svg { width: 14px; height: 14px; color: var(--laranja); }
.post-fonte span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-acoes {
  display: flex; align-items: center; gap: 4px;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--linha);
}
.acao {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--cinza);
  transition: all .15s;
}
.acao svg { width: 17px; height: 17px; }
.acao:active { transform: scale(.94); }
.acao.marcada-up { color: var(--verde); background: rgba(30,142,90,.08); }
.acao.marcada-down { color: var(--vermelho); background: rgba(192,58,43,.07); }
.acao-compartilhar { margin-left: auto; color: var(--laranja-escuro); background: var(--laranja-suave); }

.etiqueta-demo {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .8px;
  color: var(--cinza-claro); border: 1px dashed var(--cinza-claro);
  border-radius: 6px; padding: 2px 7px; margin-bottom: 8px; text-transform: uppercase;
}

/* ---------- Estados ---------- */
.estado {
  text-align: center; padding: 48px 24px; color: var(--cinza);
}
.estado img { width: 110px; margin: 0 auto 14px; opacity: .9; }
.estado strong { display: block; font-family: var(--fonte-display); font-size: 18px; color: var(--tinta); margin-bottom: 4px; }
.estado p { font-size: 13.5px; }
.esqueleto {
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio);
  height: 150px; position: relative; overflow: hidden;
}
.esqueleto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(243,106,0,.06), transparent);
  animation: brilho 1.4s infinite;
}
@keyframes brilho { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.sentinela { height: 1px; }
.fim-feed { text-align: center; font-size: 12.5px; color: var(--cinza-claro); padding: 22px 0 8px; }

/* ---------- Menu ---------- */
.cartao-menu {
  display: flex; align-items: center; gap: 12px;
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--raio); padding: 14px; margin-bottom: 18px;
  box-shadow: var(--sombra);
}
.cartao-menu-icone {
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
}
.cartao-menu-icone.laranja { background: var(--laranja-suave); color: var(--laranja-escuro); }
.cartao-menu-texto { display: flex; flex-direction: column; line-height: 1.35; flex: 1; }
.cartao-menu-texto strong { font-size: 14.5px; }
.cartao-menu-texto span { font-size: 12.5px; color: var(--cinza); }
.botao-instalar {
  background: var(--laranja); color: var(--branco);
  font-weight: 700; font-size: 13.5px;
  padding: 9px 16px; border-radius: 999px;
  transition: background .15s;
}
.botao-instalar:active { background: var(--laranja-escuro); }
.bloco-menu { margin-bottom: 20px; }
.bloco-menu h2 {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px;
  color: var(--cinza-claro); padding: 0 4px 8px;
}
.cartao-sobre {
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--raio); padding: 18px; box-shadow: var(--sombra);
}
.sobre-robo { width: 92px; margin: 0 auto 12px; }
.cartao-sobre p { font-size: 14px; color: #3D372F; margin-bottom: 10px; }
.cartao-sobre p:last-child { margin-bottom: 0; }
.sobre-aviso {
  font-size: 12.5px !important; color: var(--cinza) !important;
  background: var(--papel); border-radius: 12px; padding: 10px 12px;
}
.linha-menu {
  display: flex; align-items: center; gap: 12px;
  background: var(--branco); border: 1px solid var(--linha);
  padding: 14px; text-decoration: none;
  font-size: 14px; font-weight: 600;
}
.linha-menu svg:first-child { color: var(--laranja); width: 20px; height: 20px; }
.linha-menu span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linha-menu .seta { color: var(--cinza-claro); width: 17px; height: 17px; }
.bloco-menu .linha-menu:first-of-type { border-radius: var(--raio) var(--raio) 0 0; }
.bloco-menu .linha-menu:last-of-type { border-radius: 0 0 var(--raio) var(--raio); }
.bloco-menu .linha-menu:only-of-type { border-radius: var(--raio); }
.bloco-menu .linha-menu + .linha-menu { border-top: 0; }
.rodape-menu { text-align: center; font-size: 12px; color: var(--cinza-claro); padding: 10px 0 20px; line-height: 1.7; }

/* ---------- Navegação inferior ---------- */
.navegacao {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--linha);
  display: flex; justify-content: space-around;
  padding: 6px 4px calc(6px + var(--safe-bottom));
  max-width: 100%;
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 10px; border-radius: 14px;
  font-size: 10.5px; font-weight: 600; color: var(--cinza-claro);
  transition: color .15s; flex: 1; max-width: 84px;
}
.nav-item svg { width: 23px; height: 23px; }
.nav-item.ativo { color: var(--laranja); }
.nav-item.ativo span { font-weight: 700; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--safe-bottom));
  transform: translateX(-50%) translateY(16px);
  background: var(--tinta); color: var(--branco);
  font-size: 13.5px; font-weight: 600;
  padding: 11px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: all .25s ease;
  z-index: 100; max-width: 88vw; text-align: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.35);
}
.toast.visivel { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  body { font-size: 15.5px; }
  .conteudo { padding-top: 22px; }
  .navegacao {
    max-width: 640px; left: 50%; transform: translateX(-50%);
    border: 1px solid var(--linha); border-radius: 20px 20px 0 0;
  }
}

/* ---------- Enquetes ---------- */
.enquete { margin: 10px 0 4px; display: grid; gap: 7px; }
.enquete-opcao {
  width: 100%; text-align: left; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid rgba(243, 106, 0, .45); background: #fff;
  color: var(--tinta, #15110C); font: inherit; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.enquete-opcao:hover { background: rgba(243, 106, 0, .08); border-color: #F36A00; }
.enquete-resultado {
  position: relative; padding: 10px 14px; border-radius: 12px; overflow: hidden;
  background: rgba(21, 17, 12, .05); display: flex; justify-content: space-between; gap: 10px;
}
.enquete-barra {
  position: absolute; inset: 0 auto 0 0; background: rgba(243, 106, 0, .18);
  border-radius: 12px; transition: width .4s ease;
}
.enquete-minha .enquete-barra { background: rgba(243, 106, 0, .34); }
.enquete-rotulo, .enquete-pct { position: relative; font-weight: 600; font-size: .92rem; }
.enquete-total { font-size: .8rem; color: rgba(21, 17, 12, .55); padding-left: 2px; }

/* ---------- Etiqueta de cidade no post ---------- */
.meta-cidade { font-weight: 700; color: rgba(21, 17, 12, .55); }

/* ---------- Nova Alvorada do Sul em números ---------- */
.cartao-cidade {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(21, 17, 12, .06);
}
.cidade-foto { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.cidade-grade {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(21, 17, 12, .06);
}
.cidade-dado {
  background: #fff; padding: 14px 14px 12px; display: grid; gap: 2px;
}
.cidade-dado strong {
  font-family: "Baloo 2", Inter, sans-serif; font-size: 1.18rem; color: #F36A00; line-height: 1.1;
}
.cidade-dado span { font-size: .74rem; color: rgba(21, 17, 12, .6); line-height: 1.35; }
.cidade-nota { padding: 12px 14px 14px; margin: 0; font-size: .8rem; color: rgba(21, 17, 12, .65); line-height: 1.5; }

/* ---------- Guia da Cidade ---------- */
.guia-sub { margin: -4px 0 10px; font-size: .85rem; color: rgba(21, 17, 12, .6); }
.guia-grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.guia-botao {
  display: grid; gap: 4px; justify-items: start; text-decoration: none;
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: 0 1px 2px rgba(21, 17, 12, .06);
  border: 1.5px solid transparent; transition: border-color .15s, transform .1s;
}
.guia-botao:active { transform: scale(.98); }
.guia-botao:hover { border-color: rgba(243, 106, 0, .5); }
.guia-botao svg { width: 22px; height: 22px; color: #F36A00; }
.guia-botao strong { color: #15110C; font-size: .92rem; line-height: 1.25; }
.guia-botao span { font-size: .8rem; color: rgba(21, 17, 12, .55); }

/* ---------- Imagem da postagem (estilo Twitter) ---------- */
.post-imagem {
  width: 100%; display: block; margin: 10px 0 4px;
  border-radius: 14px; max-height: 340px; object-fit: cover;
  background: rgba(21, 17, 12, .05);
}

/* ---------- Capa automática por categoria ---------- */
.post-capa {
  position: relative; height: 112px; margin: 10px 0 4px;
  border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; gap: 12px; padding: 0 18px;
}
.post-capa .capa-icone svg {
  width: 38px; height: 38px; color: #fff; stroke-width: 1.8;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}
.post-capa .capa-icone-fundo {
  position: absolute; right: -18px; bottom: -26px; opacity: .16; transform: rotate(-12deg);
}
.post-capa .capa-icone-fundo svg { width: 130px; height: 130px; color: #fff; stroke-width: 1.4; }
.post-capa .capa-rotulo {
  color: #fff; font-family: "Baloo 2", Inter, sans-serif;
  font-size: 1.12rem; font-weight: 700; letter-spacing: .01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

/* Cabeçalho do post: nome nunca quebra, meta encolhe com elegância */
.post-quem { min-width: 0; }
.post-nome { white-space: nowrap; }
.post-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* ---------- Filtro de alcance (Notícias) ---------- */
.alcance { display: flex; gap: 8px; padding: 0 0 12px; }
.alcance-chip {
  font: 600 .85rem Inter, sans-serif; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid rgba(21, 17, 12, .14); background: #fff; color: rgba(21, 17, 12, .7);
  cursor: pointer; transition: all .15s;
}
.alcance-chip.ativo { background: #15110C; border-color: #15110C; color: #fff; }

/* ---------- Aba Câmara: faixas ---------- */
.faixa-titulo { font-family: "Baloo 2", Inter, sans-serif; font-size: 1.05rem; margin: 4px 0 10px; color: #15110C; }
.vereadores-faixa, .vemai-faixa {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 14px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vereadores-faixa::-webkit-scrollbar, .vemai-faixa::-webkit-scrollbar { display: none; }
.vereador-card {
  flex: 0 0 auto; width: 118px; display: grid; gap: 5px; justify-items: center;
  background: #fff; border: none; border-radius: 16px; padding: 14px 8px 12px;
  box-shadow: 0 1px 2px rgba(21, 17, 12, .06); cursor: pointer; font: inherit;
}
.vereador-card img, .vereador-inicial {
  width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid #F36A00;
}
.vereador-inicial {
  display: grid; place-items: center; background: rgba(243, 106, 0, .12);
  color: #F36A00; font: 700 1.4rem "Baloo 2", sans-serif;
}
.vereador-inicial.grande { width: 64px; height: 64px; font-size: 1.6rem; }
.vereador-card strong { font-size: .8rem; color: #15110C; text-align: center; line-height: 1.2; }
.vereador-card span { font-size: .68rem; color: rgba(21, 17, 12, .55); text-align: center; line-height: 1.25; }
.vemai-card {
  flex: 0 0 auto; width: 190px; display: grid; gap: 6px; align-content: start;
  background: #15110C; color: #fff; border-radius: 16px; padding: 14px;
}
.vemai-data {
  justify-self: start; font: 700 .72rem Inter, sans-serif; text-transform: uppercase;
  background: #F36A00; padding: 4px 9px; border-radius: 999px; letter-spacing: .04em;
}
.vemai-card strong { font-size: .86rem; line-height: 1.3; }
.vemai-cat { font-size: .7rem; opacity: .65; }

/* Selo Vem aí no post */
.post-evento {
  display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 2px;
  font: 700 .74rem Inter, sans-serif; color: #B45309;
  background: rgba(243, 106, 0, .1); padding: 5px 10px; border-radius: 999px;
}
.post-evento svg { width: 14px; height: 14px; }

/* Ficha do vereador */
.ficha-fundo {
  position: fixed; inset: 0; z-index: 60; background: rgba(21, 17, 12, .45);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fichaFundo .18s ease;
}
@keyframes fichaFundo { from { opacity: 0 } to { opacity: 1 } }
.ficha {
  width: 100%; max-width: 640px; background: #FFFDFA;
  border-radius: 22px 22px 0 0; padding: 20px 20px 28px;
  animation: fichaSobe .22s ease;
}
@keyframes fichaSobe { from { transform: translateY(40px); opacity: .6 } to { transform: none; opacity: 1 } }
.ficha-topo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ficha-topo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2.5px solid #F36A00; }
.ficha-topo strong { display: block; font-family: "Baloo 2", sans-serif; font-size: 1.15rem; color: #15110C; }
.ficha-topo span { font-size: .85rem; color: rgba(21, 17, 12, .6); }
.ficha-fechar {
  margin-left: auto; border: none; background: rgba(21, 17, 12, .06);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
}
.ficha-fechar svg { width: 18px; height: 18px; color: #15110C; }
.ficha-linha {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid rgba(21, 17, 12, .07);
}
.ficha-linha span { font-size: .85rem; color: rgba(21, 17, 12, .55); }
.ficha-linha strong { font-size: .88rem; color: #15110C; text-align: right; word-break: break-word; }
.ficha-fonte { margin: 14px 0 0; font-size: .76rem; color: rgba(21, 17, 12, .45); }

/* ---------- Banner do Radar (Menu) ---------- */
.banner-radar {
  width: 100%; display: block; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(21, 17, 12, .08);
}

/* ---------- Menções na ficha do vereador ---------- */
.ficha-secao {
  margin: 14px 0 6px; font: 700 .78rem Inter, sans-serif;
  text-transform: uppercase; letter-spacing: .05em; color: rgba(21, 17, 12, .5);
}
.ficha-mencao {
  display: block; padding: 9px 12px; margin-bottom: 6px; border-radius: 12px;
  background: rgba(243, 106, 0, .07); color: #15110C; text-decoration: none;
  font-size: .85rem; line-height: 1.35;
}
a.ficha-mencao:hover { background: rgba(243, 106, 0, .14); }

/* ---------- Redes sociais (Menu) ---------- */
.redes-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rede-botao {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border-radius: 16px; text-decoration: none; color: #fff;
  box-shadow: 0 1px 2px rgba(21, 17, 12, .1); transition: transform .1s;
}
.rede-botao:active { transform: scale(.98); }
.rede-ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.rede-fb { background: #1877F2; }
.rede-botao svg { width: 26px; height: 26px; flex: none; }
.rede-botao span { display: grid; line-height: 1.25; }
.rede-botao strong { font-family: "Baloo 2", Inter, sans-serif; font-size: .95rem; }
.rede-botao span { font-size: .78rem; opacity: .95; }

/* ---------- Prévia do cartão de compartilhamento ---------- */
.previa {
  width: 100%; max-width: 420px; margin: 0 16px;
  background: #FFFDFA; border-radius: 22px; padding: 16px;
  display: grid; gap: 10px;
  animation: fichaSobe .22s ease;
}
.ficha-fundo:has(.previa) { align-items: center; }
.previa-img {
  width: 100%; max-height: 56vh; object-fit: contain;
  border-radius: 14px; background: rgba(21, 17, 12, .05);
}
.botao-previa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; border-radius: 999px; border: none; cursor: pointer;
  font: 700 .95rem Inter, sans-serif;
  background: rgba(21, 17, 12, .06); color: #15110C;
}
.botao-previa.principal { background: #F36A00; color: #fff; }
.botao-previa svg { width: 18px; height: 18px; }
.previa-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Ficha rica do vereador / detalhe ---------- */
.ficha-bio { margin: 4px 0 12px; font-size: .9rem; line-height: 1.5; color: rgba(21,17,12,.7); }
.ficha-botoes { display: grid; gap: 8px; margin: 14px 0 4px; }
.ficha-botao {
  display: block; text-align: center; text-decoration: none;
  padding: 12px; border-radius: 12px; font: 700 .9rem Inter, sans-serif;
  background: rgba(21,17,12,.06); color: #15110C;
}
.ficha-botao.principal { background: #F36A00; color: #fff; }
.ficha-atuacao {
  display: block; text-decoration: none; padding: 11px 12px; margin-bottom: 7px;
  border-radius: 12px; background: rgba(21,17,12,.04); color: #15110C;
}
a.ficha-atuacao:hover { background: rgba(243,106,0,.1); }
.ficha-atuacao strong { display: block; font-size: .86rem; color: #F36A00; }
.atuacao-titulo { display: block; font-size: .82rem; color: rgba(21,17,12,.7); line-height: 1.35; margin-top: 2px; }
.detalhe-img { width: 100%; border-radius: 14px; margin: 4px 0 12px; max-height: 240px; object-fit: cover; }
.detalhe-texto { font-size: .95rem; line-height: 1.6; color: rgba(21,17,12,.82); margin: 0 0 4px; }

/* ---------- Seletor de formato na prévia ---------- */
.previa-formatos { display: flex; gap: 8px; margin-bottom: 12px; }
.previa-fmt {
  flex: 1; padding: 10px; border-radius: 999px; border: 1.5px solid rgba(21,17,12,.14);
  background: #fff; color: rgba(21,17,12,.7); font: 700 .85rem Inter, sans-serif; cursor: pointer;
}
.previa-fmt.ativo { background: #15110C; border-color: #15110C; color: #fff; }
.previa-palco { display: flex; justify-content: center; }
.previa-img { transition: opacity .2s; }
