/* =======================
   RESET GLOBAL
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =======================
   HEADER (CABEÇALHO)
========================== */
.hero {
  background: linear-gradient(to bottom, #ffffff, #e8f5e9);
  padding: 60px 5%;
  text-align: center;
  position: relative;
}

.hero .logo {
  max-width: 280px;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}

.hero h1 {
  font-size: 32px;
  font-weight: bold;
  color: #1f4d32;
  animation: fadeInDown 1s ease-in-out;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #555;
}

/* =======================
   BOTÃO PRINCIPAL (CTA)
========================== */
.cta-btn {
  display: inline-block;
  background: #1f4d32;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.cta-btn:hover {
  background: #3b7f52;
  transform: scale(1.05);
}

/* =======================
   SEÇÃO "POR QUE ESCOLHER?"
========================== */
.about {
  padding: 60px 10%;
  text-align: center;
  background: #f9f9f9;
}

.about h2 {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* =======================
   SEÇÃO "EVITE MULTAS E IRREGULARIDADES"
========================== */
.alerta {
  text-align: center;
  padding: 50px 10%;
  background: #1f4d32;
  color: white;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.alerta h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.alerta p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.alerta .cta-btn {
  display: inline-block;
  background: #1f4d32;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
}

.alerta .cta-btn:hover {
  background: #3b7f52;
  transform: scale(1.05);
}

/* 🔥 Responsividade */
@media screen and (max-width: 768px) {
  .alerta {
    padding: 40px 5%;
  }
}


/* =======================
   SEÇÃO "NOSSOS SERVIÇOS"
========================== */
.services {
  text-align: center;
  padding: 60px 10%;
  background-color: white;
}

.services h2 {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 30px;
}

/* Layout flexível e responsivo */
.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  justify-content: center;
}

/* Box de cada serviço */
.service-box {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px; /* 🔥 Agora todos os cards terão o mesmo tamanho */
  justify-content: space-between; /* 🔥 Mantém o alinhamento do botão na mesma posição */
}

.service-box:hover {
  transform: scale(1.05);
}

/* Imagem dentro do card */
.service-box img {
  max-width: 100%;
  height: 180px; /* 🔥 Altura fixa para todas as imagens */
  object-fit: cover;
  border-radius: 8px;
}

/* Título dos serviços */
.service-box h3 {
  font-size: 22px;
  font-weight: bold;
  color: #1f4d32;
  margin: 15px 0;
  text-align: center;
}

/* Texto descritivo */
.service-box p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  text-align: center;
  flex-grow: 1; /* 🔥 Garante que todos os textos tenham o mesmo espaço */
}

/* Botão "Solicite um Orçamento" */
.btn-orcamento {
  background: #1f4d32; /* 🔥 Verde escuro para combinar com o Âmbito Ambiental */
  color: white;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 250px;
}

.btn-orcamento:hover {
  background: #2e6b45;
  transform: scale(1.05);
}

/* Responsividade */
@media screen and (max-width: 768px) {
  .service-container {
    grid-template-columns: 1fr;
  }

  .service-box img {
    height: 150px; /* 🔥 Ajustando tamanho da imagem para mobile */
  }
}


/* =======================
   SEÇÃO "EVITE MULTAS"
========================== */
.evite-multas {
  width: 100%;
  background: #1f4d32; /* Verde escuro do Âmbito Ambiental */
  padding: 60px 10%;
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.evite-container {
  max-width: 800px;
}

/* Título */
.evite-container h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Texto descritivo */
.evite-container p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Botão de Consultoria */
.btn-consultoria {
  display: inline-block;
  background: #d4af37; /* Dourado chamativo */
  color: white;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-consultoria:hover {
  background: #b38b4a;
  transform: scale(1.05);
}

/* Responsividade */
@media screen and (max-width: 768px) {
  .evite-multas {
    padding: 40px 5%;
  }
  
  .evite-container {
    width: 100%;
  }

  .btn-consultoria {
    width: 100%;
    text-align: center;
  }
}

/* ==============================
   ESTILO PARA A SEÇÃO CLIENTES
================================= */
.clientes {
  text-align: center;
  padding: 60px 10%;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin: 40px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* TÍTULO CENTRALIZADO */
.clientes h2 {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 30px;
}

/* CONTAINER DO CARROSSEL */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

/* FAIXA FLEXÍVEL PARA AS LOGOS */
.carousel-track {
  display: flex;
  transition: transform 1.9s ease-in-out;
}

/* LOGOS - 4 POR VEZ, ESPAÇADAS */
.carousel-track img {
  width: 200px; /* Mantém tamanho fixo */
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin: 0 30px; /* Espaçamento amplo entre as logos */
  filter: grayscale(30%);
  transition: transform 1.5s ease-in-out;
}

/* DESTACAR LOGOS NO HOVER */
.carousel-track img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* BOTÕES DE NAVEGAÇÃO */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s;
  z-index: 10;
}

/* BOTÃO ESQUERDA */
.carousel-btn.left {
  left: 0;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}

/* BOTÃO DIREITA */
.carousel-btn.right {
  right: 0;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

/* EFEITO HOVER NOS BOTÕES */
.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.6);
}


/* RESPONSIVIDADE */
@media screen and (max-width: 1024px) {
  .carousel-track img {
      width: 150px;
      max-height: 60px;
      margin: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  .carousel-track img {
      width: 120px;
      max-height: 50px;
      margin: 0 15px;
  }

  .carousel-btn {
      padding: 8px 12px;
      font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .carousel-track img {
      width: 100px;
      max-height: 40px;
      margin: 0 10px;
  }

  .carousel-btn {
      padding: 6px 10px;
      font-size: 16px;
  }
}




/* =======================
   SEÇÃO DE CASES (VÍDEOS)
========================== */
.cases {
  text-align: center;
  padding: 60px 10%;
  background-color: #f9f9f9;
}

.videos-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.video-container {
  width: 45%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* =======================
   FORMULÁRIO DE CONSULTORIA
========================== */
.contact {
  max-width: 500px;
  margin: auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Campos de entrada */
.contact input,
.contact textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  background-color: #f5f5f5;
  transition: all 0.3s ease-in-out;
  display: block;
}

.contact textarea {
  height: 100px;
  resize: none;
}

.contact input:focus,
.contact textarea:focus {
  background-color: #fff;
  border-color: #1f4d32;
  outline: none;
}

/* Botão de envio */
#enviar-btn {
  background: #1f4d32;
  color: white;
  padding: 14px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  display: block;
  width: 100%;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease-in-out;
}

#enviar-btn:hover {
  background: #3b7f52;
  transform: scale(1.03);
}

/* Estilização do campo de Política de Privacidade */
.policy-container {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333;
  gap: 5px;
  justify-content: center;
  cursor: pointer;
}

/* Checkbox */
.policy-container input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Estilizando o link da política */
.policy-container a {
  color: #5ca77a; /* Verde Claro do Âmbito Ambiental */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.policy-container a:hover {
  color: #3b7f52;
  text-decoration: underline;
}

/* Mensagem de erro para quando o checkbox não for marcado */
.erro-mensagem {
  color: red;
  font-size: 14px;
  display: none;
  margin-top: 5px;
}

/* =======================
   ESTILIZAÇÃO DO MODAL
========================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 50%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.modal h2 {
  font-size: 20px;
  color: #1a1a1a;
}

.modal h3 {
  font-size: 18px;
  margin-top: 10px;
  color: #333;
}

.modal p {
  font-size: 14px;
  color: #555;
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsividade */
@media screen and (max-width: 500px) {
  .contact {
      padding: 20px;
  }

  .modal-content {
      width: 80%;
  }
}



/* =======================
   SEÇÃO ONDE ESTAMOS
========================== */
.location {
  text-align: center;
  padding: 40px 10%;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin: 40px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Título da seção */
.location h2 {
  font-size: 26px;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* Contêiner flexível para os mapas */
.maps-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Caixa do mapa */
.map-box {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  text-align: center;
}

/* Títulos das cidades */
.map-box h3 {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

/* Estilizando os mapas */
gmp-map {
  width: 100%;
  height: 400px;
  display: block;
  border-radius: 8px;
}

/* Botão do Google Maps */
.google-maps-btn {
  display: inline-block;
  margin-top: 10px;
  background: #1f4d32;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.google-maps-btn:hover {
  background: #3b7f52;
  transform: scale(1.05);
}

/* 🔥 Responsividade */
@media screen and (max-width: 768px) {
  .location {
      padding: 30px 5%;
  }

  .maps-container {
      flex-direction: column;
  }

  gmp-map {
      height: 300px;
  }
}


/* =======================
   FOOTER
========================== */
footer {
  background: linear-gradient(135deg, #1f4d32, #2a3a35);
  color: white;
  padding: 50px 10%;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.social-icons img {
  width: 40px;
  height: 40px;
}

/* =======================
   BOTÃO WHATSAPP FLUTUANTE
========================== */
.whatsapp-btn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
}

.whatsapp-btn img {
  width: 24px;
}

.whatsapp-btn:hover {
  background: #1da851;
}

/* =======================
   RESPONSIVIDADE MOBILE
========================== */
@media screen and (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }

  .video-container {
    width: 100%;
  }

  .map-box {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }
}
