@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  box-shadow: none;
}

.banner {
  z-index: 0;
}

html,
body {
  overflow-x: hidden !important;
}

.header {
  background-color: #315f94dd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 12px 25px;
  display: flex;
  margin-top: 30px;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  z-index: 9999;
  width: 100%;
  border-radius: 20px;
}

.logo-biomega {
  background-color: #FFF;
  border-radius: 20px;
  padding: 5px 20px;
}

.menu {
  width: 100%;
  display: flex;
  justify-content: space-around;
  position: relative;
  align-items: center;
}

.menu a {
  color: #FFF;
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: color 0.2s ease;
}

.menu-item {
  position: relative;
}

.menu-item>a {
  display: inline-block;
  color: #FFF;
  text-decoration: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #f2f2f2;
}

/* Mostrar dropdown ao hover */
.menu-item:hover .dropdown-menu {
  display: block;
}

.bts-nav {
  white-space: nowrap;
}

.bts-nav a {
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
}

.btn-resultados {
  position: relative;
  overflow: hidden;
  /* impede que a faixa saia pra fora */
  padding: 8px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin-left: 18px;
  font-weight: 600 !important;
  background: transparent;
  color: #316094;
  cursor: pointer;
  background-color: #FFF;

  transition: transform 0.5s ease;
}

.btn-resultados.in {
  display: none;
}

.btn-resultados:hover {
  transform: scale(1.05);
}

.btn-resultados::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  /* começa fora da esquerda */
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: skewX(-25deg);
}

.btn-resultados:hover::before {
  animation: faixaPassando 1s linear forwards;
}

@keyframes faixaPassando {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
    /* vai até sair do lado direito */
  }
}

.menu a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #FFF;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.menu a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* Botão hamburguer */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1px;
  cursor: pointer;
  color: #C40D1F;
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 8.1);
}

/* Text size */
.alt-plus {
  font-size: 60px;
  font-weight: 600;
}

.alt-title {
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 400;
}


.alt-sub-title {
  font-size: clamp(25px, 3.7vw, 26px);
  line-height: 32px;
}

.alt-meddium {
  font-size: 33px;
}

.alt-normal {
  font-size: 22px;
}

.alt-small {
  font-size: 16px;
  font-weight: 400;
}

.alt-extra-small {
  font-size: 16px;
  font-weight: 400;
}

/* Text colors */
.text-white {
  color: #FFF !important;
}

.text-black {
  color: #000 !important;
}

.text-red {
  color: #AA1E2D !important;
}

.text-blue {
  color: #316094 !important;
}

.text-gray {
  color: #707070 !important;
}

/* backgrounds */
.bg-gray {
  background-color: #F3F3F3;
}

.bg-white {
  background-color: #FFFFFF;
}

.bg-blue {
  background-color: #316094;
}

/* footer */
.footer {
  background-color: #F8F8F8;
}

.btn-outline-primary {
  border-color: #316094;
  color: #316094;
  padding: 5px 50px !important;
}

.btn-outline-primary:hover {
  border-color: #316094;
  background-color: transparent;
  color: #316094;
}

.btn-outline-danger {
  border-color: #AA1E2D;
  color: #AA1E2D;
}

.btn-outline-danger:hover {
  border-color: #AA1E2D;
  background-color: transparent;
  color: #AA1E2D;
}

.btn-red {
  background-color: #AA1E2D;
  color: #FFF;
  font-weight: 500;
  border-radius: 15px;
  padding: 9px 25px;
  text-decoration: none;
}

.btn-blue {
  background-color: #316094;
  color: #FFF;
  font-weight: 500;
  border-radius: 15px;
  padding: 9px 68px;
  text-decoration: none;
}

.z-index-1 {
  z-index: 1;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 99999;
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

.popup img {
  transform: scale(0.9);
  transition: transform 1s ease;
}

.popup.show img {
  transform: scale(1);
}

@media (min-width: 1550px) {
  .menu a {
    font-size: 19px;
  }

  .ul-footer li a {
    font-size: 19px;
  }
}

@media (max-width: 1200px) {
  .logo-biomega {
    min-width: 100px !important;
  }

  /* Botão hamburguer aparece */
  .menu-toggle {
    display: block;
  }

  /* Menu escondido por padrão */
  .menu {
    display: none;
    flex-direction: column;
    background: #315f94dd;
    position: absolute;
    top: 72px;
    right: 0;
    width: 100%;
    padding: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 9999;
  }

  .menu a {
    width: 100%;
    text-align: start;
  }

  .menu div {
    width: 100%;
    text-align: start;
  }

  /* Mostra quando ativo */
  .menu.show {
    display: flex;
  }

  /* Links no mobile */
  .menu a {
    padding: 10px 0;
  }

  /* Dropdown no mobile */
  .dropdown-menu {
    position: relative;
    background: transparent;
    box-shadow: none;
    padding-left: 15px;
  }

  .menu-item:hover .dropdown-menu {
    display: none;
    /* no mobile não abre no hover */
  }

  .menu-item.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .btn-resultados.out {
    display: none;
  }

  .btn-tel-menu {
    display: none;
  }

  .btn-resultados.in {
    display: block;
    margin: 0;
    padding: 8px 20px;
    color: #316094;

  }

  .btn-tel-menu-2 {
    display: block !important;
  }
}

@media (max-width: 468px) {
  .btn-outline-danger {
    width: 100% !important;
    margin-bottom: 20px;
  }

  .btn-outline-primary {
    width: 100% !important;
  }

  .logo-biomega {
    width: 120px !important;
  }

  .header {
    width: 94% !important;
  }
}

@media (max-width: 378px) {
  .margin-extra {
    margin-top: 100px;
  }
}