/* =======================
   RESET GLOBAL
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  text-align: center;
  overflow-x: hidden; /* Evita rolagem lateral */
}

/* =======================
   HEADER (CABEÇALHO)
========================== */
header {
  background-color: #f8f8f8;
  padding: 40px 5%;
  text-align: center;
}

.logo {
  max-width: 250px;
  margin-bottom: 15px;
}

header h1 {
  font-size: 26px;
  color: #1a1a1a;
}

header p {
  font-size: 18px;
  margin-bottom: 15px;
  color: #555;
}

/* =======================
   BOTÃO PRINCIPAL (CTA)
========================== */
.cta-btn {
  display: inline-block;
  background: #d4af37; /* Dourado */
  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: #b38b4a;
  transform: scale(1.05);
}

/* =======================
   SEÇÕES GERAIS
========================== */
section {
  padding: 60px 10%;
  background-color: white;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: left;
}

/* =======================
   SEÇÃO DE SERVIÇOS
========================== */
/* Define um layout flexível para os cards */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Estiliza os cards */
.service-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribui os elementos de forma uniforme */
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  text-align: center;
  min-height: 400px; /* Garante altura uniforme */
}

/* Ajuste para as imagens */
.service-box img {
  max-width: 100%;
  height: 180px; /* Define uma altura padrão para evitar tamanhos diferentes */
  object-fit: cover;
  border-radius: 8px;
}

/* Mantém a altura dos títulos iguais */
.service-box h3 {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Padroniza o tamanho do texto descritivo */
.service-box p {
  flex-grow: 1; /* Faz o texto ocupar o espaço disponível, empurrando o botão para baixo */
  min-height: 60px; /* Ajuste conforme necessário */
}

/* Mantém os botões sempre alinhados na parte inferior */
.btn-orcamento {
  display: block;
  margin-top: auto; /* Isso faz com que o botão fique sempre no final do card */
  background: #d4af37;
  color: white;
  padding: 12px 18px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
}

.btn-orcamento:hover {
  background: #b38b4a;
}

/* 🔥 Responsividade */
@media (max-width: 768px) {
  .services {
      grid-template-columns: 1fr;
  }
  
  .service-box {
      min-height: auto; /* Permite altura dinâmica no mobile */
  }
}



/* =======================
   SEÇÃO DE CHAMADA PARA AÇÃO (CTA)
========================== */
.cta-mid {
  background: #f9f9f9;
  padding: 50px 10%;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 40px auto;
}

/* CONTAINER CENTRALIZADO */
.cta-container {
  max-width: 600px;
  margin: auto;
}

/* TÍTULO */
.cta-mid h2 {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 15px;
}

/* TEXTO */
.cta-mid p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

/* BOTÃO PRINCIPAL (SOLICITAR ORÇAMENTO) */
.btn-orcamento {
  display: inline-block;
  background: #d4af37;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.btn-orcamento:hover {
  background: #b38b4a;
  transform: scale(1.05);
}

/* LINK SECUNDÁRIO (WHATSAPP) */
.cta-secundario {
  margin-top: 10px;
  font-size: 16px;
}

.cta-secundario a {
  color: #25D366;
  font-weight: bold;
  text-decoration: none;
}

.cta-secundario a:hover {
  text-decoration: underline;
}

/* RESPONSIVIDADE */
@media screen and (max-width: 768px) {
  .cta-mid {
    padding: 40px 5%;
  }

  .cta-container {
    width: 100%;
  }

  .btn-orcamento {
    width: 100%;
    text-align: center;
  }
}
/* ======= Seção Estados Atendidos ======= */
.estados-atendidos {
  text-align: center;
  padding: 40px 5%;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap; /* Mantém os itens lado a lado */
}

/* MAPA */
.mapa-container {
  flex: 1;
  text-align: center;
}

#mapa-brasil {
  width: 100%;
  max-width: 500px;
}

/* LISTA DE ESTADOS */
.lista-estados {
  flex: 1;
  text-align: left;
}

.lista-estados ul {
  list-style: none;
  padding: 0;
}

