* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #f7f7f7;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 430px; /* Defina uma altura para os banners */
  overflow: hidden;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover; /* Ajusta o tamanho da imagem para cobrir todo o contêiner */
  background-position: center; /* Centraliza a imagem dentro do contêiner */
  display: none;
}

.active {
  display: block;
}


.banner#banner1 {
  background-image: url('../img/info/banner01.png');
}

.banner#banner2 {
  background-image: url('../img/info/banner02.png');
}

.banner#banner3 {
  background-image: url('../img/info/banner03.png');
}

.banner#banner4 {
  background-image: url('../img/info/banner04.png');
}

.active {
  display: block;
}

button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #ccc;
  border: none;
  cursor: pointer;
}

#prevBtn {
  margin-top: 110px;
  left: 20px;
  border-radius: 20px;
  background-color: #80c51f;
  color: white;
}

#nextBtn {
  margin-top: 110px;
  right: 20px;
  border-radius: 20px;
  background-color: #80c51f;
  color: white;
}


a {
  text-decoration: none;
  display: block;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

p {
  font-size: 1.2rem;
}

.titulo {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.subtitulo {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.header-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.header ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 1rem;
}

.logo {
  width: 80%;
}

.nav li a {
  padding: 10px 20px;
  color: #092517;
  font-weight: bold;
}

.nav li a:hover {
  color: #87c931;
}

nav li a.ativo {
  color: #87c931;
}


#menu {
  display: block;
  position: fixed; /* Altere para 'fixed' para fixar o menu no topo */
  top: 0; /* Alinhar o menu no topo */
  right: 1rem; /* Alinhar o menu no lado direito */
  background-color: #f7f7f7;
  width: auto; /* Remover largura fixa */
  padding: 1rem 0; /* Adicionar espaçamento interno */
  border-bottom: 2px solid rgba(0, 0, 0, 0.08); /* Adicionar borda na parte inferior */
  z-index: 100; /* Certificar-se de que o menu esteja acima dos outros elementos */
  visibility: hidden; /* Esconder o menu por padrão */
  overflow-y: hidden; /* Esconder a barra de rolagem vertical por padrão */
  transition: .6s;
}

#nav.active #menu {
  height: calc(100vh - 114px);
  visibility: visible; /* Tornar o menu visível quando o botão é clicado */
  overflow-y: auto; /* Permitir rolagem vertical quando necessário */
}

#menu li a {
  padding: 10px 20px;
  color: #005a3b;
  font-weight: bold;
}

#menu li a:hover {
  color: rgb(221, 213, 206);
}

#menu li a.ativo {
  color: #87c931;
}

.ativo {
  color: red;
}

#btn-mobile {
  display: none;
}

.banner-bg {
  display: flex;
  position: relative;
  height: 100%
}

.banner-bg::before {
  content: '';
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 1;
}

.banner-container {
  position: relative;
  margin: 0 auto;
  text-align: left;
}

.banner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  height: 100%;
  text-align: center;
}

.banner-content h1 {
  font-size: 2.5rem;
  letter-spacing: 1.5px;
  font-weight: bold;
}

.banner-content a {
  background-color: #87c931;
  color: #092517;
  padding: 1rem 2rem;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 180px;
  text-align: center;
  margin-left: calc(0% - 350px); /* Ajuste a margem esquerda para centrar o botão */
  transition: .3s;
  align-self: flex-start;
}

@media (max-width: 600px-900px) {
  .banner-content a {
    margin-left: calc(0% - 40px); /* Ajuste a margem esquerda para centrar o botão em dispositivos móveis */
  }

  .banner#banner1 {
    background-image: url('../img/info/banner01.png');
  }
  
  .banner#banner2 {
    background-image: url('../img/info/banner02.png');
  }
  
  .banner#banner3 {
    background-image: url('../img/info/banner03.png');
  }
  
  .banner#banner4 {
    background-image: url('../img/info/banner04.png');
  }
}

.sobre {
  background-color: #f9f9f9;
  padding: 50px 0;
}

.sobre-container {
  width: 90%;
  margin: 0 auto;
  margin-top: 50px;
}

