/* ==========================================================================
   ASSOCIAÇÃO BRASILEIRA ASSISTENCIAL (ABA)
   Design System Adaptativo & Mobile-First de Alta Performance
   ========================================================================== */

:root {
  /* Cores da Identidade Visual da Logo ABA */
  --aba-blue: #0066cc;
  --aba-blue-dark: #004d99;
  --aba-blue-light: #e6f0fa;
  --aba-green: #16a34a;
  --aba-green-dark: #15803d;
  --aba-green-light: #dcfce7;
  --aba-yellow: #d97706;
  --aba-yellow-light: #fef3c7;
  --aba-red: #dc2626;

  /* Superfícies & Neutros */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #091a13;
  --bg-dark-card: rgba(255, 255, 255, 0.05);

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-subtle: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

section[id] {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Containers & Estrutura */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-spacing {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aba-blue);
  background: var(--aba-blue-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.badge-tag.green {
  color: var(--aba-green-dark);
  background: var(--aba-green-light);
}

.badge-tag.yellow {
  color: var(--aba-yellow);
  background: var(--aba-yellow-light);
}

.badge-tag.dark {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-title.text-white {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.section-subtitle.text-white {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   APPBAR / HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  height: 72px;
  max-width: 1360px;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-right: 1.25rem;
}

.nav-brand-logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-brand-desc {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-links-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.7rem, 1.1vw, 1.15rem);
}

.nav-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: #334155;
  padding: 0.25rem 0;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--aba-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--aba-blue);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Botão Seja Parceiro na AppBar - Leve, elegante e moderno (pílula refinada, não sólida/cheia) */
.nav-cta-btn {
  background: rgba(0, 102, 204, 0.06) !important;
  color: var(--aba-blue) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.42rem 1.05rem !important;
  border-radius: 9999px !important;
  border: 1.5px solid rgba(0, 102, 204, 0.35) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: none !important;
  transform: none !important;
  transition: all 0.2s ease !important;
}

.nav-cta-btn:hover {
  background: var(--aba-blue) !important;
  color: #ffffff !important;
  border-color: var(--aba-blue) !important;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.25) !important;
  transform: translateY(-1px) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.5rem;
}

/* ==========================================================================
   HERO BANNER CARROSSEL ADAPTATIVO (DESKTOP, TABLET, MOBILE)
   ========================================================================== */
.hero-carousel-section {
  position: relative;
  padding-top: 72px; /* Alinhamento exato com a AppBar fixa */
  background: #061a12;
  overflow: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.15);
}

.hero-carousel {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 520px;
  height: 60vh;
  max-height: 640px;
  display: flex;
  overflow: hidden !important;
}

.hero-carousel.single-banner {
  min-height: 500px;
}

.hero-carousel-slides {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  overflow: hidden !important;
}

.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
  z-index: 1;
  pointer-events: none;
  box-sizing: border-box !important;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

/* Imagem Responsiva com tag Picture */
.hero-slide-picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

/* Overlay sofisticado para legibilidade máxima do texto */
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.6) 45%, rgba(15, 23, 42, 0.15) 100%);
  transition: opacity 0.3s ease;
}

.hero-slide-full-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  display: block;
}

.hero-carousel-slide.clean-image .hero-slide-container {
  display: none !important;
}

.hero-carousel-slide.slide-text-dark .hero-slide-title {
  color: #0f172a !important;
}
.hero-carousel-slide.slide-text-dark .hero-slide-desc {
  color: #334155 !important;
}
.hero-carousel-slide.slide-text-dark .hero-slide-badge {
  background: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
}
.hero-carousel-slide.slide-text-dark .status-dot {
  background: #0f172a !important;
}

.hero-slide-container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-slide-content {
  max-width: 660px;
  color: #ffffff;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-slide-desc {
  font-size: clamp(0.98rem, 1.25vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.62;
  margin-bottom: 1.85rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  max-width: 580px;
}

.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-slide-btn {
  box-shadow: 0 4px 18px rgba(0, 102, 204, 0.45);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--text-main);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Setas de Navegação (Next / Prev) */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6, 26, 18, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-carousel-arrow:hover {
  background: var(--aba-blue);
  border-color: var(--aba-blue);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}

.hero-carousel-arrow.hero-prev {
  left: 24px;
}

.hero-carousel-arrow.hero-next {
  right: 24px;
}

/* Indicadores / Dots em Pílula */
.hero-carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 26, 18, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-carousel-dot.active {
  width: 36px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.hero-carousel-dot .dot-progress {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: #10b981;
}

.hero-carousel-dot.active .dot-progress {
  animation: heroDotProgress var(--carousel-duration, 5s) linear forwards;
}

@keyframes heroDotProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Adaptação Responsiva p/ Tablet (601px - 1023px) */
@media (max-width: 1023px) {
  .hero-carousel {
    min-height: 480px;
    height: 55vh;
    max-height: 560px;
  }
  .hero-slide-overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 60%, rgba(15, 23, 42, 0.2) 100%);
  }
  .hero-carousel-arrow.hero-prev {
    left: 14px;
  }
  .hero-carousel-arrow.hero-next {
    right: 14px;
  }
}

/* Adaptação Responsiva p/ Mobile (<= 600px) */
@media (max-width: 600px) {
  .hero-carousel-section {
    position: relative !important;
    padding-top: 64px !important;
    background: #061a12 !important;
    overflow: hidden !important;
    width: 100% !important;
    contain: none !important;
  }
  .hero-carousel {
    position: relative !important;
    width: 100% !important;
    min-height: 540px !important;
    height: 560px !important;
    max-height: 600px !important;
    display: block !important;
    overflow: hidden !important;
    contain: none !important;
  }
  .hero-carousel-slides {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 540px !important;
    overflow: hidden !important;
    contain: none !important;
  }
  .hero-carousel-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 540px !important;
    contain: none !important;
  }
  .hero-slide-picture {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    display: block !important;
  }
  .hero-slide-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    display: block !important;
  }
  .hero-slide-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    background: linear-gradient(180deg, rgba(6, 26, 18, 0.25) 0%, rgba(6, 26, 18, 0.65) 45%, rgba(6, 26, 18, 0.94) 100%) !important;
  }
  .hero-slide-container {
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 540px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding-top: 1rem !important;
    padding-bottom: 4.8rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box !important;
  }
  .hero-slide-content {
    max-width: 100% !important;
    width: 100% !important;
    color: #ffffff !important;
  }
  .hero-slide-badge {
    margin-bottom: 0.65rem !important;
    font-size: 0.74rem !important;
    padding: 0.25rem 0.75rem !important;
    display: inline-flex !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  .hero-slide-title {
    font-size: clamp(1.4rem, 5.8vw, 1.85rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.65rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
  }
  .hero-slide-desc {
    font-size: 0.88rem !important;
    line-height: 1.48 !important;
    margin-bottom: 1.15rem !important;
    max-width: 100% !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }
  .hero-slide-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }
  .hero-slide-actions .hero-slide-btn,
  .hero-slide-actions .btn-outline-white {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.92rem !important;
  }
  .hero-carousel-arrow {
    display: none !important;
  }
  .hero-carousel-dots {
    bottom: 14px !important;
    z-index: 10 !important;
  }
}

/* ==========================================================================
   HERO INSTITUCIONAL
   ========================================================================== */
.hero-wrapper {
  position: relative;
  padding-top: 105px;
  padding-bottom: 3.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

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

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aba-green);
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-main-title .gradient-text {
  color: var(--aba-blue);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.hero-action-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--aba-blue);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--aba-blue);
  transition: var(--transition-fast);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

/* Stats no Hero */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hero-stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-card-display {
  position: relative;
}

.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.hero-image-frame img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.hero-floating-quote {
  background: var(--bg-dark);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 1rem 1.25rem;
  color: #ffffff;
}

