/* ==========================================================================
   CHAPADÃO DO CORISCO - SEÇÃO HERO & NAVBAR
   Estilos visuais, layout responsivo e efeito de profundidade
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS E RESET GLOBAL
   -------------------------------------------------------------------------- */
:root {
  --color-blue-bg: #074384;
  --color-blue-light: #166cbe;
  --color-yellow-junino: #F2B611;
  --color-yellow-glow: #ffc423;
  --color-dark-text: #0a192f;
  --color-white: #ffffff;
  
  --font-display: 'Bebas Neue', 'Barlow Condensed', 'Anton', Impact, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-text: 0 4px 24px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-btn: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-dancers: 0 20px 45px rgba(0, 0, 0, 0.5);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-blue-bg);
  color: var(--color-white);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

/* --------------------------------------------------------------------------
   2. NAVBAR / HEADER SUPERIOR (FIXO COM TRANSIÇÃO SUAVE)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(4, 21, 45, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
  border-bottom: 1px solid rgba(242, 182, 17, 0.22);
}

.navbar.scrolled .logo-img {
  width: 58px;
  height: 58px;
}

.navbar-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logotipo Circular */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

/* Links de Navegação Desktop (Centro) */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  scroll-target-group: auto;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background-color: var(--color-yellow-junino);
  transition: width 0.25s ease, left 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link:is(:target-current, .target-current) {
  color: var(--color-yellow-glow);
}

.nav-link:hover::after,
.nav-link:is(:target-current, .target-current)::after {
  width: 100%;
  left: 0;
}

/* Ações e Redes Sociais (Direita) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.social-icon {
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon svg {
  display: block;
}

.social-icon:hover {
  color: var(--color-yellow-junino);
  transform: translateY(-2px) scale(1.12);
}

/* Botão CTA Destacado */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-yellow-junino);
  color: var(--color-dark-text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.72rem 1.65rem;
  border-radius: 6px;
  box-shadow: var(--shadow-btn);
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-cta:hover {
  background-color: var(--color-yellow-glow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 182, 17, 0.45);
}

.btn-cta:active {
  transform: translateY(0);
}

/* Botão Hambúrguer Mobile */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   3. MENU MOBILE DRAWER (GLASSMORPHISM)
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 105;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s ease;
}

.mobile-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 48, 0.65);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.mobile-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100%;
  background: rgba(7, 48, 97, 0.94);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

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

