/* =========================================================
   styles.css ― Estilos principais Amazon Treinamentos
   Código limpo, comentado, identado e com animações suaves
   ========================================================= */

/* ---------------------------
   1. Variáveis de cor
   --------------------------- */
   :root {
    --cor-primaria: #349993;
    --cor-secundaria: #1a5697;
    --cor-terciaria: #179489;
  
    --cor-fund-hero: #f6f7f9;
    --cor-branco: #ffffff;
  
    --degrade-azul-inicio: #287ad3;
    --degrade-azul-fim: #145cab;
    --degrade-verde-inicio: #2daaa1;
    --degrade-verde-fim: #20807a;
  }
  
  /* ---------------------------
     2. Reset & base
     --------------------------- */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    color: #333;
    background-color: var(--cor-branco);
  }

  
  .img-all {
    background-image: url("../img/Website/Gridbody-body.png");
    background-size: 26px 26px;
  }
  
  /* ---------------------------
     3. Componentes genéricos
     --------------------------- */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* Botões básicos */
  .botao-principal,
  .botao-secundario,
  .botao-terceiro,
  .botao-colaboradores,
  .butao-secao-2,
  .botao-tipo {
    display: inline-block;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  /* Elevação suave ao passar o mouse */
  .botao-principal:hover,
  .botao-secundario:hover,
  .botao-terceiro:hover,
  .botao-colaboradores:hover,
  .butao-secao-2:hover,
  .botao-tipo:hover , .busca-curso button:hover{
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  }
  
  /* Cartão de curso interativo */
  .cartao-curso {
    display: flex;
    flex-direction: column;
    background: var(--cor-branco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer; /* todo o card funciona como botão */
  }
  
  .cartao-curso:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  }
  
  /* ---------------------------
     4. Cabeçalho
     --------------------------- */
  #cabecalho {
    margin-top: 25px;
    padding: 20px 0;
  }
  
  .nav-bar {
    display: flex;
    justify-content: space-between;
  }
  
  #logo img {
    max-width: 180px;
  }
  
  #menu-principal .lista-menu {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .lista-menu li a {
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: #627a95;
  }
  
  #ativo {
    font-weight: 800;
    color: #1d54a2;
  }
  
  .botao-colaboradores {
    background-color: var(--cor-terciaria);
    color: var(--cor-branco);
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 600;
    margin-right: 40px;
  }


  /* ---------------------------
     5. Seção Hero
     --------------------------- */
  #secao-hero {
    background-color: var(--cor-fund-hero);
    margin: 20px 0 20px 35px;
    padding: 30px 0;
    border-radius: 30px;
    width: 95%;
  }
  
  .line {
    border: 3px solid #627a95;
    border-radius: 30px;
    width: 10%;
    margin-top: 20px;
  }
  
  .hero-conteudo {
    display: flex;
    flex-direction: column;
  }
  
  .hero-img-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .hero-texto h1 {
    font-size: 4.3rem;
    line-height: 1.1;
    color: var(--cor-primaria);
  }
  
  .txt-blue-hilight {
    color: var(--cor-secundaria);
  }
  
  .hero-texto p {
    margin: 20px 0 0;
    font-size: 1rem;
    max-width: 500px;
    font-weight: 400;
    color: #627a95;
    padding-bottom: 20px;
  }
  
  .botao-principal {
    background: linear-gradient(135deg, var(--degrade-azul-fim), var(--degrade-azul-fim));
    color: var(--cor-branco);
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
  }
  
  /* Imagem hero */
  .hero-imagem img {
    max-width: 500px;
  }
  
  /* ---------------------------
     6. In Company
     --------------------------- */
  #secao-in-company {
    padding: 60px 0;
  }
  
  .txt-secao-in-company {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 50px;
  }
  
  .txt-secao-in-company h2 {
    font-size: 33px;
    font-weight: 800;
    color: var(--cor-secundaria);
  }
  
  .txt-gree-hilight {
    color: var(--cor-primaria);
  }
  
  .txt-secao-in-company p {
    font-size: 15px;
    font-weight: 400;
    color: #627a95;
    padding-left: 70px;
    margin-top: 30px;
  }
  
  /* Cards --------------------------------------- */
  .cards-in-company {
    display: flex;
    gap: 30px;
    justify-content: center;
  }
  
  .card {
    background-color: var(--cor-branco);
    border-radius: 12px;
    padding: 20px;
    width: 30%;
    height: 300px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .gree-bck {
    background: linear-gradient(135deg, var(--degrade-verde-inicio), var(--degrade-verde-fim));
  }
  
  .card img {
    width: 150px;
  }
  
  .card h3 {
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 15px;
    color: var(--cor-branco);
  }
  
  .card p {
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    color: var(--cor-branco);
  }
  
  .branco h3,
  .branco p {
    color: var(--cor-secundaria);
  }
  
  .butao-secao-2 {
    width: 100%;
    padding: 15px;
    margin: 30px 0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 400;
    color: var(--cor-branco);
    background: linear-gradient(135deg, var(--degrade-verde-inicio), var(--degrade-verde-fim));
    text-align: center;  }
  
  /* ---------------------------
     7. EJA
     --------------------------- */
  #secao-eja {
    background: linear-gradient(135deg, var(--degrade-verde-inicio), var(--degrade-verde-fim));
    margin: 20px 0 20px 35px;
    padding: 10px;
    border-radius: 30px;
    width: 95%;
    color: var(--cor-branco);
    display: flex;
    flex-direction: column;
  }
  
  .container-secao-eja {
    background-image: url("../img/Website/Gridbody.png");
    background-size: 26px 26px;
    display: flex;
    flex-direction: column;
    padding: 25px;
  }
  
  .container-btw {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .texto-secao2 {
    width: 50%;
    text-align: left;
  }
  
  .texto-secao2 p {
    font-size: 13px;
    font-weight: 500;
  }
  
  .img-eja {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .img-eja img {
    max-width: 500px;
  }
  
  /* Destaque “Novidade” */
  .novidade,
  .novidade2 {
    display: flex;
  }
  
  .linha-2,
  .linha-3 {
    border-radius: 30px;
    width: 10%;
    margin: 20px 0 35px 0;
  }

  .linha-2{
    border: 3px solid #b7ff9b;
  }
  .linha-3{
    border: 3px solid #1A5697;
  }
  
  .novidade p {
    color: #b7ff9b;
    font-size: 16px;
    font-weight: 400;
    margin: 10px 0 0 15px;
  }
  
  #secao-eja h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
  }
  
  /* Lista de vantagens */
  .item {
    margin-top: 20px;
  }
  
  .item p {
    position: relative;
    padding-left: 32px;
    font-size: 15px;
    font-weight: 600;
    color: #b7ff9b;
  }
  
  .item p::before {
    content: "check_circle";
    font-family: "Material Icons";
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Botão secundário */
  .botao-secundario {
    position: relative;
    width: 300px;
    margin-top: 35px;
    padding: 12px 48px 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    background-color: var(--cor-branco);
    color: var(--cor-primaria);
    transition: background-color 0.3s;
  }
  
  .botao-secundario::after {
    content: "arrow_forward";
    font-family: "Material Icons";
    font-size: 20px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .botao-secundario:hover {
    background-color: #f0f0f0;
  }
  
  /* ---------------------------
     8. Passa Fácil
     --------------------------- */
  #secao-passa-facil {
    margin: 60px 0 60px 35px;
    padding: 10px 0;
    width: 95%;
    display: flex;
    flex-direction: column;
  }
  
  .container-secao-passa-facil {
    display: flex;
    justify-content: space-between;
  }
  
  .imagem-secao3,
  .text-secao3 {
    width: 50%;
  }

  .text-secao3{
    margin-left: 35px;
  }
  
  .imagem-secao3 img {
    max-width: 700px;
  }
  
  #novidade2p {
    color: var(--cor-secundaria);
    font-size: 16px;
    margin: 10px 0 0 15px;
    font-weight: 400;
  }
  
  .text-secao3 h2 {
    font-size: 28px;
    font-weight: 800;
    text-align: left;
    color: var(--cor-secundaria);
  }
  
  .text-secao3 p {
    max-width: 500px;
    margin: 12px 0 10px;
    font-size: 15px;
    font-weight: 400;
    color: #627a95;
    line-height: 20px;
  }
  
  .botao-terceiro {
    display: inline-block;
    width: 300px;
    padding: 12px 24px;
    margin-top: 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    color: var(--cor-branco);
    background: linear-gradient(135deg, var(--degrade-azul-inicio), var(--degrade-azul-fim));
  }
  
  /* Numeradores */
  .secao-numeros {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 20px;
    background-color: #f6f7f9;
  }
  
  .numero {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--cor-secundaria);
    color: var(--cor-branco);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .texto-numero h2 {
    margin-left: 15px;
    font-size: 18px;
    font-weight: 600;
  }
  
  /* ---------------------------
     9. Menor Aprendiz
     --------------------------- */
  #secao-menor-aprendiz {
    background: linear-gradient(135deg, var(--degrade-azul-inicio), var(--degrade-azul-fim));
    margin: 20px 0 20px 35px;
    padding: 10px;
    border-radius: 30px;
    width: 95%;
    color: var(--cor-branco);
    display: flex;
    flex-direction: column;
  }
  
  #secao-menor-aprendiz h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
  }
  
  .container-secao-menoraprendiz {
    background-image: url("../img/Website/Gridbody.png");
    background-size: 26px 26px;
    display: flex;
    flex-direction: column;
    padding: 25px;
  }
  
  /* ---------------------------
     10. Nossos Cursos
     --------------------------- */
  #secao-cursos {
    margin-top: 80px;
    padding: 50px;
    background: #f9fbfe;
  }
  
  #secao-cursos h2 {
    font-size: 50px;
    font-weight: 800;
    color: var(--cor-primaria);
    text-align: center;
    margin-bottom: 20px;
  }
  
  .center-ctn {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .p-cursos {
    max-width: 800px;
    margin: 10px 0 25px;
    font-size: 14px;
    font-weight: 400;
    color: #627a95;
    text-align: center;
  }
  
  /* Filtros */
  .opcoes-cursos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .botao-tipo {
    padding: 15px 50px;
    border-radius: 25px;
    font-weight: 600;
    border: 2px solid var(--cor-primaria);
    background-color: transparent;
    color: var(--cor-primaria);
  }
  
  .botao-tipo.ativo {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
  }
  
  /* Busca */
  .busca-curso {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 80px;
  }
  
  .busca-curso input {
    width: 400px;
    margin-top: 10px;
    padding: 8px;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #54656f;
    background: #f0f2f5;
  }
  
  .busca-curso input::placeholder {
    font-size: 13px;
    font-weight: 400;
    color: #54656f;
    font-family: "Poppins", sans-serif;
  }
  
  .busca-curso select{
    width: 200px;
    margin-top: 10px;
    padding: 8px;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #54656f;
    background: #f0f2f5;
  }

  .busca-curso select::placeholder {
    font-size: 13px;
    font-weight: 400;
    color: #54656f;
    font-family: "Poppins", sans-serif;
  }
  
  .busca-curso button {
    margin-top: 10px;
    padding: 15px 14px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    color: var(--cor-branco);
    background-color: var(--cor-primaria);
  }
  
  /* Grid de cursos */
  .grid-cursos {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  
  /* Descrição do card */
  .img-cartao {
    position: relative;
  }
  
  .img-cartao img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .descricao {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
  }
  
  .ch-categoria {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #627a95;
    margin-bottom: 8px;
  }
  
  .descricao h3 {
    font-size: 15px;
    font-weight: 500;
    margin: -10px 0 8px;
    color: var(--cor-secundaria);
  }
  
  .descricao p {
    font-size: 11px;
    line-height: 1.4;
    color: #627a95;
    margin-bottom: 10px;
    text-align: left;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }


  
  .preco {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--cor-secundaria);
  }
  
  /* CTA final */
  .btn-curso {
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }
  
  /* ---------------------------
     11. Rodapé
     --------------------------- */
  #rodape {
    padding-top: 60px;
    color: var(--cor-branco);
    background: linear-gradient(135deg, var(--degrade-verde-inicio), var(--degrade-verde-fim));
  }
  
  .footer-top {
    display: flex;
    gap: 40px;
  }
  
  .footer-coluna {
    flex: 1;
  }
  
  .logo-coluna {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
  }
  
  .logo-coluna img {
    max-width: 200px;
    margin: 0 0 20px -35px;
  }
  
  .footer-coluna h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
  }
  
  .footer-coluna ul {
    list-style: none;
  }
  
  .footer-coluna ul li {
    margin-bottom: 8px;
  }
  
  .footer-coluna ul li a,
  .links-rodape a,
  .social-icons a {
    text-decoration: none;
    color: var(--cor-branco);
    font-weight: 400;
  }
  
  .contato-coluna p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 400;
  }
  
  .contato-coluna .material-icons {
    font-size: 20px;
    margin-right: 8px;
  }
  
  .rodape-separator {
    width: 100%;
    height: 1px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.3);
  }
  
  .rodape-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
  }
  
  .rodape-bottom p {
    font-size: 0.9rem;
  }
  
  .social-icons a {
    margin-left: 16px;
    font-size: 1.2rem;
  }
  

  /* loader giratório -----------------------------------------*/
