@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: auto; /* não fixe altura */
  min-height: 100%; /* pelo menos altura da tela */
  overflow-x: hidden; /* só impede rolagem horizontal */
  overflow-y: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

 

/* ------ TEXTOS ------ */

 
 
a {
  text-decoration: none;
  color: inherit;
}
 
main {
  padding-top: 20px;
}
main .imagem-conteudo {
  width: 100%;
  height: 80vw;
  overflow: hidden; 
  margin-top: -20px;
  position: relative; /* necessário para posicionar o conteúdo */
  background: #036d00;
}

/* IMAGEM */
main .imagem-conteudo .foto img {
  position: absolute;
  top: 0; 
  width: 100%;
  height: 100%;
  object-fit: cover; /* preenche sem distorcer */
}

/* CONTEÚDO SOBRE A IMAGEM */
main .imagem-conteudo .conteudo p {
  position: absolute; /* coloca sobre a imagem */
  width: 80%;
  top: 48%;
  left: 50%;
  justify-content: center;
  transform: translate(-50%, -50%); /* centraliza perfeitamente */
  text-align: center; /* centraliza o texto */
  color: #edb300;
  font-size: 1.4rem;
  font-weight: 480;
}

/* Sublinhado amarelo */
main .imagem-conteudo .conteudo p span {
  position: relative;
}

main .imagem-conteudo .conteudo p span::after {
  content: "";
  position: absolute;
  bottom: 12px; /* distância do texto */
  left: 0;
  bottom: -25px;
  width: 100%; /* comprimento da linha */
  height: 5px; /* espessura da linha */
  background: #edb300; /* amarelo da imagem */
  border-radius: 10px;
}

/* Estilo dos icones de comunicaçao que se encontram por baixo da imagem principal */
main .comunicacao { 
  display: block;
  flex-direction: row;
  width: 95%;
  margin: auto;
  height: 20%;
}

main .comunicacao .contactos {
  display: block;
  width: 99%;
  height: auto;
  flex-wrap: wrap;
  margin: 25px auto; 
  justify-content: left;
  align-items: left;
  background: #ffffff;
}

main .comunicacao .contactos .primeiro, .segundo, .terceiro {
  display: flex;
  width: 100%;
  height: auto;
  justify-content: left;
  align-items: center;
}

main .comunicacao .contactos  .img1, .img2, .img3{
  display: flex;
  width: 20%; 
  height: auto; 
  padding: 10px; 
  margin: 10px;
  border-radius: 50%;
  flex-wrap: wrap;
  text-align: left;
  justify-content: left;
  background: #036d00;
  flex-wrap: wrap;
}

main .comunicacao .contactos  .img1:hover, .img2:hover, .img3:hover{
  opacity: 0.7;
}

main .comunicacao .contactos  span, h3{ 
 font-size: 2.0rem;
}

main .comunicacao .contactos p{
 font-size: 1.2rem;
 color: #646464;
 flex-wrap: wrap;
}

/* FORMULÁRIO DE CONTÁCTOS */
main .formulario{
  display:grid;
  width: 95%;
  height: auto;
  padding: 5% 5% 1% 5%;
  margin: 30px auto; 
  border-radius: 16px;
  background: #036d00;
}

main .formulario h1{
  width: 80%;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #ffffff;
}

main .formulario span{
  width: 80%;
  color: #edb300;
}

/* para os dois primeiros inputs que se encontram um ao lado do outro  */
main .formulario .dois-inputs{
  display: block;
  width: 100%;
  height: 250px;
  gap: 30px;
  margin: 0 0;
  color: #ffffff;
  justify-content: center; 
}

main .formulario .dois-inputs .primeiro{ 
  margin: 0 0 !important; 
}

main .formulario .dois-inputs .segundo{ 
  margin: 66px 0 !important; 
}

main .formulario .dois-inputs input{
  display: flex;
  height: 50px;
  width: 90%;
  font-size: 16pt;
  margin: 10px 5px;
  border: none;
  padding: 5%;
  border-radius: 50px; 
}
main .formulario .dois-inputs label{
  color: #ffffff;
  top: 10%;
  font-size: 1.4em;
}

main .formulario .dois-inputs .primeiro{
  display: block;
  height: 50px;
  width: 100%; 
  margin: 10px 10px;
  border: none; 
  border-radius: 50px;
  color: #000000;
}

main .formulario .dois-inputs .segundo{
  display: block;
  height: 50px;
  width: 100%; 
  margin: 10px 10px;
  border: none; 
  border-radius: 50px;
  color: #000000;
}

main .formulario .caixa-mensagem{
  display: block;
  width: 100%;
  height: 220px; 
}

main .formulario .caixa-mensagem  label{
  color: #ffffff; 
  font-size: 1.4em;
} 
main .formulario .caixa-mensagem textarea{ 
  display: block;
  font-size: 16pt;
  width: 100%; 
  height: 160px; 
  margin: 1% auto;
  padding: 2%;
  border-radius: 16px;
}

/* BOTÃO DE ENVIO DO FORMULARIO */
main .formulario i{ 
  padding: 5px;
  width: 34px;
  height: 34px;
  margin: 0 0 0 -20px;
  color: #ffffff;
  border-radius: 50%;
  background: #036d00;
}
 
main .formulario .botao button{ 
  display: block;
  width: 150px;
  margin: 1% 0 8% 0;
  padding: 6px;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  align-items: center;
  border-radius: 50px;
  justify-content: start;  
  background: #a18b00;
} 
main .formulario .botao:hover {
  opacity: 0.9;
}

/* MAPA PARA LOCALIZAÇÃO DA ESCOLA */
#mapa {
  margin: 5% auto;
  width: 90%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
}




/* 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;
}

.endereco img {
  width: 16%;
  margin: auto;
  padding: 2%;
  justify-content: center;
  align-items: center;
}

.endereco p {
  font-size: 25pt;
  line-height: 1.5;
}


/* Rodapé */

.rodape {
  flex: 1 1 100vw;
  margin: 0;
  justify-content: center;
  padding: 10px;
  border: none;
  color: #ffffff;
  background-color: #a18b00;
  text-align: center;
}



@media (max-width: 768px) {
  .cabecalho0 {
    display: none;
  }
  .head-mobile {
    display: block;
  }
}
/* ===== HEADER MOBILE ===== */
.head-mobile {
  display: none; /* escondido por padrão */
  background-color: #036d00;
  padding: 10px 30px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  position: relative; /* rola junto com a página */
  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: 50px;
  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%;
  border: 2px solid #edb300;
  background-color: transparent;
  color: #edb300;
  transition: 0.3s ease;
}

.head-mobile .btn-whatsapp:hover {
  background-color: #b9a209;
  color: #036d00;
  border: 2px solid #edb300;
  transform: scale(1.05);
}

.head-mobile .btn-whatsapp i {
  font-size: 18px;
}

/* Hamburger */
.head-mobile .menu {
  width: 40px;
  height: 40px;
  background-color: #f1d621;
  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: #036d00;
  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: #036d00;
  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: 20px;
  color: #edb300;
  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: #2d5a00;
  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: space-around;
  padding: 4px;
  gap: 4px;
  background-color: #036d00;
  margin-top:405px;
}

.head-mobile .icone-direita a {
  display: block;
  width: 40px;
  height: 40px;
  background-color: #f1d621;
  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: 20px;
  height: 20px;
}

.head-mobile .icone-direita a:hover {
  transform: scale(1.1);
}

/* 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;

}

 