/* ==========================================================================
   Social Impact Clarity — Instituto ITA
   Design System & Styling Re-engineered for Premium Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette (Refined from DESIGN.md) */
  --surface: #f8f9ff;
  --surface-dim: #cbdbf5;
  --surface-bright: #f8f9ff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #eff4ff;
  --surface-container: #e5eeff;
  --surface-container-high: #dce9ff;
  --surface-container-highest: #d3e4fe;
  
  --on-surface: #0b1c30;
  --on-surface-variant: #434651;
  --inverse-surface: #213145;
  --inverse-on-surface: #eaf1ff;
  --outline: #747782;
  --outline-variant: #c4c6d2;

  /* Primary (Authority Blue) */
  --primary: #1e458b;
  --on-primary: #ffffff;
  --primary-container: #3a5da5;
  --on-primary-container: #ccd9ff;
  --inverse-primary: #afc6ff;
  --primary-fixed: #d9e2ff;
  --primary-fixed-dim: #afc6ff;
  --on-primary-fixed: #001944;
  --on-primary-fixed-variant: #1d448b;

  /* Secondary (Impact Yellow) */
  --secondary: #7c5800;
  --on-secondary: #ffffff;
  --secondary-container: #ffbb16;
  --on-secondary-container: #6c4d00;
  --secondary-fixed: #ffdea6;
  --secondary-fixed-dim: #ffbb16;

  /* Tertiary / Action Indigo */
  --tertiary: #4300db;
  --tertiary-container: #5c34f6;
  --warning-amber: #FDB913;
  --action-indigo: #5A31F4;

  /* Error */
  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #93000a;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Border Radii */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows (Tonal Layering & Soft Occlusion) */
  --shadow-soft: 0px 10px 30px -5px rgba(58, 93, 165, 0.06);
  --shadow-hover: 0px 20px 40px -8px rgba(58, 93, 165, 0.12);
  --shadow-glow: 0px 0px 30px 0px rgba(90, 49, 244, 0.15);

  /* Layout */
  --max-width: 1560px;
  --gutter: 40px;
  --margin-desktop: 40px;
  --margin-mobile: 16px;
  --section-gap: 80px;
}

/* ==========================================================================
   Core Resets & Baseline Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-surface-variant);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--on-surface);
  line-height: 1.25;
  font-weight: 700;
}

a { 
  color: var(--primary); 
  text-decoration: none; 
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}

a:hover { 
  color: var(--primary-container); 
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

/* ==========================================================================
   Header & Navigation (Glassmorphism & Scroll Effects)
   ========================================================================== */

.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(196, 198, 210, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -10px rgba(58, 93, 165, 0.08);
  border-bottom: 1px solid rgba(196, 198, 210, 0.15);
}

/* Home Page Transparent Header Styles */
body.home .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.home .site-header .nav a {
  color: rgba(255, 255, 255, 0.85);
}

body.home .site-header .nav a::after {
  background: #ffffff;
}

body.home .site-header .nav a:hover {
  color: #ffffff;
}

body.home .site-header .nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body.home .site-header .logo img {
  filter: brightness(0) invert(1);
}

/* Home Scrolled Header (Restores light glassmorphic styling) */
body.home .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(196, 198, 210, 0.15);
}

body.home .site-header.scrolled .nav a {
  color: var(--on-surface-variant);
}

body.home .site-header.scrolled .nav a::after {
  background: var(--primary);
}

body.home .site-header.scrolled .nav a:hover {
  color: var(--primary);
}

body.home .site-header.scrolled .nav a.active {
  background: rgba(30, 69, 139, 0.06);
  color: var(--primary);
}

body.home .site-header.scrolled .logo img {
  filter: none;
}

/* Compensate main content position due to fixed header */
.main-content {
  padding-top: 96px;
}

