/* Abrigo Cristo Redentor — site institucional */

:root {
  --blue: #00aeef;
  --blue-dark: #0089c4;
  --blue-deeper: #006fa3;
  --yellow: #fdc300;
  --yellow-text: #1a1a1a;
  --topbar: #1e2d3a;
  --text: #4a5568;
  --text-dark: #1a202c;
  --white: #fff;
  --gray-bg: #f7fafc;
  --border: #e2e8f0;
  --whatsapp: #25d366;
  --green-banner: #38a169;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}

/* Remove @import duplicado se existir — a fonte vem do <head> do template */

/* ——— Top bar ——— */
.topbar {
  background: var(--topbar);
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 0.5rem 0;
  letter-spacing: 0.01em;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-social {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.topbar-social a:hover {
  opacity: 1;
}

.topbar-social .icon-yt { background: #c00; }
.topbar-social .icon-fb { background: #1877f2; }
.topbar-social .icon-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.topbar-social .icon-wa { background: var(--whatsapp); }

.topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.topbar-right a {
  color: #fff;
  font-weight: 600;
}

.topbar-right a:hover {
  text-decoration: underline;
}

.topbar-phones {
  display: flex;
  gap: 1rem;
  color: #ddd;
}

/* ——— Main header ——— */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  flex-wrap: nowrap;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  max-width: 200px;
}

.header-partner-logos {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-partner-logos img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.logo-mark {
  height: 62px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.nav-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--blue-deeper);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.9rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: nowrap;
}

.main-nav > li {
  position: relative;
}

/* Dropdown acima dos itens vizinhos (evita “sumir” atrás do próximo link) */
.main-nav > li.has-sub:hover,
.main-nav > li.has-sub:focus-within,
.main-nav > li.has-sub.is-open {
  z-index: 150;
}

.main-nav > li > a {
  display: block;
  padding: 0.46rem 0.52rem;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}

.main-nav > li > a:hover,
.main-nav > li > a:focus-visible,
.main-nav > li.is-open > a {
  background: #e6f6fe;
  color: var(--blue-deeper);
}

.has-sub > a::after {
  content: " ▾";
  font-size: 0.65em;
  opacity: 0.85;
}

.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  z-index: 200;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.35rem 0;
  /* Ponte invisível para o mouse não “cair” no intervalo e fechar o menu */
  margin-top: -6px;
  padding-top: calc(0.35rem + 6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity 0.2s, visibility 0.2s;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.is-open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.submenu a {
  display: block;
  padding: 0.6rem 1.1rem;
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.submenu a:hover {
  background: #f0f9ff;
  color: var(--blue-deeper);
  border-left-color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.btn-search {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--blue-deeper);
  cursor: pointer;
  border-radius: 8px;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}

.btn-search:hover {
  background: #eef7ff;
}

.btn-theme {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--blue-deeper);
  cursor: pointer;
  border-radius: 8px;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}

.btn-theme:hover {
  background: #eef7ff;
}

.btn-theme[aria-pressed="true"] {
  background: #e6f4ff;
}

.btn-donation {
  background: var(--yellow);
  color: var(--yellow-text);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(253,195,0,0.35);
  transition: box-shadow var(--transition), transform var(--transition);
}

.btn-donation:hover {
  box-shadow: 0 6px 20px rgba(253,195,0,0.5);
  transform: translateY(-1px);
}

/* ——— Hero ——— */
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%       { transform: scale(1.18); opacity: 1; }
}

.hero {
  position: relative;
  min-height: min(82vh, 740px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  /* Fundo padrão: gradiente animado rico mesmo sem foto */
  background: linear-gradient(135deg, #003d6b, #005f9e, #0089c4, #00aeef, #0077b6, #023e8a);
  background-size: 300% 300%;
  animation: heroGradient 14s ease infinite;
}

/* Padrão de pontos decorativos */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 1;
}

/* Onda inferior */
.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center / cover;
  z-index: 4;
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
}

/* Overlay sobre a foto (quando há imagem) */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(0, 55, 110, 0.88) 0%,
    rgba(0, 130, 195, 0.72) 55%,
    rgba(0, 80, 145, 0.84) 100%
  );
}

/* Faixa decorativa lateral esquerda */
.hero-slide-deco {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--yellow) 0%, rgba(253,195,0,0) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 3rem 1.5rem 5rem;
  max-width: 760px;
  animation: fadeUp .9s ease both;
}

.hero-slide .hero-content {
  z-index: 3;
}

/* Logo no hero — usa a imagem do site */
.hero-logo-img {
  width: 100px;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);
  opacity: .92;
  display: block;
}

