/* 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: 51%;
    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: 35%;
    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: 55%;
    height: 100%;
    padding: 20px;
    margin-top: 30px;
    margin-left: -40%;
    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: 4.4rem; /* 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: #149424; /* amarelo da imagem */
    border-radius: 10px;
  }

  main #sessao1 #carrossel .conteudo p {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    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: 30px;
    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: #00476d;
    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 1% 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%;
  }

  main .tela-principal img {
    border-radius: 10px;
    margin: 1%;
    width: 96%;
  }

  main .tela-principal .conteudo{
    width: 50%;
  }
  main .tela-principal .conteudo .titulo {
    margin: 0 0 10px 0;
    font-size: 2rem;
    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; 
    margin: 60px;
    margin-top: 20px;
    border-radius: 10px;
    width: 60%;
  }

  /* Aplica estilo aos spans dentro de .primeiro */
  .icones-ensino .primeiro span {
    font-size: 14pt;
    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%; 
    width: 20%;
  }

  .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: #004d2f;
    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: #149424;
  }

  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: #004d2f 25px 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: 320px;
    margin: 22% 0 0 0;
    background: #004d2f;
    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: 500px;
    height: 1052px;
    bottom: 0;
    top: -750px;
    position: relative;
    right: -10px;
    align-items: end;
    justify-content: center; 
  }

  main .carrossel .top3 .imagem img {
    position: absolute;
    width: 700px;
    height: 655px;
    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: #149424;
  }

  /* ______________-----------------________________ */

  nav .caixa-pesquisa .pesquisa {
    height: 30px;
    width: 18%;
    background: #004d2f;
  }

  nav .caixa-pesquisa:hover .pesquisa {
    height: 30px;
    width: 70%;
    background: #004d2f;
  }

  nav .caixa-pesquisa .pesquisa::placeholder {
    color: #ffffffd4;
    opacity: 1;
    font-size: 8pt;
    font-style: italic;
  }

  nav .caixa-pesquisa .pesquisa:focus {
    width: 90%;
  }
}
 