body.home .main-content {
  padding-top: 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .header-inner {
  height: 76px;
}

.logo { 
  display: flex; 
  align-items: center; 
}

.logo img { 
  height: 68px; 
  width: auto; 
  transition: height 0.4s ease;
}

.site-header.scrolled .logo img {
  height: 52px;
}

.nav { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}

.nav a {
  font-family: var(--font-body);
  color: var(--on-surface-variant);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover { 
  color: var(--primary);
}

.nav a:hover::after {
  width: 30px;
}

.nav a.active { 
  color: var(--primary); 
  background: rgba(30, 69, 139, 0.06); 
  font-weight: 600; 
}

.nav a.active::after {
  width: 30px;
}

/* ==========================================================================
   Buttons (Premium Hover Effects & States)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 4px 14px 0 rgba(30, 69, 139, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-container), var(--primary));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn:hover {
  color: var(--on-primary);
  box-shadow: 0 6px 20px 0 rgba(30, 69, 139, 0.35);
  transform: translateY(-2px);
}

.btn:hover::before {
  opacity: 1;
}

.btn-secondary { 
  background: var(--warning-amber); 
  color: var(--on-surface); 
  box-shadow: 0 4px 14px 0 rgba(253, 185, 19, 0.25);
}

.btn-secondary::before {
  background: linear-gradient(135deg, #ffc83b, var(--warning-amber));
}

.btn-secondary:hover {
  color: var(--on-surface);
  box-shadow: 0 6px 20px 0 rgba(253, 185, 19, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.btn-ghost:hover { 
  background: var(--primary); 
  color: var(--on-primary); 
  box-shadow: 0 4px 14px 0 rgba(30, 69, 139, 0.2);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  color: var(--on-surface-variant);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 32px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
  transition: all 0.3s ease;
}

.btn-back:hover { 
  color: var(--primary); 
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
  transform: translateX(-3px);
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--surface-container-low);
  color: var(--on-surface-variant);
  box-shadow: none;
}

.btn-sm:hover { 
  background: var(--surface-container); 
  color: var(--on-surface); 
  transform: translateY(-1px);
}

.btn-danger { 
  background: var(--error-container); 
  color: var(--error); 
  box-shadow: none;
}
.btn-danger:hover { 
  background: #fecaca; 
  color: var(--on-error-container); 
  box-shadow: 0 4px 10px 0 rgba(186, 26, 26, 0.15);
}

.btn-doc { 
  background: rgba(46, 125, 50, 0.08); 
  color: #2e7d32; 
  border: 1px solid rgba(46, 125, 50, 0.2);
  box-shadow: none;
}
.btn-doc:hover { 
  background: #2e7d32; 
  color: #fff;
  box-shadow: 0 4px 10px 0 rgba(46, 125, 50, 0.2);
}

/* ==========================================================================
   Page Wrappers & Headings
   ========================================================================== */

.page { 
  padding: var(--section-gap) 0; 
}

.page h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 24px;
}

.page h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin: var(--section-gap) 0 32px;
}

.page h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 12px;
}

.section-title { 
  text-align: center; 
  margin-bottom: 64px; 
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 16px;
}

.section-title p {
  color: var(--on-surface-variant);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   Animation Classes (IntersectionObserver Triggered)
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Hero Section Re-engineered (Split Layout with Glassmorphic Card)
   ========================================================================== */

.hero-full {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1c30 0%, #1e458b 50%, #3a5da5 100%);
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  mix-blend-mode: overlay;
  filter: saturate(1.2) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(90, 49, 244, 0.2) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(253, 185, 19, 0.1) 0%, transparent 60%);
}

.hero-full-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero-logo {
  margin-bottom: 24px;
}

.hero-logo-img {
  height: 165px;
  width: auto;
  object-fit: contain;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warning-amber);
  border: 1px solid rgba(253,185,18,0.4);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  margin-bottom: 24px;
  background: rgba(253,185,18,0.1);
  box-shadow: 0 0 15px rgba(253, 185, 18, 0.1);
}

.hero-full-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--on-primary);
  margin-bottom: 24px;
}

.text-highlight {
  color: var(--warning-amber);
  position: relative;
}

.hero-full-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn { 
  font-size: 1rem; 
  padding: 16px 36px; 
}
.hero-actions .btn-ghost { 
  border-color: rgba(255,255,255,0.4); 
  color: var(--on-primary); 
}
.hero-actions .btn-ghost:hover { 
  border-color: var(--on-primary); 
  background: rgba(255,255,255,0.1); 
}

.hero-graphic {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 100%;
  max-width: 380px;
  position: absolute;
  opacity: 0;
  transform: scale(0.8) translate3d(50px, 0, -100px);
  pointer-events: none;
  z-index: 1;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Estado Ativo (Frente) */
.hero-glass-card.active {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 3;
  box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.45);
}

/* Estado Próximo (Escondido atrás com leve inclinação e escala menor) */
.hero-glass-card.next {
  opacity: 0.5;
  transform: scale(0.85) translate3d(40px, 20px, -50px) rotate(4deg);
  pointer-events: none;
  z-index: 2;
}

