/* Layout do banner da home: compacto, centralizado e preso a navegacao. */
#top.home .title_container {
  display: none;
}

#top.home #header_meta {
  display: none;
}

/* Desktop: remove a barra institucional superior do Enfold. */


#top.home #main {
  padding-top: 0;
}

#top.home #main > .container_wrap_first {
  border-top: 0;
}

#top.home #main > .container_wrap_first > .container > .content {
  padding-top: 0;
}

#top.home {
  --gr-home-frame-width: var(--gr-site-frame-width);
}



#top.home .gr-home-banner {
  position: relative;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  float: none;
  width: var(--gr-home-frame-width) !important;
  max-width: 1280px;
  margin: 0 calc((100% - var(--gr-home-frame-width)) / 2) 40px;
  border: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

#top.home .gr-home-banner .avia-slideshow,
#top.home .gr-home-banner .avia-slideshow-inner,
#top.home .gr-home-banner .avia-slideshow-slide,
#top.home .gr-home-banner .avia-slide-wrap {
  width: 100%;
  max-width: 100%;
}

#top.home .gr-home-banner img {
  display: block;
  width: 100%;
  height: auto;
}

#top.home #header_main .gr-main-menu-social {
  display: none;
}

/* Tratamento do header e do menu da home em telas grandes. */
@media only screen and (min-width: 990px) {
  #top:is(.home, .gr-internal-page) #header_main {
    border-bottom: 0;
  }

  #top.home #header_main .container {
    width: var(--gr-home-frame-width);
    max-width: none;
    height: auto;
    padding: 0;
  }

  #top.home #header_main .inner-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 126px;
  }

  #top:is(.home, .gr-internal-page) #header_main .logo {
    position: relative;
    display: flex;
    float: none;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
    max-width: 50%;
    height: 126px;
  }

  #top.home #header_main .logo a,
  #top.home #header_main .logo img {
    display: block;
    width: auto;
    max-height: 80px;
  }

  #top.home #header_main .main_menu {
    position: relative;
    display: flex;
    align-items: stretch;
    right: auto;
    left: auto;
    transform: none;
    clear: both;
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    max-width: 1280px;
    height: 48px;
    background: #0d5a91;
    border-radius: 8px 8px 0 0;
    box-shadow: none;
    overflow: visible !important;
  }

  #top.home #header_main .main_menu::after {
    content: none;
  }

  #top.home #header_main .avia-menu,
  #top.home #header_main .av-main-nav-wrap,
  #top.home #header_main #avia-menu {
    height: 48px;
  }

  #top.home #header_main .av-main-nav-wrap {
    flex: 1 1 auto;
    min-width: 0;
  }

  #top.home #header_main #avia-menu {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  #top.home #header_main #avia-menu > li {
    position: relative;
    display: flex;
    float: none;
    height: 48px;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main {
    display: none;
  }

  #top.home #header_main #avia-menu > li > a {
    display: flex;
    align-items: center;
    height: 48px;
    line-height: 48px;
    margin: 0;
    padding: 0 8px;
    border-right: 0;
    border-radius: 4px;
    background: #0d5a91;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 3px 6px rgba(1, 28, 55, 0.28);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0;
  }

  #top.home #header_main #avia-menu > li > a:hover,
  #top.home #header_main #avia-menu > li > a:focus,
  #top.home #header_main #avia-menu > li.current-menu-item > a,
  #top.home #header_main #avia-menu > li.current_page_item > a,
  #top.home #header_main #avia-menu > li.active-parent-item > a {
    background: #17699f;
    color: #ffffff;
  }

  #top.home #header_main #avia-menu > li > a .avia-menu-text {
    border-left: 0;
    border-right: 0;
    line-height: 1.2;
  }

  #top.home #header_main .gr-main-menu-search-field {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
    margin-left: auto;
    flex: 0 0 260px;
    height: 48px;
    padding: 0 10px 0 10px;
    overflow: visible;
  }

  #top.home #header_main .gr-main-menu-search-form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 30px;
    margin: 0;
    overflow: visible;
  }

  #top.home #header_main .gr-main-menu-search-field search {
    display: block;
    width: 100%;
  }

  #top.home #header_main .gr-main-menu-search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 30px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 35, 69, 0.2);
  }

  #top.home #header_main .gr-main-menu-search-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 5;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a7f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'%3E%3C/circle%3E%3Cpath d='M16 16l5 5'%3E%3C/path%3E%3C/svg%3E");
    pointer-events: none;
    filter: brightness(0) invert(1);
  }

  #top.home #header_main .gr-main-menu-search-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 30px;
    margin: 0;
    padding: 0 42px 0 10px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    line-height: 30px;
    outline: none;
  }

  #top.home #header_main .gr-main-menu-search-form:focus-within {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
  }

  #top.home #header_main .gr-main-menu-search-input::placeholder {
    color: rgba(255, 255, 255, 0.86);
    opacity: 1;
  }

  #top.home #header_main .gr-main-menu-search-input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
    appearance: none;
  }

  #top.home #header_main .gr-main-menu-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 30px;
    margin: 0;
    padding: 0;
    z-index: 3;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #ffffff;
    cursor: pointer;
    appearance: none;
  }

  #top.home #header_main .gr-main-menu-search-form .av_searchform_search.avia-svg-icon,
  #top.home #header_main .gr-main-menu-search-form.ajax_loading_now .av_searchform_search.avia-svg-icon {
    display: none !important;
    position: absolute;
    top: 7px;
    right: 12px;
    z-index: 4;
    width: 16px;
    height: 16px;
    margin: 0;
    color: #043b69;
    pointer-events: none;
  }

  #top.home #header_main .gr-main-menu-search-submit:hover,
  #top.home #header_main .gr-main-menu-search-submit:focus {
    background: rgba(6, 74, 127, 0.08);
    outline: none;
  }

  #top.home #header_main .gr-main-menu-search-submit svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
  }

  #top.home #header_main .gr-main-menu-search-form .ajax_search_response {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 10000;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0;
    width: min(374px, calc(100vw - 32px)) !important;
    min-width: min(374px, calc(100vw - 32px));
    margin-top: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: min(70vh, 620px);
    background: #ffffff;
    color: #444444;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    box-shadow: 0 8px 20px rgba(7, 34, 62, 0.22);
  }

  #top.home #header_main .gr-main-menu-search-form .ajax_search_response h4 {
    display: block;
    margin: 0;
    padding: 12px 16px 4px;
    color: #444444;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
  }

  #top.home #header_main .gr-main-menu-search-form .ajax_search_response h4:first-child {
    padding-top: 12px;
  }

  #top.home #header_main .gr-main-menu-search-form .av_ajax_search_entry {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    padding: 10px 16px;
    clear: both;
    overflow: hidden;
    border-bottom-style: dashed;
    border-bottom-width: 1px;
    text-align: left;
    text-decoration: none;
  }

  #top.home #header_main .gr-main-menu-search-form .av_ajax_search_image {
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }

  #top.home #header_main .gr-main-menu-search-form .av_ajax_search_content {
    display: block;
    overflow: hidden;
  }

  #top.home #header_main .gr-main-menu-search-form .av_ajax_search_title {
    display: block;
    color: #444444;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
  }

  #top.home #header_main .gr-main-menu-search-form .ajax_search_excerpt {
    display: block;
    margin-top: 3px;
    color: #888888;
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
  }

  #top.home #header_main .gr-main-menu-search-form:has(.gr-main-menu-search-input:placeholder-shown) .ajax_search_response {
    display: none !important;
  }

  #top.home #header_main .gr-main-menu-search-form .ajax_load {
    display: none !important;
    top: 0;
    right: 0;
    width: 40px;
    height: 30px;
    min-width: 40px;
    background: transparent !important;
    pointer-events: none;
  }

  #top.home #header_main .gr-main-menu-search-form .ajax_load_inner {
    background-color: transparent !important;
    opacity: 0.55;
  }

  #top.home #header_main .gr-main-menu-search-form .av_ajax_search_entry_view_all {
    display: block;
    width: 100%;
    padding: 12px 16px;
    clear: both;
    text-align: center;
    white-space: nowrap;
  }

  #top.home #header_main #menu-item-search {
    display: none !important;
  }

  #top.home .avia-search-tooltip {
    display: none !important;
  }

  #top.home #header_main .avia-menu-fx {
    display: none;
  }

  #top.home #header_main .main_menu ul:first-child > li > ul {
    top: 48px;
  }

  #top.home #header_main .gr-main-menu-social {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    height: 48px;
    margin-left: 0;
    background: transparent;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks {
    display: flex !important;
    position: static;
    top: auto;
    float: none;
    clear: none;
    width: auto;
    height: 48px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li {
    position: relative;
    width: 30px;
    height: 48px;
    border-right: 0;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li:first-child {
    border-left: 0;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li a {
    width: 30px;
    min-height: 48px;
    height: 48px;
    line-height: 48px;
    color: #ffffff;
    font-size: 13px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li a:hover,
  #top.home #header_main .gr-main-menu-social .social_bookmarks li a:focus {
    background: #1f4168;
    color: #ffffff;
  }
}

/* Home desktop: com texto ampliado pelo Ally/Pojo, busca e redes ficam acima dos topicos. */
@media only screen and (min-width: 990px) {
  #top.home.gr-home-header-a11y-expanded #header_main .main_menu{
    flex-wrap: wrap;
    align-items: stretch;
    align-content: stretch;
    height: auto;
    min-height: 96px;
    border-radius: 8px 8px 0 0;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .avia-menu,
#top.home.gr-home-header-a11y-expanded #header_main .av-main-nav-wrap,
#top.home.gr-home-header-a11y-expanded #header_main #avia-menu{
    height: auto;
    min-height: 48px;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .av-main-nav-wrap{
    order: 2;
    flex: 1 0 100%;
    width: 100%;
  }

  #top.home.gr-home-header-a11y-expanded #header_main #avia-menu{
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
  }

  #top.home.gr-home-header-a11y-expanded #header_main #avia-menu > li{
    flex: 1 1 auto;
    height: auto;
    min-width: 0;
  }

  #top.home.gr-home-header-a11y-expanded #header_main #avia-menu > li > a{
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 7px 8px;
    font-size: clamp(12px, calc(10px * var(--gr-home-header-font-scale, 1.5)), 16px) !important;
    line-height: 1.12 !important;
    text-align: center;
    white-space: normal;
    overflow-wrap: normal;
  }

  #top.home.gr-home-header-a11y-expanded #header_main #avia-menu > li > a .avia-menu-text{
    display: block;
    max-width: 100%;
    line-height: 1.12 !important;
    white-space: normal;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-search-field{
    box-sizing: border-box;
    order: 1;
    flex: 1 1 auto;
    height: 48px;
    min-width: 280px;
    max-width: none;
    margin-left: 0;
    padding: 7px 12px;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-search-form,
#top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-search-wrapper,
#top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-search-input{
    height: 34px;
    min-height: 34px;
    line-height: 34px;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-search-input{
    font-size: clamp(12px, calc(10px * var(--gr-home-header-font-scale, 1.5)), 16px) !important;
    padding-right: 48px;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-search-submit,
#top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-search-form .ajax_load{
    width: 46px;
    height: 34px;
    min-width: 46px;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-social{
    order: 1;
    flex: 0 0 auto;
    height: 48px;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-social .social_bookmarks,
#top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-social .social_bookmarks li,
#top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-social .social_bookmarks li a{
    height: 48px;
    min-height: 48px;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-social .social_bookmarks li{
    width: 42px;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-main-menu-social .social_bookmarks li a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    font-size: 16px !important;
    line-height: 1;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .main_menu ul:first-child > li > ul{
    top: 48px;
    z-index: 1000;
  }
}

/* Home desktop: refinamento visual da faixa principal sem alterar a navegacao. */
@media only screen and (min-width: 990px) {
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .main_menu {
    height: 48px;
    padding: 0 8px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .avia-menu,
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .av-main-nav-wrap,
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu {
    height: 48px;
    min-height: 48px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .avia-menu {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }


  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu {
    flex: 1 1 auto;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu > li {
    height: 48px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu > li > a {
    height: 32px;
    padding: 0 clamp(5px, 0.5vw, 9px);
    border-radius: 4px;
    line-height: 32px;
    letter-spacing: 0.01em;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-field {
    height: 48px;
    padding: 0 2px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-form,
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-wrapper,
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-input {
    height: 30px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-wrapper {
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(4, 59, 105, 0.08);
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-input {
    padding-right: 38px;
    padding-left: 11px;
    line-height: 30px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-submit,
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-form .ajax_load {
    width: 36px;
    height: 30px;
    min-width: 36px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social {
    align-items: center;
    height: 48px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks {
    height: 48px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 48px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    min-height: 32px;
    height: 32px;
    border-radius: 4px;
    line-height: 1;
  }
}

@media only screen and (min-width: 990px) and (max-width: 1320px) {
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .main_menu {
    gap: 3px;
    padding-right: 6px;
    padding-left: 6px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu {
    gap: 1px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu > li > a {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
    box-sizing: border-box;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-field {
    flex-basis: 150px;
    margin-left: 2px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks {
    gap: 2px;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks li,
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks li a {
    width: 25px;
    max-width: 25px;
  }
}

/* Ajuste de largura do slider em telas menores. */
@media only screen and (max-width: 989px) {
  #top:is(.home, .gr-internal-page) {
    --gr-home-frame-width: calc(100vw - 28px);
  }

  #top.home #header {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(32, 48, 68, 0.08);
  }

  #top.home #header_main {
    background: #ffffff;
  }




  #top:is(.home, .gr-internal-page) #header_main .logo a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
  }



  #top.home #header_main .main_menu .avia-menu,
  #top.home #header_main .main_menu .av-main-nav-wrap,
  #top.home #header_main #avia-menu {
    display: block;
    width: 100%;
    height: auto;
    min-height: 62px;
    margin: 0;
    padding: 0;
  }

  #top.home #header_main #avia-menu > li.menu-item:not(.menu-item-avia-special) {
    display: none !important;
  }

  #top.home #header_main #avia-menu > li {
    float: none;
    min-height: 0;
  }

  #top.home #header_main #avia-menu > li#menu-item-search {
    display: none !important;
  }



  #top.home #header_main #avia-menu > li.av-burger-menu-main > a::before {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }







  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-burger-overlay {
    text-align: left;
  }

  #top.home #header_main .avia-menu-fx {
    display: none;
  }


  #top.home #header_main .gr-main-menu-social {
    right: 0;
    bottom: calc(100% + 10px);
    left: 0;
  }





  #top.home #header_main .av-burger-overlay {
    z-index: 100000;
  }

  #top.home #header_main .av-burger-overlay-scroll {
    width: min(86vw, 430px);
    max-width: calc(100vw - 24px);
    max-height: 100vh;
    overflow-y: auto;
  }

  #top.home #header_main .av-burger-overlay #av-burger-menu-ul {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  #top.home #header_main .gr-main-menu-search-form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 34px;
    margin: 0;
    overflow: visible;
  }

  #top.home #header_main .gr-main-menu-search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 34px;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
  }

  #top.home #header_main .gr-main-menu-search-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 34px;
    margin: 0;
    padding: 0 44px 0 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #1f2a37;
    font-size: 13px;
    line-height: 34px;
  }

  #top.home #header_main .gr-main-menu-search-input::placeholder {
    color: #7a8492;
    opacity: 1;
  }

  #top.home #header_main .gr-main-menu-search-input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
    appearance: none;
  }

  #top.home #header_main .gr-main-menu-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #043b69;
    box-shadow: none;
    cursor: pointer;
  }

  #top.home #header_main .gr-main-menu-search-form .av_searchform_search.avia-svg-icon,
  #top.home #header_main .gr-main-menu-search-form.ajax_loading_now .av_searchform_search.avia-svg-icon {
    top: 8px;
    right: 13px;
    width: 17px;
    height: 17px;
  }

  #top.home #header_main .gr-main-menu-search-submit:hover,
  #top.home #header_main .gr-main-menu-search-submit:focus {
    background: rgba(6, 74, 127, 0.08);
    outline: none;
  }

  #top.home #header_main .gr-main-menu-search-submit svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
  }

  #top.home #header_main .gr-main-menu-search-form .ajax_search_response {
    right: 0;
    left: 0;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0;
    width: 100% !important;
    min-width: 100%;
    max-height: 52vh;
    margin-top: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 38, 63, 0.22);
  }

  #top.home #header_main .gr-main-menu-search-form .ajax_load {
    width: 42px;
    height: 34px;
    min-width: 42px;
  }

}

