/* =========================================================
   Patinhas — Design system
   Paleta e tipografia inspiradas em um protótipo feito no Lovable
   (tons de verde-sálvia + creme, fontes Syne + Plus Jakarta Sans).
   ========================================================= */

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

  /* Cor de marca (verde-sálvia) */
  --color-brand: #527353;
  --color-brand-dark: #3F5B41;
  --color-brand-soft: #DBE5D2;
  --color-brand-accent: #9FBA99;

  /* Cores de status (colunas do Kanban) */
  --color-status-disponivel: #6FA671;
  --color-status-disponivel-bg: #DBE5D2;
  --color-status-processo: #C98A2C;
  --color-status-processo-bg: #F6E6C8;
  --color-status-adotado: #B96468;
  --color-status-adotado-bg: #F0DBDA;

  --color-danger: #C92F33;
  --color-danger-bg: #F8E1E1;

  /* Espaçamento e forma */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --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);
  --shadow-modal: 0 24px 64px rgba(28, 33, 23, 0.28);

  --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 (ver media queries). */
  --content-max: 1240px;
}
/* Telas grandes: o conteúdo respira mais em vez de travar em 1240px. */
@media (min-width: 1500px) { :root { --content-max: 1400px; } }
@media (min-width: 1800px) { :root { --content-max: 1520px; } }

* { 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-display {
  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;
}

/* ---------- Layout geral ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* Em telas largas o conteúdo do header acompanha a coluna central (1240px)
     em vez de grudar na borda — 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;
}

/* Header e hero do site público usam um cursor de patinha, pra reforçar a
   identidade visual (só decorativo — não afeta usabilidade/acessibilidade).
   Escopado às páginas públicas via .cursor-paw (não entra no admin). */
.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; }


.about-hero-logo {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.about-hero-logo img {
  width: clamp(200px, 34vw, 340px);
  height: auto;
  margin: 0 auto 4px;
  transform-origin: 50% 60%;
}
/* O pingo do "i" do logo já é uma patinha. Ao passar o mouse, os quatro
 * dedinhos surgem um a um por cima dela (só decorativo). As posições são % da
 * caixa do logo → acompanham o tamanho responsivo. */
.about-toes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-toe {
  position: absolute;
  width: 1.9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #4a6542;
  box-shadow: 0 0 4px rgba(74, 101, 66, 0.5);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}
/* Arco dos quatro dedos sobre a patinha do "i" (centros em % do logo novo). */
/* Centrados sobre o pingo do "i" (patinha), cujo centro está em 45,1%. */
.about-toe-1 { left: 42.85%; top: 20.5%; }
.about-toe-2 { left: 44.35%; top: 16.3%; }
.about-toe-3 { left: 45.85%; top: 16.3%; }
.about-toe-4 { left: 47.35%; top: 20.5%; }
@keyframes about-toe-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.about-hero-logo:hover .about-toe { animation: about-toe-pop 0.4s ease-out forwards; }
.about-hero-logo:hover .about-toe-1 { animation-delay: 0s; }
.about-hero-logo:hover .about-toe-2 { animation-delay: 0.14s; }
.about-hero-logo:hover .about-toe-3 { animation-delay: 0.28s; }
.about-hero-logo:hover .about-toe-4 { animation-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
  .about-hero-logo:hover .about-toe { animation: none; opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.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);
}

/* Ao passar o mouse no logo: o próprio logo dá um wiggle suave e três
 * pegadas âmbar saem pela direita em sequência, como um rastro — só
 * decorativo, some de novo quando o mouse sai. Parado o resto do tempo. */
.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-wrap:hover .brand-logo {
  animation: logo-wiggle 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes 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;
}
/* Rastro de pegadas saindo por trás do logo, indo pra direita. */
.logo-paw-1 { left: auto; right: -6px; bottom: 3px; }
.logo-paw-2 { left: auto; right: -17px; bottom: -4px; }
.logo-paw-3 { left: auto; right: -28px; bottom: -11px; }

@keyframes 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: logo-paw-pop 1s ease-out forwards; }
.logo-wrap:hover .logo-paw-2 { animation: logo-paw-pop 1s ease-out 0.15s forwards; }
.logo-wrap:hover .logo-paw-3 { animation: logo-paw-pop 1s ease-out 0.3s forwards; }

.admin-org-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  margin-left: 4px;
}
.admin-org-badge-tag {
  background: var(--color-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
}
.admin-org-badge-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Os links de navegação ficam antes do botão no desktop. */
.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;
  }
}

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

.page-intro {
  margin-bottom: 24px;
}

.page-intro h1 {
  font-size: 26px;
  margin: 0 0 6px;
}

.page-intro p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  /* respiro extra embaixo pra os últimos textos não colarem no fim da janela */
  padding: 22px max(28px, calc((100% - var(--content-max)) / 2 + 20px)) 32px;
  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; }
}

/* ---------- Páginas legais (Termos / Privacidade) ---------- */

.legal {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 6px;
}
.legal .legal-updated {
  color: var(--color-text-soft);
  font-size: 13px;
  margin: 0 0 28px;
}
.legal h2 {
  font-size: 18px;
  margin: 30px 0 8px;
}
.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.legal p { margin: 0 0 12px; }
.legal ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.legal li { margin-bottom: 6px; }
.legal a { color: var(--color-brand-dark); font-weight: 600; }
.legal strong { color: var(--color-text); }
.legal .legal-intro {
  font-size: 16px;
  color: var(--color-text);
}

.auth-consent,
.interest-consent {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.auth-consent a,
.interest-consent a { color: var(--color-brand-dark); font-weight: 600; }

/* Checkboxes de consentimento (LGPD) no formulário de interesse e no cadastro. */
.interest-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 6px;
}
.check-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text-muted);
  cursor: pointer;
}
.check-consent input { margin-top: 2px; flex-shrink: 0; accent-color: var(--color-brand); }
.check-consent a { color: var(--color-brand-dark); font-weight: 600; }

