/* Utilizando variáveis CSS para cores */
:root {
  --primary-color: #007b35;
  --secondary-color: #f2f2f2;
  --text-color: #333;
  --light-text-color: #666;
  --border-color: #ddd;
}

html,

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  font-family: Arial, sans-serif;
  background-color: var(--secondary-color);
  overflow-x: hidden;
}

header {
  background-color: #f2f2f2;
  display: flex;
  justify-content: space-between;
  padding: 0rem;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-right: 20px;
  width: 100%;
  justify-content: flex-start;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-size: 16px;
  font-weight: bold;
}

nav ul li a:hover {
  color: #007bff;
}

section {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Estilo do menu hambúrguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 100%;
}

.menu-toggle a {
  width: fit-content;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 4px 0;
}

.header {
  height: 80px;
}

.barra_topo {
  width: 100%;

  background: none;
  top: 0;
  align-items: center;
  z-index: 10;
  display: flex;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0 20px; /* Adiciona espaçamento interno para o container */
  box-sizing: border-box; /* Inclui o padding na largura total */
  position: fixed; /* Fixa a barra no topo */
  background-color: #fff; /* Adiciona uma cor de fundo para melhor visibilidade */
}

/* Estiliza o logo */
.logo_topo {
  display: flex;
  align-items: center;
  margin-right: 20px; /* Ajusta o espaçamento para a direita */
  img {
    width: 100px;
    height: 100px;  
  }
}

/* Estiliza o menu */
.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1; /* Permite que o menu ocupe o espaço restante */
  justify-content: flex-end; /* Alinha o menu à direita */
}

.menuprincipal {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  margin: 0;
}

.menuprincipal li {
  margin: 0 15px; /* Adiciona espaçamento horizontal entre os itens do menu */
}

/* Responsividade para telas menores */
@media screen and (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  nav ul.show {
    display: flex;
  }

  .logo_topo {
    width: 100%;
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
    width: fit-content;
  }

  .container {
    width: 100%;
    max-width: 100%; /* Removido limite de 1200px */
    margin: 0;
    padding: 2rem;
    box-sizing: border-box;
  }

  #contato_topo .container {
    flex-direction: column;
  }

  #denuncia .container,
  #contato_topo .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
  }

  .image-section,
  .text-container {
      width: 100%;
  }

  .image-container,
  .text-container {
    width: 100%; /* Garante que os containers ocupem toda a largura disponível */
    margin: 10px 0; /* Espaço vertical entre os containers */
  }

  .text-container h2 {
    font-size: 20px; /* Ajusta o tamanho da fonte para telas menores */
  }

  .text-container p {
    font-size: 14px; /* Ajusta o tamanho da fonte para telas menores */
  }

  .h2.titulo {
    font-size: 16px; /* Ajusta o tamanho da fonte para telas menores */
  }

  .h1.titulo {
    font-size: 22px; /* Ajusta o tamanho da fonte para telas menores */
  }

  p.intro {
    font-size: 12px; /* Ajusta o tamanho da fonte para telas menores */
  }

  .service_item {
    padding: 15px; /* Ajusta o padding para telas menores */
  }

  .icon.img {
    width: 40px; /* Ajusta o tamanho do ícone para telas menores */
    height: 40px;
  }

  .portfolio_li {
    padding: 10px; /* Ajusta o padding para telas menores */
  }

  .portfolio_img {
    border-radius: 8px; /* Ajusta o border-radius para telas menores */
    padding: 0.75rem; /* Ajusta o padding para telas menores */
  }

  .image-container,
  .text-container {
    width: 100%; /* Garante que os containers ocupem toda a largura disponível */
    margin: 10px 0; /* Adiciona espaço entre os containers */
  }

  .text-container h2 {
    font-size: 20px; /* Ajusta o tamanho da fonte para telas menores */
  }

  .barra_topo {
    height: auto; /* Ajusta a altura para se adaptar ao conteúdo */
    flex-direction: column;
    align-items: flex-start;
    padding: 10px; /* Ajusta o padding para telas menores */
    box-shadow: none; /* Remove a sombra para uma aparência mais limpa em telas menores */
  }

  .logo_topo {
    margin-right: 0; /* Remove a margem direita para melhor alinhamento */
    margin-bottom: 10px; /* Adiciona um espaçamento inferior para o logo */
  }

  .menu {
    flex-direction: column; /* Coloca o menu em coluna em telas menores */
    align-items: flex-start; /* Alinha os itens à esquerda */
    width: 100%; /* Garante que o menu ocupe toda a largura disponível */
  }

  .menuprincipal {
    flex-direction: column; /* Coloca os itens do menu em coluna */
    align-items: flex-start; /* Alinha os itens à esquerda */
    width: 100%; /* Garante que o menu ocupe toda a largura disponível */
  }

  .menuprincipal li {
    margin: 10px 0; /* Adiciona espaçamento vertical entre os itens do menu */
  }

  .text-container {
      flex: 100%;
  }

  .contato_info {
      margin-bottom: 1.5rem;
  }
}