@media only screen and (max-width: 767px) {
  #top.home {
    --gr-home-frame-width: calc(100vw - 24px);
  }

  #top.home #header_main .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  #top.home #header_main .logo {
    height: 82px;
    min-height: 82px;
  }

  #top.home #header_main .logo a {
    height: 82px;
    max-width: 100%;
  }

  #top.home #header_main .logo img {
    max-height: 52px;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main > a {
    padding-right: 22px;
    padding-left: 24px;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main > a::before {
    font-size: 18px;
  }

}


/* Home mobile: topo reorganizado conforme o layout de referencia. */
@media only screen and (max-width: 989px) {
  #top.home {
    --gr-home-frame-width: calc(100vw - 28px);
    background: #f4f7fb;
  }

  #top.home #header,
  #top.home #header_main {
    background: #ffffff;
    box-shadow: none;
  }

  #top.home #header_main {
    border-bottom: 0;
  }

  #top.home #header_main .container {
    width: var(--gr-home-frame-width) !important;
    max-width: 1120px;
    height: auto;
    padding: 0 !important;
  }

  #top.home #header_main .inner-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    min-height: 0;
    padding: 0;
  }

  #top.home #header_main .logo {
    position: relative;
    display: flex;
    float: none;
    align-items: center;
    z-index: 3;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    height: clamp(78px, 19vw, 128px);
    min-height: clamp(78px, 19vw, 128px);
  }

  #top.home #header_main .logo a {
    display: inline-flex;
    align-items: center;
    height: 100%;
  }

  #top.home #header_main .logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: clamp(48px, 12vw, 80px);
  }

  #top.home #header_main .gr-home-gov-brand {
    position: absolute !important;
    top: clamp(46px, 11vw, 64px) !important;
    right: 0 !important;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50% !important;
    height: clamp(78px, 19vw, 128px) !important;
    min-width: 0;
    pointer-events: auto;
  }

  #top.home #header_main .gr-home-gov-brand::before {
    content: "";
    display: block;
    flex: 0 0 1px;
    width: 1px;
    height: clamp(48px, 12vw, 86px);
    margin: 0 clamp(14px, 4vw, 34px) 0 0;
    background: #9aa1ad;
  }

  #top.home #header_main .gr-home-gov-brand img {
    display: block;
    width: auto;
    max-width: min(178px, calc(100% - 28px));
    height: auto;
  }

  #top.home #header_main .main_menu {
    order: -1;
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0);
    z-index: 30;
    right: auto;
    left: auto;
    clear: both;
    display: flex !important;
    align-items: stretch;
    float: none;
    width: 100vw;
    height: auto;
    overflow: visible !important;
    background: #043b69;
    box-shadow: 0 2px 8px rgba(3, 33, 63, 0.16);
  }

  #top.home #header_main .main_menu::after {
    content: none;
  }

  #top.home #header_main .main_menu .avia-menu {
    display: flex !important;
    align-items: stretch;
    width: 100%;
    min-height: clamp(58px, 16vw, 86px);
    margin: 0;
    padding: 0;
  }

  #top.home #header_main .main_menu .av-main-nav-wrap {
    order: 2;
    flex: 0 0 clamp(68px, 18vw, 108px);
    width: auto;
    min-width: 0;
    min-height: clamp(58px, 16vw, 86px);
    border-left: 1px solid rgba(255, 255, 255, 0.42);
  }

  #top.home #header_main #avia-menu {
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: clamp(58px, 16vw, 86px);
    margin: 0;
    padding: 0;
  }

  #top.home #header_main #avia-menu > li.menu-item:not(.menu-item-avia-special),
  #top.home #header_main #avia-menu > li#menu-item-search {
    display: none !important;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main {
    display: flex !important;
    position: static;
    width: 100%;
    height: auto;
    min-height: clamp(58px, 16vw, 86px);
    border: 0;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: clamp(58px, 16vw, 86px);
    padding: 0 !important;
    border: 0;
    background: transparent;
    color: #ffffff;
    line-height: 1;
    white-space: normal;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main > a::before {
    content: none !important;
    display: none !important;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main > a:hover,
  #top.home #header_main #avia-menu > li.av-burger-menu-main > a:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main > a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.42);
    outline-offset: -3px;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: none;
  }


  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner,
  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::before,
  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::after {
    background-color: #ffffff;
  }



  #top.home #header_main #avia-menu > li.av-burger-menu-main strong,
  #top.home #header_main #avia-menu > li.av-burger-menu-main .avia_hidden_link_text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  #top.home #header_main .gr-main-menu-social {
    order: 1;
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    justify-content: center;
    position: static !important;
    width: auto;
    height: auto;
    min-height: clamp(58px, 16vw, 86px);
    padding: 0;
    border: 0;
    background: transparent;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks {
    display: flex !important;
    position: static;
    top: auto;
    float: none;
    clear: none;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: auto;
    min-height: clamp(58px, 16vw, 86px);
    margin: 0;
    padding: 0 clamp(10px, 3.4vw, 36px);
    overflow: visible;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    width: auto;
    height: clamp(58px, 16vw, 86px);
    border: 0;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(58px, 16vw, 86px);
    height: clamp(58px, 16vw, 86px);
    margin: 0;
    border-radius: 0;
    color: #ffffff;
    line-height: 1;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li a:hover,
  #top.home #header_main .gr-main-menu-social .social_bookmarks li a:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  #top.home #header_main .gr-main-menu-search-field {
    display: none !important;
  }

  #top.home .gr-home-banner {
    margin-bottom: 0 !important;
    border-radius: 8px !important;
    box-shadow: none;
  }

  #top.home .gr-home-banner,
  #top.home .gr-home-banner .avia-slideshow,
  #top.home .gr-home-banner .avia-slideshow-inner,
  #top.home .gr-home-banner .avia-slideshow-slide,
  #top.home .gr-home-banner .avia-slide-wrap {
    overflow: hidden;
    border-radius: 8px !important;
  }
}