.hero-floating-quote p {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.hero-floating-quote small {
  font-size: 0.74rem;
  color: #fbbf24;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   QUEM SOMOS & ODS (PÁGINA 2)
   ========================================================================== */
.about-section {
  background: var(--bg-surface);
}

.about-composite-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.75rem;
  align-items: start;
}

.about-text-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.lead-p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.regulatory-badge-card {
  background: var(--bg-subtle);
  border-left: 3px solid var(--aba-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.about-meta-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   MANIFESTO & POSICIONAMENTO (PÁGINA 3)
   ========================================================================== */
.positioning-section {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 3.5rem 0;
}

.positioning-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.positioning-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.positioning-headline .dim {
  color: rgba(255, 255, 255, 0.6);
}

.positioning-headline .accent-yellow {
  color: #fbbf24;
}

.positioning-sub-block {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  padding-left: 1rem;
  border-left: 3px solid var(--aba-green);
  line-height: 1.4;
}

.positioning-box-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.positioning-box-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   RESIDÊNCIA INCLUSIVA & 9 DIREITOS (PÁGINAS 7 E 12)
   ========================================================================== */
.residence-section {
  background: var(--bg-page);
}

.residence-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pillar-number.blue { color: var(--aba-blue); }
.pillar-number.green { color: var(--aba-green-dark); }
.pillar-number.yellow { color: var(--aba-yellow); }

.pillar-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 600;
}

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

.right-card-modern {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border-subtle);
}

.right-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.right-id {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--aba-blue);
  background: var(--aba-blue-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
}

.right-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

.right-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

/* ==========================================================================
   ONDE ESTAMOS (PÁGINA 8)
   ========================================================================== */
.territory-section {
  background: #ffffff;
  scroll-margin-top: 90px;
}

.territory-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.75rem;
  align-items: stretch;
}

.map-visual-box {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #0f3020 0%, #081a12 65%, #040d09 100%);
  border-radius: 24px;
  padding: 1.5rem 1.6rem 1.35rem 1.6rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.map-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.map-header-tag .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulseRadar 2s infinite ease-in-out;
}

.map-coords-badge {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  font-family: monospace;
}

.map-view-controls {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.map-control-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.map-control-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.map-control-btn.active {
  background: #10b981;
  border-color: #10b981;
  color: #06140e;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.real-map-container,
#abaRealMap,
.leaflet-container {
  width: 100% !important;
  max-width: 100% !important;
  height: 450px;
  border-radius: 18px;
  overflow: hidden !important;
  position: relative !important;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 1;
  contain: paint layout !important;
  box-sizing: border-box !important;
}

/* Custom Marker Leaflet */
.aba-marker-pin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #10b981;
  border: 2.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  font-family: var(--font-heading);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.aba-marker-pin:hover {
  transform: scale(1.15);
}

.aba-marker-pin.dourados {
  background: #f59e0b;
}

.aba-marker-pin.inaugurada {
  background: #027ffc;
}

.aba-marker-pulse {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: markerPulse 2.2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.aba-marker-pin.dourados .aba-marker-pulse {
  border-color: #f59e0b;
}

.aba-marker-pin.inaugurada .aba-marker-pulse {
  border-color: #027ffc;
}

@keyframes markerPulse {
  0% { transform: scale(1); opacity: 0.95; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Custom Popups Leaflet */
.leaflet-popup-content-wrapper {
  background: #06140e !important;
  color: #ffffff !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.leaflet-popup-tip {
  background: #06140e !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.4 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.leaflet-container a.leaflet-popup-close-button {
  color: #ffffff !important;
  padding: 3px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px);
  border-radius: 50% !important;
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: 8px !important;
  right: 8px !important;
  font-size: 14px !important;
  text-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  background: rgba(16, 185, 129, 0.85) !important;
  color: #06140e !important;
  border-color: #10b981 !important;
}

.aba-popup-card {
  display: flex;
  flex-direction: column;
  width: 280px;
  max-width: 290px;
}

.aba-popup-card:not(.has-photo) {
  padding: 14px 16px;
  gap: 6px;
}

.aba-popup-card.has-photo .aba-popup-body {
  padding: 11px 13px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aba-popup-img-wrap {
  width: 100%;
  height: 165px;
  position: relative;
  overflow: hidden;
  background: #0a251a;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.aba-popup-img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.35s ease;
}

.aba-popup-img-wrap:hover .aba-popup-img {
  transform: scale(1.05);
}

.aba-popup-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(6, 20, 14, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
  transition: all 0.2s ease;
  pointer-events: none;
}

.aba-popup-img-wrap:hover .aba-popup-zoom-hint {
  background: #10b981;
  color: #06140e;
  border-color: #10b981;
  opacity: 1;
}

.aba-popup-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #34d399;
  letter-spacing: 0.05em;
}

.aba-popup-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.aba-popup-addr {
  font-size: 11.5px;
  color: #cbd5e1;
  margin: 2px 0 6px 0;
  line-height: 1.35;
}

.aba-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #10b981;
  color: #06140e !important;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.2s, background 0.2s;
}

.aba-popup-link:hover {
  opacity: 0.92;
  background: #34d399;
}

.map-visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.map-stat-pill {
  font-size: 0.76rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-stat-pill strong {
  color: #34d399;
  font-weight: 800;
}

.map-stat-pill.highlight strong {
  color: #fbbf24;
}

.units-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.unit-card-modern {
  background: var(--bg-page);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.25s ease;
}

.unit-card-modern:hover,
.unit-card-modern.active-card {
  border-color: #10b981;
  background: #f8fafc;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.12);
}

.unit-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.unit-num-badge {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--aba-green-dark);
  background: var(--aba-green-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
}

.unit-city {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.unit-street-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.unit-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--aba-blue);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.unit-map-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.unit-card-modern.active-card {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.04);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15);
  transform: translateX(4px);
}

/* ==========================================================================
   GOVERNANÇA & CONFORMIDADE (PÁGINAS 4, 9 E 10)
   ========================================================================== */
.governance-section {
  background: var(--bg-subtle);
}

.leader-quote-banner {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.leader-avatar-frame {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.leader-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.leader-quote-content h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.leader-quote-content small {
  color: #fbbf24;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}

.leader-quote-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.governance-tabs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.governance-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.governance-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.laws-list, .team-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.law-row, .team-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: var(--bg-page);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.law-tag-bold {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--aba-blue);
}

.council-pill {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--aba-green-light);
  color: var(--aba-green-dark);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   TRAJETÓRIA & 7 PROGRAMAS (PÁGINAS 5 E 6)
   ========================================================================== */
.trajectory-section {
  background: #ffffff;
}

.timeline-three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.timeline-card-modern {
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-subtle);
}

.timeline-years {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.timeline-phase {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--aba-blue);
  margin-bottom: 0.75rem;
}

.timeline-place {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

.programs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.program-card-modern {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
}

.program-idx-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--aba-green-dark);
  margin-bottom: 0.25rem;
}

.program-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.program-axis {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.program-result {
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   EXPANSÃO 2025/2026 (PÁGINAS 14 A 17)
   ========================================================================== */
.expansion-section {
  background: var(--bg-page);
}

.expansion-banner-totalizer {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.totalizer-amount {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.totalizer-sub {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.expansion-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.expansion-project-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.proj-tag-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--aba-blue);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.proj-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.proj-area {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.proj-val-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.proj-val-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.proj-val-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--aba-green-dark);
}

.proj-val-number.planning {
  font-size: 1.2rem;
  color: var(--aba-blue);
}

.proj-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  margin-top: auto;
}

.proj-detail-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.proj-detail-row span:first-child {
  color: var(--text-muted);
}

.proj-detail-row span:last-child {
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   PRINCÍPIO & PARCERIAS (PÁGINAS 13 E 18)
   ========================================================================== */
.principle-section {
  background: var(--bg-dark);
  color: #ffffff;
  text-align: center;
  padding: 4.5rem 0;
}

.principle-quote-huge {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto 1.25rem auto;
}

.principle-quote-huge .highlight-word {
  color: #fbbf24;
  font-style: italic;
}

.principle-author-tag {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}

.partner-section {
  background: var(--bg-surface);
}

.partnerships-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.partnership-card-box {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.partnership-number {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--aba-blue);
  margin-bottom: 0.35rem;
}

.partnership-type-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.partnership-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.partnership-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.4;
}

.partnership-bullet-list li::before {
  content: '✓';
  color: var(--aba-green-dark);
  font-weight: 800;
}

/* ==========================================================================
   FORMULÁRIO & CONTATO DIRETO (PÁGINA 19)
   ========================================================================== */
.contact-section {
  background: var(--bg-subtle);
}

.contact-layout-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-direct-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.direct-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.direct-channel-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
}

.channel-icon {
  width: 18px;
  height: 18px;
  color: var(--aba-blue);
  flex-shrink: 0;
}

.cnpj-copy-box {
  background: var(--aba-blue-light);
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: var(--radius-xs);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cnpj-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--aba-blue-dark);
}

.btn-copy-cnpj {
  background: var(--aba-blue);
  color: #ffffff;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.form-header-box {
  margin-bottom: 1.5rem;
}

.form-header-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.form-header-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.form-input-group {
  margin-bottom: 1rem;
}

.form-input-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-input-group input,
.form-input-group select,
.form-input-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  color: var(--text-main);
  background: #ffffff;
}

.form-input-group input:focus,
.form-input-group select:focus,
.form-input-group textarea:focus {
  outline: none;
  border-color: var(--aba-blue);
}

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

.btn-form-action {
  width: 100%;
  background: var(--aba-blue);
  color: #ffffff;
  border: none;
  padding: 0.9rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--transition-fast);
}