/* Badge "desde 1942" */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.92);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.65rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  opacity: 0.88;
  line-height: 1.72;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Botões duplos no hero */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}

/* Estatísticas rápidas */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.2);
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero-stat small {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  opacity: .8;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .25rem;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--blue-deeper);
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-prev,
.hero-next {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition), transform var(--transition);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255,255,255,.30);
  transform: translateY(-50%) scale(1.08);
}

.hero-prev { left: 1.25rem; }
.hero-next { right: 1.25rem; }

.hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
}

.hero-dots button {
  width: 28px;
  height: 4px;
  border-radius: 99px;
  border: 0;
  background: rgba(255,255,255,.4);
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.hero-dots button.is-active {
  background: var(--yellow);
  width: 44px;
}

@media (max-width: 600px) {
  .hero-stat { min-width: 80px; }
  .hero-stats { gap: 0 1.25rem; }
  .hero-dots { bottom: 5rem; }
}

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.22);
  border-radius: 999px;
  padding: 0.22rem 0.85rem;
  margin: 0 0 0.75rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 2.5rem;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  border-radius: 99px;
  margin: 0.75rem auto 0;
}

.donation-campaigns {
  background: #f8fbff;
}

.donation-campaigns-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #5b6673;
  font-size: 0.95rem;
}

.donation-campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.donation-campaign-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.donation-campaign-image {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  background: #eef7fd;
  border-radius: 9px;
  border: 1px solid #d7e9f5;
}

.donation-campaign-image--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d9eef9, #b8e1f3);
  color: #4f7c95;
  font-size: 0.85rem;
  font-weight: 600;
}

.donation-campaign-card h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 800;
}

.donation-campaign-card p {
  margin: 0 0 0.2rem;
  color: #556274;
  font-size: 0.9rem;
  line-height: 1.6;
}

.donation-campaign-btn {
  margin-top: auto;
  align-self: flex-start;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--blue), var(--blue-deeper));
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.7rem 1.25rem;
  border-radius: 9px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 3px 12px rgba(0,150,210,0.3);
  transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-cyan:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(0,150,210,0.4);
}

.btn-red {
  background: #e62117;
  color: #fff;
}

.btn-red:hover {
  filter: brightness(1.08);
}

.btn-green {
  background: #1aa34a;
  color: #fff;
}

.btn-green:hover {
  filter: brightness(1.05);
}

.about-visual {
  position: relative;
  min-height: 320px;
}

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  position: relative;
}

.about-collage .ph {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #d4eef8, #a8dce8);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-collage .ph-lg {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.about-collage .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-pill {
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  max-width: 280px;
}

.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 350;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-overlay.is-open {
  display: flex;
}

.video-modal {
  width: min(920px, 100%);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.about-video-player {
  width: 100%;
  border-radius: 8px;
  background: #000;
  display: block;
}

.video-close {
  margin-top: 0.65rem;
}

.video-pill .play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  border: 0;
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

.video-pill span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.gallery-grid .cell {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #b8e6f5, #7fd4eb);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.gallery-grid .cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid .cell::after {
  content: "▲";
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.8;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,174,239,0.25);
  transform: translateY(-3px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  background: linear-gradient(135deg, #e0f5fd, #b8e8f8);
  border-radius: 50%;
  color: var(--blue-deeper);
  font-size: 1.65rem;
  display: grid;
  place-items: center;
}

.feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

/* CTA band */
.cta-band {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  padding: 4rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 60, 120, 0.93) 0%, rgba(0, 140, 200, 0.85) 60%, rgba(0, 90, 150, 0.92) 100%);
}

.cta-band .inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.cta-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cta-band p {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  opacity: 0.95;
}

.btn-white {
  background: var(--white);
  color: var(--blue-deeper);
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.partner-strip {
  background: linear-gradient(135deg, #2d6a4f, #40916c);
  padding: 2.2rem 1.5rem;
  text-align: center;
}

.partner-strip h2 {
  margin: 0 0 0.45rem;
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.01em;
}

.partner-strip p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.btn-map-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2d6a4f;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-map-route:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

/* News */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
}

.news-filters button {
  background: none;
  border: 0;
  color: #999;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
}

.news-filters button.is-active {
  color: var(--blue);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.news-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue-deeper), #003d6b);
  flex-shrink: 0;
}

.news-card h3 {
  margin: 0;
  padding: 1.1rem 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}

.pagination button.is-active {
  background: var(--blue);
  color: var(--white);
}

/* Contact page */
.page-hero-title {
  text-align: center;
  padding: 2.5rem 1rem 1rem;
}

