/* ==============================================
   LAYOUT
   Hero, Sections, Footer, Grid
   ============================================== */

/* ==============================================
   HERO SECTION / TITLE BAR
   ============================================== */

.hero,
.title-bar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: var(--spacing-2xl) var(--spacing-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero::after,
.title-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.hero-title,
.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: fadeInDown 0.8s ease;
}

.hero-subtitle,
.page-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.95;
  margin: 0;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* ==============================================
   SECTIONS
   ============================================== */

.section {
  padding: var(--spacing-2xl) 0;
}

.section + .section {
  border-top: 1px solid rgba(46, 125, 110, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: var(--spacing);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
  margin: 0 auto;
}

/* ==============================================
   GRID LAYOUTS
   ============================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

/* ==============================================
   NUMBER CARDS
   ============================================== */

.number-card {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid #e2e8f0;
}

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

.number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
  line-height: 1;
}

.number-label {
  font-size: 1rem;
  color: var(--text-medium);
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: white;
  padding: var(--spacing-lg) 0;
  margin-top: var(--spacing-2xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo-full {
  max-width: 100px;
  width: 100%;
  height: auto;
  opacity: 0.95;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-center p,
.footer-contact p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
  line-height: 1.4;
}

.footer-center strong,
.footer-contact strong {
  color: white;
  display: block;
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.footer-contact {
  text-align: right;
}

.footer-contact i {
  margin-right: 6px;
  opacity: 0.8;
  font-size: 0.78rem;
}

/* ==============================================
   RESPONSIVIDADE
   ============================================== */

@media (max-width: 768px) {
  .hero,
  .title-bar {
    padding: var(--spacing-xl) var(--spacing);
  }
  
  .hero-title,
  .page-title {
    font-size: 2rem;
  }
  
  .hero-subtitle,
  .page-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing);
  }

  .footer-logo-full {
    max-width: 80px;
  }

  .footer-center,
  .footer-contact {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .page-title {
    font-size: 1.75rem;
  }
  
  .number {
    font-size: 2.5rem;
  }
}