.btn-form-action:hover {
  background: var(--aba-blue-dark);
}

.form-feedback-alert,
.form-alert {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
  animation: alertFadeSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

@keyframes alertFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-feedback-alert.success,
.form-alert.success {
  display: flex !important;
  align-items: flex-start;
  gap: 0.85rem;
  background: #f0fdf4;
  color: #14532d;
  border: 1.5px solid #22c55e;
  border-left: 5px solid #16a34a;
}

.form-feedback-alert.error,
.form-alert.error {
  display: flex !important;
  align-items: flex-start;
  gap: 0.85rem;
  background: #fef2f2;
  color: #7f1d1d;
  border: 1.5px solid #ef4444;
  border-left: 5px solid #dc2626;
}

.form-alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
}

.form-alert-content strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: inherit;
}

.form-alert-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: inherit;
  opacity: 0.95;
}

/* ==========================================================================
   FOOTER (SEM LINKS DE ADMIN)
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 3.5rem 0 2rem 0;
  border-top: 1px solid var(--border-dark);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-box img {
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.footer-brand-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #94a3b8;
}

.footer-col-header {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer-nav-list a {
  color: #94a3b8;
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA E RIGOROSA (MOBILE & TABLET)
   ========================================================================== */

/* Regras globais de scroll margin para evitar que o Header Fixo (72px) cubra os títulos de seções */
section[id],
.section-spacing[id],
#inicio,
#eventos,
#quem-somos,
#posicionamento,
#residencia,
#casas,
#governanca,
#trajetoria,
#expansao,
#principio,
#noticias,
#parcerias,
#contato {
  scroll-margin-top: 86px !important;
}

/* Telas intermediárias (Notebooks e Tablets horizontais): mais respiro na AppBar */
@media (min-width: 993px) and (max-width: 1280px) {
  .nav-container {
    gap: 1.25rem;
  }
  .nav-brand-desc {
    display: none;
  }
  .nav-links-list {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.81rem;
  }
}

/* Tablets e Mobile (< 992px): Menu Hambúrguer e Grids 1-Coluna */
@media (max-width: 992px) {
  /* No mobile e tablet, os links da navbar FICAM OCULTOS até abrir o menu */
  .nav-links-list {
    display: none !important;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    flex-direction: column;
    padding: 1.25rem 1.5rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 999;
    gap: 0.85rem;
  }

  .nav-links-list.open {
    display: flex !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Grids principais empilham perfeitamente */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .about-composite-grid,
  .positioning-grid,
  .territory-grid,
  .governance-tabs-grid,
  .contact-layout-split {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .residence-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .rights-grid,
  .timeline-three-cards,
  .expansion-projects-grid,
  .partnerships-four-grid,
  .programs-cards-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem !important;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
  }

  .events-cards-grid.multiple-events-layout {
    grid-template-columns: 1fr !important;
  }

  .single-event-layout .event-card-modern {
    grid-template-columns: 1fr !important;
  }
}

/* Telas médias e Mobile intermediário (<= 768px) */
@media (max-width: 768px) {
  .section-spacing {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .section-header {
    margin-bottom: 2rem !important;
  }

  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.15rem) !important;
    line-height: 1.22 !important;
  }

  .section-subtitle {
    font-size: 0.94rem !important;
  }

  .rights-grid,
  .programs-cards-grid,
  .partnerships-four-grid,
  .expansion-projects-grid,
  .timeline-three-cards,
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .real-map-container {
    height: 340px !important;
  }
}

/* Smartphone Portrait / Mobile Rigoroso (<= 600px) */
@media (max-width: 600px) {
  /* Margem interna fluida para evitar qualquer aperto em 360-390px */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .section-spacing {
    padding-top: 2.85rem !important;
    padding-bottom: 2.85rem !important;
  }

  .section-header {
    margin-bottom: 1.65rem !important;
  }

  section[id],
  .section-spacing[id] {
    scroll-margin-top: 78px !important;
  }

  .section-title {
    font-size: clamp(1.45rem, 6.2vw, 1.95rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.5rem !important;
  }

  .section-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  .badge-tag {
    font-size: 0.72rem !important;
    padding: 0.2rem 0.6rem !important;
    margin-bottom: 0.4rem !important;
  }

  /* Hero wrapper (fallback clássico quando sem banner) */
  .hero-wrapper {
    padding-top: 85px !important;
    padding-bottom: 2rem !important;
  }

  .hero-image-frame img {
    height: 280px !important;
    object-position: center 20% !important;
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
  }

  .hero-action-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-action-group .btn-primary,
  .hero-action-group .btn-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Seção de Eventos: correção total do card, PIX e botões */
  .events-cards-grid.multiple-events-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .event-card-modern {
    border-radius: 16px !important;
  }

  .event-card-media {
    min-height: 280px !important;
    max-height: 480px !important;
    aspect-ratio: 4 / 5 !important;
    background: #09121d !important;
  }

  .event-card-media picture,
  .event-compact-media picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .event-card-content {
    padding: 1.15rem 1rem !important;
  }

  .event-card-title {
    font-size: 1.22rem !important;
    margin-bottom: 0.65rem !important;
  }

  .event-cause-box {
    padding: 0.75rem 0.85rem !important;
    margin-bottom: 0.95rem !important;
  }

  .event-financial-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.8rem 0.85rem !important;
  }

  .pix-copy-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.45rem !important;
  }

  .pix-key-code {
    width: 100% !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    word-break: break-all !important;
    padding: 0.35rem 0.5rem !important;
  }

  .btn-copy-pix {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.45rem 0.75rem !important;
  }

  .event-card-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }

  .btn-event-whatsapp,
  .btn-event-map {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 1rem !important;
    font-size: 0.88rem !important;
  }

  /* Seção Residência Inclusiva: 4 Pilares 2x2 elegantes e 9 Direitos */
  .residence-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-bottom: 2rem !important;
  }

  .pillar-card {
    padding: 1rem 0.65rem !important;
    border-radius: 12px !important;
  }

  .pillar-number {
    font-size: 1.75rem !important;
    margin-bottom: 0.35rem !important;
  }

  .pillar-label {
    font-size: 0.76rem !important;
    line-height: 1.3 !important;
  }

  .rights-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .right-card-modern {
    padding: 0.9rem 1rem !important;
    border-radius: 12px !important;
  }

  .right-card-title {
    font-size: 0.95rem !important;
  }

  /* Seção Casas & Mapa Interativo (sem travar scroll) */
  .map-visual-box {
    padding: 1rem 0.85rem 1.15rem 0.85rem !important;
    border-radius: 16px !important;
  }

  .map-view-controls {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    margin-bottom: 0.85rem !important;
  }

  .map-control-btn {
    flex: 1 1 calc(50% - 0.35rem) !important;
    font-size: 0.72rem !important;
    padding: 0.4rem 0.55rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .map-control-btn#mapBtnAll {
    flex: 1 1 100% !important;
  }

  .real-map-container {
    height: 290px !important;
    border-radius: 14px !important;
  }

  .map-visual-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    margin-top: 0.85rem !important;
  }

  .map-stat-pill {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.6rem !important;
  }

  .unit-card-modern {
    padding: 1.05rem 0.95rem !important;
    border-radius: 14px !important;
  }

  .unit-street-name {
    font-size: 0.95rem !important;
  }

  .unit-map-btn {
    flex: 1 1 auto !important;
    justify-content: center !important;
    font-size: 0.76rem !important;
    padding: 0.4rem 0.7rem !important;
  }

  /* Governança: líderes e tabelas */
  .leader-quote-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
    gap: 0.9rem !important;
    margin-bottom: 1.5rem !important;
  }

  .leader-avatar-frame {
    margin: 0 auto !important;
  }

  .leader-quote-content h4 {
    font-size: 1.15rem !important;
  }

  .leader-quote-content p {
    text-align: left !important;
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }

  .governance-card {
    padding: 1.15rem 0.95rem !important;
    border-radius: 16px !important;
  }

  .law-row, .team-spec-item {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.8rem !important;
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
  }

  /* Trajetória & Programas */
  .timeline-three-cards {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }

  .timeline-card-modern {
    padding: 1.15rem 1rem !important;
    border-radius: 14px !important;
  }

  .timeline-years {
    font-size: 1.5rem !important;
  }

  .programs-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .program-card-modern {
    padding: 0.85rem 0.95rem !important;
    border-radius: 12px !important;
  }

  /* Expansão */
  .expansion-projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  .expansion-project-card {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
  }

  .proj-val-number {
    font-size: 1.35rem !important;
  }

  .proj-details-list {
    font-size: 0.8rem !important;
  }

  /* Princípio Orientador */
  .principle-section {
    padding: 2.75rem 0 !important;
  }

  .principle-quote-huge {
    font-size: clamp(1.2rem, 5.2vw, 1.65rem) !important;
    line-height: 1.38 !important;
    padding: 0 0.5rem !important;
  }

  /* Notícias / Blog Home */
  .blog-home-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
  }

  .blog-home-card {
    border-radius: 14px !important;
  }

  .blog-home-card-media {
    height: 175px !important;
  }

  .blog-home-card-content {
    padding: 1.15rem 1rem !important;
  }

  .blog-home-card-title {
    font-size: 1.05rem !important;
  }

  .btn-blog-all {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.4rem !important;
  }

  /* Modalidades de Parcerias */
  .partnerships-four-grid {
    grid-template-columns: 1fr !important;
    gap: 0.95rem !important;
  }

  .partner-card-modern {
    padding: 1.15rem 1rem !important;
    border-radius: 14px !important;
  }

  /* Canais de Contato & Formulário */
  .contact-layout-split {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .contact-direct-card,
  .contact-form-wrapper {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
  }

  .cnpj-copy-box {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }

  .cnpj-text {
    font-size: 0.95rem !important;
  }

  .btn-copy-cnpj {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.45rem 1rem !important;
  }

  .form-row-two {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .form-input-group input,
  .form-input-group select,
  .form-input-group textarea {
    font-size: 16px !important; /* Evita auto-zoom incômodo no Safari iOS */
    padding: 0.75rem 0.85rem !important;
  }

  .btn-form-action {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
  }

  /* Rodapé */
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 1.65rem !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.65rem !important;
  }
}