.drawer-logo {
  border-radius: 50%;
  object-fit: cover;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.drawer-close:hover {
  color: var(--color-yellow-junino);
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  padding: 0.4rem 0;
  transition: var(--transition-smooth);
}

.mobile-link:hover {
  color: var(--color-yellow-junino);
  transform: translateX(6px);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social-links {
  display: flex;
  gap: 1.25rem;
}

.mobile-social-links a {
  color: var(--color-white);
  transition: color 0.2s ease;
}

.mobile-social-links a:hover {
  color: var(--color-yellow-junino);
}

.btn-mobile-cta {
  width: 100%;
  text-align: center;
  padding: 0.85rem;
}

/* --------------------------------------------------------------------------
   4. SEÇÃO HERO (PALCO PRINCIPAL & CAMADAS)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Fundo Azul Degradê */
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('./backgound.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Container do Palco (Dançarinos + Tipografia) */
.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10;
}

/* Camada 1: Dançarinos Centrais (Abaixo da Tipografia) */
.hero-dancers-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 84vh;
  max-height: 940px;
  z-index: 15; /* Camada abaixo do texto */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  animation: fadeInDancers 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.dancers-img {
  height: 100%;
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  filter: drop-shadow(var(--shadow-dancers));
  transform-origin: bottom center;
}

/* Animação suave de entrada dos dançarinos */
@keyframes fadeInDancers {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(25px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Camada 2: Tipografia de Impacto Hero (Sobreposta aos dançarinos, elevada em 25% e aumentada em 10%) */
.hero-typography-backdrop {
  position: absolute;
  bottom: 25vh; /* Elevado em 25% no desktop e tablet */
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1600px;
  padding: 0 16.5%; /* Centralizado junto aos dançarinos com aproximação de margem */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 25; /* Camada ACIMA dos dançarinos */
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  animation: fadeInText 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

/* Bloco Esquerdo: GRUPO JUNINO (Aumentado em 10% e proporcional em altura) */
.hero-block-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.text-grupo {
  color: var(--color-white);
  font-size: clamp(4.2rem, 8.4vw, 9.4rem); /* +10% */
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0.03em;
  text-shadow: var(--shadow-text);
  margin-bottom: clamp(2px, 0.35vw, 6px);
}

.text-junino {
  color: var(--color-yellow-junino);
  font-size: clamp(4.85rem, 10.1vw, 11.4rem); /* +10% */
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.01em;
  text-shadow: var(--shadow-text);
}

/* Bloco Direito: CHAPADÃO DO CORISCO (Aumentado em 10% e proporcional em altura) */
.hero-block-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.text-chapadao {
  color: var(--color-white);
  font-size: clamp(4.2rem, 8.4vw, 9.4rem); /* +10% */
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0.015em;
  text-shadow: var(--shadow-text);
  margin-bottom: clamp(2px, 0.35vw, 6px);
}

.text-sub-row {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.4rem, 0.8vw, 1rem);
  line-height: 0.78;
}

/* "DO" Estilizado Menor com Barra Amarela (+10%) */
.badge-do-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(2px, 0.35vw, 6px);
}

.text-do {
  color: var(--color-white);
  font-size: clamp(2.9rem, 5.7vw, 6.4rem); /* +10% */
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: 0.04em;
  text-shadow: var(--shadow-text);
}

.bar-do {
  display: block;
  width: 100%;
  height: clamp(6px, 0.9vw, 10px); /* +10% */
  background-color: var(--color-yellow-junino);
  border-radius: 2px;
  margin-top: clamp(4px, 0.45vw, 7px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.text-corisco {
  color: var(--color-yellow-junino);
  font-size: clamp(4.85rem, 10.1vw, 11.4rem); /* +10% */
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.01em;
  text-shadow: var(--shadow-text);
}

/* --------------------------------------------------------------------------
   5. RESPONSIVIDADE (TABLETS E DISPOSITIVOS MÓVEIS)
   -------------------------------------------------------------------------- */

/* Telas Grandes / Desktops Ultra-Wide */
@media (min-width: 1600px) {
  .hero-dancers-container {
    height: 86vh;
    max-height: 1020px;
  }
}

/* Laptops Médios e Tablets em Paisagem (<= 1200px) */
@media (max-width: 1200px) {
  .navbar-container {
    padding: 0 2.5rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .hero-dancers-container {
    height: 80vh;
  }
}

/* Tablets (<= 1024px): Ativa Menu Hambúrguer */
@media (max-width: 1024px) {
  .navbar {
    padding: 1.25rem 0;
  }
  
  .navbar-container {
    padding: 0 2rem;
  }
  
  .nav-desktop,
  .social-links,
  .nav-actions .btn-cta {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .logo-img {
    width: 64px;
    height: 64px;
  }

  .hero-dancers-container {
    height: 75vh;
  }

  .hero-typography-backdrop {
    bottom: 25vh; /* Elevado em 25% no tablet */
    padding: 0 14%; /* Mantém a aproximação de 12% junto aos dançarinos no tablet */
    z-index: 25;
  }
}

/* Tablets Verticais e Telas Médias (<= 860px) */
@media (max-width: 860px) {
  .hero-dancers-container {
    height: 68vh;
  }
  
  .hero-typography-backdrop {
    bottom: 25vh; /* Elevado em 25% */
    padding: 0 10%;
    z-index: 25;
  }
}

/* Smartphones / Mobile (<= 768px) */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 1.5rem;
  }

  .logo-img {
    width: 58px;
    height: 58px;
  }

  /* Ajuste do Palco no Mobile */
  .hero-stage {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }

  /* Dançarinos no Mobile: Dimensão equilibrada sem obstruir */
  .hero-dancers-container {
    position: relative;
    left: auto;
    transform: none;
    height: 52vh;
    max-height: 480px;
    margin-bottom: -4vh;
    z-index: 25;
    animation: fadeInDancersMobile 1s ease forwards;
  }

  @keyframes fadeInDancersMobile {
    from {
      opacity: 0;
      transform: translateY(20px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .dancers-img {
    max-width: 96vw;
  }

  /* Tipografia empilhada de forma harmônica e legível */
  .hero-typography-backdrop {
    position: relative;
    bottom: auto;
    width: 100%;
    padding: 0 1.25rem 2.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 30; /* No mobile, tipografia nítida na base */
    text-align: center;
  }

  .hero-block-left,
  .hero-block-right {
    align-items: center;
    text-align: center;
  }

  .text-grupo {
    font-size: clamp(2rem, 8vw, 3.2rem);
    margin-bottom: 0;
  }

  .text-junino {
    font-size: clamp(3.8rem, 15vw, 6.2rem);
  }

  .text-chapadao {
    font-size: clamp(3.4rem, 13vw, 5.5rem);
    margin-bottom: 0;
  }

  .text-sub-row {
    gap: 0.5rem;
  }

  .text-do {
    font-size: clamp(2.2rem, 8.5vw, 3.6rem);
  }

  .bar-do {
    height: 5px;
    margin-top: 3px;
  }

  .text-corisco {
    font-size: clamp(3.8rem, 15vw, 6.2rem);
  }
}

/* Smartphones Pequenos (<= 400px) */
@media (max-width: 400px) {
  .hero-dancers-container {
    height: 46vh;
    margin-bottom: -3vh;
  }

  .text-junino,
  .text-corisco {
    font-size: 3.2rem;
  }

  .text-chapadao {
    font-size: 2.8rem;
  }

  .text-grupo {
    font-size: 1.6rem;
  }

  .text-do {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   6. SEÇÃO QUEM SOMOS / ASSOCIAÇÃO
   Layout assimétrico, card poético, galeria de mídia e pilares institucionais
   ========================================================================== */
.about-section {
  position: relative;
  padding: 7.5rem 0 8.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 40%, #F1F5F9 100%);
  color: #1E293B;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.02);
}

/* Elementos de Iluminação e Fundo (Light Mode) */
.about-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-glow-top {
  position: absolute;
  top: -120px;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(242, 182, 17, 0.09) 0%, transparent 70%);
}

.about-glow-bottom {
  position: absolute;
  bottom: -150px;
  left: 2%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(12, 88, 164, 0.05) 0%, transparent 70%);
}

.about-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(#CBD5E1 1.2px, transparent 1.2px);
  background-size: 32px 32px;
}

/* Container */
.about-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3.5rem;
  position: relative;
  z-index: 10;
}

/* Cabeçalho */
.about-header {
  margin-bottom: 4rem;
  max-width: 980px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #B45309;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.95rem;
  background: rgba(242, 182, 17, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(242, 182, 17, 0.1);
}

.badge-sparkle {
  color: #D97706;
  font-size: 0.95rem;
}

.about-title {
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  font-weight: 800;
  color: #0A2540;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* Grid Assimétrico: 7 colunas Texto / 5 colunas Mídia e Citação */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5.5rem;
}

/* Coluna de Texto */
.about-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.about-paragraph {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.78;
  color: #334155;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.about-paragraph strong {
  color: #0A2540;
  font-weight: 600;
}

/* Coluna Lateral */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Card de Citação Poética (Light Mode) */
.poetic-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--color-yellow-junino);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, border-left-color 0.3s ease, box-shadow 0.3s ease;
}

.poetic-card:hover {
  transform: translateY(-4px);
  border-left-color: #ECA815;
  box-shadow: 0 18px 40px rgba(10, 37, 64, 0.12);
}

.poetic-icon {
  color: var(--color-yellow-junino);
  margin-bottom: 1rem;
  opacity: 1;
}

.poetic-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.74;
  color: #1E293B;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.poetic-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: #B45309;
  letter-spacing: 0.02em;
}

/* Card Visual de Mídia com Galeria (Light Mode) */
.media-highlight-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.12);
}

.media-preview-container {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background-color: #0A2540;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

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

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 37, 64, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  gap: 0.35rem;
  pointer-events: none;
}

.media-badge {
  align-self: flex-start;
  background: var(--color-yellow-junino);
  color: #0B1C30;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.media-caption {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Miniaturas da Galeria (Light Mode) */
.media-thumbnails {
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.thumb-btn {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.25s ease;
  opacity: 0.7;
}

.thumb-btn:hover,
.thumb-btn.active {
  border-color: var(--color-yellow-junino);
  opacity: 1;
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgba(242, 182, 17, 0.35);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   7. GRID DE PILARES INSTITUCIONAIS (Light Mode)
   -------------------------------------------------------------------------- */
.pillars-section {
  border-top: 1px solid #E2E8F0;
  padding-top: 4.5rem;
}

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

.pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 2.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-yellow-junino), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  background: #FFFFFF;
  transform: translateY(-6px);
  border-color: rgba(242, 182, 17, 0.45);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.09);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(242, 182, 17, 0.15);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-wrapper {
  background: var(--color-yellow-junino);
  color: #0A2540;
  transform: scale(1.05);
}

.pillar-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.pillar-card:hover .pillar-title {
  color: #B45309;
}

.pillar-description {
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.68;
  color: #475569;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVIDADE DA SEÇÃO QUEM SOMOS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .about-container {
    padding: 0 2.5rem;
  }
  
  .about-grid {
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .about-section {
    padding: 5.5rem 0 6.5rem;
  }

  .about-container {
    padding: 0 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 4.5rem 0 5rem;
  }

  .about-container {
    padding: 0 1.5rem;
  }

  .about-header {
    margin-bottom: 2.5rem;
  }

  .about-badge {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .about-title {
    font-size: 1.85rem;
  }

  .about-grid {
    gap: 2.5rem;
    margin-bottom: 3.5rem;
  }

  .about-paragraph {
    font-size: 1rem;
    line-height: 1.7;
  }

  .poetic-card {
    padding: 1.75rem 1.35rem;
  }

  .poetic-quote {
    font-size: 0.98rem;
  }

  .media-preview-container {
    height: 220px;
  }

  .pillars-section {
    padding-top: 3.5rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pillar-card {
    padding: 1.75rem 1.35rem;
  }
}

/* ==========================================================================
   9. SCROLL DOWN & EFEITO DE FADE IN (WHITE) NA ROLAGEM
   ========================================================================== */
.hero-scroll-down {
  position: absolute;
  bottom: 2.2rem;
  right: 3.5rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.4s ease;
  user-select: none;
}

.hero-scroll-down:hover {
  transform: translateY(4px);
}

.scroll-down-label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 12px rgba(242, 182, 17, 0.4);
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.hero-scroll-down:hover .scroll-down-label {
  color: var(--color-yellow-junino);
  letter-spacing: 0.26em;
}

.scroll-down-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.15);
  animation: whiteGlowPulse 2.4s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-scroll-down:hover .scroll-down-btn {
  background: rgba(242, 182, 17, 0.25);
  border-color: var(--color-yellow-junino);
  color: var(--color-yellow-junino);
  box-shadow: 0 6px 24px rgba(242, 182, 17, 0.45);
}

.scroll-arrow {
  animation: bounceArrow 2s infinite ease-in-out;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

@keyframes whiteGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45), 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0), 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 4px 20px rgba(0, 0, 0, 0.3);
  }
}

/* Efeito de Fade In (White) na rolagem */
.hero-scroll-fade-white {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38vh;
  max-height: 420px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.85) 80%,
    #FFFFFF 100%
  );
  z-index: 28;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease-out;
}