@media only screen and (max-width: 430px) {
  #top.home #header_main .inner-container {
    padding-top: 0;
  }

  #top.home #header_main .logo {
    height: 76px;
    min-height: 76px;
    padding-right: 12px;
  }

  #top.home #header_main .logo img {
    max-height: 46px;
  }

  #top.home #header_main .gr-home-gov-brand {
    top: 54px !important;
    right: 0 !important;
    width: 50% !important;
    height: 76px !important;
  }

  #top.home #header_main .gr-home-gov-brand::before {
    height: 50px;
    margin-right: 10px;
  }

  #top.home #header_main .gr-home-gov-brand img {
    max-width: min(158px, calc(100% - 18px));
  }

  #top.home #header_main .main_menu,
  #top.home #header_main .main_menu .avia-menu,
  #top.home #header_main .main_menu .av-main-nav-wrap,
  #top.home #header_main #avia-menu,
  #top.home #header_main #avia-menu > li.av-burger-menu-main,
  #top.home #header_main #avia-menu > li.av-burger-menu-main > a,
  #top.home #header_main .gr-main-menu-social,
  #top.home #header_main .gr-main-menu-social .social_bookmarks,
  #top.home #header_main .gr-main-menu-social .social_bookmarks li,
  #top.home #header_main .gr-main-menu-social .social_bookmarks li a {
    min-height: 54px;
    height: 54px;
  }

  #top.home #header_main .main_menu .av-main-nav-wrap {
    flex-basis: 66px;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks {
    padding-right: 8px;
    padding-left: 10px;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li a {
    font-size: 19px;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-box,
  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner,
  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::before,
  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::after {
    width: 33px;
  }
}

/* Home mobile: ajuste fino de escala da barra social, preservando o banner sem zoom. */
@media only screen and (max-width: 989px) {
  #top.home #header_main .main_menu {
    min-height: clamp(46px, 11vw, 64px);
    margin: 0 calc(50% - 50vw) clamp(18px, 4.8vw, 42px) !important;
    border-radius: 0 !important;
  }

  #top.home #header_main .main_menu,
  #top.home #header_main .main_menu .avia-menu,
  #top.home #header_main .main_menu .av-main-nav-wrap,
  #top.home #header_main #avia-menu,
  #top.home #header_main #avia-menu > li.av-burger-menu-main,
  #top.home #header_main #avia-menu > li.av-burger-menu-main > a,
  #top.home #header_main .gr-main-menu-social,
  #top.home #header_main .gr-main-menu-social .social_bookmarks,
  #top.home #header_main .gr-main-menu-social .social_bookmarks li,
  #top.home #header_main .gr-main-menu-social .social_bookmarks li a {
    height: clamp(46px, 11vw, 64px);
    min-height: clamp(46px, 11vw, 64px);
  }

  #top.home #header_main .main_menu .av-main-nav-wrap {
    flex-basis: clamp(54px, 13vw, 82px);
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks {
    padding-right: clamp(8px, 2.8vw, 28px);
    padding-left: clamp(8px, 2.8vw, 28px);
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li {
    max-width: 44px;
  }

  #top.home #header_main .gr-main-menu-social .social_bookmarks li a {
    font-size: clamp(16px, 4.1vw, 23px);
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger {
    width: clamp(32px, 8vw, 44px);
    height: clamp(32px, 8vw, 44px);
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-box {
    width: clamp(27px, 6.8vw, 38px);
    height: clamp(20px, 5.2vw, 27px);
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner,
  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::before,
  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::after {
    width: clamp(27px, 6.8vw, 38px);
    height: clamp(3px, 0.75vw, 4px);
    border-radius: 6px;
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::before {
    top: clamp(-9px, -2.2vw, -6px);
  }

  #top.home #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::after {
    bottom: clamp(-9px, -2.2vw, -6px);
  }


}

/* Home mobile: header institucional no topo do site, sem acompanhar o scroll. */
@media only screen and (max-width: 989px) {
  #top.home {
    --gr-mobile-topbar-height: clamp(46px, 11vw, 58px);
    --gr-mobile-logo-band-height: clamp(82px, 20vw, 112px);
    --gr-mobile-logo-gap: clamp(14px, 4vw, 28px);
    --gr-mobile-topbar-lift: 1px;
  }

  #top:is(.home, .gr-internal-page) #header {
    top: 0 !important;
    border-top: 0 !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .inner-container {
    box-sizing: border-box;
    width: 100%;
    min-height: calc(var(--gr-mobile-topbar-height) + var(--gr-mobile-logo-band-height));
    margin-top: calc(-1 * var(--gr-mobile-topbar-lift)) !important;
    padding-top: 0 !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .main_menu {
    order: -1;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: 10;
    width: 100vw !important;
    height: var(--gr-mobile-topbar-height) !important;
    min-height: var(--gr-mobile-topbar-height) !important;
    margin: 0 calc(50% - 50vw) 0 !important;
    border-radius: 0 !important;
    background: #043b69 !important;
    box-shadow: 0 2px 8px rgba(3, 33, 63, 0.16);
  }

  #top:is(.home, .gr-internal-page) #header_main .main_menu .avia-menu,
  #top:is(.home, .gr-internal-page) #header_main .main_menu .av-main-nav-wrap,
  #top:is(.home, .gr-internal-page) #header_main #avia-menu,
  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main,
  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main > a,
  #top:is(.home, .gr-internal-page) #header_main .gr-main-menu-social,
  #top:is(.home, .gr-internal-page) #header_main .gr-main-menu-social .social_bookmarks,
  #top:is(.home, .gr-internal-page) #header_main .gr-main-menu-social .social_bookmarks li,
  #top:is(.home, .gr-internal-page) #header_main .gr-main-menu-social .social_bookmarks li a {
    height: var(--gr-mobile-topbar-height) !important;
    min-height: var(--gr-mobile-topbar-height) !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .main_menu .avia-menu {
    display: flex !important;
    width: 100%;
  }

  #top:is(.home, .gr-internal-page) #header_main .main_menu .av-main-nav-wrap {
    flex: 0 0 clamp(54px, 14vw, 72px) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.38);
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-main-menu-social {
    flex: 1 1 auto !important;
    position: static !important;
    width: auto !important;
    background: transparent !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-main-menu-social .social_bookmarks {
    justify-content: space-between !important;
    gap: clamp(9px, 3vw, 22px);
    padding: 0 clamp(22px, 6vw, 48px) !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-main-menu-social .social_bookmarks li {
    flex: 0 0 auto !important;
    width: clamp(18px, 5.2vw, 28px) !important;
    max-width: none !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-main-menu-social .social_bookmarks li a {
    width: clamp(18px, 5.2vw, 28px) !important;
    font-size: clamp(14px, 4.2vw, 20px) !important;
  }

  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger {
    width: clamp(30px, 8vw, 42px) !important;
    height: clamp(30px, 8vw, 42px) !important;
  }

  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-box {
    width: clamp(25px, 6.8vw, 34px) !important;
    height: clamp(18px, 5vw, 24px) !important;
  }

  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner,
  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::before,
  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::after {
    width: clamp(25px, 6.8vw, 34px) !important;
    height: 3px !important;
  }

  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::before {
    top: -8px !important;
  }

  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::after {
    bottom: -8px !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .logo {
    position: relative !important;
    z-index: 2;
    width: 50% !important;
    max-width: 50% !important;
    height: var(--gr-mobile-logo-band-height) !important;
    min-height: var(--gr-mobile-logo-band-height) !important;
    padding: 0 var(--gr-mobile-logo-gap) 0 14px !important;
    justify-content: flex-end !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .logo a {
    justify-content: flex-end !important;
    height: 100% !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .logo img {
    max-height: clamp(44px, 11vw, 64px) !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-home-rumo-panel {
    height: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-home-rumo-panel > .gr-home-rumo-card {
    display: none !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-home-gov-brand {
    position: absolute !important;
    top: var(--gr-mobile-topbar-height) !important;
    right: 0 !important;
    z-index: 3;
    width: 50% !important;
    height: var(--gr-mobile-logo-band-height) !important;
    min-width: 0 !important;
    align-items: center !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-home-gov-brand::before {
    height: clamp(46px, 12vw, 70px) !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-home-gov-brand img {
    width: auto !important;
    max-width: min(170px, calc(100% - 28px)) !important;
    max-height: clamp(38px, 10vw, 54px) !important;
    height: auto !important;
  }

  #top.home .gr-home-banner {
    margin-top: 0 !important;
  }
}

/* Home mobile: logos institucionais ocupam metades visuais equivalentes. */
@media only screen and (max-width: 989px) {
  #top.home #header_main {
    --gr-mobile-brand-logo-width: min(160px, calc(50vw - 42px));
  }

  #top.home #header_main .logo {
    justify-content: center !important;
    padding: 0 !important;
  }

  #top.home #header_main .logo a {
    justify-content: center !important;
    width: var(--gr-mobile-brand-logo-width) !important;
    max-width: var(--gr-mobile-brand-logo-width) !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .logo img,
  #top:is(.home, .gr-internal-page) #header_main .gr-home-gov-brand img {
    width: var(--gr-mobile-brand-logo-width) !important;
    max-width: var(--gr-mobile-brand-logo-width) !important;
    height: auto !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-home-gov-brand {
    justify-content: center !important;
    padding: 0 !important;
  }

  #top:is(.home, .gr-internal-page) #header_main .gr-home-gov-brand::before {
    position: absolute !important;
    left: 0 !important;
    flex: none !important;
    margin: 0 !important;
  }
}

/* Home mobile: banner maior sem corte. */
@media only screen and (max-width: 989px) {
  #top.home .gr-home-banner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
  }

  #top.home .gr-home-banner,
  #top.home .gr-home-banner .avia-slideshow,
  #top.home .gr-home-banner .avia-slideshow-inner,
  #top.home .gr-home-banner .avia-slideshow-slide,
  #top.home .gr-home-banner .avia-slide-wrap {
    aspect-ratio: 1500 / 431 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #top.home .gr-home-banner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* Home: controle externo do carrossel principal. */
#top.home {
  --carousel-institutional-blue: #07518b;
  --carousel-institutional-blue-dark: #0d5a91;
  --carousel-control-height: 36px;
  --carousel-control-offset: calc(var(--carousel-control-height) - 1px);
  --carousel-control-edge-space: clamp(44px, 5vw, 72px);
}

#top.home .gr-home-banner {
  margin-bottom: var(--carousel-control-height) !important;
  overflow: visible !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

#top.home .gr-home-banner .avia-slideshow {
  position: relative !important;
  overflow: visible !important;
}

#top.home .gr-home-banner .avia-slideshow-inner {
  overflow: hidden !important;
  border-radius: inherit;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

#top.home .gr-home-banner .avia-slideshow-slide,
#top.home .gr-home-banner .avia-slide-wrap,
#top.home .gr-home-banner img {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

#top.home .gr-home-banner .avia-slideshow-arrows,
#top.home .gr-home-banner .avia-slideshow-dots {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: calc(-1 * var(--carousel-control-offset)) !important;
  left: 0 !important;
  z-index: 20;
  width: 100% !important;
  height: var(--carousel-control-height) !important;
  margin: 0 !important;
  transform: none !important;
}

#top.home .gr-home-banner .avia-slideshow-dots {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 var(--carousel-control-edge-space) !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 1 !important;
  text-align: center;
  box-sizing: border-box;
  isolation: isolate;
  pointer-events: none;
}

#top.home .gr-home-banner .avia-slideshow-dots::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0 0 8px 8px;
  background: var(--carousel-institutional-blue-dark);
  box-shadow: none;
}

#top.home .gr-home-banner .avia-slideshow-dots a {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  flex: 0 0 auto;
  width: 22px;
  height: 6px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: 1 !important;
  pointer-events: auto;
  text-indent: 120%;
  white-space: nowrap;
  transition: width 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#top.home .gr-home-banner .avia-slideshow-dots a.active {
  width: 30px;
  border-color: #ffffff !important;
  background: #ffffff !important;
}

#top.home .gr-home-banner .avia-slideshow-dots a:hover,
#top.home .gr-home-banner .avia-slideshow-dots a:focus-visible {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-1px);
}

#top.home .gr-home-banner .avia-slideshow-arrows {
  display: block !important;
  z-index: 25;
  opacity: 1 !important;
  pointer-events: none;
  visibility: visible !important;
}

