/**
 * Cabeçalho / menu do site (LP) — isolado dos estilos da landing page
 */

.site-header {
  background: #032a64;
  color: #fff;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.site-header .navbar {
  border-top: none;
  padding: 0;
}

.site-header div#mainNav {
  position: fixed;
  top: 89px;
  right: 0;
  bottom: 0;
  left: 105%;
  overflow: hidden;
  transition: left 0.35s ease;
  z-index: 99999999999999;
  background: #fff;
}

.site-header div#mainNav.show {
  left: 0;
}

.site-header .d-none-mobile {
  display: none;
}

.site-header .dropdown.login {
  position: initial;
}

.site-header .dropdown.login .dropdown-menu.show {
  display: grid;
  top: 89px;
  width: 100%;
}

.site-header .navbar-toggler {
  border: none;
  padding: 10px;
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
}

.site-header a {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 991px) {
  .site-header {
    box-shadow: none;
  }

  .site-header .navbar {
    border-top: 1px solid rgb(222, 226, 230);
    padding: 8px 0;
  }

  .site-header div#mainNav {
    position: relative;
    top: 0;
    left: 0;
    overflow: visible;
    z-index: 999;
  }

  .site-header .d-none-mobile {
    display: initial;
  }

  .site-header .dropdown.login {
    position: relative;
  }

  .site-header .dropdown.login .dropdown-menu.show {
    top: 100%;
    width: auto;
  }

  .site-header .menu-topo .logo-acessos-pesquisa {
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 990px) {
  .site-header .dropdown.login .dropdown-menu.show {
    top: 100%;
    width: auto;
  }
}

.site-header a.navbar-brand {
  margin-right: 0 !important;
}

.site-header .navbar-toggler {
  margin-left: 0 !important;
}

.site-header .navbar-brand img {
  max-height: 55px;
}

.logo-acessos-pesquisa {
  display: block !important;
  padding-right: 12px !important;
  padding-left: 12px !important;
}

@media (min-width: 991px) {
  .logo-acessos-pesquisa {
    display: flex !important;
  }
}

.logo-acessos-pesquisa .btn-group-header {
  display: flex;
  justify-content: space-between;
  margin-right: 0 !important;
}

@media (min-width: 991px) {
  .logo-acessos-pesquisa .btn-group-header {
    display: block;
    margin-right: 16px !important;
  }
}

.logo-acessos-pesquisa .area-mobile {
  display: flex;
  gap: 16px;
  align-items: center;
}

.logo-acessos-pesquisa .area-mobile .btn-pink {
  padding: 6px 12px !important;
}

.menu-topo .login ul a {
  color: #33adc8;
}

.menu-topo .login ul div {
  padding: 10px;
}

.menu-topo .login ul div a {
  font-size: 12px;
  padding-top: 10px;
  margin-left: 5px;
}

.menu-topo .login ul div .btn {
  background-color: #0072bc;
  color: #fff;
  border-radius: 20px;
  float: right;
}

.menu-topo .login ul div .btn:hover {
  background-color: #fff;
  color: #0072bc;
}

.menu-topo .login ul input {
  padding: 8px 16px;
  border: none;
  border-radius: 25px;
  background-color: #e7f6fa;
  font-size: 16px;
  color: #333;
  outline: none;
  margin-bottom: 10px;
  transition: box-shadow 0.3s ease;
}

.menu-topo .login ul input::placeholder {
  color: #666;
  opacity: 0.8;
}

.menu-topo .login ul input:focus {
  box-shadow: 0 0 0 2px #b3e0eb;
  background-color: #dff3f9;
}

.busca input::placeholder {
  font-size: 12px;
}

.btn-group-header .btn {
  font-size: 12px;
}

.btn-group-header .dropdown-toggle::after {
  display: none !important;
}

.btn-group-header .dropdown-menu span {
  color: #4f4d4d;
  padding: 0 6px;
  font-weight: 600;
  font-size: 14px;
}

.btn-group-header .btn:hover {
  color: #6f6c6c !important;
  background-color: #fff;
  border: #6f6c6c solid 1px;
}

.btn-sky:active,
.btn-sky.show,
.btn-pink.active,
.btn-pink.show,
.show > .dropdown-toggle {
  color: #6f6c6c !important;
  background-color: #fff !important;
  border: 1px solid #6f6c6c !important;
  box-shadow: none !important;
}

.site-header .dropdown-item {
  color: #6f6c6c !important;
}

.site-header .dropdown-menu {
  padding: 10px 0 !important;
}

.site-header .dropdown-menu hr {
  height: 3px;
  background-color: #262627;
}

.site-header .dropdown-menu span {
  color: #4f4d4d;
  padding: 0 16px;
}

.site-header .btn-pink {
  background-color: #e43470;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 6px 18px;
}

.site-header .btn-darkblue {
  background-color: #032a64;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 6px 18px;
}

.site-header .btn-sky {
  background-color: #33adc8;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 6px 18px;
}

.site-header .navbar-nav .nav-link {
  color: #6f6c6c;
  margin: 0 10px;
  font-size: 0.95rem;
}

@media screen and (min-width: 991px) and (max-width: 1200px) {
  .site-header ul.navbar-nav .nav-link {
    font-size: 0.8rem;
    margin: 0 5px;
  }
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
  color: #032a64;
}

.site-header .dropdown-item:hover {
  background-color: #d5d7d9;
}

.site-header .modal-close-x {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 22px;
  color: #666;
  background: none;
  border: none;
  z-index: 10;
}

.site-header .modal-close-x:hover {
  color: #000;
}

.site-header .modal-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  display: inline-block;
  font-weight: bold;
  margin: 0 auto;
}

.site-header .modal-custom-success {
  border-radius: 14px;
  border-left: 6px solid #28a745;
  animation: febrasgoHeaderModalPop 0.25s ease;
}

.site-header .success-icon {
  background: #28a74522;
  color: #28a745;
}

.site-header .modal-custom-error {
  border-radius: 14px;
  border-left: 6px solid #dc3545;
  animation: febrasgoHeaderModalPop 0.25s ease;
}

.site-header .error-icon {
  background: #dc354522;
  color: #dc3545;
}

#modalErro .modal-content .modal-title,
#modalErro .modal-content p {
  color: #e6007e;
}

#modalSucesso .modal-content .modal-title,
#modalSucesso .modal-content p {
  color: #032a64;
}

@keyframes febrasgoHeaderModalPop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#mainNav .pesquisa-mobile {
  display: none;
}

@media (max-width: 991px) {
  .site-header .navbar .form-control {
    width: 100%;
  }

  .site-header .navbar-nav .nav-link {
    text-align: center;
  }

  #mainNav {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    height: calc(100vh - 250px);
    overflow-y: auto;
  }

  #mainNav .navbar-nav {
    width: 100%;
  }

  #mainNav .pesquisa-mobile {
    margin-top: auto;
    padding: 20px 0;
    width: 100%;
    position: sticky;
    bottom: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  #mainNav .pesquisa-mobile .mobile-btns {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 20px;
  }

  #mainNav .pesquisa-mobile .mobile-btns a {
    font-size: 12px;
  }

  #mainNav .busca-mobile {
    width: 90%;
  }
}