.lista-estados li {
  font-size: 18px;
  margin-bottom: 10px;
}

/* RESPONSIVIDADE - Mantendo o layout lado a lado */
@media (max-width: 768px) {
  .container {
      flex-wrap: nowrap; /* Continua lado a lado */
      flex-direction: row;
      gap: 20px;
  }

  .mapa-container, .lista-estados {
      flex: 1;
  }

  #mapa-brasil {
      max-width: 300px; /* Ajusta o tamanho do mapa para telas menores */
  }

  .lista-estados ul {
      font-size: 16px;
  }
}




/* =======================
   SEÇÃO DE CLIENTES - DESIGN MELHORADO
========================== */
.clients {
  background: #ffffff; /* Fundo branco para destacar a seção */
  text-align: center;
  padding: 50px 5%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* TÍTULO COM ESTILO MODERNO */
.clients h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1a1a1a;
  position: relative;
  text-transform: uppercase;
}

/* LINHA DECORATIVA ABAIXO DO TÍTULO */
.clients h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #d4af37; /* Dourado */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* CONTAINER DO CARROSSEL */
.carousel {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: 20px 0;
}

/* FAIXA QUE SE MOVE - ROTAÇÃO CONTÍNUA */
.carousel-track {
  display: flex;
  gap: 40px;
  width: 200%;
  animation: slide 10s linear infinite;
}

/* IMAGENS DAS EMPRESAS - TODAS DO MESMO TAMANHO */
.carousel-track img {
  width: 120px; /* Tamanho fixo para manter uniformidade */
  height: auto;
  max-height: 80px;
  object-fit: contain;
  transition: 0.3s ease-in-out;
  filter: grayscale(30%); /* Suaviza as cores para um design sofisticado */
}

/* EFEITO HOVER - DESTACAR LOGO */
.carousel-track img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ANIMAÇÃO DO CARROSSEL */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =======================
   RESPONSIVIDADE - AJUSTE PARA MOBILE
========================== */
@media screen and (max-width: 768px) {
  .carousel-track img {
    width: 100px;
    max-height: 60px;
  }
}

@media screen and (max-width: 480px) {
  .carousel-track img {
    width: 80px;
    max-height: 50px;
  }
}

/* =======================
   ESTILO DO CARROSSEL DE CLIENTES
========================== */
.clients {
  background-color: #f8f9fa;
  text-align: center;
  padding: 50px 0;
  overflow: hidden;
}

/* TÍTULO CENTRALIZADO */
.clients h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

/* CONTAINER DO CARROSSEL */
.carousel {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

/* FAIXA QUE SE MOVE */
.carousel-track {
  display: flex;
  gap: 40px;
  width: 200%;
  animation: slide 10s linear infinite;
}

/* IMAGENS DAS EMPRESAS - TODAS IGUAIS */
.carousel-track img {
  width: 120px;  /* Definição de largura fixa */
  height: auto;  /* Mantém a proporção da imagem */
  max-height: 80px; /* Garantia de altura padrão */
  object-fit: contain; /* Mantém a qualidade e o aspecto da logo */
  transition: 0.3s ease-in-out;
}

/* ANIMAÇÃO PARA DESLIZAR */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HOVER PARA DESTACAR A LOGO */
.carousel-track img:hover {
  transform: scale(1.1);
}

/* =======================
   RESPONSIVIDADE PARA TELAS MENORES
========================== */
@media screen and (max-width: 768px) {
  .carousel-track img {
    width: 100px; /* Reduz um pouco as imagens em telas menores */
    max-height: 60px;
  }
}

@media screen and (max-width: 480px) {
  .carousel-track img {
    width: 80px;
    max-height: 50px;
  }
}

/* =======================
   SEÇÃO DE CASES (VÍDEOS) RESPONSIVA
========================== */
.cases {
  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);
}

