@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap");

/* Reset básico */
* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto; /* garante rolagem vertical */

}

@media (max-width: 768px) {
  .cabecalho0 {
    display: none;
  }
  .head-mobile {
    display: block;
  }
}
/* ===== HEADER MOBILE ===== */
.head-mobile {
  position: fixed;  
  background-color: #004D2F;
  padding: 10px 30px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  display: flex;
  z-index: 100;
  
}
@media (max-width: 767px) {
  .head-mobile {
    display: block;
  }
}

.head-mobile .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/* Logo */
.head-mobile .logo-area img.logo {
  width: 80px;
  height: auto;
  transition: transform 0.3s ease;
}

.head-mobile .logo-area img.logo:hover {
  transform: scale(1.08);
}

/* Grupo direita: WhatsApp + Hamburger */
.head-mobile .right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Botão WhatsApp apenas ícone */
.head-mobile .btn-whatsapp {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #004D2F;
  border: 2px solid #fff;
  color: white;
  transition: 0.3s ease;
}

.head-mobile .btn-whatsapp:hover {
  background-color: #036d00;
  transform: scale(1.05);
}

.head-mobile .btn-whatsapp i {
  font-size: 18px;
}

/* Hamburger */
.head-mobile .menu {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.head-mobile .menu::before,
.head-mobile .menu::after,
.head-mobile .menu div {
  content: '';
  width: 20px;
  height: 2px;
  background-color: #004D2F;
  position: absolute;
  transition: 0.3s;
}

.head-mobile .menu::before { top: 10px; }
.head-mobile .menu div { top: 19px; }
.head-mobile .menu::after { bottom: 10px; }

/* Abrir menu */
.head-mobile .menu.active::before { transform: rotate(45deg); top: 19px; }
.head-mobile .menu.active div { opacity: 0; }
.head-mobile .menu.active::after { transform: rotate(-45deg); bottom: 19px; }

/* Menu vertical */
.head-mobile .menu-items {
  position: absolute;
  top: 60px;
  right: 0;
  width: 280px;
  display: none;
  flex-direction: column;
  background-color: #004D2F;
  border-radius: 10px 0 0 30px;
  z-index: 99;
  padding-bottom:20px;
  
}

.head-mobile .menu-items ul {
  list-style: none;
  padding: 30px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
 
}

.head-mobile .menu-items ul li a {
  display: block;
 text-align:left;
  padding: 10px 25px;
  font-size: 16px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  border-bottom: solid 0.1px #fff;
text-decoration:none;
 line-height: 0;
}

.head-mobile .menu-items ul li a:hover {
  background-color: #036d00;
  transform: scale(1.05);
  transition: 0.25s ease;
}



/* Ativa menu */
.head-mobile .menu.active + .menu-items {
  display: flex;
}

.head-mobile .icone-direita {
  display: flex;
  justify-content: center;
  padding: 6px;
  gap: 6px;
  background-color: #004D2F;
  margin-top:505px;
}

.head-mobile .icone-direita a {
  display: block;
  width: 40px;
  height: 40px;
  margin-top: -30px;
  margin: -10px 10px 10px 10px ;
  background-color: #ffffff;
  border-radius: 5px; /* quadrado com cantos arredondados */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  color: #036d00;

}

.head-mobile .icone-direita a img {
  width: 35px;
  height: 35px;
  margin: 2%;

}

.head-mobile .icone-direita a:hover {
  transform: scale(1.1);
}

/* Mostrar header mobile apenas em telas pequenas */
@media (max-width: 768px) {
  .head-mobile {
    display: block;
  }
}




/* ===== Desktop (já existente) ===== */
.proximo {
  padding: 20px 80px 0 80px;
  margin-top: 80px;
}

/* Container horizontal para foto e conteúdo */
.proximo .eventos {
  display: flex;                         
  align-items: stretch;  

}

/* Foto ocupa 65% */
.proximo .photo {
  flex: 0 0 65%;
  height: 400px;
  border-radius: 10px;  
  overflow: hidden;
}

.proximo .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
    border-radius: 10px;  
}




/* ===== Mobile ===== */
@media (max-width: 767px) {

  /* .todas, .titulo1{
    display: none;
  } */
.titulo1 {
   
  color: #036d00;
  font-size: 1.2rem;
  margin-top: 5px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.todas{
   font-size: 1.1rem;
  line-height: 1.5;
  color: #000;
  align-items: first baseline;
  margin-bottom: 15px;
}

  .proximo {
    padding: 15px 20px 10px 20px;
  }

  .proximo .cont h1{
  margin-top: 5px;
color: #036d00;
 font-size: 1.4rem;
 font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


  .proximo .eventos {
    flex-direction: column; /* imagem em cima, texto embaixo */
    border-radius: 15px; /* arredonda todos os cantos no mobile */
  }

  .proximo .photo,
  .proximo .cont {
    flex: 0 0 auto; /* largura automática */
    width: 100%;
    border-radius: 15px 15px 0 0; /* topo arredondado da imagem */
  }

  .proximo .photo {
    height: 200px; /* altura menor no mobile */
    border-radius: 15px 15px 0 0;
  }



  .proximo .cont p {
     font-size: 1.1rem;
  line-height: 1.5;
  color: #000;
  align-items: first baseline;
  margin-bottom: 5px;
    
  }
}








/* Container de cards */
.pagina > .caixatexto {
  width: 100%;
  margin-top: 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 10px;
}

.pagina > .noticias > h2,
.pagina > .titulo {
  font-size: 30px;
  cursor: pointer;
  color: #036d00;
  font-size: 1.4rem;
}

.pagina > .noticias > h2:hover,
.pagina > .titulo:hover {
  text-decoration: underline;
}

/* Cada card */
.pagina > .caixatexto > .novocards {


  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

/* Cada card */
.pagina > .caixatexto > .novocards {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Link ocupando todo o card */
.pagina > .caixatexto > .novocards > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Hover dos cards */
.pagina > .caixatexto > .novocards:hover {
  transform: translateY(-5px);
}

/* Imagem do card */
.pagina > .caixatexto > .novocards > a > .img {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 15px;
}

.pagina > .caixatexto > .novocards > a > .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pagina > .caixatexto > .novocards:hover a .img img {
  transform: scale(1.08);
}

/* Texto do card */
.pagina > .caixatexto > .novocards > a > .titulo {
  padding: 10px 5px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  color: #141414ff;
  text-align: left;
}

.pagina > .caixatexto > .novocards > a > .titulo > .texto p {
  cursor: pointer;
  font-size: 15px;
  margin: 0;
}

/* RESPONSIVO MOBILE */
@media (max-width: 767px) {
  .pagina {
    padding: 20px 10px 40px 10px;
  }

  .pagina > .caixatexto {
    grid-template-columns: 1fr;
  }

  .pagina > .caixatexto > .novocards > a > .img {
    height: 180px;
  }
}






/* SUB RODAPÉ COM INFORMACOES ESCOLAR */

.endereco {
  width: 100%;
  line-height: 1.5;
  color: #036d00;
  padding-bottom: 80px;
  text-align: center;
  justify-content: center;
  background: #D1E5D1;
  padding: 30px 10px 10px 10px;
}

.endereco img{ 
  width: 40%; 
  margin: auto;
  padding: 4%;
  justify-content: center;
  align-items: center;
}

.endereco p{
  font-size: 17pt;
  line-height: 1.9;

}

.rodape{
  flex: 1 1 100vw;
  margin: 0;
  justify-content: center;
  padding: 10px ;
  border: none;
  color: #ffffff;
 background-color: #004D2F;
 text-align:center;
  font-size: 12pt;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 
}