/* ============================================
   IBEPES 15 ANOS - DESIGN WOW FACTOR
   Fontes: Plus Jakarta Sans + Space Grotesk
   Cores IBEPES com efeitos premium
   ============================================ */

/* ============================================
   1. VARIÁVEIS E RESET
   ============================================ */
:root {
  /* Cores do Logo IBEPES */
  --ibepes-azul-escuro: #0F2A4A;
  --ibepes-azul-medio: #1E4D8C;
  --ibepes-azul-claro: #3B7DD8;
  --ibepes-dourado: #D4A84B;
  --ibepes-dourado-light: #F0D78C;

  /* Gradientes */
  --gradient-hero: linear-gradient(135deg, #070F1A 0%, #0F2A4A 40%, #1E4D8C 70%, #0F2A4A 100%);
  --gradient-gold: linear-gradient(135deg, #D4A84B 0%, #F0D78C 50%, #D4A84B 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(212, 168, 75, 0.15) 0%, transparent 70%);

  /* Backgrounds */
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-dark: #0F2A4A;
  --bg-darker: #060E1A;

  /* Texto */
  --texto-escuro: #0F172A;
  --texto-medio: #475569;
  --texto-claro: #94A3B8;
  --texto-branco: #FFFFFF;

  /* Bordas e Sombras */
  --border-light: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(15, 42, 74, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 42, 74, 0.1), 0 2px 4px -1px rgba(15, 42, 74, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 42, 74, 0.1), 0 4px 6px -2px rgba(15, 42, 74, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 42, 74, 0.1), 0 10px 10px -5px rgba(15, 42, 74, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 42, 74, 0.25);
  --shadow-gold: 0 10px 40px rgba(212, 168, 75, 0.3);
  --shadow-glow: 0 0 60px rgba(212, 168, 75, 0.15);

  /* Espaçamentos */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Tipografia */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-family);

  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: 600ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto-escuro);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}


button {
  font-family: inherit;
}

/* ============================================
   2. TIPOGRAFIA IMPACTANTE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--texto-escuro);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.9rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  color: var(--texto-medio);
  line-height: 1.75;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Text Colors */
.text-white { color: var(--texto-branco) !important; }
.text-gold { color: var(--ibepes-dourado) !important; }
.text-blue { color: var(--ibepes-azul-escuro) !important; }
.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #D4A84B, #F0D78C, #D4A84B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ============================================
   3. LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm {
  max-width: 960px;
}

.container-lg {
  max-width: 1440px;
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

/* Dark Section */
.section-dark {
  padding: var(--space-24) 0;
  background: var(--gradient-hero);
  color: var(--texto-branco);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
  color: var(--texto-branco);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* OSCIP Card */
.oscip-card {
  margin-bottom: var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.oscip-card h3 {
  color: var(--ibepes-dourado) !important;
  font-size: 1.5rem;
}

.oscip-card p {
  color: var(--texto-escuro);
  font-size: 1.125rem;
  line-height: 1.8;
}

.oscip-badges {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}

.oscip-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
}

.oscip-badge-green { background: rgba(0, 151, 57, 0.15); color: #34D399; }
.oscip-badge-blue  { background: rgba(49, 130, 206, 0.15); color: #63B3ED; }
.oscip-badge-gold  { background: rgba(212, 168, 75, 0.15); color: var(--ibepes-dourado); }

/* Light Gray Section */
.section-light {
  background-color: var(--bg-light);
}

/* Eventos Section - Special */
.section-eventos {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EFF6FF 100%);
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-16) 0; }
}

/* Flexbox */
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; align-items: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-md { gap: var(--space-4); }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================
   4. BOTÕES IMPACTANTES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 32px;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  border-color: var(--ibepes-azul-escuro);
}

.btn-primary:hover {
  background: var(--ibepes-azul-medio);
  border-color: var(--ibepes-azul-medio);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(15, 42, 74, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--ibepes-azul-escuro);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--ibepes-azul-escuro);
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  border-color: var(--ibepes-dourado);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(212, 168, 75, 0.4);
}

.btn-white {
  background: transparent;
  color: var(--texto-branco);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--texto-branco);
  transform: translateY(-3px);
}

.btn-solid-white {
  background: var(--bg-white);
  color: var(--ibepes-azul-escuro);
  border-color: var(--bg-white);
}

.btn-solid-white:hover {
  background: transparent;
  color: var(--texto-branco);
  border-color: var(--bg-white);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--ibepes-azul-escuro);
  border-color: #94a3b8;
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #64748b;
  color: var(--ibepes-azul-escuro);
  transform: translateY(-3px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ibepes-azul-escuro);
  border-color: var(--ibepes-azul-escuro);
}

.btn-outline-dark:hover {
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  transform: translateY(-3px);
}

/* btn-outline-dark on dark backgrounds (CTA sections) — invert colors */
.cta-section .btn-outline-dark,
.section-dark .btn-outline-dark {
  background: var(--bg-white);
  color: var(--ibepes-azul-escuro);
  border-color: var(--bg-white);
  border-width: 2px;
  font-weight: 800;
}

.cta-section .btn-outline-dark:hover,
.section-dark .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--ibepes-azul-escuro);
}

/* btn-white on dark backgrounds — ensure visible on hover */
.cta-section .btn-white,
.section-dark .btn-white {
  border-width: 2px;
}

.cta-section .btn-white:hover,
.section-dark .btn-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--texto-branco);
}

.btn-lg {
  padding: 20px 44px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8125rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================
   5. HEADER / NAVEGAÇÃO
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header.scrolled .nav-link {
  color: var(--texto-escuro);
}

.header.scrolled .nav-link:hover {
  color: var(--ibepes-dourado);
}

.header.scrolled .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 10;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-img-light {
  display: block;
}

.logo-img-dark {
  display: none;
}

.header.scrolled .logo-img-light {
  display: none;
}

.header.scrolled .logo-img-dark {
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: var(--texto-branco);
  transition: color var(--transition-normal);
}

/* Navegação */
.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-branco);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--ibepes-dourado);
}

.nav-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Home icon - no rotation, only color change */
.nav-link-home svg {
  transition: none;
}

.nav-item:hover .nav-link-home svg {
  transform: none;
}

/* Highlighted Nav Link */
.nav-link-highlight {
  background: rgba(212, 168, 75, 0.15);
  color: var(--ibepes-dourado) !important;
  border: 1px solid rgba(212, 168, 75, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
}

.header.scrolled .nav-link-highlight {
  background: rgba(212, 168, 75, 0.1);
  color: var(--ibepes-dourado) !important;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  min-width: 280px;
  max-width: 740px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(15, 42, 74, 0.15);
  padding: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  pointer-events: none;
}

/* Desktop only: hover to show mega-menu */
@media (min-width: 1025px) {
  .nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.mega-menu-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  min-width: 400px;
}

.mega-menu-grid-1col {
  grid-template-columns: 1fr;
}

.mega-menu-compact {
  min-width: 200px;
  max-width: 480px;
}

.mega-menu-col h4,
.mega-menu-col h4 a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texto-claro);
  margin-bottom: var(--space-4);
}

.mega-menu-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
}

.mega-menu-col li {
  width: 100%;
}

.mega-menu-col a {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--texto-medio);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.mega-menu-col a:hover {
  background: var(--bg-light);
  color: var(--ibepes-azul-escuro);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-3);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto-branco);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.header.scrolled .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .header .btn { display: none; }
  
  /* Mobile Navigation - Full Screen Overlay (appended to body via JS) */
  .nav-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--ibepes-azul-escuro) 0%, #0a1628 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-2);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    padding: 100px var(--space-6) var(--space-10);
    overflow-y: auto;
  }
  
  .nav-main.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-main .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    max-width: 360px;
    padding: 0 var(--space-4);
  }
  
  .nav-main .nav-item {
    position: relative;
    width: 100%;
    text-align: center;
  }
  
  .nav-main .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--texto-branco);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }
  
  .nav-main .nav-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }
  
  .nav-main .nav-link:hover,
  .nav-main .nav-link:focus {
    color: var(--ibepes-dourado);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Mobile Accordion Submenus - Mesmos padrões do menu principal */
  .nav-main .mega-menu,
  .nav-main .mega-menu.mega-menu-compact {
    position: static;
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    left: auto;
    background: transparent;
    border-radius: 0;
    padding: var(--space-4) 0 0 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    pointer-events: auto;
  }

  .nav-main .mega-menu-grid-2col,
  .nav-main .mega-menu-grid-1col {
    min-width: 0;
  }
  
  .nav-main .nav-item.submenu-open .mega-menu {
    display: block;
    animation: slideDown 0.2s ease;
  }
  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .nav-main .mega-menu-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    width: 100%;
  }
  
  .nav-main .mega-menu-col {
    width: 100%;
    text-align: center;
  }

  .nav-main .mega-menu-col h4 {
    color: var(--ibepes-dourado);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    padding: 0;
    text-align: center;
    opacity: 0.8;
  }
  
  .nav-main .mega-menu-col ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  /* Submenu items - mesmo estilo do nav-link principal */
  .nav-main .mega-menu-col a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    padding: var(--space-3) var(--space-4);
    text-align: center;
    border-radius: var(--radius-md);
    transition: color 0.15s ease, background 0.15s ease;
  }
  
  .nav-main .mega-menu-col a:hover,
  .nav-main .mega-menu-col a:active {
    color: var(--ibepes-dourado);
    background: rgba(255, 255, 255, 0.08);
  }
  
  /* Highlight nav-link quando submenu aberto */
  .nav-main .nav-item.submenu-open > .nav-link {
    color: var(--ibepes-dourado);
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* Rotate arrow when submenu open */
  .nav-main .nav-item.submenu-open > .nav-link svg {
    transform: rotate(180deg);
  }
  
  /* Mobile Menu Toggle Animation */
  .menu-toggle {
    position: relative;
    z-index: 9001;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
  }
  
  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .header.scrolled .menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
  }
  
  .menu-toggle span {
    transform-origin: center;
    transition: all 0.3s ease;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .menu-toggle.active span {
    background: var(--texto-branco);
  }

  /* Raise header above overlay so toggle stays clickable when menu is open */
  .header.menu-open {
    z-index: 9999;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .header.menu-open .logo {
    opacity: 0;
    pointer-events: none;
  }

  /* Logo branding in mobile menu */
  .nav-main::before {
    content: '';
    position: absolute;
    top: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background: url('../img/logos/ibepes-menu-branco.png') center/contain no-repeat;
    opacity: 0.3;
  }
}

/* ============================================
   6. HERO SECTION - WOW FACTOR
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-top: 100px;
  overflow: hidden;
}

/* Animated Background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: float 20s ease-in-out infinite;
}

.hero-bg-shape:nth-child(1) {
  width: 700px;
  height: 700px;
  background: var(--ibepes-azul-medio);
  top: -250px;
  right: -200px;
}

.hero-bg-shape:nth-child(2) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -150px;
  animation-delay: -7s;
}

.hero-bg-shape:nth-child(3) {
  width: 350px;
  height: 350px;
  background: var(--ibepes-dourado);
  top: 40%;
  left: 55%;
  animation-delay: -12s;
  opacity: 0.12;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -40px) scale(1.08); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.03); }
}

/* Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--ibepes-dourado);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-200px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Badge Celebração */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(212, 168, 75, 0.12);
  border: 1px solid rgba(212, 168, 75, 0.25);
  color: var(--ibepes-dourado);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s ease forwards;
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
}

/* Título Hero */
.hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.3125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-12);
  max-width: 680px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.45s forwards;
  opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--ibepes-dourado), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 140px 0 100px;
  }
  .hero-buttons {
    flex-direction: column;
    padding: 0 var(--space-4);
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   7. STATS SECTION
   ============================================ */
.stats {
  padding: var(--space-16) 0;
  background: var(--bg-white);
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
  padding: var(--space-12) var(--space-8);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--border-light), transparent);
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-claro);
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .stats {
    margin-top: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    padding: var(--space-8) var(--space-6);
  }
  .stat-item::after {
    display: none;
  }
}

/* ============================================
   8. SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.section-header .overline svg {
  width: 14px;
  height: 14px;
}

.section-header h2 {
  margin-bottom: var(--space-5);
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header .overline {
  color: var(--ibepes-dourado);
}

/* ============================================
   9. EVENTOS SECTION - DESTAQUE PRINCIPAL
   ============================================ */

/* Featured Event Card */
.evento-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.1);
  margin-bottom: var(--space-12);
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: all var(--transition-smooth);
}

.evento-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(15, 42, 74, 0.15);
}

.evento-featured-content {
  padding: var(--space-12);
}

.evento-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}

.evento-featured-content h3 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-4);
  color: var(--ibepes-azul-escuro);
}

.evento-featured-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.evento-featured-meta {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.evento-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--texto-claro);
  font-weight: 500;
}

.evento-meta-item svg {
  color: var(--ibepes-dourado);
}

.evento-featured-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.evento-featured-visual {
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
}

.evento-featured-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--ibepes-dourado);
  opacity: 0.08;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.evento-featured-icon-wrapper {
  color: var(--ibepes-dourado);
  margin-bottom: var(--space-8);
  opacity: 0.6;
  position: relative;
}

.evento-featured-stats {
  display: flex;
  gap: var(--space-10);
  position: relative;
}

.evento-stat {
  text-align: center;
}

.evento-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--texto-branco);
  line-height: 1;
  letter-spacing: -0.03em;
}

.evento-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-top: var(--space-1);
  display: block;
}

/* Events Grid */
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.evento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
}

.evento-card-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ibepes-azul-medio);
  background: rgba(30, 77, 140, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  width: fit-content;
  white-space: nowrap;
}

.evento-card-status-award {
  color: var(--ibepes-dourado);
  background: rgba(212, 168, 75, 0.1);
}

.evento-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--texto-branco);
}

.evento-card-icon img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 5px;
}

.evento-card h4 {
  margin-bottom: var(--space-3);
}

.evento-card p {
  font-size: 0.9375rem;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

/* Eventos CTA */
.eventos-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ibepes-azul-escuro);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-12);
  gap: var(--space-8);
}

.eventos-cta-content h3 {
  color: var(--texto-branco);
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.eventos-cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.eventos-cta-services {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.eventos-cta-services li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  position: relative;
  padding-left: 1.2em;
}

.eventos-cta-services li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--ibepes-dourado);
  font-weight: 700;
}

.eventos-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .evento-featured {
    grid-template-columns: 1fr;
  }
  .eventos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eventos-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .eventos-grid {
    grid-template-columns: 1fr;
  }
  .eventos-cta {
    padding: var(--space-8);
  }
}

/* ============================================
   10. CARDS GERAIS
   ============================================ */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
  height: 100%;
}

.card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

/* Project Card */
.project-card {
  display: flex;
  flex-direction: column;
}

.project-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.project-card-icon svg {
  color: var(--texto-branco);
}

.project-card-icon img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 5px;
}