.page-hero-title h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue);
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto 4rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.contact-form-wrap {
  padding: 2rem;
}

.contact-form-wrap h2 {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  color: var(--text-dark);
  font-weight: 700;
}

.contact-form-wrap h2 .accent {
  color: var(--blue);
}

.contact-whatsapp-panel {
  padding: 2.25rem 2rem;
  background: #fff;
  border-top: 4px solid #25d366;
}

.contact-whatsapp-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--text-dark);
  font-weight: 700;
}

.contact-whatsapp-panel h2 .accent {
  color: #25d366;
}

.contact-whatsapp-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
}

.contact-whatsapp-benefits {
  margin: 0 0 1.75rem;
  padding-left: 0;
  list-style: none;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-whatsapp-benefits li {
  margin-bottom: 0.45rem;
  padding-left: 1.4rem;
  position: relative;
}

.contact-whatsapp-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25d366;
  font-weight: 700;
}

.btn-whatsapp-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-whatsapp-lg:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.contact-whatsapp-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: #888;
  max-width: 340px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font: inherit;
  color: var(--text-dark);
  background: #f8fafc;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.12);
  background: #fff;
}

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

.contact-side {
  background: linear-gradient(155deg, var(--blue-deeper) 0%, #003d6b 100%);
  color: var(--white);
  padding: 2.25rem 2rem;
}

.contact-side h3 {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.contact-side ul li {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 0;
}

.contact-side strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.95;
}

.contact-whatsapp .wa-number {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
  opacity: 0.95;
}

.contact-whatsapp .wa-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(160deg, #1a2a3a 0%, #0d1f2d 100%);
  color: #94a3b8;
  padding: 4rem 0 1.75rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer a {
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
}

.pix-notice {
  background: #fff8e6;
  border: 1px solid #f0e0a0;
  color: #5c4a00;
  padding: 1.15rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pix-notice a {
  color: #0066aa;
  font-weight: 700;
}

.pix-bank-data {
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.pix-transfer-section {
  margin-top: 1rem;
}

.pix-transfer-title {
  margin: 0 0 0.6rem;
  color: #dbe6f4;
  font-size: 0.93rem;
}

.pix-unified-card {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pix-unified-left {
  background: #fff8e6;
  color: #5c4a00;
  padding: 1.1rem 1.4rem;
  flex: 0 0 36%;
  font-size: 0.88rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pix-warn-label {
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0 0 0.45rem;
  color: #8a6200;
}

.pix-warn-key {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin: 0.35rem 0 0;
  color: #5c4a00;
}

.pix-unified-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.pix-unified-right {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.1rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pix-bank-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7dd3fc;
  margin: 0 0 0.75rem;
}

.pix-bank-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.28rem 1.1rem;
  font-size: 0.88rem;
  align-items: center;
}

.pix-bank-grid span {
  color: #94a3b8;
  white-space: nowrap;
}

.pix-bank-grid span strong {
  color: #e2e8f0;
  font-weight: 600;
}

@media (max-width: 680px) {
  .pix-unified-card {
    flex-direction: column;
  }
  .pix-unified-left {
    flex: none;
  }
  .pix-unified-divider {
    width: auto;
    height: 1px;
  }
}

.pix-bank-data p {
  margin: 0 0 0.45rem;
  color: #d3deeb;
  font-size: 0.95rem;
  line-height: 1.52;
}

.pix-bank-data p:last-child {
  margin-bottom: 0;
}

.pix-bank-data strong {
  color: #ffffff;
}

/* Floating widgets */
.float-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  animation: floatStackIn .45s ease both;
}

.donation-bubble {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(2, 18, 35, 0.14);
  font-size: 0.84rem;
  max-width: 245px;
  color: #1f2937;
  border: 1px solid #d7e3ee;
  line-height: 1.45;
}

.donation-bubble a {
  color: var(--blue);
  font-weight: 800;
}

.scroll-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #8fd8f6, #4fbbe7);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(48, 148, 197, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.scroll-top:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 22px rgba(48, 148, 197, 0.5);
  filter: brightness(1.05);
}

.float-wa {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #34e97b 0%, #25d366 55%, #1fa758 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  animation: waPulse 2.2s ease-in-out infinite;
}

.float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  filter: brightness(1.06);
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes floatStackIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}

.search-overlay.is-open {
  display: flex;
}

.search-box {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  width: min(480px, 90%);
  display: flex;
  gap: 0.5rem;
}

.search-box input {
  flex: 1;
}

/* Responsive */
@media (max-width: 960px) {
  .donation-campaigns-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .video-pill {
    position: static;
    transform: none;
    margin-top: 1rem;
    max-width: none;
  }
}

@media (max-width: 1100px) and (min-width: 961px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet / telas médias: menu colapsável evita barra estourar e “quebrar” o layout */
@media (max-width: 1100px) {
  .logo-mark {
    height: 68px;
  }

  .header-partner-logos img {
    height: 50px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-wrap {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }

  .header-inner {
    align-items: center;
  }

  .nav-wrap.is-open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    width: 100%;
  }

  .main-nav > li > a {
    padding: 0.75rem 0;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    pointer-events: auto;
    box-shadow: none;
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: none;
  }

  .has-sub.is-open .submenu {
    display: block;
  }

  .has-sub > a::after {
    content: "";
  }

  .header-actions {
    justify-content: space-between;
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-prev,
  .hero-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .partner-logo-card--featured {
    transform: scale(1.04);
  }

  .partner-card--featured {
    transform: translateY(-2px) scale(1.04);
  }

  .news-sidebar {
    position: static;
  }

  .cta-band {
    background-attachment: scroll;
  }
}

@media (max-width: 1280px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-wrap {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }

  .nav-wrap.is-open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    width: 100%;
  }

  .main-nav > li > a {
    padding: 0.75rem 0;
    font-size: 0.74rem;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    pointer-events: auto;
    box-shadow: none;
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: none;
  }

  .has-sub.is-open .submenu {
    display: block;
  }

  .has-sub > a::after {
    content: "";
  }

  .header-actions {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .logo-mark {
    height: 56px;
  }

  .header-partner-logos img {
    height: 38px;
  }

  .section {
    padding: 3.25rem 0;
  }

  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-actions > a,
  .about-actions > button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .hero-prev {
    left: 0.5rem;
  }

  .hero-next {
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1180px, 100% - 1rem);
  }

  .partner-cards-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .partner-card {
    max-width: none;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) and (min-width: 961px) {
  .donation-campaigns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ——— Páginas internas (Django) ——— */
.page-strip {
  background: linear-gradient(90deg, #f0f7ff 0%, #e8f4fb 100%);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1rem 0.85rem;
}

.page-strip .breadcrumb {
  width: min(1180px, 100% - 2rem);
  margin: 0 auto 0.5rem;
  font-size: 0.8125rem;
  color: #777;
}

.page-strip .breadcrumb a {
  color: var(--blue);
}

.page-strip h1 {
  display: none;
}

.main-nav > li > a.nav-active {
  background: #dff2fd;
  color: var(--blue-deeper);
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.service-tile {
  position: relative;
  min-height: 260px;
  border-radius: 6px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: default;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 174, 239, 0.78);
  transition: background 0.25s ease;
}

.service-tile:hover::before {
  background: rgba(0, 140, 190, 0.92);
}

.service-tile-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  color: #fff;
  text-align: center;
}

.service-tile-inner h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.service-tile-inner .service-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s, max-height 0.35s ease;
}

.service-tile:hover .service-tile-inner h2 {
  opacity: 0;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.service-tile:hover .service-desc {
  opacity: 1;
  max-height: 280px;
}

@media (max-width: 1100px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .service-tile-inner .service-desc {
    opacity: 1;
    max-height: none;
  }

  .service-tile-inner h2 {
    margin-bottom: 0.75rem;
  }
}

.residence-hero-banner {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 3rem 1.5rem;
}

.residence-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(40, 40, 40, 0.75), rgba(0, 120, 160, 0.55));
}

.residence-hero-banner .inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.residence-hero-banner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
}

.residence-hero-banner p {
  margin: 0;
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.95;
}

.residence-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.residence-col img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.residence-col h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: #555;
  text-transform: none;
  font-weight: 800;
}

.residence-col p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

@media (max-width: 1100px) {
  .residence-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ── Parceiros — Intro ── */
.partners-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

/* Colagem 3 fotos sobrepostas */
.partners-collage {
  position: relative;
  height: 320px;
}

.partners-collage .pc {
  position: absolute;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}

.pc-1 {
  width: 55%;
  height: 55%;
  top: 0;
  left: 0;
  z-index: 3;
}

.pc-2 {
  width: 55%;
  height: 55%;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.pc-3 {
  width: 48%;
  height: 48%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: .85;
}

.partners-text .section-label {
  text-align: left;
}

.partners-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--text-dark);
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.2;
}

.partners-text h2 span { color: var(--blue); }

.partners-sub {
  font-size: .95rem;
  color: #555;
  margin: 0 0 .25rem;
}

.partners-highlight {
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  margin: 0 0 1.25rem;
}

.partners-body-text {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.7;
}

/* ── CTA Bar ── */
.partners-cta-bar {
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
  padding: 2.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.partners-cta-bar h3 {
  margin: 0 0 .4rem;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.partners-cta-bar p {
  margin: 0;
  opacity: .9;
  font-size: .9rem;
  max-width: 380px;
  line-height: 1.55;
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

/* ── Seção Nossos Parceiros ── */
.partners-logos-section {
  text-align: center;
  padding: 4rem 1rem;
}

.partners-logos-section h2 {
  color: var(--blue);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .75rem;
}

.partners-logos-section .intro {
  color: #666;
  margin: 0 auto 2.5rem;
  max-width: 620px;
  font-size: .95rem;
  line-height: 1.6;
}

/* Grade dos cards de parceiros */
.partner-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2rem;
  align-items: start;
  justify-items: center;
}

.partner-card {
  text-align: center;
  max-width: 220px;
}

.partner-card--featured {
  transform: translateY(-4px) scale(1.08);
  position: relative;
  z-index: 2;
}

.partner-card--featured .partner-card-logo {
  border-color: #f5c518;
  box-shadow:
    0 0 0 6px rgba(245, 197, 24, 0.2),
    0 12px 30px rgba(245, 197, 24, 0.45);
  animation: rotaryGlow 2.2s ease-in-out infinite;
}

.partner-card--featured .partner-card-cat,
.partner-card--featured .partner-card-name {
  color: #9a6d00;
}

.partner-card--featured .partner-card-name {
  font-weight: 900;
}


/* Círculo do logo */
.partner-card-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(0, 174, 239, .4);
  box-shadow: 0 6px 24px rgba(0,174,239,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  overflow: hidden;
  padding: .75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.partner-card:hover .partner-card-logo {
  border-color: var(--blue);
  box-shadow: 0 8px 28px rgba(0,174,239,.3);
}

.partner-card-logo--inner-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 174, 239, .9);
  pointer-events: none;
}

.partner-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-card-initials {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
}

.partner-card-cat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .25rem;
}

.partner-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 .35rem;
  line-height: 1.3;
}

