* {
  box-sizing: border-box;
}

  header {
    background-color: #333;
    color: white;
  }

  body {
    margin: 0;
    padding: 0;
    color: #242424;
    font-family: sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: hidden;
  }

  @media screen and (max-width: 500px) {
    main section.module.parallax.container {
        word-wrap: break-word;
        overflow-wrap: break-word;
        height: 100%;
        width: 100%;
    }

    main {
        height: auto;
        width: auto;
    }
  }

  @media screen and (max-width: 480px) {
    main section.module.parallax.container {
        height: 100%;
        width: 100%;
    }

    section.module.parallax {
        height: 500px;
    }
    
    main {
        height: auto;
        width: auto;
    }
  }

  @media screen and (max-width: 480px) {

    h1, h2 {
        font-size: 30px !important;
    }
    
    .caixa1 {
        width: auto;
    }

    .contato {
        word-wrap: break-word;
        font-size: 16px !important;
    }
  }

  h1,
  h2,
  h4 {
      font-weight: 700;
      color: #000;
  }

  .wrapper {
    height: auto;
    width: auto;
    margin: 0 auto;
  }

  main {
    display: block;
    background-color: #fff;
  }

  .container {
    font-size: 20px;
    font-weight: 900;
    font-family: 'montserrat', sans-serif;
    text-align: center;
    width: auto;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    color: #043244;
    max-width: 100%;
  }

  .container2 {
    font-size: 20px;
  }

  .caixa1 {
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    margin: 0 5%;
}

.caixa2 {
    display: inline-block;
    position: relative;
    margin: 0 5%;
}

.caixa3 {
    margin: 5% 0 0 0;
}

  .menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: #333; /* Fundo para destaque */
    color: white;
    position: fixed; /* Fixa o menu no topo */
    top: 0; /* Fica no topo da página */
    left: 0;
    width: 100%; /* Ocupa a largura total */
    z-index: 1001; /* Mantém o menu sobre outros elementos */
  }
  
  .menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 1rem; /* Para aumentar a área clicável */
    display: block;
  }
  
  .menu li a:hover {
    color: #ddd;
  }
  
  body {
    margin-top: 4rem; /* Adiciona margem para que o conteúdo não fique oculto pelo menu */
  }
  
  .menu li a:hover {
    color: #ddd;
  }

  main {
    padding: 2rem;
  }

  #quem-somos p {
    text-align: justify;
    padding-left: 2%;
    padding-right: 2%;
  }
  
  section {
    margin-bottom: 2rem;
  }

  section.module p {
    margin-bottom: 40px;
  }
  
  section.module:last-child {
    margin-bottom: 0px;
  }

  section.module h2 {
    margin-bottom: 40px;
    font-size: 30px;
  }

  section.module.content {
    padding: 40px 0;
    background: #ece7d5;
  }

  section.module.parallax {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
  }

  section.module.parallax:after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 8;
    background: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 30%, #000 100%);
    background: -o-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 30%, #000 100%);
    background: -moz-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 30%, #000 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 30%, #000 100%);
  }

  section.module.parallax-1 {
    background-image: url(https://img.freepik.com/fotos-premium/oleoduto_739536-3960.jpg?w=1060);
  }

  section.module.parallax-2 {
    background-image: url(https://img.freepik.com/fotos-premium/refinaria-de-petroleo-bruto-tubulacao-de-aco-e-chamine-e-torre-de-resfriamento-usina-de-fabrica-quimica-ou-petroquimica-usina-de-energia-de-tanque-de-torre-petroquimica-conceitoxa_33850-548.jpg?w=2000);

}

  section.module.parallax-3 {
    background-image: url(https://img.freepik.com/fotos-gratis/poluicao-ambiental-e-exterior-da-industria-a-luz-do-dia_23-2149057687.jpg?w=1060&t=st=1679348844~exp=1679349444~hmac=a745eb99af41537e335b2d2b1c8085a046f6a799976d8a0efd075ef415be218b);
  }

  section.module.parallax h1,
  h2 {
    color: #ece7d5;
    text-align: center;
    font-size: 80px;
    z-index: 1000;
    font-family: 'montserrat', sans-serif;
    font-weight: 900 bold;
  }

  .proenge {
    font-family: 'Orbitron', sans-serif !important;
    color: white;
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black; /* borda preta */
  }

  section.module.parallax h2 {
    font-size: 50px;
  }

  section.primeira h1 h2 {
    color: #fff;
  }

  a {
    color: #2b707e;
  }

  footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: white;
  }

  .servico {
    text-align: center; /* centraliza textos e elementos internos */
    margin-bottom: 30px;
  }

  .imagens-do-NOSSO-TRABALHO {
    display: flex;
    justify-content: center;
    gap: 20px; /* espaço entre as imagens */
    flex-wrap: wrap; /* permite quebrar linha se for em tela pequena */
    margin-top: 10px;
  }

  .imagens-do-NOSSO-TRABALHO img {
    width: 50%;
    max-width: 125px;
    height: auto;
    border-radius: 8px;
  }

  .subtitulo {
    margin-top: 2%;
    margin-left: 2%;
  }

  .listaCliente {
    text-align: center;
    list-style-position: inside;
    list-style: none;
  }

ESSA PARTE É DA GALERIA

  .galeria {
    max-width: 800px;
    margin: auto;
  }

  .toggle-lista {
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
  }

  
  .lista-categorias {
    display: none;
    list-style: none;
    padding-left: 0;
  }

  .lista-categorias li {
    cursor: pointer;
    background-color: #ecf0f1;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
  }

  .lista-categorias li:hover {
    background-color: #bdc3c7;
  }

  .imagens {
    display: none;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .imagens img {
    width: 100%;
    border-radius: 8px;
  }

  .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-conteudo {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-conteudo.animado {
  opacity: 1;
  transform: scale(1);
}

.fechar {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.fechar:hover {
  color: #bbb;
}


PARA O DROPDOWN
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: black;
}

.dropdown-content li a:hover {
  background-color: #f0f0f0;
}

/*RESPONSIVIDADE PARA COMPROMETIMENTO E RESPONSABILIDADE MAIÚSCULOS*/
.module.content.parallax {
  position: relative;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.parallax-3 {
  background-image: url('caminho/para/sua-imagem.jpg'); /* ajuste aqui */
}

.module.content.parallax h1 {
  font-size: 4rem;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .module.content.parallax h1 {
    font-size: 2.5rem;
  }

  .module.content.parallax {
    background-attachment: scroll; /* melhora performance mobile */
    height: 70vh;
  }
}

@media (max-width: 480px) {
  .module.content.parallax h1 {
    font-size: 1.8rem;
  }

  .module.content.parallax {
    padding: 0 10px;
    height: 60vh;
  }
}

/*TERMINA AQUI RESPONSIVIDADE PARA COMPROMETIMENTO E RESPONSABILIDADE MAIÚSCULO */