/* Fundo com imagem no topo */
.banner-topo {
    background-image: url("Fundo.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 400px;
    height: 80vh;
    position: relative;
    color: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  /* Sobreposição escura para contraste */
  .overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    width: 100%;
    height: 100%;
    padding-top: 100px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  
  /* Título centralizado */
  .titulo-site {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    animation: fadeInDown 1.2s ease forwards;
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* MENU FIXO NO TOPO */
   nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(51, 0, 146); /* fundo com transparência */
    border-radius: 0 0 10px 10px; /* cantos arredondados abaixo */
    z-index: 1000;
    backdrop-filter: blur(20px); /* efeito vidro */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  /* Estilo do menu */
  .menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  
  .menu > li {
    position: relative;
    margin: 0 5px;
  }
  
  .menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    background-color: #330092; /* cor normal */
    border-radius: 8px;
    transition: background-color 0.3s;
  }
  
  .menu > li:hover > a {
    background-color: #003fec; /* hover */
  }
  
  /* Submenu */
  .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0f02c5;
    min-width: 180px;
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  .submenu li {
    width: 100%;
  }
  
  .submenu a {
    background-color: #330092;
    color: white;
    padding: 12px 16px;
    border-radius: 0;
  }
  
  .submenu li:hover a {
    background-color: #4c3aec;
  }
  
  /* Mostrar submenu */
  .dropdown:hover .submenu {
    display: block;
  }
  section {
    text-align: center;
    color: #330092;
    font-size: 1.5rem;
  }
  .sobre-nos {
    background-color: #ffffff2f;
    padding: 10px 100px;
    max-width: 99%;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(38, 0, 255, 0.575);
  }
  
  .sobre-nos h2 {
    color: #330092;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .sobre-nos p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
  }
  
  
  .missao-visao-valores {
    background-color: #330092;
    padding: 50px 20px;
    text-align: left;
    border-radius: 20px;
    margin-bottom: px;
    box-shadow: 0 2px 15px rgb(255, 0, 0);
  }
  
  
  .missao-visao-valores h2 {
    margin-bottom: 30px;
    color: #2400c4;
    font-size: 2rem;
  }
  .lista-valores {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
    font-size: 1.2rem;
    color:#30008a
    
    
  }
  
  .lista-valores li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #100196; /* azul padrão */
    transition: color 0.3s ease;
  }

  
  .lista-valores li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    color: #1b0094;
    font-weight: bold;
    font-size: 1rem;
  }
  
  
  .blocos {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
  }
  
  .bloco {
    flex: 1 1 300px;
    background-color: white;
    border: 2px solid #330092;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .bloco:hover {
    transform: translateY(-5px);
    background-color: #b90000; /* vermelho */
    color: white;
    border-color: #cc0000;
  }
  
  .bloco:hover h3 {
    color: white;
  }
  
  .bloco:hover p {
    color: white;
  }
  .seguranca-trabalho {
    background-color: #f5f5f5;
    padding: 50px 30px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 99%;
    box-shadow: 0 4px 8px rgb(44, 93, 255);
  }
  
  .seguranca-trabalho h2 {
    color: #330092;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .seguranca-trabalho p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
  }
  body {
    font-family: 'roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("banner.jpg"); /* substitua pelo seu arquivo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* deixa o fundo "flutuando" */
    background-repeat: no-repeat;
  }
  .galeria-mini {
  background: rgba(34, 2, 122, 0);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 2px 6px rgba(53, 1, 240, 0.705);
  overflow: hidden;
}

.galeria-mini h2 {
  color: #330092;
  margin-bottom: 15px;
  text-align: center;
  font-size: 2rem;
}

.slider-mini {
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: calc(180px * 14); /* número de slides x largura */
  animation: scroll 30s linear infinite;
}

.slide {
  flex: 0 0 auto;
  width: 380px;
  margin: 0 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0);
  overflow: hidden;
  background: rgb(35, 4, 117);
}

.slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

/* ANIMAÇÃO */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-180px * 7)); /* metade do total para loop perfeito */
  }
}
  
  .galeria-logos {
  background: rgba(30, 0, 197, 0);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0);
  overflow: hidden;
}

.galeria-logos h2 {
  color: #f5f5f5;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 15px;
}

.slider-logos {
  overflow: hidden;
}

.slide-track-logos {
  display: flex;
  width: calc(150px * 14);
  animation: scroll-logos 25s linear infinite;
}

.slide-logo {
  flex: 0 0 auto;
  width: 200px;
  margin: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.slide-logo img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

/* ANIMAÇÃO LOGOS */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-150px * 7));
  }
}

  .redes-sociais {
    background-color: #16006400;
    padding: 50px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(4, 0, 255, 0.658);
  }
  
  .redes-sociais h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 30px;
  }
  
  .icones-redes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .icones-redes a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, color 0.3s;
  }
  
  .icones-redes a img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    transition: transform 0.3s;
  }
  
  .icones-redes a:hover img {
    transform: scale(1.2);
  }
  
  .icones-redes a:hover {
    color: #cc0000; /* muda cor ao passar o mouse */
  }
  