/* ---------- Cards de resumo (dashboard da ONG) ---------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.stat-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.stat-card--link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-brand);
}

.stat-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: var(--color-brand-soft);
}
.stat-card-icon.disponivel { background: var(--color-status-disponivel-bg); }
.stat-card-icon.em_processo { background: var(--color-status-processo-bg); }
.stat-card-icon.adotado { background: var(--color-status-adotado-bg); }

.stat-card-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
}

.stat-card-label {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ---------- Hero (página pública) ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 56px;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.12;
  margin: 0 0 18px;
}
.hero-title em {
  font-style: normal;
  color: var(--color-brand-dark);
}

@media (max-width: 520px) {
  .hero-title { font-size: 32px; }
}

.hero-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin: 0 0 26px;
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.stat-pill:hover {
  border-color: var(--color-brand);
  transform: translateY(-1px);
}

.stat-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.hero-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-surface-muted);
  transform: perspective(600px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.hero-tile.tilting {
  transition: box-shadow 0.35s ease;
  box-shadow: var(--shadow-card-hover);
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tile.tile-a { margin-top: 28px; }
.hero-tile.tile-d { margin-top: -28px; }

/* ---------- Seção do quadro (mural) ---------- */

.mural-panel {
  margin: 12px 0 0;
  padding: 32px clamp(20px, 4vw, 40px) 40px;
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

/* No mobile o mural deixa de ser uma "caixa" e passa a ocupar a largura toda
   da tela — sem fundo, borda ou cantos arredondados —, dando mais espaço para
   as colunas do kanban, que estavam apertadas. Os textos e filtros ganham um
   respiro lateral próprio; só o carrossel de colunas usa a largura completa. */
@media (max-width: 640px) {
  .mural-panel {
    /* full-bleed: a margem -20 cancela o padding do .site-main, e o padding de
       20 devolve o mesmo respiro lateral do resto da página para todos os
       filhos (título, chips, filtro). Só o carrossel sangra esses 20 de volta. */
    margin: 12px -20px 0;
    padding: 24px 20px 8px;
    background: transparent;
    border: none;
    border-radius: 0;
  }
}

.board-intro {
  margin: 0 0 24px;
}

.mural-intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.mural-intro-row .board-intro,
.mural-intro-row .kanban-flow {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .mural-intro-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.board-intro h1,
.board-intro h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 4px;
}
.board-intro p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14.5px;
}

/* ---------- FAQ (accordion) ---------- */

.faq-section {
  margin: 40px 0 0;
  padding: 32px clamp(20px, 4vw, 40px) 40px;
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  scroll-margin-top: 90px;
}

/* Card destacado do vídeo tutorial no FAQ do abrigo. */
.faq-video-card {
  background: var(--color-brand-soft);
  border: 1px solid var(--color-brand-accent);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
  text-align: center;
  scroll-margin-top: 84px; /* não fica embaixo do header ao rolar até ele */
}
.faq-video-title { margin: 0 0 12px; font-size: 16.5px; color: var(--color-brand-dark); }
.faq-video-card video { display: block; margin: 0 auto; box-shadow: var(--shadow-card); }
.faq-video-caption { margin: 12px 0 0; font-size: 13.5px; color: var(--color-text-muted); }
.faq-video-link { color: var(--color-brand-dark); font-weight: 700; white-space: nowrap; }

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 4px 16px;
  margin-bottom: 10px;
}
.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 24px 14px 0;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: var(--color-text-muted);
}
.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- 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;
}

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

.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-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}
.btn-danger:hover { opacity: 0.85; }

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

/* CTA principal do produto — precisa se destacar mais que um botão comum. */
.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); }

/* "Quero adotar!" no card do pet: no hover vira um âmbar leve — chama mais
   atenção que o verde padrão sem destoar do resto da paleta. */
.pet-card-actions .btn-cta:hover {
  background: #F0A93E;
  box-shadow: 0 6px 18px rgba(240, 169, 62, 0.35);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary:disabled { opacity: 1; cursor: default; }

/* ---------- Indicação visual do fluxo (acima das colunas) ---------- */

.kanban-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.kanban-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--color-text);
}
.kanban-flow-step.disponivel { background: var(--color-status-disponivel-bg); }
.kanban-flow-step.em_processo { background: var(--color-status-processo-bg); }
.kanban-flow-step.adotado { background: var(--color-status-adotado-bg); }

.kanban-flow-arrow {
  color: var(--color-text-soft);
  font-size: 14px;
}

/* No mobile o fluxo À espera → Rumo ao lar → Família formada não cabe em uma
   linha só (cortava "Família formada"). Então quebra e centraliza, mostrando
   os três estágios por inteiro. Vale só no mobile — desktop não muda. */
@media (max-width: 640px) {
  .mural-intro-row {
    align-items: stretch;
  }
  .kanban-flow,
  .mural-intro-row .kanban-flow {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 8px;
    margin-top: 12px;
    width: 100%;
  }
  .kanban-flow-step {
    font-size: 11.5px;
    padding: 6px 11px;
    gap: 5px;
    white-space: nowrap;
  }
  .kanban-flow-arrow { font-size: 11px; }
}

/* ---------- Kanban ---------- */

.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .kanban-board {
    grid-template-columns: 1fr;
  }
}

/* Em telas de celular, trocamos o empilhamento vertical por um carrossel
   horizontal com scroll-snap — evita o scroll infinito de 3 colunas
   empilhadas e segue o padrão usado por apps como Trello mobile. */
@media (max-width: 640px) {
  .kanban-board {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Sangra os 20px de padding do .mural-panel para usar a largura toda, mas
       mantém 20px de gutter antes da 1ª coluna (padding + scroll-padding, para
       o scroll-snap não colar a coluna na borda). */
    margin: 0 -20px;
    padding: 0 20px;
    scroll-padding: 0 20px;
  }
  .kanban-board::-webkit-scrollbar {
    display: none;
  }
  .kanban-board .kanban-column {
    flex: 0 0 90%;
    scroll-snap-align: start;
  }
  .kanban-board {
    cursor: grab;
  }
  .kanban-board.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }
}