/* PARA CELULARES */
@media only screen and (max-width: 800px) {
  
  .cabecalho0 {
    display: none;
  }

  .head-mobile {
    display: flex;
  }

  /* ===== HEADER MOBILE ===== */
  .head-mobile {
    background-color: #004d2f;
    padding: 10px 30px;
    width: 100%;
    border-radius:  0 0 16px  16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    position: static; /* rola junto com a página */
    z-index: 100;
  }

  .head-mobile {
    display: block;
  }

  .head-mobile .container {
    width: 100%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center; 
  }

  /* Logo */
  .head-mobile .logo-area{ 
    z-index: 20;
    display: flex;
    width: 100%; 
  }
  .head-mobile .logo-area img {
    width: 90px;
    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 #ffffff;
    background-color: transparent;
    color: #ffffff;
    transition: 0.3s ease;
  }

  .head-mobile .btn-whatsapp:hover {
    background-color: #149424;
    color: #fdfffc;
    border: 2px solid #ffffff;
    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: 20px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    border-bottom: solid 0.1px #ffffff;
    text-decoration: none;
    line-height: 0;
  }

  .head-mobile .menu-items ul li a:hover {
    background-color: #004d2f;
    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: #004d2f;
    margin-top: 405px;
  }

  .head-mobile .icone-direita a {
    display: block;
    width: 40px;
    height: 40px;
    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: 32px;
    height: 32px;
  }

  .head-mobile .icone-direita a:hover {
    transform: scale(1.1);
  }

  .cabecalho0 {
    display: none;
  }
  .cabecalho1 {
    display: none;
  }

  .conteudo0 .menu0 a {
    color: #ffffff;
    margin-left: 0;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
  }
  .conteudo0 .menu0 a:nth-child(4) {
    display: flex;
    width: 44px;
    height: 45px;
    padding: 5px 5px 5px 6px;
    color: #ffffff;
    margin-left: auto;
    margin-right: 10px;
    border-radius: 50%;
    background: #149424;
    align-items: center;
    text-align: center;
  }
  header {
    display: none;
    display: none;
  }
  header .logo {
    display: none;
  }
  nav {
    display: none;
    width: 70%;
    height: 100%;
    top: 0;
    color: #ffffff;
    border-radius: 16px 0 0 16px;
    background: #036d00;
  }

  main #sessao1 {
    display: grid;
    position: relative;
    overflow: visible; /* permite ver todo o conteúdo */
    height: 255vw; /* 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: 70%;
    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: 1.5rem; /* ajusta o tamanho */
    letter-spacing: 3px; /* espaço entre letras */
    color: rgb(255, 255, 255);
    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: #036d00;
    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: 99%;
    object-fit: cover; /* mantém proporção */
    margin: 0 auto;
    border-radius: 16px;
    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: #004d2f;
    overflow: none;
  }

  main .tela-principal .topo-branco {
    position: static;
    width: 125%;
    margin: 0%;
    height: 215px;
    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: 10%;
    height: 5%;
    position: relative;
    bottom: -32%;
    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 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 28%;
    left: 0;
    width: 100%;
    height: 62%;
    margin: 0;
    padding: 20px;
  }

  /* Estilizabdo a foto e o conteudo inicial */
  main .tela-principal .foto-conteudo {
    display: block;
    width: 100%;
    height: 90%;
    padding: 0;
    margin: 0;
    gap: 4px;
    color: #ffffff;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
  }

  /* Estilo da foto da prof em sala de aulas */
  main .tela-principal .img-prof {
    display: block;
    margin-left: 0;
    width: 265px;
    height: 200px;
    border-radius: 10px;
  }

  /* Estilo do conteudo a direita da foto da sala de aulas */
  main .tela-principal .conteudo {
    width: 100%;
    display: flex;
    flex-direction: column; /* elementos um abaixo do outro */
    margin: 1% 2%;
    padding: 10px;
    line-height: 1.6;
  }

  /* Estilizando o titulo */

  main .tela-principal .conteudo .titulo {
    margin: 3px 0 10px 0;
    font-size: 1.4rem;
  }

  main .tela-principal .conteudo p {
    font-size: 12pt;
  }

  /* Estilizando os icones de ensino que ficam por baixo */
  .icones-ensino {
    display: none;
  }

  main #sessao3 .bordas {
    width: 20%;
    height: 30px;
  }

  main #sessao3 .bordas span {
    width: 90%;
    height: 3px;
  }

  main #sessao3 {
    align-items: center;
    flex-wrap: wrap;
    display: flex;
    position: relative;
    margin: none;
    background: #fefdfb;
  }

  /* 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: 90%;
    height: 3px;
    background: #004d2f;
    margin: 2px 0;
    border-radius: 3px;
    border: none;
  }

  main #sessao3 .visita {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    height: auto;
    margin: 1% 7% 0 7%;
    margin: none;
    gap: 10px;
    justify-content: center;
    text-align: center;
  }

  main #sessao3 .visita .conteudo {
    margin-top: 10%;
    text-align: justify;
    margin-top: -90px;
    width: 95%;
    margin: none;
  }

  main #sessao3 .visita .conteudo h1 {
    margin: 10px 0 14px 0;
    padding: 18% 0 4px 0;
    color: #004d2f;
  }

  main #sessao3 .visita .conteudo p {
    font-size: 14pt;
  }

  main #sessao3 .visita .conteudo a {
    background: #004d2f;
    color: #ffffff;
    font-size: 18pt;
    font-weight: 900;
    width: 100%;
    max-width: 43%;
    padding: 3% 3% 3% 5%;
    border-radius: 30px;
    margin: 3% 0 0 0;
  }

  main #sessao3 .visita .conteudo a:hover {
    background: #149424;
  }

  main #sessao3 .visita .conteudo a i {
    display: none;
    font-size: 13pt;
    margin-left: 18px;
    font-weight: 900;
  }

  main #sessao3 .visita img {
    display: block;
    width: 330px;
    margin: none;
    border-radius: 16px;
  }

  /* PERGUNTAS FREQUENTES */

  main .perguntas-respostas {
    display: flex;
    align-items: center; /* Centraliza verticalmente como na imagem */
    justify-content: center; /* Centraliza horizontalmente */
    gap: 40px; /* Espaço entre a imagem e o conteúdo */
    width: 100%;
    padding: 40px 0;
    background: #e6f1e6;
  }

  /* IMAGEM */
  main .perguntas-respostas img {
    width: 310px; /* Ajuste do tamanho aproximado da imagem */
    height: auto;
    text-align: end;
    margin-left: -50px;
    object-fit: contain;
  }

  /* COLUNA DE TEXTO */
  main .perguntas-respostas .conteudo {
    display: flex;
    flex-direction: column;
    justify-content: left;
    width: 100%;
    max-width: 380px; /* Limita a largura como no modelo */
  }

  /* TÍTULO */
  main .perguntas-respostas .conteudo .titulo {
    color: #004d2f;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left;
    text-align: center;
  }

  /* PERGUNTAS */
  main .perguntas-respostas .conteudo .pergunta {
    padding: 14px 20px;
    width: 100%;
    font-size: 12pt;
    color: #004d2f;
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 30px;
    border-left: 12px solid #149424;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Ícone ou seta no final da pergunta */
  main .perguntas-respostas .conteudo .pergunta span {
    font-size: 18px;
  }

  /* ULTIMAS NOTICIAS */

  main .ultimas-noticias {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin: 8% 0;
    gap: 20px;
    padding: 2% 5% 2% 5%;
    background: #e6f1e6;
  }

  main .ultimas-noticias h1 {
    width: 100%;
    font-size: 28pt;
    color: #036d00;
    text-align: center;
  }

  main .ultimas-noticias .noticias {
    display: flex;
    width: 95%;
    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: 200px;
    padding: 25% 0;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Esconde slides fora da tela */
    background: #ffffff;
    /* 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: 65%;
    margin: 20% 0 0 0;
    background: #004d2f;
    padding: 40px;
    gap: 40px;
    bottom: 15%;
    z-index: 1; /* Slides atrás do ativo */
    top: -20px;
    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 {
    width: 65%;
    right: 30%;
    text-align: left;
    position: absolute;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #ffffff;
    margin-top: -34px;
  }

  main .carrossel .top3 h1 {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 5px;
  }

  main .carrossel .top3 p {
    font-size: 12px;
    line-height: 1.5;
  }

  /* ---------------- IMAGEM – DIREITA ---------------- */
  main .carrossel .top3 .imagem {
    position: absolute;
    display: flex;
    flex: 1;
    width: 80px;
    height: 490px;
    bottom: 0;
    top: -382px;
    position: relative;
    align-items: end;
    justify-content: center;
  }

  main .carrossel .top3 .imagem img {
    position: absolute;
    width: 365px;
    height: 240px;
    padding: 10%;
    bottom: 0%;
    left: 8%;
    object-fit: cover;
    border-radius: 12px;
  }

  main .carrossel .top3 .imagem .img3 {
    height: 250px;
    width: 190px;
    left: 50%;
  }

  /* FORMULÁRIO DE INSCREIÇÃO */
  main .inscrever { 
    flex-direction: row; /* garante lado a lado */
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 5px;
    background: #c4e4c8;
    margin: 0 2% 15% 2%;
    border-radius: 50px;
    gap: 20px;
  }

  main .inscrever h1 {
    font-size: 15pt;
    color: #004d2f;
    margin-bottom: 4%;
  }

  main .inscrever h1 span {
    color: #149424;
    font-weight: 600;
  }

  /* CONTEÚDO → ESQUERDA */
  main .inscrever .conteudo {
    flex: 1; /* ocupa mais espaço */
    width: 40%;
    padding: 10px;
  }

  main .inscrever .conteudo p {
    color: #149424;
    font-size: 15pt;
    margin-bottom: -25px;
  }

  /* FORMULÁRIO → DIREITA */
  main .inscrever .formulario {
    width: 90%; /* tamanho fixo */
    padding: 5px;
    border-radius: 12px;
  }

  main .inscrever .formulario input {
    width: 100%;
    height: 55px;
    padding: 13px;
    padding-left: 4%;
    font-size: 15pt;
    margin-bottom: 4%;
    border: none;
    color: #004d2f;
    border-radius: 30px;
  }

  main .inscrever .formulario input::placeholder {
    color: #004d2f;
    font-size: 14pt;
  }

  main .inscrever .formulario button {
    width: 160px;
    height: 57px;
    padding: 1%;
    font-size: 13pt;
    cursor: pointer;
    border-radius: 30px;
    margin-bottom: 2%;
    color: #ffffff;
    background: #004d2f;
    border: none;
    text-transform: uppercase;
  }

  main .inscrever .formulario button:hover {
    background: #149424;
  }

  /* SUB RODAPÉ COM INFORMACOES ESCOLAR */

  main .endereco {
    width: 100%;
    margin: 0;
    line-height: 1.5;
    color: #149424;
    font-size: 18pt;
    text-align: center;
    justify-content: center;
    background: #d1e5d1;
  }

  main .endereco img {
    width: 40%;
    margin: auto;
    padding: 4%;
    justify-content: center;
    align-items: center;
  }

  main .endereco p {
    font-size: 17pt;
    line-height: 1.9;
  }

  div {
    width: 45%;
  }

  section div {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 10px;
  }
}
