/* ===== NAV ===== */
nav {
  background: linear-gradient(
    to right,
    rgba(2,6,23,0.95),
    rgba(2,6,23,0.85)
  );
  backdrop-filter: blur(6px);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 999;
}
nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #1d4ed8;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}


.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg {
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  color: #ffffff;
  font-size: 1.4rem;
}

.brand-text span {
  color: #9ca3af;
  font-size: 0.85rem;
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  font-size: 1.25rem;
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {
  header h1 { font-size: 2.2rem; }
  .stories-full { height: 340px; }
  .menu-links a { font-size: 1.2rem;}/* tamanho proporcional para mobile */
  .brand svg {
  width: 38px;
  height: 38px;
}
.brand-text strong {
  font-size: 1.2rem;
}

.brand-text span {
  font-size: 0.75rem;
}
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #e5e7eb;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-links {
    position: absolute;
    right: 0;
    top: 56px;
    background: #020617;
    border-radius: 14px;
    padding: 14px 0;
    min-width: 200px;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    display: flex;
  }

  .menu-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .menu-links a {
    padding: 12px 20px;
  }
}
