/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
}

.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
   
}

.topo {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex; /* escondido inicialmente */
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  background-color: #fff;
  height: 70px;
  transition: 0.3s ease;
  box-shadow: 2px 2px 8px rgba(29, 28, 28, 0.2); /* sombra adicionada */
}

.topo a.active {
  border-bottom: 3px solid #0a9326;
  padding: 10px 5px;
  font-display: fallback;
  border-radius: 7px 7px ;
  background-color: #000;
  color: #ffffff;
}

.logo {
  height: 40px; /* reduz o tamanho da logo */
}

.menu a {
  margin: 0 10px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
}

.agrupador-links a.active {
  background-color: rgb(11, 12, 11); 
  color: white;
}

.login {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.img-container-noticia {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  margin: 0; /* remove margem */
  padding: 0;
}

.img-container-noticia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-container-noticia::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #08c62e  100%);
  pointer-events: none;
}

.data-planea {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* acima da imagem e do degradê */
  padding: 20px 30px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  border-bottom: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  background: transparent;
}





/* Agrupamento dos links */
.agrupador-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  border: 2px solid  #182892;
  border-radius: 30px;
  overflow: hidden;
  background-color: transparent;
  width: 50%;
  text-align: center;
 margin: 0 auto;
 margin-bottom: 35px;
 margin-top: 35px;
}

.agrupador-links a {
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 500px;
  font-size: 12px;
  color: #182892;
 
  transition: background-color 0.3s ease;
}

.agrupador-links a:last-child {
  border-right: none;
}

.agrupador-links a:hover {
  background-color: #182892;
  color: white;
}







.cards {
  width: 90%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #333;
}

