/* =========================================================
   Observatório Patinhas — folha de estilo AUTÔNOMA
   =========================================================
   Este arquivo é o ÚNICO CSS carregado pelas páginas de
   /observatorio. Ele NÃO importa nem depende de css/style.css.

   Motivo: o Observatório é um produto separado do marketplace.
   Qualquer mudança no design system do site (tokens, header,
   botões, rodapé) não pode quebrar esta área — e vice-versa.

   Por isso os tokens, o reset, o header, os botões e o rodapé
   estão redefinidos aqui. É duplicação intencional: o preço
   do isolamento. Ao mexer nas cores da marca, atualize os
   dois arquivos.
   ========================================================= */

/* ---------- Tokens (cópia do design system da marca) ---------- */

:root {
  --color-bg: #F8F3E8;
  --color-surface: #FCFAF4;
  --color-surface-muted: #EFEBE0;
  --color-offwhite: #F9FAF8;
  --color-border: #D8D9CA;
  --color-text: #1C2117;
  --color-text-muted: #52584C;
  --color-text-soft: #8B8C7C;

  --color-brand: #527353;
  --color-brand-dark: #3F5B41;
  --color-brand-soft: #DBE5D2;
  --color-brand-accent: #9FBA99;

  --color-status-processo: #C98A2C;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(28, 33, 23, 0.05), 0 6px 16px rgba(28, 33, 23, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(28, 33, 23, 0.07), 0 14px 28px rgba(28, 33, 23, 0.10);

  --font-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Largura máxima do conteúdo — cresce em monitores grandes (igual ao resto do site). */
  --content-max: 1240px;
}
@media (min-width: 1500px) { :root { --content-max: 1400px; } }
@media (min-width: 1800px) { :root { --content-max: 1520px; } }

/* ---------- Reset e base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--color-brand-dark); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.hidden { display: none !important; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* Igual ao resto do site: o conteúdo acompanha a coluna central (1240px);
     o fundo/borda seguem ocupando a largura toda. */
  padding: 18px max(28px, calc((100% - var(--content-max)) / 2 + 20px));
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
  text-decoration: none;
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  position: relative;
  z-index: 2;
  transform-origin: 50% 55%;
  transform: translateY(1px);
}

