


body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* CABEÇALHO */
.cabecalho {
  background-color: #09c0a2;
  color: #fff;
  height: 150px;
}

.textforum{
    
    text-align: center;
}



#teac {
  height: 200px;
  width: 280px;
  margin-top:-20px ;
  margin-left: -30px;


}

/* BOTÃO MENU HAMBÚRGUER */
.btn-menu {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-top: -100px;
  position: relative;
  margin-left: 350px;

}

.menu a {
  text-decoration: none;
  color: #fdfdfd;
  transition: color 0.3s ease;
  font-size: 15px;
   
}

.menu a:hover {
  color: #ffd166;
}

/* MAIN LAYOUT */
.conteudo {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 3px;
}

.barra-lateral {
  flex: 1;
  min-width: 250px;
  padding: 15px;
  border-radius: 5px;
}

#quiz{

  margin-left: 25%;
  justify-content: center;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  font-size: 20px;
  color:#033531;
  
}

.secao-principal {
  flex: 2;
  min-width: 300px;
}

.card {
  height: 400px;
  background-color: #0047a3;
}

#imagem_aut {
  
  width: 100%;
height: 380px;
margin-top:10px;

}

/* RODAPÉ */
.rodape {
  background-color: #005f73;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* RESPONSIVO: MOBILE */
@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background-color: #005f73;
    flex-direction: column;
    padding-top: 80px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

 

  .menu ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu a {
    display: block;
    padding: 15px 20px;
    font-size: 18px;
    color: #fff;
  }

  .menu.ativo {
    left: 0;
  }

  .btn-menu {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1100;
  }

  .conteudo {
    flex-direction: column;
  }


}



.progresso-container {
  width: 100%;
  background-color: #ddd;
  border-radius: 10px;
  height: 20px;
  margin-top: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

#barra-progresso {
  height: 100%;
  width: 0%;
  background-color: #28a745;
  transition: width 0.5s ease;
  border-radius: 10px;
}

.trilha h1 {
  margin-bottom: 20px;
  color: #005f73;

 
}

.trilha-etapas {
  list-style: none;
  padding: 0;
}

.trilha-etapas li {
  background: #e0f7fa;
  border-left: 5px solid #09c0a2;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.trilha-etapas li:hover {
  transform: scale(1.02);
}

.trilha-etapas a {
  display: inline-block;
  margin-top: 10px;
  color: #004d40;
  text-decoration: none;
  font-weight: bold;
}

#resetar{

  height: 40px;
  width: 270px;
  border-radius: 30px;
  font-size: 14px;
  background-color: #139990;
  color: white;
  margin-left: 37% ;
 font-weight: bold;
 
}

#bot:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.botao-container {
  position: relative;
  display: inline-block;
  margin-top: 20px;
}

#bot:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#bot.ativo {
  opacity: 1;
  cursor: pointer;
}

.mensagem {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-top: 5px;
}


#bot.ativo {
  background-color: #139990; /* mesma cor do original */
  color: white;
  cursor: pointer;
}


#bot{

  height: 40px;
  margin-top: 1%;
  width: 250px;
  border-radius: 30px;
  font-size: 14px;
  background-color: #139990;
  color: white;
  margin-left: 38% ;
 font-weight: bold;
 
}

#pbot{

  width: 450px;
  font-size: 17px;
  color: rgb(0, 0, 0);
  margin-left: 30.1% ;
  margin-top: 1%;

 
}




#resetar:hover{

   background-color: #033531;
}
#bot:hover{

   background-color: #033531;
}


/*etapas*/

/* Estilo geral da trilha */
.trilha {
  margin-top: 40px;
}

.trilha h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #005f73;
}

.trilha-etapas {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trilha-etapas li {
  background: #e0f7fa;
  border-left: 5px solid #09c0a2;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.trilha-etapas li:hover {
  transform: scale(1.02);
  background-color: #ccf2f0;
}

.trilha-etapas h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #004d40;
}

.trilha-etapas p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.trilha-etapas a {
  display: inline-block;
  padding: 10px 18px;
  background-color: #09c0a2;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.trilha-etapas a:hover {
  background-color: #007b73;
  transform: translateY(-2px);
}


.trilha-etapas li::before {
 
  counter-increment: etapa;
  position: absolute;
  left: -35px;
  top: 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;

}

/* Resetar contador */
.trilha-etapas {
  counter-reset: etapa;
  position: relative;
}



.trilha-etapas li.concluida {
  border-left: 5px solid #ffffff;
  background-color: #e6f9ec;
  position: relative;
}

.trilha-etapas li.concluida::before {
  content: "✓";
  background: #28a745;
  color: white;
  font-weight: bold;
  width: 30px;
  height: 30px;
  position: absolute;
  left: -35px;
  top: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


#texto1{

  font-family:'Times New Roman', Times, serif;
  font-size: 19px;
  color: #000000;
  text-align: justify;
  margin-top: 20px;
  
}

#imgmenino{

  width: 80%;
  margin-top: 15%; margin-left:11%;


}

#teac_titulo{

  margin-top: 6%;
text-align: center;
}

/* Página Inicial - Tela de Apresentação */

.home-inicial {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.apresentacao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.texto-apresentacao {
  flex: 1;
  min-width: 280px;
}

.texto-apresentacao h1 {
  font-size: 36px;
  color: #005f73;
  margin-bottom: 20px;
}

.texto-apresentacao p {
  font-size: 18px;
  color: #013834;
  margin-bottom: 30px;
  line-height: 1.6;
}

.botao-explorar {
  padding: 12px 25px;
  background-color: #09c0a2;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.botao-explorar:hover {
  background-color: #007b73;
}

.imagem-apresentacao {
  flex: 1;
  min-width: 250px;
}

.imagem-apresentacao img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

#imgprincipal{

  width: 100%;

}

#container1{

  margin-top: 6%;
}




.conteudo-principal {
  padding: 40px 20px;
  background-color: #f9f9f9;
  color: #333;
}

.conteudo-principal h1 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: #003366;
}

.conteudo-principal .descricao {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.navegacao-recursos ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.navegacao-recursos li {
  background: #e0e0e0;
  border-radius: 5px;
}

.navegacao-recursos a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #003366;
  font-weight: bold;
}

section {
  margin-bottom: 40px;
}

section h2 {
  color: #005a9c;
  margin-bottom: 10px;
}

section ul {
  list-style: disc;
  padding-left: 20px;
}

/* CORREÇÃO MOBILE PARA OS BOTÕES E TEXTO */
@media (max-width: 768px) {

  #resetar,
  #bot {
    width: 90%;             /* ocupa 90% da largura da tela */
    margin: 10px auto;      /* centraliza automaticamente */
    display: block;
    font-size: 16px;
  }

  #pbot {
    width: 90%;
    font-size: 13px;
    margin: 10px auto;
    text-align: center;     /* centraliza o texto */
    display: block;
  }
}

.trilha-etapas a {
  text-decoration: none; /* remove o tracinho */
  color: #004d40;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}



