/* ==========================================================================
   Coletivo Nossa Gente - Design System & Stylesheet (DF)
   ========================================================================== */

:root {
  /* Brand Palette Coletivo Nossa Gente & REDE Sustentabilidade Oficial */
  --primary-green: #008744;
  --primary-green-hover: #006b35;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --sky-blue: #0284c7;
  
  /* Cores Oficiais Manual REDE Sustentabilidade */
  --rede-verde: #3ca08c;
  --rede-laranja: #f05a23;
  --rede-azul: #32b4c3;
  --rede-amarelo: #ffc323;
  --rede-cinza: #464646;
  
  --bg-dark: #0f172a;
  --bg-card-dark: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  
  /* Typography & Effects */
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 30px -10px rgba(0, 135, 68, 0.15);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Containers & Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-green {
  background-color: rgba(0, 135, 68, 0.1);
  color: var(--primary-green);
  border: 1px solid rgba(0, 135, 68, 0.2);
}

.badge-gold {
  background-color: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bg-dark);
  line-height: 1.2;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Topbar */
.topbar {
  background: var(--bg-dark);
  color: #94a3b8;
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-socials a {
  color: #cbd5e1;
  transition: var(--transition-fast);
}

.topbar-socials a:hover {
  color: var(--accent-gold);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--bg-dark);
  height: 100%;
  text-decoration: none;
}

.nav-logo-img {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
  object-fit: contain;
  display: block;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.04);
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary-green), #059669);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--bg-dark);
  font-size: 0.875rem;
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-zap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25d366;
  color: white;
  font-weight: 700;
  padding: 0.65rem 1.3rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
}

.btn-zap:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  background-color: #20ba5a;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--bg-dark);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-dark);
  color: white;
  z-index: 2000;
  padding: 2rem 1.5rem;
  transition: right 0.35s ease;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  display: none;
}

.overlay.active {
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: white;
  padding: 6rem 0 7rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 89, 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 1.25rem 0;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-motto-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--accent-gold);
  backdrop-filter: blur(8px);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2.25rem;
}

.hero-motto-box p {
  font-size: 1.05rem;
  font-style: italic;
  color: #f1f5f9;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), #059669);
  color: white;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(0, 135, 68, 0.4);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 135, 68, 0.5);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.hero-card-preview {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.party-tag {
  background: #f59e0b;
  color: #0f172a;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* SEÇÃO ESPECIAL: CARTA DO DISTRITO FEDERAL (REDE Sustentabilidade DF) */
.carta-df-section {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #0f172a 100%);
  color: white;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent-gold);
  border-bottom: 4px solid var(--primary-green);
}

.carta-df-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  position: relative;
}

.carta-title-tag {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carta-quote-principal {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5;
  color: #fef08a;
  background: rgba(245, 158, 11, 0.12);
  border-left: 6px solid var(--accent-gold);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.bacias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.bacia-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition-fast);
}

.bacia-card:hover {
  background: rgba(0, 135, 68, 0.25);
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.bacia-card h4 {
  font-size: 1.05rem;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.bacia-card p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Mandato Coletivo Explanation Section */
.mandato-explain {
  background: white;
}

.explain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.explain-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.explain-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.motto-highlight-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.motto-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--primary-green);
  box-shadow: var(--shadow-subtle);
}

.motto-card i {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
  display: block;
}

.motto-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 0.5rem;
}

.motto-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.legal-card {
  background: var(--bg-dark);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-hover);
}

.legal-card h4 {
  font-size: 1.35rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-weight: 800;
}

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.legal-list i {
  color: #22c55e;
  margin-top: 0.2rem;
}