.kanban-dots {
  display: none;
}

@media (max-width: 640px) {
  .kanban-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
}

.kanban-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.kanban-dot.active {
  background: var(--color-brand);
  transform: scale(1.35);
}

.kanban-column {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 20px 16px 16px;
  min-height: 160px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(28, 33, 23, 0.04), 0 8px 20px rgba(28, 33, 23, 0.05);
  scroll-margin-top: 90px;
}

.kanban-column::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
}
.kanban-column[data-status="disponivel"]::before {
  background: var(--color-status-disponivel);
}
.kanban-column[data-status="em_processo"]::before {
  background: var(--color-status-processo);
}
.kanban-column[data-status="adotado"]::before {
  background: var(--color-status-adotado);
}

.kanban-column[data-status="disponivel"] .kanban-cards {
  background: color-mix(in srgb, var(--color-status-disponivel-bg) 45%, transparent);
}
.kanban-column[data-status="em_processo"] .kanban-cards {
  background: color-mix(in srgb, var(--color-status-processo-bg) 45%, transparent);
}
.kanban-column[data-status="adotado"] .kanban-cards {
  background: color-mix(in srgb, var(--color-status-adotado-bg) 45%, transparent);
}

.kanban-column.drag-over {
  outline: 2px dashed var(--color-brand);
  outline-offset: -6px;
}

.kanban-column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 16px;
}

.col-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.col-icon.disponivel { background: var(--color-status-disponivel-bg); }
.col-icon.em_processo { background: var(--color-status-processo-bg); }
.col-icon.adotado { background: var(--color-status-adotado-bg); }

.kanban-column-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  flex: 1;
}

.kanban-count {
  background: var(--color-surface-muted);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 80px;
  padding: 10px;
  margin: 0 -4px;
  border-radius: var(--radius-lg);
}

.kanban-empty {
  color: var(--color-text-soft);
  font-size: 13px;
  text-align: center;
  padding: 28px 8px;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
}
.kanban-empty::before {
  content: "🐾";
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
  opacity: 0.6;
}

/* ---------- Pet card ---------- */

.pet-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.pet-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.pet-card[draggable="true"] {
  cursor: grab;
}
.pet-card.dragging {
  opacity: 0.5;
}

.pet-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-muted)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C3CBB8'><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 / 40px no-repeat;
}

.pet-card-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Aparece suavemente quando a imagem lazy termina de carregar. */
  animation: petPhotoFadeIn 0.3s ease;
}

@keyframes petPhotoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pet-card-body {
  padding: 14px 16px 16px;
}

.pet-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.pet-card-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.pet-card-meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 3px 0 8px;
}

.pet-card-desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin: 0 0 12px;
  /* Sem line-clamp de propósito: o card cresce pra sempre mostrar a
     descrição inteira, em vez de cortar o texto no meio. */
}

.pet-card-org-pin {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(252, 250, 244, 0.92);
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(28, 33, 23, 0.12);
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pet-health-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.pet-health-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-brand-dark);
  background: var(--color-brand-soft);
  padding: 4px 9px;
  border-radius: 999px;
}

.stale-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--color-status-processo-bg);
  color: var(--color-text);
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin: 0 0 10px;
}
.stale-banner span {
  flex: 1;
  min-width: 160px;
}

.pet-card-quick-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pet-card-icon-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(252, 250, 244, 0.92);
  color: var(--color-text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(28, 33, 23, 0.12);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.pet-card-icon-btn:hover {
  background: var(--color-surface);
  transform: scale(1.06);
}
.pet-card-icon-btn--danger:hover {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

/* Tooltip customizado (mais rápido e consistente com o design system do
 * que o title nativo do navegador) — some tanto quanto se usa o mouse
 * quanto navegando por teclado. */
.pet-card-icon-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: calc(100% + 9px);
  transform: translateY(-50%) translateX(4px);
  background: rgba(28, 33, 23, 0.92);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}
.pet-card-icon-btn[data-tooltip]:hover::after,
.pet-card-icon-btn[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.pet-card-icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 999px;
  padding: 0 3px;
}

.pet-card-move {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border);
}

.pet-card-dates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--color-text-soft);
}

/* ♂/♀ ao lado do nome do pet */
.pet-gender {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}
.pet-gender--macho { color: #3B7DC4; }
.pet-gender--femea { color: #C64884; }
/* Sexo apenas sugerido pelo nome: mesma cor, um pouco mais suave. */
.pet-gender--suggested { opacity: 0.7; }

/* Botão de compartilhar no canto superior esquerdo da foto do pet */
.pet-card-share-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(252, 250, 244, 0.92);
  color: var(--color-text);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(28, 33, 23, 0.12);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.pet-card-share-btn:hover {
  background: var(--color-surface);
  transform: scale(1.06);
}

/* Selinho "novo" nos pets recém-cadastrados. */
.pet-card-new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #6E9256, #527353);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(28, 33, 23, 0.22);
  z-index: 2;
}

/* Card adotado: legenda "prova social" sobre a foto da nova família. */
.pet-card-family-cap {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(82, 115, 83, 0.92);
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(28, 33, 23, 0.28);
  z-index: 2;
}

/* ---- Celebração "família formada" (admin, ao mover pet p/ adotado) ---- */
.adopt-celebrate-layer {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  overflow: hidden;
}
.adopt-confetti {
  position: absolute;
  top: 0;
  will-change: transform, opacity;
  user-select: none;
}
.adopt-celebrate-badge {
  position: fixed;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  background: rgba(252, 250, 244, 0.97);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 22px 30px;
  box-shadow: 0 20px 50px rgba(28, 33, 23, 0.28);
}
.adopt-celebrate-badge span { font-size: 40px; line-height: 1; }
.adopt-celebrate-badge strong { font-family: var(--font-display); font-size: 22px; color: var(--color-brand-dark); }
.adopt-celebrate-badge small { font-size: 13px; color: var(--color-text-muted); }

/* Pré-visualização da descrição automática, no cadastro de pet — um
   componente de destaque em vez de um texto solto tipo .hint. */
.description-preview {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--color-surface-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.description-preview--filled {
  background: var(--color-brand-soft);
  border: 1px solid var(--color-brand-accent);
}
.description-preview-icon {
  font-size: 16px;
  line-height: 1.4;
}
.description-preview p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text);
}