.partner-card-name a {
  color: inherit;
  text-decoration: none;
}

.partner-card-name a:hover { color: var(--blue); }

.partner-card-desc {
  font-size: .8rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* Mantido para home */
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.partner-logo-card {
  background: #fff;
  border-radius: 50%;
  aspect-ratio: 1;
  max-width: 180px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 3px solid rgba(0, 174, 239, 0.35);
}

.partner-logo-card--featured {
  border-color: #f5c518;
  transform: scale(1.08);
  box-shadow:
    0 0 0 6px rgba(245, 197, 24, 0.16),
    0 10px 28px rgba(245, 197, 24, 0.38);
}

.partner-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 2rem;
  color: var(--blue);
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .partner-card--featured {
    transform: none;
  }

  .partners-intro {
    grid-template-columns: 1fr;
  }

  .partners-collage {
    height: 220px;
  }

  .partners-cta-bar {
    flex-direction: column;
    text-align: center;
  }

  .partners-cta-bar p { max-width: 100%; }
}

@keyframes rotaryGlow {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(245, 197, 24, 0.2),
      0 12px 30px rgba(245, 197, 24, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(245, 197, 24, 0.14),
      0 14px 34px rgba(245, 197, 24, 0.55);
  }
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
  align-items: start;
}

.news-main article {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.news-main .feat-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue), #005a7a);
}