h2 {
  margin-top: 40px;
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Container de 3 cards por linha */
.cards-trimestre {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mes-header {
  background-color: #0c2d71;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
}

.lista-atividades {
  list-style: none;
  padding: 15px 20px;
  margin: 0;
}

.lista-atividades li {
  padding: 20px 0;
  margin-left: 10px;
  
}

.lista-atividades li:last-child {
  border-bottom: none;
}


/* .logo1 {
  width: 150px;            
  height: auto;
  margin-left: 150px;      
  margin-top: 80px;
  display: block;   

} */
.footer-conten {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #f8f8f8;
  padding-left: 70px;
  color: #101327;
}

/* Lado esquerdo: texto + QR + contatos + ícones */
.coluna-esquerda {
  flex: 1;
  border-radius: 15px;
  color: #080a14;
  font-size: 12px;
}

.coluna-esquerda p {

  text-align: center;

}


.QR {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 0%;
  margin: 0 auto;
  /* <-- Centraliza horizontalmente */
}

.no-break {
  white-space: nowrap;
  /* Impede qualquer quebra de linha */
}


.QR img {
  width: 90%;
  height: 90%;
  text-align: center;
  margin-top: 0%;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}

.linha {
  margin: 2px;
  width: 240px;
  margin-left: 83px;
}

/* Ícones das redes sociais */
.redes-sociais {
  display: flex;
  justify-content: flex-end;
  /* alinha os ícones à direita */
  align-items: center;
  /* centraliza verticalmente */
  gap: 15px;
  /* espaçamento entre ícones */
  margin: 5px 50px 20px 0;
}

.icone-social {
  text-decoration: none;
  background-color: #142bc6;
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 5px;
  border-radius: 5px;

}

.redes-sociais a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0 5px;
  border-radius: 50%;
  background: #1939f0;
  color: white;
  font-size: 2.0rem;
  transition: all 0.2s ease;
}

.icone-social i {
  font-size: 25px;
  /* aumenta o tamanho do ícone */
}

.redes-sociais a:hover {
  background: #0a9326;
  color: #0a0e25;
  transform: scale(1.2);
}

.redes-sociais a:nth-child(1):hover {
  border: #080a14 1px solid;
  color: #FFFFFF;
  background: #2004f3;
  -webkit-background-clip: text;
  /* recorta o background dentro do texto */
  -webkit-text-fill-color: transparent;
  /* torna o texto transparente para ver o gradiente */
  font-weight: bold;
  transform: scale(1.3);
}

.redes-sociais a:nth-child(2):hover {
  border: #080a14 1px solid;
  color: linear-gradient(red, blue);
  background: linear-gradient(red, yellow, rgb(247, 5, 210), blue);
  -webkit-background-clip: text;
  /* recorta o background dentro do texto */
  -webkit-text-fill-color: transparent;
  /* torna o texto transparente para ver o gradiente */
  font-weight: bold;
  transform: scale(1.3);
}

.redes-sociais a:nth-child(2) {
  font-size: 1.8rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.redes-sociais a:nth-child(3):hover {
  border: #080a14 1px solid;
  color: #ffffff;
  background: #448c52;
  -webkit-background-clip: text;
  /* recorta o background dentro do texto */
  -webkit-text-fill-color: transparent;
  /* torna o texto transparente para ver o gradiente */
  font-weight: bold;
  transform: scale(1.3);
}

.redes-sociais a:nth-child(3) {
  color: #ffffff;
  background: #4fcb68;
}

@keyframes moverGradiente {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.texto-gradiente {
  background: linear-gradient(90deg, #00ff88, #0066ff, #ff00ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: moverGradiente 4s linear infinite;
}


/* Colunas do lado direito */
.colunas-horizontais {
  flex: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.coluna {
  min-width: 200px;
}

.coluna h3 {
  margin-bottom: 10px;
  color: #1c2772;
  font-size: 17px;
  display: inline-block;
  padding-bottom: 1px;
}

.coluna p {
  margin: 8px 0;
  color: #151c46;
  line-height: 1.6;
  font-size: 12px;
}


footer p a {
  text-decoration: none;
  /* remove sublinhado */
  border: none;
  /* remove bordas */
  outline: none;
  /* remove contorno padrão */
  font-style: normal;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  /* necessário para o transform funcionar bem */
  transition: all 0.4s ease;

  /* Gradiente visível desde o início */
  background: linear-gradient(90deg, #00ff88, #0066ff, #ff00ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

footer p {
  text-decoration: none;
  /* remove sublinhado */
  border: none;
  /* remove bordas */
  outline: none;
  /* remove contorno padrão */
  font-style: normal;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  /* necessário para o transform funcionar bem */
  transition: all 0.4s ease;

  /* Gradiente visível desde o início */
  background: linear-gradient(90deg, #00ff88, #0066ff, #ff00ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Efeito ao passar o mouse para o Link */
footer p a:hover,
footer p a:focus {
  transform: scale(1.3);
  background-position: 100% 0;
  /* faz o gradiente “mover” */
  filter: brightness(1.3);
  /* destaca as cores */
}

/* Efeito ao passar o mouse para o @ */
footer p:hover,
footer p:focus {
  transform: scale(1.3);
  background-position: 100% 0;
  /* faz o gradiente “mover” */
  filter: brightness(1.3);
  /* destaca as cores */
}

/* Melhora a acessibilidade: mostra um foco visível só quando for realmente necessário */
footer p a:focus-visible {
  outline: 3px solid rgba(0, 120, 200, 0.85);
  outline-offset: 3px;
}

/* Melhora a acessibilidade: mostra um foco visível só quando for realmente necessário */
footer p:focus-visible {
  outline: 3px solid rgba(0, 120, 200, 0.85);
  outline-offset: 3px;
}

footer {
  background-color: #ffffff;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #ccc;
  font-family: Arial, sans-serif;
  flex-wrap: wrap;
}

footer p {
  margin: 0;
  color: #313866;
  font-size: 14px;
  text-align: center;
  margin: 0 auto;
}

.icones-direita {
  display: flex;
  gap: 30px;
  align-items: center;
}

.item-icone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1b2355;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.item-icone1 {
  color: red;
  border-bottom: none;
  /* remove qualquer borda inferior */
  text-decoration: none;

}


.item-icone i {
  font-size: 18px;
}

.item-icone:hover {
  color: #0a0e25;
}

/* Responsividade */
@media (max-width: 768px) {
  .topo {
    flex-direction: column;
    padding: 15px;
  }

  .esquerda {
    margin-bottom: 15px;
  }

  .menu {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .menu a {
    margin: 5px;
    font-size: 14px;
  }

  .direita {
    margin-top: 10px;
  }
}