/* Badge de contagem no título de um drawer (ex: "Interessados em Luna (3)") */
.drawer-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

/* ---------- Formulários ---------- */

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.field .hint {
  font-size: 12px;
  color: var(--color-text-soft);
  margin-top: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--color-input);
  color: var(--color-text);
}

select {
  background: var(--color-surface);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-soft);
  background: var(--color-surface);
}

textarea { resize: vertical; min-height: 80px; }

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.checkbox-inline {
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500 !important;
  color: var(--color-text) !important;
  cursor: pointer;
}

.checkbox-inline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-brand);
}

/* Chips de filtro (espécie, porte, saúde no mural) — botões que alternam,
 * multi-seleção, no lugar de dropdowns. Ativo = fundo verde da marca. */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.filter-chip:hover { background: var(--color-surface-muted); color: var(--color-text); border-color: var(--color-brand-accent); }
.filter-chip:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(82, 115, 83, 0.18); }
.filter-chip.active,
.filter-chip[aria-pressed="true"] {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(28, 33, 23, 0.12);
}

/* Menu de ações (ex: "⚙️ Conta" no header do admin) — mesmo painel do
 * .filter-dropdown, mas com itens de ação em vez de checkboxes. */
.dropdown-menu {
  position: relative;
  display: inline-block;
}

.dropdown-menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  /* largura já preparada pro confirmar/cancelar do "Sair" — sem pulo */
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card-hover);
  padding: 6px;
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: calc(var(--radius-sm) - 2px);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  color: var(--color-text);
  cursor: pointer;
}
.dropdown-menu-item:hover { background: var(--color-surface-muted); }
.dropdown-menu-item--danger { color: var(--color-danger); }
.dropdown-menu-item--danger:hover { background: var(--color-danger-bg); }

.icon-logout {
  vertical-align: -2px;
  margin-right: 2px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Central de Interessados ---------- */

.status-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  background: var(--color-surface-muted);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.status-tab {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: calc(var(--radius-md) - 4px);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.status-tab:hover {
  color: var(--color-text);
}
.status-tab.active {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}
.status-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-surface-muted), 0 0 0 4px var(--color-brand);
}

/* Cada aba já mostra a cor do grupo de status (mesma linguagem dos cards),
   pra dar pra reconhecer o fluxo de longe sem precisar clicar. */
.status-tab[data-status="novo"],
.status-tab[data-status="em_contato"],
.status-tab[data-status="em_triagem"],
.status-tab[data-status="aprovado"] {
  background: var(--color-status-processo-bg);
  color: #8A5A17;
}
.status-tab[data-status="adocao_concluida"] {
  background: var(--color-status-disponivel-bg);
  color: var(--color-brand-dark);
}
.status-tab[data-status="reprovado"] {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}
.status-tab[data-status="arquivado"] {
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
}
.status-tab[data-status].active {
  box-shadow: var(--shadow-card), inset 0 0 0 1.5px currentColor;
}

.interest-filters {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px 4px;
  margin-bottom: 24px;
}

/* ---- Filtro do mural = acordeão integrado ----
   O botão é o cabeçalho e o painel expande dentro do MESMO componente (não é
   uma caixa separada que aparece). Vale em qualquer tela. */
