
/* PARA COMPUTADORES NORMAIS */

@media only screen and (max-width: 1400px) {
  main #sessao1 {
    display: grid;
    position: relative;
    overflow: visible; /* permite ver todo o conteúdo */
    height: 200vh; /* altura conforme o conteúdo */
    background: #ffffff;
  }

  /* ESTILIZANDO O TOPO BRANCO DA PÁGINA PRINCIPALMCOM FUNDO VERDE */
  main .tela-principal .topo-branco {
  width: 100%;
  height: 50%;
  position: absolute;
  left: 50%;                   /* leva o elemento até o meio */
  transform: translateX(-50%); /* puxa ele de volta 50% da própria largura */
  top: -57%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 80% 80%;
  background: #ffffff;
}

main .tela-principal #borda-verde {
  width: 6%;
  height: 7%;
  position: relative; 
  bottom: -33%;                  
  display: flex;
  align-items: flex-end;
  justify-content: end;
  background: #036d00;
}

/* PARTE BRANCA QUE FICA POR BAIXO DOS ICONES DE ENSINO */
main .tela-principal .base-branca {
   width: 110%;
  height: 22%;
  position: absolute; 
  /* top: 0; */                  
  bottom: -129px;                  
  display: flex;
  margin-left: -6%;
  margin-right: 0;
  align-items: center;
  justify-content: center; 
  background: #ffffff;
  z-index: 1;
}


  /* STILIZANDO O TEXTO DO CARROSSEL PRINCIPAL */
main #sessao1 #carrossel .conteudo {
  display: flex;
  width: 50%; 
  height: 100%;
  padding: 20px;
  margin-top: 30px;
  margin-left: -44%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  color: #ffffff;
  z-index: 2; 
}

main #sessao1 #carrossel .conteudo h1 {
  font-family: 'Montserrat', sans-serif;  /* fonte parecida com a da imagem */
  text-transform: uppercase;
  font-weight: 900;            /* máximo para essa fonte */
  font-size: 3.8rem;             /* ajusta o tamanho */
  letter-spacing: 3px;         /* espaço entre letras */
  color: white;
  position: relative;
  padding-bottom: 4%;
  margin: 0; 
}

/* Sublinhado amarelo */
main #sessao1 #carrossel .conteudo h1 span {
  position: relative;
}

main #sessao1 #carrossel .conteudo h1 span::after {
  content: "";
  position: absolute;
  bottom: 2px;             /* distância do texto */
  left: 0;
  width: 75%;               /* comprimento da linha */
  height: 3px;              /* espessura da linha */
  background: #a18b00;      /* amarelo da imagem */
  border-radius: 10px;
}

main #sessao1 #carrossel .conteudo p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: none; 
    line-height: 1.3; 
    color: white; 
} 

main #sessao1 #carrossel .conteudo p strong {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 550; 
    line-height: 1.3; 
    color: white; 
}

/* ESTILIZANDO O TEXTO DE INFORMAÇÕES ESCOLAR */
main .informacoes-escolar {
  display: block;
  justify-content: center;
  width: 60%;
  height: 220px;
  padding: 0 0 0 0;
  margin: 0 auto 0 auto;
}

main .informacoes-escolar h1 { 
  margin-top: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 1.8rem; 
}

main .none-escola {
  display: flex;
  justify-content: center;
  color: #036d00; 
  font-size: 22pt;
}

/* Sublinhado Verde */
main .informacoes-escolar h1 span {
  position: relative; 
  padding-bottom: 30px;
}

main .informacoes-escolar h1 span::after {
  content: "";
  position: absolute;
  bottom: 12px;             /* distância do texto */
  left: 0;
  width: 80%;               /* comprimento da linha */
  height: 9px;              /* espessura da linha */
  background: #036d00;      /* amarelo da imagem */
  border-radius: 10px;
}
 

main .informacoes-escolar p {
  display: flex;
  text-align: center;
  line-height: 1.5;
  font-size: 14.9pt;
  justify-content: center; 
}
 
  /* Imagens pequenas que estão a baixo do Carrocel */
main #sessao1 .imagens-pequenas {
  display: flex;
  width: 90%;
  height: 400px; 
  gap: 5px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto 0 auto;
  padding: 0; 
}

main #sessao1 .identificador-imagens {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 1%;
  margin-top: -10px;
  justify-content: center;
  align-items: center;
}
  main #sessao1 .identificador-imagens span {
    width: 5%;
    height: 10px;
    display: flex;
    margin: -10px 2px 15px 0;
    background: #036d00;
    z-index: 1;
  }

  /* ESTILIZANDO O BOTÃO CONTACTAR NA SESSAO 3 */
  main #sessao3 .visita .conteudo a {
    margin-top: 20px;
  font-size: 17pt; 
}