.news-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #888;
  margin: 0.75rem 0 1rem;
}

.news-sidebar {
  position: sticky;
  top: 5.5rem;
}

.news-sidebar .search-row {
  display: flex;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.news-sidebar .search-row input {
  flex: 1;
  border: 0;
  padding: 0.65rem;
}

.news-sidebar .search-row button {
  border: 0;
  background: var(--gray-bg);
  padding: 0 0.85rem;
  cursor: pointer;
}

.cat-list {
  border-top: 1px solid var(--border);
}

.cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.8125rem;
}

.cat-list a:hover {
  color: var(--blue);
}

.cat-list .badge {
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  min-width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
}

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

  .news-sidebar {
    position: static;
  }
}

.contact-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.contact-promo-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-promo-card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.contact-promo-card .accent {
  color: var(--blue);
}

.contact-promo-card p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .contact-promos {
    grid-template-columns: 1fr;
  }
}

.article-body {
  line-height: 1.8;
  color: var(--text-dark);
  font-size: 1.025rem;
  max-width: 820px;
}

.article-body p {
  margin: 0 0 1.2rem;
}

/* ——— Diretoria ——— */
.director-intro {
  text-align: center;
  color: #555;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.director-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.director-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.director-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.director-photo {
  width: 100%;
  /* Foto de diretoria é mais vertical; 1:1 faz recortar demais */
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.director-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}

