@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

html,
body {
  font-family: Ubuntu, Arial;
  width: 100%;
  height: 100%;
}

#header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #021124;
  transition: all ease-in-out 0.5s padding 0 15px;
  z-index: 9997;
  /*margin: 10px;*/
}

#header .home img {
  /*background-color: #fff;*/
  /*border: 2px solid #fff; /* Adiciona uma borda branca de 2 pixels */
  /*border-radius: 30px;*/
  margin: 14px auto;
  display: block;
  width: 300px;
}

#header .home h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  color: #fff;
}

#header .home .social-links a {
  font-size: 1rem;
  background: #212431;
  color: #fff;
  padding: 0.5rem;
  margin-right: 1rem;
  border-radius: 30%;
  transition: 0.3s;
  text-decoration: none;
  line-height: 3;
  /* Ajuste conforme necessário */
  vertical-align: middle;
}

#header .home .social-links a:hover {
  background: #149ddd;
}

/*Navebar*/
.nav-menu {
  padding: 1.5rem;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  transition: 0.3s;
  color: #a8a9b4;
  font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
  padding-right: 0.8rem;
  color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover > a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover > a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover > a i {
  color: #149ddd;
}

#main {
  margin-top: 105px;
}

section#inicio {
  background-image: url(./static/img/fundo.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;

  width: 100%;
  height: 100vh;
}

section#inicio h2 {
  font-size: 2.5rem;
}

section#inicio span#subtitle {
  margin-right: 8rem;
  font-size: 1.5rem;
}

.text-shadow {
  text-shadow: 4px 4px 10px #000000;
}

section#inicio div#arraste {
  width: 9rem;
}

section#inicio div#arraste a {
  text-decoration: none;
  color: #fff;
}

i.menu-mobile {
  position: fixed;
  color: #fff;
  background-color: #021124;
  right: 1rem;
  top: 0rem;
  font-size: 1.5rem;
  border-radius: 4rem;
  cursor: pointer;
  z-index: 99999;
  width: 45px;
  height: 45px;
  display: none;
  justify-content: center;
  align-items: center;
}

.menu-nav-active {
  overflow: hidden;
}

.menu-nav-active #header {
  top: 0;
}

@media (max-width: 1024px) {
  #header {
    top: -300px;
    left: -300px;
  }

  i.menu-mobile {
    display: flex;
  }

  section#inicio h2 {
    font-size: 3.5rem;
  }

  section#inicio span#subtitle {
    margin-right: 0;
    font-size: 1rem;
  }

  #main {
    margin-top: 0;
    margin-left: 0;
  }
}

/*Barra de rolagem*/
*::-webkit-scrollbar {
  width: 5px;
}

*::-webkit-scrollbar-track {
  width: 12px;
  box-shadow: inset 0 0.3rem #00000050;
  background-color: #fff;
}

*::-webkit-scrollbar-thumb {
  background-color: #252c90;
}

.section-bg {
  background-color: #e5edf8;
}

/*
.carousel-control-prev {
    left: -8rem;
}

.carousel-control-next {
    right: -8rem;
}*/

/*Animação*/
[data-anime] {
  opacity: 0;
  transition: 1s;
}

[data-anime="down"] {
  transform: translate3d(0, -100%, 0);
}

[data-anime="up"] {
  transform: translate3d(0, 100%, 0);
}

[data-anime="laft"] {
  transform: translate3d(-100%, 0, 0);
}

[data-anime="right"] {
  transform: translate3d(50px, 0, 0);
}

[data-anime].animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1860px) {
  .carousel-control-prev {
    margin-left: 0;
  }

  .carousel-control-next {
    margin-right: 0;
  }

  [data-anime="right"] {
    transform: translate3d(-100%, 0, 0);
  }
}

.carousel-item {
  transition: transform 5.2s ease;
}

#sobre {
  /* padding-top: 70px;  */
}
#clientes {
  padding-top: 100px;
}
#servicos {
  /* padding-top: 100px;  */
}
#contato {
  padding-top: 50px;
}

@media (max-width: 767.98px) {
  #sobre {
    padding-top: 0;
  }
  #clientes {
    padding-top: 0;
  }
  #servicos {
    padding-top: 0;
  }
  #contato {
    padding-top: 0;
  }
}

.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.whatsapp-icon img {
  width: 70px; /* Ajuste o tamanho conforme necessário */
  height: auto;
}

/*Rodapé*/

footer {
  font-size: 10px;
  background-color: #021124;
  color: #6f7180;
  padding: 0.2px;
}

/*Alerta*/
.info-balao {
  position: absolute;
  background-color: #007bff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
}

.nav-item:hover .info-balao,
.nav-item.tocado .info-balao {
  opacity: 1;
  pointer-events: auto; /* Permite que o usuário clique no balão */
}

@media screen and (max-width: 768px) {
  .nav-item {
    position: relative; /* Adiciona posição relativa para facilitar o posicionamento absoluto do balão */
  }

  .info-balao {
    top: -30px; /* Posiciona o balão acima do link em dispositivos móveis */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none; /* Oculta o balão em dispositivos móveis até ser tocado */
  }

  .nav-item.tocado .info-balao {
    opacity: 1;
    pointer-events: auto; /* Permite que o usuário clique no balão */
  }
}

#btn-enviar-loader {
  display: none;
}

#alerta {
  position: fixed;
  z-index: 10;
  top: 100px;
  right: 30px;
}

.card-container {
  perspective: 1000px;
}

.card {
  position: relative;
  width: 100%;
  height: 230px; /* Mantém altura para manter o tamanho do card */
  transition: transform 1.5s;
  transform-style: preserve-3d;
  margin-bottom: 10px; /* Espaçamento entre os cards */
  cursor: pointer;
}

.card .card-front,
.card .card-back {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.card .card-front {
  z-index: 2;
  position: relative;
}

.card .card-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
  z-index: 1;
  display: none;
  background-color: #021124;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 10px;
}

.card:hover {
  transform: rotateY(180deg);
}

.card:hover .card-front {
  opacity: 0;
}

.card:hover .card-back {
  display: flex;
  opacity: 1;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.gradient-bg {
  background: linear-gradient(to top, #0052aa, #fff);
  overflow: hidden;
}

.short-line {
  border: 0;
  height: 15px;
  background-color: rgb(0, 7, 61);
  margin-top: 5px;
  width: 70px;
}

h3 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 20px;
}

p.lead {
  font-size: 1.25rem;
  margin-bottom: 0;
}

#client-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  padding: 20px 40px;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 auto;
}

.client-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.client-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.client-card-title {
  text-align: center;
  letter-spacing: 1px;
  padding: 4px;
  font-size: 14px;
}

#section-empresas {
  padding: 40px 20px;
}