#top.home .gr-home-banner .avia-slideshow-arrows::before,
#top.home .gr-home-banner .avia-slideshow-arrows::after {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  width: 10px;
  height: 10px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  pointer-events: none;
}

#top.home .gr-home-banner .avia-slideshow-arrows::before {
  left: clamp(22px, 3vw, 40px);
  transform: translateY(-50%) rotate(225deg);
}

#top.home .gr-home-banner .avia-slideshow-arrows::after {
  right: clamp(22px, 3vw, 40px);
  transform: translateY(-50%) rotate(45deg);
}

#top.home .gr-home-banner .avia-slideshow-arrows a {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  display: flex !important;
  visibility: visible !important;
  align-items: center;
  justify-content: center;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  line-height: 1 !important;
  opacity: 0.88 !important;
  pointer-events: auto;
  text-indent: 0 !important;
  text-shadow: none !important;
  transform: translateY(-50%) !important;
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

#top.home .gr-home-banner .avia-slideshow-arrows a.prev-slide {
  left: clamp(14px, 2.4vw, 28px) !important;
  right: auto !important;
}

#top.home .gr-home-banner .avia-slideshow-arrows a.next-slide {
  right: clamp(14px, 2.4vw, 28px) !important;
  left: auto !important;
}

#top.home .gr-home-banner .avia-slideshow-arrows a::before,
#top.home .gr-home-banner .avia-slideshow-arrows a:hover::before,
#top.home .gr-home-banner .avia-slideshow-arrows a:focus::before {
  position: static !important;
  display: none !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1 !important;
  text-shadow: none !important;
}