.project-card-icon[data-color="green"]  { background: linear-gradient(135deg, #D4A855, #B8943F); }
.project-card-icon[data-color="blue"]   { background: linear-gradient(135deg, #3182CE, #2B6CB0); }
.project-card-icon[data-color="purple"] { background: linear-gradient(135deg, #805AD5, #6B46C1); }
.project-card-icon[data-color="gold"]   { background: linear-gradient(135deg, #D4A855, #B8943F); }
.project-card-icon[data-color="orange"] { background: linear-gradient(135deg, #DD6B20, #C05621); }
.project-card-icon[data-color="teal"]   { background: linear-gradient(135deg, #319795, #2C7A7B); }
.project-card-icon[data-color="red"]    { background: linear-gradient(135deg, #E53E3E, #C53030); }
.project-card-icon[data-color="navy"]   { background: linear-gradient(135deg, #1E4D8C, #153A6B); }
.project-card-icon[data-color="liorg"]  { background: linear-gradient(135deg, #D4A84B, #B8943F); }
.project-card-icon[data-color="gray"]   { background: linear-gradient(135deg, #718096, #4A5568); }

.project-card-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--bg-light);
  color: var(--ibepes-azul-medio);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  width: fit-content;
}

.project-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-3);
}

.project-card p {
  font-size: 0.9375rem;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ibepes-azul-escuro);
  transition: all var(--transition-fast);
}

.project-card-link:hover {
  color: var(--ibepes-dourado);
}

.project-card-link svg {
  transition: transform var(--transition-fast);
}

.project-card-link:hover svg {
  transform: translateX(6px);
}

/* Btn Link */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ibepes-azul-escuro);
  transition: all var(--transition-fast);
}

.btn-link:hover {
  color: var(--ibepes-dourado);
}

.btn-link svg {
  transition: transform var(--transition-fast);
}

.btn-link:hover svg {
  transform: translateX(6px);
}

/* Núcleo Card */
.nucleo-card {
  position: relative;
  overflow: hidden;
}

.nucleo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--ibepes-azul-medio));
}

.nucleo-card[data-nucleo="alei"] { --card-accent: #DC2626; }
.nucleo-card[data-nucleo="liorg"] { --card-accent: #D4A84B; }
.nucleo-card[data-nucleo="orion"] { --card-accent: #C9A04A; }
.nucleo-card[data-nucleo="inforg"] { --card-accent: #2563EB; }
.nucleo-card[data-nucleo="humanos"] { --card-accent: #E53E3E; }

.nucleo-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.nucleo-card-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--texto-branco);
  flex-shrink: 0;
  background: var(--bg-white);
  padding: var(--space-2);
}

.nucleo-card-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nucleo-card-badge.alei { background: var(--bg-white); }
.nucleo-card-badge.liorg { background: var(--bg-white); }
.nucleo-card-badge.orion { background: var(--bg-white); }
.nucleo-card-badge.inforg { background: var(--bg-white); }
.nucleo-card-badge.humanos { background: #E53E3E; }

.nucleo-card > p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}

.nucleo-card-stats {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-light);
  margin-bottom: var(--space-5);
}

.nucleo-stat {
  text-align: left;
}

.nucleo-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  line-height: 1;
  letter-spacing: -0.02em;
}

.nucleo-stat-label {
  font-size: 0.75rem;
  color: var(--texto-claro);
  margin-top: var(--space-1);
}

.nucleo-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.nucleo-status-ativo {
  background: rgba(16, 185, 129, 0.12);
  color: #E0B85C;
}

.nucleo-status-novo {
  background: rgba(59, 130, 246, 0.12);
  color: #3B82F6;
}

.nucleo-status-legado {
  background: rgba(156, 163, 175, 0.12);
  color: #9CA3AF;
}

.nucleo-cnpq-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 168, 75, 0.12);
  color: var(--ibepes-dourado);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.nucleo-cnpq-badge:hover {
  background: rgba(212, 168, 75, 0.25);
}

/* Value Card (Dark Section) */
.value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.value-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.value-card:hover .value-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.value-card-icon svg {
  color: var(--ibepes-azul-escuro);
}

.value-card h4 {
  color: var(--texto-branco);
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.value-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

/* Highlight Card */
.highlight-card {
  overflow: hidden;
}

.highlight-card-image {
  width: 100%;
  height: 180px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.highlight-card-image svg {
  width: 48px;
  height: 48px;
  color: var(--ibepes-dourado);
}

.highlight-card-content {
  padding: 0;
}

.highlight-card-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.highlight-card h4 {
  margin-bottom: var(--space-2);
}

.highlight-card p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}

/* ============================================
   11. TABS
   ============================================ */
.tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  background: var(--bg-white);
  padding: var(--space-2);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.tab-btn {
  padding: var(--space-4) var(--space-8);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--texto-medio);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.tab-btn:hover {
  color: var(--ibepes-azul-escuro);
}

.tab-btn.active {
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  box-shadow: 0 4px 12px rgba(15, 42, 74, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.tab-content p {
  font-size: 1.125rem;
  line-height: 1.9;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
    border-radius: var(--radius-xl);
  }
  .tab-btn {
    border-radius: var(--radius-lg);
  }
}

/* ============================================
   12. TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: var(--space-10) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--ibepes-dourado), var(--ibepes-azul-medio), var(--ibepes-dourado));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  position: relative;
  margin-bottom: var(--space-12);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--ibepes-dourado);
  border: 4px solid var(--bg-dark);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: all var(--transition-normal);
}

.timeline-item:hover::before {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.5);
}

.timeline-content {
  max-width: 400px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 168, 75, 0.3);
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.timeline-year {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: var(--ibepes-dourado);
  color: var(--ibepes-azul-escuro);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.timeline-content h4 {
  color: var(--texto-branco);
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.timeline-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.timeline-content .btn-link {
  color: rgba(255, 255, 255, 0.9);
}

.timeline-content .btn-link:hover {
  color: var(--ibepes-dourado);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-item::before {
    left: 20px;
  }
}

/* ============================================
   13. FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-normal);
  background: var(--bg-white);
}

.faq-item:hover {
  border-color: var(--ibepes-azul-claro);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  border-color: var(--ibepes-dourado);
  box-shadow: 0 10px 30px rgba(212, 168, 75, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto-escuro);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--ibepes-azul-escuro);
}

.faq-question svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================
   14. CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-hero);
  padding: var(--space-32) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.cta-section h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ============================================
   15. NEWSLETTER
   ============================================ */
.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  outline: none;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}

.newsletter-form input:focus {
  border-color: var(--ibepes-azul-medio);
  box-shadow: 0 0 0 4px rgba(30, 77, 140, 0.1);
}

@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ============================================
   16. FOOTER
   ============================================ */
.footer {
  background: var(--bg-darker);
  color: var(--texto-branco);
  padding-top: var(--space-20);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  margin-top: var(--space-5);
  max-width: 320px;
  line-height: 1.7;
}

.footer-brand-name {
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.footer-column h4 {
  color: var(--texto-branco);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-5);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer-column a:hover {
  color: var(--ibepes-dourado);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer Newsletter */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  margin-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-content h4 {
  color: var(--texto-branco);
  font-size: 1.125rem;
  margin-bottom: var(--space-1);
}

.footer-newsletter-content p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.footer-newsletter-form input[type="email"] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--texto-branco);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  min-width: 260px;
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--ibepes-dourado);
}

@media (max-width: 768px) {
  .footer-newsletter {
    flex-direction: column;
    text-align: center;
  }
  .footer-newsletter-form {
    width: 100%;
    flex-direction: column;
  }
  .footer-newsletter-form input[type="email"] {
    min-width: 0;
    width: 100%;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    text-align: center;
  }
}

/* ============================================
   17. SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   18. UTILITIES
   ============================================ */
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-xl { margin-top: var(--space-12); }

.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   PARTNERS GRID
   ============================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.partner-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ibepes-dourado);
}

a.partner-card {
  text-decoration: none;
  color: inherit;
}

.partner-icon {
  width: 128px;
  height: 128px;
  border-radius: var(--radius-lg);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  transition: transform var(--transition-normal);
  overflow: hidden;
  padding: 12px;
}

.partner-card:hover .partner-icon {
  transform: scale(1.05);
}

.partner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  margin: 0;
}

.partner-card p {
  font-size: 0.875rem;
  color: var(--texto-medio);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
  }

  .partner-card {
    padding: var(--space-5);
  }
}

/* ============================================
   19. SELECTION & SCROLLBAR
   ============================================ */
::selection {
  background: var(--ibepes-dourado);
  color: var(--ibepes-azul-escuro);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--ibepes-azul-medio);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ibepes-azul-escuro);
}


/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  font-size: clamp(3.9rem, 9vw, 7rem);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero .hero-subtitle,
.page-hero .page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ibepes-dourado);
  margin-bottom: var(--space-4);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-8);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* Decorative floating shapes */
.page-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

.page-hero-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 5%;
  animation-delay: -3s;
}

.page-hero-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 15%;
  animation-delay: -7s;
}

.page-hero-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  bottom: 20%;
  right: 25%;
  border-color: rgba(212, 168, 75, 0.1);
  animation-delay: -11s;
}



/* ============================================
   SHARED PROTOTYPE CSS (styles.css)
   ============================================ */

/* ============================================
   IBEPES 15 ANOS - DESIGN WOW FACTOR
   Fontes: Plus Jakarta Sans + Space Grotesk
   Cores IBEPES com efeitos premium
   ============================================ */

/* ============================================
   1. VARIÁVEIS E RESET
   ============================================ */
:root {
  /* Cores do Logo IBEPES */
  --ibepes-azul-escuro: #0F2A4A;
  --ibepes-azul-medio: #1E4D8C;
  --ibepes-azul-claro: #3B7DD8;
  --ibepes-dourado: #D4A84B;
  --ibepes-dourado-light: #F0D78C;

  /* Gradientes */
  --gradient-hero: linear-gradient(135deg, #070F1A 0%, #0F2A4A 40%, #1E4D8C 70%, #0F2A4A 100%);
  --gradient-gold: linear-gradient(135deg, #D4A84B 0%, #F0D78C 50%, #D4A84B 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(212, 168, 75, 0.15) 0%, transparent 70%);

  /* Backgrounds */
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-dark: #0F2A4A;
  --bg-darker: #060E1A;

  /* Texto */
  --texto-escuro: #0F172A;
  --texto-medio: #475569;
  --texto-claro: #94A3B8;
  --texto-branco: #FFFFFF;

  /* Bordas e Sombras */
  --border-light: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(15, 42, 74, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 42, 74, 0.1), 0 2px 4px -1px rgba(15, 42, 74, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 42, 74, 0.1), 0 4px 6px -2px rgba(15, 42, 74, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 42, 74, 0.1), 0 10px 10px -5px rgba(15, 42, 74, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 42, 74, 0.25);
  --shadow-gold: 0 10px 40px rgba(212, 168, 75, 0.3);
  --shadow-glow: 0 0 60px rgba(212, 168, 75, 0.15);

  /* Espaçamentos */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Tipografia */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-family);

  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: 600ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto-escuro);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ============================================
   2. TIPOGRAFIA IMPACTANTE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--texto-escuro);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.9rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  color: var(--texto-medio);
  line-height: 1.75;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Text Colors */
.text-white { color: var(--texto-branco) !important; }
.text-gold { color: var(--ibepes-dourado) !important; }
.text-blue { color: var(--ibepes-azul-escuro) !important; }
.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #D4A84B, #F0D78C, #D4A84B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ============================================
   3. LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm {
  max-width: 960px;
}

.container-lg {
  max-width: 1440px;
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

/* Dark Section */
.section-dark {
  background: var(--gradient-hero);
  color: var(--texto-branco);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
  color: var(--texto-branco);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* Light Gray Section */
.section-light {
  background-color: var(--bg-light);
}

/* Eventos Section - Special */
.section-eventos {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EFF6FF 100%);
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-16) 0; }
}

/* Flexbox */
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; align-items: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-md { gap: var(--space-4); }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================
   4. BOTÕES IMPACTANTES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 32px;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  border-color: var(--ibepes-azul-escuro);
}

.btn-primary:hover {
  background: var(--ibepes-azul-medio);
  border-color: var(--ibepes-azul-medio);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(15, 42, 74, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--ibepes-azul-escuro);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--ibepes-azul-escuro);
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  border-color: var(--ibepes-dourado);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(212, 168, 75, 0.4);
}

.btn-white {
  background: transparent;
  color: var(--texto-branco);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--texto-branco);
  transform: translateY(-3px);
}

.btn-solid-white {
  background: var(--bg-white);
  color: var(--ibepes-azul-escuro);
  border-color: var(--bg-white);
}

.btn-solid-white:hover {
  background: transparent;
  color: var(--texto-branco);
  border-color: var(--bg-white);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--ibepes-azul-escuro);
  border-color: #94a3b8;
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #64748b;
  color: var(--ibepes-azul-escuro);
  transform: translateY(-3px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ibepes-azul-escuro);
  border-color: var(--ibepes-azul-escuro);
}

.btn-outline-dark:hover {
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 20px 44px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8125rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================
   5. HEADER / NAVEGAÇÃO
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header.scrolled .nav-link {
  color: var(--texto-escuro);
}

.header.scrolled .nav-link:hover {
  color: var(--ibepes-dourado);
}

.header.scrolled .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 10;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-img-light {
  display: block;
}

.logo-img-dark {
  display: none;
}

.header.scrolled .logo-img-light {
  display: none;
}

.header.scrolled .logo-img-dark {
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: var(--texto-branco);
  transition: color var(--transition-normal);
}

/* Navegação */
.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-branco);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--ibepes-dourado);
}

.nav-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Home icon - no rotation, only color change */
.nav-link-home svg {
  transition: none;
}

.nav-item:hover .nav-link-home svg {
  transform: none;
}

/* Highlighted Nav Link */
.nav-link-highlight {
  background: rgba(212, 168, 75, 0.15);
  color: var(--ibepes-dourado) !important;
  border: 1px solid rgba(212, 168, 75, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
}

.header.scrolled .nav-link-highlight {
  background: rgba(212, 168, 75, 0.1);
  color: var(--ibepes-dourado) !important;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  min-width: 280px;
  max-width: 740px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(15, 42, 74, 0.15);
  padding: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  pointer-events: none;
}

/* Desktop only: hover to show mega-menu */
@media (min-width: 1025px) {
  .nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.mega-menu-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  min-width: 400px;
}

.mega-menu-grid-1col {
  grid-template-columns: 1fr;
}

.mega-menu-compact {
  min-width: 200px;
  max-width: 480px;
}

.mega-menu-col h4,
.mega-menu-col h4 a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texto-claro);
  margin-bottom: var(--space-4);
}

.mega-menu-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
}

.mega-menu-col li {
  width: 100%;
}