.director-info {
  padding: 1.1rem 1rem 1.3rem;
}

.director-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deeper);
  margin: 0 0 .25rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.director-role {
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .75rem;
}

.director-bio {
  font-size: .875rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .director-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .director-grid { grid-template-columns: 1fr; }
}

/* ——— Service sem imagem ——— */
.service-tile--no-img {
  background: linear-gradient(135deg, #003d6b, #0089c4);
}

/* ——— Residência coluna sem imagem ——— */
.residence-col-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8f4fc, #c9e4f5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: .75rem;
  gap: .35rem;
  border: 2px dashed #b0d4ec;
}

.residence-col-img-placeholder span { font-size: 2rem; }
.residence-col-img-placeholder small { font-size: .72rem; color: #7aacca; }

/* ——— Sobre nós / Galeria ——— */
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-gallery-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.about-gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-gallery-item figcaption {
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.35;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .about-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   NOSSA HISTÓRIA — intro + texto
   ═══════════════════════════════════════════ */
.history-page {
  padding-bottom: 4rem;
}

.history-intro {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
}

.history-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 .5rem;
}

.history-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #444;
  margin: 0;
}

.history-body {
  padding: 1.5rem 1rem 2rem;
}

.history-text {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.82;
  color: #333;
  white-space: normal;
  word-spacing: normal;
}

.history-text br + br {
  display: block;
  margin-top: .75rem;
}

/* ═══════════════════════════════════════════
   Quem somos — missão e visão (lado direito)
   ═══════════════════════════════════════════ */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1.75rem;
  align-items: start;
}

.about-two-col-left {
  padding-right: 0.25rem;
}

.about-two-col-right {
  display: flex;
  justify-content: center;
}

.mv-block {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  align-items: center;
  justify-content: flex-start;
}

.mv-card {
  width: 180px;
  text-align: center;
  padding: 0.25rem 0 0.75rem;
}

.mv-icon {
  color: var(--blue);
  margin: 0 auto 0.9rem;
  width: 72px;
  height: 72px;
}

.mv-label {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #5b6673;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.mv-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.85;
  color: #6b7280;
  max-width: 100%;
}

/* Quem somos (imagem + texto + missão/visão) */
.about-quem-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.about-quem-text {
  padding-right: 0.25rem;
}

.about-quem-side {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: center;
}

.about-quem-image {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.about-quem-image img:not(.about-quem-logo) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.about-quem-image::before {
  content: "";
  position: absolute;
  left: -30px;
  top: -30px;
  width: 120px;
  height: 80px;
  background: rgba(0, 174, 239, 0.35);
  border-radius: 6px;
  transform: rotate(-10deg);
  z-index: 1;
  pointer-events: none;
}

.about-quem-image::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 140px;
  height: 95px;
  background: rgba(0, 174, 239, 0.18);
  border-radius: 6px;
  transform: rotate(10deg);
  z-index: 1;
  pointer-events: none;
}

.about-quem-logo {
  position: absolute;
  left: 28px;
  bottom: 24px;
  width: 86px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

@media (max-width: 980px) {
  .about-quem-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .about-quem-side {
    align-items: center;
  }
  .about-quem-image {
    min-height: 320px;
  }
}


@media (max-width: 980px) {
  .about-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-two-col-right {
    justify-content: flex-start;
  }

  .mv-block {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .mv-block {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .mv-card {
    width: 100%;
    max-width: 360px;
  }
}

/* ═══════════════════════════════════════════
   LINHA DO TEMPO
   ═══════════════════════════════════════════ */
.timeline-section {
  padding: 3rem 0 4rem;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.timeline-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

/* Container com linha central */
.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Linha vertical central */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--blue);
  opacity: .25;
}

/* Cada item ocupa a largura toda e usa grid */
.tl-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0 2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

/* Dot central */
.tl-dot {
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--blue);
  margin-top: .5rem;
  flex-shrink: 0;
}

/* Ano: texto grande e cinza */
.tl-year {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #d0dce8;
  line-height: 1;
}

/* Lado com conteúdo (foto + texto) */
.tl-content-side {
  padding-top: .2rem;
}

/* Lado com o ano */
.tl-year-side {
  display: flex;
  align-items: flex-start;
  padding-top: .2rem;
}

/* Item ESQUERDO: conteúdo à esq, ano à dir */
.tl-left .tl-content-side { text-align: right; }
.tl-left .tl-year-side    { justify-content: flex-start; }

/* Item DIREITO: ano à esq, conteúdo à dir */
.tl-right .tl-content-side { text-align: left; }
.tl-right .tl-year-side    { justify-content: flex-end; }

.tl-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .6rem;
}

