/* Shared desktop/mobile navigation switch.
   The precompiled tailwind.min.css has no lg:/xl: variants, so the
   breakpoint lives here. Full row shows from 1440px; below it, the
   hamburger (#mobile-menu) is used. The row has 11 items plus the Brasil
   badge, so the gap is tighter than on the EN site (gap-5) and the breakpoint
   is higher (EN: 1366px) to fit inside the 1440px container. */
.nav-mobile-menu { display: none; }
.nav-mobile-menu.show { display: flex; }
#main-nav .nav-brand { white-space: nowrap; }
#main-nav .nav-desk { display: none; column-gap: .8rem; }
#main-nav .nav-desk-badge { display: none; }
#main-nav .nav-dd-panel { min-width: 14rem; }
#main-nav #mobile-menu-btn { display: block; }
#main-nav .group:focus-within > .nav-dd-panel { opacity: 1; visibility: visible; }
#main-nav .nav-mobile-menu { max-height: calc(100vh - 110px); overflow-y: auto; }
@media (min-width: 1440px) {
  #main-nav .nav-desk { display: flex; }
  #main-nav .nav-desk-badge { display: inline-flex; }
  #main-nav #mobile-menu,
  #main-nav #mobile-menu-btn { display: none !important; }
}
/* Phones: the language banner wraps to several lines and would cover the
   hamburger. Let it scroll with the page and keep the nav sticky below it. */
@media (max-width: 767px) {
  body > .lang-notice { position: static; }
  #main-nav { position: sticky; top: 0 !important; }
}
/* Footer link rows wrap instead of overflowing on phones. */
@media (max-width: 767px) { footer .flex { flex-wrap: wrap; } }