.mega-menu-col a {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--texto-medio);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.mega-menu-col a:hover {
  background: var(--bg-light);
  color: var(--ibepes-azul-escuro);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-3);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto-branco);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.header.scrolled .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .header .btn { display: none; }
  
  /* Mobile Navigation - Full Screen Overlay (appended to body via JS) */
  .nav-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--ibepes-azul-escuro) 0%, #0a1628 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-2);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    padding: 100px var(--space-6) var(--space-10);
    overflow-y: auto;
  }
  
  .nav-main.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-main .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    max-width: 360px;
    padding: 0 var(--space-4);
  }
  
  .nav-main .nav-item {
    position: relative;
    width: 100%;
    text-align: center;
  }
  
  .nav-main .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--texto-branco);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }
  
  .nav-main .nav-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }
  
  .nav-main .nav-link:hover,
  .nav-main .nav-link:focus {
    color: var(--ibepes-dourado);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Mobile Accordion Submenus - Mesmos padrões do menu principal */
  .nav-main .mega-menu,
  .nav-main .mega-menu.mega-menu-compact {
    position: static;
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    left: auto;
    background: transparent;
    border-radius: 0;
    padding: var(--space-4) 0 0 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    pointer-events: auto;
  }

  .nav-main .mega-menu-grid-2col,
  .nav-main .mega-menu-grid-1col {
    min-width: 0;
  }
  
  .nav-main .nav-item.submenu-open .mega-menu {
    display: block;
    animation: slideDown 0.2s ease;
  }
  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .nav-main .mega-menu-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    width: 100%;
  }
  
  .nav-main .mega-menu-col {
    width: 100%;
    text-align: center;
  }

  .nav-main .mega-menu-col h4 {
    color: var(--ibepes-dourado);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    padding: 0;
    text-align: center;
    opacity: 0.8;
  }
  
  .nav-main .mega-menu-col ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  /* Submenu items - mesmo estilo do nav-link principal */
  .nav-main .mega-menu-col a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    padding: var(--space-3) var(--space-4);
    text-align: center;
    border-radius: var(--radius-md);
    transition: color 0.15s ease, background 0.15s ease;
  }
  
  .nav-main .mega-menu-col a:hover,
  .nav-main .mega-menu-col a:active {
    color: var(--ibepes-dourado);
    background: rgba(255, 255, 255, 0.08);
  }
  
  /* Highlight nav-link quando submenu aberto */
  .nav-main .nav-item.submenu-open > .nav-link {
    color: var(--ibepes-dourado);
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* Rotate arrow when submenu open */
  .nav-main .nav-item.submenu-open > .nav-link svg {
    transform: rotate(180deg);
  }
  
  /* Mobile Menu Toggle Animation */
  .menu-toggle {
    position: relative;
    z-index: 9001;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
  }
  
  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .header.scrolled .menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
  }
  
  .menu-toggle span {
    transform-origin: center;
    transition: all 0.3s ease;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .menu-toggle.active span {
    background: var(--texto-branco);
  }

  /* Raise header above overlay so toggle stays clickable when menu is open */
  .header.menu-open {
    z-index: 9999;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .header.menu-open .logo {
    opacity: 0;
    pointer-events: none;
  }

  /* Logo branding in mobile menu */
  .nav-main::before {
    content: '';
    position: absolute;
    top: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background: url('../img/logos/ibepes-menu-branco.png') center/contain no-repeat;
    opacity: 0.3;
  }
}

/* ============================================
   6. HERO SECTION - WOW FACTOR
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-top: 100px;
  overflow: hidden;
}

/* Animated Background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: float 20s ease-in-out infinite;
}

.hero-bg-shape:nth-child(1) {
  width: 700px;
  height: 700px;
  background: var(--ibepes-azul-medio);
  top: -250px;
  right: -200px;
}

.hero-bg-shape:nth-child(2) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -150px;
  animation-delay: -7s;
}

.hero-bg-shape:nth-child(3) {
  width: 350px;
  height: 350px;
  background: var(--ibepes-dourado);
  top: 40%;
  left: 55%;
  animation-delay: -12s;
  opacity: 0.12;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -40px) scale(1.08); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.03); }
}

/* Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--ibepes-dourado);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-200px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Badge Celebração */




/* Título Hero */
.hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.3125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-12);
  max-width: 680px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.45s forwards;
  opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--ibepes-dourado), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 140px 0 100px;
  }
  .hero-buttons {
    flex-direction: column;
    padding: 0 var(--space-4);
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   7. STATS SECTION
   ============================================ */
.stats {
  padding: var(--space-16) 0;
  background: var(--bg-white);
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
  padding: var(--space-12) var(--space-8);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--border-light), transparent);
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-claro);
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .stats {
    margin-top: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    padding: var(--space-8) var(--space-6);
  }
  .stat-item::after {
    display: none;
  }
}

/* ============================================
   8. SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.section-header .overline svg {
  width: 14px;
  height: 14px;
}

.section-header h2 {
  margin-bottom: var(--space-5);
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header .overline {
  color: var(--ibepes-dourado);
}

/* ============================================
   9. EVENTOS SECTION - DESTAQUE PRINCIPAL
   ============================================ */

/* Featured Event Card */
.evento-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.1);
  margin-bottom: var(--space-12);
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: all var(--transition-smooth);
}

.evento-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(15, 42, 74, 0.15);
}

.evento-featured-content {
  padding: var(--space-12);
}

.evento-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}

.evento-featured-content h3 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-4);
  color: var(--ibepes-azul-escuro);
}

.evento-featured-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.evento-featured-meta {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.evento-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--texto-claro);
  font-weight: 500;
}

.evento-meta-item svg {
  color: var(--ibepes-dourado);
}

.evento-featured-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.evento-featured-visual {
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
}

.evento-featured-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--ibepes-dourado);
  opacity: 0.08;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.evento-featured-icon-wrapper {
  color: var(--ibepes-dourado);
  margin-bottom: var(--space-8);
  opacity: 0.6;
  position: relative;
}

.evento-featured-stats {
  display: flex;
  gap: var(--space-10);
  position: relative;
}

.evento-stat {
  text-align: center;
}

.evento-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--texto-branco);
  line-height: 1;
  letter-spacing: -0.03em;
}

.evento-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-top: var(--space-1);
  display: block;
}

/* Events Grid */
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.evento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
}

.evento-card-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ibepes-azul-medio);
  background: rgba(30, 77, 140, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  width: fit-content;
  white-space: nowrap;
}

.evento-card-status-award {
  color: var(--ibepes-dourado);
  background: rgba(212, 168, 75, 0.1);
}

.evento-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--texto-branco);
}

.evento-card-icon img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 5px;
}

.evento-card h4 {
  margin-bottom: var(--space-3);
}

.evento-card p {
  font-size: 0.9375rem;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

/* Eventos CTA */
.eventos-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ibepes-azul-escuro);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-12);
  gap: var(--space-8);
}

.eventos-cta-content h3 {
  color: var(--texto-branco);
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.eventos-cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.eventos-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .evento-featured {
    grid-template-columns: 1fr;
  }
  .eventos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eventos-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .eventos-grid {
    grid-template-columns: 1fr;
  }
  .eventos-cta {
    padding: var(--space-8);
  }
}

/* ============================================
   10. CARDS GERAIS
   ============================================ */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
  height: 100%;
}

.card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

/* Project Card */
.project-card {
  display: flex;
  flex-direction: column;
}

.project-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.project-card-icon svg {
  color: var(--texto-branco);
}

.project-card-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--bg-light);
  color: var(--ibepes-azul-medio);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  width: fit-content;
}

.project-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-3);
}

.project-card p {
  font-size: 0.9375rem;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ibepes-azul-escuro);
  transition: all var(--transition-fast);
}

.project-card-link:hover {
  color: var(--ibepes-dourado);
}

.project-card-link svg {
  transition: transform var(--transition-fast);
}

.project-card-link:hover svg {
  transform: translateX(6px);
}

/* Btn Link */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ibepes-azul-escuro);
  transition: all var(--transition-fast);
}

.btn-link:hover {
  color: var(--ibepes-dourado);
}

.btn-link svg {
  transition: transform var(--transition-fast);
}

.btn-link:hover svg {
  transform: translateX(6px);
}

/* Núcleo Card */
.nucleo-card {
  position: relative;
  overflow: hidden;
}

.nucleo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--ibepes-azul-medio));
}

.nucleo-card[data-nucleo="alei"] { --card-accent: #DC2626; }
.nucleo-card[data-nucleo="liorg"] { --card-accent: #D4A84B; }
.nucleo-card[data-nucleo="orion"] { --card-accent: #C9A04A; }
.nucleo-card[data-nucleo="inforg"] { --card-accent: #2563EB; }
.nucleo-card[data-nucleo="humanos"] { --card-accent: #E53E3E; }

.nucleo-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.nucleo-card-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--texto-branco);
  flex-shrink: 0;
  background: var(--bg-white);
  padding: var(--space-2);
}

.nucleo-card-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nucleo-card-badge.alei { background: var(--bg-white); }
.nucleo-card-badge.liorg { background: var(--bg-white); }
.nucleo-card-badge.orion { background: var(--bg-white); }
.nucleo-card-badge.inforg { background: var(--bg-white); }
.nucleo-card-badge.humanos { background: #E53E3E; }

.nucleo-card > p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}

.nucleo-card-stats {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-light);
  margin-bottom: var(--space-5);
}

.nucleo-stat {
  text-align: left;
}

.nucleo-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  line-height: 1;
  letter-spacing: -0.02em;
}

.nucleo-stat-label {
  font-size: 0.75rem;
  color: var(--texto-claro);
  margin-top: var(--space-1);
}

/* Value Card (Dark Section) */
.value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.value-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.value-card:hover .value-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.value-card-icon svg {
  color: var(--ibepes-azul-escuro);
}

.value-card h4 {
  color: var(--texto-branco);
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.value-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

/* Highlight Card */
.highlight-card {
  overflow: hidden;
}

.highlight-card-image {
  width: 100%;
  height: 180px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.highlight-card-image svg {
  width: 48px;
  height: 48px;
  color: var(--ibepes-dourado);
}

.highlight-card-content {
  padding: 0;
}

.highlight-card-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.highlight-card h4 {
  margin-bottom: var(--space-2);
}

.highlight-card p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}

/* ============================================
   11. TABS
   ============================================ */
.tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  background: var(--bg-white);
  padding: var(--space-2);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.tab-btn {
  padding: var(--space-4) var(--space-8);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--texto-medio);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.tab-btn:hover {
  color: var(--ibepes-azul-escuro);
}

.tab-btn.active {
  background: var(--ibepes-azul-escuro);
  color: var(--texto-branco);
  box-shadow: 0 4px 12px rgba(15, 42, 74, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.tab-content p {
  font-size: 1.125rem;
  line-height: 1.9;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
    border-radius: var(--radius-xl);
  }
  .tab-btn {
    border-radius: var(--radius-lg);
  }
}

/* ============================================
   12. TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: var(--space-10) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--ibepes-dourado), var(--ibepes-azul-medio), var(--ibepes-dourado));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  position: relative;
  margin-bottom: var(--space-12);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--ibepes-dourado);
  border: 4px solid var(--bg-dark);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: all var(--transition-normal);
}

.timeline-item:hover::before {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.5);
}

.timeline-content {
  max-width: 400px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 168, 75, 0.3);
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.timeline-year {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: var(--ibepes-dourado);
  color: var(--ibepes-azul-escuro);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.timeline-content h4 {
  color: var(--texto-branco);
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.timeline-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.timeline-content .btn-link {
  color: rgba(255, 255, 255, 0.9);
}

.timeline-content .btn-link:hover {
  color: var(--ibepes-dourado);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-item::before {
    left: 20px;
  }
}

/* ============================================
   13. FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-normal);
  background: var(--bg-white);
}

.faq-item:hover {
  border-color: var(--ibepes-azul-claro);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  border-color: var(--ibepes-dourado);
  box-shadow: 0 10px 30px rgba(212, 168, 75, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto-escuro);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--ibepes-azul-escuro);
}

.faq-question svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================
   14. CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-hero);
  padding: var(--space-32) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.cta-section h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ============================================
   15. NEWSLETTER
   ============================================ */
.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  outline: none;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}

.newsletter-form input:focus {
  border-color: var(--ibepes-azul-medio);
  box-shadow: 0 0 0 4px rgba(30, 77, 140, 0.1);
}

@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ============================================
   16. FOOTER
   ============================================ */
.footer {
  background: var(--bg-darker);
  color: var(--texto-branco);
  padding-top: var(--space-20);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  margin-top: var(--space-5);
  max-width: 320px;
  line-height: 1.7;
}

.footer-column h4 {
  color: var(--texto-branco);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-5);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer-column a:hover {
  color: var(--ibepes-dourado);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer Newsletter */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  margin-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-content h4 {
  color: var(--texto-branco);
  font-size: 1.125rem;
  margin-bottom: var(--space-1);
}

.footer-newsletter-content p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.footer-newsletter-form input[type="email"] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--texto-branco);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  min-width: 260px;
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--ibepes-dourado);
}

@media (max-width: 768px) {
  .footer-newsletter {
    flex-direction: column;
    text-align: center;
  }
  .footer-newsletter-form {
    width: 100%;
    flex-direction: column;
  }
  .footer-newsletter-form input[type="email"] {
    min-width: 0;
    width: 100%;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    text-align: center;
  }
}

/* ============================================
   17. SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   18. UTILITIES
   ============================================ */
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-xl { margin-top: var(--space-12); }

.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   PARTNERS GRID
   ============================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.partner-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ibepes-dourado);
}

a.partner-card {
  text-decoration: none;
  color: inherit;
}

.partner-icon {
  width: 128px;
  height: 128px;
  border-radius: var(--radius-lg);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  transition: transform var(--transition-normal);
  overflow: hidden;
  padding: 12px;
}

.partner-card:hover .partner-icon {
  transform: scale(1.05);
}

.partner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  margin: 0;
}

.partner-card p {
  font-size: 0.875rem;
  color: var(--texto-medio);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
  }

  .partner-card {
    padding: var(--space-5);
  }
}

/* ============================================
   19. SELECTION & SCROLLBAR
   ============================================ */
::selection {
  background: var(--ibepes-dourado);
  color: var(--ibepes-azul-escuro);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--ibepes-azul-medio);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ibepes-azul-escuro);
}


/* ============================================
   PAGE-SPECIFIC PROTOTYPE CSS
   ============================================ */

/* From atuacao.html (37 unique selectors) */
/* ============================================
   PAGE HERO - INNER PAGES
   ============================================ */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

    .page-hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 800px;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  max-width: 640px;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   FEATURED PROJECT - FUTURO.LAB.SOCIAL
   ============================================ */
.featured-project {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 42, 74, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: all var(--transition-smooth);
}

.featured-project:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(15, 42, 74, 0.18);
}

.featured-project-content {
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-project-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, #C9A04A, #B8943F);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
  width: fit-content;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(5, 150, 105, 0); }
}

.featured-project-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-5);
  color: var(--ibepes-azul-escuro);
  line-height: 1.1;
}

.featured-project-content h2 span {
  background: linear-gradient(135deg, var(--ibepes-dourado), #D4A855);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-project-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.featured-project-components {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.featured-project-component {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(30, 77, 140, 0.06);
  border: 1px solid rgba(30, 77, 140, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ibepes-dourado);
}

.featured-project-component svg {
  width: 14px;
  height: 14px;
}

.featured-project-partner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}

.featured-project-partner-badge {
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.featured-project-partner-badge svg {
  width: 20px;
  height: 20px;
  color: var(--ibepes-azul-escuro);
}

.featured-project-partner-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-medio);
}

.featured-project-partner-text strong {
  color: var(--ibepes-azul-escuro);
}

.featured-project-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.featured-project-visual {
  background: linear-gradient(135deg, #C9A04A 0%, #B8943F 40%, #0F2A4A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
}

.featured-project-visual::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  opacity: 0.06;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.featured-project-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: 20%;
  right: -50px;
  animation: float 12s ease-in-out infinite reverse;
}

.featured-project-icon-wrapper {
  position: relative;
  margin-bottom: var(--space-10);
}

.featured-project-icon-wrapper svg {
  color: rgba(255, 255, 255, 0.5);
  filter: drop-shadow(0 0 40px rgba(212, 168, 75, 0.3));
}

.featured-project-visual-label {
  position: relative;
  text-align: center;
}

.featured-project-visual-label h3 {
  font-size: 2rem;
  color: var(--texto-branco);
  margin-bottom: var(--space-2);
}

.featured-project-visual-label p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
}

.featured-project-visual-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  position: relative;
}

.featured-visual-stat {
  text-align: center;
}

.featured-visual-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ibepes-dourado);
  line-height: 1;
}

.featured-visual-stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-top: var(--space-1);
  display: block;
}

@media (max-width: 1024px) {
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-project-visual {
    min-height: 300px;
  }
}

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced project card for this page */
.project-card-enhanced {
  position: relative;
  display: flex;
  flex-direction: column;
}

.project-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--card-gradient, linear-gradient(135deg, var(--ibepes-azul-claro), var(--ibepes-azul-medio)));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card-enhanced:hover::before {
  opacity: 1;
}

.project-card-enhanced .project-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: transform var(--transition-normal);
}

.project-card-enhanced:hover .project-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.project-card-links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.project-card-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--ibepes-azul-escuro);
  transition: all var(--transition-fast);
}

.project-card-links a:hover {
  color: var(--ibepes-dourado);
}

.project-card-links a svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.project-card-links a:hover svg {
  transform: translateX(4px);
}

.project-card-links .link-external {
  color: var(--ibepes-azul-claro);
}

.project-card-links .link-external:hover {
  color: var(--ibepes-dourado);
}

/* ============================================
   IMPACT SECTION
   ============================================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.impact-item {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.impact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.impact-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: var(--gradient-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.impact-item:hover .impact-icon {
  transform: scale(1.1) rotate(-5deg);
}

.impact-icon svg {
  color: var(--ibepes-azul-escuro);
}

.impact-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--texto-branco);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

.impact-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

/* ============================================
   CTA SECTION OVERRIDE
   ============================================ */
.projetos-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.projetos-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.projetos-cta::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--ibepes-dourado);
  opacity: 0.05;
  border-radius: 50%;
  bottom: -100px;
  right: -50px;
  animation: float 18s ease-in-out infinite reverse;
}

