*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
.topo{
    height: 110px;
    background-color:#0D004D;
    justify-items:center ;
    color: white;
    
}
#img-logo{
    display: flex;
}
.container{
    background-color: #010A77;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 30px;
    width: 100vw;
    color: white;
    font-family: arial;
    height: 40px;
}
a{
    text-decoration: none;
    color: white;
}
.tipo{
    display: flex;
    background-color: rgb(254, 152, 0);
    border-radius: 10px;
    height: 30px;
    margin-top: 5px;
}
.tipo:hover{
    background-color: rgb(224, 135, 1);
}
.banner{
    display: flex;
    max-width: auto;
    min-width:600px;
    height: 300px;
    background-image: url(fundo4.webp);
     background-size: cover;
    background-position: center; /* ISSO centraliza */
}
#noticias{
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  font-family: Arial, sans-serif;

  display: flex;
  flex-direction: column;
  align-items: center;
}

#titulo-noti{
  color: rgb(0, 88, 40);
  font-size: 20px;
  margin-bottom: 15px;
}

/* CONTAINER PRINCIPAL */
#conteudo-noticias{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* IMAGEM */
#div-img{
  flex: 1;
  max-width: 600px;
  height: 350px;
  border-radius: 10px;
  background-image: url(fundo2026.webp);
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

/* LISTA */
#lista-noti{
  flex: 1;
  max-width: 600px;
  height: 350px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* NOTÍCIA */
.noticia{
  display: flex;
  gap: 15px;
  align-items: center;
}

.lista-verde{
  background-color: red;
  height: 60px;
  width: 5px;
}

.lista-not{
  font-size: 16px;
  font-weight: bold;
}

.manchete{
  color: rgb(0, 128, 21);
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

/* VER MAIS */
#ver-mais{
  align-self: flex-end;
}

#link-ver-mais{
  color: #208301;
  font-weight: bold;
  text-decoration: none;
}

#datas{
  width: 100%;
  max-width: 900px;
  background-color: rgb(255, 210, 147);
  margin: 20px auto;
  border-radius: 15px;
  padding: 20px;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* TOPO */
#header-datas{
  display: flex;
  align-items: center;
  gap: 20px;
}

#img-agenda{
  height: 120px;
}

#texto-save{
  font-size: 24px;
  font-family:'Franklin Gothic Medium', Arial, sans-serif;
  font-style: italic;
  color: rgb(0, 188, 6);
}

/* LISTA HORIZONTAL */
#lista-datas{
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* quebra linha se faltar espaço */
  justify-content: center;
}

/* CARD */
.card-date{
  background-color: rgb(4, 162, 31);
  height: 150px;
  width: 200px;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.card-date:hover{
  background-color: rgb(4, 148, 28);
  cursor: pointer;
}

.dia-date{
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.diames-date{
  color: white;
  font-weight: bold;
  font-size: 42px;
}

.infor-date{
  color: white;
  font-weight: bold;
  font-size: 14px;
}


#cursos{
  width: 100%;
  margin-top: 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#texto-cursos{
  font-size: 22px;
  font-weight: bold;
}

/* CONTAINER DOS CURSOS */
#img-cursos{
  display: flex;
  flex-wrap: nowrap;   /* PC: NÃO quebra */
  justify-content: center;
  gap: 20px;
  width: 100%;
}

/* ITEM */
.curso-item{
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* LOGO */
.logos-cursos{
  width: 90px;
  height: 90px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.logos-cursos:hover{
  transform: scale(1.1);
}

/* TEXTO */
.cursos-texto{
  font-size: 14px;
  text-align: center;
}

#historia-escola{
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 15px;
  background-color: #e3e3e3;

  display: flex;
  gap: 30px;
  align-items: center;
}

/* TEXTO */
.historia-texto{
  flex: 2;
}

.historia-texto h2{
  color: #005828;
  margin-bottom: 15px;
}

.historia-texto p{
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* DESTAQUE */
.historia-destaque{
  flex: 1;
  background-color: #00b63a;
  color: white;
  border-radius: 15px;
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.historia-destaque h3{
  font-size: 28px;
  margin-bottom: 10px;
}

.historia-destaque p{
  font-size: 16px;
}

#filme{
  width: 95%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 15px;
  background-color: #f2f2f2;

  display: flex;
  align-items: center;
  gap: 30px;
}

/* IMAGEM */
.filme-img{
  flex: 1;
  display: flex;
  justify-content: center;
}

#img-livro{
  width: 200px;
  max-width: 100%;
}

/* TEXTO */
.filme-conteudo{
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#titulo-filme{
  font-size: 24px;
  color: #005828;
}

#texto-filme{
  font-size: 16px;
  line-height: 1.6;
}

#link-filme{
  align-self: flex-start;
  padding: 10px 30px;
  background-color: #ff6f00;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
}

#link-filme:hover{
  background-color:#dc6001 ;
}

#rodape{
  width: 100%;
  background-color: #064d24;
  color: white;
  padding: 30px 20px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.rodape-coluna{
  flex: 1;
  min-width: 200px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rodape-coluna h3{
  margin-bottom: 10px;
  font-size: 18px;
}

.rodape-coluna p{
  font-size: 14px;
  line-height: 1.5;
}

/* REDES */
.rodape-redes{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rodape-redes a{
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.rodape-redes a:hover{
  color: #ffeaa7;
}

/* COPY */
#rodape-copy{
  width: 100%;
  text-align: center;
  background-color: #dc6001;
  color: white;
  padding: 10px;
  font-size: 13px;
}

/* RESPONSIVO */
@media (max-width: 800px){
  #historia-escola{
    flex-direction: column;
  }

  .historia-destaque{
    width: 100%;
  }

  .historia-texto p{
    font-size: 15px;
  }
}


/* TABLET */
@media (max-width: 1100px){
  #conteudo-noticias{
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px){

h1{
  font-size: 15px;
}

  #conteudo-noticias{
    gap: 20px; /* espaço só entre imagem e lista */
  }

  #lista-noti{
    height: auto;
    gap: 0;   /* REMOVE o espaço entre notícias */
  }

  .noticia{
    flex-direction: column;
    text-align: center;
    padding: 10px 0;  /* espaçamento controlado */
  }

  .lista-verde{
    display: none; /* remove a barra no mobile */
  }

  #ver-mais{
    align-self: center;
    margin-top: 10px;
  }
  #datas{
    max-width: 100%;
    padding: 10px;
    gap: 10px;
  }

  /* TOPO */
  #header-datas{
    gap: 10px;
  }

  #img-agenda{
    height: 60px;
  }

  #texto-save{
    font-size: 16px;
  }

  /* LISTA */
  #lista-datas{
    gap: 10px;
  }

  /* CARD */
  .card-date{
    width: 130px;
    height: 90px;
    border-radius: 8px;
  }

  .dia-date{
    font-size: 12px;
  }

  .diames-date{
    font-size: 24px;
  }

  .infor-date{
    font-size: 10px;
  }
  #img-cursos{
    flex-wrap: wrap;       /* quebra em linhas */
    max-width: 320px;      /* força 2 por linha */
    justify-content: center;
    gap: 15px;
  }

  .curso-item{
    width: 140px;         /* controla 2 por linha */
  }

  .logos-cursos{
    width: 70px;
    height: 70px;
  }

  .cursos-texto{
    font-size: 12px;
  }
}