/* ========================================
   HEADER / NAVEGAÇÃO
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ========================================
   HERO / BANNER PRINCIPAL
   ======================================== */
.hero {
  margin-top: 80px;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/pattern.svg');
  opacity: 0.1;
  background-size: 400px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1.5rem;
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   ALERTAS E AVISOS
   ======================================== */
.alert {
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 5px solid;
}

.alert-warning {
  background-color: var(--warning-light);
  border-left-color: var(--warning-color);
  color: #92400e;
}

.alert-warning strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #78350f;
}

.info-box {
  background-color: #eff6ff;
  border: 2px solid var(--primary-light);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.info-box h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box ul li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-secondary);
}

.info-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ========================================
   SEÇÕES DE CONTEÚDO
   ======================================== */
.content-section {
  padding: 4rem 0;
}

.content-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--bg-dark);
  color: #d1d5db;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer p {
  color: #9ca3af;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

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

.footer-company {
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0.5;
  color: #9ca3af;
}

.footer-company p {
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ========================================
   PÁGINAS INSTITUCIONAIS
   ======================================== */
.institutional-page {
  margin-top: 80px;
  padding: 4rem 0;
  min-height: calc(100vh - 80px);
}

.institutional-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.institutional-content h1 {
  color: var(--primary-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-color);
}

.institutional-content h2 {
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.institutional-content h3 {
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.institutional-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.institutional-content ul,
.institutional-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.institutional-content li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   RESPONSIVIDADE MOBILE
   ======================================== */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-image {
    order: -1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .institutional-content {
    padding: 1.5rem;
  }
}