section#portfolio {
  display: flex;
  flex-direction: column; /* Adiciona flex-direction para garantir a centralização dos elementos */
  padding: 20px;
  background-color: #f9f9f9;
  align-items: center; /* Centraliza os itens horizontalmente */
}

.h2 {
  line-height: 1.3;
  text-align: center;
  margin: 0; /* Remove o padding padrão para manter o alinhamento correto */
}

.portfolio_li {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 1200px; /* Adiciona um limite máximo de largura para manter o design consistente */
  margin: 2rem auto;
  padding: 20px;
  background-color: #f9f9f9;
  box-sizing: border-box;
  justify-content: center; /* Alinha os itens ao centro */
}

.portfolio_img {
  display: flex;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 10px; /* Ajustado para border-radius mais típico */
  margin: 1vh 0;
  color: #5b6361a1;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

section#diferenciais {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f9f9f9;
}

.container {
  width: 100%; /* Ajusta a largura para 100% em dispositivos móveis */
  padding: 20px;
  background-color: #f9f9f9;
}

.h2.titulo {
  color: #666666;
  font-size: 18px;
  margin: 20px 0 10px;
}

.div.textos {
  display: flex;
  flex-direction: column;
  align-items: center; /* Alinha os itens ao centro */
  margin: auto;
}

.h1.titulo {
  color: #007b35;
  margin-bottom: 4vh;
}

p.intro {
  color: #999999;
  font-size: 14px;
  margin: 0;
}

.services_ti {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%; /* Garante que o grid ocupe toda a largura disponível */
  max-width: 1200px; /* Adiciona um limite máximo de largura para manter o design consistente */
  margin: 2rem auto;
  padding: 20px;
  background-color: #f9f9f9;
  box-sizing: border-box;
  justify-content: center; /* Alinha os itens ao centro */

  @media (min-width: 768px) {
    grid-template-columns: repeat(
      3,
      1fr
    ); /* Garante 3 colunas em telas maiores */
  }
}

.service_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 2vh 0;
  color: #5b6361a1;
  text-align: center;
  padding: 20px;
  border-left: 5px solid #007b35;
  padding-left: 20px;
}

h2.titulo {
  color: #007b35;
  margin-bottom: 1px;
}

.texto {
  margin: auto;
}

.icon.img {
  width: 50px;
  height: 50px;
}

/*++++++++++++++++++++++*/

.slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  display: block;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

h2.titulo {
  line-height: 1.3;
  margin: 2vh 0 1vh;
}

p.desc {
  font-size: 1.1vw;
  line-height: 1.3;
}

section#titulo_topo {
  display: flex;
  flex-direction: column;
  color: #201e1e;
  z-index: 2;
  text-align: center;
  margin: 30px 30px 30px 30px;
  h1.titulo {
    margin-bottom: 2vh;
  }
}

section#filiais_topo {
  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    width: 97%;
    height: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .image-container {
    flex: 1;
    margin-right: 20px;
    border-radius: 20px;
    overflow: flex;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .image-container img {
    margin-right: 20px;
    border-radius: 20px;
    height: 80%;
    width: 100%;
    display: block;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #007b35;
  }

  .text-container {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
  }

  .text-container h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
  }

  .text-container p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    flex: 1;
    min-width: 300px;
  }

  .green-border {
    border: 1px solid #008000;
    padding: 1rem;
    border-radius: 8px;
  }

  .table_filiais {
    display: table;
    width: 100%;
  }

  .row {
    display: table-row;
  }

  .cell {
    display: table-cell;
    width: 50%;
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
  }

  .span-col {
    display: table-cell;
    width: 100%;
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Contato Topo Section */
#contato_topo .container {
  display: flex;
  gap: 2rem;
  align-items: top;
}

#contato_topo .linha-moderna {
  border: none; /* Remove o estilo padrão */
  height: 2px;  /* Define a altura da linha */
  background: linear-gradient(to right, #00f260, #0575e6); /* Gradiente moderno */
  margin: 20px 0; /* Espaçamento acima e abaixo */
}

#contato_topo .text-container {
  flex: 1;
  padding: 2rem;
}

#contato_topo .green-border {
  border: 2px solid #008000;
  border-radius: 8px;
}

#contato_topo .text-container h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
}

#contato_topo .text-container p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

#text-container .contato_info {
  display: flex;
  align-items: center;
  margin: 2vh 0;
}

#contato_topo .text-container .contato_info h2 {
  font-size: 22px;
  color: #333;
  margin-top: 10px; 
  line-height: 1.6;
}