/* Telas muito pequenas (<= 480px): iPhone SE, Galaxy Mini e equivalentes */
@media (max-width: 480px) {
  .nav-brand-desc {
    display: none !important;
  }

  .nav-brand-name {
    font-size: 1.2rem !important;
  }

  .nav-container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .hero-slide-title {
    font-size: 1.4rem !important;
  }

  .event-card-casas-row {
    gap: 0.35rem !important;
  }

  .event-tag-casa,
  .event-tag-status {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.45rem !important;
  }

  .residence-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
  }

  .pillar-card {
    padding: 0.85rem 0.45rem !important;
  }

  .pillar-number {
    font-size: 1.55rem !important;
  }

  .pillar-label {
    font-size: 0.72rem !important;
  }

  .event-card-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }

  .btn-event-whatsapp,
  .btn-event-map {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ==========================================================================
   SEÇÃO DE EVENTOS BENEFICENTES E AÇÕES SOLIDÁRIAS
   ========================================================================== */
.events-section {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
  border-bottom: 1px solid #fef3c7;
  scroll-margin-top: 85px;
  padding-top: 2.75rem !important;
  padding-bottom: 3.25rem !important;
}

@media (max-width: 680px) {
  .events-section {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
}

.events-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.6rem auto;
}

@media (max-width: 680px) {
  .events-section-header {
    margin: 0 auto 1.15rem auto;
  }
}

.events-section-header .section-title {
  margin-top: 0.4rem;
  margin-bottom: 0.65rem;
  color: var(--aba-forest);
}

.events-section-header .lead-p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.badge-tag.amber {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-tag.amber svg {
  color: #d97706;
}

/* Grid de Eventos */
.events-cards-grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  padding-top: 0.5rem;
}

.events-cards-grid.multiple-events-layout {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Card Destaque Horizontal (Quando há 1 único evento ativo - Altura Compacta e Sem Scroll Excessivo) */
.events-cards-grid.single-event-centered {
  display: block;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.events-cards-grid.single-event-centered .event-card-compact {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  align-items: stretch !important;
  min-height: 325px !important;
  max-height: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.events-cards-grid.single-event-centered .event-compact-media {
  width: 260px !important;
  height: 100% !important;
  min-height: 325px !important;
  max-height: 325px !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 16px 0 0 16px !important;
  flex-shrink: 0 !important;
}

.events-cards-grid.single-event-centered .event-compact-content {
  padding: 1.4rem 1.6rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
}

/* Tablet e Janela Média / Split-screen (461px a 680px - Encaixa perfeitamente na tela sem rolagem) */
@media (max-width: 680px) and (min-width: 461px) {
  .events-cards-grid.single-event-centered {
    max-width: 100% !important;
  }

  .events-cards-grid.single-event-centered .event-card-compact {
    grid-template-columns: 165px minmax(0, 1fr) !important;
    min-height: 206px !important;
  }

  .events-cards-grid.single-event-centered .event-compact-media {
    width: 165px !important;
    height: 100% !important;
    min-height: 206px !important;
    max-height: 206px !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 16px 0 0 16px !important;
  }

  .events-cards-grid.single-event-centered .event-compact-content {
    padding: 0.85rem 1rem !important;
  }

  .events-cards-grid.single-event-centered .event-compact-title {
    font-size: 1.05rem !important;
    margin: 0.2rem 0 0.35rem 0 !important;
    line-height: 1.3 !important;
  }

  .events-cards-grid.single-event-centered .event-compact-meta-list {
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.45rem !important;
    gap: 0.2rem !important;
  }

  .events-cards-grid.single-event-centered .event-compact-meta-item {
    font-size: 0.76rem !important;
  }

  .events-cards-grid.single-event-centered .event-compact-actions {
    gap: 0.45rem !important;
    margin-top: 0.35rem !important;
  }

  .events-cards-grid.single-event-centered .btn-event-saber-mais,
  .events-cards-grid.single-event-centered .btn-event-whatsapp-compact {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    font-size: 0.78rem !important;
    padding: 0 0.5rem !important;
  }
}

/* Smartphone Pequeno (<= 460px) */
@media (max-width: 460px) {
  .events-cards-grid.single-event-centered .event-card-compact {
    display: flex !important;
    flex-direction: column !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }

  .events-cards-grid.single-event-centered .event-compact-media {
    width: 100% !important;
    height: auto !important;
    max-height: 240px !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .events-cards-grid.single-event-centered .event-compact-content {
    padding: 1rem 1.15rem !important;
  }

  .events-cards-grid.single-event-centered .event-compact-title {
    font-size: 1.05rem !important;
  }

  .events-cards-grid.single-event-centered .event-compact-actions {
    gap: 0.5rem !important;
  }

  .events-cards-grid.single-event-centered .btn-event-saber-mais,
  .events-cards-grid.single-event-centered .btn-event-whatsapp-compact {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 0.84rem !important;
  }
}

.events-cards-grid.single-event-layout {
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card Moderno do Evento */
.event-card-modern {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #fed7aa;
  box-shadow: 0 10px 32px rgba(217, 119, 6, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.event-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(217, 119, 6, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #f59e0b;
}

.single-event-layout .event-card-modern {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  align-items: start;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 960px) {
  .single-event-layout .event-card-modern {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Mídia e Cartaz do Evento - Formato Portrait (4:5) Fixo e Imune a Distorção */
.event-card-media {
  position: relative;
  overflow: hidden;
  background: #09121d;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  cursor: zoom-in;
}

.event-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.single-event-layout .event-card-media {
  position: sticky;
  top: 90px;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  min-height: auto;
  align-self: start;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  box-sizing: border-box !important;
}

@media (max-width: 960px) {
  .single-event-layout .event-card-media {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 4 / 5 !important;
    max-height: 520px !important;
    box-sizing: border-box !important;
  }
}

.event-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.event-card-modern:hover .event-card-img {
  transform: scale(1.03);
}

/* Badge de Data Estilo Calendário */
.event-card-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(145deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.event-card-date-badge .badge-day {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.event-card-date-badge .badge-month {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  color: #fef3c7;
}

.event-card-date-badge .badge-year {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.85;
}

/* Pílula de Modalidade */
.event-card-modality-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

/* Conteúdo */
.event-card-content {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

@media (max-width: 600px) {
  .event-card-content {
    padding: 1.25rem 1rem !important;
  }
}

.event-card-casas-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.event-tags-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.event-tag-casa {
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #a7f3d0;
}

.event-tag-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9a3412;
  background: #ffedd5;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--aba-forest);
  margin: 0 0 0.85rem 0;
  line-height: 1.25;
}

/* Caixa de Causa / Objetivo de Arrecadação */
.event-cause-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.event-cause-box .cause-icon-wrap {
  flex-shrink: 0;
  margin-top: 2px;
  color: #d97706;
}

.event-cause-box .cause-text-wrap strong {
  font-size: 0.82rem;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.2rem;
}

.event-cause-box .cause-text-wrap p {
  font-size: 0.88rem;
  color: #78350f;
  margin: 0;
  line-height: 1.45;
}

.event-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}

/* Lista de Detalhes Práticos */
.event-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f1f5f9;
}

.event-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.4;
}

.event-detail-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #d97706;
}

.event-full-address {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

/* Faixa Financeira & PIX */
.event-financial-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  background: #f8fafc;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.event-price-box {
  display: flex;
  flex-direction: column;
}

.event-price-box .price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.event-price-box .price-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #059669;
  line-height: 1.1;
}

.event-pix-box {
  display: flex;
  flex-direction: column;
}

.event-pix-box .pix-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.pix-copy-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pix-key-code {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  background: #ffffff;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.btn-copy-pix {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-pix:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.btn-copy-pix.copied {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
}

/* Botões de Ação Padronizados do Modal de Eventos */
.event-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
  width: 100% !important;
  margin-top: 1.25rem !important;
  align-items: stretch !important;
}

.btn-event-whatsapp,
.btn-event-map {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 1.25rem !important;
  border-radius: 12px !important;
  font-family: var(--font-heading, inherit) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  width: 100% !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

.btn-event-whatsapp svg,
.btn-event-map svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.btn-event-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid transparent !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25) !important;
}

.btn-event-whatsapp:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35) !important;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
}

.btn-event-map {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.btn-event-map:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

@media (max-width: 600px) {
  .event-card-actions {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }
}

/* ==========================================================================
   CARDS COMPACTOS PARA MÚLTIPLOS EVENTOS (HOMEPAGE)
   ========================================================================== */
/* ==========================================================================
   CARDS COMPACTOS PARA EVENTOS (HOMEPAGE) - MINIMALISTA E CLICÁVEL
   ========================================================================== */
.event-card-compact {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #fed7aa;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  overflow: visible;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.event-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(217, 119, 6, 0.13), 0 4px 10px rgba(0, 0, 0, 0.05);
  border-color: #f59e0b;
}

.event-compact-media {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #09121d;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .event-compact-media {
    aspect-ratio: 4 / 5;
    height: auto;
    max-height: 240px;
  }
}

.event-compact-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.event-compact-img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  display: block;
  background: #09121d;
  transition: transform 0.4s ease;
}

.event-card-compact:hover .event-compact-img {
  transform: scale(1.04);
}

/* Badge de Data no Card Compacto: Metade pra fora tanto em cima quanto na lateral */
.event-card-compact .event-card-date-badge {
  position: absolute;
  top: -14px;
  left: -14px;
  z-index: 5;
  background: linear-gradient(145deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  padding: 0.38rem 0.65rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(180, 83, 9, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  border: 2px solid #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card-compact:hover .event-card-date-badge {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(180, 83, 9, 0.45);
}

.event-card-compact .event-card-date-badge .badge-day {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.event-card-compact .event-card-date-badge .badge-month {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  color: #fef3c7;
}

.event-card-compact .event-card-date-badge .badge-year {
  font-size: 0.58rem;
  font-weight: 600;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .event-card-compact .event-card-date-badge {
    top: -14px;
    left: -10px;
    min-width: 52px;
    padding: 0.38rem 0.58rem;
  }
  .event-card-compact .event-card-date-badge .badge-day {
    font-size: 1.12rem;
  }
}

/* Tag de Modalidade (Presencial / Drive-thru) no corpo do card */
.event-tag-modality {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.event-tag-modality svg {
  flex-shrink: 0;
  color: #2563eb;
}

/* Pílula de Preço no corpo do card (abaixo da imagem) */
.event-compact-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
  margin-left: auto;
}

.event-compact-price-pill svg {
  flex-shrink: 0;
  color: #059669;
}

.event-compact-content {
  padding: 1.15rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-compact-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--aba-forest);
  margin: 0 0 0.55rem 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-compact-cause-box {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: #78350f;
  line-height: 1.4;
}

.event-compact-cause-box strong {
  color: #92400e;
  text-transform: uppercase;
  font-size: 0.74rem;
  display: inline-block;
  margin-right: 0.25rem;
}

.event-compact-cause-box p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-compact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #f1f5f9;
}

.event-compact-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.35;
}

.event-compact-meta-item svg {
  flex-shrink: 0;
  color: #d97706;
}

.event-compact-meta-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botões Padronizados dos Cards Compactos da Home */
.event-compact-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.65rem !important;
  margin-top: auto !important;
  width: 100% !important;
  align-items: stretch !important;
}

.btn-event-saber-mais,
.btn-event-whatsapp-compact {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 0.85rem !important;
  border-radius: 10px !important;
  font-family: var(--font-heading, inherit) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: all 0.2s ease !important;
}

.btn-event-saber-mais svg,
.btn-event-whatsapp-compact svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
}

.btn-event-saber-mais {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1.5px solid #d97706 !important;
  cursor: pointer !important;
}

.btn-event-saber-mais:hover {
  background: #fef3c7 !important;
  color: #92400e !important;
  border-color: #b45309 !important;
  transform: translateY(-1px) !important;
}

.btn-event-whatsapp-compact {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid transparent !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.22) !important;
}