#top.home .gr-home-banner .avia-slideshow-arrows a svg {
  display: none !important;
  width: 9px !important;
  height: 19px !important;
  margin: 0 !important;
  fill: currentColor !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

#top.home .gr-home-banner .avia-slideshow-arrows a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block !important;
  width: 12px;
  height: 12px;
  margin: 0;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  box-sizing: border-box;
  opacity: 1;
}

#top.home .gr-home-banner .avia-slideshow-arrows a.prev-slide::after {
  transform: translate(-50%, -50%) rotate(225deg);
}

#top.home .gr-home-banner .avia-slideshow-arrows a.next-slide::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

#top.home .gr-home-banner .avia-slideshow-arrows a:hover,
#top.home .gr-home-banner .avia-slideshow-arrows a:focus-visible {
  background: rgba(255, 255, 255, 0.16) !important;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.04) !important;
}

#top.home .gr-home-banner .avia-slideshow-arrows a:focus-visible,
#top.home .gr-home-banner .avia-slideshow-dots a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media only screen and (max-width: 767px) {
  #top.home {
    --carousel-control-height: 30px;
    --carousel-control-edge-space: 38px;
  }

  #top.home .gr-home-banner {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    margin-right: calc(50% - 50vw + 6px) !important;
    margin-left: calc(50% - 50vw + 6px) !important;
    margin-bottom: calc(var(--carousel-control-height) + 20px) !important;
  }

  #top.home .gr-home-banner .avia-slideshow-dots {
    gap: 7px;
  }

  #top.home .gr-home-banner .avia-slideshow-dots a {
    width: 18px;
    height: 5px;
  }

  #top.home .gr-home-banner .avia-slideshow-dots a.active {
    width: 24px;
  }

  #top.home .gr-home-banner .avia-slideshow-arrows a {
    width: 28px !important;
    height: 28px !important;
  }

  #top.home .gr-home-banner .avia-slideshow-arrows a::after {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  #top.home .gr-home-banner .avia-slideshow-arrows::before,
  #top.home .gr-home-banner .avia-slideshow-arrows::after {
    display: none;
    width: 8px;
    height: 8px;
    border-width: 2px;
  }

  #top.home .gr-home-banner .avia-slideshow-arrows::before {
    left: 20px;
  }

  #top.home .gr-home-banner .avia-slideshow-arrows::after {
    right: 20px;
  }

  #top.home .gr-home-banner .avia-slideshow-arrows a.prev-slide {
    left: 12px !important;
  }

  #top.home .gr-home-banner .avia-slideshow-arrows a.next-slide {
    right: 12px !important;
  }
}