.tl-img {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin-bottom: .75rem;
  display: block;
}

.tl-left .tl-img  { margin-left: auto; }
.tl-right .tl-img { margin-right: auto; }

.tl-desc {
  font-size: .875rem;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

/* ── Mobile: linha do tempo empilhada ── */
@media (max-width: 680px) {
  .timeline::before { left: 24px; }

  .tl-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: .75rem 1rem;
  }

  /* Dot sempre na col 1, linha 1 */
  .tl-left  .tl-dot,
  .tl-right .tl-dot { grid-column: 1; grid-row: 1; }

  /* Conteúdo na col 2 */
  .tl-left  .tl-content-side,
  .tl-right .tl-content-side { grid-column: 2; grid-row: 1 / 3; text-align: left; }

  /* Ano abaixo do dot */
  .tl-left  .tl-year-side,
  .tl-right .tl-year-side { grid-column: 1; grid-row: 2; justify-content: center; }

  .tl-year { font-size: 1.5rem; }

  .tl-left .tl-img,
  .tl-right .tl-img { margin-left: 0; }
}

/* ═══════════════════════════════════════════
   TEMA ESCURO — cobertura completa
   ═══════════════════════════════════════════ */
.theme-dark {
  color-scheme: dark;
  --text: #cbd5e1;
  --text-dark: #f8fafc;
  --gray-bg: #0d1525;
  --border: #334155;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.theme-dark body {
  background: #020617;
  color: var(--text);
}

