/* ===== Estilos do Cabeçalho ===== */
.modern-header {
  background: var(--creme);
  border-bottom: 1px solid rgba(27, 71, 93, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo Section */
.header-left {
  display: flex;
  align-items: center;
  min-width: 200px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-link:hover {
  transform: translateY(-1px);
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--azul-escuro);
  display: inline-block;
}


/* Header Right - Navigation */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
  justify-content: flex-end;
}

.menu {
  display: flex;
  gap: 2rem;
}

.menu a {
  color: var(--azul-escuro);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

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


/* Responsividade */
@media (max-width: 768px) {
  .logo-text {
    display: none;
  }
  
  .header-container {
    padding: 0 1rem;
  }
  
  .menu {
    gap: 1rem;
  }
}


/* Estilos responsivos */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .menu {
    gap: 1rem;
  }
}

/* Forçar estilos de modal globalmente para não ficar transparente atrás do header */
.modal-backdrop {
  background-color: rgba(0,0,0,0.5) !important;
  opacity: 1 !important;
  z-index: 1100 !important; /* acima do header (1000) */
}

.modal {
  z-index: 1200 !important; /* garantir que o modal fique acima do backdrop e do header */
}

.modal-content {
  background-color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* ===== Divider e Social Icons (para modais e formulários) ===== */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #666;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider span {
  padding: 0 15px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 20px;
}

.social-icons i {
  color: var(--azul-escuro);
  font-size: 47px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-icons i:hover {
  transform: scale(1.15);
  color: var(--amarelo);
}