@media (max-width: 1024px) {
  .hero-scroll-down {
    bottom: 1.8rem;
    right: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-scroll-down {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.35rem;
  }
  
  .scroll-down-label {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }

  .scroll-down-btn {
    width: 40px;
    height: 40px;
  }

  .scroll-arrow {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================================================
   10. FOOTER INSTITUCIONAL (JUNINA CHAPADÃO DO CORISCO)
   ========================================================================== */
.site-footer {
  position: relative;
  background: #041224;
  background: linear-gradient(180deg, #072242 0%, #030d1a 100%);
  color: #E2E8F0;
  overflow: hidden;
  border-top: 3px solid var(--color-yellow-junino);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
}

/* Elementos de Iluminação e Padrão do Footer */
.footer-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(242, 182, 17, 0.08) 0%, transparent 70%);
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(#94A3B8 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Container do Footer */
.footer-container {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: 5rem 3.5rem 2.5rem;
}

/* Grid de 3 Colunas */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.3fr;
  gap: 4.5rem;
  align-items: start;
}

/* Coluna 1: Marca & Identidade */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.footer-brand-logo:hover {
  transform: translateY(-2px);
}

.footer-logo-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-yellow-junino);
  box-shadow: 0 4px 18px rgba(242, 182, 17, 0.35);
  background: #0A2540;
}

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

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-white);
  line-height: 1.1;
}