.projetos-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-5);
  position: relative;
  font-size: clamp(2rem, 4vw, 3rem);
}

.projetos-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1875rem;
  margin-bottom: var(--space-10);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.projetos-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   DECORATIVE FLOATING ELEMENTS
   ============================================ */
.floating-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.floating-decoration .deco-circle {
  border-radius: 50%;
  position: absolute;
  opacity: 0.04;
  animation: float 20s ease-in-out infinite;
}

/* Overline with icon for sections */
.overline svg {
  width: 14px;
  height: 14px;
}

/* From contato.html (32 unique selectors) */
/* ============================================
   PAGE HERO (Shorter, Inner Page)
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}



.page-hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 700px;
}

.page-hero h1 {
  color: var(--texto-branco);
  font-size: clamp(3.25rem, 6.5vw, 5.2rem);
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1875rem;
  line-height: 1.8;
  max-width: 600px;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */
.contact-info-section {
  padding: var(--space-24) 0 var(--space-16);
  position: relative;
  z-index: 5;
  margin-top: -60px;
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg-white) 100%);
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.12);
  border-color: transparent;
}

.contact-info-card:hover::before {
  opacity: 1;
}

.contact-info-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.contact-info-card:hover .contact-info-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.contact-info-card h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
  color: var(--ibepes-azul-escuro);
}

.contact-info-card p {
  font-size: 0.9375rem;
  color: var(--texto-medio);
  line-height: 1.7;
}

.contact-info-card p strong {
  display: block;
  color: var(--ibepes-azul-escuro);
  font-weight: 600;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-section {
  padding: var(--space-16) 0 var(--space-24);
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg-white) 100%);
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-form-info {
  position: sticky;
  top: 120px;
}

.contact-form-info .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.contact-form-info .overline svg {
  width: 14px;
  height: 14px;
}

.contact-form-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-5);
}

.contact-form-info>p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-10);
}

.contact-trust-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 77, 140, 0.08), rgba(30, 77, 140, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

.contact-trust-item p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--texto-medio);
}

.contact-trust-item p strong {
  color: var(--texto-escuro);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* Form */
.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: 0 20px 60px rgba(15, 42, 74, 0.08);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--texto-escuro);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  color: var(--texto-escuro);
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--texto-claro);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--bg-white);
  border-color: var(--ibepes-azul-medio);
  box-shadow: 0 0 0 4px rgba(30, 77, 140, 0.1);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.form-submit-btn {
  width: 100%;
  padding: 18px 32px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ibepes-azul-escuro);
  background: var(--gradient-gold);
  border: 2px solid var(--ibepes-dourado);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.form-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

.form-submit-btn:hover::before {
  left: 100%;
}

.form-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(212, 168, 75, 0.4);
}

.form-submit-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.form-submit-btn:hover svg {
  transform: translateX(4px);
}

.form-note {
  text-align: center;
  margin-top: var(--space-4);
  font-size: 0.8125rem;
  color: var(--texto-claro);
}

/* ============================================
   QUICK LINKS
   ============================================ */
.quick-links-section {
  padding: var(--space-24) 0;
}

.quick-link-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.quick-link-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  border-color: transparent;
}

.quick-link-card:hover::after {
  transform: scaleX(1);
}

.quick-link-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--texto-branco);
}

.quick-link-card p {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--texto-escuro);
  margin-bottom: var(--space-4);
  flex-grow: 1;
  line-height: 1.5;
}

.quick-link-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ibepes-azul-escuro);
  transition: all var(--transition-fast);
}

.quick-link-action svg {
  transition: transform var(--transition-fast);
}

.quick-link-card:hover .quick-link-action {
  color: var(--ibepes-dourado);
}

.quick-link-card:hover .quick-link-action svg {
  transform: translateX(6px);
}

/* ============================================
   MAP PLACEHOLDER
   ============================================ */
.map-section {
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.map-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.map-content {
  position: relative;
  z-index: 2;
}

.map-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-8);
  background: rgba(212, 168, 75, 0.1);
  border: 2px solid rgba(212, 168, 75, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  animation: pulse-map 3s ease-in-out infinite;
}

@keyframes pulse-map {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.2);
  }

  50% {
    box-shadow: 0 0 0 20px rgba(212, 168, 75, 0);
  }
}

.map-placeholder h3 {
  color: var(--texto-branco);
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

.map-placeholder p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.map-locations {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  margin-top: var(--space-10);
}

.map-location {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  font-weight: 600;
}

.map-location svg {
  color: var(--ibepes-dourado);
}

.map-location-dot {
  width: 10px;
  height: 10px;
  background: var(--ibepes-dourado);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(30, 77, 140, 0.5);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .contact-form-info {
    position: static;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 130px 0 60px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: var(--space-8);
  }

  .map-locations {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From diretoria.html (14 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -150px;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }

  66% {
    transform: translate(-30px, 30px) rotate(240deg);
  }
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 3.9rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--ibepes-dourado);
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 80px;
  }

  .page-hero h1 {
    font-size: 2.6rem;
  }

  .page-hero-subtitle {
    font-size: 1rem;
  }
}

/* ============================================
   DIRETORIA CARDS
   ============================================ */
.director-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.director-card {
  background: white;
  border-radius: 16px;
  padding: var(--space-8);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.director-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.director-card:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.director-card:hover::before {
  transform: translateX(0);
}

.director-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(15, 42, 74, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  overflow: hidden;
}

.director-icon svg {
  color: var(--ibepes-azul-escuro);
}

.director-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  margin-bottom: var(--space-2);
}

.director-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ibepes-dourado);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.director-bio {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.director-lattes {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ibepes-azul-escuro);
  text-decoration: none;
  padding: var(--space-3) var(--space-5);
  border-radius: 8px;
  background: rgba(15, 42, 74, 0.05);
  transition: all 0.2s;
}

.director-lattes:hover {
  background: rgba(15, 42, 74, 0.1);
  transform: translateX(4px);
}

.director-lattes svg {
  transition: transform 0.2s;
}

.director-lattes:hover svg {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .director-cards {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ============================================
   INTRO SECTION
   ============================================ */
.diretoria-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-10);
}

.diretoria-intro p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From evento-ebbc.html (31 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   HERO BADGE
   ============================================ */




@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(128, 90, 213, 0.3);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(128, 90, 213, 0.15);
  }
}



/* ============================================
   EVENT DETAIL SECTIONS
   ============================================ */
.evento-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.evento-info-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.evento-info-content h2 {
  margin-bottom: var(--space-6);
}

.evento-info-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.evento-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.evento-meta-card {
  background: linear-gradient(135deg, rgba(128, 90, 213, 0.03), rgba(128, 90, 213, 0.06));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-smooth);
}

.evento-meta-card:hover {
  border-color: var(--ibepes-dourado);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(128, 90, 213, 0.08);
}

.evento-meta-card svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

.evento-meta-card .meta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texto-claro);
}

.evento-meta-card .meta-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
}

/* Visual card */
.evento-visual-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.evento-visual-card::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--ibepes-azul-medio);
  opacity: 0.06;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.evento-visual-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  position: relative;
  backdrop-filter: blur(10px);
}

.evento-visual-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  position: relative;
}

.evento-visual-stat {
  text-align: center;
}

.evento-visual-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--ibepes-dourado), #D6BCFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.evento-visual-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.evento-visual-badges {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

.evento-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.evento-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .evento-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   TOPICS SECTION
   ============================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.topic-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--ibepes-azul-medio), var(--ibepes-dourado));
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.topic-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(30, 77, 140, 0.1);
  transform: translateY(-8px);
}

.topic-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(128, 90, 213, 0.05), rgba(128, 90, 213, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  transition: all var(--transition-normal);
}

.topic-card:hover .topic-card-icon {
  background: linear-gradient(135deg, var(--ibepes-azul-medio), var(--ibepes-dourado));
  color: var(--texto-branco);
  transform: scale(1.1) rotate(-5deg);
}

.topic-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.topic-card p {
  font-size: 0.875rem;
  color: var(--texto-claro);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PARTNERS & CONNECTIONS
   ============================================ */
.connections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin: 0 auto;
}

.connection-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  transition: all var(--transition-smooth);
}

.connection-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(212, 168, 75, 0.1);
  transform: translateY(-4px);
}

.connection-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-branco);
  flex-shrink: 0;
}

.connection-card-icon img {
  background: white;
  border-radius: 50%;
  padding: 4px;
}

.connection-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.connection-card p {
  font-size: 0.8125rem;
  color: var(--texto-claro);
  line-height: 1.5;
}

.connection-card .connection-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ibepes-dourado);
  background: rgba(128, 90, 213, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
}

.connection-card .btn-link {
  display: block;
  margin-top: var(--space-3);
}

@media (max-width: 768px) {
  .connections-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.evento-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.evento-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.evento-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.evento-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.evento-cta .btn {
  position: relative;
  z-index: 1;
}

/* Pulse animation for CTA */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.4);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(212, 168, 75, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0);
  }
}

.btn-cta-pulse {
  animation: ctaPulse 2s infinite;
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

@media (max-width: 768px) {
  .evento-meta-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From evento-enajus.html (32 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   HERO BADGE
   ============================================ */




@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.3);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(212, 168, 75, 0.15);
  }
}



/* ============================================
   EVENT DETAIL SECTIONS
   ============================================ */
.evento-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.evento-info-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.evento-info-content h2 {
  margin-bottom: var(--space-6);
}

.evento-info-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.evento-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.evento-meta-card {
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.03), rgba(30, 77, 140, 0.06));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-smooth);
}

.evento-meta-card:hover {
  border-color: var(--ibepes-dourado);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
}

.evento-meta-card svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

.evento-meta-card .meta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texto-claro);
}

.evento-meta-card .meta-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
}

/* Visual card */
.evento-visual-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.evento-visual-card::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--ibepes-dourado);
  opacity: 0.06;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.evento-visual-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  position: relative;
  backdrop-filter: blur(10px);
}

.evento-visual-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  position: relative;
}

.evento-visual-stat {
  text-align: center;
}

.evento-visual-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--ibepes-dourado), var(--ibepes-dourado-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.evento-visual-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.evento-visual-badges {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

.evento-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.evento-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .evento-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   TOPICS SECTION
   ============================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.topic-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.topic-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

.topic-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.topic-card:hover .topic-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.topic-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.topic-card p {
  font-size: 0.875rem;
  color: var(--texto-claro);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMO PARTICIPAR
   ============================================ */
.participar-card {
  position: relative;
  text-align: center;
  padding: var(--space-10) var(--space-8);
  overflow: hidden;
}

.participar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.participar-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ibepes-azul-escuro), var(--ibepes-azul-medio));
  color: var(--texto-branco);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-5);
}

.participar-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.participar-card:hover .participar-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.participar-card h4 {
  margin-bottom: var(--space-3);
}

.participar-card p {
  font-size: 0.9375rem;
}

/* ============================================
   PARTNERS & CONNECTIONS
   ============================================ */
.connections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin: 0 auto;
}

.connection-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  transition: all var(--transition-smooth);
}

.connection-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(212, 168, 75, 0.1);
  transform: translateY(-4px);
}

.connection-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-branco);
  flex-shrink: 0;
}

.connection-card-icon img {
  background: white;
  border-radius: 50%;
  padding: 4px;
}

.connection-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.connection-card p {
  font-size: 0.8125rem;
  color: var(--texto-claro);
  line-height: 1.5;
}

.connection-card .connection-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ibepes-azul-medio);
  background: rgba(30, 77, 140, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .connections-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.evento-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.evento-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .evento-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.evento-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.evento-cta .btn {
  position: relative;
  z-index: 1;
}

/* Pulse animation for CTA */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.4);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(212, 168, 75, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0);
  }
}

.btn-cta-pulse {
  animation: ctaPulse 2s infinite;
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

@media (max-width: 768px) {
  .evento-meta-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From evento-infosfera.html (31 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   HERO BADGE
   ============================================ */




/* ============================================
   EVENT DETAIL SECTIONS
   ============================================ */
.evento-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.evento-info-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.evento-info-content h2 {
  margin-bottom: var(--space-6);
}

.evento-info-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.evento-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.evento-meta-card {
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.03), rgba(30, 77, 140, 0.06));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-smooth);
}

.evento-meta-card:hover {
  border-color: var(--ibepes-dourado);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
}

.evento-meta-card svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

.evento-meta-card .meta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texto-claro);
}

.evento-meta-card .meta-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
}

/* Visual card */
.evento-visual-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.evento-visual-card::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--ibepes-dourado);
  opacity: 0.06;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.evento-visual-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  position: relative;
  backdrop-filter: blur(10px);
}

.evento-visual-label {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--texto-branco);
  position: relative;
  margin-bottom: var(--space-2);
}

.evento-visual-sublabel {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

.evento-visual-badges {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

.evento-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.evento-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .evento-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.ecosystem-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ecosystem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #3182CE, #2B6CB0);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.ecosystem-card:hover::before {
  transform: scaleX(1);
}

.ecosystem-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

.ecosystem-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(49, 130, 206, 0.08), rgba(43, 108, 176, 0.12));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3182CE;
  transition: all var(--transition-normal);
}

.ecosystem-card:hover .ecosystem-card-icon {
  background: linear-gradient(135deg, #3182CE, #2B6CB0);
  color: var(--texto-branco);
  transform: scale(1.1) rotate(-5deg);
}

.ecosystem-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3182CE, #2B6CB0);
  color: var(--texto-branco);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--space-3);
}

.ecosystem-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.ecosystem-card p {
  font-size: 0.875rem;
  color: var(--texto-claro);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.ecosystem-card .btn-link {
  margin-top: auto;
  font-size: 0.8125rem;
}

@media (max-width: 1024px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TOPICS SECTION
   ============================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.topic-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.topic-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

.topic-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.topic-card:hover .topic-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.topic-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.topic-card p {
  font-size: 0.875rem;
  color: var(--texto-claro);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMO PARTICIPAR
   ============================================ */
.participar-card {
  position: relative;
  text-align: center;
  padding: var(--space-10) var(--space-8);
  overflow: hidden;
}

.participar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.participar-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ibepes-azul-escuro), var(--ibepes-azul-medio));
  color: var(--texto-branco);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-5);
}

.participar-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.participar-card:hover .participar-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.participar-card h4 {
  margin-bottom: var(--space-3);
}

.participar-card p {
  font-size: 0.9375rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.evento-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.evento-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .evento-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.evento-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.evento-cta .btn {
  position: relative;
  z-index: 1;
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

@media (max-width: 768px) {
  .evento-meta-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From evento-sijovem.html (33 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   HERO BADGE
   ============================================ */




@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(30, 77, 140, 0.3);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(30, 77, 140, 0.15);
  }
}



/* ============================================
   EVENT DETAIL SECTIONS
   ============================================ */
.evento-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.evento-info-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.evento-info-content h2 {
  margin-bottom: var(--space-6);
}

.evento-info-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.evento-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.evento-meta-card {
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.03), rgba(30, 77, 140, 0.06));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-smooth);
}

.evento-meta-card:hover {
  border-color: var(--ibepes-dourado);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
}

.evento-meta-card svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

.evento-meta-card .meta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texto-claro);
}

.evento-meta-card .meta-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
}

/* Visual card */
.evento-visual-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.evento-visual-card::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--ibepes-dourado);
  opacity: 0.06;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.evento-visual-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  position: relative;
  backdrop-filter: blur(10px);
}

.evento-visual-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--texto-branco);
  margin-bottom: var(--space-2);
  position: relative;
}

.evento-visual-subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  position: relative;
}

.evento-visual-badges {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

.evento-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.evento-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .evento-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   TOPICS SECTION
   ============================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.topic-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.topic-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

.topic-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.topic-card:hover .topic-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.topic-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.topic-card p {
  font-size: 0.875rem;
  color: var(--texto-claro);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMO PARTICIPAR
   ============================================ */
.participar-card {
  position: relative;
  text-align: center;
  padding: var(--space-10) var(--space-8);
  overflow: hidden;
}

.participar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.participar-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ibepes-azul-escuro), var(--ibepes-azul-medio));
  color: var(--texto-branco);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-5);
}