/* Estilizabdo a foto e o conteudo inicial */
main .tela-principal .foto-conteudo {
  top: 15%;
  display: flex;
  width: 90%;
   height: 85%;
  padding: 0;
  margin: 0 auto 3% auto;
  gap: 4px;
  color: #ffffff;
  border-radius: 10px;
  align-items: center;
  justify-content: center; 
}

/* Estilo da foto da prof em sala de aulas */
main .tela-principal .img-prof {
  border-radius: 10px;
  margin: 1%;
  width: 90%; 
  height: 40%;
  background: #a18b00;
}

main .tela-principal img {
  border-radius: 10px;
  margin: 1%;
  width: 96%; 
}
main .tela-principal .conteudo .titulo {
  margin: 0 0 10px 0;
  font-size: 2.0rem;
  font-weight: 700;
}

main .tela-principal .conteudo p {
  font-size: 11pt;
}

/* Estilizando os icones de ensino que ficam por baixo */
.icones-ensino {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-left: 5px;
  margin: 60px;
  margin-top: 20px;
  border-radius: 10px;
  width: 79%;
}

/* Aplica estilo aos spans dentro de .primeiro */ 
.icones-ensino .primeiro span {
  font-size: 16pt;
  font-weight: 500;
  color: #036d00;
  margin-left: -16px;
  width: 90%;
  height: 50%;
  display: inline-block;
  text-align: center;
}

/* ELEMENTO 2 */
.icones-ensino .segundo {
  font-size: 14pt;
  background: transparent;
  color: #ffffff;
}

/* Aplica estilo aos spans dentro de .primeiro */
.icones-ensino .segundo span {
  margin-right: -60px;
  font-size: 16pt;
  display: inline-block;
  text-align: center;
}

/* ELEMENTO 3 */
.icones-ensino .terceiro {
  background: transparent;
  color: #ffffff;
}

/* Aplica estilo aos spans dentro de .primeiro */
.icones-ensino .terceiro span {
  font-size: 16pt;
  display: inline-block;
  text-align: center;
}

.icones-ensino .primeiro .imagem1,
.imagem2,
.imagem3 {
  margin-right: -10%;
  padding: 10px;
  width: 18%;
}

.icones-ensino .segundo .imagem2 {
  margin-right: -6%;
  padding: 0;
  width: 18%;
}

.icones-ensino .terceiro .imagem3 {
  margin-right: -6%;
  padding: 0;
  width: 18%;
}

/* Sessao 3 */

/* main #sessao3 {
  align-items: center;
  flex-wrap: wrap;
  display: flex;
  position: relative;
  margin: none;
  background: #ffffff;
} */

/* Contêiner .bordas centralizado e com altura reduzida */
main #sessao3 .bordas {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  width: 8%; 
  height: 3%; 
  margin: 10px auto;  
  padding: 0; 
  box-sizing: border-box; 
  border-radius: 16px;
  background: rgba(4, 109, 0, 0.096); 
}

/* Spans como linhas dentro da .bordas */
main #sessao3 .bordas span {
  display: block; 
  width: 80%; 
  height: 2px; 
  background: #a18b0085; 
  margin: 2px 0; 
  border-radius: 3px; 
  border: none;
}

main #sessao3 .visita {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 76%;
  margin: 1% 7% 0 7%;
  margin: none;
  gap: 10px;
}

main #sessao3 .visita .conteudo {
  justify-content: center;
  margin-top: -20px;
  width: 40%;
  margin: none;
}

main #sessao3 .visita .conteudo h1 { 
  padding: 10px 0 14px 0;
  color: #036d00;
  font-size: 25pt;
  font-weight: 500;
}

main #sessao3 .visita .conteudo p { 
  font-size: 13pt;
}

main #sessao3 .visita .conteudo a {
  background: #036d00;
  color: #ffffff;
  font-size: 14pt;
  font-weight: 900;
  width: 200px;
  max-width: 43%;
  justify-content: center;
  align-items: center; 
  text-align: center;
  border-radius: 30px;
  margin: 5% 0 0 0;
}

main #sessao3 .visita .conteudo a:hover {
  background: #a18b00;
}

main #sessao3 .visita .conteudo a i {
  font-size: 20pt; 
  font-weight: 900;
}

main #sessao3 .visita img {
  width: 125%;
  height: 320px;
  margin: none;
  border-radius: 16px; 
}

