/* ============================================
   LAYOUT — Topo, header fixo, nav, menus
   ============================================ */

.fixed {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background-color: #fff; }
  .fixed .menu { border-bottom: 0; }

.hided { display: none; }

/* ----- Topo ----- */
.topo .links {
  color: #5776B0;
  font-size: 12px; }
  .topo .links span:not(:first-child) { padding-left: 13px; }

.topo .acessibilidade span {
  color: #5776B0;
  font-size: 13px; }

.topo .acessibilidade img { cursor: pointer; }

/* ----- Menu principal ----- */
.menu_index {
  font-size: 12px;
  border-bottom: 0.5px solid black;
  padding: 15px 0; }
.portal-header .menu_index > .nav { justify-content: flex-start; }
  .menu_index table { width: 100%; }
    .menu_index table td { cursor: pointer; }
      .menu_index table td:not(:first-child) { text-align: center; }
      .menu_index table td:not(:last-child) { border-right: 1px solid black; }
      .menu_index table td:hover { color: #9b9b9b; }

.menu {
  margin-top: 16px;
  border-bottom: 1px solid black;
  padding-bottom: 3px;
  display: flex; }
  @media (max-width: 1109px) {
    .menu { display: none; } }
  .menu .list-inline dl, .menu ol, .menu ul {
    margin-top: 16px;
    font-size: 10px; }
  .menu .list-inline .list-inline-item:last-child {
    background-color: #5776B0;
    border: 0px;
    padding: 0px 5px;
    color: #fff;
    margin-top: -18px;
    float: right;
    font-family: RobotoLight;
    font-size: 10px; }
  .menu .list-inline-item + .list-inline-item {
    padding-left: 5px;
    border-left: 1px solid currentColor; }
  .menu.grande {
    border-bottom: 0;
    padding-bottom: 5px; }
    .menu.grande .list-inline dl, .menu.grande ol, .menu.grande ul {
      font-size: 12px;
      cursor: pointer; }
  .menu .list-inline li { position: relative; }
    .menu .list-inline li:hover { color: #9b9b9b; }
  @media (min-width: 992px) {
    .menu .list-inline { margin-left: -30px; } }
  @media (min-width: 1200px) {
    .menu .list-inline { margin-left: -50px; } }

.pagina {
  padding-top: 10px;
  margin-bottom: 25px; }
  .pagina img { margin-top: -3px; }
  .pagina span {
    margin-left: 5px;
    font-size: 21px;
    font-family: RobotoLight; }
  .pagina .titulo { margin-top: 5px; }
  .pagina .navigation li { cursor: pointer; }
    .pagina .navigation li:hover { color: #9b9b9b; }

/* ----- Busca inline ----- */
.inner-addon {
  position: relative;
  margin-top: 5px; }
  .inner-addon i {
    position: absolute;
    padding: 4px;
    padding-right: 6px;
    pointer-events: none;
    right: 0px; }
  .inner-addon input {
    font-size: 12px;
    border: 1px solid black;
    border-radius: 0px;
    padding: 5px;
    padding-right: 30px; }

.abamenu {
  display: none;
  color: #fff;
  background-color: #5776B0;
  height: 150px;
  width: 100%;
  position: absolute;
  top: -2px;
  text-align: center;
  padding-top: 1px; }

/* ----- Menu mobile (painel lateral) ----- */
.headermenucontent {
  -webkit-transition: all 500ms ease-out 0.25s;
  -moz-transition: all 500ms ease-out 0.25s;
  -o-transition: all 500ms ease-out 0.25s;
  transition: all 500ms ease-out 0.25s;
  width: 280px;
  background-color: #5776B0;
  color: #fff;
  position: fixed;
  top: 0;
  left: -290px;
  opacity: 0;
  height: 100vh;
  padding: 20px;
  padding-top: 80px;
  font-size: 15px;
  font-family: RobotoLight;
  z-index: 60; }
  .headermenucontent.visivel {
    display: block;
    left: 0;
    opacity: 1; }
  .headermenucontent input {
    margin-top: 30px;
    border: 1px solid #fff;
    background-color: #5776B0;
    width: 200px; }
  .headermenucontent ::-webkit-input-placeholder { color: #fff; }
  .headermenucontent .inner-addon i { right: 43px; }
  .headermenucontent .hamburger {
    display: none;
    position: absolute;
    top: 22px;
    left: 24px;
    cursor: pointer; }
  .headermenucontent .close_menu {
    position: absolute;
    top: 19px;
    left: 14px;
    height: 40px;
    cursor: pointer; }
  .headermenucontent .itens { list-style: none; }
    .headermenucontent .itens li {
      margin-bottom: 10px;
      cursor: pointer; }
      .headermenucontent .itens li:hover { font-family: RobotoBold; }
    .headermenucontent .itens li:last-child {
      margin-top: 20px;
      background-color: #fff;
      width: 100%;
      color: #3AB186;
      font-size: 12px;
      padding: 10px;
      font-family: RobotoBold; }

.headermenu {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 10px;
  width: 100vw;
  height: 60px;
  z-index: 49;
  background-color: #fff; }
  .headermenu .logo {
    cursor: pointer;
    float: right;
    margin-right: 40px;
    margin-top: -4px; }
    .headermenu .logo img { max-width: 109px; }
  .headermenu .hamburger {
    cursor: pointer;
    margin-top: 7px;
    float: left;
    margin-left: 6vw;
    z-index: 61; }
    .headermenu .hamburger img { max-width: 109px; }

.menu_exp {
  display: none;
  background-color: #5776B0;
  padding: 40px 0 40px 0; }
  .menu_exp .menu_box {
    cursor: pointer;
    min-width: 170px;
    width: calc((100%/6) - 10px);
    margin-bottom: 20px;
    background-color: #5776B0;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    color: #fff;
    font-family: RobotoLight;
    text-transform: uppercase;
    text-align: center; }
    .menu_exp .menu_box:hover { background-color: rgba(87, 118, 176, 0.7); }
    .menu_exp .menu_box .linha {
      padding-left: 14px;
      width: 100%; }
    .menu_exp .menu_box .coluna_a {
      width: 42px;
      float: left;
      height: 66px;
      display: flex;
      align-items: center;
      line-height: 12px; }
      .menu_exp .menu_box .coluna_a img {
        max-width: 56px;
        max-height: 34px;
        width: 100px;
        padding-right: 21px; }
    .menu_exp .menu_box .coluna_b {
      display: flex;
      align-items: center;
      float: left;
      text-align: left;
      line-height: 17px;
      height: 66px; }
      .menu_exp .menu_box .coluna_b p {
        margin-bottom: 3px;
        font-size: 14px; }

/* ----- Nav ----- */
.nav {
  width: 100%;
  display: flex;
  align-items: center;
  list-style-type: none;
  justify-content: space-around;
  border: none;
  padding: 0;
  margin: 0; }

.nav li { padding: 2px 10px; }
.nav li { border-right: 1px solid #333; }
.nav li:last-child { border: none; }
.nav li a {
  text-decoration: none;
  text-transform: uppercase;
  color: #333;
  font-size: 12px;
  font-weight: 400; }
.nav li a:hover { color: #9b9b9b; }
.nav .menu { border: none; }
/* nav fixed */
.list-inline .nav { justify-content: start; }
.list-inline .nav li { margin: 0; padding: 2px 8px; }
.list-inline .nav li a { margin: 0; padding: 0; font-size: 10px; }
.list-inline .btnOuvidoria { top: -15px; }

/* nav mobile */
.itens .nav { display: block; width: 100%; }
.itens .nav li { border: none; width: 100%; }
.itens .nav li a { color: #fff; width: 100%; font-weight: bold; }
.itens .nav li:last-child {
  background: transparent;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  margin-left: 10px; }

.search label { display: none; }

/* ----- Header do portal ----- */
.portal-header .atalhos a {
  position: fixed;
  top: 0;
  left: 15px;
  z-index: 70;
  padding: 10px;
  background: #fff;
  color: #243f70;
  transform: translateY(-150%); }
.portal-header .atalhos a:focus { transform: translateY(0); }
.portal-header :focus-visible {
  outline: 3px solid #243f70;
  outline-offset: 3px; }
.portal-header .topo {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap; }
.header-region-links {
  order: -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px; }
.header-accessibility {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px; }
.header-accessibility button {
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer; }
/* Assinatura institucional principal. */
.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0; }
.header-brand { min-width: 0; text-align: center; }
.header-logo { width: auto; height: 50px; max-width: 420px; }
.header-brand .header-logo { display: block; width: 600px; max-width: 100%; height: auto; margin: 0 auto; }

/* ----- Barra principal: logo esquerda + nav inline + SIC ----- */
.portal-header .header-mainbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #111; }
.portal-header .header-brand-inline {
  flex: 0 0 auto;
  display: flex;
  align-items: center; }
.portal-header .header-brand-inline .header-logo {
  height: 50px;
  width: auto;
  max-width: 420px; }
.portal-header .header-nav-inline {
  flex: 1;
  min-width: 0;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  padding: 0 !important;
  border: none !important;
  margin: 0; }
.portal-header .header-nav-inline > ul.nav {
  flex: 1;
  justify-content: flex-end;
  flex-wrap: nowrap;
  overflow: hidden; }
.portal-header .header-nav-inline > ul.nav li a { font-size: 11px; white-space: nowrap; }
.portal-header .header-nav-inline .header-sic { flex-shrink: 0; margin-left: 4px; }

/* ----- Nav global (desktop) — sem wrap na mainbar ----- */
.portal-header .nav { flex-wrap: wrap; gap: 6px 0; }
.portal-header .header-nav-inline .nav { flex-wrap: nowrap; gap: 0; }

/* Barra fixa: marca e SIC acima, navegação em uma linha própria. */
.portal-header #fixado { background: #fff; border-bottom: 1px solid #d9dfe8; box-shadow: 0 3px 10px rgba(36, 63, 112, 0.12); }
.header-sticky-menu { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 24px; padding: 10px 0 8px; }
.header-sticky-logo { display: block; width: 132px; }
.header-sticky-logo img { display: block; width: 132px; height: 56px; object-fit: contain; }
.header-sticky-menu > .header-sic { justify-self: end; padding: 8px 12px; font-size: 12px; }
.header-sticky-links {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid #e4e8f3;
  padding-top: 4px; }
.portal-header .header-sticky-links .nav {
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 0; }
.header-sticky-links .nav li { flex: 0 0 auto; padding: 0; border: 0; }
.header-sticky-links .nav li a { display: block; padding: 10px 6px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.header-sticky-links .nav li a:hover { background: #e4e8f3; color: #243f70; }

/* ----- SIC button ----- */
.header-sic {
  display: inline-block;
  padding: 4px 10px;
  background: #5776B0;
  color: #fff !important;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap; }
.header-sic:hover { background: #3f5a8f; color: #fff; text-decoration: none; }

/* ----- Mobile: headermenu ----- */
.portal-header .headermenu {
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between; }
.portal-header .headermenu .logo { float: none; margin: 0; order: 1; }
.portal-header .headermenu .logo img { width: 109px; height: 46px; }

/* Hamburger com fundo azul (igual à referência mobile) */
.portal-header .header-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  cursor: pointer; }
.portal-header .header-menu-toggle img { max-width: 100%; max-height: 100%; }
.portal-header .headermenu .hamburger {
  float: none;
  margin: 0;
  background-color: #5776B0; }
.portal-header .headermenu .hamburger img {
  filter: none; }

/* ----- Mobile menu panel ----- */
.portal-header .headermenucontent {
  max-width: 100%;
  overflow-y: auto;
  visibility: hidden;
  transition: left 250ms ease, opacity 250ms ease; }
.portal-header .headermenucontent.visivel { visibility: visible; }
.portal-header .headermenucontent :focus-visible { outline-color: #fff; }
.portal-header .header-mobile-tools { list-style: none; padding: 0; }
.portal-header .itens .nav li { margin: 0 0 10px; padding: 2px 10px; }
.portal-header .itens .nav a { display: block; }

@media (max-width: 1109px) {
  .portal-header .header-desktop { display: none; }
  .portal-header #fixado { display: none !important; } }
@media (min-width: 1110px) {
  .portal-header .headermenu, .portal-header .headermenucontent { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .portal-header .headermenucontent { transition: none; } }
