.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--azul-escuro);
  border-bottom: 2px solid rgba(255, 54, 19, 0.3);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10, 26, 66, 0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--laranja);
  box-shadow: var(--sombra-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* ─── Logo animado — stage ─── */
.nav-logo-stage {
  display: grid;
  grid-template-areas: 'slot';
  height: 60px;
  align-items: center;
}

.nav-logo-layer {
  grid-area: slot;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  will-change: transform, opacity, clip-path;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-logo-icone {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.nav-secao-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--laranja);
}

.btn-nav {
  padding: 0.6rem 1.5rem !important;
  font-size: 0.9rem !important;
}

.nav-hamburguer {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburguer span {
  width: 26px;
  height: 2px;
  background: white;
  display: block;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--azul-medio);
  padding: 1.5rem;
  gap: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 0;
}

.nav-mobile.aberto {
  display: flex;
}