/* PERGUNATAS FREQUENTES */

main .perguntas-respostas {
  display: flex;
  width: 100%;
  height: 90%;
  gap: 10px;
  margin: 0;
  flex-direction: row;
  color: #fff;
  background: #e6f1e6;
}

main .perguntas-respostas img {
  display: flex;
  width: 98%;
  height: 80%;
  align-items: center;
  justify-content: center;
  margin: auto;
  flex-direction: row;
  color: #fff;
  background: #d2d0dd;
  background: transparent;
}

main .perguntas-respostas .conteudo {
  position: relative;
  height: auto;
  margin-bottom: 100px;
  flex-wrap: wrap;
}

main .perguntas-respostas .conteudo .titulo {
  color: #036d00;
  font-size: 22pt;
  margin-bottom: 20px;
}

main .perguntas-respostas .conteudo .pergunta {
  padding: 2%;
  width: 100%;
  margin-bottom: 20px;
  font-size: 11pt;
  color: #036d00;
  background: #ffffff;
  border-radius: 28px;
  border-left: #a18b00 30px solid;
}


/* ULTIMAS NOTICIAS */

main .ultimas-noticias {
  justify-content: center;
  flex-direction: row;
  width: 100%;
  height: auto;
  margin: 8% 0;
  gap: 20px;
  padding: 2% 5% 2% 5%;
  background: #e6f1e6;
}

main .ultimas-noticias h1 {
  width: 100%;
  font-size: 24pt;
  color: #036d00;
}

main .ultimas-noticias .noticias {
  display: flex;
  width: 21.3%;
  height: 100%;
}

.noticias img {
  width: auto;
  width: 100%;
  height: 200px;
  border-radius: 18px; /* opcional: deixa a imagem com cantos arredondados */
}

.noticias span {
  color: #036d00;
  line-height: 1.5;
  margin: 10px; /* Espaço entre imagem e texto */
  font-size: 14px;
  display: block;
}


/* ============================================================
   CARROSSEL TOP 3 PROFESSORES
   ============================================================ */

/* Área geral do carrossel */
main #sessao3 .carrossel {
  width: 100%;
  height: 390px;
  padding: 25% 0;
  display: flex;
  justify-content: center; 
  position: relative;
  overflow: hidden; /* Esconde slides fora da tela */

  /* Espaço extra para os slides */
  margin-bottom: 40px; /* Ajuste conforme a altura dos slides */
}

/* Slide (cada .top3) */
main .carrossel .top3 {
  position: relative;
  display: flex;
  flex-direction: row; /* texto esquerda / imagem direita */
  width: 100%;
  height: 350px;
  margin: 5% 0 0 0;
  background: #036d00;
  padding: 40px;
  gap: 40px;
  bottom: 20%;
  z-index: 1; /* Slides atrás do ativo */
  top: 0;
  left: 0; 
  position: absolute; /* Sobreposição */
  opacity: 0; /* Inicialmente invisível */
  transition: transform 0.7s ease, opacity 0.7s ease;
}

/* Slide ativo */
main .carrossel .top3.ativo {
  opacity: 1; /* Apenas o slide ativo fica visível */
  z-index: 2; /* Coloca acima dos demais */
}

/* ---------------- TEXTO – ESQUERDA ---------------- */
main .carrossel .top3 .conteudo {
  position: absolute;
  width: 45%;
  flex: 1;
  color: #ffffff;  
}

main .carrossel .top3 h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 20px;
}

main .carrossel .top3 p {
  font-size: 15px; 
  line-height: 1.5; 
}

/* ---------------- IMAGEM – DIREITA ---------------- */
main .carrossel .top3 .imagem {
  position: absolute;
  display: flex;
  flex: 1;
  width: 600px;
  height: 1050px;
  bottom: 0;
  top: -710px;
  position: relative;
  right: -10px;
  align-items: end;
  justify-content: center; 
}

main .carrossel .top3 .imagem img {
  position: absolute;
  width: 580px;
  height:490px; 
  padding: 5% 0 4% 0 ;
  bottom: 0%;
  object-fit: cover;
  border-radius: 12px; 
}

main .carrossel .top3 .imagem .img3 {
    width: 330px;
}


/* FORMULÁRIO DE INSCREIÇÃO */

main .inscrever {
  display: flex;
  flex-direction: row; /* garante lado a lado */
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  background: #f5f3e5;
  margin: 3.5% 7%;
  border-radius: 50px;
  gap: 20px;
}

main .inscrever h1 {
  color: #036d00;
  margin-bottom: 3%; 
}
main .inscrever h1 span {
  color: #a18b00;
}