.btn-event-whatsapp-compact:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.32) !important;
}

/* ==========================================================================
   MODAL "SABER MAIS" DE EVENTOS (HOMEPAGE)
   ========================================================================== */
.event-modal-backdrop {
  position: fixed;
  inset: 0 !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.event-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.event-modal-dialog {
  background: #ffffff;
  border-radius: 22px;
  max-width: 980px;
  width: 92%;
  max-height: 90vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1.5px solid #fed7aa;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.event-modal-backdrop.open .event-modal-dialog {
  transform: scale(1);
}

.event-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.event-modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.event-modal-content-grid {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  align-items: stretch;
  height: 100%;
  max-height: 90vh;
  overflow: hidden;
}

@media (max-width: 860px) {
  .event-modal-dialog {
    max-height: 94vh;
    overflow-y: auto;
  }
  .event-modal-content-grid {
    grid-template-columns: 1fr !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }
}

.event-modal-media-col {
  background: #09121d;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .event-modal-media-col {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    height: auto !important;
    max-height: 65vh !important;
    min-height: auto !important;
  }
}

.event-modal-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #09121d;
}

.event-modal-media-wrap a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  position: relative;
}

.event-modal-media-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.event-modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  display: block;
  background: #09121d;
  box-sizing: border-box;
}

.event-modal-zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  z-index: 3;
}

/* No modal de detalhes, o cartaz deve ficar 100% limpo e desobstruído.
   A data completa já é exibida com destaque na coluna lateral de informações. */
.event-modal-media-col .event-card-date-badge {
  display: none !important;
}

.event-modal-info-col {
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: 90vh;
  box-sizing: border-box !important;
  scrollbar-width: thin;
}

@media (max-width: 600px) {
  .event-modal-info-col {
    padding: 1.5rem 1.25rem !important;
  }
}

.event-modal-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--aba-forest);
  margin: 0 0 0.85rem 0;
  line-height: 1.25;
}