#contato_topo .text-container .contato_info p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px; 
  color: #666;
}

.formcontato form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.formcontato input,
.formcontato textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.formcontato textarea {
  min-height: 120px;
  resize: vertical;
}

.formcontato button {
  background-color: #008000;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  margin: 0;
  width: 100%;
}


#denuncia .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#denuncia .icon-container {
  text-align: center;
  margin: 20px 0;
}
#denuncia .icon-container svg {
  width: 80px;
  height: 80px;
}
#denuncia h1 {
  font-size: 1.8rem;
  color: #008000;
  text-align: center;
  margin-bottom: 10px;
}
#denuncia p {
  line-height: 1.6;
  font-size: 1rem;
  margin: 10px 0;
}

#denuncia .contact-info {
  background: #f1f1f1;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
  width: 100%;
}

#denuncia .contact-info h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}
#denuncia .contact-info p {
  font-size: 0.9rem;
  color: #666;
}
#denuncia .btn-report {
  display: block;
  width: 100%;
  text-align: center;
  background: #008000;
  color: #fff;
  padding: 12px 0;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  margin-top: 20px;
}
#denuncia .btn-report:hover {
  background: #008000;
}
#denuncia small {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
  text-align: center;
}




section#services {
  display: flex;
  flex-direction: column;
  align-items: center;
  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    width: 97%;
    height: 100%;
    justify-content: center;
  }
  .h2.titulo {
    line-height: 1.3;
    text-align: center;
    padding: 0 0 0 0;
  }
  .div.textos {
    display: flex;
    flex-direction: column;
    .h1.titulo {
      color: #007b35;
      margin-bottom: 4vh;
    }
    p.intro {
      color: #201e1e;
    }
  }
  .services_li {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    .services_img {
      display: flex;
      background-color: #ffffff;
      border: 1px solid #ccc;
      border-radius: 2vw;
      margin: 1vh 0;
      color: #5b6361a1;
      text-align: center;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      padding: 1rem;
    }
  }
}

section#historia_topo {
  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    width: 100%;
    height: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .image-container {
    flex: 1;
    margin-right: 20px;
    border-radius: 20px;
    overflow: flex;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .image-container img {
    margin-right: 20px;
    border-radius: 20px;
    height: 80%;
    width: 100%;
    display: block;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #007b35;
  }

  .text-container {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
  }

  .text-container h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
  }

  .text-container p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
  }

  .green-border {
    border-left: 10px solid #007b35;
    padding-left: 20px;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    z-index: 1;
  }

  nav li {
    margin: 10px 0;
  }

  nav a {
    display: block;
    padding: 10px;
    text-align: center;
  }

  .barra_topo {
    height: auto;
    min-height: 60px;
  }

  section#titulo_topo {
    margin-top: 60px;
    padding-top: 20px;
  }

  section#contato_topo {
    .container {
      .image-container {
        margin-right: 0;
      }
    }
  }

  section#filiais_topo {
    .container {
      .image-container {
        margin-right: 0;
      }
    }
  }

  section#historia_topo {
    .container {
      .image-container {
        margin-right: 0;
      }
    }
  }
}

.phone-link,
.map-link {
  text-decoration: none;
  color: #007bff; /* Azul */
  font-weight: bold;
}

.phone-link:hover,
.map-link:hover {
  color: #0056b3; /* Azul mais escuro no hover */
}

.phone-icon,
.map-icon {
  margin-right: 2px;
  filter: hue-rotate(120deg); /* Altera a cor do emoji */
}

.footer {
  background-color: #f2f2f2;
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
}

.footer-top {
  margin-bottom: 10px;
}

.sitemap {
  color: #32c5d2;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
}

.arrow {
  color: #32c5d2;
  font-size: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  margin-top: 10px;
}

.left-side {
  text-align: left;
}

.right-side {
  text-align: right;
}

.footer-bottom img {
  height: 30px;
  margin-left: 10px;
}

.powered-by img {
  height: 20px;
  vertical-align: middle;
}

.footer-links {
  margin-top: 10px;
  font-size: 12px;
}

.footer-links a {
  color: #808080;
  text-decoration: none;
}

.footer-links9 a:hover {
  text-decoration: underline;
}

.footer-links a:not(:last-child)::after {
  content: "|";
  margin: 0 5px;
}

/* Configuração da largura do contêiner */
.swiper-container {
  width: 100%;
  height: 566px; /* Ajuste para a altura desejada */
  overflow: hidden;
}

.swiper-slide {
  width: 100% !important;
  height: 100%;
}

.filtro_img {
  width: 100%;
  height: 100%;
}

.filtro_img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* isso fará a imagem cobrir todo o espaço mantendo a proporção */
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}