/* Wiggle do logo + rastro de pegadas âmbar (mesmo gesto do site). */
.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.logo-wrap:hover .brand-logo {
  animation: obs-logo-wiggle 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes obs-logo-wiggle {
  0% { transform: translateY(1px) rotate(0deg); }
  30% { transform: translateY(1px) rotate(-5deg); }
  60% { transform: translateY(1px) rotate(4deg); }
  100% { transform: translateY(1px) rotate(0deg); }
}

.logo-paw {
  position: absolute;
  z-index: 1;
  width: 11px;
  height: 11px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F59E0B'><path d='M4.5 12.5a2 2 0 100-4 2 2 0 000 4zM8 8a2 2 0 100-4 2 2 0 000 4zM12.5 6a2 2 0 100-4 2 2 0 000 4zM17 8a2 2 0 100-4 2 2 0 000 4zM12 22c-3 0-6-1.6-6-4.3 0-2.2 2.4-3.2 3.3-4.9.6-1.1 1.3-1.9 2.7-1.9s2.1.8 2.7 1.9c.9 1.7 3.3 2.7 3.3 4.9C18 20.4 15 22 12 22z'/></svg>")
    center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
}
.logo-paw-1 { right: -6px; bottom: 3px; }
.logo-paw-2 { right: -17px; bottom: -4px; }
.logo-paw-3 { right: -28px; bottom: -11px; }

@keyframes obs-logo-paw-pop {
  0% { opacity: 0; transform: scale(0.4) rotate(12deg); }
  40% { opacity: 0.9; transform: scale(1) rotate(4deg); }
  100% { opacity: 0; transform: scale(0.9) rotate(4deg); }
}
.logo-wrap:hover .logo-paw-1 { animation: obs-logo-paw-pop 1s ease-out forwards; }
.logo-wrap:hover .logo-paw-2 { animation: obs-logo-paw-pop 1s ease-out 0.15s forwards; }
.logo-wrap:hover .logo-paw-3 { animation: obs-logo-paw-pop 1s ease-out 0.3s forwards; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Cursor de patinha no header (mesmo do resto do site, aqui no CSS isolado). */
.cursor-paw,
.cursor-paw * {
  cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAE4ElEQVR42rVWa4hVVRT+1tr7PK6aWD5C7CElmBNCYEhldJ20mSlxmsyTv6L+jaPeFJHyR3W6/yTo5Wum6AG95eJrsppHVJciIoLIcND6kSCYjwIfM8495+y9Vz/uHb1NvspasOGwWWt/e+2z1vct4N+agPA/G9UW4jjm/+TEfJzX+Tivz3f7R9e3Tfynt7ssi+OYi88VJVobhWly8l0v8Bqz1Lx326Q7VhdRBIpw/waI4jimvce/XcWaJ7vUbNrZ1X8MAFo7mpeHY73O4aGKy40L+cypZPmeV/tfzcd5XS6WzYWA+HzPBUB+/P3bQjDOf0X56mmnuBwVWiZXPVyjMcYSUZqlmSWWdgA0ZWCKACBIbV0KaD7KDgDEydIkyWxlqDLk5/QtibHPVp+AQgIpAEqsKAA3tj264JpSqWRrtVhdo0yP3igWq05E0CRQAgqyxDgASwEUWPE+YlosIiJCIJCuTNBZtKJphlXqLScuM2wf37Pxs0OIQSP/bnRG1FJo8aMoUiDsZ8VCJOKsYwDXLmq/d5oofsdZIYBYaRYQDvZs6jmVAh9oX93th14jZ/QiAIkGIrpk1bV2NDV6gfo8S00GAQmgSHhWd1fvgdaO+zb4of+UiCDNzGLPeAcQuJ+NMRkrYmfk9/FjcPO7L/QP1TCE6wFbCi3BklX3L3t4ZfP87s6+L7LEbA5yvheOCzQRfko9OggA3Z39623FzjUVe89HW/r2GLJziMnVGEMB4iUnKPhbMURRxAAQWrfFy+kP4akvWlfet7W7s7+QnDEdNpOt2srSnk09SVuh5eYlaxYtzI3hY7u7er8CAGYeBsAQOFJsQXy44bo7T4xkU08nEsex/uHYN7+SpqliYcOxgZ8MJk/s7uzbVG3YvN77x5jXAVlGjFAEcE76Mqk8FuR85yp8SHvsa09jeChb272156X63qKzTyfAgyuavlc+32aMs8ykrHFHQisNDVPnnf7h6Dfv564Klw0PVkQgAgBhLuCkkv4YHJ8wJ5t86hE/5z+TDCd9J/Yl68pflm3t9LMZYQS5bWXzaj/nvVwZqiQCaKUUW4fZHtSgKHfQGmsAKFA1ToDMDzzPpnbXri29D12MghgAysWyRQz2Jo3vTM6k5XBsGCitlNKKspROWjLzlGap5U5EBCICE3lZklnlq7a2QvPXD7Y3T78Qq6uzX18CA40DdubsW7cLmQlKq6uzin3/49d6t828/aaYFTc4ZwVgprqmICK2xhkv8KYL3JJZd83Y1rXhjUEAjPI5huA6ehUA1P1m9+mdmz9dMXHWtIburt7C4hVNM4joAZNZoVEgI8cQQSeVNPVC7wabyhoQJI88X4zrBABFUaReOzzVIgaTYJ0X6BwEFgCJ1DtLvQwoa4wVkblVzpzvLsp1AKRUKrlakShmWmCNExFhEEBEIwgWIJzDIsNKhYA7AgADtw7QpYDOAs78bZCOqsADwwlVS9SJWMWstK//EksEbVJ7mjQ/D4Aa9jXIZSlsFEWqVCrZ1o6mrtxVQfuZwYolQHmBB5PZQRJ6D4LvmKCFcT0xV2DN9h2b+/bXM8KlpbwmXlH7wvGZr98mwmIRMQT6RISe3LXl058vGHcePbrsmSEqtDZYstmOjR//UqfEo0RzvisWi+6Kx6tqM4L/szHrQlPQlQD8CdemPnQESahoAAAAAElFTkSuQmCC") 13 13, auto;
}
/* Inputs de texto mantêm o cursor de texto (não atrapalha digitar). */
.cursor-paw input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]),
.cursor-paw textarea,
.cursor-paw [contenteditable="true"] { cursor: text; }
/* Elementos clicáveis mostram o cursor de clique (pointer) — fica claro que dá pra clicar. */
.cursor-paw a,
.cursor-paw button,
.cursor-paw label[for],
.cursor-paw select,
.cursor-paw summary,
.cursor-paw [role="button"],
.cursor-paw input[type="checkbox"],
.cursor-paw input[type="radio"] { cursor: pointer; }
/* Exceção: header e CTAs mantêm a patinha (identidade da marca). */
.cursor-paw .site-header a,
.cursor-paw .site-header button,
.cursor-paw .site-header label,
.cursor-paw .btn-cta { cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAE4ElEQVR42rVWa4hVVRT+1tr7PK6aWD5C7CElmBNCYEhldJ20mSlxmsyTv6L+jaPeFJHyR3W6/yTo5Wum6AG95eJrsppHVJciIoLIcND6kSCYjwIfM8495+y9Vz/uHb1NvspasOGwWWt/e+2z1vct4N+agPA/G9UW4jjm/+TEfJzX+Tivz3f7R9e3Tfynt7ssi+OYi88VJVobhWly8l0v8Bqz1Lx326Q7VhdRBIpw/waI4jimvce/XcWaJ7vUbNrZ1X8MAFo7mpeHY73O4aGKy40L+cypZPmeV/tfzcd5XS6WzYWA+HzPBUB+/P3bQjDOf0X56mmnuBwVWiZXPVyjMcYSUZqlmSWWdgA0ZWCKACBIbV0KaD7KDgDEydIkyWxlqDLk5/QtibHPVp+AQgIpAEqsKAA3tj264JpSqWRrtVhdo0yP3igWq05E0CRQAgqyxDgASwEUWPE+YlosIiJCIJCuTNBZtKJphlXqLScuM2wf37Pxs0OIQSP/bnRG1FJo8aMoUiDsZ8VCJOKsYwDXLmq/d5oofsdZIYBYaRYQDvZs6jmVAh9oX93th14jZ/QiAIkGIrpk1bV2NDV6gfo8S00GAQmgSHhWd1fvgdaO+zb4of+UiCDNzGLPeAcQuJ+NMRkrYmfk9/FjcPO7L/QP1TCE6wFbCi3BklX3L3t4ZfP87s6+L7LEbA5yvheOCzQRfko9OggA3Z39623FzjUVe89HW/r2GLJziMnVGEMB4iUnKPhbMURRxAAQWrfFy+kP4akvWlfet7W7s7+QnDEdNpOt2srSnk09SVuh5eYlaxYtzI3hY7u7er8CAGYeBsAQOFJsQXy44bo7T4xkU08nEsex/uHYN7+SpqliYcOxgZ8MJk/s7uzbVG3YvN77x5jXAVlGjFAEcE76Mqk8FuR85yp8SHvsa09jeChb272156X63qKzTyfAgyuavlc+32aMs8ykrHFHQisNDVPnnf7h6Dfv564Klw0PVkQgAgBhLuCkkv4YHJ8wJ5t86hE/5z+TDCd9J/Yl68pflm3t9LMZYQS5bWXzaj/nvVwZqiQCaKUUW4fZHtSgKHfQGmsAKFA1ToDMDzzPpnbXri29D12MghgAysWyRQz2Jo3vTM6k5XBsGCitlNKKspROWjLzlGap5U5EBCICE3lZklnlq7a2QvPXD7Y3T78Qq6uzX18CA40DdubsW7cLmQlKq6uzin3/49d6t828/aaYFTc4ZwVgprqmICK2xhkv8KYL3JJZd83Y1rXhjUEAjPI5huA6ehUA1P1m9+mdmz9dMXHWtIburt7C4hVNM4joAZNZoVEgI8cQQSeVNPVC7wabyhoQJI88X4zrBABFUaReOzzVIgaTYJ0X6BwEFgCJ1DtLvQwoa4wVkblVzpzvLsp1AKRUKrlakShmWmCNExFhEEBEIwgWIJzDIsNKhYA7AgADtw7QpYDOAs78bZCOqsADwwlVS9SJWMWstK//EksEbVJ7mjQ/D4Aa9jXIZSlsFEWqVCrZ1o6mrtxVQfuZwYolQHmBB5PZQRJ6D4LvmKCFcT0xV2DN9h2b+/bXM8KlpbwmXlH7wvGZr98mwmIRMQT6RISe3LXl058vGHcePbrsmSEqtDZYstmOjR//UqfEo0RzvisWi+6Kx6tqM4L/szHrQlPQlQD8CdemPnQESahoAAAAAElFTkSuQmCC") 13 13, auto; }


/* Desktop: links à esquerda, botão "Sou um abrigo" sempre à direita. */
.header-nav { display: flex; align-items: center; gap: 10px; order: -1; }
.nav-hamburger { display: none; }

@media (max-width: 640px) {
  .site-header { padding: 12px 16px; gap: 10px; }
  .header-actions { gap: 8px; flex-shrink: 0; position: relative; }

  /* Botão hambúrguer, ao lado do "Sou um abrigo / ONG". */
  .nav-hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 38px;
    padding: 0 9px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    cursor: pointer;
    order: 1;
  }
  .nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--color-text);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle-input:checked ~ .nav-hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Os links viram um menu suspenso, revelado pelo hambúrguer. */
  .header-nav {
    order: 0;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-width: 190px;
    padding: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-hover);
    display: none;
    z-index: 40;
  }
  .nav-toggle-input:checked ~ .header-nav { display: flex; }
  .header-nav .nav-link { width: 100%; justify-content: flex-start; text-align: left; }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: transform 0.05s ease, opacity 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-brand);
}