#top.home #header_main .gr-mobile-burger-tools,
#top.home #header_main .gr-mobile-burger-close,
#top.home #header_main .gr-mobile-menu-search-toggle {
  display: none;
}

@media only screen and (max-width: 989px) {
  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner,
  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::before,
  #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger-inner::after {
    background-color: #ffffff !important;
  }

  /* O overlay ja possui controles proprios; oculta so o desenho duplicado e preserva o toggle. */
  html.av-burger-overlay-active #top:is(.home, .gr-internal-page) #header_main #avia-menu > li.av-burger-menu-main .av-hamburger {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner {
    display: block !important;
    width: 100% !important;
    min-height: 100%;
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-burger-tools {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    position: sticky;
    top: 0;
    z-index: 8;
    width: 100%;
    height: 58px;
    padding: 8px 12px;
    gap: 8px;
    border-bottom: 1px solid #e5e9ee;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 35, 52, 0.08);
    box-sizing: border-box;
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-burger-close,
  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-menu-search-toggle {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(7, 81, 139, 0.14);
    border-radius: 50%;
    background: transparent;
    color: #043b69;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-burger-close {
    order: 2;
    margin-left: 0;
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-menu-search-toggle {
    order: 1;
    margin-left: auto;
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-burger-close:hover,
  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-burger-close:focus,
  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-menu-search-toggle:hover,
  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-menu-search-toggle:focus {
    background: rgba(7, 81, 139, 0.08);
    color: #043b69;
    outline: none;
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-burger-close:focus-visible,
  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-menu-search-toggle:focus-visible {
    outline: 2px solid rgba(7, 81, 139, 0.36);
    outline-offset: 2px;
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-burger-close svg,
  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay-inner .gr-mobile-menu-search-toggle svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner .gr-mobile-menu-search-toggle {
    background: rgba(7, 81, 139, 0.1);
  }

  html.av-burger-overlay-active #top.home #header_main .av-burger-overlay #av-burger-menu-ul {
    display: block !important;
    width: 100% !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field {
    display: block !important;
    position: sticky !important;
    top: 58px;
    z-index: 7;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px 14px;
    border-radius: 0;
    border-bottom: 1px solid #e5e9ee;
    background: #f7fafc;
    box-shadow: none;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-form,
  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-wrapper {
    height: 44px;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-form {
    display: block;
    height: auto;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-wrapper {
    overflow: hidden;
    border: 1px solid #cfd9e3;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 35, 52, 0.06);
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-input {
    height: 44px;
    padding-right: 48px;
    padding-left: 14px;
    color: #1f2a37;
    font-size: 16px;
    line-height: 44px;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-submit,
  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-form .ajax_load {
    width: 46px;
    height: 44px;
    min-width: 46px;
    background: transparent !important;
    box-shadow: none !important;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-form .av_searchform_search.avia-svg-icon,
  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-form.ajax_loading_now .av_searchform_search.avia-svg-icon {
    top: 13px;
    right: 15px;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-form .ajax_search_response {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-height: min(42vh, 320px) !important;
    margin-top: 12px !important;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #d7e0ea;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 35, 52, 0.12);
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-form .av_ajax_search_entry {
    padding-right: 14px;
    padding-left: 14px;
  }

  html.av-burger-overlay-active #top.home.gr-mobile-menu-search-open #header_main .av-burger-overlay-inner > .gr-main-menu-search-field .gr-main-menu-search-form .ajax_search_response h4 {
    padding-right: 14px;
    padding-left: 14px;
  }
}


/* Home desktop: aproxima os grupos da barra sem alterar busca, links ou mobile. */
@media only screen and (min-width: 990px) {
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .main_menu {
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 1vw, 14px);
    padding-right: clamp(8px, 0.8vw, 12px);
    padding-left: clamp(8px, 0.8vw, 12px);
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .av-main-nav-wrap {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1px, 0.2vw, 4px);
    width: auto;
    min-width: 0;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu > li {
    flex: 0 0 auto;
    align-items: center;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main #avia-menu > li > a {
    margin: 8px 1px;
    padding-right: clamp(5px, 0.45vw, 8px);
    padding-left: clamp(5px, 0.45vw, 8px);
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-search-field {
    flex: 0 1 clamp(150px, 16vw, 220px);
    min-width: 140px;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social {
    flex: 0 0 auto;
    margin-left: 0;
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks {
    align-items: center;
    gap: clamp(5px, 0.45vw, 7px);
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks li,
  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks li a {
    width: clamp(29px, 2.3vw, 32px);
  }

  html:not([class*="pojo-a11y-resize-font-"]) #top.home:not(.gr-home-header-a11y-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-main-menu-social .social_bookmarks li a {
    font-size: clamp(13px, 1.15vw, 15px);
  }
}

/* Desktop acessível: logos laterais e painel Rumo compartilham a mesma faixa vertical. */
@media only screen and (min-width: 990px) {
  #top.home.gr-home-header-a11y-expanded #header_main .inner-container,
#top.home.gr-rumo-a11y-text-expanded #header_main .inner-container{
    min-height: 116px !important;
    align-items: center !important;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .logo,
#top.home.gr-rumo-a11y-text-expanded #header_main .logo{
    position: relative !important;
    top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 116px !important;
    min-height: 116px !important;
    transform: none !important;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .logo a,
#top.home.gr-rumo-a11y-text-expanded #header_main .logo a,
#top.home.gr-home-header-a11y-expanded #header_main .gr-home-gov-brand,
#top.home.gr-rumo-a11y-text-expanded #header_main .gr-home-gov-brand{
    display: flex !important;
    align-items: center !important;
    height: 116px !important;
    min-height: 116px !important;
    transform: none !important;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .logo a,
#top.home.gr-rumo-a11y-text-expanded #header_main .logo a{
    justify-content: center !important;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-home-gov-brand,
#top.home.gr-rumo-a11y-text-expanded #header_main .gr-home-gov-brand{
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  #top.home.gr-home-header-a11y-expanded #header_main .gr-home-rumo-panel,
#top.home.gr-rumo-a11y-text-expanded #header_main .gr-home-rumo-panel{
    top: 0 !important;
    height: 116px !important;
    min-height: 116px !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* Home desktop sem ampliacao: faixa institucional alinhada e menu normal compacto. */
@media only screen and (min-width: 990px) {
  #top.home:not(.gr-home-header-a11y-expanded):not(.gr-rumo-a11y-text-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .inner-container {
    min-height: 116px !important;
    align-items: center !important;
  }

  #top.home:not(.gr-home-header-a11y-expanded):not(.gr-rumo-a11y-text-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .logo {
    height: 116px !important;
    min-height: 116px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #top.home:not(.gr-home-header-a11y-expanded):not(.gr-rumo-a11y-text-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .logo a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 116px !important;
  }

  #top.home:not(.gr-home-header-a11y-expanded):not(.gr-rumo-a11y-text-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-home-gov-brand {
    top: 0 !important;
    right: 0 !important;
    height: 116px !important;
    min-height: 116px !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    margin: 0 !important;
  }

  #top.home:not(.gr-home-header-a11y-expanded):not(.gr-rumo-a11y-text-expanded):not([class*="pojo-a11y-resize-font-"]) #header_main .gr-home-rumo-panel {
    top: 0 !important;
    height: 116px !important;
    min-height: 116px !important;
    margin: 0 !important;
    transform: none !important;
  }
}