/* Indicador de navegação discreto */
.hero-slider-dots {
  position: absolute;
  bottom: -25px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.hero-slider-dot.active {
  background: var(--warning-amber);
  width: 24px;
  border-radius: 4px;
}



.hero-glass-card h4 {
  color: var(--warning-amber);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.hero-glass-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.hero-glass-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-glass-card .author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-glass-card .author h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.hero-glass-card .author span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 60px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Statistics Counter Section
   ========================================================================== */

.stats-section {
  background: transparent;
  padding: 24px 0;
  margin-top: -65px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stat-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(90, 49, 244, 0.06), rgba(253, 185, 19, 0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.stat-card:hover .stat-card-glow {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(30, 69, 139, 0.25);
  box-shadow: 0 16px 36px rgba(30, 69, 139, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(30, 69, 139, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin: 0;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  transform: rotate(-8deg) scale(1.05);
}

.stat-icon {
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1;
  display: inline-block;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  filter: brightness(0) invert(1);
}

/* Container flex vertical para número e label lado a lado do ícone */
.stat-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.stat-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin: 0 0 2px 0;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--on-surface-variant);
  font-weight: 600;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  margin: 0;
}

.stat-card:hover .stat-label {
  color: var(--on-surface);
}

/* ==========================================================================
   About Section (Quem Somos Collage)
   ========================================================================== */

.about-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  margin: 20px 0;
  width: 100%;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.about-content p {
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--on-surface);
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(30, 69, 139, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  font-weight: bold;
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(135deg, rgba(30, 69, 139, 0.05), rgba(253, 185, 19, 0.1));
  box-shadow: 0 30px 60px -15px rgba(30, 69, 139, 0.15), 0 0 50px rgba(90, 49, 244, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 40px 80px -20px rgba(30, 69, 139, 0.25), 0 0 60px rgba(253, 185, 19, 0.1);
}

.about-image-wrapper:hover img {
  transform: scale(1.01);
}

.about-image-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: 0 20px 40px -10px rgba(58, 93, 165, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
  z-index: 10;
  animation: floatCardSlow 8s ease-in-out infinite;
}

.about-image-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.about-image-card span {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  font-weight: 500;
}

@keyframes floatCardSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* ==========================================================================
   Areas of Actuation Cards
   ========================================================================== */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.area-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(58, 93, 165, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.area-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  transform: translateY(-6px);
}

.area-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.area-card:hover .area-icon {
  background: var(--primary);
  transform: rotate(5deg) scale(1.05);
}

.area-card:hover .area-icon img {
  filter: brightness(0) invert(1);
}

.area-icon img {
  width: 44px;
  height: auto;
  transition: all 0.3s ease;
}

.area-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.area-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   Belief / Values Section (Glow Cards Layout)
   ========================================================================== */

.belief-section {
  position: relative;
  background: linear-gradient(135deg, #0b1c30 0%, #1e458b 100%);
  padding: 100px 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.belief-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.belief-content h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--on-primary);
  margin-bottom: 24px;
}

.belief-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 48px;
}

.belief-values {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.value-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 36px;
  border-radius: var(--radius-lg);
  min-width: 160px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--warning-amber);
  transform: translateY(-4px);
}

.value-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.value-card h4 {
  font-family: var(--font-heading);
  color: var(--on-primary);
  font-size: 1rem;
  font-weight: 600;
}

.belief-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.5) 20px, rgba(255,255,255,0.5) 21px);
}

/* ==========================================================================
   Categories (Projects We Believe In)
   ========================================================================== */

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.categoria-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--surface-container-lowest);
  border: 1px solid rgba(58, 93, 165, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.categoria-item:hover { 
  box-shadow: var(--shadow-hover); 
  border-color: var(--primary); 
  transform: translateY(-3px); 
}

.categoria-item img { 
  height: 52px; 
  width: auto; 
  flex-shrink: 0;
}

.categoria-item h4 { 
  font-family: var(--font-heading); 
  font-size: 1.05rem; 
  font-weight: 700; 
  color: var(--on-surface); 
}

/* ==========================================================================
   Projects / Events Grid & Cards (Modern Elevated Layout)
   ========================================================================== */

.projetos-grid, .eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
  margin: 32px 0;
}

