/*geral*/
html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #191919;
}

#backToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 8.5px;
  background: transparent;
  border: none;              /* remove a borda */
  padding: 0;                /* remove espaço extra */
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: 0.3s ease;
}

/* imagem */
#backToTopBtn img {
  width: 40px;               /* ajuste conforme o PNG */
  height: 40px;
  display: block;
}

/* hover opcional */
#backToTopBtn:hover {
  transform: scale(1.1);
}


/*cabecalho*/
.cabecalho {
  background-color: #bb2227;
  display: flex;
  justify-content: space-between;
  padding: 15px 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* icons cabecalho */
.icons img {
  width: 24px;
  margin: 0 4.5px;
}

.icons a {
  margin: 0 1px;
}

/*cliente*/
.btCliente {
  padding: 8px 30px;
  font-size: 16px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border-radius: 15px;
  transition: background 0.3s ease,
    transform 0.1s ease,
    color 0.3s ease,
    font-size 0.3s ease;
  margin-left: -30px;
}

.btCliente:hover {
  background: rgba(209, 0, 25, 0.7);
  color: rgba(255, 255, 255, 1);
}

.btCliente:active {
  background: rgba(180, 0, 25, 0.9);
  transform: scale(0.95);
  color: rgba(255, 255, 255, 0.9);
}

/* navegacao*/
nav {
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  background-color: transparent;
  position: relative;
  margin-left: 0.5%;
  z-index: 2;
}

/* menu */
nav .logo {
  margin-top: 25px;
  margin-left: 50px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 60px;
  padding: 0;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-right: 45px;
}

.menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 20.5px;
  letter-spacing: 1px;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: #ffffff;
  transition: width 0.3s ease-in-out;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.menuLetra {
  position: relative;
  color: white;
  backdrop-filter: blur(3px);
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

.menuLetra::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: #ffffff;
  transition: width 0.3s ease-in-out;
}

.menuLetra:hover::after,
.menuLetra.active::after {
  width: 100%;
}

/* pag principal*/
.bannerConteudo {
  background: url('/img/Pensante2.0.1.webp') center/cover;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #ffffff;
  margin-top: -110px;
  position: relative;
  background-position: center top 85.5%;
}


/* Texto sobre img*/
.bannerFundo {
  line-height: 0.5;
  font-size: 55px;
}

.bannerFundo p {
  text-align: left;
  margin-left: 80.7px;
  font-size: 41px;
  margin-top: -32px;
  margin-bottom: 0;
}

/* linhas */
.bannerFundo span {
  display: block;
  margin-bottom: 2px;
}

.linha1,
.linha2,
.linha3,
.linha4,
.linha5 {
  line-height: 0.5;
  font-size: 41px;
}

.linha2,
.linha5 {
  font-weight: bold;
}

.textoLinha {
  font-size: 43px;
  line-height: 1.2;
  color: #191919;
  text-align: left;
  width: 75%;
  margin-left: 2px;
  margin-bottom: 0;
  white-space: normal;
}

.textoLinha br {
  margin-bottom: 10px;
}

.menuToggle {
  display: none;
  font-size: 35px;
  color: white;
  cursor: pointer;
  z-index: 3;
}


/* mobile */
@media (max-width: 768px) {

  nav {
    display: flex;
    justify-content: flex-start;
  }

  nav .logo {
    margin: 10px;
  }

  nav .logo img {
    width: 150px;
    height: auto;
    margin-left: -30px;
  }

  .menu,
  .menuToggle {
    display: none !important;
  }

  .cabecalho {
    padding: 10px 20px;
  }

  .icons {
    margin-left: 0;
    gap: 6px;
  }

  .btCliente {
    padding: 5px 15px;
    font-size: 13px;
    margin-left: 0;
    border-radius: 12px;
  }

  .bannerConteudo {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 20px;
    height: auto;
    background-position: center top 90%;
  }

  .bannerFundo {
    max-width: 320px;
    margin-left: 20px;
    margin-top: 60px;
  }

  .bannerFundo p {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.15;
    text-align: left;
  }

  .bannerFundo span {
    display: inline;
    margin: 0;
    padding: 0;
  }

  .linha1,
  .linha2,
  .linha3,
  .linha4,
  .linha5 {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
  }

  .linha2,
  .linha5 {
    font-weight: bold;
  }
}