.footer-brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow-junino);
  margin-top: 0.2rem;
}

.footer-brand-desc {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 380px;
}

.footer-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CBD5E1;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  width: fit-content;
}

.tagline-star {
  color: var(--color-yellow-junino);
}

/* Coluna 2: Navegação (Dados da Navbar) */
.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 28px;
  height: 2.5px;
  background: var(--color-yellow-junino);
  border-radius: 2px;
}

.footer-nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
}

.footer-nav-link {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
  position: relative;
}

.footer-nav-link::before {
  content: '›';
  font-size: 1.1rem;
  color: var(--color-yellow-junino);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}

.footer-nav-link:hover {
  color: var(--color-yellow-junino);
  transform: translateX(4px);
}

.footer-nav-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Coluna 3: Conexão, Redes Sociais & CTA */
.footer-col-social {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-social-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #94A3B8;
}

.footer-social-links {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-social-icon:hover {
  background: var(--color-yellow-junino);
  border-color: var(--color-yellow-junino);
  color: #0A2540;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(242, 182, 17, 0.4);
}

.footer-cta {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.8rem 1.85rem;
  font-size: 0.92rem;
}

/* Linha Inferior: Copyright Obrigatório & Voltar ao Topo */
.footer-bottom {
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.88rem;
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.footer-back-to-top:hover {
  background: var(--color-yellow-junino);
  border-color: var(--color-yellow-junino);
  color: #0A2540;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(242, 182, 17, 0.3);
}

.footer-back-to-top svg {
  transition: transform 0.25s ease;
}

.footer-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Responsividade do Footer */
@media (max-width: 1024px) {
  .footer-container {
    padding: 4rem 2rem 2rem;
  }

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

  .footer-col-brand {
    grid-column: span 2;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 3.5rem 1.5rem 2rem;
  }

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

  .footer-col-brand {
    grid-column: span 1;
  }

  .footer-nav-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
  }

  .footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-copyright {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .footer-back-to-top {
    align-self: flex-start;
  }
}




/* ==========================================================================
   11. ATUALIZAÇÃO E EVOLUÇÃO INSTITUCIONAL:
       TRAJETÓRIA, IMPACTO SOCIAL, GALERIA, FILIADOS, PARCEIROS E MODAIS (<dialog>)
   ========================================================================== */

/* --------------------------------------------------------------------------
   11.1. DIRETRIZES TIPOGRAFIA, SCROLL MARGIN E CONTENT-VISIBILITY
   -------------------------------------------------------------------------- */
section[id] {
  scroll-margin-top: 5.25rem;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p, blockquote, figcaption, li {
  text-wrap: pretty;
}

.impact-section,
.gallery-section,
.affiliates-section,
.partners-section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 950px;
}

.mobile-link.target-current {
  color: var(--color-yellow-junino);
  padding-left: 0.5rem;
  border-left: 3px solid var(--color-yellow-junino);
}

/* --------------------------------------------------------------------------
   11.2. COMPLEMENTO DE TRAJETÓRIA NA SEÇÃO QUEM SOMOS (#quem-somos)
   -------------------------------------------------------------------------- */
.about-paragraph code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(10, 37, 64, 0.07);
  color: #0A2540;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
}

.trajectory-highlights {
  margin-top: 0.75rem;
  padding: 1.85rem 2rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #074384;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.05);
}

.trajectory-header {
  margin-bottom: 0.85rem;
}

.trajectory-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: #B45309;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.trajectory-subtitle {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.3;
}