/* CONTEÚDO → ESQUERDA */
main .inscrever .conteudo {
  flex: 1; /* ocupa mais espaço */
  width: 40%;
  padding: 10px;
}

main .inscrever .conteudo p {
  color: #046d0097;
  font-size: 20pt;
  font-weight: 100;
}

/* FORMULÁRIO → DIREITA */
main .inscrever .formulario {
  width: 50%; /* tamanho fixo */
  padding: 20px;
  border-radius: 12px;
}

main .inscrever .formulario input {
  width: 100%;
  height: 57px;
  padding: 13px;
  padding-left: 4%;
  font-size: 15pt;
  margin-bottom: 4%;
  border: none;
  border-radius: 30px;
}

main .inscrever .formulario input::placeholder {
  color: #046d00a2;
  font-size: 14pt;
}

main .inscrever .formulario button {
  width: 36%;
  height: 57px;
  padding: 1%;
  font-size: 12pt;
  cursor: pointer;
  border-radius: 30px;
  margin-bottom: 2%;
  color: #ffffff;
  background: #036d00;
  border: none;
  text-transform: uppercase;
}

main .inscrever .formulario button:hover {
  background: #a18b00;
}

/* ______________-----------------________________ */

  nav .caixa-pesquisa:hover .pesquisa {
    width: 67%;
    background: #a18b00;
  }

  nav .caixa-pesquisa .pesquisa:focus {
    width: 70%;
  }
}

/* PARA CELULARES */

@media only screen and (max-width: 716px) {
  header .logo {
    display: none;
  }
  nav{
    width: 70%;
    height: 100%;
    top: 0;
    color: #a18b00;
    border-radius: 16px 0 0 16px;
    background: #036d00;
  }

  
main #sessao1 {
  display: grid;
  position: relative;
  overflow: visible; /* permite ver todo o conteúdo */
  height: 230vw; /* altura conforme o conteúdo */
  background: #ffffff;
}
  
main #sessao1 .carrossel{
  display: flex;
  margin: 3%;
  width: 95%;
  padding: 4%;
  height: 240px;
  top: 42px;
}

main #sessao1 .carrossel .conteudo{
  display: relative;
  width: 65%;
  height: auto;
  padding: 20px;
  top: 0;
  margin-left: -44%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  color: #ffffff;
  z-index: 2; 
}

main #sessao1 .carrossel .conteudo h1 {
  font-family: 'Montserrat', sans-serif;  /* fonte parecida com a da imagem */
  text-transform: uppercase;
  font-weight: 900;            /* máximo para essa fonte */
  font-size: 2rem;             /* ajusta o tamanho */
  letter-spacing: 3px;         /* espaço entre letras */
  color: white;
  position: relative;
  padding-bottom: 4%;
  margin: 0; 
}

/* Sublinhado amarelo */
main #sessao1 .carrossel .conteudo h1 span {
  position: relative; 
}

main #sessao1 .carrossel .conteudo h1 span::after {
  content: "";
  position: absolute;
  bottom: 0;             /* distância do texto */
  left: 0;
  width: 75%;               /* comprimento da linha */
  height: 5px;              /* espessura da linha */
  background: #a18b00;
  border-radius: 10px;
}


main #sessao1 .carrossel .conteudo p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: none; 
    line-height: 1.1; 
    color: white; 
} 

main #sessao1 .carrossel .conteudo p strong {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 550; 
    line-height: 1.3; 
    color: white; 
}


/* Imagens do carrossel */
main #sessao1 .carrossel img {
  width: 100%; /* MANTIDO */
  height: 100%;
  border-radius: 10px; /* MANTIDO */
  position: absolute; /* Novo */
  top: 0;
  left: 100%; /* Começam fora da tela */
  opacity: 0; /* Escondidas */
  transition: all 0.8s ease-in-out; /* Suave */
}

/* Texto de Apresentaçao do colegio */
main .informacoes-escolar {
  display: block;
  justify-content: center;
  text-align: justify;
  width: 340px;
  height: 220px;
  padding: 0 0 0 0;
  margin: 30px auto 30px auto; 
}

main .informacoes-escolar h1 { 
  margin-bottom: 25px;
  font-size: 1.4rem; 
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
}

/* main .none-escola {
  display: flex;
  justify-content: center;
  color: #036d00; 
  font-size: 22pt;
} */

/* Sublinhado Verde */
main .informacoes-escolar h1 span {
  display: none;
  position: relative; 
  padding-bottom: 30px;
}

