/* =========================================================
   NAVBAR - COVIL DO PAI HIAGO ⚜️
   Design flutuante místico com dropdown mobile
========================================================= */

.header-covil {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, #000 90%, rgba(0, 0, 0, 0.85) 100%);
  border-bottom: 2px solid rgba(255, 215, 0, 0.15);
  z-index: 9999;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.4s ease;
  animation: borderPulse 3.5s ease-in-out infinite;
}

body {
  padding-top: 90px;
  overflow-x: hidden;
}

@keyframes borderPulse {
  0%,100% { border-bottom-color: rgba(255,215,0,.15); }
  50% { border-bottom-color: rgba(255,215,0,.45); }
}

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

/* ===== LOGO ===== */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #f5f5f5;
}
.logo-icon {
  height: 42px;
  margin-right: 8px;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.4));
}
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* ===== LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #f0f0f0;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #b8860b);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #ffd700; }

/* ===== BOTÃO ACESSO ===== */
.btn-acesso {
  background: linear-gradient(135deg, #d4af37, #f8e28b);
  color: #000;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255,215,0,0.3);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  animation: glowPulse 2.8s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 8px rgba(255,215,0,0.2),0 0 20px rgba(255,215,0,0.1); }
  50% { box-shadow: 0 0 14px rgba(255,215,0,0.45),0 0 30px rgba(255,215,0,0.25); }
}
.btn-acesso:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,215,0,0.6);
}

/* ===== BOTÃO MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
}
.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #f5f5f5;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* =========================================================
   MOBILE DROPDOWN
========================================================= */
@media (max-width: 980px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links ul {
    flex-direction: column;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: #fff;
  }

  .btn-acesso { margin-top: 1rem; }
}

/* =========================================================
   STICKY INTELIGENTE
========================================================= */
.header-covil.scrolled {
  background: rgba(0, 0, 0, 0.93);
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.1);
}
.header-covil.hide {
  transform: translateY(-100%);
  opacity: 0;
}