.projeto-card, .evento-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(58, 93, 165, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.projeto-card:hover, .evento-card:hover {
  box-shadow: 0 20px 40px rgba(30, 69, 139, 0.16);
  border-color: var(--primary);
  transform: translateY(-6px) scale(1.08); /* Aumenta a largura e a altura do card */
  z-index: 10;
}

.projeto-thumb, .evento-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.projeto-card:hover .projeto-thumb, .evento-card:hover .evento-thumb {
  transform: scale(1.04);
}

.projeto-content, .evento-content { 
  padding: 32px; 
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.projeto-content h3, .evento-content h3 { 
  font-size: 1.3rem; 
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--on-surface);
}

.projeto-content p, .evento-content p { 
  font-size: 0.95rem; 
  color: var(--on-surface-variant);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 6.4em; /* 4 linhas * 1.6 line-height */
}

.projeto-card:hover .projeto-content p, .evento-card:hover .evento-content p {
  display: -webkit-box;
  overflow: hidden;
  max-height: 12.8em; /* 8 linhas * 1.6 line-height */
  -webkit-line-clamp: 8;
}

.projeto-meta {
  font-size: 0.88rem;
  color: var(--on-surface-variant);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--outline-variant);
  padding-bottom: 16px;
}

.projeto-meta strong {
  color: var(--on-surface);
}

.projeto-status {
  display: inline-block;
  align-self: flex-start;
  background: rgba(30, 69, 139, 0.08);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* Material Design Progress Indicator (DESIGN.md specification) */
.progress-container {
  margin-top: auto;
  padding-top: 16px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  margin-bottom: 6px;
}

.progress-bar-thick {
  width: 100%;
  height: 8px;
  background: var(--surface-container-high);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--secondary-container); /* Impact Yellow specified by DESIGN.md */
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

/* ==========================================================================
   Video Highlights Section
   ========================================================================== */

.video-section {
  padding: var(--section-gap) 0;
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  margin: var(--section-gap) 0;
}

.video-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.video-preview-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 16 / 9;
}

.video-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-preview-card:hover img {
  transform: scale(1.03);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--warning-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(253, 185, 18, 0.4);
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-play-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--warning-amber);
  opacity: 0.5;
  animation: pulsePlay 2s infinite;
}

.video-preview-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
  color: var(--primary);
}

@keyframes pulsePlay {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.team-card {
  text-align: center;
  background: var(--surface-container-lowest);
  border: 1px solid rgba(58, 93, 165, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover { 
  box-shadow: var(--shadow-hover); 
  transform: translateY(-6px); 
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--on-surface);
  margin: 20px 0 6px;
}

.team-card span {
  display: block;
  font-size: 0.88rem;
  color: var(--on-surface-variant);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-desc-short {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
  padding: 0 16px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em; /* 3 linhas * 1.5 */
  margin-bottom: 16px;
}

.btn-team-more {
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.btn-team-more:hover {
  background: rgba(30, 69, 139, 0.06);
  color: var(--primary-container);
}

/* ==========================================================================
   Partners & Sponsors Carousel (Marquee Dynamic Slider)
   ========================================================================== */

.parceiros-slider-section {
  padding: 40px 0;
  background: var(--surface-container-low);
  overflow: hidden;
  border-top: 1px solid rgba(30, 69, 139, 0.05);
  border-bottom: 1px solid rgba(30, 69, 139, 0.05);
}

.parceiros-slider-section .slider-title {
  text-align: center;
  margin-bottom: 24px;
}

.parceiros-slider-section .slider-title span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-container);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.parceiros-slider-section .slider-title h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--on-surface);
  margin: 0;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRun 25s linear infinite;
  gap: 30px;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-item {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(30, 69, 139, 0.06);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 240px;
  height: 70px;
}

.marquee-item img {
  height: 38px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.marquee-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.marquee-info h5 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--on-surface);
  margin: 0 0 2px 0;
  transition: color 0.3s ease;
}

.marquee-info span {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  font-weight: 500;
  white-space: nowrap;
}

/* Hover premium no card individual */
.marquee-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(30, 69, 139, 0.25);
  box-shadow: var(--shadow-hover);
}

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

.marquee-item:hover .marquee-info h5 {
  color: var(--primary);
}

@keyframes marqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Testimonials (Social Voices layout)
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.testimonial-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(58, 93, 165, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 24px;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--surface-container-high);
  font-weight: 900;
  z-index: 1;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--warning-amber);
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
  position: relative;
  z-index: 2;
}

.testimonial-card p { 
  font-style: italic; 
  font-size: 0.95rem; 
  line-height: 1.7; 
  color: var(--on-surface-variant);
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--outline-variant);
  padding-top: 20px;
}

.testimonial-author img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-fixed-dim);
  margin: 0 !important;
}

.testimonial-author div { 
  text-align: left; 
}