.trajectory-text {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #334155;
  margin-bottom: 1.5rem;
}

.trajectory-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E2E8F0;
}

.traj-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.traj-stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #074384;
  line-height: 1;
  letter-spacing: 0.03em;
}

.traj-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   11.3. UTILITÁRIOS DE SEÇÃO COMPARTILHADOS
   -------------------------------------------------------------------------- */
.section-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3.5rem;
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 3.75rem;
  max-width: 960px;
}

.section-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-yellow-junino);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding: 0.42rem 1rem;
  background: rgba(242, 182, 17, 0.14);
  border: 1px solid rgba(242, 182, 17, 0.35);
  border-radius: 999px;
}

.section-title-white {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin-bottom: 1.15rem;
}

.section-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #475569;
  max-width: 840px;
  margin-top: 1rem;
}

.section-lead-light {
  color: #CBD5E1;
}

/* --------------------------------------------------------------------------
   11.4. SEÇÃO IMPACTO SOCIAL (#impacto-social)
   -------------------------------------------------------------------------- */
.impact-section {
  position: relative;
  padding: 7.5rem 0 8.5rem;
  background: linear-gradient(180deg, #061D3B 0%, #092C58 50%, #051A36 100%);
  color: #E2E8F0;
  overflow: hidden;
  border-top: 1px solid rgba(242, 182, 17, 0.2);
}

.impact-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.impact-glow-left {
  position: absolute;
  top: -120px;
  left: -100px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(242, 182, 17, 0.12) 0%, transparent 70%);
}

.impact-glow-right {
  position: absolute;
  bottom: -140px;
  right: -80px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(22, 108, 190, 0.22) 0%, transparent 70%);
}

.impact-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(#94A3B8 1.2px, transparent 1.2px);
  background-size: 32px 32px;
}

.impact-narrative-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.75rem;
  align-items: start;
  margin-bottom: 5rem;
}

.impact-story-column {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
}

.impact-story-heading {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--color-yellow-junino);
  line-height: 1.38;
  margin-bottom: 0.25rem;
}

.impact-paragraph {
  font-size: 1.04rem;
  line-height: 1.78;
  color: #E2E8F0;
}

.impact-paragraph strong {
  color: #FFFFFF;
  font-weight: 700;
}

.impact-fronts-panel {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.impact-front-card {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.impact-front-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(242, 182, 17, 0.45);
}

.impact-front-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(242, 182, 17, 0.18);
  color: var(--color-yellow-junino);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.impact-front-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.impact-front-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #CBD5E1;
}

.impact-quote-banner {
  margin-top: 0.35rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, rgba(242, 182, 17, 0.16) 0%, rgba(242, 182, 17, 0.06) 100%);
  border-left: 4px solid var(--color-yellow-junino);
  border-radius: 0 12px 12px 0;
}