.mural-filter-accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.filters-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 15px 18px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.filters-toggle:hover { background: var(--color-surface-muted); }
.filters-toggle:focus-visible { outline: none; box-shadow: inset 0 0 0 2px rgba(82, 115, 83, 0.35); }
.filters-toggle-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--color-text-soft);
  background: var(--color-surface-muted);
  transition: transform 0.25s ease, color 0.15s ease, background-color 0.15s ease;
}
.filters-toggle:hover .filters-toggle-caret { background: var(--color-brand-soft); color: var(--color-brand-dark); }
.filters-toggle[aria-expanded="true"] .filters-toggle-caret { transform: rotate(180deg); color: #fff; background: var(--color-brand); }

/* O painel vira o corpo do acordeão: sem caixa própria, expande suave. */
.interest-filters.mural-filters {
  border: none;
  border-radius: 0;
  background: transparent;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  opacity: 0;
  transition: max-height 0.32s ease, padding 0.3s ease, opacity 0.25s ease;
}
.interest-filters.mural-filters.filters-open {
  /* Todos os campos numa linha só. Chips (espécie/porte/saúde) com largura de
     conteúdo pra não sobrar vão em branco; selects ocupam o espaço restante.
     Sem border-top: o painel é continuação do "Filtrar pets", não outra caixa. */
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px 18px;
  align-items: start;
  max-height: 1200px;
  padding: 16px 18px 18px;
  opacity: 1;
}
@media (max-width: 860px) {
  .interest-filters.mural-filters.filters-open { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mural-filters .field--clear { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .interest-filters.mural-filters { transition: none; }
}
.interest-filters .field {
  margin-bottom: 12px;
  min-width: 160px;
}
.interest-filters select,
.interest-filters input[type="date"] {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 8px;
}

/* ---- Filtro do mural: refino visual (referência shadcn/ui) ---- */
.mural-filters .field { margin: 0; min-width: 0; }
/* Chips empilhados (um sobre o outro) — mesmo padrão em espécie, porte e saúde,
   com respiro igual entre eles. */
.mural-filters .chip-group { flex-direction: column; align-items: flex-start; gap: 8px; }
.mural-filters .field > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  margin-bottom: 7px;
}
.mural-filters select {
  width: 100%;
  height: 38px;
  padding: 0 34px 0 12px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B8C7C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mural-filters select:hover { border-color: var(--color-brand-accent); }
.mural-filters select:focus-visible {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(82, 115, 83, 0.18);
}
.mural-filters select:disabled { opacity: 0.55; cursor: not-allowed; background-color: var(--color-surface-muted); }
/* "Limpar filtros" como ícone compacto (reset), alinhado com os selects. */
.mural-clear-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.mural-clear-btn:hover {
  color: var(--color-brand-dark);
  border-color: var(--color-brand-accent);
  background: var(--color-surface-muted);
}
.mural-clear-btn:active { transform: scale(0.94); }
.mural-clear-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(82, 115, 83, 0.18); }
@media (max-width: 860px) {
  .mural-filters .field--clear .mural-clear-btn { width: auto; padding: 0 18px; gap: 8px; }
  .mural-filters .field--clear .mural-clear-btn::after { content: "Limpar filtros"; font-size: 13px; font-weight: 600; }
}

.interest-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.interest-row {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.interest-row[data-status="novo"],
.interest-row[data-status="em_contato"],
.interest-row[data-status="em_triagem"],
.interest-row[data-status="aprovado"] {
  background: var(--color-status-processo-bg);
  border-color: var(--color-status-processo);
}

.interest-row[data-status="adocao_concluida"] {
  background: var(--color-status-disponivel-bg);
  border-color: var(--color-status-disponivel);
}

.interest-row[data-status="reprovado"] {
  background: var(--color-danger-bg);
  border-color: var(--color-danger);
}

.interest-row[data-status="arquivado"] {
  background: var(--color-surface-muted);
  border-color: var(--color-border);
  opacity: 0.7;
}

.interest-row-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15.5px;
}

.interest-row-pet {
  font-size: 13px;
  color: var(--color-text-muted);
}

.interest-row-contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-top: 6px;
}
.interest-row-contact a {
  color: var(--color-brand-dark);
  font-weight: 600;
}

.interest-row-message {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin: 8px 0 0;
}

.interest-row-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.interest-status-select {
  width: auto;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
}

.form-error {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}
.form-error.visible { display: block; }

.bulk-import-preview-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.bulk-import-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
.bulk-import-preview-table th,
.bulk-import-preview-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.bulk-import-preview-table thead th {
  background: var(--color-surface-muted);
  font-weight: 700;
}
.bulk-import-preview-table tbody tr:last-child td {
  border-bottom: none;
}

.form-success {
  background: var(--color-status-disponivel-bg);
  color: var(--color-brand-dark);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}
.form-success.visible { display: block; }

/* Contexto do pet no drawer de "Tenho interesse" — preenche o espaço vazio
   abaixo do formulário em telas altas e lembra quem é o bichinho. */
.interest-pet-context {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}
/* Foto grande no topo do drawer — ocupa a largura toda do painel (bem mais
   que "metade"), pra pessoa ver o pet com destaque antes de se interessar. */
.interest-pet-context-photo {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  background-color: var(--color-surface-muted);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/* Sem foto: mostra a patinha placeholder centralizada, menor. */
.interest-pet-context-photo--empty {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C3CBB8'><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>");
  background-size: 56px;
  background-position: center;
}
.interest-pet-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.interest-pet-headline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
}
.interest-pet-meta {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}
.interest-pet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.interest-pet-badges:empty { display: none; }
.interest-pet-context-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
}
.interest-pet-org {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-soft);
}

.org-form-note {
  background: var(--color-status-processo-bg);
  color: var(--color-text);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.org-form-note p {
  margin: 0 0 10px;
  line-height: 1.5;
}

/* ---------- Drawer (padrão único pra todo modal/lightbox do sistema) ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 33, 23, 0.45);
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  overflow-y: auto;
  z-index: 100;
}
.modal-overlay.open { display: flex; }

/* Enquanto um drawer/modal está aberto, o body é congelado (position:fixed) para
   travar o scroll da página atrás — só o conteúdo do drawer rola. A posição é
   restaurada por JS ao fechar. */
body.scroll-locked {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* Campo honeypot anti-spam: totalmente fora da tela, mas ainda "preenchível"
   por bots. Não usar display:none (alguns bots ignoram campos escondidos). */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal {
  background: var(--color-surface);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 480px;
  height: 100%;
  max-height: 100%;
  border-radius: 0;
  padding: 24px;
  overflow-y: auto;
  animation: drawer-in 0.25s ease;
}

@keyframes drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

#pet-modal .modal,
#profile-modal .modal {
  max-width: 520px;
}

/* No mobile o modal ocupa a largura toda (vira uma folha de tela cheia), em vez
   do drawer lateral usado no desktop. Os seletores com #id repetem o max-width
   para vencer a especificidade de "#pet-modal .modal" / "#profile-modal .modal". */
@media (max-width: 768px) {
  .modal,
  #pet-modal .modal,
  #profile-modal .modal {
    max-width: 100%;
    border-radius: 0;
  }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-header h2 {
  margin: 0;
  font-size: 19px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--color-text-soft);
  padding: 4px;
}
.modal-close:hover { color: var(--color-text); }

/* Popup "avise-me quando tiver um pet". */
#notify-modal .modal { max-width: 440px; }
.notify-head { text-align: center; margin-bottom: 16px; }
.notify-logo { height: 54px; width: auto; display: block; margin: 2px auto 14px; }
.notify-head h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.2; }
.notify-head p { margin: 0 auto; max-width: 40ch; font-size: 14px; color: var(--color-text-muted); }
#notify-modal .interest-checks { margin: 8px 0 14px; }

