html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

header {
  padding: 0 12%;
  background-color: #154641;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #eaeaea;
}

li:hover {
  border-bottom: 1px white solid;
}

main {
  display: flex;
  flex-direction: column;
}

.whatsapp-icon {
  position: fixed;
  font-size: 80px;
  bottom: 40px;
  right: 40px;
  color: #25d366;
}

.nav-links {
  display: flex;
  list-style-type: none;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.logo-img {
  width: 100px;
  object-fit: cover;
}

.banner {
  height: 300px;
  background-image: url("imagens/banner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.sobre {
  display: flex;
  margin: 0 10%;
  padding: 3% 0;
  font-family: "Montserrat", sans-serif;
  justify-content: space-between;
  align-items: center;
  gap: 5%;
}

.botao-contato {
  background-color: #153246;
  color: white;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  width: 250px;
  height: 50px;
  border: none;
  border-radius: 4px;
  margin-bottom: 12px;
  transition: background-color 0.2s;
}

.botao-contato:hover {
  background-color: #1d4762;
  cursor: pointer;
}

h1 {
  text-align: center;
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  font-weight: 300;
  color: #153246;
  letter-spacing: 1px;
  line-height: 1.6;
}

.area-item {
  font-size: 18px;
  padding-top: 10px;
  border-top: 1px solid;
  font-weight: 600;
  min-height: 40px;
}

h2 {
  text-align: center;
  font-family: "Roboto", serif;
  font-size: 24px;
  font-weight: bold;
  color: #eaeaea;
  letter-spacing: 1px;
  line-height: 1.6;
  margin-bottom: 50px;
  margin-top: 10px;
}

h3 {
  margin-bottom: 0;
}

p {
  font-size: 18px;
  line-height: 1.4;
}

.escritorio-img {
  width: 500px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.areas-de-atuacao {
  background-color: #154641;
  padding: 2% 0;
}

.areas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  margin: 0 10%;
  font-family: "Montserrat", serif;
}

.area-conteudo {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: #eaeaea;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  max-width: 100%;
  min-width: 50%;
}

.areas-img {
  width: 40%;
}

.clientes {
  font-family: "Montserrat", serif;
  margin: 0 10%;
  padding: 2% 0;
}

.clientes-titulo {
  color: black;
}

.clientes-texto {
  margin: 0;
}

#clientes-expandir {
  display: none;
}

#ler-mais {
  display: block;
  font-family: "Montserrat", serif;
  font-size: 18px;
  color: #007bff;
  transition: color 0.2s;
  margin-top: 5px;
}

#ler-mais:hover {
  cursor: pointer;
  color: #0056b3;
}

.container {
  background-color: #eaeaea;
  margin: 5% 10%;
  padding: 2% 2%;
  font-family: "Montserrat", serif;
  border-radius: 12px;
  border: 4px rgb(228, 228, 228) solid;
}

.contato {
  background-image: url(imagens/imagem-fundo.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  word-break: break-all;
}

.contato-titulo {
  color: black;
}

.footer {
  background-color: #154641;
  height: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

@media only screen and (max-width: 600px) {
  header {
    justify-content: center;
  }

  .banner {
    background-image: url("imagens/banner-mobile.jpg");
  }

  .escritorio-img {
    width: 100%;
  }

  .banner {
    height: 200px;
  }

  .botao-contato {
    margin-bottom: 18px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .nav-links {
    display: none;
  }

  .sobre {
    flex-direction: column;
  }

  .areas {
    grid-template-columns: repeat(1, 1fr);
  }

  .areas-de-atuacao {
    padding-bottom: 30px;
  }

  .container {
    margin: 10% 10%;
    padding: 4%;
  }

  .areas-img {
    width: 35%;
  }

  .whatsapp-icon {
    position: fixed;
    font-size: 70px;
    bottom: 20px;
    right: 20px;
  }

  .clientes {
    margin-bottom: 20px;
  }

  .contato-titulo {
    margin-top: 10px;
  }
}

@media (min-width: 600px) and (max-width: 1000px) {
  .banner {
    height: 250px;
  }

  .escritorio-img {
    width: 100%;
    height: 350px;
  }

  .sobre {
    flex-direction: column;
  }

  h2 {
    margin-bottom: 20px;
  }

  .areas {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    margin: 5% 10%;
  }

  .botao-contato {
    margin-bottom: 18px;
  }

  .areas-img {
    width: 35%;
  }
}

@media (min-width: 1001px) and (max-width: 1276px) {
  .areas {
    grid-template-columns: repeat(4, 1fr);
  }

  h2 {
    margin-bottom: 30px;
  }
}