.testimonial-author h4 { 
  margin: 0; 
  font-size: 0.95rem; 
  font-weight: 700;
  color: var(--on-surface);
}

.testimonial-author span { 
  display: block; 
  font-size: 0.8rem; 
  color: var(--on-surface-variant); 
  font-weight: 500;
}

/* ==========================================================================
   Portal de Transparência - Specific Elements
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(58, 93, 165, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-decoration: none;
  color: var(--on-surface-variant);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.card h3 { 
  color: var(--on-surface); 
  margin-bottom: 12px; 
  font-size: 1.3rem;
  font-weight: 700;
}

.card p { 
  color: var(--on-surface-variant); 
  font-size: 0.92rem; 
  line-height: 1.6; 
}

.card-count { 
  font-size: 2.5rem !important; 
  font-weight: 800; 
  color: var(--primary) !important; 
  margin-bottom: 8px;
}

.galeria { 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap; 
  margin: 16px 0; 
}

.galeria-thumb { 
  width: 80px; 
  height: 80px; 
  object-fit: cover; 
  border-radius: var(--radius); 
  border: 1px solid var(--outline-variant); 
  transition: all 0.3s ease; 
}

.galeria-thumb:hover { 
  transform: translateY(-2px) scale(1.05); 
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.video-embed { 
  width: 100%; 
  max-width: 400px; 
  height: 225px; 
  border: none; 
  border-radius: var(--radius); 
  margin-bottom: 8px; 
}

.galeria-full { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
  gap: 16px; 
  margin: 24px 0; 
}

.galeria-full-img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
  border-radius: var(--radius-md); 
  border: 1px solid var(--outline-variant); 
  transition: all 0.3s ease; 
}

.galeria-full-img:hover { 
  transform: scale(1.03); 
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.video-embed-full { 
  width: 100%; 
  max-width: 100%; 
  height: 315px; 
  border: none; 
  border-radius: var(--radius-md); 
  margin: 12px 0; 
}

/* ==========================================================================
   Document Items (Portal da Transparência)
   ========================================================================== */

/* ==========================================================================
   Document Items & Cards Grid (Portal da Transparência)
   ========================================================================== */

.documentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0 40px;
}

.documento-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(30, 69, 139, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 69, 139, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.documento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(30, 69, 139, 0.12);
  border-color: var(--primary);
}

.documento-preview {
  height: 140px;
  background: linear-gradient(135deg, rgba(30, 69, 139, 0.05), rgba(90, 49, 244, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(30, 69, 139, 0.05);
}

.pdf-icon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.documento-card:hover .pdf-icon-placeholder {
  transform: scale(1.1) translateY(-2px);
}

.pdf-badge {
  background: #d32f2f;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.doc-icon-file {
  font-size: 2.8rem;
  line-height: 1;
}

.documento-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.documento-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 4px;
  margin-bottom: 10px;
  color: var(--on-surface);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.doc-desc {
  font-size: 0.88rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.2em;
}

.doc-validade {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.btn-doc-card {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  background: rgba(30, 69, 139, 0.05);
  color: var(--primary);
  border: 1px solid rgba(30, 69, 139, 0.15);
  margin-top: auto;
  transition: all 0.3s ease;
}

.documento-card:hover .btn-doc-card {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 69, 139, 0.2);
}

.doc-tipo {
  display: inline-block;
  align-self: flex-start;
  background: rgba(30, 69, 139, 0.08);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ==========================================================================
   Forms & Authentication Cards
   ========================================================================== */

.login-container { 
  max-width: 440px; 
  margin: 100px auto; 
}

.login-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(58, 93, 165, 0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-hover);
}

.login-card h1 { 
  font-family: var(--font-heading); 
  font-size: 1.6rem; 
  margin-bottom: 32px; 
  text-align: center; 
}

.form-group { 
  margin-bottom: 24px; 
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--on-surface-variant);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--outline-variant);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--on-surface);
  background: var(--surface-bright);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 69, 139, 0.08);
  background: #fff;
}

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

/* ==========================================================================
   Admin Dashboard & Tables
   ========================================================================== */

.admin-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 32px; 
}

.admin-header h1 { 
  margin: 0; 
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-container-lowest);
  border: 1px solid rgba(58, 93, 165, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
}

.admin-table th {
  background: var(--surface-container-low);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 18px 24px;
  text-align: left;
}

.admin-table td { 
  padding: 16px 24px; 
  border-bottom: 1px solid rgba(196, 198, 210, 0.2); 
  font-size: 0.95rem; 
}