.event-modal-desc-wrap {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.event-modal-desc-wrap p {
  margin: 0;
}

/* Card de Pré-visualização da Foto do Local (Evento Único) */
.event-local-preview-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem;
  margin-top: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.event-local-preview-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

@media (max-width: 480px) {
  .event-local-preview-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .event-local-thumb-link {
    width: 100% !important;
    height: 140px !important;
  }
}

.event-local-thumb-link {
  position: relative;
  width: 90px;
  height: 75px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  background: #0f172a;
  cursor: zoom-in;
}

.event-local-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.event-local-thumb-link:hover .event-local-thumb-img {
  transform: scale(1.08);
}

.event-local-zoom-icon {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 22px;
  height: 22px;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.event-local-info-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.event-local-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
}

.event-local-place-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-local-place-addr {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.3;
}

/* Badge de Foto do Local nos Cards Compactos */
.event-card-local-badge {
  position: absolute;
  top: 16px;
  left: 92px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 2;
}

/* Card Elegante do Local / Espaço Integrado na Coluna de Informações */
.event-modal-venue-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  margin-top: 0.85rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-modal-venue-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.venue-thumb-link {
  position: relative;
  width: 86px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  background: #0f172a;
  cursor: zoom-in;
  border: 1px solid #cbd5e1;
}

.venue-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.venue-thumb-link:hover .venue-thumb-img {
  transform: scale(1.08);
}

.venue-zoom-overlay {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 22px;
  height: 22px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.venue-info-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.venue-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
}

.venue-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.venue-hint {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.25;
}

/* Indicador Pulsante na Navbar */
.nav-link-eventos {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-event-dot {
  width: 7px;
  height: 7px;
  background: #f59e0b;
  border-radius: 50%;
  display: inline-block;
  animation: pulseEventDot 1.8s infinite;
}

@keyframes pulseEventDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Estilos de Painel de Administração para Eventos */
.events-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.event-admin-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-admin-thumb-wrap {
  position: relative;
  height: 180px;
  background: #0f172a;
}

.event-admin-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-admin-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-admin-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(217, 119, 6, 0.95);
  color: #fff;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.event-admin-date-badge .date-badge-day {
  font-weight: 800;
  font-size: 1.1rem;
}

.event-admin-date-badge .date-badge-month {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
}

.event-admin-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-casas-tags-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.event-casa-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.event-modality-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.event-admin-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--aba-forest);
  margin: 0 0 0.5rem 0;
}

.event-admin-causa {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  color: #78350f;
  margin-bottom: 0.75rem;
  border-radius: 0 6px 6px 0;
}

.event-admin-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 1rem;
}

.event-admin-meta-list .meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.event-admin-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.event-type-card {
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.event-type-card:hover {
  border-color: #f97316 !important;
  transform: translateY(-1px);
}

.event-period-badge-row span {
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
}

/* ==========================================================================
   MÓDULO BLOG INSTITUCIONAL & NOTÍCIAS (ABA)
   ========================================================================== */

/* Hero do Blog */
.blog-hero-section {
  background: radial-gradient(circle at 10% 20%, #0d281e 0%, #061a12 90%);
  padding: 4.5rem 0 3.5rem 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.blog-hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.blog-hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.blog-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.blog-hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2.25rem auto;
}

/* Filtro e Pesquisa do Blog */
.blog-filter-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.blog-search-form {
  display: flex;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.4rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.25rem;
}

.blog-search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 0.85rem;
  gap: 0.65rem;
  color: #64748b;
}

.blog-search-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.98rem;
  color: #1e293b;
  background: transparent;
  font-family: inherit;
}

.blog-search-clear {
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0 0.25rem;
}

.blog-search-clear:hover {
  color: #ef4444;
}

.btn-search-submit {
  padding: 0.75rem 1.6rem !important;
  font-size: 0.95rem !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  cursor: pointer;
  white-space: nowrap;
}

.blog-categories-pills {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cat-pill {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.cat-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cat-pill.active {
  background: #10b981;
  color: #061a12;
  border-color: #10b981;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Conteúdo Principal do Blog */
.blog-main-container {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.blog-filter-feedback {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: #475569;
}

.btn-clear-all-filters {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ef4444;
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: #fee2e2;
}

/* Card Destaque Principal */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
  margin-bottom: 3.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.1);
}

.featured-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 340px;
  background: #0f172a;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-img-wrap:hover .featured-img {
  transform: scale(1.03);
}

.featured-badge-pill {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(16, 185, 129, 0.95);
  backdrop-filter: blur(8px);
  color: #061a12;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-content-wrap {
  padding: 2.5rem 2.25rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.85rem;
}

.blog-cat-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.meta-dot {
  color: #cbd5e1;
}

.featured-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: #061a12;
  margin-bottom: 0.9rem;
}

.featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.featured-title a:hover {
  color: #10b981;
}

.featured-excerpt {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.author-avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #047857;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.15s ease;
}

.btn-read-more:hover {
  color: #10b981;
  gap: 0.65rem;
}

/* Grid de Artigos */
.blog-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.blog-grid-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #061a12;
  margin: 0;
}

.blog-count-badge {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.08);
}

.blog-card-media {
  position: relative;
  display: block;
  height: 200px;
  background: #0f172a;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-card-cat {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(6, 26, 18, 0.85);
  backdrop-filter: blur(6px);
  color: #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-attachment-pill {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(2, 132, 199, 0.9);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.blog-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #061a12;
  margin: 0 0 0.65rem 0;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.blog-card-title a:hover {
  color: #10b981;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.author-micro {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.card-read-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #047857;
  text-decoration: none;
  transition: color 0.15s ease;
}

.card-read-link:hover {
  color: #10b981;
}

/* Banner de CTA no Blog */
.blog-cta-banner {
  background: linear-gradient(135deg, #0d281e 0%, #061a12 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  box-shadow: 0 16px 36px -8px rgba(6, 26, 18, 0.4);
}

.cta-banner-content {
  max-width: 650px;
}

.cta-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.cta-banner-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.cta-banner-content p {
  font-size: 0.98rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.55;
}

.btn-cta-large {
  padding: 0.95rem 1.8rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

/* Estado Vazio do Blog */
.blog-empty-state {
  text-align: center;
  padding: 4.5rem 1.5rem;
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  max-width: 580px;
  margin: 2rem auto;
}

.empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.blog-empty-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.blog-empty-state p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   PÁGINA DO ARTIGO INDIVIDUAL (post.php)
   ========================================================================== */

.post-single-wrapper {
  background: #f8fafc;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.post-single-container {
  max-width: 860px;
  margin: 0 auto;
}

/* Alerta de Modo Rascunho para Admin */
.admin-preview-alert {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 0.65rem 0;
  font-size: 0.85rem;
  color: #92400e;
}

.admin-preview-alert .container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-back-admin {
  margin-left: auto;
  font-weight: 700;
  color: #b45309;
  text-decoration: underline;
}

/* Breadcrumbs */
.post-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.post-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.post-breadcrumbs a:hover {
  color: #10b981;
}

.bc-sep {
  color: #cbd5e1;
}

.bc-current {
  color: #0f172a;
  font-weight: 600;
}

/* Header do Artigo */
.post-header {
  margin-bottom: 2rem;
}

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.post-cat-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #061a12;
  margin: 0 0 1.25rem 0;
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.post-author-details {
  display: flex;
  flex-direction: column;
}

.author-label {
  font-size: 0.74rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.author-fullname {
  font-size: 0.95rem;
  color: #1e293b;
}

.post-share-quick {
  margin-left: auto;
}

/* Capa do Artigo */
.post-cover-wrapper {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  background: #0f172a;
}

.post-cover-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Lead Box */
.post-lead-box {
  background: #ffffff;
  border-left: 4px solid #10b981;
  padding: 1.25rem 1.5rem;
  border-radius: 0 14px 14px 0;
  margin-bottom: 2.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.post-lead-box p {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.65;
  color: #1e293b;
  margin: 0;
}

/* Tipografia Editorial Rica (Rich Text Body) */
.rich-text-body {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #334155;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.rich-text-body p {
  margin-bottom: 1.5rem;
}

.rich-text-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #061a12;
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e2e8f0;
}

.rich-text-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #061a12;
  margin: 2rem 0 0.85rem 0;
}

.rich-text-body ul, 
.rich-text-body ol {
  margin-bottom: 1.6rem;
  padding-left: 1.5rem;
}

.rich-text-body li {
  margin-bottom: 0.5rem;
}

.rich-text-body blockquote {
  background: #f1f5f9;
  border-left: 4px solid #059669;
  padding: 1.25rem 1.6rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #0f172a;
}

/* Links Editoriais e Palavras-Chave no Conteúdo (Estilo Portal de Notícias) */
.rich-text-body a,
.post-content-body a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #93c5fd;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  border-radius: 4px;
  padding: 1px 4px;
  background-color: rgba(37, 99, 235, 0.05);
  transition: color 0.18s ease, background-color 0.18s ease, text-decoration-color 0.18s ease;
  display: inline;
  word-break: break-word;
}

.rich-text-body a:hover,
.post-content-body a:hover {
  color: #1e40af;
  background-color: rgba(37, 99, 235, 0.12);
  text-decoration-color: #1d4ed8;
  text-underline-offset: 5px;
}

/* Variante Específica para Palavras-Chave de Eventos Beneficentes (Âmbar / Laranja ABA) */
.rich-text-body a.blog-keyword-link-event,
.post-content-body a.blog-keyword-link-event,
.rich-text-body a[href*="#evento"],
.post-content-body a[href*="#evento"] {
  color: #c2410c !important;
  background-color: rgba(234, 88, 12, 0.08) !important;
  text-decoration-color: #fdba74 !important;
  font-weight: 700 !important;
}

.rich-text-body a.blog-keyword-link-event:hover,
.post-content-body a.blog-keyword-link-event:hover,
.rich-text-body a[href*="#evento"]:hover,
.post-content-body a[href*="#evento"]:hover {
  color: #9a3412 !important;
  background-color: rgba(234, 88, 12, 0.16) !important;
  text-decoration-color: #ea580c !important;
}

/* Variante para Doação / PIX / Solidário (Esmeralda ABA) */
.rich-text-body a.blog-keyword-link-emerald,
.post-content-body a.blog-keyword-link-emerald,
.rich-text-body a[href*="#como-ajudar"],
.post-content-body a[href*="#como-ajudar"] {
  color: #047857 !important;
  background-color: rgba(5, 150, 105, 0.08) !important;
  text-decoration-color: #6ee7b7 !important;
  font-weight: 700 !important;
}

.rich-text-body a.blog-keyword-link-emerald:hover,
.post-content-body a.blog-keyword-link-emerald:hover,
.rich-text-body a[href*="#como-ajudar"]:hover,
.post-content-body a[href*="#como-ajudar"]:hover {
  color: #065f46 !important;
  background-color: rgba(5, 150, 105, 0.16) !important;
  text-decoration-color: #059669 !important;
}

.rich-text-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* Galeria de Fotos Adicionais no Artigo */
.post-gallery-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  margin: 3rem 0;
}

.gallery-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.gallery-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #061a12;
  margin: 0;
}