main .informacoes-escolar h1 span::after {
  content: "";
  position: absolute;
  bottom: 11px;             /* distância do texto */
  left: 0;
  width: 80%;               /* comprimento da linha */
  height: 13px;              /* espessura da linha */
  background: #036d00;      /* amarelo da imagem */
  border-radius: 10px;
}
 

main .informacoes-escolar p {
  display: flex;
  text-align: center;
  line-height: 1.5;
  font-size: 12pt;
  justify-content: center; 
}

/* Imagens pequenas que estão a baixo do Carrocel */
main #sessao1 .imagens-pequenas {
  display: flex;
  width: 90%;
  height: 400px;
  gap: 5px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: -50px auto 0 auto;
  padding: 20px;
}

main #sessao1 .imagens-pequenas :nth-child(1){
  display: none;
} 

main #sessao1 .imagens-pequenas :nth-child(2){
  display: none;
} 

main #sessao1 .imagens-pequenas img {
  width: 98%;
  object-fit: cover; /* mantém proporção */
  margin: 0 auto;
  border-radius: 30px;
  border: 1px solid #046d0082;
  box-shadow: 0 10px 10px #9da19da4;
}

main #sessao1 .identificador-imagens {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

main #sessao1 .identificador-imagens span {
  width: 15%;
  height: 10px;
  display: flex;
  z-index: 1;
  border-radius: 20px; 
  margin: -10px 2px 10px 0;
  background: #036d00;
}

main #sessao1 .identificador-imagens span:nth-child(2) {
  display: flex;
  width: 10px;
  margin-right: 3px;
  background: #a18b00;
  border-radius: 50%;
}

main #sessao1 .identificador-imagens span:nth-child(3) {
  display: flex;
  width: 10px;
  background: #036d00;
  border-radius: 50%;
}


/* Parte estática do ensino Pré escolar */
main {
  display: block;
  position: relative;
  flex: 1 1 auto;
  bottom: 30px;
  overflow-y: scroll;
  flex-wrap: wrap;
  padding: 50px auto;
  margin: 0 -2px 0 -2px;
  background: #036d00;
  overflow: none;
}

main .tela-principal .topo-branco {
  position: static;
  width: 100%;
  height: 200px;
  position: absolute;
  left: 50%;                   /* leva o elemento até o meio */
  transform: translateX(-50%); /* puxa ele de volta 50% da própria largura */
  top: -57%;                  
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 90% 90%;
  background: #ffffff;
}
 
main .tela-principal #borda-verde {
  width: 6%;
  height: 5%;
  position: relative; 
  bottom: -22%;                  
  display: flex;
  align-items: flex-end;
  justify-content: end;
  background: #036d00;
}

/* PARTE BRANCA QUE FICA POR BAIXO DOS ICONES DE ENSINO */
main .tela-principal .base-branca {
   width: 110%;
  height: 22%;
  position: absolute; 
  /* top: 0; */                  
  bottom: -170px;                  
  display: flex;
  margin-left: -6%;
  margin-right: 0;
  align-items: center;
  justify-content: center; 
  background: #ffffff;
  z-index: 1;
}


main .tela-principal {
  top: 30%;
  right: 4%;
  position: fixed;
  margin-bottom: -10px;
  padding: 0;
  width: 90vw;
  height: 52%;
}

/* Estilizabdo a foto e o conteudo inicial */
main .tela-principal .foto-conteudo {
  top: 15%;
  display: flex;
  width: 100%;
   height: 90%;
  padding: 0;
  margin: 0 0 3% 0;
  gap: 4px;
  color: #ffffff;
  border-radius: 10px;
  align-items: center;
  justify-content: center; 
}

/* Estilo da foto da prof em sala de aulas */
main .tela-principal .img-prof {
  border-radius: 10px;
  margin: 1%;
  width: 100%; 
  background: #a18b00;
}

main .tela-principal img {
  border-radius: 10px;
  margin: 1%;
  width: 96%;
}

/* Estilo do conteudo a direita da foto da sala de aulas */
main .tela-principal .conteudo {
  display: block;
  top: 0;
  margin: 1% 2% auto 2%;
  padding: 10px;
  grid-column: 1/2;
  line-height: 1.6;
}

/* Estilizando o titulo */

main .tela-principal .conteudo .titulo {
  margin: 18px 0 10px 0;
  font-size: 3.4rem;
}

main .tela-principal .conteudo p {
  font-size: 16pt;
}


  main #sessao3 .bordas {
    width: 20%;
    height: 30px;
  }

  main #sessao3 .bordas span {
    width: 90%;
    height: 3px;
  }
}