/* Members Section (Nossa Gente) */
.members-section {
  background: #f1f5f9;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.member-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.member-img-wrap {
  position: relative;
  height: 320px !important;
  background: linear-gradient(135deg, #065f46, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.member-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top !important;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-card:hover .member-avatar-img {
  transform: scale(1.06);
}

.member-placeholder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 4px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.75rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.member-role-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background: var(--bg-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.member-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 0.25rem;
}

.member-specialty {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.member-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag-item {
  background: var(--bg-light);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* Pautas Section */
.pautas-section {
  background: white;
}

.pautas-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.pautas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pauta-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  position: relative;
}

.pauta-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  background: white;
  border-color: rgba(0, 135, 68, 0.3);
}

.pauta-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(0, 135, 68, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pauta-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 0.75rem;
}

.pauta-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pauta-link {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Videos Section */
.videos-section {
  background: var(--bg-dark);
  color: white;
}

.videos-section .section-header h2 {
  color: white;
}

.videos-section .section-header p {
  color: #94a3b8;
}

.video-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  margin-bottom: 3rem;
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-featured video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.video-featured iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.video-card {
  background: var(--bg-card-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.video-thumb {
  position: relative;
  height: 180px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: var(--transition-fast);
}

.video-card:hover .video-play-btn {
  transform: scale(1.15);
  background: var(--accent-gold);
  color: var(--bg-dark);
}

/* Card de vídeo ativo (selecionado) */
.video-card-active {
  border-color: var(--accent-gold) !important;
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.video-card-active .video-play-btn {
  background: var(--accent-gold);
  color: var(--bg-dark);
  transform: scale(1.1);
}

.video-info {
  padding: 1.25rem;
}

.video-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.video-info span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Partnerships Section */
.partners-section {
  background: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.partner-card:hover {
  border-color: var(--primary-green);
  background: white;
  box-shadow: var(--shadow-subtle);
}

.partner-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
}

.partner-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 0.35rem;
}

.partner-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Contact / Call to Action */
.cta-section {
  background: linear-gradient(135deg, var(--primary-green), #064e3b);
  color: white;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.cta-box p {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
}

/* Footer */
.footer {
  background: #090d16;
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: var(--transition-fast);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--bg-dark);
}

/* Endorsements & Gallery Grids (4 cols desktop → 2 cols tablet → 1 col mobile) */
.endorsements-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ============================================
   Responsive Media Queries — Senior Audit Fix
   ============================================ */

@media (max-width: 1024px) {
  .hero-grid, .explain-grid {
    grid-template-columns: 1fr;
  }
  .bacias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pautas-grid, .videos-grid, .partners-grid, .endorsements-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px), body.is-mobile-device {
  .endorsements-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  /* — Navbar & Topbar — */
  .nav-links {
    display: none;
  }
  .topbar-info span:not(:first-child) {
    display: none;
  }
  .topbar-content {
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
  }
  .topbar-socials {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .mobile-toggle {
    display: block;
  }

  /* — Layout Base — */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* — Hero — */
  .hero {
    padding: 3.5rem 0 4rem 0;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  /* — All Grids → Single Column — */
  .members-grid,
  .bacias-grid,
  .pautas-grid,
  .videos-grid,
  .partners-grid,
  .footer-grid,
  .hero-grid,
  .explain-grid,
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* — Member Cards — */
  .member-card {
    width: 100%;
    margin-bottom: 1rem;
    box-sizing: border-box;
  }

  /* — Video Player — */
  .video-featured {
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
  }
  .video-featured video {
    border-radius: var(--radius-md);
  }

  /* — Video Cards — */
  .video-card .video-thumb {
    height: 130px;
  }

  /* — Botões — */
  .cta-box .btn-primary,
  .cta-box .btn-zap {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  .cta-box h2 {
    font-size: 1.85rem;
  }

  /* — Seções de Texto — */
  .section-header h2 {
    font-size: 1.85rem;
  }
  .section-padding {
    padding: 3rem 0;
  }

  /* — Fotos & Frames — */
  img {
    border-radius: var(--radius-sm);
  }

  /* — Lightbox Mobile — */
  .image-lightbox-modal {
    padding: 1rem;
  }
  .image-lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
  }

  /* — Footer — */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Indicador Discreto de Dispositivo */
.device-indicator-badge {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.85);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 9999;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Global Click-to-Expand Image Lightbox Modal */
.image-lightbox-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  box-sizing: border-box !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

.image-lightbox-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Botão de Fechamento Destacado no Canto Superior Direito */
.image-lightbox-close {
  position: absolute !important;
  top: 24px !important;
  right: 28px !important;
  color: #ffffff !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  z-index: 1000000 !important;
  line-height: 1 !important;
  width: 48px !important;
  height: 48px !important;
  background: #ef4444 !important;
  border: 2px solid #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  user-select: none !important;
}

.image-lightbox-close:hover {
  background: #dc2626 !important;
  transform: scale(1.15) rotate(90deg) !important;
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.9) !important;
}

.image-lightbox-modal img {
  max-width: 90vw !important;
  max-height: 78vh !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.85) !important;
  border: 3px solid var(--accent-gold) !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-lightbox-modal.active img {
  transform: scale(1) !important;
}

.image-lightbox-caption {
  color: #ffffff !important;
  margin-top: 1.25rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  max-width: 850px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 50px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}



/* 7 Níveis de Sustentabilidade REDE */
.dimensoes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.dimensao-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dimensao-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.dimensao-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 1024px) {
  .dimensoes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dimensoes-grid {
    grid-template-columns: 1fr;
  }
}

/* Navbar Layout Protegido contra sobreposição */
.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
}

.nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.nav-logo-img {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  flex-shrink: 0 !important;
  object-fit: contain !alignment;
}

.nav-logo-rede {
  height: 30px !important;
  max-height: 30px !important;
  width: auto !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
}

.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 1 !important;
}

.nav-links li a {
  font-size: 0.825rem !important;
  white-space: nowrap !important;
}
