/* Rodapé público e administrativo: regras inteiramente escopadas. */
footer.site-footer {
  --footer-coral: #f08080;
  --footer-graphite: #2f2f2f;
  --footer-muted: #5a4545;
  --footer-white: #fff;
  width: 100%;
  min-height: 0;
  margin-top: 2rem;
  padding: 3rem 1.25rem;
  border-top: 1px solid rgba(47, 47, 47, 0.2);
  color: var(--footer-graphite);
  background-color: var(--footer-coral);
  font-family: Verdana, sans-serif;
  line-height: 1.5;
}
.site-footer .site-footer-inner { width: 100%; max-width: 1200px; margin: 0 auto; }
.site-footer p { margin: 0; }
.site-footer .site-footer-note {
  max-width: 75ch;
  margin: 0 0 1.25rem;
  color: var(--footer-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.site-footer .site-footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}
.site-footer .site-footer-brand,
.site-footer .site-footer-nav,
.site-footer .site-footer-contact { min-width: 0; max-width: 30rem; }
.site-footer .site-footer-logo { display: inline-flex; align-items: center; width: 100%; max-width: 180px; }
.site-footer .site-footer-logo img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  border-radius: 0;
}
.site-footer .site-footer-tagline {
  max-width: 28rem;
  margin-top: 0.9rem;
  color: var(--footer-muted);
  font-size: 0.9rem;
}
.site-footer .site-footer-heading {
  margin: 0 0 0.75rem;
  color: var(--footer-graphite);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.site-footer .site-footer-nav ul { margin: 0; padding: 0; list-style: none; }
.site-footer .site-footer-nav li { margin: 0; }
.site-footer .site-footer-nav li + li { margin-top: 0.45rem; }
.site-footer .site-footer-nav a,
.site-footer .site-footer-contact-link,
.site-footer .site-footer-top {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--footer-graphite);
  font-size: 14px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
.site-footer .site-footer-contact-link { align-items: flex-start; gap: 0.5rem; line-height: 1.45; }
.site-footer .site-footer-contact-link + .site-footer-contact-link { margin-top: 0.6rem; }
.site-footer .site-footer-nav a:hover,
.site-footer .site-footer-contact-link:hover,
.site-footer .site-footer-top:hover { color: #6b3333; }
.site-footer .site-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(47, 47, 47, 0.3);
  border-radius: 0.35rem;
  color: var(--footer-graphite);
  background-color: var(--footer-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}
.site-footer .site-footer-cta:hover { color: #6b3333; background-color: #fff7f7; }
.site-footer .site-footer-nav a:focus-visible,
.site-footer .site-footer-contact-link:focus-visible,
.site-footer .site-footer-cta:focus-visible,
.site-footer .site-footer-top:focus-visible,
.site-footer .site-footer-logo:focus-visible {
  outline: 3px solid rgba(47, 47, 47, 0.55);
  outline-offset: 3px;
}
.site-footer .site-footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(47, 47, 47, 0.2);
}
.site-footer .site-footer-copyright { color: var(--footer-muted); font-size: 12px; }
.site-footer .site-footer-top { flex: 0 0 auto; gap: 0.35rem; white-space: nowrap; }
.site-footer.site-footer--admin { padding: 1.25rem 1rem; }
.site-footer.site-footer--admin .site-footer-content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}
.site-footer.site-footer--admin .site-footer-brand { grid-column: 1 / -1; max-width: 100%; }
.site-footer.site-footer--admin .site-footer-note { margin-bottom: 1rem; }
@media (max-width: 767px) {
  footer.site-footer { padding: 2.25rem 1rem; }
  .site-footer .site-footer-content,
  .site-footer.site-footer--admin .site-footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer.site-footer--admin .site-footer-brand { grid-column: auto; }
  .site-footer .site-footer-base {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
}
@media print {
  .site-footer:not(.site-footer--admin) { display: none !important; }
  .site-footer.site-footer--admin {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  .site-footer.site-footer--admin .site-footer-content,
  .site-footer.site-footer--admin .site-footer-base { display: none !important; }
  .site-footer.site-footer--admin .site-footer-note.report-footer {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000 !important;
    font-size: 7.5pt !important;
    line-height: 1.35 !important;
  }
}

/* Contatos do rodapé um embaixo do outro (telefones, e-mail e redes) */
.site-footer .site-footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer .site-footer-contact-link + .site-footer-contact-link { margin-top: 0.45rem; }