.impact-banner-text {
  font-style: italic;
  font-size: 0.96rem;
  line-height: 1.68;
  color: #F8FAFC;
}

/* Bloco de Galeria Integrada de Impacto Social */
.impact-gallery-block {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 3.75rem;
}

.subgallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.subgallery-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--color-yellow-junino);
  margin-bottom: 0.3rem;
}

.subgallery-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: #FFFFFF;
}

.subgallery-hint {
  font-size: 0.88rem;
  color: #94A3B8;
  font-weight: 500;
}

.impact-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   11.5. COMPONENTE DE CARD FOTOGRÁFICO REUTILIZÁVEL (IMPACTO E GALERIA)
   -------------------------------------------------------------------------- */
.photo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0A2540;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.photo-card-trigger {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  display: block;
  position: relative;
  text-align: left;
  color: inherit;
}

.photo-card-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-card-trigger img.pos-top {
  object-position: center 15%;
}

.photo-card:hover .photo-card-trigger img {
  transform: scale(1.06);
}

.photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 36, 0) 35%, rgba(4, 18, 36, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
  gap: 0.3rem;
  opacity: 0.94;
  transition: opacity 0.3s ease;
}

.photo-card:hover .photo-card-overlay {
  opacity: 1;
}

.photo-card-tag {
  align-self: flex-start;
  background: var(--color-yellow-junino);
  color: #0A192F;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.photo-card-caption {
  font-size: 0.86rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

/* --------------------------------------------------------------------------
   11.6. SEÇÃO GALERIA PRINCIPAL (#galeria)
   -------------------------------------------------------------------------- */
.gallery-section {
  position: relative;
  padding: 7.5rem 0 8.5rem;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
  color: #1E293B;
  overflow: hidden;
}

.gallery-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gallery-glow-top {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(242, 182, 17, 0.1) 0%, transparent 70%);
}

.gallery-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(#CBD5E1 1.2px, transparent 1.2px);
  background-size: 32px 32px;
}

/* Barra de Ferramentas e Filtros da Galeria */
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: balance;
  gap: 0.7rem;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-filter-btn:hover {
  border-color: #074384;
  color: #074384;
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background: #074384;
  border-color: #074384;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(7, 67, 132, 0.25);
}

.filter-btn-2026 {
  border-color: rgba(242, 182, 17, 0.75);
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #0A2540;
}

.filter-btn-2026:hover {
  border-color: #D97706;
  color: #0A2540;
  box-shadow: 0 4px 14px rgba(242, 182, 17, 0.25);
}

.filter-badge-new {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.48rem;
  border-radius: 4px;
  background: var(--color-yellow-junino);
  color: #0A192F;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-filter-btn.active .filter-badge-new {
  background: #FFFFFF;
  color: #074384;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
}

.gallery-filter-btn.active .filter-count {
  background: var(--color-yellow-junino);
  color: #0A192F;
}

.gallery-status-pill {
  font-size: 0.88rem;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
  white-space: nowrap;
}

.gallery-status-pill strong {
  color: #074384;
  font-weight: 800;
}

/* Selo de Ano 2026 no Canto Superior Direito do Card */
.photo-badge-year {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  background: rgba(7, 67, 132, 0.92);
  color: var(--color-yellow-junino);
  border: 1px solid rgba(242, 182, 17, 0.6);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.6rem;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* Grid Responsivo de Galeria (12 em 12 elementos com animação de entrada/saída) */
.main-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.35rem;
}

.gallery-item {
  opacity: 1;
  translate: 0 0;
  transition:
    display 0.35s,
    opacity 0.35s ease-out,
    translate 0.35s ease-out,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
  transition-behavior: allow-discrete;
}

@starting-style {
  .gallery-item {
    opacity: 0;
    translate: 0 18px;
  }
}

.gallery-item:where([hidden], [data-closing]) {
  opacity: 0;
  translate: 0 18px;
}

.gallery-item[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item {
    translate: none;
    transition-duration: 0.1s;
  }

  @starting-style {
    .gallery-item {
      translate: none;
    }
  }

  .gallery-item:where([hidden], [data-closing]) {
    translate: none;
  }
}

/* Rodapé de Paginação Progressiva (12 em 12 elementos) */
.gallery-pagination-footer {
  margin-top: 3.25rem;
  padding: 2rem 2.25rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.gallery-progress-Wrap {
  width: min(100%, 420px);
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.gallery-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #074384 0%, var(--color-yellow-junino) 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-pagination-info {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
}

.gallery-pagination-info strong {
  color: #0A2540;
  font-weight: 800;
}

.gallery-pagination-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 2px solid #074384;
  background: #074384;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(7, 67, 132, 0.22);
  transition: all 0.25s ease;
}