/* TÍTULO CENTRALIZADO */
.cases h2 {
  font-size: 26px;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* CONTAINER DOS VÍDEOS */
.videos-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

/* CAIXA DOS VÍDEOS - LADO A LADO */
.video-container {
  width: 48%; /* Mantém os vídeos lado a lado */
  aspect-ratio: 16 / 9; /* Mantém a proporção do vídeo */
  border-radius: 8px;
  overflow: hidden;
}

/* ESTILIZAÇÃO DO VÍDEO */
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que o vídeo preencha o espaço corretamente */
  border-radius: 8px;
}

/* =======================
   RESPONSIVIDADE PARA DISPOSITIVOS MENORES
========================== */
@media screen and (max-width: 768px) {
  .videos-container {
    flex-direction: column;
    align-items: center;
  }

  .video-container {
    width: 90%; /* No celular, ocupa 90% da largura */
  }
}

@media screen and (max-width: 480px) {
  .video-container {
    width: 100%; /* Em telas muito pequenas, ocupa 100% */
  }
}

/* Estilização do formulário */
.contact {
  max-width: 500px;
  margin: auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Título do formulário */
.contact h2 {
  font-size: 22px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 15px;
}

/* 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;
}

.contact textarea {
  height: 100px;
  resize: none;
}

.contact input:focus,
.contact textarea:focus {
  background-color: #fff;
  border-color: #d4af37;
  outline: none;
}

/* Botão de envio */
#enviar-btn {
  background: #1a1a1a;
  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: #d4af37;
  transform: scale(1.03);
}

/* Estilização do campo de Política de Privacidade */
/* Ajuste para alinhar checkbox e texto na mesma linha */
.policy-label {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333;
  gap: 5px;
  cursor: pointer;
}

/* Checkbox ajustado */
.policy-label input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Estilizando o link da política */
.policy-label a {
  color: #d4af37;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.policy-label a:hover {
  color: #b38b4a;
  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%;
  }
}



/* =======================
   FOOTER ORGANIZADO E CENTRALIZADO
========================== */
.footer {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: white;
  padding: 50px 10%;
  text-align: center;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

/* CONTAINER PRINCIPAL DO FOOTER */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

/* COLUNA PRINCIPAL - SOBRE A EMPRESA */
.footer-column {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

/* TÍTULO DAS COLUNAS */
.footer-column h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #d4af37;
}

/* TEXTO GERAL DO FOOTER */
.footer p {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 15px;
}

/* SEÇÃO CENTRALIZADA PARA REDES SOCIAIS */
.footer-social {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

/* TEXTO "SIGA-NOS EM NOSSAS REDES SOCIAIS" - CENTRALIZADO */
.footer-social h3 {
  font-size: 18px;
  color: #d4af37;
  margin-bottom: 10px;
  text-align: center;
}

/* ÍCONES DAS REDES SOCIAIS */
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 15px;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  transition: 0.3s ease-in-out;
}

.social-icons a img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* SEÇÃO DO SITE OFICIAL */
.footer-site {
  text-align: center;
  margin-top: 20px;
}

/* LINK DO SITE OFICIAL */
.footer-site a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.footer-site a img {
  width: 24px;
  height: 24px;
}

/* COPYRIGHT */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  text-align: center;
  color: #aaa;
}
/* Always set the map height explicitly to define the size of the div
 * element that contains the map. */
 gmp-map {
  height: 100%;
}
/* Deixa o link do telefone na cor branca */
.contato a {
  color: white;
  text-decoration: none; /* Remove o sublinhado */
}

/* Quando o usuário passar o mouse por cima */
.contato a:hover {
  color: #d4af37; /* Dourado, para destacar */
  text-decoration: underline; /* Opcional, caso queira destacar */
}

/* Optional: Makes the sample page fill the window. */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
/* RESPONSIVIDADE PARA MOBILE */
@media screen and (max-width: 768px) {
  .footer {
    padding: 40px 5%;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}



/* =======================
   BOTÃO WHATSAPP FLUTUANTE
========================== */
.whatsapp-btn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease-in-out;
}

.whatsapp-btn img {
  width: 24px;
  height: 24px;
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: scale(1.05);
}

/* =======================
   RESPONSIVIDADE PARA MOBILE
========================== */
@media screen and (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }

  .carousel-track img {
    width: 100px;
    max-height: 50px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  
}