/* Preferências (opcionais) com cara mais bonita — chips visuais com emoji. */
.notify-prefs { margin: 6px 0 4px; }
.notify-prefs-title { display: block; font-size: 12.5px; font-weight: 700; color: var(--color-text-muted); margin-bottom: 10px; }
.notify-prefs-opt { font-weight: 500; color: var(--color-text-soft); }
.notify-field { margin-bottom: 12px; }
.notify-field-label { display: block; font-size: 12px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 6px; }
.notify-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.notify-seg-opt { position: relative; display: inline-flex; }
.notify-seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.notify-seg-opt span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.notify-seg-opt span:hover { border-color: var(--color-brand-accent); color: var(--color-text); }
.notify-seg-opt span:active { transform: scale(0.96); }
.notify-seg-opt input:checked + span {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(28, 33, 23, 0.12);
}
.notify-seg-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(82, 115, 83, 0.18); }
#notify-modal select {
  width: 100%;
  height: 38px;
  padding: 0 34px 0 12px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B8C7C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
#notify-modal select:focus-visible { outline: none; border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(82, 115, 83, 0.18); }

/* Bichinhos que sobem ao passar o mouse nos atalhos do popup. */
.notify-burst-layer { position: fixed; inset: 0; pointer-events: none; z-index: 10000; overflow: hidden; }
.notify-burst {
  position: fixed;
  transform: translate(-50%, 0);
  font-size: 18px;
  opacity: 0;
  will-change: transform, opacity;
  animation: notify-burst-rise 1s ease-out var(--delay, 0ms) forwards;
}
@keyframes notify-burst-rise {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -48px) scale(1); }
}

/* Botão principal com interação: sobe de leve e ganha sombra ao passar o mouse. */
.btn-notify { transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease; }
.btn-notify:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(82, 115, 83, 0.32); }
.btn-notify:active { transform: translateY(0) scale(0.99); }

/* "Enquanto isso, dá uma olhada" — leva o usuário pro Observatório / Sobre. */
.notify-explore { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--color-border); text-align: center; }
.notify-explore-label { display: block; font-size: 12.5px; color: var(--color-text-soft); margin-bottom: 10px; }
/* Destaques: cards com nome + uma linha de chamariz, pra dar mais ênfase. */
.notify-explore-links { display: flex; flex-direction: column; gap: 10px; }
.notify-explore-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.notify-explore-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-accent);
  background: var(--color-surface-muted);
  box-shadow: var(--shadow-card);
}
.notify-explore-card:active { transform: translateY(0); }
.notify-explore-ico {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--color-brand-soft);
}
.notify-explore-txt { display: flex; flex-direction: column; gap: 1px; text-align: left; flex: 1; }
.notify-explore-txt strong { font-size: 14px; font-weight: 700; color: var(--color-text); }
.notify-explore-sub { font-size: 12px; color: var(--color-text-soft); line-height: 1.35; }
.notify-explore-go { color: var(--color-text-soft); font-size: 16px; transition: transform 0.16s ease, color 0.16s ease; }
.notify-explore-card:hover .notify-explore-go { transform: translateX(3px); color: var(--color-brand); }
@media (prefers-reduced-motion: reduce) {
  .btn-notify, .notify-explore-card, .notify-explore-go { transition: none; }
  .btn-notify:hover, .notify-explore-card:hover { transform: none; }
  .notify-explore-card:hover .notify-explore-go { transform: none; }
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- Demo banner ---------- */

.demo-banner {
  background: var(--color-status-processo-bg);
  color: #8A5A17;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  display: none;
}
.demo-banner.visible { display: block; }
.demo-banner code {
  background: rgba(0,0,0,0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ---------- Botão flutuante "voltar ao topo" ---------- */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 18px;
  border: none;
  box-shadow: var(--shadow-card-hover);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--color-brand-dark); }

/* ---------- Widget de feedback (canto superior esquerdo) ---------- */

.feedback-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 20px;
  border: none;
  box-shadow: var(--shadow-card-hover);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 95;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.feedback-fab:hover { background: var(--color-brand-dark); transform: translateY(-1px); }

/* Popover abre para cima, ancorado acima do botão (canto inferior esquerdo). */
.feedback-pop {
  position: fixed;
  left: 20px;
  bottom: 76px;
  width: min(300px, calc(100vw - 40px));
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-modal);
  padding: 16px;
  z-index: 96;
  animation: feedback-in 0.16s ease;
}
@keyframes feedback-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.feedback-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.feedback-pop-head strong { font-family: var(--font-display); font-size: 16px; }
.feedback-pop-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--color-text-soft);
  padding: 2px;
}
.feedback-pop-close:hover { color: var(--color-text); }
.feedback-pop-sub {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.feedback-pop textarea {
  width: 100%;
  resize: vertical;
  min-height: 80px;
  margin-bottom: 8px;
}
.feedback-pop-msg {
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 8px;
  min-height: 0;
}
.feedback-pop-msg:empty { display: none; }
.feedback-pop-msg.success { color: var(--color-brand-dark); }
.feedback-pop-msg.error { color: var(--color-danger); }

/* ---------- Auth (admin) — layout dividido ---------- */

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Header sticky ocupa 83px (padding 18*2 + logo 46 + 1 borda); subtrair o
     valor certo evita um scroll de sobra na tela de login. */
  min-height: calc(100vh - 83px);
}

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; min-height: auto; }
}

