/* ---- Top announcement bar ---- */
.topbar {
  background: var(--navy-900);
  color: var(--t-on-dark-soft);
  font-size: 13px;
  height: var(--bar-h);
  display: flex;
  align-items: center;
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .01em; }
.topbar__item svg { width: 14px; height: 14px; color: var(--gold-400); }
.topbar__right a { transition: color .3s; }
.topbar__right a:hover { color: var(--gold-300); }
.topbar__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  transition: all .3s var(--ease);
}
.topbar__social svg { width: 15px; height: 15px; }
.topbar__social:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-1px); }

/* ---- Sticky header ---- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.hdr--scrolled {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 40px -28px rgba(20,39,58,0.45);
  border-bottom-color: var(--mist);
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); transition: height .4s var(--ease); }
.hdr--scrolled .hdr__in { height: 74px; }
.hdr__logo img { height: 46px; width: auto; transition: height .4s var(--ease); }
.hdr--scrolled .hdr__logo img { height: 40px; }

.hdr__nav { display: flex; align-items: center; gap: 34px; }
.hdr__link {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0; letter-spacing: .005em;
  transition: color .3s;
}
.hdr__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.hdr__link:hover { color: var(--ink); }
.hdr__link:hover::after { transform: scaleX(1); }

.hdr__actions { display: flex; align-items: center; gap: 14px; }
.hdr__cta { padding: 13px 22px; font-size: 14.5px; }

/* burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .35s var(--ease); }
.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav — overlay full-screen acima de tudo */
.mobnav {
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900) 70%);
  display: flex; flex-direction: column; padding-bottom: 32px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
  overflow-y: auto;
}
.mobnav--open { opacity: 1; visibility: visible; transform: none; }

.mobnav__top { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); flex: none; }
.mobnav__logo { height: 36px; width: auto; }
.mobnav__close {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255,255,255,0.18); background: none; color: var(--t-on-dark);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease);
}
.mobnav__close svg { width: 20px; height: 20px; }
.mobnav__close:hover { border-color: var(--gold-400); color: var(--gold-300); transform: rotate(90deg); }

.mobnav__list { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.mobnav__link {
  font-family: var(--font-display); font-size: clamp(28px, 8.5vw, 40px); font-weight: 500;
  color: var(--t-on-dark); padding: 9px 0; transition: color .3s;
}
.mobnav__link:hover, .mobnav__link:active { color: var(--gold-400); }
.mobnav__cta { margin-top: 28px; align-self: stretch; justify-content: center; }

/* entrada escalonada dos itens ao abrir */
.mobnav__link, .mobnav__cta { opacity: 0; transform: translateY(20px); }
.mobnav--open .mobnav__link,
.mobnav--open .mobnav__cta {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobnav--open .mobnav__list > :nth-child(1) { transition-delay: .10s; }
.mobnav--open .mobnav__list > :nth-child(2) { transition-delay: .16s; }
.mobnav--open .mobnav__list > :nth-child(3) { transition-delay: .22s; }
.mobnav--open .mobnav__list > :nth-child(4) { transition-delay: .28s; }
.mobnav--open .mobnav__list > :nth-child(5) { transition-delay: .34s; }
.mobnav--open .mobnav__list > :nth-child(6) { transition-delay: .40s; }
.mobnav--open .mobnav__list > :nth-child(7) { transition-delay: .46s; }

.mobnav__foot { flex: none; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--t-on-dark-muted); }
.mobnav__foot a { color: var(--t-on-dark-soft); transition: color .3s; }
.mobnav__foot a:hover { color: var(--gold-300); }

@media (prefers-reduced-motion: reduce) {
  .mobnav, .mobnav__link, .mobnav__cta { transition-duration: 1ms; }
  .mobnav__link, .mobnav__cta { transform: none; }
}

@media (max-width: 1000px) {
  .hdr__nav { display: none; }
  .hdr__cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .topbar__left { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__right { gap: 16px; }
}