.btn-load-more:hover {
  background: #0A2540;
  border-color: #0A2540;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.3);
}

.btn-load-more[hidden] {
  display: none !important;
}

.btn-load-more-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--color-yellow-junino);
  color: #0A192F;
  font-size: 0.78rem;
  font-weight: 800;
}

.btn-collapse-gallery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #334155;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-collapse-gallery:hover {
  border-color: #074384;
  color: #074384;
  background: #FFFFFF;
}

.btn-collapse-gallery[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   11.7. SEÇÃO FILIADOS (#filiados) — DUAS COLUNAS (VÍDEO + CHAMADA CTA)
   -------------------------------------------------------------------------- */
.affiliates-section {
  position: relative;
  padding: 7.5rem 0 8.5rem;
  background: linear-gradient(135deg, #04152D 0%, #073366 55%, #041833 100%);
  color: #FFFFFF;
  overflow: hidden;
  border-top: 2px solid rgba(242, 182, 17, 0.3);
}

.affiliates-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.affiliates-glow-center {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(242, 182, 17, 0.14) 0%, transparent 70%);
}

.affiliates-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(#94A3B8 1.2px, transparent 1.2px);
  background-size: 30px 30px;
}

.affiliates-grid {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 4rem;
  align-items: center;
}

/* Moldura do Vídeo Institucional (Proporção 9:16 720x1280 preservada) */
.video-frame-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 182, 17, 0.35);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.video-frame-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
}

.video-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-yellow-junino);
  box-shadow: 0 0 10px var(--color-yellow-junino);
}

.video-frame-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #F8FAFC;
}

.video-player-wrapper {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #020B18;
  aspect-ratio: 9 / 16;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.institutional-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background-color: #020B18;
}

.video-frame-caption {
  margin-top: 0.9rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #CBD5E1;
  text-align: center;
}

/* Coluna Direita: Card de Chamada e CTA Filiar-se Agora */
.affiliates-call-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 5px solid var(--color-yellow-junino);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.affiliates-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--color-yellow-junino);
  margin-bottom: 0.65rem;
}

.affiliates-heading {
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.affiliates-paragraph {
  font-size: 1.03rem;
  line-height: 1.76;
  color: #E2E8F0;
  margin-bottom: 1.25rem;
}

.affiliates-paragraph strong {
  color: #FFFFFF;
  font-weight: 700;
}

.affiliates-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.85rem 0 2.25rem;
  padding: 1.35rem 1.5rem;
  background: rgba(4, 18, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #F1F5F9;
}

.perk-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-yellow-junino);
  color: #0A192F;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.affiliates-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.btn-filiar-agora {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #F2B611 0%, #FFD043 100%);
  color: #08172E;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.6rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(242, 182, 17, 0.4);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-filiar-agora:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(242, 182, 17, 0.58);
  filter: brightness(1.04);
}

.btn-filiar-agora:active {
  transform: translateY(0) scale(0.99);
}

.btn-filiar-arrow {
  transition: transform 0.25s ease;
}

.btn-filiar-agora:hover .btn-filiar-arrow {
  transform: translateX(5px);
}

.affiliates-cta-note {
  font-size: 0.86rem;
  color: #CBD5E1;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   11.8. SEÇÃO PARCEIROS (#parceiros)
   -------------------------------------------------------------------------- */
.partners-section {
  position: relative;
  padding: 7rem 0 8rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  color: #1E293B;
  overflow: hidden;
  border-top: 1px solid #E2E8F0;
}

.partners-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.partners-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(#CBD5E1 1.2px, transparent 1.2px);
  background-size: 32px 32px;
}

.partners-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.partner-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 182, 17, 0.6);
  box-shadow: 0 18px 42px rgba(10, 37, 64, 0.11);
}

.partner-logo-surface {
  width: 100%;
  height: 200px;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.partner-role-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B45309;
  background: rgba(242, 182, 17, 0.16);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.partner-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 0.6rem;
}

.partner-desc {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #475569;
}

.partner-invite-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem 2.75rem;
  background: linear-gradient(135deg, #073366 0%, #0A2540 100%);
  border-radius: 16px;
  color: #FFFFFF;
  box-shadow: 0 14px 35px rgba(7, 51, 102, 0.22);
}

.partner-invite-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.partner-invite-desc {
  font-size: 0.96rem;
  color: #CBD5E1;
  max-width: 720px;
  line-height: 1.6;
}