.gallery-count-badge {
  background: #ecfdf5;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-left: auto;
}

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

.gallery-thumb-item {
  position: relative;
  display: block;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 18, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-thumb-item:hover .gallery-thumb-overlay {
  opacity: 1;
}

.gallery-thumb-item:hover img {
  transform: scale(1.05);
}

/* Seção de Documentos & Relatórios Anexados */
.post-documents-section {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 18px;
  padding: 2rem;
  margin: 3rem 0;
}

.documents-header {
  margin-bottom: 1.5rem;
}

.doc-icon-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.doc-icon-title-wrap h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0369a1;
  margin: 0 0 0.25rem 0;
}

.doc-icon-title-wrap p {
  font-size: 0.88rem;
  color: #0c4a6e;
  margin: 0;
}

.documents-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.doc-attachment-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e0f2fe;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  gap: 1rem;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.05);
}

.doc-type-badge {
  width: 48px;
  height: 48px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.doc-type-badge svg {
  margin-bottom: 2px;
}

.doc-meta-info {
  flex: 1;
  min-width: 0;
}

.doc-filename {
  display: block;
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-submeta {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.btn-download-doc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0284c7;
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.btn-download-doc:hover {
  background: #0369a1;
}

/* Barra de Compartilhamento no Rodapé */
.post-share-footer {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.share-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
}

.share-buttons-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-share-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-share-social:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn-share-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.btn-share-facebook {
  background: #1877F2;
  color: #ffffff;
}

.btn-share-twitter {
  background: #000000;
  color: #ffffff;
}

.btn-share-linkedin {
  background: #0A66C2;
  color: #ffffff;
}

.btn-copy-link {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

.btn-copy-link:hover {
  background: #e2e8f0;
}

/* CTA Institucional no Artigo */
.post-institutional-cta {
  background: linear-gradient(135deg, #0d281e 0%, #061a12 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 20px;
  padding: 2.75rem;
  color: #ffffff;
  margin: 3.5rem 0;
  box-shadow: 0 16px 36px -12px rgba(6, 26, 18, 0.35);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.75rem;
}

.cta-text {
  flex: 1 1 0;
  min-width: 0;
}

.cta-micro-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cta-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
  margin: 0.75rem 0 0.5rem 0;
}

.cta-text p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.cta-btn-wrap {
  display: flex;
  gap: 0.85rem;
  flex-direction: column;
  flex-shrink: 0;
  width: auto;
  min-width: 260px;
}

.cta-btn-wrap .btn-primary,
.cta-btn-wrap .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  width: 100%;
}

.cta-btn-wrap .btn-primary {
  background: var(--aba-blue);
  color: #ffffff;
  border: 1px solid var(--aba-blue);
  box-shadow: 0 4px 14px rgba(0, 114, 206, 0.35);
}

.cta-btn-wrap .btn-primary:hover {
  background: var(--aba-blue-dark);
  border-color: var(--aba-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 206, 0.5);
}

.cta-btn-wrap .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.cta-btn-wrap .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Artigos Relacionados */
.post-related-section {
  margin-top: 4rem;
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.related-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #061a12;
  margin: 0;
}

.related-see-all {
  color: #047857;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

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

.related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.related-card-media {
  position: relative;
  height: 150px;
  display: block;
}

.related-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-cat {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(6, 26, 18, 0.85);
  color: #a7f3d0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.related-card-content {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-date {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.related-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #061a12;
  margin: 0 0 0.75rem 0;
}

.related-title a {
  color: inherit;
  text-decoration: none;
}

.related-read-more {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #047857;
  text-decoration: none;
}

/* Toast de Cópia */
.blog-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #061a12;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 9999;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.blog-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SEÇÃO DO BLOG NA HOME (index.php)
   ========================================================================== */

.blog-home-section {
  background: #ffffff;
}

.blog-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.75rem;
}

.blog-home-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.blog-home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.08);
}

.blog-home-card-media {
  position: relative;
  height: 210px;
  display: block;
  overflow: hidden;
  background: #0f172a;
}

.blog-home-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-home-card:hover .blog-home-card-media img {
  transform: scale(1.04);
}

.blog-home-badge-cat {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(6, 26, 18, 0.85);
  backdrop-filter: blur(6px);
  color: #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.blog-home-doc-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(2, 132, 199, 0.9);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-home-card-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-home-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.blog-home-card-meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-home-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #061a12;
  margin: 0 0 0.65rem 0;
}

.blog-home-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.blog-home-card-title a:hover {
  color: #10b981;
}

.blog-home-card-excerpt {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}

.blog-home-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.author-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.link-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #047857;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.15s ease;
}

.link-read-more:hover {
  color: #10b981;
  gap: 0.55rem;
}

.blog-home-cta-row {
  text-align: center;
}

.btn-blog-all {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.9rem 2.2rem !important;
  font-size: 1rem !important;
}

/* ==========================================================================
   PAINEL ADMINISTRATIVO: BLOG & EDITOR WYSIWYG (admin.php)
   ========================================================================== */

/* Grid de Artigos no Admin */
.blog-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.blog-admin-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-admin-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.blog-admin-media {
  position: relative;
  height: 175px;
  background: #0f172a;
}

.blog-admin-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-admin-cat-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(6, 26, 18, 0.85);
  color: #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.blog-admin-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.blog-admin-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.blog-admin-meta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.blog-admin-excerpt {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

.blog-admin-media-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag-media {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.tag-destaque {
  background: #fef3c7;
  color: #b45309;
}

.tag-galeria {
  background: #f3e8ff;
  color: #7e22ce;
}

.tag-docs {
  background: #e0f2fe;
  color: #0369a1;
}

.blog-admin-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

/* Editor WYSIWYG */
.wysiwyg-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.45rem 0.65rem;
  flex-wrap: wrap;
}

.btn-group-format {
  display: flex;
  gap: 0.2rem;
}

.btn-tb {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
  cursor: pointer;
  color: #334155;
  transition: all 0.15s ease;
  font-family: inherit;
}

.btn-tb:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-tb:active {
  background: #cbd5e1;
}

.tb-sep {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
  margin: 0 0.3rem;
}

.btn-tb-html {
  font-family: monospace;
  font-weight: 700;
  margin-left: auto;
}

.btn-tb-html.active {
  background: #1e293b;
  color: #38bdf8;
  border-color: #1e293b;
}

