/* Menu fixo: transparente no topo, azul ao rolar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.topbar.is-scrolled {
  background: rgba(6, 27, 58, 0.96);
  border-bottom-color: rgba(226, 197, 127, 0.18);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Logo branco, sem caixa */
.topbar .brand-mark {
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  .topbar .brand-mark { width: 54px; height: 54px; }
}

/* Botão Login (retangular, sem pílula) */
.nav-login {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 18px;
  color: #fff; font-size: 13px; font-weight: 700;
  border: 0; border-radius: 0;
  background: transparent;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.nav-login { white-space: nowrap; padding: 0 6px; }
.nav-login:hover { background: none; color: var(--gold-300, #ecd9a8); }
.nav-login-mobile { margin-top: 7px; justify-content: center; }
@media (max-width: 980px) { .nav-login:not(.nav-login-mobile) { display: none; } }

/* Evita quebra de linha no menu com o botão Login */
.desktop-nav { gap: 18px; }
.desktop-nav a, .desktop-cta { white-space: nowrap; }
.nav-wrap { gap: 18px; }
@media (max-width: 1240px) { .desktop-nav { gap: 12px; } .desktop-nav a { font-size: 12px; } }

/* Rodapé: logo branco sem caixa e Instagram com ícone branco */
.footer-brand .brand-mark { width: 76px; height: 76px; padding: 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.footer-links .social-instagram { color: #fff; gap: 9px; }
.footer-links .social-instagram svg { width: 20px; height: 20px; flex: 0 0 auto; color: #fff; }
.footer-links .social-instagram:hover { color: var(--gold-300, #ecd9a8); }

/* Rodapé: crédito centralizado */
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-bottom small:last-child { justify-self: end; text-align: right; }
.dev-credit { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.5); font-size: 10px; transition: opacity .2s ease; }
.dev-credit span { line-height: 1; }
.dev-credit img { height: 34px; width: auto; display: block; opacity: .85; transition: opacity .2s ease; }
.dev-credit:hover img { opacity: 1; }
@media (max-width: 760px) {
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-block: 16px; gap: 10px; }
  .footer-bottom small:last-child { justify-self: center; text-align: center; }
}