.loader{
  display:flex;justify-content:center;align-items:center;height:150px;
}
.loader:after{
  content:"";width:48px;height:48px;
  border:6px solid var(--cor-primaria);
  border-top-color:transparent;
  border-radius:50%;
  animation:giro .9s linear infinite;
}
@keyframes giro{to{transform:rotate(360deg)}}



/* ---------- MOBILE  / AJUSTE FINAL ---------------------------------*/

/* ≤ 992 px – seções em coluna */
@media (max-width:600px){

  html,body{overflow-x:hidden;}     /* impede rolagem lateral */


   /* 1.  Qualquer seção que tinha margin-left:35px + width:95% */
   #secao-hero,
   #secao-in-company,
   #secao-eja,
   #secao-passa-facil,
   #secao-menor-aprendiz{
       margin:20px auto;          /* centraliza */
       width:96%;                 /* ou 100% se preferir */
   }
 
   /* 2.  Imagens nunca maiores que o contêiner */

  
   .img-eja      img{
      display: none;
   }

   #area-colaboradores{
    display: none;
  }

   .hero-img-text,
  .container-secao-passa-facil,
  .container-btw{
     flex-direction:column;          /* empilha */
     gap:40px;
  }
  .txt-secao-in-company{
     flex-direction:column;
     gap:25px;
  }
  #secao-hero,
  #secao-in-company,
  #secao-eja,
  #secao-passa-facil,
  #secao-menor-aprendiz{
     margin:20px auto;               /* remove “margin‑left:35px” fixa */
     width:96%;
  }
  /* imagens ocupam 100 % */
  .hero-imagem img,
  .imagem-secao3 img,
  .img-eja img{width:100%;max-width:none}

  

  .naoaparecermobile{
    display: none;
  }

  #logo img {
    max-width: 130px;
}