.titulo {
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.sobre-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.sobre-item {
  text-align: justify;
}

.sobre-item p {
  margin-bottom: 20px;
}

.sobre-item figure {
  text-align: center;
}

.sobre-item img {
  max-width: 100%;
  height: auto;
}

.imgsobrenos{
  width: 110%;
}

.sobre-content {
  grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
  .sobre-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .sobre-item {
    flex: 0 0 50%;
  }
}

@media screen and (min-width: 992px) {
  .sobre-item {
    flex: 0 0 45%;
  }
}


.titulo {
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.titulo2 {
  text-align: center;
  margin-bottom: 50px;
  color: #fafafa;
  font-size: 2.5rem;
  
}

a.servicoa {
  background-color: #85c731;
}

.servicos {
  background: #092517;
  text-align: center;
  padding: 4rem 0;
}

.servicos-container {
  max-width: 1200px;
  margin: 0 auto;
}

.servicos-container .titulo {
  color: #85c731;
  margin-bottom: 4rem;
}

.servicos-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 25px;
  justify-content: center;
  align-items: center;
}

.serv-item {
  display: flex;
  flex-direction: column;
  width: 250px;
  color: #85c731;
  transition: 0.3s;
}

.serv-item:hover {
  transform: scale(1.2);
}

.serv-item figure {
  border: none;
  width: 255px;
  height: 168px;
  object-fit: cover;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 1rem;
}

.serv-item p {
  margin: 0.8rem 0;
}

.serv-item a {
  background: #85c731;
  color: #092517;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 20px;
  transition: .3s;
}

.serv-item a:hover {
  background: chocolate;
}

.outline-btn {
  background: none;
  border: 2px solid #80c51f;
  color: #80c51f;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 15px;
  width: 300px;
  margin: 0 auto;
  margin-top: 50px;
}

.outline-btn:hover {
  background: #80c51f;
  color: white;
}

.clientes {
  text-align: center;
  background: #80c51f;
  color: white;
  position: relative;
  padding: 40px;
}

.clientes-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 4rem 0;
  position: relative;
}

.clientes ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  justify-content: flex-start;
}

.clientes-item {
  width: 200px;
}

.clientes-item img {
  width: 200px; 
  height: auto; 
}

.contato {
  background-image: url("../img/folhagrupoaa.png");
}

.contato-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}

.contato-titulo {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #fafafa;
}

.contato-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.contato-content a {
  padding: 1rem 2rem;
  background-color: #85c731;
  border-radius: 20px;
  color: #092517;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.3s;
}

.contato-content a:hover {
  background-color: chocolate;
}

.footer {
  background-color: #222222;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
}

.footer-contato {
  display: flex;
  gap: 3rem;
  justify-content: center;
  padding: 3rem 0;
  flex-wrap: wrap;
}

.contato-item i {
  font-size: 2rem;
  color: #80c51f;
}

.contato-item a {
  margin-top: 1rem;
  color: #e5e5e5;
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-copy-bg {
  background-color: #111111;
}

.footer-copy {
  text-align: center;
  font-size: 1.2rem;
  padding: 2rem 0;
  color: #d1d1d1;
  max-width: 1200px;
  margin: 0 auto;
}


@media (max-width: 900px) {

  .banner-bg {
    height: 350px;
  }

  .banner#banner1 {
    background-image: url('../img/info/01responsivo.png');
  }
  
  .banner#banner2 {
    background-image: url('../img/info/02responsivo.png');
  }
  
  .banner#banner3 {
    background-image: url('../img/info/03responsivo.png');
  }
  
  .banner#banner4 {
    background-image: url('../img/info/04responsivo.png');
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-around;
  }
  .nav {
    align-items: center;
    gap: 1rem;
  }
  .logo {
    width: 80%;
  }
  .nav li a {
    padding: 10px 0;
  }
}

  .banner-container {
    height: 350px;
  }
  .footer-contato {
    flex-direction: column;
  }

  .clientes-item img {
    width: 400px; 
  }

  .clientes-lista {
    overflow-x: auto;
  }
  .clientes ul {
    justify-content: flex-start;
  }
  #menu {
    display: block;
    position: absolute;
    width: 100%;
    top: 114px;
    right: 0px;
    background-color: #f7f7f7;
    height: 0px;
    transition: .6s;
    z-index: 100;
    visibility: hidden;
    overflow-y: hidden;
  }
  #nav.active #menu {
    height: calc(100vh - 114px);
    visibility: visible;
    overflow-y: auto;
  }
  #menu a {
    padding: 1rem 0;
    margin: 0 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  }
  #btn-mobile {
    display: flex;
    padding: .5rem 1rem;
    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: .5rem;
  }
  #hamburguer {
    border-top: 2px solid;
    width: 20px;
    transition: .3s;
  }
  #hamburguer::after, #hamburguer::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor;
    margin-top: 5px;
  }
  #nav.active #hamburguer {
    transform: rotate(90deg);
  }

@media (max-width: 400px) {
  .banner-bg {
    height: 153;
  }
}