.blog-wysiwyg-editable-canvas {
  min-height: 320px;
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: 0 0 8px 8px;
  padding: 1.25rem;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-wysiwyg-editable-canvas:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.blog-wysiwyg-editable-canvas.html-mode {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  background: #0f172a;
  color: #f8fafc;
  white-space: pre-wrap;
}

/* Responsividade Mobile & Tablet */
@media (max-width: 1024px) {
  .blog-posts-grid,
  .blog-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .featured-content-wrap {
    padding: 1.75rem;
  }

  .featured-img-wrap {
    min-height: 260px;
  }

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.75rem;
  }

  .cta-btn-wrap {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .blog-hero-title {
    font-size: 2rem;
  }

  .blog-posts-grid,
  .blog-home-grid {
    grid-template-columns: 1fr;
  }

  .post-title {
    font-size: 1.75rem;
  }

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

  .blog-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .doc-attachment-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-download-doc {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   BOTÃO FLUTUANTE OFICIAL DO WHATSAPP (ABA)
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.whatsapp-float-btn {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.3s ease;
  user-select: none;
  animation: whatsappFloatEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.18);
  color: #ffffff !important;
}

.whatsapp-float-btn:active {
  transform: scale(0.96) translateY(0);
}

.whatsapp-float-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover .whatsapp-float-icon {
  transform: scale(1.06);
}

/* Pulso animado sutil que atrai o olhar */
.whatsapp-float-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.7;
  animation: whatsappPulseRing 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes whatsappPulseRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes whatsappFloatEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.7);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Selo de status online */
.whatsapp-float-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background-color: #22c55e;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Balão Tooltip com animação suave e seta */
.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  visibility: hidden;
  background: #0f172a;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.55rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease;
  pointer-events: none;
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.whatsapp-tooltip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 6px #22c55e;
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip,
.whatsapp-float-btn:focus-visible .whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Ajustes Responsivos para Dispositivos Móveis */
@media (max-width: 768px) {
  .whatsapp-float-container {
    bottom: 20px;
    right: 18px;
  }

  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}

/* ==========================================================================
   SEÇÃO EMPRESAS AMIGAS DA ABA (CARROSSEL HORIZONTAL INFINITO DE MARCAS)
   ========================================================================== */

.empresas-amigas-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.empresas-marquee-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.25rem 0;
  margin: 1.5rem 0 2.5rem 0;
  user-select: none;
}

/* Gradientes de Fade nas extremidades para entrada/saída ultra suave */
.empresas-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 3;
  pointer-events: none;
}

.empresas-marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-page) 10%, rgba(248, 250, 252, 0) 100%);
}

.empresas-marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-page) 10%, rgba(248, 250, 252, 0) 100%);
}

/* Trilho com rolagem contínua acelerada por GPU */
.empresas-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.75rem;
  will-change: transform;
  animation: empresasMarqueeScroll var(--marquee-duration, 25s) linear infinite;
}

/* Pausa acessível no hover e no foco */
.empresas-marquee-outer:hover .empresas-marquee-track,
.empresas-marquee-outer:focus-within .empresas-marquee-track {
  animation-play-state: paused;
}

.empresas-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-shrink: 0;
}

/* Card individual da marca */
.empresa-logo-card {
  flex-shrink: 0;
}

.empresa-logo-link,
.empresa-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 88px;
  padding: 1rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.empresa-logo-link:hover,
.empresa-logo-wrap:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: rgba(16, 185, 129, 0.45);
}

.empresa-logo-img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%) contrast(95%);
  transition: filter 0.28s ease, transform 0.28s ease;
}

.empresa-logo-link:hover .empresa-logo-img,
.empresa-logo-wrap:hover .empresa-logo-img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.03);
}

/* Animação do Marquee Horizontal Infinito */
@keyframes empresasMarqueeScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Card CTA de Parceria */
.empresas-cta-wrapper {
  margin-top: 1rem;
}

.empresas-cta-card {
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.08);
  position: relative;
  overflow: hidden;
}

.empresas-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--aba-emerald) 0%, var(--aba-emerald-dark) 100%);
}

.empresas-cta-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.empresas-cta-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--aba-emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.empresas-cta-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.35rem 0;
}

.empresas-cta-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.empresas-cta-btn-wrap .btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
}

/* Responsividade Mobile e Tablet */
@media (max-width: 992px) {
  .empresas-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .empresas-cta-btn-wrap {
    width: 100%;
  }

  .empresas-cta-btn-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .empresas-amigas-section {
    padding: 3.5rem 0 3rem 0;
  }

  .empresas-marquee-fade {
    width: 50px;
  }

  .empresa-logo-link,
  .empresa-logo-wrap {
    width: 155px;
    height: 74px;
    padding: 0.75rem 1rem;
  }

  .empresa-logo-img {
    max-height: 38px;
  }

  .empresas-marquee-track {
    gap: 1.15rem;
  }

  .empresas-marquee-group {
    gap: 1.15rem;
  }

  .empresas-cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* Respeito a preferência por movimento reduzido (Acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  .empresas-marquee-track {
    animation-duration: 90s;
  }
}

/* ==========================================================================
   SEÇÃO VÍDEO INSTITUCIONAL · SURGIMENTO DA ABA
   Experiência Cinematográfica Imersiva em Alta Resolução (4K / Full HD)
   ========================================================================== */

.video-institucional-section {
  position: relative;
  background: radial-gradient(circle at 50% 15%, #0f2b20 0%, #081711 50%, #040a08 100%);
  color: #ffffff;
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(22, 163, 74, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Efeito sutil de iluminação no topo */
.video-institucional-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.video-header-custom {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.badge-tag.green-cinema {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.text-cinema {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin: 0 auto;
}

.text-cinema-sub {
  color: #cbd5e1 !important;
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 760px;
  margin: 1rem auto 0 auto;
}

/* Wrapper do Player e Efeito de Moldura */
.video-player-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
}

.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 40px -10px rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-player-container:hover {
  box-shadow: 
    0 30px 75px -15px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(74, 222, 128, 0.35),
    0 0 50px -10px rgba(34, 197, 94, 0.25);
}

/* Elementos iframe e vídeo HTML5 nativo */
.video-element-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-element-native {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
  display: block;
  outline: none;
}

.video-fallback-msg {
  padding: 2rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.95rem;
}

.video-fallback-msg .btn {
  margin-top: 1rem;
}

/* Grade de Metadados / Credenciais Cinematográficas */
.video-cinema-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.video-cinema-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.video-cinema-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(74, 222, 128, 0.3);
  transform: translateY(-2px);
}

.video-cinema-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.video-cinema-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.video-cinema-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 600;
}

.video-cinema-value {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #f8fafc;
}

/* Responsividade Mobile e Tablet */
@media (max-width: 992px) {
  .video-institucional-section {
    padding: 4.5rem 0 5rem 0;
  }
  
  .video-cinema-meta-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .video-institucional-section {
    padding: 3.5rem 0 4rem 0;
  }

  .video-player-container {
    border-radius: 14px;
  }

  .video-cinema-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .video-cinema-card {
    padding: 0.85rem 1rem;
  }
}

/* ==========================================================================
   SISTEMA GLOBAL DE GALERIA LIGHTBOX FULLSCREEN (SITE INTEIRO)
   ========================================================================== */
.aba-clickable-image,
.event-local-thumb-link,
.modal-local-photo-container a,
.leader-photo-wrap,
.aba-popup-img-wrap,
.event-modal-media-wrap a,
[data-lightbox],
[data-gallery] {
  cursor: zoom-in !important;
}

.event-card-compact,
.event-compact-media,
.event-compact-img {
  cursor: pointer !important;
}

.aba-global-lightbox-backdrop {
  position: fixed;
  inset: 0 !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  background: rgba(4, 9, 18, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.aba-global-lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.aba-lightbox-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.75rem;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

.aba-lightbox-counter {
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-heading, sans-serif);
}

.aba-lightbox-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.aba-lightbox-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aba-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

.aba-lightbox-close-btn:hover {
  background: rgba(220, 38, 38, 0.88);
  border-color: rgba(220, 38, 38, 1);
}

.aba-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 1rem;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.aba-lightbox-media-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.aba-lightbox-main-img {
  max-width: 90vw;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
  user-select: none;
}

.aba-lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  flex-shrink: 0;
}

.aba-lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.aba-lightbox-bottom-bar {
  padding: 1.15rem 1.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

.aba-lightbox-caption {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  max-width: 760px;
  line-height: 1.45;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.aba-lightbox-hint {
  font-size: 0.76rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-align: center;
}

.aba-lightbox-hint .mobile-hint {
  display: none;
}

@media (max-width: 768px) {
  .aba-lightbox-top-bar {
    padding: 0.85rem 1rem;
  }
  .aba-lightbox-bottom-bar {
    padding: 0.85rem 1rem;
  }
  .aba-lightbox-main-img {
    max-width: 95vw;
    max-height: 70vh;
  }
  .aba-lightbox-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.45);
  }
  .aba-lightbox-hint .desktop-hint {
    display: none;
  }
  .aba-lightbox-hint .mobile-hint {
    display: inline-block;
  }
}