.hero-texto h1 {
  font-size: 2rem;
}

.hero-texto p {
  font-size: 0.8rem;}

  .line {    width: 20%;
    margin-bottom: 15px;
}

.txt-secao-in-company h2 {
  font-size: 25px;
}

.txt-secao-in-company p {
  font-size: 14px;
  padding-left: 0px;
  margin-top: 10px;
}

.container-secao-eja {
  padding: 10px;
}

.cards-in-company {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  align-items: center;
}


.card {
  padding: 15px;
  width: 100%;

}

.texto-secao2 {
  width: 100%;
}

.linha-2, .linha-3 {
  width: 15%;
}

.container {
  max-width: none;
  margin: 0 auto;
  padding: 0 15px;
}

.imagem-secao3, .text-secao3 {
  width: 100%;
}

.novidade2 {
  margin-top: 35px;
}

.text-secao3 p {
  font-size: 14px;
}

.text-secao3 {
  margin-left: 0px
}

.text-secao3 h2 {
  font-size: 25px;
}
#secao-eja h2 {
  font-size: 19px;
}

.texto-numero h2 {
  margin-left: 13px;
  font-size: 15px;
  font-weight: 600;
}

.texto-secao2 p {
  font-size: 12px;
}

#secao-menor-aprendiz h2 {
  font-size: 25px;
}

.novidade p {
  font-size: 16px;
  margin: 11px 0 0 15px;
}

.item p {
  font-size: 15px;
}

.botao-terceiro {
  width: 100%;
}

.secao-numeros {
  margin-bottom: 25px;
  padding: 05px;
  border-radius: 10px;
}

#secao-cursos h2 {
  font-size: 45px;
  margin-bottom: 10px;
}

.p-cursos {
  font-size: 12px;
}
.item p {
  font-size: 13px;
}
  #secao-cursos{padding:30px 15px}
  .busca-curso{
     flex-direction:column;
     gap:15px;
     margin-bottom:40px;
  }
  .busca-curso input, .busca-curso select {
    width: 100%;
    padding: 12px 20px;
}
  .opcoes-cursos{
     gap:12px;
  }

  .grid-cursos{
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
 }
 .botao-tipo{
    font-size: 10px;    padding: 12px 20px;

}

.grid-cursos {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-top {
  gap: 10px;
}

.footer-coluna {
  flex: 0;
}

.social-icons{
  display: none;
}

.rodape-bottom {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0;
}

.links-rodape{
  margin-bottom: 20px;
  font-size: 12px;
}

.rodape-bottom p {
  font-size: 11px;
  padding-bottom: 20px;
}
}