.btn-primary { background: var(--color-brand); color: #fff; }
.btn-primary:hover { background: var(--color-brand-dark); }

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover { background: var(--color-surface-muted); }

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--color-surface-muted); }

.btn-sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }

.btn-cta {
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(82, 115, 83, 0.32);
}
.btn-cta:hover { box-shadow: 0 6px 18px rgba(82, 115, 83, 0.4); }

.nav-link { text-decoration: none; }

/* ---------- Container ---------- */

.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 28px 20px 64px;
}

/* ---------- Rodapé com assinatura da marca ---------- */

/* Mesmo rodapé do site (style.css), pra combinar: nota à esquerda, links à direita. */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 22px max(28px, calc((100% - var(--content-max)) / 2 + 20px));
  color: var(--color-text-soft);
  font-size: 13px;
}
.site-footer a { color: var(--color-text-muted); }
.footer-links { font-size: 13px; }
.footer-links a { margin: 0 2px; }
@media (max-width: 640px) {
  .site-footer { justify-content: center; text-align: center; }
}

/* ---------- Breadcrumbs ---------- */

.obs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--color-text-soft);
  margin: 18px 0 0;
}
.obs-breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
}
.obs-breadcrumbs a:hover { color: var(--color-brand-dark); }
.obs-breadcrumbs .sep { opacity: 0.6; }

/* ---------- Hero ---------- */

.obs-hero {
  position: relative;
  overflow: hidden;
  /* Safari (Mac) não recorta filhos animados/compostos (o radar girando) em
     cantos arredondados só com overflow:hidden — o efeito vazava no canto
     inferior-esquerdo (96px). clip-path recorta de forma confiável. */
  clip-path: inset(0 round 28px 28px 28px 96px);
  /* Céu noturno de observatório — azul/petróleo, com só um toque de verde. */
  background:
    radial-gradient(130% 120% at 80% -10%, #1c3b46 0%, #17293b 46%, #101d2b 100%);
  color: #F4F1E6;
  border-radius: 28px 28px 28px 96px;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  margin-top: 20px;
}
/* Vinheta suave nas bordas, dá profundidade ao céu. */
.obs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 100% at 30% 20%, transparent 55%, rgba(6, 14, 22, 0.5) 100%);
  pointer-events: none;
}
.obs-hero > *:not(.obs-sky):not(.obs-trail):not(.obs-comet):not(.obs-hero-hint) { position: relative; z-index: 2; }

/* Ao explorar com o mouse, o cursor vira uma estrela cadente. */
.obs-hero.scanning, .obs-hero.scanning * { cursor: none; }

/* ---- Cursor "estrela cadente" (cometa) ---- */
.obs-comet {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF8E6 0%, #E7C889 55%, rgba(231, 200, 137, 0) 72%);
  box-shadow: 0 0 22px 5px rgba(231, 200, 137, 0.9);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  transform: translate(-9999px, -9999px);
  will-change: transform;
}
.obs-hero.scanning .obs-comet { opacity: 1; }