/* ── Header ── */
.theme-dark .site-header {
  background: #0b1220;
  border-bottom-color: #334155;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.theme-dark .main-nav > li > a { color: #e2e8f0; }
.theme-dark .main-nav > li > a.nav-active { background: rgba(0, 174, 239, 0.18); color: #7dd3fc; }
.theme-dark .main-nav > li > a:hover,
.theme-dark .main-nav > li > a:focus-visible,
.theme-dark .main-nav > li.is-open > a { background: #1e293b; color: #93c5fd; }

.theme-dark .submenu { background: #111827; border: 1px solid #334155; }
.theme-dark .submenu a { color: #e2e8f0; }
.theme-dark .submenu a:hover { background: #1e293b; color: #93c5fd; }

.theme-dark .nav-toggle { background: #111827; border-color: #334155; color: #93c5fd; }
.theme-dark .btn-search, .theme-dark .btn-theme { color: #93c5fd; }
.theme-dark .btn-search:hover, .theme-dark .btn-theme:hover { background: #1e293b; }
.theme-dark .btn-theme[aria-pressed="true"] { background: #1e293b; }
.theme-dark .logo-mark { filter: brightness(1.1); }
.theme-dark .header-partner-logos img { filter: brightness(0.92); }

/* ── Seções gerais ── */
.theme-dark .section-title { color: #f1f5f9; }
.theme-dark .section-label {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.22);
}
.theme-dark .section { background: #020617; }

/* ── Campanha de doações ── */
.theme-dark .donation-campaigns { background: #0b1325; }
.theme-dark .donation-campaign-card {
  background: #0f172a;
  border-color: #334155;
}
.theme-dark .donation-campaign-card h3 { color: #f1f5f9; }
.theme-dark .donation-campaign-card p { color: #94a3b8; }
.theme-dark .donation-campaign-image { background: #111827; border-color: #334155; }
.theme-dark .donation-campaigns-intro { color: #94a3b8; }

/* ── Feature / serviços ── */
.theme-dark .feature-card { background: #0f172a; border-color: #334155; }
.theme-dark .feature-card h3 { color: #f1f5f9; }
.theme-dark .feature-card p { color: #94a3b8; }
.theme-dark .feature-icon { background: linear-gradient(135deg, #1f2937, #0f172a); color: #7dd3fc; }

/* ── Notícias ── */
.theme-dark .news-card { background: #0f172a; border-color: #334155; }
.theme-dark .news-card h3 { color: #f1f5f9; }

/* ── Parceiros ── */
.theme-dark .partner-logo-card { background: #0f172a; border-color: #334155; }
.theme-dark .partners-text h2 { color: #f1f5f9; }
.theme-dark .partners-sub { color: #94a3b8; }
.theme-dark .partners-body-text { color: #cbd5e1; }
.theme-dark .about-gallery-item { background: #0f172a; border-color: #334155; }
.theme-dark .about-gallery-item figcaption { color: #94a3b8; }

/* ── Contato ── */
.theme-dark .contact-layout { background: #0f172a; border-color: #334155; }
.theme-dark .contact-form-wrap { background: #0f172a; }
.theme-dark .contact-form-wrap h2 { color: #f1f5f9; }
.theme-dark .contact-whatsapp-panel {
  background: #0f172a;
  border-color: #334155;
  border-top-color: #25d366;
}
.theme-dark .contact-whatsapp-panel h2 { color: #f1f5f9; }
.theme-dark .contact-whatsapp-lead { color: #94a3b8; }
.theme-dark .contact-whatsapp-benefits { color: #94a3b8; }
.theme-dark .contact-whatsapp-benefits li::before { color: #4ade80; }
.theme-dark .contact-whatsapp-note { color: #64748b; }
.theme-dark label { color: #cbd5e1; }
.theme-dark input,
.theme-dark textarea {
  background: #111827;
  color: #e2e8f0;
  border-color: #334155;
}
.theme-dark input:focus,
.theme-dark textarea:focus {
  background: #1e293b;
  border-color: var(--blue);
}

/* ── Busca ── */
.theme-dark .search-overlay { background: rgba(2, 6, 23, 0.85); }
.theme-dark .search-box { background: #0f172a; border: 1px solid #334155; }
.theme-dark .search-box input { background: #111827; color: #e2e8f0; border-color: #334155; }

/* ── Vídeo ── */
.theme-dark .video-modal { background: #0f172a; }

/* ── Paginação ── */
.theme-dark .pagination button { background: #0f172a; border-color: #334155; color: #7dd3fc; }
.theme-dark .pagination button.is-active { background: var(--blue); color: #fff; }

/* ── Pix notice ── */
.theme-dark .pix-notice { background: #1c1500; border-color: #4a3800; color: #fde68a; }
.theme-dark .pix-notice a { color: #7dd3fc; }

/* ── Diretoria ── */
.theme-dark .director-card { background: #0f172a; border-color: #334155; border-top-color: var(--blue); }
.theme-dark .director-info h3 { color: #7dd3fc; }
.theme-dark .director-role { color: #38bdf8; }
.theme-dark .director-bio { color: #94a3b8; border-top-color: #334155; }
.theme-dark .director-photo-placeholder { background: linear-gradient(135deg, #1e3a5f, #0c2340); }

/* ── Quem somos ── */
.theme-dark .about-quem-image { background: #111827; border-color: #334155; }
.theme-dark .mv-label { color: #94a3b8; }
.theme-dark .mv-desc { color: #94a3b8; }
.theme-dark .about-text { color: #cbd5e1; }
.theme-dark .article-body { color: #cbd5e1; }
.theme-dark .article-body p { color: #cbd5e1; }

/* ── Breadcrumb / Page strip ── */
.theme-dark .page-strip {
  background: linear-gradient(90deg, #0b1220 0%, #111827 100%);
  border-bottom-color: #334155;
}
.theme-dark .page-strip .breadcrumb { color: #94a3b8; }
.theme-dark .page-strip .breadcrumb a { color: #7dd3fc; }

/* ── História ── */
.theme-dark .history-page { background: #020617; }
.theme-dark .history-subtitle { color: #94a3b8; }
.theme-dark .history-text { color: #cbd5e1; }
.theme-dark .timeline-section { background: #0b1220; border-top-color: #334155; }
.theme-dark .timeline-heading { color: #e2e8f0; }
.theme-dark .timeline::before { background: #38bdf8; opacity: 0.3; }
.theme-dark .tl-dot { border-color: #0b1220; box-shadow: 0 0 0 3px #38bdf8; }
.theme-dark .tl-label { color: #7dd3fc; }
.theme-dark .tl-desc { color: #cbd5e1; }
.theme-dark .tl-year { color: #334155; }

/* ── Seção "Sobre" da home ── */
.theme-dark .about-collage .ph { background: linear-gradient(145deg, #1e293b, #0f172a); }
.theme-dark .about-text p { color: #cbd5e1; }

/* ── Residência ── */
.theme-dark .residence-col-card { background: #0f172a; border-color: #334155; }

/* ── Flutuantes ── */
.theme-dark .donation-bubble { background: #111827; border-color: #334155; }

/* ── Submenu responsivo ── */
@media (max-width: 1280px) {
  .theme-dark .submenu { background: #111827; border-color: #334155; }
  .theme-dark .nav-wrap { background: #0b1220; border-top: 1px solid #334155; }
}