.participar-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.participar-card:hover .participar-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.participar-card h4 {
  margin-bottom: var(--space-3);
}

.participar-card p {
  font-size: 0.9375rem;
}

/* ============================================
   PARTNERS & CONNECTIONS
   ============================================ */
.connections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin: 0 auto;
}

.connection-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  transition: all var(--transition-smooth);
}

.connection-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(212, 168, 75, 0.1);
  transform: translateY(-4px);
}

.connection-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-branco);
  flex-shrink: 0;
}

.connection-card-icon img {
  background: white;
  border-radius: 50%;
  padding: 4px;
}

.connection-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.connection-card p {
  font-size: 0.8125rem;
  color: var(--texto-claro);
  line-height: 1.5;
}

.connection-card .connection-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ibepes-azul-medio);
  background: rgba(30, 77, 140, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .connections-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.evento-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.evento-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.evento-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.evento-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.evento-cta .btn {
  position: relative;
  z-index: 1;
}

/* Pulse animation for CTA */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.4);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(212, 168, 75, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0);
  }
}

.btn-cta-pulse {
  animation: ctaPulse 2s infinite;
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

@media (max-width: 768px) {
  .evento-meta-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From eventos.html (25 unique selectors) */
/* ============================================
   EVENTOS PAGE - SPECIFIC STYLES
   ============================================ */

/* Page Hero (inner page style, not full-screen) */
.page-hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 180px 0 100px;
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  animation: float 20s ease-in-out infinite;
}

.hero-bg-shape:nth-child(1) {
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  top: -200px;
  right: -200px;
  animation-duration: 20s;
}

.hero-bg-shape:nth-child(2) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-claro);
  bottom: -150px;
  left: -150px;
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-bg-shape:nth-child(3) {
  width: 300px;
  height: 300px;
  background: var(--ibepes-dourado);
  top: 30%;
  right: 20%;
  opacity: 0.05;
  animation-duration: 25s;
  animation-delay: -8s;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 800px;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 720px;
  margin: 0 auto var(--space-6);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* Animatéd pulse ring around ENAJUS featured card */
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  border: 2px solid var(--ibepes-dourado);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: pulseRing 3s ease-out infinite;
}

.pulse-ring:nth-child(2) {
  animation-delay: 1s;
}

.pulse-ring:nth-child(3) {
  animation-delay: 2s;
}

@keyframes pulseRing {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* Enhanced evento-featured for dedicatéd page */
.evento-featured-page {
  position: relative;
}

.evento-featured-page .evento-featured {
  box-shadow: 0 40px 80px rgba(15, 42, 74, 0.12);
}

.evento-featured-page .evento-featured::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--ibepes-dourado), var(--ibepes-azul-claro), var(--ibepes-dourado));
  border-radius: calc(var(--radius-2xl) + 2px);
  z-index: -1;
  opacity: 0.5;
  animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Evento detail link */
.evento-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-fast);
}

.evento-detail-link:hover {
  color: var(--ibepes-dourado);
}

.evento-detail-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.evento-detail-link:hover svg {
  transform: translateX(4px);
}

/* Evento card with dual links */
.evento-card-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: auto;
}

/* Calendar / Timeline Section */
.calendario-section {
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg-white) 100%);
}

.calendario-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.calendario-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(to bottom, var(--ibepes-dourado), var(--ibepes-azul-medio), var(--ibepes-dourado), var(--ibepes-dourado));
  transform: translateX(-50%);
  border-radius: 3px;
}

.calendario-item {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: var(--space-10);
}

.calendario-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.calendario-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.calendario-item::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--bg-white);
  border: 4px solid var(--ibepes-dourado);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: all var(--transition-normal);
}

.calendario-item:hover::before {
  background: var(--ibepes-dourado);
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.5);
  transform: translateX(-50%) scale(1.2);
}

.calendario-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
  max-width: 380px;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.calendario-card:hover {
  border-color: var(--ibepes-dourado);
  box-shadow: 0 20px 40px rgba(15, 42, 74, 0.1);
  transform: translateY(-4px);
}

.calendario-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.calendario-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.calendario-card-period {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ibepes-dourado);
}

.calendario-card h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.calendario-card p {
  font-size: 0.875rem;
  color: var(--texto-claro);
}

.calendario-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(30, 77, 140, 0.08);
  color: var(--ibepes-dourado);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-top: var(--space-3);
}

@media (max-width: 768px) {
  .calendario-timeline::before {
    left: 20px;
  }
  .calendario-item:nth-child(odd),
  .calendario-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .calendario-item::before {
    left: 20px;
  }
}

/* Como Participar Section */
.participar-card {
  position: relative;
  text-align: center;
  padding: var(--space-10) var(--space-8);
  overflow: hidden;
}

.participar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.participar-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ibepes-azul-escuro), var(--ibepes-azul-medio));
  color: var(--texto-branco);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-5);
}

.participar-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.05), rgba(30, 77, 140, 0.08));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.participar-card:hover .participar-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.participar-card h4 {
  margin-bottom: var(--space-3);
}

.participar-card p {
  font-size: 0.9375rem;
}

/* Animatéd gradient border for hero heading */
.hero-heading-accent {
  position: relative;
  display: inline-block;
}

.hero-heading-accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 120px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

/* Confetti-like decorations */
.confetti-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: confettiFade 3s ease-in-out infinite;
}

@keyframes confettiFade {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.5); }
}

/* Nav active staté for current page */
.nav-link-active {
  position: relative;
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--ibepes-dourado);
  border-radius: 2px;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From faq.html (31 unique selectors) */
/* ============================================
   INVESTIMENTO PAGE - HERO
   ============================================ */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(135deg, #070F1A 0%, #0F2A4A 30%, #1E4D8C 60%, #0F2A4A 85%, #070F1A 100%);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: float 20s ease-in-out infinite;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 77, 140, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 800px;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero h1 .text-gradient-gold {
  background: linear-gradient(135deg, #D4A84B, #F0D78C, #D4A84B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  max-width: 700px;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  font-size: 0.875rem;
  font-weight: 500;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--ibepes-dourado);
  font-weight: 700;
}

/* Gold accent line */
.gold-accent-line {
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

/* ============================================
   POR QUE INVESTIR CARDS
   ============================================ */
.porque-card {
  position: relative;
  text-align: center;
  padding: var(--space-10) var(--space-8);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.porque-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.porque-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.06), rgba(30, 77, 140, 0.1));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.porque-card:hover .porque-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.porque-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.porque-card p {
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================
   FORMAS DE COLABORACAO
   ============================================ */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }
}

.collab-card {
  position: relative;
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.collab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--card-accent, var(--gradient-gold));
  border-radius: 0 4px 4px 0;
}

.collab-card[data-collab="futurolab"] { --card-accent: linear-gradient(to bottom, #D4A84B, #D4A855); }
.collab-card[data-collab="científico"] { --card-accent: linear-gradient(to bottom, #D4A84B, #F0D78C); }
.collab-card[data-collab="pesquisa"] { --card-accent: linear-gradient(to bottom, #3B7DD8, #1E4D8C); }
.collab-card[data-collab="voluntariado"] { --card-accent: linear-gradient(to bottom, #E53E3E, #C53030); }

.collab-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.collab-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-branco);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.collab-card:hover .collab-card-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.collab-card-header h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-2);
}

.collab-card-header p {
  font-size: 0.9375rem;
  color: var(--ibepes-dourado);
  font-weight: 600;
}

.collab-card-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

.collab-card-items li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--texto-escuro);
  transition: all var(--transition-fast);
}

.collab-card-items li:hover {
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.08), rgba(212, 168, 75, 0.02));
  transform: translateX(4px);
}

.collab-card-items li svg {
  width: 18px;
  height: 18px;
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

/* ============================================
   IMPACTO DO INVESTIMENTO
   ============================================ */
.impacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .impacto-grid {
    grid-template-columns: 1fr;
  }
}

.impacto-card {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.impacto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: all var(--transition-normal);
}

.impacto-card:hover::before {
  opacity: 1;
  width: 100%;
}

.impacto-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.impacto-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.impacto-card:hover .impacto-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.impacto-card-icon svg {
  color: var(--ibepes-azul-escuro);
}

.impacto-card h3 {
  color: var(--texto-branco);
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.impacto-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.8;
}

.impacto-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ibepes-dourado);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }
}

.depoimento-card {
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  position: relative;
}

.depoimento-card-quote {
  color: var(--ibepes-dourado);
  margin-bottom: var(--space-4);
  opacity: 0.4;
}

.depoimento-card p {
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-6);
  color: var(--texto-medio);
}

.depoimento-card-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.depoimento-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.08), rgba(30, 77, 140, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  flex-shrink: 0;
}

.depoimento-author-info strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--texto-escuro);
}

.depoimento-author-info span {
  font-size: 0.8125rem;
  color: var(--texto-claro);
}

.depoimento-placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(212, 168, 75, 0.08);
  color: var(--ibepes-dourado);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

/* ============================================
   GOLD CTA SECTION
   ============================================ */
.cta-gold {
  background: linear-gradient(135deg, #D4A84B 0%, #F0D78C 30%, #D4A84B 60%, #B8922F 100%);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .cta-gold h2 {
  color: var(--ibepes-azul-escuro);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta-gold p {
  color: rgba(15, 42, 74, 0.75);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-gold .btn {
  position: relative;
  z-index: 1;
}

/* Floating decorative elements */
.page-hero-deco {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero-deco-shape {
  position: absolute;
  border: 1px solid rgba(212, 168, 75, 0.1);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.page-hero-deco-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 5%;
  animation-delay: -3s;
}

.page-hero-deco-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 15%;
  animation-delay: -7s;
}

.page-hero-deco-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 25%;
  animation-delay: -12s;
  border-color: rgba(255, 255, 255, 0.05);
}

/* Pulse ring around impacto icons */
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212, 168, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 168, 75, 0); }
}

.impacto-card:hover .impacto-card-icon {
  animation: pulseRing 1.5s ease-out infinite;
}

/* Active nav staté for current page */
.header .btn.btn-active {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  border-color: var(--ibepes-dourado);
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From investimento.html (31 unique selectors) */
/* ============================================
   INVESTIMENTO PAGE - HERO
   ============================================ */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  animation: float 20s ease-in-out infinite;
}

.hero-bg-shape:nth-child(1) {
  width: 600px;
  height: 600px;
  background: var(--ibepes-dourado);
  top: -100px;
  right: -100px;
  animation-duration: 20s;
}

.hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -100px;
  left: -100px;
  animation-duration: 15s;
  animation-direction: reverse;
}

.hero-bg-shape:nth-child(3) {
  width: 300px;
  height: 300px;
  background: var(--ibepes-azul-claro);
  top: 40%;
  right: 20%;
  opacity: 0.05;
  animation-duration: 25s;
  animation-delay: -8s;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 800px;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero h1 .text-gradient-gold {
  background: linear-gradient(135deg, #D4A84B, #F0D78C, #D4A84B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  max-width: 700px;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 500;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
  font-weight: 600;
}

/* Gold accent line */
.gold-accent-line {
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

/* ============================================
   POR QUE INVESTIR CARDS
   ============================================ */
.porque-card {
  position: relative;
  text-align: center;
  padding: var(--space-10) var(--space-8);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.porque-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.porque-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.06), rgba(30, 77, 140, 0.1));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.porque-card:hover .porque-card-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  transform: scale(1.1) rotate(-5deg);
}

.porque-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.porque-card p {
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================
   FORMAS DE COLABORACAO
   ============================================ */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }
}

.collab-card {
  position: relative;
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.collab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--card-accent, var(--gradient-gold));
  border-radius: 0 4px 4px 0;
}

.collab-card[data-collab="futurolab"] {
  --card-accent: linear-gradient(to bottom, #D4A84B, #D4A855);
}

.collab-card[data-collab="científico"] {
  --card-accent: linear-gradient(to bottom, #D4A84B, #F0D78C);
}

.collab-card[data-collab="pesquisa"] {
  --card-accent: linear-gradient(to bottom, #3B7DD8, #1E4D8C);
}

.collab-card[data-collab="voluntariado"] {
  --card-accent: linear-gradient(to bottom, #E53E3E, #C53030);
}

.collab-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.collab-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-branco);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.collab-card:hover .collab-card-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.collab-card-header h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-2);
}

.collab-card-header p {
  font-size: 0.9375rem;
  color: var(--ibepes-dourado);
  font-weight: 600;
}

.collab-card-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

.collab-card-items li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--texto-escuro);
  transition: all var(--transition-fast);
}

.collab-card-items li:hover {
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.08), rgba(212, 168, 75, 0.02));
  transform: translateX(4px);
}

.collab-card-items li svg {
  width: 18px;
  height: 18px;
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

/* ============================================
   IMPACTO DO INVESTIMENTO
   ============================================ */
.impacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .impacto-grid {
    grid-template-columns: 1fr;
  }
}

.impacto-card {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.impacto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: all var(--transition-normal);
}

.impacto-card:hover::before {
  opacity: 1;
  width: 100%;
}

.impacto-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.impacto-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.impacto-card:hover .impacto-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.impacto-card-icon svg {
  color: var(--ibepes-azul-escuro);
}

.impacto-card h3 {
  color: var(--texto-branco);
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.impacto-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.8;
}

.impacto-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ibepes-dourado);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }
}

.depoimento-card {
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  position: relative;
}

.depoimento-card-quote {
  color: var(--ibepes-dourado);
  margin-bottom: var(--space-4);
  opacity: 0.4;
}

.depoimento-card p {
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-6);
  color: var(--texto-medio);
}

.depoimento-card-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.depoimento-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.08), rgba(30, 77, 140, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  flex-shrink: 0;
}

.depoimento-author-info strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--texto-escuro);
}

.depoimento-author-info span {
  font-size: 0.8125rem;
  color: var(--texto-claro);
}

.depoimento-placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(212, 168, 75, 0.08);
  color: var(--ibepes-dourado);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

/* ============================================
   GOLD CTA SECTION
   ============================================ */
.cta-gold {
  background: linear-gradient(135deg, #D4A84B 0%, #F0D78C 30%, #D4A84B 60%, #B8922F 100%);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.cta-gold h2 {
  color: var(--ibepes-azul-escuro);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta-gold p {
  color: rgba(15, 42, 74, 0.75);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-gold .btn {
  position: relative;
  z-index: 1;
}

/* Floating decorative shapes */

/* Pulse ring around impacto icons */
@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(212, 168, 75, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 75, 0);
  }
}

.impacto-card:hover .impacto-card-icon {
  animation: pulseRing 1.5s ease-out infinite;
}

/* Active nav staté for current page */
.header .btn.btn-active {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  border-color: var(--ibepes-dourado);
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From legado.html (20 unique selectors) */
/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.25rem, 6.5vw, 5.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.page-hero h1 span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: var(--ibepes-dourado);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado-light);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* ===== FLOATING SHAPES (WOW) ===== */
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  animation: floatShape 20s ease-in-out infinite;
}

.hero-bg-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  top: -100px;
  right: -80px;
  animation-duration: 18s;
}

.hero-bg-shape:nth-child(2) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-azul-claro);
  bottom: -50px;
  left: 10%;
  animation-duration: 22s;
  animation-delay: -5s;
}

.hero-bg-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  background: var(--ibepes-dourado);
  top: 30%;
  right: 20%;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  33% {
    transform: translateY(-30px) scale(1.05);
  }

  66% {
    transform: translateY(20px) scale(0.95);
  }
}

/* ===== LEGADO CARD ===== */
.legado-card {
  position: relative;
  background: var(--bg-white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.legado-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.legado-card:hover::before {
  transform: scaleX(1);
}

.legado-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.legado-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.legado-card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.legado-card-icon svg {
  width: 36px;
  height: 36px;
}

.legado-card-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  margin-bottom: 0.25rem;
}

.legado-card-header h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto-medio);
}