/* Rastro fluido do cometa, desenhado em canvas (cresce enquanto o mouse anda). */
.obs-trail {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.obs-hero.scanning .obs-trail { opacity: 1; }

/* ---- "Mapa do Maroto": patinhas surgem e somem pelo fundo da página ---- */
.obs-paw-map {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Conteúdo real fica acima da trilha de patinhas. */
body > .site-header,
body > .site-main,
body > .site-footer { position: relative; z-index: 1; }

.obs-paw-print {
  position: absolute;
  width: 24px;
  height: 24px;
  color: rgba(82, 115, 83, 0.18);
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.6s ease, transform 1.6s ease-out;
}
.obs-paw-print svg { width: 100%; height: 100%; display: block; }
.obs-paw-print.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .obs-paw-map { display: none; } }

/* ---- "Céu" de patinhas bem sutil no fundo de toda a página ---- */
/* Camada fixa atrás do conteúdo: patinhas bem apagadas, só pra dar textura
   sem escurecer a página nem atrapalhar a leitura. */
.obs-starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Sem véu: o fundo fica no creme da página (igual à Home). Só as patinhas
     bem apagadas dão textura de céu, sem atrapalhar a leitura. */
}
.obs-fstar {
  position: absolute;
  color: #2b3a4a;              /* azul-ardósia discreto sobre o creme */
  opacity: var(--o, 0.05);
  animation: obs-twinkle-soft var(--t, 4200ms) ease-in-out var(--d, 0ms) infinite;
}
.obs-fstar.amber { color: #E7C889; } /* algumas âmbar, como as estrelas do hero */
.obs-fstar svg { width: 100%; height: 100%; display: block; fill: currentColor; }
@keyframes obs-twinkle-soft {
  0%, 100% { opacity: calc(var(--o, 0.05) * 0.45); }
  50% { opacity: var(--o, 0.05); }
}
@media (prefers-reduced-motion: reduce) { .obs-fstar { animation: none; } }

/* ---- Parallax de profundidade (sensação de espaço) ---- */
/* Cada camada anda uma fração do deslocamento do mouse → paralaxe. */
.obs-sky   { transition: transform 0.18s ease-out; }
.obs-leitura, .obs-hero h1, .obs-eyebrow, .obs-hero p, .obs-hero-actions {
  transition: transform 0.22s ease-out;
}
.obs-hero.par .obs-sky      { transform: translate(calc(var(--px) * 20px), calc(var(--py) * 16px)); }
.obs-hero.par .obs-eyebrow  { transform: translate(calc(var(--px) * -6px), calc(var(--py) * -5px)); }
.obs-hero.par h1            { transform: translate(calc(var(--px) * -9px), calc(var(--py) * -7px)); }
.obs-hero.par p             { transform: translate(calc(var(--px) * -6px), calc(var(--py) * -5px)); }
.obs-hero.par .obs-hero-actions { transform: translate(calc(var(--px) * -4px), calc(var(--py) * -3px)); }
.obs-hero.par .obs-leitura  { transform: translate(calc(var(--px) * -12px), calc(var(--py) * -9px)); }

/* Dica de que o hero é interativo. */
.obs-hero-hint {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 40px);
  bottom: clamp(16px, 3vw, 28px);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 230, 0.42);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
}
.obs-hero-hint::before { content: "✦"; color: #E7C889; animation: obs-twinkle 2.4s ease-in-out infinite; }
@media (max-width: 700px) { .obs-hero-hint { display: none; } }

/* ---- Céu: estrelas + varredura de radar + órbita de satélite ---- */
.obs-sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.obs-star {
  position: absolute;
  border-radius: 50%;
  background: #F4F1E6;
  box-shadow: 0 0 4px rgba(244, 241, 230, 0.6);
  opacity: 0.35;
  animation: obs-twinkle var(--t, 2600ms) ease-in-out var(--d, 0ms) infinite;
}
.obs-star.big { background: #E7C889; box-shadow: 0 0 8px rgba(231, 200, 137, 0.9); }
@keyframes obs-twinkle { 0%, 100% { opacity: 0.16; } 50% { opacity: 1; } }

/* Feixe de radar girando (como um telescópio varrendo o céu). */
.obs-sweep {
  position: absolute;
  top: -20%;
  right: 4%;
  width: 720px;
  height: 720px;
  max-width: 90%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(159, 186, 153, 0.18), rgba(159, 186, 153, 0.03) 26%, transparent 52%);
  animation: obs-rotate 16s linear infinite;
  transform-origin: center;
}
@keyframes obs-rotate { to { transform: rotate(360deg); } }

/* Órbita com satélite. */
.obs-orbit {
  position: absolute;
  right: 8%;
  top: 24%;
  width: 168px;
  height: 168px;
  border: 1px dashed rgba(244, 241, 230, 0.22);
  border-radius: 50%;
  animation: obs-rotate 26s linear infinite;
}
.obs-orbit-sat {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #E7C889;
  box-shadow: 0 0 12px 2px rgba(231, 200, 137, 0.8);
}
@media (max-width: 700px) { .obs-orbit { display: none; } }

/* ---- Leitura ao vivo (um número por vez) ---- */
.obs-leitura {
  margin-top: 28px;
  max-width: 460px;
  background: rgba(244, 241, 230, 0.06);
  border: 1px solid rgba(244, 241, 230, 0.16);
  border-radius: 22px;
  padding: 20px 26px 22px;
  backdrop-filter: blur(3px);
}
.obs-leitura-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-accent);
}
.obs-leitura-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8FD18F;
  animation: obs-live-pulse 1.8s ease-out infinite;
}
@keyframes obs-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 209, 143, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(143, 209, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 209, 143, 0); }
}
.obs-leitura-num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  /* mais sutil que antes (era 46–72px) */
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1;
  color: #FCFAF4;
  font-variant-numeric: tabular-nums;
}
.obs-leitura-u { font-size: 0.42em; color: var(--color-brand-accent); }
.obs-leitura-label {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(244, 241, 230, 0.85);
  /* reserva o pior caso (label mais longa) pra o card não mudar de tamanho */
  min-height: 74px;
}
.obs-leitura-label strong { color: #E7C889; font-weight: 700; }
.obs-leitura-fonte { color: rgba(244, 241, 230, 0.55); }
.obs-leitura-dots { display: flex; gap: 7px; margin-top: 16px; }
.obs-leitura-dot {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  border: none;
  padding: 0;
  background: rgba(244, 241, 230, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease;
}
.obs-leitura-dot.on { background: var(--color-brand-accent); width: 30px; }
.obs-leitura.swap .obs-leitura-num,
.obs-leitura.swap .obs-leitura-label,
.obs-leitura.swap .obs-leitura-fonte { animation: obs-read-in 0.5s ease; }
@keyframes obs-read-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Desktop: card mais expansivo, com o número e a descrição na mesma linha. */
@media (min-width: 780px) {
  .obs-leitura {
    /* largura fixa e coluna do número fixa → o card não "pula" ao trocar o dado */
    max-width: 560px;
    display: grid;
    grid-template-columns: 190px 1fr;
    grid-template-areas:
      "tag  tag"
      "num  label"
      "dots fonte";
    align-items: center;
    column-gap: 22px;
    row-gap: 4px;
  }
  .obs-leitura-tag { grid-area: tag; }
  .obs-leitura-num { grid-area: num; margin: 10px 0; }
  .obs-leitura-label { grid-area: label; margin: 0; align-self: center; }
  .obs-leitura-dots { grid-area: dots; margin: 12px 0 0; }
  .obs-leitura-fonte { grid-area: fonte; text-align: right; align-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .obs-star, .obs-sweep, .obs-orbit, .obs-leitura-dot-live { animation: none !important; }
  .obs-star { opacity: 0.5; }
}

.obs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-accent);
  margin-bottom: 14px;
}

.obs-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.08;
  margin: 0 0 14px;
  max-width: 20ch;
  color: #FCFAF4;
}

.obs-hero p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 241, 230, 0.82);
  max-width: 54ch;
  margin: 0 0 26px;
}

.obs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.obs-hero .btn-secondary {
  background: transparent;
  color: #F4F1E6;
  border-color: rgba(244, 241, 230, 0.4);
}
.obs-hero .btn-secondary:hover { background: rgba(244, 241, 230, 0.12); }

/* ---------- Seções ---------- */

.obs-section { margin-top: 48px; }

.obs-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.obs-section-head h2 {
  font-size: 24px;
  margin: 0 0 4px;
}
.obs-section-head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Toggle Cães / Gatos */
.obs-especie-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  flex-shrink: 0;
}
.obs-especie-btn {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.obs-especie-btn.active {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(82, 115, 83, 0.3);
}
@media (max-width: 640px) {
  .obs-mapa-head { flex-direction: column; align-items: flex-start; }
  .obs-especie-btn { padding: 7px 14px; }
}

/* Legenda em gradiente (cor por ranking) */
.obs-map-legend--grad {
  align-items: center;
}
.obs-legend-bar {
  flex: 1;
  max-width: 160px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #E3EBDC, #C4D6B8, #9FBA99, #527353);
}

/* ---------- Mapa do Brasil (tile grid) ---------- */

.obs-map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .obs-map-wrap { grid-template-columns: 1fr; align-items: start; }
}

.obs-map {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 5px;
  max-width: 480px;
}

.obs-map-tile {
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: clamp(9px, 1.4vw, 12px);
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.obs-map-tile:hover, .obs-map-tile:focus-visible {
  transform: scale(1.12);
  box-shadow: var(--shadow-card-hover);
  z-index: 2;
  outline: none;
}
.obs-map-tile.heat-1 { background: #E3EBDC; }
.obs-map-tile.heat-2 { background: #C4D6B8; }
.obs-map-tile.heat-3 { background: #9FBA99; }
.obs-map-tile.heat-4 { background: var(--color-brand); color: #fff; }
.obs-map-tile.selected { box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-brand-dark); }

.obs-map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--color-text-soft);
}
.obs-map-legend span.swatch {
  width: 14px; height: 14px; border-radius: 4px; display: inline-block;
}

/* Card lateral com o detalhe da região selecionada */
.obs-state-detail {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.obs-state-detail h3 { margin: 0 0 12px; font-size: 18px; }

/* ---------- Barras horizontais ---------- */

.obs-bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--color-surface-muted);
  overflow: hidden;
}
.obs-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-brand-accent), var(--color-brand));
  width: 0;
  transition: width 0.8s cubic-bezier(0.25, 0.9, 0.3, 1);
}
.obs-bar-fill.amber { background: linear-gradient(90deg, #E7C889, var(--color-status-processo)); }

.obs-ranking-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- Split bar (comparativo de proporções) ---------- */

.obs-split { margin: 10px 0 4px; }
.obs-split-bar {
  display: flex;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.obs-split-bar > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 52px;
}
.obs-split-a { background: var(--color-brand); }
.obs-split-b { background: var(--color-status-processo); }
.obs-split-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--color-text-muted);
}

