:root {
  --vf-primary: #b5652f;
  --vf-primary-dark: #8a4a1f;
  --vf-secondary: #d9a441;
  --vf-green: #4f6f52;
  --vf-green-dark: #38502f;
  --vf-cream: #fdf8f2;
  --vf-cream-deep: #f6ead9;
  --vf-ink: #3a2e28;
  --vf-footer: #2a2119;
  --vf-radius: 18px;
  font-size: 100%;
}

html.dark-mode {
  --vf-cream: #211a15;
  --vf-cream-deep: #2a2119;
  --vf-ink: #f1e6da;
  --vf-footer: #171310;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--vf-ink);
  background: var(--vf-cream);
  overflow-x: clip;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Fraunces', Georgia, serif;
}

a { color: var(--vf-primary); }
a:hover { color: var(--vf-primary-dark); }

.btn-vf {
  background: var(--vf-primary);
  border-color: var(--vf-primary);
  color: #fff;
}
.btn-vf:hover { background: var(--vf-primary-dark); border-color: var(--vf-primary-dark); color: #fff; }
.btn-outline-vf {
  background: transparent;
  border: 2px solid var(--vf-primary);
  color: var(--vf-primary);
}
.btn-outline-vf:hover { background: var(--vf-primary); color: #fff; }

/* ---------------- Accessibility bar ---------------- */
.accessibility-bar {
  background: var(--vf-footer);
  padding: 6px 0;
}
.acc-label { color: #e8dcd0; font-size: .8rem; }
.acc-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #f1e6da;
  border-radius: 6px;
  font-size: .75rem;
  padding: 2px 8px;
  line-height: 1.6;
}
.acc-btn:hover { background: rgba(255,255,255,.12); }
.acc-sign { font-size: .65rem; vertical-align: super; }

/* ---------------- Header ---------------- */
.topbar {
  background: var(--vf-green-dark);
  color: #f1e6da;
  font-size: .82rem;
  padding: 8px 0;
}
.topbar-info span { margin-right: 18px; }
.topbar-info i { margin-right: 4px; color: var(--vf-secondary); }
.topbar-social a { color: #f1e6da; margin-left: 12px; font-size: 1rem; }
.topbar-social a:hover { color: var(--vf-secondary); }

.site-navbar {
  padding: 20px 0;
  border-bottom: none;
  position: relative;
  z-index: 20;
  box-shadow: 0 16px 32px -22px rgba(58,46,40,.5);
}
html.dark-mode .site-navbar { background: #241d17 !important; box-shadow: 0 16px 32px -20px rgba(0,0,0,.65); }
.logo-header { height: 60px; width: auto; transition: transform .3s ease, filter .3s ease; }
.logo-header-dark { display: none; }
html.dark-mode .logo-header-light { display: none; }
html.dark-mode .logo-header-dark { display: inline-block; }
.logo-fx-hover-zoom:hover { transform: scale(1.08); }
.logo-fx-hover-rotate:hover { transform: rotate(-4deg) scale(1.04); }
.logo-fx-hover-glow:hover { filter: drop-shadow(0 0 10px rgba(217,164,65,.65)); }
.logo-fx-grayscale { filter: grayscale(1) opacity(.85); }
.logo-fx-grayscale:hover { filter: grayscale(0) opacity(1); }
.site-navbar .navbar-nav { gap: 0; flex-wrap: nowrap; }
.site-navbar .nav-link {
  font-weight: 600; font-size: .94rem; color: var(--vf-ink); margin: 0 2px; padding: 10px 11px !important;
  border-radius: 999px; position: relative; white-space: nowrap; transition: color .2s ease, background .2s ease;
}
.site-navbar .nav-link.active,
.site-navbar .nav-link:hover { color: var(--vf-primary); background: var(--vf-cream-deep); }
html.dark-mode .site-navbar .nav-link.active,
html.dark-mode .site-navbar .nav-link:hover { background: rgba(217,164,65,.12); }
.site-navbar .nav-link::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--vf-secondary); border-radius: 3px;
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.site-navbar .nav-link.active::after,
.site-navbar .nav-link:hover::after { transform: scaleX(1); }
.site-navbar .dropdown-menu {
  border: none; border-radius: 16px; padding: 10px; margin-top: 10px;
  box-shadow: 0 20px 44px -18px rgba(58,46,40,.4);
}
.site-navbar .dropdown-item { border-radius: 10px; font-weight: 600; font-size: .92rem; padding: 9px 14px; }
.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus { background: var(--vf-cream-deep); color: var(--vf-primary); }
.site-navbar .dropdown-toggle::after { vertical-align: 2px; }
.btn-nav-destaque {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px;
  border: 2px solid var(--vf-green); color: var(--vf-green); border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-nav-destaque:hover { background: var(--vf-green); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(79,111,82,.6); }
html.dark-mode .btn-nav-destaque { color: #9fd6a3; border-color: #9fd6a3; }
html.dark-mode .btn-nav-destaque:hover { background: #9fd6a3; color: #17251a; }
.site-navbar .btn-vf.btn-sm { padding: 10px 20px; }

/* ---------------- Hero ---------------- */
.hero-stats-bar {
  background: linear-gradient(180deg, var(--vf-cream-deep) 0%, var(--vf-cream) 100%);
  padding: 48px 0;
  overflow: hidden;
  position: relative;
}
.hero-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 1.15; }
.hero-title .accent { color: var(--vf-primary); }
.hero-lead { font-size: 1.15rem; color: #6b5c4f; max-width: 46ch; }
html.dark-mode .hero-lead { color: #cbb9a6; }
.hero-photo-frame {
  border-radius: var(--vf-radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(58,46,40,.35);
  border: 6px solid #fff;
}
html.dark-mode .hero-photo-frame { border-color: #2a2119; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stat {
  background: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 10px 26px -14px rgba(58,46,40,.25);
  min-width: 130px;
}
html.dark-mode .hero-stat { background: #2a2119; }
.hero-stat .num { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 700; color: var(--vf-primary); display: block; }
.hero-stat .lbl { font-size: .78rem; color: #6b5c4f; }
html.dark-mode .hero-stat .lbl { color: #cbb9a6; }

/* ---------------- Banner Principal (carrossel) ---------------- */
.hero-slide {
  position: relative; min-height: 460px; display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
}
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42,33,25,.85) 0%, rgba(42,33,25,.3) 100%);
}
.hero-slide--sem-sombra::before { content: none; }
.hero-slide .container { position: relative; z-index: 1; }
.hero-slide h1 { font-family: 'Fraunces', serif; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; max-width: 650px; }
.hero-slide p { font-size: 1.1rem; max-width: 560px; opacity: .95; }
#heroCarousel .carousel-indicators { margin-bottom: 14px; }
#heroCarousel .carousel-indicators button { background-color: var(--vf-secondary); }
#heroCarousel .carousel-control-prev, #heroCarousel .carousel-control-next { width: 6%; }

/* ---------------- Sections ---------------- */
.section { padding: 70px 0; }
.section-alt { background: var(--vf-cream-deep); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--vf-green);
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-top: 6px; }
.section-lead { color: #6b5c4f; max-width: 60ch; }
html.dark-mode .section-lead { color: #cbb9a6; }

/* Como ajudar — ícone/imagem e título com altura fixa, para os 3 cards ficarem alinhados
   (ícone, título e texto começando sempre na mesma altura) mesmo com conteúdos de tamanhos
   diferentes (o card do Pix tem um QR Code bem maior que os ícones dos outros 2 cards). */
.ajudar-card-media {
  height: 130px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.ajudar-card-titulo {
  display: flex; align-items: center; justify-content: center; min-height: 3rem; margin-bottom: .75rem;
}
.ajudar-card-qrcode {
  width: 130px; height: 130px; object-fit: contain; padding: 8px;
  background: #fff; border-radius: 12px; border: 1px solid rgba(58,46,40,.1);
}

/* ---------------- Cards ---------------- */
.vf-card {
  background: #fff;
  border-radius: var(--vf-radius);
  box-shadow: 0 14px 34px -20px rgba(58,46,40,.28);
  border: 1px solid rgba(58,46,40,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
html.dark-mode .vf-card { background: #2a2119; border-color: rgba(255,255,255,.06); }
.vf-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(58,46,40,.35); }
.vf-card.vf-card-col-fill { height: auto; flex: 1 1 auto; }

/* Idosos */
.resident-card { overflow: hidden; }
.resident-photo { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.resident-photo img { width: 100%; height: 100%; object-fit: cover; }
.resident-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--vf-secondary); color: #3a2e28;
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.resident-body { padding: 18px 20px 22px; }
.resident-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 2px; }
.resident-meta { font-size: .8rem; color: var(--vf-green); font-weight: 600; margin-bottom: 10px; }
.resident-story { font-size: .92rem; color: #6b5c4f; }
html.dark-mode .resident-story { color: #cbb9a6; }

/* Notícias / Eventos */
.news-card img, .event-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; border-radius: var(--vf-radius) var(--vf-radius) 0 0; }
.news-card-body, .event-card-body { padding: 20px 22px 24px; }
.card-date-chip {
  display: inline-block; background: var(--vf-green); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.event-date-block {
  background: var(--vf-primary); color: #fff; border-radius: 14px; text-align: center;
  width: 68px; padding: 8px 0; flex-shrink: 0;
}
.event-date-block .day { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-date-block .mon { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }

/* Conclusão institucional (citação em fonte manuscrita) */
.conclusao-quote-mark {
  display: block; text-align: center; font-family: 'Caveat', cursive;
  font-size: 3.4rem; line-height: .6; color: var(--vf-secondary); margin-bottom: -6px;
}
.conclusao-quote-card p:first-of-type {
  font-family: 'Caveat', cursive; font-weight: 600; font-size: 1.9rem; line-height: 1.4;
  text-align: center; color: var(--vf-ink); max-width: 62ch; margin-left: auto; margin-right: auto;
}
html.dark-mode .conclusao-quote-card p:first-of-type { color: #f1e6da; }
.conclusao-quote-card p.text-end { font-family: 'Inter', sans-serif; }

/* Depoimentos */
.testimonial-card { padding: 26px 24px; }
.testimonial-quote { font-size: 1.5rem; color: var(--vf-secondary); line-height: 1; }
.testimonial-text { font-style: italic; color: #55483d; }
html.dark-mode .testimonial-text { color: #d8c9ba; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-avatar-placeholder {
  width: 46px; height: 46px; border-radius: 50%; background: var(--vf-green);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

.volunteer-icon-badge {
  width: 40px; height: 40px; border-radius: 50%; color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

/* Parceiros */
.partner-logo-box {
  background: #fff; border-radius: 14px; padding: 18px; height: 100px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -14px rgba(58,46,40,.25);
}
html.dark-mode .partner-logo-box { background: #2a2119; }
.partner-logo-box img { max-height: 60px; max-width: 100%; object-fit: contain; }

/* Instagram */
.instagram-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
  justify-items: center;
}
.instagram-follow-card {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
  border-radius: var(--vf-radius); color: #fff; padding: 26px; text-align: center;
}
.instagram-embed-wrapper {
  border-radius: var(--vf-radius); overflow: hidden; background: #fff;
  width: 100%; max-width: 540px;
}
.instagram-embed-wrapper iframe { width: 100% !important; }

/* Timeline (Breve Histórico) */
.vf-timeline { border-left: 3px solid var(--vf-secondary); padding-left: 26px; margin-left: 6px; }
.vf-timeline-item { position: relative; margin-bottom: 26px; }
.vf-timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--vf-primary); border: 3px solid var(--vf-cream);
}

/* Accordion institucional */
.vf-accordion .accordion-button { font-family: 'Fraunces', serif; font-weight: 600; }
.vf-accordion .accordion-button:not(.collapsed) { background: var(--vf-cream-deep); color: var(--vf-primary-dark); }
.vf-accordion .accordion-button:focus { box-shadow: none; border-color: var(--vf-secondary); }

/* Tabelas institucionais */
.vf-table th { color: var(--vf-green); font-weight: 700; }
.vf-table-compact th, .vf-table-compact td { padding: .38rem .6rem; font-size: .9rem; }

/* Vídeos */
.video-facade {
  position: relative; aspect-ratio: 16/9; border-radius: var(--vf-radius); overflow: hidden;
  cursor: pointer; background: #000;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-facade .play-btn {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--vf-primary); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.video-facade iframe { width: 100%; height: 100%; border: 0; }

/* Galeria */
.gallery-album-cover { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--vf-radius) var(--vf-radius) 0 0; }
.gallery-album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vf-card:hover .gallery-album-cover img { transform: scale(1.05); }
.gallery-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-photo-trigger {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 14px; overflow: hidden; aspect-ratio: 1/1;
}
.gallery-photo-trigger:hover img,
.gallery-photo-trigger:focus-visible img { transform: scale(1.06); }
.gallery-photo-trigger:focus-visible { outline: 3px solid var(--vf-secondary); outline-offset: 2px; }

/* Lightbox da galeria */
@media (min-width: 992px) {
  .gallery-lightbox-dialog { max-width: 92vw; display: flex; align-items: center; min-height: calc(100% - 3.5rem); }
}
.gallery-lightbox-content { background: rgba(20,16,13,.97); border: none; min-height: 60vh; height: 100%; }
@media (min-width: 992px) { .gallery-lightbox-content { border-radius: var(--vf-radius); } }
.gallery-lightbox-imgwrap { display: flex; align-items: center; justify-content: center; flex: 1; padding: 56px 20px 8px; min-height: 50vh; }
@media (min-width: 992px) { .gallery-lightbox-imgwrap { padding: 56px 64px 8px; } }
.gallery-lightbox-img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; }
.gallery-lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 3; opacity: .9; }
.gallery-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.gallery-lightbox-nav:hover { background: rgba(255,255,255,.28); }
.gallery-lightbox-prev { left: 12px; }
.gallery-lightbox-next { right: 12px; }
.gallery-lightbox-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 4px 20px 18px; color: #f1e6da;
}
.gallery-lightbox-caption { font-size: .92rem; opacity: .85; }
.gallery-lightbox-counter { font-size: .82rem; opacity: .6; white-space: nowrap; }

/* Editais/Atas */
.document-row {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px;
  background: #fff; margin-bottom: 12px; box-shadow: 0 8px 20px -14px rgba(58,46,40,.2);
}
html.dark-mode .document-row { background: #2a2119; }
.document-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--vf-cream-deep); color: var(--vf-primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }

/* Localização (mapa incorporado) */
.vf-map-embed {
  width: 100%; height: 340px; border: 0; border-radius: var(--vf-radius);
  box-shadow: 0 14px 34px -20px rgba(58,46,40,.28); display: block;
}

/* Publicações */
.publicacao-card {
  display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 14px;
  background: #fff; box-shadow: 0 8px 20px -14px rgba(58,46,40,.2); transition: transform .2s ease, box-shadow .2s ease;
}
.publicacao-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px -14px rgba(58,46,40,.3); }
html.dark-mode .publicacao-card { background: #2a2119; }
.publicacao-data {
  flex-shrink: 0; display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .82rem;
  white-space: nowrap; color: var(--vf-primary); background: var(--vf-cream-deep); border-radius: 100px; padding: .45rem .9rem;
}
.publicacao-corpo { flex: 1; min-width: 0; }
.publicacao-download {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: var(--vf-primary); color: #fff; transition: background .15s ease;
}
.publicacao-download:hover { background: var(--vf-primary-dark); color: #fff; }
@media (max-width: 576px) {
  .publicacao-card { flex-wrap: wrap; }
  .publicacao-download { margin-left: auto; }
}

/* Formulários públicos (doações, voluntariado, contato) */
.vf-form-card { background: #fff; border-radius: var(--vf-radius); padding: 34px; box-shadow: 0 20px 44px -22px rgba(58,46,40,.3); }
html.dark-mode .vf-form-card { background: #2a2119; }
.vf-form-card .form-control, .vf-form-card .form-select {
  background: var(--vf-cream); border: 1px solid rgba(58,46,40,.15); color: var(--vf-ink);
}
html.dark-mode .vf-form-card .form-control, html.dark-mode .vf-form-card .form-select { background: #211a15; color: #f1e6da; }
.donation-type-card { cursor: pointer; }
.donation-type-card input { display: none; }
.donation-type-card .box {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px solid rgba(58,46,40,.15); border-radius: 14px; padding: 16px; text-align: center; height: 100%;
}
.donation-type-card input:checked + .box { border-color: var(--vf-primary); background: var(--vf-cream-deep); }

/* Newsletter footer */
.newsletter-input { min-width: 0; flex: 1 1 100%; }

/* Footer */
.site-footer { background: var(--vf-footer); position: relative; box-shadow: 0 -16px 32px -22px rgba(58,46,40,.5); }
.footer-heading { color: #fff; font-weight: 700; position: relative; padding-bottom: 12px; margin-bottom: 18px !important; }
.footer-heading::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px;
  background: var(--vf-secondary); border-radius: 3px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  display: flex; align-items: center; gap: 10px; color: #cbb9a6; text-decoration: none;
  font-size: .9rem; transition: color .15s ease, transform .15s ease;
}
.footer-links a i { width: 16px; flex-shrink: 0; text-align: center; font-size: .82rem; color: var(--vf-secondary); opacity: .85; }
.footer-links a:hover { color: var(--vf-secondary); transform: translateX(4px); }
.logo-footer { height: 56px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; color: #cbb9a6; font-size: .88rem; }
.footer-contact-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--vf-secondary);
  display: inline-flex; align-items: center; justify-content: center; font-size: .82rem;
  transition: background .15s ease, color .15s ease;
}
.footer-instagram {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; color: #f1e6da;
  font-weight: 600; font-size: .88rem; text-decoration: none; transition: color .15s ease;
}
.footer-instagram:hover { color: var(--vf-secondary); }
.footer-instagram:hover .footer-contact-icon { background: var(--vf-secondary); color: #fff; }

/* Rodapé — linha final (copyright + desenvolvido por) */
.site-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.site-footer-bottom p { margin-bottom: 0; }
.site-footer-fabricante {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55); text-decoration: none; font-size: .82rem;
  transition: color .15s ease;
}
.site-footer-fabricante:hover { color: #fff; }
.site-footer-fabricante img { height: 18px; max-width: 90px; object-fit: contain; }
.site-footer-fabricante strong { color: rgba(255,255,255,.85); font-weight: 700; }

/* Paginação */
.vf-pagination .page-link { color: var(--vf-primary); border-color: rgba(58,46,40,.15); }
.vf-pagination .page-item.active .page-link { background: var(--vf-primary); border-color: var(--vf-primary); }

/* Status badges (usados também no admin em telas públicas de confirmação) */
.badge-pendente { background: #f0ad4e; }
.badge-em_contato { background: #5bc0de; }
.badge-concluida { background: #5cb85c; }

/* ---------------- Portal da Transparência ---------------- */
.transp-hero {
  background: linear-gradient(120deg, var(--vf-green-dark), #24361e);
  padding: 56px 0 36px;
}
.transp-subnav {
  background: #fff; border-bottom: 1px solid rgba(58,46,40,.1); top: 0; z-index: 20;
}
html.dark-mode .transp-subnav { background: #241d17; }
.transp-subnav .container { position: relative; }
.transp-subnav .container::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 32px; pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0), #fff);
}
html.dark-mode .transp-subnav .container::after { background: linear-gradient(to right, rgba(36,29,23,0), #241d17); }
@media (min-width: 992px) { .transp-subnav .container::after { display: none; } }
.transp-subnav .nav-link {
  color: var(--vf-ink); font-weight: 600; font-size: .88rem; border-radius: 999px; padding: 6px 14px;
}
.transp-subnav .nav-link.active { background: var(--vf-primary); color: #fff; }
.transp-stat {
  background: #fff; border-radius: 14px; padding: 20px; height: 100%;
  box-shadow: 0 8px 22px -14px rgba(58,46,40,.22);
}
html.dark-mode .transp-stat { background: #2a2119; }
.transp-stat .rotulo { font-size: .8rem; color: #6b5c4f; margin-bottom: 4px; }
html.dark-mode .transp-stat .rotulo { color: #cbb9a6; }
.transp-stat .valor { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; color: var(--vf-primary); }

/* ---------------- Banner de cookies ---------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
  background: var(--vf-footer); color: #f1e6da; border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -8px 30px rgba(0,0,0,.25);
}
.cookie-banner a { color: var(--vf-secondary); }

/* ---------------- Pop-up de comunicados ---------------- */
.site-popup-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--vf-cream-deep); color: var(--vf-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 16px;
}

@media (max-width: 991px) {
  .hero-photo-frame { margin-top: 32px; }
}