.legado-card p {
  color: var(--texto-medio);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.legado-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.legado-card-status svg {
  width: 14px;
  height: 14px;
}

.status-transferred {
  background: rgba(212, 168, 75, 0.12);
  color: var(--ibepes-dourado);
}

.status-integratéd {
  background: rgba(30, 77, 140, 0.1);
  color: var(--ibepes-dourado);
}

.status-active {
  background: rgba(59, 125, 216, 0.1);
  color: var(--ibepes-azul-claro);
}

.legado-card .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ibepes-azul-claro);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.legado-card .btn-link:hover {
  gap: 0.75rem;
  color: var(--ibepes-azul-medio);
}

.legado-card .btn-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.legado-card .btn-link:hover svg {
  transform: translateX(4px);
}

/* ===== LEGADO GRID ===== */
.legado-grid {
  display: grid;
  gap: 2rem;
}

.legado-grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.legado-grid-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .legado-grid-main {
    grid-template-columns: 1fr;
  }

  .legado-grid-secondary {
    grid-template-columns: 1fr;
  }
}

/* ===== SMALL LEGADO CARDS ===== */
.legado-card-sm {
  position: relative;
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.legado-card-sm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.legado-card-sm h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  margin-bottom: 0.75rem;
}

.legado-card-sm p {
  color: var(--texto-medio);
  line-height: 1.7;
  font-size: 0.95rem;
}

.legado-card-sm-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
}

.legado-card-sm-icon svg {
  width: 24px;
  height: 24px;
}

/* ===== IMPACT BANNER ===== */
.impact-banner {
  background: var(--gradient-hero);
  border-radius: 24px;
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

    .impact-banner-content {
  position: relative;
  z-index: 2;
}

.impact-banner h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.impact-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.impact-banner .btn {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .impact-banner {
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }
}

/* ===== GLOW SEPARATOR ===== */
.glow-separator {
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 4px;
  margin: 0 auto 2rem;
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.3);
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From nucleo-alei.html (25 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: #1E4D8C;
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: #1E4D8C;
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

/* ============================================
   NUCLEUS ACCENT
   ============================================ */
:root {
  --nucleo-accent: #1E4D8C;
  --nucleo-accent-light: #3B6FB5;
  --nucleo-accent-dark: #153A6B;
  --nucleo-accent-bg: rgba(30, 77, 140, 0.08);
  --nucleo-gradient: linear-gradient(135deg, #1E4D8C, #3B6FB5);
}

/* ============================================
   NUCLEUS INTRO
   ============================================ */
.nucleo-intro {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.nucleo-intro::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--nucleo-accent);
  opacity: 0.03;
  border-radius: 50%;
  filter: blur(100px);
}

.nucleo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.nucleo-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nucleo-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.nucleo-intro-content h2 {
  margin-bottom: var(--space-6);
  font-size: 2.25rem;
}

.nucleo-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.nucleo-intro-visual {
  position: relative;
}

.nucleo-card-visual {
  background: var(--nucleo-gradient);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nucleo-card-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .nucleo-visual-icon {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.nucleo-visual-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-2);
}

.nucleo-visual-subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--space-8);
}

.nucleo-visual-badges {
  display: flex;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.nucleo-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.nucleo-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .nucleo-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   RESEARCH AREAS - Cards Grid
   ============================================ */
.research-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EFF6FF 100%);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.research-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--nucleo-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.research-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

.research-card:hover::before {
  opacity: 1;
}

.research-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: var(--nucleo-accent-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nucleo-accent);
  transition: all var(--transition-normal);
}

.research-card:hover .research-card-icon {
  background: var(--nucleo-gradient);
  color: white;
  transform: scale(1.1);
}

.research-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  color: var(--texto-escuro);
}

.research-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--texto-claro);
}

@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RELATED PROJECTS
   ============================================ */
.projects-section {
  padding: var(--space-20) 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.project-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.project-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

.project-card-icon {
  width: 72px;
  height: 72px;
  background: var(--nucleo-gradient);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}

.project-card h4 {
  font-size: 1.125rem;
  color: var(--texto-escuro);
}

.project-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--texto-claro);
  flex-grow: 1;
}

.project-card .btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--nucleo-accent);
  transition: all var(--transition-fast);
}

.project-card .btn-link:hover {
  gap: var(--space-3);
  color: var(--nucleo-accent-dark);
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NUCLEUS CTA
   ============================================ */
.nucleo-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nucleo-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--nucleo-accent);
  opacity: 0.06;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .nucleo-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.nucleo-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.nucleo-cta .btn {
  position: relative;
  z-index: 1;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From nucleo-humanos.html (30 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: #E53E3E;
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: #E53E3E;
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

/* ============================================
   NUCLEUS ACCENT
   ============================================ */
:root {
  --nucleo-accent: #E53E3E;
  --nucleo-accent-light: #FC8181;
  --nucleo-accent-dark: #C53030;
  --nucleo-accent-bg: rgba(229, 62, 62, 0.08);
  --nucleo-gradient: linear-gradient(135deg, #E53E3E, #FC8181);
}

/* ============================================
   NUCLEUS INTRO
   ============================================ */
.nucleo-intro {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.nucleo-intro::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--nucleo-accent);
  opacity: 0.03;
  border-radius: 50%;
  filter: blur(100px);
}

.nucleo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.nucleo-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nucleo-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.nucleo-intro-content h2 {
  margin-bottom: var(--space-6);
  font-size: 2.25rem;
}

.nucleo-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.nucleo-intro-visual {
  position: relative;
}

.nucleo-card-visual {
  background: var(--nucleo-gradient);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nucleo-card-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.nucleo-visual-icon {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.nucleo-visual-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-2);
}

.nucleo-visual-subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--space-8);
}

.nucleo-visual-badges {
  display: flex;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.nucleo-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.nucleo-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .nucleo-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   RESEARCH AREAS - Cards Grid
   ============================================ */
.research-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #FFF5F5 100%);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.research-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--nucleo-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.research-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(229, 62, 62, 0.1);
  transform: translateY(-8px);
}

.research-card:hover::before {
  opacity: 1;
}

.research-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: var(--nucleo-accent-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nucleo-accent);
  transition: all var(--transition-normal);
}

.research-card:hover .research-card-icon {
  background: var(--nucleo-gradient);
  color: white;
  transform: scale(1.1);
}

.research-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  color: var(--texto-escuro);
}

.research-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--texto-claro);
}

@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   INSTITUTIONAL LINK
   ============================================ */
.institutional-section {
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, #FFF5F5 0%, var(--bg-white) 100%);
}

.institutional-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: 0 30px 60px rgba(229, 62, 62, 0.08);
  border: 1px solid rgba(229, 62, 62, 0.12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
  transition: all var(--transition-smooth);
}

.institutional-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(229, 62, 62, 0.12);
}

.institutional-icon {
  width: 100px;
  height: 100px;
  background: var(--nucleo-gradient);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.institutional-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  color: var(--nucleo-accent-dark);
}

.institutional-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.institutional-content .btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nucleo-accent);
  transition: all var(--transition-fast);
}

.institutional-content .btn-link:hover {
  gap: var(--space-3);
  color: var(--nucleo-accent-dark);
}

@media (max-width: 768px) {
  .institutional-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-8);
  }

  .institutional-icon {
    margin: 0 auto;
  }
}

/* ============================================
   NUCLEUS CTA
   ============================================ */
.nucleo-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nucleo-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--nucleo-accent);
  opacity: 0.06;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.nucleo-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.nucleo-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.nucleo-cta .btn {
  position: relative;
  z-index: 1;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From nucleo-inforg.html (31 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: #D4A84B;
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: #D4A84B;
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

/* ============================================
   NUCLEUS ACCENT
   ============================================ */
:root {
  --nucleo-accent: #DD6B20;
  --nucleo-accent-light: #ED8936;
  --nucleo-accent-dark: #C05621;
  --nucleo-accent-bg: rgba(221, 107, 32, 0.08);
  --nucleo-gradient: linear-gradient(135deg, #DD6B20, #ED8936);
}

/* ============================================
   NUCLEUS INTRO
   ============================================ */
.nucleo-intro {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.nucleo-intro::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--nucleo-accent);
  opacity: 0.03;
  border-radius: 50%;
  filter: blur(100px);
}

.nucleo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.nucleo-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nucleo-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.nucleo-intro-content h2 {
  margin-bottom: var(--space-6);
  font-size: 2.25rem;
}

.nucleo-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.nucleo-intro-visual {
  position: relative;
}

.nucleo-card-visual {
  background: var(--nucleo-gradient);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nucleo-card-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.nucleo-visual-icon {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.nucleo-visual-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-2);
}

.nucleo-visual-subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--space-8);
}

.nucleo-visual-badges {
  display: flex;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.nucleo-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.nucleo-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .nucleo-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   RESEARCH AREAS - Cards Grid
   ============================================ */
.research-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #FFFAF0 100%);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.research-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--nucleo-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.research-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(221, 107, 32, 0.1);
  transform: translateY(-8px);
}

.research-card:hover::before {
  opacity: 1;
}

.research-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: var(--nucleo-accent-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nucleo-accent);
  transition: all var(--transition-normal);
}

.research-card:hover .research-card-icon {
  background: var(--nucleo-gradient);
  color: white;
  transform: scale(1.1);
}

.research-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  color: var(--texto-escuro);
}

.research-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--texto-claro);
}

@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   INSTITUTIONAL LINK
   ============================================ */
.institutional-section {
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, #FFFAF0 0%, var(--bg-white) 100%);
}

.institutional-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: 0 30px 60px rgba(221, 107, 32, 0.08);
  border: 1px solid rgba(221, 107, 32, 0.12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
  transition: all var(--transition-smooth);
}

.institutional-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(221, 107, 32, 0.12);
}

.institutional-icon {
  width: 100px;
  height: 100px;
  background: var(--nucleo-gradient);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.institutional-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  color: var(--nucleo-accent-dark);
}

.institutional-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.institutional-content .btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nucleo-accent);
  transition: all var(--transition-fast);
}

.institutional-content .btn-link:hover {
  gap: var(--space-3);
  color: var(--nucleo-accent-dark);
}

@media (max-width: 768px) {
  .institutional-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-8);
  }

  .institutional-icon {
    margin: 0 auto;
  }
}

/* ============================================
   NUCLEUS CTA
   ============================================ */
.nucleo-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nucleo-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--nucleo-accent);
  opacity: 0.06;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.nucleo-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.nucleo-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.nucleo-cta .btn {
  position: relative;
  z-index: 1;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From nucleo-liorg.html (28 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: #D4A84B;
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: #D4A84B;
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

/* ============================================
   NUCLEUS ACCENT
   ============================================ */
:root {
  --nucleo-accent: #D4A84B;
  --nucleo-accent-light: #2AB563;
  --nucleo-accent-dark: #B8943F;
  --nucleo-accent-bg: rgba(30, 77, 140, 0.08);
  --nucleo-gradient: linear-gradient(135deg, #D4A84B, #2AB563);
}

/* ============================================
   NUCLEUS INTRO
   ============================================ */
.nucleo-intro {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.nucleo-intro::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--nucleo-accent);
  opacity: 0.03;
  border-radius: 50%;
  filter: blur(100px);
}

.nucleo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.nucleo-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nucleo-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.nucleo-intro-content h2 {
  margin-bottom: var(--space-6);
  font-size: 2.25rem;
}

.nucleo-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.nucleo-intro-visual {
  position: relative;
}

.nucleo-card-visual {
  background: var(--nucleo-gradient);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nucleo-card-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .nucleo-visual-icon {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.nucleo-visual-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-2);
}

.nucleo-visual-subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--space-8);
}

.nucleo-visual-badges {
  display: flex;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.nucleo-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.nucleo-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .nucleo-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   RESEARCH AREAS - Cards Grid
   ============================================ */
.research-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EFF6FF 100%);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.research-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--nucleo-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.research-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(30, 77, 140, 0.1);
  transform: translateY(-8px);
}

.research-card:hover::before {
  opacity: 1;
}

.research-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: var(--nucleo-accent-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nucleo-accent);
  transition: all var(--transition-normal);
}

.research-card:hover .research-card-icon {
  background: var(--nucleo-gradient);
  color: white;
  transform: scale(1.1);
}

.research-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  color: var(--texto-escuro);
}

.research-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--texto-claro);
}

@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   INSTITUTIONAL LINK
   ============================================ */
.institutional-section {
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg-white) 100%);
}

.institutional-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: 0 30px 60px rgba(30, 77, 140, 0.08);
  border: 1px solid rgba(30, 77, 140, 0.12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
  transition: all var(--transition-smooth);
}

.institutional-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(30, 77, 140, 0.12);
}

.institutional-icon {
  width: 100px;
  height: 100px;
  background: var(--nucleo-gradient);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.institutional-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  color: var(--nucleo-accent-dark);
}

.institutional-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.institutional-content .btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nucleo-accent);
  transition: all var(--transition-fast);
}

.institutional-content .btn-link:hover {
  gap: var(--space-3);
  color: var(--nucleo-accent-dark);
}

@media (max-width: 768px) {
  .institutional-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-8);
  }
  .institutional-icon {
    margin: 0 auto;
  }
}

/* ============================================
   NUCLEUS CTA
   ============================================ */
.nucleo-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nucleo-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--nucleo-accent);
  opacity: 0.06;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .nucleo-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.nucleo-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.nucleo-cta .btn {
  position: relative;
  z-index: 1;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From nucleo-orion.html (24 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-azul-medio);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

/* ============================================
   NUCLEUS ACCENT
   ============================================ */
:root {
  --nucleo-accent: var(--ibepes-azul-medio);
  --nucleo-accent-light: #63B3ED;
  --nucleo-accent-dark: #1E4D8C;
  --nucleo-accent-bg: rgba(30, 77, 140, 0.08);
  --nucleo-gradient: linear-gradient(135deg, var(--ibepes-azul-medio), #63B3ED);
}

/* ============================================
   NUCLEUS INTRO
   ============================================ */
.nucleo-intro {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.nucleo-intro::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--nucleo-accent);
  opacity: 0.03;
  border-radius: 50%;
  filter: blur(100px);
}

.nucleo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.nucleo-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nucleo-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.nucleo-intro-content h2 {
  margin-bottom: var(--space-6);
  font-size: 2.25rem;
}

.nucleo-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.nucleo-intro-visual {
  position: relative;
}

.nucleo-card-visual {
  background: var(--nucleo-gradient);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nucleo-card-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .nucleo-visual-icon {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.nucleo-visual-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-2);
}

.nucleo-visual-subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--space-8);
}

.nucleo-visual-badges {
  display: flex;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.nucleo-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.nucleo-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .nucleo-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   RESEARCH AREAS - Cards Grid
   ============================================ */
.research-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #F5F0FF 100%);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.research-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--nucleo-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.research-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(212, 168, 75, 0.1);
  transform: translateY(-8px);
}

.research-card:hover::before {
  opacity: 1;
}

.research-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: var(--nucleo-accent-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nucleo-accent);
  transition: all var(--transition-normal);
}

.research-card:hover .research-card-icon {
  background: var(--nucleo-gradient);
  color: white;
  transform: scale(1.1);
}

.research-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  color: var(--texto-escuro);
}

.research-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--texto-claro);
}

@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NUCLEUS CTA
   ============================================ */
.nucleo-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nucleo-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--nucleo-accent);
  opacity: 0.06;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .nucleo-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.nucleo-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.nucleo-cta .btn {
  position: relative;
  z-index: 1;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From nucleos.html (41 unique selectors) */
/* ============================================
   PAGE HERO - NÚCLEOS (Inner page hero)
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}



.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-8);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

.page-hero h1 {
  color: var(--texto-branco);
  font-size: clamp(3.9rem, 9vw, 7rem);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Decorative floating shapes in hero */
.page-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

.page-hero-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 5%;
  animation-delay: -3s;
}

.page-hero-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 15%;
  animation-delay: -7s;
}

