/* Fallback local para header/menu quando assets externos falham */
#header .container.av-logo-container .inner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}

#header .logo img {
  max-height: 72px;
  width: auto;
}

#header .logo > a,
#header .logo > a:hover,
#header .logo > a:active,
#header .logo > a:focus {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
}

#header .logo > a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

#header .main_menu {
  display: block !important;
}

#header .main_menu .av-main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#header .main_menu .av-main-nav > li {
  margin: 0;
}

#header .main_menu .av-main-nav > li > a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.2;
  background: transparent;
  outline: none;
}

#header .main_menu .av-main-nav > li > a:hover,
#header .main_menu .av-main-nav > li.current-menu-item > a {
  background: transparent !important;
}

#header .main_menu .av-main-nav > li > a:focus,
#header .main_menu .av-main-nav > li > a:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

#header .main_menu .av-main-nav > li > a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove o efeito decorativo do tema que pode aparecer como bloco branco */
#header .main_menu .av-main-nav .avia-menu-fx,
#header .main_menu .av-main-nav .avia-bullet {
  display: none !important;
}

/* Evita qualquer "bloco branco" de foco herdado do tema */
#header a,
#header a:focus,
#header a:active {
  box-shadow: none !important;
}

#header .av-burger-menu-main {
  display: none !important;
}

#scroll-top-link {
  display: none !important;
}

body.home #socket {
  margin-top: 0 !important;
}

/* Home: faixa acima do rodapé (somente a onda final) */
body.home .gk-footer-wave {
  background: #0b2239 !important;
  margin-bottom: 0 !important;
}

body.home .gk-footer-wave svg {
  display: block;
}

@media (max-width: 900px) {
  #header .container.av-logo-container .inner-container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #header .main_menu .av-main-nav {
    width: 100%;
    justify-content: flex-start;
  }
}