.auth-side {
  background: linear-gradient(155deg, #B9CCAF 0%, #4C6A4B 100%);
  color: #fff;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

@media (max-width: 860px) {
  .auth-side { padding: 36px 28px; }
}

.auth-side-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.auth-side-brand .brand-mark {
  background: rgba(255,255,255,0.25);
}

.auth-side-title {
  font-size: 34px;
  line-height: 1.15;
  margin: 32px 0 14px;
}

.auth-side-desc {
  font-size: 15px;
  opacity: 0.92;
  max-width: 40ch;
  line-height: 1.55;
}

.auth-side-foot {
  font-size: 12.5px;
  opacity: 0.75;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--color-bg);
}

.auth-wrap {
  width: 100%;
  max-width: 380px;
}

.auth-wrap h1 {
  font-size: 24px;
  margin: 0 0 4px;
}
.auth-wrap p.sub {
  margin: 0 0 22px;
  color: var(--color-text-muted);
  font-size: 13.5px;
}

.auth-toggle {
  text-align: center;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

/* Links legais sempre visíveis na tela de login/cadastro. */
.auth-legal {
  margin: 24px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--color-text-soft);
}
.auth-legal a { color: var(--color-text-muted); }
.auth-toggle button {
  background: none;
  border: none;
  color: var(--color-brand-dark);
  font-weight: 700;
  font-size: 13.5px;
  padding: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--color-text-muted);
  font-size: 12.5px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.btn-google {
  background: #fff;
  color: #3c4043;
  border: 1px solid var(--color-border);
}
.btn-google:hover { background: var(--color-surface-muted); }

/* ---------- Utilitários ---------- */

.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
/* Loader de patinha — usado em botões enquanto uma ação está em andamento */
.paw-spinner {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  animation: paw-spin 0.9s ease-in-out infinite;
}
@keyframes paw-spin {
  0%, 100% { transform: rotate(-18deg) scale(0.9); }
  50% { transform: rotate(18deg) scale(1.1); }
}

/* Loader de patinha — usado em telas/seções inteiras enquanto os dados carregam */
.paw-loader {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.paw-loader span {
  display: inline-block;
  font-size: 32px;
  opacity: 0.3;
  animation: paw-hop 1.1s ease-in-out infinite;
}
.paw-loader span:nth-child(2) { animation-delay: 0.15s; }
.paw-loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes paw-hop {
  0%, 60%, 100% { transform: translateY(0) rotate(-8deg) scale(0.85); opacity: 0.3; }
  30% { transform: translateY(-10px) rotate(8deg) scale(1.1); opacity: 1; }
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-soft);
}
.empty-state .icon { font-size: 40px; margin-bottom: 12px; }

/* ---------- Página "Sobre nós" ---------- */

.about-page { overflow-x: clip; }

/* Reveal-on-scroll: sutil, respeita quem prefere menos movimento */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
  margin: 0 0 10px;
}
.section-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand);
  flex-shrink: 0;
}
.section-eyebrow--center {
  display: flex;
  justify-content: center;
  width: 100%;
}
.section-eyebrow--onDark { color: rgba(255, 255, 255, 0.88); }
.section-eyebrow--onDark::before { background: #fff; }

.section-title--center { text-align: center; }
.section-title--onDark { color: #fff; }

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

.about-hero {
  position: relative;
  overflow: hidden;
  max-width: 1040px;
  margin: 8px auto 64px;
  padding: 56px 20px 24px;
  border-radius: var(--radius-xl);
}

.about-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.about-hero-blob--a {
  width: 380px;
  height: 380px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, var(--color-brand-accent) 0%, transparent 70%);
  opacity: 0.5;
}
.about-hero-blob--b {
  width: 340px;
  height: 340px;
  bottom: -160px;
  right: -80px;
  background: radial-gradient(circle, var(--color-status-processo-bg) 0%, transparent 70%);
  opacity: 0.6;
}
.about-hero-blob--c {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
  opacity: 0.5;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.about-hero-content .pill-badge { margin: 0 auto 22px; }

.about-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.about-hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--color-brand) 0%, var(--color-brand-dark) 65%, #2C4029 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-hero-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--color-brand-dark);
  margin: 0 0 16px;
}

.about-hero-desc {
  font-size: 16.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  /* Largura + balanceamento p/ cair em 2 linhas equilibradas, sem "Brasil" órfão. */
  max-width: 60ch;
  text-wrap: balance;
  margin: 0 auto 30px;
}

.about-hero-photos {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  padding: 0 8px;
}
.about-hero-photos img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.about-hero-photos img:nth-child(odd) { transform: translateY(-14px); }
.about-hero-photos img:hover { transform: translateY(-18px) scale(1.03); }

@media (max-width: 720px) {
  .about-hero { padding: 44px 16px 16px; }
  .about-hero-photos {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 36px -20px 0;
    padding: 0 20px;
  }
  .about-hero-photos::-webkit-scrollbar { display: none; }
  .about-hero-photos img {
    flex-shrink: 0;
    transform: none !important;
  }
}

/* ---- "Mapa do Maroto": patinhas caminham pelo fundo do site ---- */
.paw-map {
  position: fixed;
  inset: 0;
  z-index: -1;            /* atrás do conteúdo, à frente do fundo da página */
  pointer-events: none;
  overflow: hidden;
}
.paw-print {
  position: absolute;
  width: 26px;
  height: 26px;
  color: rgba(82, 115, 83, 0.34);
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.6s ease, transform 1.6s ease-out;
}
.paw-print svg { width: 100%; height: 100%; display: block; }
.paw-print.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .paw-map { display: none; } }

/* As bolhas do CTA final vêm do componente compartilhado css/bolhas-cta.css
   (.petcta / .petbolha), igual ao Observatório. */

/* ---- Seções de texto ---- */

.about-section {
  max-width: 680px;
  margin: 0 auto 64px;
  padding: 0 4px;
}
.about-section h2 {
  font-size: 28px;
  margin: 0 0 18px;
}
.about-section p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 14px;
}
.about-section p:last-child { margin-bottom: 0; }

.about-section--alt {
  position: relative;
  max-width: 900px;
  background: linear-gradient(155deg, #F9FAF8 0%, #EEF2E9 100%);
  border: 1px solid rgba(28, 33, 23, 0.05);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 56px);
  box-shadow: 0 1px 2px rgba(28, 33, 23, 0.04);
}

.about-emphasis {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px !important;
  color: var(--color-text) !important;
  line-height: 1.45 !important;
}

.about-quote-mark {
  position: absolute;
  top: -12px;
  left: 28px;
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 800;
  color: var(--color-brand-soft);
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.about-section--alt > *:not(.about-quote-mark) { position: relative; z-index: 1; }

/* ---- Nossa história (texto + foto) ---- */

.about-history {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .about-history { grid-template-columns: 1fr; gap: 28px; }
  .about-history-photo { order: -1; }
}

.about-history-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

/* ---- Missão / Visão / Valores ---- */

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 720px) {
  .mission-cards { grid-template-columns: 1fr; }
}