.page-hero-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  bottom: 20%;
  right: 25%;
  border-color: rgba(212, 168, 75, 0.1);
  animation-delay: -11s;
}

/* ============================================
   OVERVIEW SECTION
   ============================================ */
.overview-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  margin-top: -60px;
  z-index: 10;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.overview-text {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--texto-medio);
}

.overview-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.overview-stat-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.overview-stat-card:hover {
  background: var(--bg-white);
  border-color: var(--ibepes-dourado);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(212, 168, 75, 0.1);
}

.overview-stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

.overview-stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--texto-claro);
}

@media (max-width: 768px) {
  .overview-content {
    grid-template-columns: 1fr;
  }
  .overview-card {
    padding: var(--space-8);
  }
}

/* ============================================
   NÚCLEOS EXPANDED GRID
   ============================================ */
.nucleos-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.nucleo-expanded {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
  margin-bottom: var(--space-8);
}

.nucleo-expanded::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--núcleo-color, var(--ibepes-azul-medio));
}

.nucleo-expanded:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.1);
  transform: translateY(-6px);
}

.nucleo-expanded[data-nucleo="alei"] { --núcleo-color: #3B7DD8; }
.nucleo-expanded[data-nucleo="liorg"] { --núcleo-color: #D4A84B; }
.nucleo-expanded[data-nucleo="orion"] { --núcleo-color: #7C3AED; }
.nucleo-expanded[data-nucleo="inforg"] { --núcleo-color: #E67E22; }
.nucleo-expanded[data-nucleo="humanos"] { --núcleo-color: #DC2626; }

.nucleo-expanded-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}

.nucleo-expanded-content {
  padding: var(--space-10) var(--space-10) var(--space-10) calc(var(--space-10) + 6px);
}

.nucleo-expanded-header {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.nucleo-expanded-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--texto-branco);
  flex-shrink: 0;
  position: relative;
}

.nucleo-expanded-badge::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: inherit;
  opacity: 0.2;
  z-index: -1;
}

.nucleo-expanded-badge.alei { background: linear-gradient(135deg, #3B7DD8, #2563EB); }
.nucleo-expanded-badge.liorg { background: linear-gradient(135deg, #D4A84B, #B8943F); }
.nucleo-expanded-badge.orion { background: linear-gradient(135deg, #7C3AED, #6D28D9); }
.nucleo-expanded-badge.inforg { background: linear-gradient(135deg, #E67E22, #D97706); }
.nucleo-expanded-badge.humanos { background: linear-gradient(135deg, #DC2626, #B91C1C); }

.nucleo-expanded-title h3 {
  font-size: 1.75rem;
  color: var(--ibepes-azul-escuro);
  margin-bottom: var(--space-1);
}

.nucleo-expanded-title h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--texto-claro);
  letter-spacing: 0;
}

.nucleo-expanded-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--texto-medio);
  margin-bottom: var(--space-6);
}

.nucleo-expanded-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.nucleo-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--bg-light);
  color: var(--texto-medio);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.nucleo-tag svg {
  width: 12px;
  height: 12px;
}

.nucleo-expanded-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.nucleo-expanded-sidebar {
  background: linear-gradient(180deg, rgba(15, 42, 74, 0.02) 0%, rgba(15, 42, 74, 0.06) 100%);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-8);
  border-left: 1px solid var(--border-light);
}

.nucleo-sidebar-stat {
  text-align: center;
}

.nucleo-sidebar-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
  line-height: 1;
  margin-bottom: var(--space-1);
  letter-spacing: -0.02em;
}

.nucleo-sidebar-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--texto-claro);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nucleo-sidebar-divider {
  width: 40px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 0 auto;
}

/* HUMANOS special - three fronts */
.nucleo-fronts {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.nucleo-front {
  flex: 1;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.nucleo-front:hover {
  border-color: var(--núcleo-color);
  background: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nucleo-front-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--space-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-branco);
}

.nucleo-front-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ibepes-azul-escuro);
}

@media (max-width: 1024px) {
  .nucleo-expanded-inner {
    grid-template-columns: 1fr;
  }
  .nucleo-expanded-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-light);
    flex-direction: row;
    justify-content: center;
    padding: var(--space-8);
  }
  .nucleo-sidebar-divider {
    width: 2px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .nucleo-expanded-content {
    padding: var(--space-8) var(--space-6) var(--space-8) calc(var(--space-6) + 6px);
  }
  .nucleo-expanded-sidebar {
    flex-wrap: wrap;
  }
  .nucleo-fronts {
    flex-direction: column;
  }
}

/* ============================================
   COMO PARTICIPAR SECTION
   ============================================ */
.participar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.participar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.participar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.participar-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 42, 74, 0.1);
}

.participar-card:hover::before {
  opacity: 1;
}

.participar-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.participar-card:hover .participar-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.participar-card-icon svg {
  color: var(--ibepes-azul-escuro);
}

.participar-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(212, 168, 75, 0.15);
  color: var(--ibepes-dourado);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--space-4);
}

.participar-card h4 {
  color: var(--texto-escuro);
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.participar-card p {
  color: var(--texto-medio);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .participar-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-12);
  }
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-nucleos {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-nucleos::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .cta-nucleos .container {
  position: relative;
  z-index: 2;
}

.cta-nucleos h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
}

.cta-nucleos p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ANIMATED GRADIENT LINE
   ============================================ */
.gradient-line {
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin: 0 auto var(--space-8);
  position: relative;
  overflow: hidden;
}

.gradient-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

/* From pesquisadores.html (15 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -150px;
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -50px) rotate(120deg); }
  66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 3.9rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--ibepes-dourado);
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 80px;
  }
  
  .page-hero h1 {
    font-size: 2.6rem;
  }
  
  .page-hero-subtitle {
    font-size: 1rem;
  }
}

/* ============================================
   PESQUISADORES TABLE
   ============================================ */
.pesquisadores-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-10);
}

.pesquisadores-intro p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.pesquisadores-table-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.pesquisadores-table {
  width: 100%;
  border-collapse: collapse;
}

.pesquisadores-table thead {
  background: var(--ibepes-azul-escuro);
  color: white;
}

.pesquisadores-table th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pesquisadores-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s;
}

.pesquisadores-table tbody tr:hover {
  background-color: rgba(15, 42, 74, 0.02);
}

.pesquisadores-table tbody tr:last-child {
  border-bottom: none;
}

.pesquisadores-table td {
  padding: var(--space-4) var(--space-5);
  font-size: 0.9375rem;
  color: var(--text-primary);
  vertical-align: top;
}

.pesquisador-nome {
  font-weight: 600;
  color: var(--ibepes-azul-escuro);
}

.pesquisador-instituicao {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.pesquisador-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-associado {
  background: rgba(212, 168, 75, 0.1);
  color: var(--ibepes-dourado);
}

.badge-colaborador {
  background: rgba(30, 77, 140, 0.1);
  color: var(--ibepes-azul-medio);
}

.btn-lattes {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(15, 42, 74, 0.05);
  color: var(--ibepes-azul-escuro);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-lattes:hover {
  background: rgba(15, 42, 74, 0.1);
  transform: translateX(2px);
}

.btn-lattes svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  .pesquisadores-table-container {
    overflow-x: auto;
  }

  .pesquisadores-table {
    min-width: 800px;
  }
}

@media (max-width: 768px) {
  .pesquisadores-table th,
  .pesquisadores-table td {
    padding: var(--space-3) var(--space-4);
    font-size: 0.875rem;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From projeto-futurolab.html (44 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   TAG BADGE
   ============================================ */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.tag-badge-green {
  background: rgba(30, 77, 140, 0.15);
  color: #63B3ED;
  border: 1px solid rgba(30, 77, 140, 0.3);
}

/* ============================================
   PROJECT INFO SECTION
   ============================================ */
.project-intro {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EFF6FF 100%);
}

.project-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: start;
}

.project-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.project-intro-content h2 {
  margin-bottom: var(--space-6);
}

.project-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 120px;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.project-meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-meta-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(15, 42, 74, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--texto-escuro);
  line-height: 1.6;
}

.project-meta-value a {
  color: var(--ibepes-azul-medio);
  transition: color var(--transition-fast);
}

.project-meta-value a:hover {
  color: var(--ibepes-dourado);
}

.project-meta-item svg {
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

.project-meta-item strong {
  color: var(--texto-escuro);
}

/* Project sidebar card */
.project-sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: sticky;
  top: 120px;
}

.project-sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-6);
  color: var(--ibepes-azul-escuro);
}

.project-sidebar-stat {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-light);
}

.project-sidebar-stat:last-child {
  border-bottom: none;
}

.project-sidebar-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-sidebar-stat-text {
  display: flex;
  flex-direction: column;
}

.project-sidebar-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texto-claro);
}

.project-sidebar-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto-escuro);
}

@media (max-width: 1024px) {
  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .project-sidebar-card {
    position: static;
  }
}

/* ============================================
   COMPONENTS SECTION
   ============================================ */
.components-section {
  background: var(--bg-white);
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.component-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.component-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.component-card:hover::before {
  transform: scaleX(1);
}

.component-card:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.12);
  transform: translateY(-8px);
}

.component-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.component-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-4);
  color: var(--ibepes-azul-escuro);
}

.component-card p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--texto-medio);
  margin-bottom: var(--space-6);
}

.component-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

@media (max-width: 1024px) {
  .components-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   IMPACT STATS SECTION
   ============================================ */
.impact-section {
  background: linear-gradient(135deg, #A07D35 0%, #B8943F 30%, #C9A04A 60%, #E0B85C 100%);
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.impact-stat {
  text-align: center;
}

.impact-stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--texto-branco);
  line-height: 1;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, #FFFFFF, #DBEAFE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

@media (max-width: 768px) {
  .impact-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* ============================================
   HOW TO HELP SECTION
   ============================================ */
.help-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EFF6FF 100%);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.help-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-smooth);
}

.help-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-6px);
}

.help-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(30, 77, 140, 0.08), rgba(16, 185, 129, 0.12));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
}

.help-card h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  color: var(--ibepes-azul-escuro);
}

.help-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--texto-medio);
}

@media (max-width: 768px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROJECT CTA
   ============================================ */
.project-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

    .project-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.project-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.project-cta .btn {
  position: relative;
  z-index: 1;
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

/* ============================================
   CONNECTIONS SECTION
   ============================================ */
.connections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin: 0 auto;
}

.connection-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  transition: all var(--transition-smooth);
}

.connection-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(212, 168, 75, 0.1);
  transform: translateY(-4px);
}

.connection-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-branco);
  flex-shrink: 0;
}

.connection-card-icon img {
  background: white;
  border-radius: 50%;
  padding: 4px;
}

.connection-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.connection-card p {
  font-size: 0.8125rem;
  color: var(--texto-claro);
  line-height: 1.5;
}

.connection-card .connection-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ibepes-azul-medio);
  background: rgba(30, 77, 140, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .connections-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From projeto-infosfera.html (28 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: #3182CE;
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   TAG BADGE
   ============================================ */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.tag-badge-blue {
  background: rgba(49, 130, 206, 0.15);
  color: #63B3ED;
  border: 1px solid rgba(49, 130, 206, 0.3);
}

/* ============================================
   PROJECT INFO SECTION
   ============================================ */
.project-intro {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EBF8FF 100%);
}

.project-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: start;
}

.project-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.project-intro-content h2 {
  margin-bottom: var(--space-6);
}

.project-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--texto-medio);
}

.project-meta-item svg {
  color: #3182CE;
  flex-shrink: 0;
}

.project-meta-item strong {
  color: var(--texto-escuro);
}

/* Project sidebar card */
.project-sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: sticky;
  top: 120px;
}

.project-sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-6);
  color: var(--ibepes-azul-escuro);
}

.project-sidebar-stat {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-light);
}

.project-sidebar-stat:last-child {
  border-bottom: none;
}

.project-sidebar-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-sidebar-stat-text {
  display: flex;
  flex-direction: column;
}

.project-sidebar-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texto-claro);
}

.project-sidebar-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto-escuro);
}

@media (max-width: 1024px) {
  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .project-sidebar-card {
    position: static;
  }
}

/* ============================================
   COMPONENTS SECTION
   ============================================ */
.components-section {
  background: var(--bg-white);
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.component-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.component-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3182CE, #63B3ED);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.component-card:hover::before {
  transform: scaleX(1);
}

.component-card:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.12);
  transform: translateY(-8px);
}

.component-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.component-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-4);
  color: var(--ibepes-azul-escuro);
}

.component-card p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--texto-medio);
  margin-bottom: var(--space-6);
}

.component-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #3182CE;
  transition: all var(--transition-fast);
}

.component-link:hover {
  color: #2C5282;
  gap: var(--space-3);
}

@media (max-width: 768px) {
  .components-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROJECT CTA
   ============================================ */
.project-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.project-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.project-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.project-cta .btn {
  position: relative;
  z-index: 1;
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From projeto-legitimo.html (33 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   TAG BADGE
   ============================================ */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.tag-badge-purple {
  background: rgba(124, 58, 237, 0.15);
  color: #A78BFA;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

/* ============================================
   PROJECT INTRO
   ============================================ */
.project-intro {
  background: linear-gradient(180deg, var(--bg-white) 0%, #F5F3FF 100%);
}

.project-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: start;
}

.project-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.project-intro-content h2 {
  margin-bottom: var(--space-6);
}

.project-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--texto-medio);
}

.project-meta-item svg {
  color: var(--ibepes-azul-medio);
  flex-shrink: 0;
}

.project-meta-item strong {
  color: var(--texto-escuro);
}

/* Project sidebar card */
.project-sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: sticky;
  top: 120px;
}

.project-sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-6);
  color: var(--ibepes-azul-escuro);
}

.project-sidebar-stat {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-light);
}

.project-sidebar-stat:last-child {
  border-bottom: none;
}

.project-sidebar-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-sidebar-stat-text {
  display: flex;
  flex-direction: column;
}

.project-sidebar-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texto-claro);
}

.project-sidebar-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto-escuro);
}

@media (max-width: 1024px) {
  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .project-sidebar-card {
    position: static;
  }
}

/* ============================================
   RESEARCH AREAS
   ============================================ */
.research-section {
  background: var(--bg-white);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.research-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--ibepes-azul-medio), var(--ibepes-dourado));
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.research-card:hover::before {
  transform: scaleX(1);
}

.research-card:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(30, 77, 140, 0.1);
  transform: translateY(-8px);
}

.research-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(30, 77, 140, 0.08), rgba(49, 130, 206, 0.15));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
}

.research-card h4 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-3);
  color: var(--ibepes-azul-escuro);
}

.research-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--texto-medio);
}

@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONNECTIONS SECTION
   ============================================ */
.connections-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #F5F3FF 100%);
}

.connections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin: 0 auto;
}

.connection-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-smooth);
}

.connection-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-6px);
}

.connection-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-card h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  color: var(--ibepes-azul-escuro);
}

.connection-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--texto-medio);
  margin-bottom: var(--space-4);
}

.connection-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .connections-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ============================================
   PROJECT CTA
   ============================================ */
.project-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From projeto-polo-ead.html (26 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: #319795;
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-azul-medio);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   TAG BADGE
   ============================================ */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.tag-badge-teal {
  background: rgba(49, 151, 149, 0.15);
  color: #319795;
  border: 1px solid rgba(49, 151, 149, 0.3);
}

/* ============================================
   PROJECT INFO SECTION
   ============================================ */
.project-intro {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EFF6FF 100%);
}

.project-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: start;
}

.project-intro-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.project-intro-content h2 {
  margin-bottom: var(--space-6);
}

.project-intro-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 120px;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.project-meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-meta-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(15, 42, 74, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--texto-escuro);
  line-height: 1.6;
}

.project-meta-value a {
  color: var(--ibepes-azul-medio);
  transition: color var(--transition-fast);
}

.project-meta-value a:hover {
  color: var(--ibepes-dourado);
}