/* Distribuições simples (porte, idade) */
.obs-dist { display: flex; flex-direction: column; gap: 12px; }
.obs-dist-row { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 12px; font-size: 13.5px; }
.obs-dist-row .obs-ranking-value { font-size: 13px; }

/* ---------- Linha do tempo ---------- */

.obs-timeline {
  position: relative;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.obs-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-border);
}
.obs-timeline-item { position: relative; }
.obs-timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-brand);
  border: 2px solid var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-border);
}
.obs-timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-brand-dark);
}
.obs-timeline-item h3 { margin: 2px 0 4px; font-size: 15.5px; }
.obs-timeline-item p { margin: 0; font-size: 13.5px; color: var(--color-text-muted); line-height: 1.55; }

/* Variante horizontal: leis lado a lado, ocupando a largura toda e com
   altura menor. A "linha do tempo" vira uma régua no topo das colunas. */
.obs-timeline--row {
  flex-direction: row;
  padding-left: 0;
  gap: 24px;
}
.obs-timeline--row::before {
  left: 6px;
  right: 6px;
  top: 5px;
  bottom: auto;
  width: auto;
  height: 2px;
}
.obs-timeline--row .obs-timeline-item {
  flex: 1;
  padding-top: 20px;
}
.obs-timeline--row .obs-timeline-item::before {
  left: 0;
  top: 0;
}
.obs-timeline--row .obs-timeline-item h3 { margin: 4px 0; }
@media (max-width: 720px) {
  .obs-timeline--row { flex-direction: column; padding-left: 26px; gap: 22px; }
  .obs-timeline--row::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .obs-timeline--row .obs-timeline-item { padding-top: 0; }
  .obs-timeline--row .obs-timeline-item::before { left: -25px; top: 4px; }
}

/* ---------- Linha do tempo das leis (criativa + interativa) ---------- */
/* Cada marco tem uma cor (na paleta), um dot que "pula" e um card com tom
   suave da cor. A linha "desenha" quando a seção entra na tela. Toda a
   animação é feita com transform/opacity (GPU) e dispara uma única vez via
   IntersectionObserver — zero custo contínuo. */
.obs-lei-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 8px;
}
/* trilho + progresso colorido (dois pseudo-elementos sobrepostos) */
.obs-lei-line::before,
.obs-lei-line::after {
  content: "";
  position: absolute;
  left: 16.66%;
  right: 16.66%;
  top: 25px;
  height: 3px;
  border-radius: 3px;
}
.obs-lei-line::before { background: var(--color-border); }
.obs-lei-line::after {
  background: linear-gradient(90deg, #C98A2C, #527353 55%, #6E9256);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.obs-lei-line.revealed::after { transform: scaleX(1); }

.obs-lei {
  position: relative;
  padding-top: 56px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 130ms);
}
.obs-lei-line.revealed .obs-lei { opacity: 1; transform: none; }

.obs-lei-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, var(--color-surface));
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateX(-50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i) * 130ms + 180ms);
  z-index: 1;
}
.obs-lei-line.revealed .obs-lei-dot { transform: translateX(-50%) scale(1); }
.obs-lei-ic { font-size: 18px; line-height: 1; }

.obs-lei-body {
  background: color-mix(in srgb, var(--accent) 6%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--color-border));
  border-radius: 14px;
  padding: 14px 15px 13px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.obs-lei:hover .obs-lei-body {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 24%, transparent);
  border-color: var(--accent);
}
.obs-lei:hover .obs-lei-dot { transform: translateX(-50%) scale(1.12) rotate(-6deg); }
.obs-lei-ano {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: var(--accent);
  padding: 2px 11px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.obs-lei h4 { margin: 4px 0 6px; font-size: 15.5px; color: var(--color-text); }
.obs-lei p { margin: 0 0 8px; font-size: 13px; line-height: 1.55; color: var(--color-text-muted); }
.obs-lei .obs-fonte { font-size: 11px; }

@media (max-width: 720px) {
  .obs-lei-line { grid-template-columns: 1fr; gap: 16px; padding-top: 4px; padding-left: 46px; }
  .obs-lei-line::before,
  .obs-lei-line::after { left: 19px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .obs-lei-line::after { transform: scaleY(0); transform-origin: top; }
  .obs-lei-line.revealed::after { transform: scaleY(1); }
  .obs-lei { padding-top: 0; }
  .obs-lei-body { text-align: left; }
  .obs-lei-dot { top: 2px; left: -46px; transform: scale(0); }
  .obs-lei-line.revealed .obs-lei-dot { transform: scale(1); }
  .obs-lei:hover .obs-lei-dot { transform: scale(1.12) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .obs-lei, .obs-lei-dot, .obs-lei-line::after { transition: none !important; }
}

/* ---------- Painéis (cartões de seção) ---------- */

.obs-panel {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 32px);
}
.obs-panel + .obs-panel { margin-top: 20px; }
.obs-panel h3 { margin: 0 0 16px; font-size: 17px; }

/* ---------- CTA final ---------- */

.obs-cta {
  text-align: center;
  background: var(--color-brand-soft);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 52px) 24px;
  margin-top: 56px;
}
.obs-cta h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.obs-cta p { margin: 0 auto 22px; max-width: 48ch; color: var(--color-text-muted); font-size: 15px; }
.obs-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Nota de transparência ---------- */

.obs-disclaimer {
  margin-top: 40px;
  text-align: center;
  font-size: 12.5px;
  color: var(--color-text-soft);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

/* ---------- Fonte dos dados (selo padrão) ---------- */

.obs-fonte {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-soft);
  letter-spacing: 0.01em;
}

/* ---------- Número-herói (hero com dado gigante) ---------- */

.obs-big-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 9vw, 110px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FCFAF4;
  font-variant-numeric: tabular-nums;
  cursor: default;
  overflow-wrap: anywhere;
}
.obs-big-caption {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(244, 241, 230, 0.85);
  margin: 8px 0 4px;
  max-width: 40ch;
}
/* No hover, o número revela uma comparação que dá escala ao dado. */
.obs-big-wrap .obs-big-alt {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand-accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.obs-big-wrap:hover .obs-big-alt,
.obs-big-wrap:focus-within .obs-big-alt {
  opacity: 1;
  transform: translateY(0);
}
.obs-hero .obs-fonte { color: rgba(244, 241, 230, 0.6); }

/* ---------- Cards que viram (fato na frente, fonte no verso) ---------- */

.obs-flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.obs-flip {
  appearance: none;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  perspective: 1000px;
  min-height: 200px;
}
.obs-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.3, 0.9, 0.3, 1);
}
/* Vira no hover (desktop) ou quando .flipped é alternada no clique/toque. */
.obs-flip:hover .obs-flip-inner,
.obs-flip.flipped .obs-flip-inner {
  transform: rotateY(180deg);
}

