/* Brbens - mobile / menu (layout ate 768px) */

.cabecalho {
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 2.5rem;
  width: 100%;
}

.cabecalho .menu-tube {
  top: 0;
  right: 2.5rem;
  height: 60px;
  width: auto;
  position: absolute;
  z-index: -1;
}

.cabecalho .menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cabecalho .menu .toggle {
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.cabecalho .menu .toggle span {
  width: 65%;
  height: 2px;
  margin: 0 auto;
  background-color: #333;
  position: relative;
}

.cabecalho .menu .toggle span:before,
.cabecalho .menu .toggle span:after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #333;
  display: block;
  position: absolute;
}

.cabecalho .menu .toggle span:before {
  top: 8px;
}

.cabecalho .menu .toggle span:after {
  top: -8px;
}

.cabecalho .menu .logo {
  width: 150px;
  max-height: 50px;
  height: 100%;
}

.cabecalho .menu .logo a {
  width: 100%;
  height: 100%;
  line-height: 0;
}

.cabecalho .menu .logo a img {
  width: 100%;
  height: 100%;
}

.cabecalho .menu .lista {
  display: flex;
}

.cabecalho .menu .lista-item {
  margin: 0 1.5rem;
}

.cabecalho .menu .lista-item-link {
  color: #FFF;
  font-family: "Airbnb Cereal App", sans-serif;
  font-size: 1.25rem;
}

.cabecalho.ativo {
  top: 0;
  position: sticky;
  padding-top: 5px;
  padding-bottom: 7px;
  margin-bottom: 0;
  z-index: 99;
  background-color: #FFF;
  border-bottom: 1px solid #DDD;
}

.cabecalho.ativo::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  top: -1px;
  left: 0;
  background-color: #FFF;
}

.cabecalho.ativo .menu-tube {
  display: none;
}

.cabecalho.ativo .logo {
  width: 120px;
}

.cabecalho.ativo .menu .toggle {
  width: 40px;
  height: 40px;
}

.cabecalho.ativo .menu .toggle span {
  width: 60%;
}

.modal-menu,
.menu-simulacao {
  width: 101%;
  height: 100%;
  top: 0;
  right: -100%;
  z-index: 100;
  position: fixed;
  visibility: hidden;
  overflow-y: auto;
  transition: 150ms ease;
}

.modal-menu .nav-menu,
.menu-simulacao .nav-menu {
  width: 100%;
  height: 100%;
  padding-top: 1.5rem;
  padding-right: 1.5rem;
  background: #22271C;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  flex-direction: column;
}

.modal-menu .nav-menu .item-menu,
.menu-simulacao .nav-menu .item-menu {
  color: #FFF;
  margin-bottom: 1.5rem;
  font-family: "Airbnb Cereal App", sans-serif;
  font-size: 1.125rem;
}

.modal-menu .nav-menu .item-menu:last-child,
.menu-simulacao .nav-menu .item-menu:last-child {
  margin-bottom: 0;
}

.modal-menu .nav-menu .item-menu:hover,
.modal-menu .nav-menu .item-menu .ativo,
.menu-simulacao .nav-menu .item-menu:hover,
.menu-simulacao .nav-menu .item-menu .ativo {
  color: #3BAD4C;
}

.modal-menu .nav-menu .item-menu.btn-fecha-menu,
.menu-simulacao .nav-menu .item-menu.btn-fecha-menu {
  color: #3BAD4C;
  margin-bottom: 3rem;
  font-size: 1.375rem;
}

.modal-menu.ativo,
.menu-simulacao.ativo {
  right: -1px;
  visibility: visible;
  transition: 150ms ease-in;
}

.btn-fecha-menu {
  color: #3BAD4C;
  margin-bottom: 4rem;
  font-family: "Airbnb Cereal App", sans-serif;
  font-size: 1.375rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  transition: 0.3s;
}

.btn-fecha-menu svg {
  width: 25px;
  height: 25px;
  stroke: #3BAD4C;
  margin-left: 25px;
}

.btn-fecha-menu:hover {
  opacity: .7;
  transition: 0.3s;
}