.admin-table tr:last-child td { 
  border-bottom: none; 
}

.admin-table tr:hover td { 
  background: var(--surface-container-low); 
}

.acoes { 
  white-space: nowrap; 
}

.acoes a { 
  margin-right: 8px; 
}

.admin-form { 
  max-width: 720px; 
}

.admin-form button[type="submit"] { 
  margin-right: 12px; 
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-error { 
  background: var(--error-container); 
  color: var(--error); 
  font-weight: 600; 
}

.login-form { 
  margin-top: 12px; 
}

.login-form .btn { 
  width: 100%; 
  justify-content: center; 
  margin-top: 12px; 
}

/* ==========================================================================
   Final Call To Action (CTA with Mesh Gradient)
   ========================================================================== */

.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0b1c30 0%, #1e458b 50%, #5A31F4 100%);
  padding: 100px 0;
  text-align: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  margin: var(--section-gap) 0 40px;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(253, 185, 19, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--on-primary);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--on-surface);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 40px;
  margin-top: var(--section-gap);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 24px; 
}

.footer-inner p { 
  font-size: 0.9rem; 
}

.footer-links { 
  display: flex; 
  gap: 32px; 
}

.footer-links a { 
  color: rgba(255, 255, 255, 0.55); 
  text-decoration: none; 
  font-size: 0.9rem; 
  font-weight: 500;
  transition: color 0.3s ease; 
}

.footer-links a:hover { 
  color: var(--on-primary); 
}

/* ==========================================================================
   Responsive Breakpoints & Adjustments
   ========================================================================== */

@media (max-width: 1120px) {
  .hero-full-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-full-content h1 { font-size: 2.85rem; }
  .hero-full-content p { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-graphic { margin-top: 24px; }
  
  .about-section { grid-template-columns: 1fr; gap: 56px; }
  .about-image-wrapper { max-width: 500px; margin: 0 auto; }
  
  .video-showcase { grid-template-columns: 1fr; gap: 40px; }
  
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .categorias-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  
  .btn-veja-mais {
    max-height: 40px;
    padding: 8px 16px;
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  :root { 
    --section-gap: 56px; 
  }
  
  .main-content { padding-top: 68px; }
  .header-inner { height: 68px; }
  .logo img { height: 34px; }
  .nav { gap: 4px; }
  .nav a { padding: 6px 14px; font-size: 0.85rem; }
  
  .page h1 { font-size: 2rem; }
  .page h2 { font-size: 1.6rem; }
  
  .projetos-grid, .eventos-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  
  .documento-item { flex-direction: column; align-items: flex-start; gap: 20px; }
  .documento-item .btn { width: 100%; text-align: center; }
  
  .admin-header { flex-direction: column; gap: 16px; align-items: stretch; }
  .admin-table { font-size: 0.88rem; }
  .admin-table th, .admin-table td { padding: 12px 16px; }
  
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  
  .section-title h2 { font-size: 1.8rem; }
  
  .stat-number { font-size: 2.25rem; }
  .belief-content h2 { font-size: 1.75rem; }
  .belief-values { gap: 16px; }
  
  .cta-section { padding: 64px 0; }
  .cta-content h2 { font-size: 1.85rem; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .areas-grid, .team-grid, .categorias-grid { grid-template-columns: 1fr; }
  .nav a { padding: 4px 8px; font-size: 0.78rem; }
  .container { padding: 0 var(--margin-mobile); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .about-image-card { left: 50%; transform: translateX(-50%); width: 85%; }
  .hero-full-content h1 { font-size: 2.25rem; }
}

/* Button Veja Mais & Modal Details Styles */
.btn-veja-mais {
  max-height: 0;
  padding: 0 16px;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  border: none;
  display: inline-block;
  align-self: flex-start;
  font-size: 0.85rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.projeto-card:hover .btn-veja-mais {
  max-height: 40px;
  padding: 8px 16px;
  opacity: 1;
  margin-top: 10px;
  margin-bottom: 16px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 32, 67, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(15, 32, 67, 0.24);
  border: 1px solid rgba(58, 93, 165, 0.12);
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.modal-banner {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.modal-content-area {
  padding: 32px;
}

.modal-desc-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

.modal-desc-text p {
  margin-bottom: 16px;
}

/* Chamamentos buttons */
.btn-chamamento {
  background: linear-gradient(135deg, var(--primary), var(--action-indigo));
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(30, 69, 139, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-chamamento:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 69, 139, 0.3);
  filter: brightness(1.08);
}