.obs-flip-front,
.obs-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.obs-flip-front {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.obs-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, var(--color-brand-dark), #2C4029);
  color: #F4F1E6;
}
.obs-flip-back p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; }
.obs-flip-back .obs-fonte { color: var(--color-brand-accent); }

.obs-flip-icon { font-size: 24px; }
.obs-flip-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--color-brand-dark);
}
.obs-flip-label { font-size: 13.5px; font-weight: 600; color: var(--color-text-muted); line-height: 1.45; }
.obs-flip-hint {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Mapa da rede (aceso onde tem ONG) + tooltip ---------- */

.obs-map-tile { position: relative; transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.2s ease; }

.obs-map-tile.apagado {
  background: var(--color-surface-muted);
  color: var(--color-text-soft);
}
.obs-map-tile.lit {
  background: var(--color-brand);
  color: #fff;
}
/* Anel de radar: o estado aceso pulsa devagar, como um farol da rede. */
.obs-map-tile.lit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(82, 115, 83, 0.55);
  animation: obs-radar 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes obs-radar {
  0% { box-shadow: 0 0 0 0 rgba(82, 115, 83, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(82, 115, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 115, 83, 0); }
}

.obs-map-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #C98A2C;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--color-offwhite);
}

.obs-uf-orgs {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--color-text-muted);
}

.obs-tooltip {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  background: var(--color-text);
  color: #FCFAF4;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-card-hover);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  max-width: 220px;
}
.obs-tooltip.visible { opacity: 1; transform: translateY(0); }

/* Painel da região selecionada */
.obs-regiao-share {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--color-brand-dark);
  margin: 4px 0;
}
.obs-regiao-desc { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--color-text-muted); }
.obs-regiao-ufs { margin: 0 0 12px; font-size: 12px; color: var(--color-text-soft); line-height: 1.6; }

/* Split com hover que dá zoom no lado apontado */
.obs-split-bar > div { transition: flex-grow 0.3s ease, filter 0.2s ease; cursor: default; }
.obs-split-bar > div:hover { filter: brightness(1.12); }

/* ---------- Retrato do abandono (donut animado) ---------- */

.obs-abandono {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 640px) { .obs-abandono { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.obs-abandono-graf { position: relative; width: 100%; max-width: 280px; margin: 0 auto; }
.obs-donut { width: 100%; height: auto; display: block; overflow: visible; }
.obs-donut-track { stroke: var(--color-surface-muted); }
.obs-donut-arc {
  stroke: url(#obsDonutGrad);
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 0.9, 0.3, 1);
  filter: drop-shadow(0 4px 10px rgba(201, 122, 44, 0.28));
}
.obs-abandono.revelado .obs-donut-arc { stroke-dashoffset: 0 !important; }

.obs-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.obs-donut-num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 36px);
  line-height: 1;
  color: var(--color-brand-dark);
  font-variant-numeric: tabular-nums;
}
.obs-donut-u { font-size: 0.5em; color: #C97A2C; }
.obs-donut-cap { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #C97A2C; }

.obs-abandono-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.05;
  color: var(--color-text);
}
.obs-abandono-big span { color: #C97A2C; }

.obs-abandono-paws { display: inline-flex; gap: 6px; margin: 12px 0; }
.obs-abandono-paw {
  width: 24px;
  height: 24px;
  color: #B7BFA9;
  opacity: 0;
  transform: scale(0.4) translateY(8px);
}
.obs-abandono-paw.ab { color: #C97A2C; }
.obs-abandono-paw svg { width: 100%; height: 100%; display: block; }
.obs-abandono.revelado .obs-abandono-paw { animation: obs-paw-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d) forwards; }
@keyframes obs-paw-pop { to { opacity: 1; transform: none; } }
.obs-abandono.revelado .obs-abandono-paw.ab { animation: obs-paw-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d) forwards, obs-paw-float 3.2s ease-in-out calc(var(--d) + 900ms) infinite; }
@keyframes obs-paw-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-6deg); } }

.obs-abandono-texto p { margin: 4px 0 12px; font-size: 15px; line-height: 1.6; color: var(--color-text-muted); }
.obs-abandono-texto p strong { color: var(--color-text); }

@media (prefers-reduced-motion: reduce) {
  .obs-donut-arc { transition: none; }
  .obs-abandono-paw { animation: none !important; opacity: 1; transform: none; }
}

/* =========================================================
   Componentes — dados públicos
   ========================================================= */

/* ---------- Hero: grade de números (revela no scroll) ---------- */

/* 9 números em 3×3 no desktop — nenhum card sobra sozinho. */
.obs-num-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 4px;
}

.obs-num-card {
  position: relative;
  background: rgba(244, 241, 230, 0.08);
  border: 1px solid rgba(244, 241, 230, 0.18);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.4, 0.5, 1);
  /* Cascata "piano": cada card entra um pouquinho depois do anterior. */
  transition-delay: calc(var(--i) * 70ms);
}
.obs-num-card.in { opacity: 1; transform: none; }
.obs-num-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; }
.obs-num-card.cor-brand::before { background: var(--color-brand-accent); }
.obs-num-card.cor-amber::before { background: #E7C889; }
.obs-num-card.cor-danger::before { background: #D98A8D; }
.obs-num-value { display: flex; align-items: baseline; gap: 3px; }
.obs-num-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 50px);
  line-height: 1;
  color: #FCFAF4;
  font-variant-numeric: tabular-nums;
}
.obs-num-u { font-family: var(--font-display); font-weight: 800; font-size: 0.5em; color: rgba(244, 241, 230, 0.7); }
.obs-num-label { margin: 10px 0 12px; font-size: 13.5px; line-height: 1.5; color: rgba(244, 241, 230, 0.82); }
.obs-num-label strong { color: #E7C889; font-weight: 700; }
.obs-num-fonte { font-size: 10.5px; font-weight: 600; color: rgba(244, 241, 230, 0.5); }

.obs-carousel-dots { display: flex; justify-content: center; gap: 8px; margin: 4px 0 0; }
.obs-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(244, 241, 230, 0.3); cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease; }
.obs-dot.on { background: var(--color-brand-accent); transform: scale(1.35); }

