
  /* Reseta as margens e paddings */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  /* Alto contraste */
  body.high-contrast {
    background-color: black;
    color: white;
  }

  body.high-contrast a {
    color: yellow;
  }

  body {
    position: relative;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    background-color: #ffffff;

  }

 /* Estilo original para telas grandes */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 120px; /* Ajuste conforme o tamanho do seu logo */
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.main {
  margin-top: 120px; /* Igual à altura do header */
  padding: 0 80px; /* Seu padding lateral já existente */
  flex: 1;
  padding-top: 100px; /* ou a altura do seu header + um pouco de folga */
  padding-left: 20px;
  padding-right: 20px;
}
  nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    width: 100%;
    background: linear-gradient(to bottom, #00A604, #037200);
    /* Degradê de verde escuro para verde claro */
  }

  .logo {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    /* Espaçamento para o logo ficar abaixo da barra de navegação */
    width: 100%;
    /* Garante que o logotipo fique centralizado */
    background-color: rgb(255, 255, 255);
    /* Cor do fundo para o logotipo */

  }

  .logo img {
  max-width: 100%;
  height: auto;
  max-height: 100px; /* Limita a altura para não crescer demais */
  display: block;
  margin: 0 auto;
}

  .logo img:hover {
    transform: scale(1.05);
  }

  .menu {
    flex-grow: 1;
    /* Permite que o menu ocupe todo o espaço disponível */
  }

  .menu ul {
    display: flex;
    list-style: none;
    justify-content: flex-start;
    padding-left: 0;
    margin: 0;
  }

  .menu ul li {
    margin: 0 10px;
  }

  .menu ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
  }

.menu ul li a {
  position: relative;
  display: inline-block;
  padding: 5px 5px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #eef6fe; /* Cor da linha */
  transition: width 0.3s ease;
}

.menu ul li a:hover {
  color: #eaf2fb; /* Cor do texto ao passar o mouse */
}

.menu ul li a:hover::after {
  width: 100%;
}

  /* Container para Carousel e Cards */
  .carousel-cards-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 50px;
    /* Espaço para o header fixo */
    gap: 20px;
  }

  /* Carrossel */
  .carousel {
    flex: 1;
    max-width: 98%;
    /* Ajuste conforme necessário */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 45px;

  }

  .carousel-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: none; /* Escondidas por padrão */
  box-shadow: 0px 0px 10px rgb(182, 182, 182);
  border-radius: 10px;
}

.carousel-image.active {
  display: block; /* Mostra apenas a ativa */
}

  /* Cards */
  .cards-container {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    /* Ajuste conforme necessário */
    padding: 40px;
  }

  .card {
    width: 20%;
    /* 5 cards na mesma linha: 100 / 5 = 20%; ajustado para 18% para espaçamento */
    margin: 10px 1%;

  }

  .card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
  }

  .card img:hover {
    transform: scale(1.05);
  }

  /* Notícias */
  .noticias {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .noticia-card {
    width: 30%;
    text-align: center;
  }

  .noticia-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .noticia-card p {
    margin-top: 10px;
    font-size: 16px;
    color: #037200;
  }

  .accessibility {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px;
}

.access-btn {
  padding: 8px 12px;
  background-color: #004080;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.access-btn:hover {
  background-color: #8d8f90;
  transform: scale(1.05);
}

.access-btn:active {
  transform: scale(0.98);
}

.high-contrast-btn i.material-icons {
  font-size: 20px;
}
.high-contrast {
  background-color: #000 !important;
  color: #fff !important;
}

.high-contrast a {
  color: #0ff !important;
}

.high-contrast .access-btn {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000;
}

.high-contrast .high-contrast-btn i {
  color: #000 !important;
}

  /* Rodapé */
  .footer {
    background: linear-gradient(to bottom, #00A604, #037200);
    color: white;

    .links {
      ul {
        list-style-type: none;
      }

      li a {
        color: white;
        transition: color .2s;

        &:hover {
          text-decoration: none;
          color: #000000;
        }
      }
    }

    .about-company {
      i {
        font-size: 25px;
      }

      a {
        color: white;
        transition: color .2s;

        &:hover {
          color: #4180CB
        }
      }
    }

    .location {

      i,
      h1 {
        font-size: 18px;
      }
    }

    .copyright p {
      border-top: 1px solid rgba(255, 255, 255, .1);
      text-align: center;
    }
  }

  .img-container:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }

  
  .zap {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
}

.zap a {
    color: #25D366;
    text-decoration: none;
    font-weight: bold;
}

.zap i {
    margin-right: 5px;
    font-size: 24px;
}
.vaga {
    text-align: center;
    margin-top: 10px;
    font-size: 22px;
}

.vaga a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.vaga i {
    margin-right: 5px;
    font-size: 24px;
}

/* Estilos para telas pequenas (até 768px) */
@media (max-width: 768px) {
  .carousel-cards-container {
    display: none;
  }

  .cards-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0 auto;
     margin-top: 110px; /* ou ajuste para o suficiente */
    z-index: 0; /* fica atrás do logo se precisar */
  }

  .card {
    width: 100%;
    margin: 10px 0;
  }

  /* Notícias em coluna e mais largas */
  .noticias {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .noticia-card {
    width: 100%; /* ocupa quase toda largura */
    margin: 10px 0;
  }
  header {
    height: 90px; /* diminui o header */
  }

  .main {
    margin-top: 110px;
  }

  .logo img {
    max-height: 70px;
  }
  /* Esconde o menu (itens da navbar) */
  .menu {
    display: none;
  }
  
  
  /* Se quiser mostrar quando o menu estiver ativo (exemplo menu hamburguer) */
  .menu.active {
    display: flex;
    flex-direction: column;
    background-color: #004080; /* ou a cor que preferir */
    padding: 10px;
  }
  
  .menu ul {
    flex-direction: column;
  }

  .menu ul li {
    margin: 10px 0;
  }
  /* Logo menor */
  .logo img {
    width: 90%; /* diminui mais o tamanho */
    margin: 0 auto;
    display: block;
  }

  /* Se o logo tem position fixed ou absolute, deixe position static ou relative */
  .logo {
    position: relative; /* garante que não fique sobreposto */
    z-index: 1; /* um z-index baixo */
  }



/* Ajustes extras para telas muito pequenas (ex: <400px) */
@media (max-width: 400px) {
  header, .main {
    width: 95%;
    padding: 15px;
    margin-top: 120px;
  }
}