.mission-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(28, 33, 23, 0.05);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mission-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-accent), var(--color-brand));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-brand-soft);
}
.mission-card:hover::before { opacity: 1; }

.mission-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--color-brand-soft) 0%, #C7D8BC 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 14px rgba(82, 115, 83, 0.16);
  font-size: 27px;
  margin-bottom: 18px;
}

.mission-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.mission-card p {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.mission-values {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ---- Como funciona (timeline) ---- */

.how-steps {
  max-width: 580px;
  margin: 0 auto;
}

.how-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 0 20px;
}
.how-step:last-child { padding-bottom: 0; }
.how-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 38px;
  bottom: -38px;
  width: 2px;
  background: linear-gradient(var(--color-brand-accent), var(--color-brand-soft));
}

.how-step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(82, 115, 83, 0.3), 0 0 0 6px var(--color-bg);
}

.how-step-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface);
  border: 1px solid rgba(28, 33, 23, 0.05);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.how-step-body:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card-hover);
}

.how-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-brand-soft);
  font-size: 23px;
  flex-shrink: 0;
}

.how-step-body p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-text);
}

/* ---- Nosso impacto (faixa em destaque) ---- */

.about-impact {
  max-width: 900px;
  margin: 0 auto 64px;
  background: linear-gradient(160deg, #4C6A4B 0%, #29391f 100%);
  border-radius: var(--radius-lg);
  padding: 48px clamp(20px, 4vw, 48px);
  text-align: center;
}

/* Banner fofo enquanto não há números (foto de cão + gato). */
.impact-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 36px);
  flex-wrap: wrap;
  text-align: left;
}
.impact-empty-photos { display: flex; flex-shrink: 0; }
.impact-empty-photos img {
  width: clamp(78px, 12vw, 104px);
  height: clamp(78px, 12vw, 104px);
  border-radius: 22px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.impact-empty-photos img:first-child { transform: rotate(-5deg); }
.impact-empty-photos img:nth-child(2) { margin-left: -20px; transform: rotate(5deg); }
.impact-empty-text { color: #F4F1E6; }
.impact-empty-text h2 { margin: 0 0 6px; font-size: clamp(20px, 3vw, 26px); }
.impact-empty-text p { margin: 0; max-width: 44ch; font-size: 15px; line-height: 1.55; opacity: 0.9; }
@media (max-width: 560px) {
  .impact-empty { flex-direction: column; text-align: center; }
  .impact-empty-text p { margin: 0 auto; }
}

.stats-row--onDark {
  margin-bottom: 0;
}
.stats-row--onDark .stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.stats-row--onDark .stat-card-icon {
  background: rgba(255, 255, 255, 0.18);
}
.stats-row--onDark .stat-card-value { color: #fff; }
.stats-row--onDark .stat-card-label { color: rgba(255, 255, 255, 0.72); }

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

.about-cta-final {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(155deg, #B9CCAF 0%, #4C6A4B 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px clamp(20px, 4vw, 48px);
}
.about-cta-final h2 { position: relative; z-index: 1; margin: 0 0 10px; }
.about-cta-final p {
  position: relative;
  z-index: 1;
  margin: 0 0 26px;
  opacity: 0.92;
  font-size: 15.5px;
}
.about-cta-final-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.about-cta-final .btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.about-cta-final .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* =========================================================
   Admin — toggle de visualização (Kanban / Lista) + lista
   ========================================================= */
.admin-view-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
}
.admin-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.admin-view-btn:hover { color: var(--color-text); }
.admin-view-btn.active { background: var(--color-brand); color: #fff; }

#admin-kanban-flow { margin-bottom: 20px; }

.admin-list-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.admin-list-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-list-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 420px;
}
.admin-list-search-ico {
  position: absolute;
  left: 14px;
  color: var(--color-text-soft);
  pointer-events: none;
}
.admin-list-search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
}
.admin-list-search input:focus-visible {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-soft);
}
.admin-list-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.alist-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.alist-filter:hover { border-color: var(--color-brand-accent); color: var(--color-text); }
.alist-filter.active { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.alist-filter-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
  font-size: 11px; font-weight: 700;
}
.alist-filter.active .alist-filter-n { background: rgba(255, 255, 255, 0.25); color: #fff; }
.alist-sort {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.alist-sort:hover { background: var(--color-surface-muted); border-color: var(--color-brand-accent); }

.admin-list { display: flex; flex-direction: column; gap: 8px; }
.alist-empty { padding: 32px; text-align: center; color: var(--color-text-soft); }
.alist-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease;
}
.alist-row:hover { box-shadow: var(--shadow-card-hover); }
.alist-thumb {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background-size: cover; background-position: center;
  background-color: var(--color-surface-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.alist-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.alist-name { font-weight: 700; font-size: 15px; color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alist-meta { font-size: 12.5px; color: var(--color-text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alist-status {
  flex-shrink: 0;
  width: 150px;
  height: 34px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12.5px; font-weight: 700;
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B8C7C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.alist-status.status-disponivel { background-color: var(--color-status-disponivel-bg); color: #2f6b31; border-color: transparent; }
.alist-status.status-em_processo { background-color: var(--color-status-processo-bg); color: #8a5a17; border-color: transparent; }
.alist-status.status-adotado { background-color: var(--color-status-adotado-bg); color: #8a2f33; border-color: transparent; }
.alist-acts { display: flex; gap: 6px; flex-shrink: 0; }

@media (max-width: 600px) {
  .admin-list-controls { align-items: stretch; }
  .alist-sort { align-self: flex-start; }
  .alist-row { flex-wrap: wrap; }
  .alist-main { flex-basis: calc(100% - 62px); }
  .alist-status { order: 3; }
  .alist-acts { order: 4; margin-left: auto; }
}