/* Reação de bichinhos ao clicar num estado do mapa (estilo react de live). */
.obs-react-layer { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.obs-react {
  position: fixed;
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform, opacity;
  animation: obs-react-float 1.5s cubic-bezier(0.22, 0.9, 0.3, 1) var(--delay, 0ms) forwards;
}
@keyframes obs-react-float {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(0); }
  18% { opacity: 1; transform: translate(-50%, -95%) scale(1.1) rotate(var(--rot)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -260%) scale(0.95) rotate(var(--rot)); }
}

/* ---------- Mapa: lista rolável por estado ---------- */

.obs-uf-list-wrap {
  background: linear-gradient(180deg, var(--color-surface), var(--color-offwhite));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px 8px 10px 16px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.obs-uf-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding-bottom: 10px;
  margin: 0 8px 4px 0;
  border-bottom: 1px solid var(--color-border);
}
.obs-uf-list {
  list-style: none;
  margin: 0;
  padding: 4px 8px 0 0;
  flex: 1 1 0;
  min-height: 0;         /* deixa a lista preencher a altura do mapa e rolar */
  overflow-y: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  /* referência p/ item.offsetTop no scroll ao clicar num estado do mapa */
  position: relative;
}
.obs-uf-item {
  display: grid;
  /* colunas flexíveis (minmax 0) pra % nunca vazar do componente em telas estreitas */
  grid-template-columns: 26px minmax(0, 88px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.obs-uf-item + .obs-uf-item { border-top: 1px solid rgba(216, 217, 202, 0.5); }
.obs-uf-item:hover { background: var(--color-surface-muted); }
.obs-uf-item.active {
  background: var(--color-brand-soft);
  box-shadow: inset 3px 0 0 var(--color-brand);
  border-top-color: transparent;
}
.obs-uf-rank { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--color-text-soft); text-align: center; }
.obs-uf-item.top .obs-uf-rank { font-size: 17px; }
.obs-uf-nome { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obs-uf-bar { height: 9px; border-radius: 999px; background: var(--color-surface-muted); overflow: hidden; }
.obs-uf-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-brand-accent), var(--color-brand));
  transform-origin: left;
  animation: obs-bar-grow 0.7s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
@keyframes obs-bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.obs-uf-item.active .obs-uf-bar-fill { background: linear-gradient(90deg, #E7C889, #C98A2C); }
.obs-uf-pct { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--color-brand-dark); }

/* ---------- Cards de estatística (abandono + governo) ---------- */

.obs-stat-grid, .obs-gov-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.obs-gov-stats { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.obs-stat-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.obs-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
/* Faixa de cor no topo (na paleta) — os dois marcos ganham acento distinto. */
.obs-gov-stats .obs-stat-card { --accent: var(--color-brand); }
.obs-gov-stats .obs-stat-card:nth-child(1) { --accent: #C98A2C; }
.obs-gov-stats .obs-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}
.obs-gov-stats .obs-stat-card {
  background: color-mix(in srgb, var(--accent) 5%, var(--color-surface));
}
.obs-gov-stats .obs-stat-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--color-border)); }
.obs-gov-stats .obs-stat-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, var(--color-surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.obs-gov-stats .obs-stat-value { color: var(--accent); font-variant-numeric: tabular-nums; }
.obs-stat-icon { font-size: 26px; display: block; margin-bottom: 8px; }
.obs-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.05;
  color: var(--color-brand-dark);
  font-variant-numeric: tabular-nums;
}
.obs-stat-card p { margin: 6px 0 10px; font-size: 13.5px; line-height: 1.5; color: var(--color-text-muted); }
.obs-stat-card p strong { color: var(--color-text); }

/* ---------- Denúncia (conscientização) ---------- */

