/* ============================================
   MENU FIXO
   ============================================ */

:root {
  --primary: #014651;
  --primary-dark: #013f48;
  --accent: #7cf7a6;
  --bg-primary: #050816;
  --bg-secondary: #10172a;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.78);
  --border: rgba(255, 255, 255, 0.16);
}

.menu-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.9rem 0;
  background: rgba(5, 8, 22, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.3s ease;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.menu-fixed::before {
  content: "";
  position: absolute;
  inset: -28px 8% auto 8%;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(94, 231, 255, 0.2), rgba(94, 231, 255, 0.06) 45%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
  z-index: -1;
}

.menu-fixed::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -24px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.05) 42%, transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}

.menu-fixed.scrolled {
  padding: 0.75rem 0;
  background: rgba(5, 8, 22, 0.28);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.menu-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

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

.logo-image {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle-line {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active .menu-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
}

.menu-link {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 300;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(33, 199, 132, 0.22), rgba(124, 247, 166, 0.16));
  color: #f6fff9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid rgba(124, 247, 166, 0.28);
  box-shadow: 0 10px 24px rgba(33, 199, 132, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.menu-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(33, 199, 132, 0.24);
  border-color: rgba(124, 247, 166, 0.44);
  color: #ffffff;
}

.access-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5.5rem 1rem 2rem;
}

.access-modal.is-open {
  display: flex;
}

.access-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 15, 0.94);
  backdrop-filter: blur(14px);
}

.access-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  background: linear-gradient(135deg, rgba(2, 7, 18, 0.99), rgba(6, 15, 28, 0.99));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  animation: modalRise 0.35s ease both;
}

.access-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.access-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(33, 199, 132, 0.16);
  color: #9ef1c2;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.access-close {
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

.access-modal-body h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.35rem;
}

.access-modal-body p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.access-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.access-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.access-card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 199, 132, 0.36);
  background: rgba(33, 199, 132, 0.1);
}

.access-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(33, 199, 132, 0.16);
  color: #8ef2bd;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.access-card-content h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.access-card-content p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .menu-content {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-links {
    position: fixed;
    top: 74px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.95rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(3, 10, 22, 0.98), rgba(6, 16, 32, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    z-index: 1100;
    backdrop-filter: blur(18px);
  }

  .menu-links.open {
    display: flex;
  }

  .menu-link {
    width: 100%;
    padding: 0.9rem 0.9rem;
    font-size: 1rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.03);
  }

  .menu-link:hover {
    color: #ffffff;
    background: rgba(33, 199, 132, 0.12);
  }

  .menu-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(33, 199, 132, 0.24), rgba(124, 247, 166, 0.16));
    border: 1px solid rgba(124, 247, 166, 0.24);
  }
}

@media (max-width: 768px) {
  .access-options {
    grid-template-columns: 1fr;
  }
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.menu-link:hover::after {
  width: 100%;
}

@media (max-width: 1024px) {
  .menu-links {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }

  .menu-link {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .menu-fixed {
    backdrop-filter: none !important;
  }
}