/* ============================================
   FEATURES / IMPACT SECTION
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature-card {
  padding: var(--space-8);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  background: linear-gradient(135deg, #319795, #2C7A7B);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--texto-escuro);
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--texto-medio);
}

/* ============================================
   HIGHLIGHT SECTION (Excellence Badge)
   ============================================ */
.highlight-section {
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
}

.highlight-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.highlight-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.highlight-badge {
  display: inline-block;
  background: var(--ibepes-dourado);
  color: var(--ibepes-azul-escuro);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.highlight-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: var(--space-5);
}

.highlight-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-proyecto {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  color: var(--texto-branco);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-proyecto::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.cta-proyecto h2 {
  margin-bottom: var(--space-5);
  color: var(--texto-branco);
}

.cta-proyecto p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* Responsive */
@media (max-width: 1024px) {
  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .project-meta {
    position: static;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .highlight-content h2 {
    font-size: 1.875rem;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  33% {
    transform: translateY(-30px) translateX(20px);
  }

  66% {
    transform: translateY(20px) translateX(-15px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From projetos.html (38 unique selectors) */
/* ============================================
   PAGE HERO - INNER PAGES
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}



.page-hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 800px;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  max-width: 640px;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   FEATURED PROJECT - FUTURO.LAB.SOCIAL
   ============================================ */
.featured-project {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 42, 74, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: all var(--transition-smooth);
}

.featured-project:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(15, 42, 74, 0.18);
}

.featured-project-content {
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-project-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, #C9A04A, #B8943F);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
  width: fit-content;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(5, 150, 105, 0); }
}

.featured-project-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-5);
  color: var(--ibepes-azul-escuro);
  line-height: 1.1;
}

.featured-project-content h2 span {
  background: linear-gradient(135deg, var(--ibepes-dourado), #D4A855);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-project-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.featured-project-components {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.featured-project-component {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(30, 77, 140, 0.06);
  border: 1px solid rgba(30, 77, 140, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ibepes-dourado);
}

.featured-project-component svg {
  width: 14px;
  height: 14px;
}

.featured-project-partner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}

.featured-project-partner-badge {
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.featured-project-partner-badge svg {
  width: 20px;
  height: 20px;
  color: var(--ibepes-azul-escuro);
}

.featured-project-partner-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-medio);
}

.featured-project-partner-text strong {
  color: var(--ibepes-azul-escuro);
}

.featured-project-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.featured-project-visual {
  background: linear-gradient(135deg, #C9A04A 0%, #B8943F 40%, #0F2A4A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
}

.featured-project-visual::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  opacity: 0.06;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.featured-project-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: 20%;
  right: -50px;
  animation: float 12s ease-in-out infinite reverse;
}

.featured-project-icon-wrapper {
  position: relative;
  margin-bottom: var(--space-10);
}

.featured-project-icon-wrapper svg {
  color: rgba(255, 255, 255, 0.5);
  filter: drop-shadow(0 0 40px rgba(212, 168, 75, 0.3));
}

.featured-project-visual-label {
  position: relative;
  text-align: center;
}

.featured-project-visual-label h3 {
  font-size: 2rem;
  color: var(--texto-branco);
  margin-bottom: var(--space-2);
}

.featured-project-visual-label p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
}

.featured-project-visual-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  position: relative;
}

.featured-visual-stat {
  text-align: center;
}

.featured-visual-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ibepes-dourado);
  line-height: 1;
}

.featured-visual-stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-top: var(--space-1);
  display: block;
}

@media (max-width: 1024px) {
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-project-visual {
    min-height: 300px;
  }
}

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced project card for this page */
.project-card-enhanced {
  position: relative;
  display: flex;
  flex-direction: column;
}

.project-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--card-gradient, linear-gradient(135deg, var(--ibepes-azul-claro), var(--ibepes-azul-medio)));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card-enhanced:hover::before {
  opacity: 1;
}

.project-card-enhanced .project-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: transform var(--transition-normal);
}

.project-card-enhanced:hover .project-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.project-card-links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.project-card-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--ibepes-azul-escuro);
  transition: all var(--transition-fast);
}

.project-card-links a:hover {
  color: var(--ibepes-dourado);
}

.project-card-links a svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.project-card-links a:hover svg {
  transform: translateX(4px);
}

.project-card-links .link-external {
  color: var(--ibepes-azul-claro);
}

.project-card-links .link-external:hover {
  color: var(--ibepes-dourado);
}

/* ============================================
   IMPACT SECTION
   ============================================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.impact-item {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.impact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.impact-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: var(--gradient-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.impact-item:hover .impact-icon {
  transform: scale(1.1) rotate(-5deg);
}

.impact-icon svg {
  color: var(--ibepes-azul-escuro);
}

.impact-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--texto-branco);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

.impact-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

/* ============================================
   CTA SECTION OVERRIDE
   ============================================ */
.projetos-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.projetos-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.projetos-cta::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--ibepes-dourado);
  opacity: 0.05;
  border-radius: 50%;
  bottom: -100px;
  right: -50px;
  animation: float 18s ease-in-out infinite reverse;
}

.projetos-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-5);
  position: relative;
  font-size: clamp(2rem, 4vw, 3rem);
}

.projetos-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1875rem;
  margin-bottom: var(--space-10);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.projetos-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   DECORATIVE FLOATING ELEMENTS
   ============================================ */
.floating-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.floating-decoration .deco-circle {
  border-radius: 50%;
  position: absolute;
  opacity: 0.04;
  animation: float 20s ease-in-out infinite;
}

/* Overline with icon for sections */
.overline svg {
  width: 14px;
  height: 14px;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From recadm.html (35 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   SOBRE A REVISTA - Two Column
   ============================================ */
.revista-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.revista-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.revista-content h2 {
  margin-bottom: var(--space-6);
}

.revista-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.revista-content p:last-child {
  margin-bottom: 0;
}

.revista-visual {
  position: relative;
}

.revista-card-visual {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.revista-card-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--ibepes-dourado);
  opacity: 0.06;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.revista-visual-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  margin-bottom: var(--space-6);
  position: relative;
  backdrop-filter: blur(10px);
}

.revista-visual-name {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--texto-branco);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  background: linear-gradient(135deg, var(--ibepes-dourado), var(--ibepes-dourado-light), var(--ibepes-dourado));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.revista-visual-fullname {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-2);
  position: relative;
  text-align: center;
  max-width: 300px;
  line-height: 1.5;
}

.revista-visual-badges {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-10);
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

.revista-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.revista-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .revista-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   KEY FACTS - 4 Cards Grid
   ============================================ */
.keyfacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.keyfact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
}

.keyfact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
  transform-origin: left;
}

.keyfact-card:hover::before {
  transform: scaleX(1);
}

.keyfact-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

.keyfact-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.keyfact-card h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-1);
  color: var(--ibepes-azul-escuro);
}

.keyfact-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ibepes-azul-medio);
  line-height: 1;
}

.keyfact-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--texto-claro);
}

@media (max-width: 1024px) {
  .keyfacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .keyfacts-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMO SUBMETER - Process Section
   ============================================ */
.submeter-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.5);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
  transition: all var(--transition-smooth);
}

.submeter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(15, 42, 74, 0.12);
}

.submeter-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

.submeter-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  color: var(--ibepes-azul-escuro);
}

.submeter-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.submeter-steps {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.submeter-step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.submeter-step-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.08), rgba(30, 77, 140, 0.12));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ibepes-azul-medio);
  flex-shrink: 0;
}

.submeter-step-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-escuro);
}

.submeter-badges {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

.submeter-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(30, 77, 140, 0.08);
  color: var(--ibepes-dourado);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
}

.submeter-badge svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .submeter-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-8);
  }

  .submeter-icon {
    margin: 0 auto;
  }

  .submeter-steps {
    justify-content: center;
  }

  .submeter-badges {
    justify-content: center;
  }
}

/* ============================================
   ESCOPO - Topic Cards in Dark Section
   ============================================ */
.escopo-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.escopo-content>p {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: var(--space-10);
}

.escopo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.escopo-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.escopo-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-5px);
}

.escopo-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: var(--gradient-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-escuro);
}

.escopo-card h4 {
  font-size: 1.125rem;
  color: var(--texto-branco);
  margin-bottom: var(--space-3);
}

.escopo-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .escopo-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.recadm-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.recadm-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.recadm-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.recadm-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.recadm-cta .btn {
  position: relative;
  z-index: 1;
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* From sobre.html (35 unique selectors) */
/* ============================================
   PAGE HERO - Subpages
   ============================================ */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.page-hero-bg .hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.page-hero-bg .hero-bg-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--ibepes-azul-medio);
  top: -200px;
  right: -100px;
}

.page-hero-bg .hero-bg-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--ibepes-dourado);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.page-hero-bg .hero-bg-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  background: var(--ibepes-dourado);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.1;
}

.page-hero-content {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--texto-branco);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ibepes-dourado);
}

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ibepes-dourado);
}

/* ============================================
   NOSSA HISTORIA - Two Column
   ============================================ */
.história-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.história-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ibepes-dourado);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.história-content h2 {
  margin-bottom: var(--space-6);
}

.história-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.história-content p:last-child {
  margin-bottom: 0;
}

.história-visual {
  position: relative;
}

.história-card-visual {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.história-card-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--ibepes-dourado);
  opacity: 0.06;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.história-visual-number {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: var(--texto-branco);
  line-height: 1;
  letter-spacing: -0.04em;
  position: relative;
  background: linear-gradient(135deg, var(--ibepes-dourado), var(--ibepes-dourado-light), var(--ibepes-dourado));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.história-visual-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: var(--space-2);
  position: relative;
}

.história-visual-badges {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-10);
  position: relative;
}

.história-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.história-visual-badge svg {
  color: var(--ibepes-dourado);
}

@media (max-width: 1024px) {
  .história-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ============================================
   IDENTIDADE - Tabs Enhanced
   ============================================ */
.identidade-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, rgba(15, 42, 74, 0.08), rgba(30, 77, 140, 0.12));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-medio);
  transition: all var(--transition-normal);
}

.tab-content.active .identidade-icon {
  background: var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  animation: fadeIn 0.5s ease;
}

/* ============================================
   NATUREZA JURIDICA - Glassmorphism Card
   ============================================ */
.oscip-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #EFF6FF 100%);
}

.oscip-section .oscip-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.5);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
  transition: all var(--transition-smooth);
}

.oscip-section .oscip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(15, 42, 74, 0.12);
}

.oscip-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-dourado);
  flex-shrink: 0;
}

.oscip-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  color: var(--ibepes-azul-escuro);
}

.oscip-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--texto-medio);
}

.oscip-badges {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

.oscip-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(30, 77, 140, 0.08);
  color: var(--ibepes-dourado);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
}

.oscip-badge svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .oscip-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-8);
  }

  .oscip-icon {
    margin: 0 auto;
  }

  .oscip-badges {
    justify-content: center;
  }
}

/* ============================================
   DIRETORIA - Gradient Section
   ============================================ */
.diretoria-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.diretoria-content>p {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: var(--space-10);
}

.diretoria-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.diretoria-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.diretoria-stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-5px);
}

.diretoria-stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: var(--gradient-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ibepes-azul-escuro);
}

.diretoria-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--texto-branco);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.diretoria-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.diretoria-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .diretoria-stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PARCEIROS - Logo Grid
   ============================================ */
.parceiros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.parceiro-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.parceiro-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(15, 42, 74, 0.1);
  transform: translateY(-8px);
}

.parceiro-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-branco);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.parceiro-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.parceiro-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--texto-claro);
}

.parceiro-flag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ibepes-azul-medio);
  background: rgba(30, 77, 140, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

@media (max-width: 1024px) {
  .parceiros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .parceiros-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SOBRE CTA
   ============================================ */
.sobre-cta {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sobre-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: var(--ibepes-dourado);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 15s ease-in-out infinite;
}

.sobre-cta h2 {
  color: var(--texto-branco);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.sobre-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.sobre-cta .btn {
  position: relative;
  z-index: 1;
}

/* Header starts scrolled on inner pages */
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner-page .nav-link {
  color: var(--texto-escuro);
}

.header-inner-page .logo-text {
  color: var(--ibepes-azul-escuro);
}

.header-inner-page .menu-toggle span {
  background: var(--ibepes-azul-escuro);
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ============================================
   UTILITIES
   ============================================ */

.site-main--full-width {
  width: 100%;
  overflow-x: hidden;
}

.site-main--full-width > section {
  position: relative;
}

.mt-2 { margin-top: var(--space-2); }

.footer-brand-name {
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.oscip-badge-green { background: rgba(0, 151, 57, 0.15); color: #34D399; }
.oscip-badge-blue  { background: rgba(49, 130, 206, 0.15); color: #63B3ED; }
.oscip-badge-gold  { background: rgba(212, 168, 75, 0.15); color: var(--ibepes-dourado); }

.nucleo-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.nucleo-status-ativo { background: rgba(212, 168, 75, 0.12); color: var(--ibepes-dourado); }
.nucleo-status-novo { background: rgba(59, 130, 246, 0.12); color: #3B82F6; }
.nucleo-cnpq-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(212, 168, 75, 0.12); color: var(--ibepes-dourado); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-decoration: none; }
.nucleo-cnpq-badge:hover { background: rgba(212, 168, 75, 0.25); }

.eventos-cta-services { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.eventos-cta-services li { color: rgba(255,255,255,0.8); font-size: 0.875rem; position: relative; padding-left: 1.2em; }
.eventos-cta-services li::before { content: '\2713'; position: absolute; left: 0; color: var(--ibepes-dourado); font-weight: 700; }

.project-card-icon img { height: 40px; width: auto; object-fit: contain; background: white; border-radius: 8px; padding: 5px; }
.project-card-icon[data-color="green"]  { background: linear-gradient(135deg, #D4A855, #B8943F); }
.project-card-icon[data-color="blue"]   { background: linear-gradient(135deg, #3182CE, #2B6CB0); }
.project-card-icon[data-color="purple"] { background: linear-gradient(135deg, #805AD5, #6B46C1); }
.project-card-icon[data-color="gold"]   { background: linear-gradient(135deg, #D4A855, #B8943F); }
.project-card-icon[data-color="orange"] { background: linear-gradient(135deg, #DD6B20, #C05621); }
.project-card-icon[data-color="teal"]   { background: linear-gradient(135deg, #319795, #2C7A7B); }
.project-card-icon[data-color="red"]    { background: linear-gradient(135deg, #E53E3E, #C53030); }
.project-card-icon[data-color="navy"]   { background: linear-gradient(135deg, #1E4D8C, #153A6B); }
.project-card-icon[data-color="liorg"]  { background: linear-gradient(135deg, #D4A84B, #B8943F); }
.project-card-icon[data-color="gray"]   { background: linear-gradient(135deg, #718096, #4A5568); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.depoimento-avatar { display: none; }


/* ============================================
   CONTACT FORM 7 - IBEPES STYLED
   ============================================ */
.wpcf7 .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.wpcf7 .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.wpcf7 label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-escuro);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--texto-escuro);
  background: var(--bg-white);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
  box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--ibepes-azul-medio);
  box-shadow: 0 0 0 3px rgba(30, 77, 140, 0.1);
}

.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7 select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-12) var(--space-4) var(--space-8);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230F2A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E") no-repeat calc(50% + 5.5em) center, var(--gradient-gold);
  color: var(--ibepes-azul-escuro);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  width: 100%;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.wpcf7-response-output {
  border-radius: var(--radius-md) !important;
  padding: var(--space-4) !important;
  font-size: 0.9375rem;
  margin-top: var(--space-4) !important;
}

.wpcf7-not-valid-tip {
  font-size: 0.8125rem;
  color: #DC2626;
  margin-top: var(--space-1);
}

.wpcf7 .wpcf7-spinner {
  display: none;
}

@media (max-width: 768px) {
  .wpcf7 .form-row {
    grid-template-columns: 1fr;
  }
}

.wpcf7 input[type="submit"] {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230F2A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E") no-repeat calc(50% + 5.5em) center, var(--gradient-gold);
  padding-right: var(--space-12);
}