.obs-denuncia {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 20px;
  background: linear-gradient(150deg, #FBEDED, #F6E0E1);
  border: 1px solid #EAC7C8;
  border-radius: var(--radius-lg);
  padding: 22px clamp(18px, 3vw, 28px);
}
.obs-denuncia-icon { font-size: 34px; line-height: 1; flex-shrink: 0; }
.obs-denuncia-body strong { font-family: var(--font-display); font-size: 18px; color: #8a2f33; }
.obs-denuncia-body p { margin: 4px 0 12px; font-size: 14px; color: #6b4c4d; line-height: 1.55; }
.obs-denuncia-canais { display: flex; flex-wrap: wrap; gap: 8px; }
.obs-denuncia-canal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #EAC7C8;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12.5px;
  color: #6b4c4d;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.obs-denuncia-canal:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 47, 51, 0.18);
}
.obs-denuncia-canal strong { color: #8a2f33; font-size: inherit; }

/* ---------- Mural de reencontros ---------- */

.obs-reencontros { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: thin; }
.obs-reencontro { flex: 0 0 210px; scroll-snap-align: start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.obs-reencontro-foto { position: relative; aspect-ratio: 4 / 3; background: var(--color-brand-soft); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.obs-reencontro-foto img { width: 100%; height: 100%; object-fit: cover; }
.obs-carimbo { position: absolute; top: 10px; right: -6px; background: #B96468; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; padding: 5px 14px; border-radius: 6px; transform: rotate(-8deg); box-shadow: 0 3px 8px rgba(185, 100, 104, 0.4); }
.obs-reencontro-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.obs-reencontro-body strong { font-size: 15px; color: var(--color-text); }
.obs-reencontro-espera { font-size: 12.5px; font-weight: 600; color: var(--color-brand-dark); }
.obs-vazio { margin: 4px 0; font-size: 14px; color: var(--color-text-muted); }

/* ---------- CTA final com bolhas líquidas ---------- */

.obs-cta--bolhas { position: relative; overflow: hidden; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.obs-bolhas { position: absolute; inset: 0; z-index: 0; }
.obs-bolha {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-surface);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px rgba(28, 33, 23, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}
.obs-bolha:hover { box-shadow: 0 8px 22px rgba(28, 33, 23, 0.24), 0 0 0 3px var(--color-brand-accent); }
/* Bolha capturada pelo cursor: destaca-se e fica firme → alvo de clique claro. */
.obs-bolha.held {
  z-index: 5;
  box-shadow: 0 10px 26px rgba(28, 33, 23, 0.32), 0 0 0 4px var(--color-brand-accent);
}
.obs-bolha.held img { transform: scale(1.06); transition: transform 0.18s ease; }
.obs-bolha img { width: 100%; height: 100%; object-fit: cover; }
.obs-bolha-emoji { font-size: calc(var(--r) * 0.95); line-height: 1; }
.obs-cta-conteudo { position: relative; z-index: 1; pointer-events: none; }
.obs-cta-conteudo .btn { pointer-events: auto; }
.obs-cta--bolhas h2, .obs-cta--bolhas p { text-shadow: 0 1px 12px var(--color-brand-soft), 0 1px 3px var(--color-brand-soft); }

/* ---------- Lista de fontes ---------- */

/* ---------- Bloco de referências (logos) + nota ---------- */

.obs-ref-bloco {
  margin-top: 48px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
}
.obs-ref-titulo { font-size: 22px; margin: 0 0 4px; }
.obs-ref-sub { margin: 0 0 20px; font-size: 14px; color: var(--color-text-muted); max-width: 60ch; }

.obs-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.obs-ref-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0; /* deixa o item do grid encolher → o texto usa reticências em vez de vazar */
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-offwhite);
  color: var(--color-text);
  cursor: default;
}
.obs-ref-logo-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.obs-ref-logo { width: 24px; height: 24px; object-fit: contain; display: block; }
.obs-ref-logo--emoji { width: auto; height: auto; font-size: 20px; align-items: center; justify-content: center; }
.obs-ref-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.obs-ref-txt strong { font-size: 13.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obs-ref-txt span { font-size: 11.5px; color: var(--color-text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.obs-ref-nota {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--color-border);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--color-text-soft);
}
/* Menos espaço entre o bloco de fontes e o rodapé. */
.obs-ref-bloco { margin-bottom: 0; }
body[data-obs-page] .site-main { padding-bottom: 24px; }

/* ---------- Mapa real do Brasil (malha IBGE) ---------- */

.obs-map-real-col {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* mapa centralizado na altura do painel */
}
.obs-map-real {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(28, 33, 23, 0.12));
}
.obs-map-real svg { width: 100%; height: auto; display: block; overflow: visible; }
.obs-uf-path {
  stroke: var(--color-offwhite);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.obs-uf-path:hover { filter: brightness(1.08) drop-shadow(0 2px 6px rgba(28, 33, 23, 0.28)); }
.obs-uf-path.sel { stroke: var(--color-brand-dark); stroke-width: 2.4; filter: drop-shadow(0 3px 8px rgba(28, 33, 23, 0.3)); }
.obs-map-real.obs-map-fail { display: flex; align-items: center; justify-content: center; min-height: 160px; }

/* ---------- Projetos em tramitação ---------- */

.obs-tramita-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.obs-tramita-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.obs-tramita-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.obs-tramita-status { font-size: 11px; font-weight: 700; color: var(--color-brand-dark); letter-spacing: 0.02em; }
.obs-tramita-pl { font-size: 11.5px; font-weight: 700; color: var(--color-text-soft); font-variant-numeric: tabular-nums; }
.obs-tramita-card strong { font-family: var(--font-display); font-size: 16px; margin-top: 2px; }
.obs-tramita-card p { margin: 4px 0 8px; font-size: 13px; line-height: 1.5; color: var(--color-text-muted); }
.obs-tramita-link { margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--color-brand-dark); }

/* ---------- Engaje-se ---------- */

.obs-engaje { margin-top: 20px; }
.obs-engaje > h3 { font-size: 18px; margin: 0 0 14px; }
.obs-engaje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.obs-engaje-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, #EEF4EA, #E1EBD9);
  border: 1px solid var(--color-brand-soft);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.obs-engaje-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.obs-engaje-ic { font-size: 28px; line-height: 1; }
.obs-engaje-card strong { font-family: var(--font-display); font-size: 16px; margin-top: 4px; }
.obs-engaje-card p { margin: 2px 0 10px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
.obs-engaje-cta {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: var(--color-brand);
  padding: 6px 14px;
  border-radius: 999px;
}
.obs-engaje-card:hover .obs-engaje-cta { background: var(--color-brand-dark); }

/* ---------- Fatos do abandono (lista, não caixinhas) ---------- */

.obs-fatos-lista {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}
.obs-fato-linha {
  display: grid;
  grid-template-columns: 44px minmax(96px, auto) 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}
.obs-fato-linha + .obs-fato-linha { border-top: 1px solid var(--color-border); }
.obs-fato-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.obs-fato-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1;
  color: #C97A2C;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.obs-fato-num small { font-size: 0.5em; color: var(--color-text-soft); }
.obs-fato-txt { font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
.obs-fato-fonte { display: block; font-size: 11.5px; color: var(--color-text-soft); margin-top: 2px; }


/* =========================================================
   Mobile (mobile-first: aqui ficam só os ajustes de telas
   estreitas; o layout base acima já vale pro desktop).
   ========================================================= */

@media (max-width: 760px) {
  .site-main { padding: 20px 16px 56px; }

  .obs-hero { padding: 28px 22px; }
  .obs-hero-actions { flex-direction: column; align-items: stretch; }
  .obs-hero-actions .btn { width: 100%; }

  .obs-section { margin-top: 36px; }
  .obs-section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .obs-section-head h2 { font-size: 21px; }

  /* Mapa e painel lateral empilham; o mapa ganha respiro e centraliza. */
  .obs-map-wrap { grid-template-columns: 1fr; gap: 18px; }
  .obs-map-real { max-width: 320px; }

  .obs-panel { padding: 18px 16px; }
  .obs-panel h3 { font-size: 15.5px; }

  /* Split: garante que os rótulos não espremam a barra. */
  .obs-split-bar { height: 40px; font-size: 12.5px; }

  /* Distribuição por região: colunas fixas menores pra caber. */
  .obs-dist-row { grid-template-columns: 78px 1fr 44px; gap: 8px; font-size: 13px; }

  .obs-flip { min-height: 190px; }
  .obs-flip-inner { min-height: 190px; }

  .obs-cta { margin-top: 40px; padding: 32px 20px; }
  .obs-cta-actions { flex-direction: column; align-items: stretch; }
  .obs-cta-actions .btn { width: 100%; }

  /* Dados públicos no mobile */
  .obs-num-grid { grid-template-columns: 1fr; gap: 12px; }
  .obs-stat-value { font-size: 28px; }
  .obs-uf-list { max-height: 300px; }
  .obs-uf-item { grid-template-columns: 26px 78px 1fr 44px; gap: 8px; }
  .obs-denuncia { flex-direction: column; gap: 12px; }
  .obs-reencontro { flex-basis: 180px; }
  .obs-ref-grid { grid-template-columns: 1fr; gap: 10px; }
  .obs-fato-linha { grid-template-columns: 40px 1fr; gap: 8px 12px; padding: 14px 16px; }
  .obs-fato-txt { grid-column: 1 / -1; }
  .obs-engaje-grid { grid-template-columns: 1fr 1fr; }
  /* Empurra o conteúdo pra cima e abre uma faixa embaixo só para as bolhas,
     para elas descansarem sem tampar o texto no mobile. */
  .obs-cta--bolhas { min-height: 620px; padding-bottom: 210px; align-items: flex-start; padding-top: 40px; }
}

@media (max-width: 400px) {
  .obs-engaje-grid { grid-template-columns: 1fr; }
}