.partner-invite-btn {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11.9. MODAIS NATIVOS <dialog> (LIGHTBOX E ORIENTAÇÃO DE FILIAÇÃO)
   -------------------------------------------------------------------------- */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(3, 13, 28, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Lightbox Dialog */
.lightbox-dialog {
  margin: auto;
  width: min(94vw, 1180px);
  max-height: 92vh;
  max-height: 92dvh;
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 0;
  overflow: visible;
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.25rem;
}

.lightbox-counter {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--color-yellow-junino);
  background: rgba(10, 25, 47, 0.8);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 182, 17, 0.35);
}

.lightbox-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 25, 47, 0.85);
  color: #FFFFFF;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--color-yellow-junino);
  color: #0A192F;
  border-color: var(--color-yellow-junino);
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.lightbox-img {
  max-width: min(82vw, 980px);
  max-height: 74vh;
  max-height: 74dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  background: #041022;
}

.lightbox-caption {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: #F1F5F9;
  text-align: center;
  max-width: 780px;
  line-height: 1.55;
  background: rgba(4, 18, 36, 0.85);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
}

.lightbox-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 25, 47, 0.85);
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: var(--color-yellow-junino);
  color: #0A192F;
  border-color: var(--color-yellow-junino);
  transform: scale(1.06);
}

/* Modal de Orientação de Filiação */
.filiacao-dialog {
  margin: auto;
  width: min(92vw, 580px);
  border: 1px solid rgba(242, 182, 17, 0.4);
  border-radius: 16px;
  background: #072242;
  color: #FFFFFF;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.filiacao-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filiacao-dialog-badge {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--color-yellow-junino);
}

.filiacao-dialog-close {
  background: none;
  border: none;
  color: #CBD5E1;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
}

.filiacao-dialog-close:hover {
  color: var(--color-yellow-junino);
}

.filiacao-dialog-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.9rem;
  line-height: 1.3;
}

.filiacao-dialog-text {
  font-size: 0.96rem;
  line-height: 1.68;
  color: #E2E8F0;
  margin-bottom: 1.15rem;
}

.filiacao-dialog-notice {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #FEF3C7;
  background: rgba(242, 182, 17, 0.12);
  border-left: 4px solid var(--color-yellow-junino);
  padding: 1rem 1.15rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.65rem;
}

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

.btn-dialog-secondary {
  padding: 0.72rem 1.35rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #E2E8F0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dialog-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   11.10. RESPONSIVIDADE DAS NOVAS SEÇÕES (DESKTOP, TABLET E MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .section-container {
    padding: 0 2.5rem;
  }

  .affiliates-grid {
    gap: 2.75rem;
  }

  .partners-logos-grid {
    gap: 1.75rem;
  }

  .partner-card {
    grid-template-columns: 170px 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }
}

@media (max-width: 1024px) {
  .section-container {
    padding: 0 2rem;
  }

  .impact-section,
  .gallery-section,
  .affiliates-section,
  .partners-section {
    padding: 5.5rem 0 6.5rem;
  }

  .impact-narrative-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .affiliates-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .video-frame-card {
    max-width: 420px;
    margin: 0 auto;
  }

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

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

  .partner-invite-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 0 1.5rem;
  }

  .impact-section,
  .gallery-section,
  .affiliates-section,
  .partners-section {
    padding: 4.5rem 0 5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title-white {
    font-size: 1.85rem;
  }

  .gallery-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .gallery-status-pill {
    align-self: flex-start;
  }

  .gallery-pagination-footer {
    padding: 1.5rem 1.25rem;
    margin-top: 2.25rem;
  }

  .gallery-pagination-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-load-more,
  .btn-collapse-gallery {
    width: 100%;
  }

  .affiliates-call-card {
    padding: 2rem 1.5rem;
  }

  .btn-filiar-agora {
    width: 100%;
    font-size: 1.35rem;
    padding: 0.95rem 1.5rem;
  }

  .partner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partner-logo-surface {
    height: 170px;
    max-width: 240px;
    margin: 0 auto;
  }

  .partner-invite-banner {
    padding: 1.75rem 1.5rem;
  }

  .lightbox-stage {
    gap: 0.4rem;
  }

  .lightbox-nav-btn {
    position: absolute;
    top: 42%;
    z-index: 20;
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 0.35rem;
  }

  .lightbox-next {
    right: 0.35rem;
  }

  .lightbox-img {
    max-width: 92vw;
    max-height: 68vh;
  }
}

@media (max-width: 430px) {
  .impact-photo-grid,
  .main-gallery-grid {
    grid-template-columns: 1fr;
  }

  .trajectory-highlights {
    padding: 1.4rem 1.25rem;
  }

  .trajectory-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .gallery-filters {
    gap: 0.5rem;
  }

  .gallery-filter-btn {
    width: 100%;
    justify-content: space-between;
  }
}
