/* ========== CURSOS ==================*/
body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  .nav-header {
  width: 100%;

  display: flex;
  flex-direction: column; /* Empilha os itens no mobile */
  align-items: flex-start; /* Alinha os links à esquerda */
  gap: 10px; /* Espaçamento entre os links */
}


/* html{
  scroll-margin-top: 100px;
} */

@media (min-width: 768px) { 
  .nav-header {
    flex-direction: row; /* Volta para horizontal no desktop */
    align-items: center;
    justify-content: space-between;
  }
}


#button-header{
  background-color: #e5375b;
 
}

#button-header:hover{
  
  background-color: #26365f;
}

#link-header{
  transition: all 200ms;
  color: #26365f;
}


#link-header:hover{
  color: #e5375b;
  scale: 1.1;
}
}


.section-curso{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;    
}

  .cursos-grid {
  min-width: 100%;
  height: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Ajusta automaticamente */

  gap: 40px; 
  padding: 70px; 

  box-sizing: border-box; 

  background-color: #26365f;
  background-image: url('../images/line.svg');
  background-position: 100% 50%;
  background-size: 115%;
  background-repeat: no-repeat;
  }

  .curso-card {
    width: 100%;
    height: auto;
    
    padding: 20px; 

    border: 1px solid #ddd; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    border-radius: 10px; 
    
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: center;
    
    color: white;
    background-color: #314168;
    
    font-family: 'DM Sans', sans-serif;
    
    overflow: hidden; 
          
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    user-select: none;

  }

  .curso-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); 
  }

  .curso-card-header{
    margin: 0;
  }

  .curso-card-header > p {
    margin: 0;

    margin-bottom: 0.5rem;
  }
  
  .curso-card-header > h1{
    margin: 0;
    margin-bottom: 28px;
    font-size: 28px;
    line-height: 35px;
    font-weight: 500;
  }
  
  .curso-card-header > img{
    width: 3rem;
    height: 3rem;
  }

  .curso-card-content{
    width: 100%;
    height: fit-content;
  }


  .curso-card-img{
    width: 100%;
    height: fit-content;
    border-radius: 10px;
  }

  .curso-card-features{
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    font-size: 16px;

    margin-bottom: 0.5rem;

  }

  .curso-card-features > p{
    margin: 0;
    margin-left: 1rem;
  }

  .icon-check{
    
    color: #e5375b;
  }

  .curso-card-button{
    background-color: #e5375b;
    color: white;

    width: 100%;
    
    padding: 8px;

    font-size: 24px;

    border-radius: 14px;

  }
  
  .curso-card-content h1{
    font-size: 20px;
    margin: 0;

    margin-top: 1rem;
    color:  #e5375b;

    margin-left: 2.5rem;

  }

  .curso-card-features > img {
    width: fit-content;
    height: fit-content;
}

.curso-container{
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  justify-content: space-evenly; 
  padding-bottom:50px;
}



@media (width < 1280px) { 
  .curso-container{
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: space-evenly;
    padding-bottom: 50px;
  }
}


/*HEADER FIXO*/

.navigation-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999; /* pra garantir que fique sempre no topo */
  background-color: #fff; /* ou transparente, dependendo do seu design */
  transition: all 0.5s ease-in-out;
}
 



#sobre{
  margin-top: 150px;
  
}


.cta-whatsapp{
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
  position: fixed;
  bottom: 90px;
  display: block;
  right: 30px;
  margin: 10px;
  color: #fff;
  background: #00e676;
  z-index: 99;
  padding: 10px 15px;
  border-radius: 100%;
  font-weight: 500;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  &:hover{
     transition: all 0.3s;
     opacity: 0.8
  }
}
.floating {
  animation-iteration-count:infinite;
  animation-duration: 1.3s;
  animation-name: floating-float, floating;
  }
  @keyframes floating {
  0% {
     -webkit-transform: translateY(-8px);
     transform: translateY(-8px);
  }
  50% {
     -webkit-transform: translateY(-4px);
     transform: translateY(-4px);
  }
  100% {
     -webkit-transform: translateY(-8px);
     transform: translateY(-8px);
  }
  }
  @keyframes floating-float {
  100% {
     -webkit-transform: translateY(-8px);
     transform: translateY(-8px);
  }
}




#open-modal{
  cursor: pointer;
  user-select: none;
}


dialog{
  border: none;
  border-radius: 5px;
}

.formulario-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  font-family: 'PT Sans', sans-serif;
  
}

.formulário-header{
  display: flex;
  flex-direction: row;
 
  justify-content: space-between;

  width: 100%;
  
  
}

.formulario-titulo {
  text-align: center;
  margin-bottom: 30px;
  color: #26365f;
  font-family: Ubuntu, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 500;
}

.fa-xmark{
  text-align: center;
  margin-bottom: 30px;
  color: #26365f;
  
  font-size: 26px;
  
  cursor: pointer;
}

.formulario {
  width: 100%;
}

.formulario-fieldset {
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 5px;
  background-color: #fff;
}

.formulario-legenda {
  font-weight: 500;
  padding: 0 10px;
  font-size: 1.1rem;
  color: #26365f;
  font-family: Ubuntu, Helvetica, sans-serif;
}

.formulario-linha {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.formulario-grupo {
  flex: 1;
  min-width: 220px;
}

.formulario-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 20px;
  font-family: Ubuntu, Helvetica, sans-serif;
  color: #26365f;
}

.formulario-input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 20px;
  font-family: 'PT Sans', sans-serif;
  color: #868792;
}

.formulario-input:focus {
  outline: 2px solid #e5375b;
}

.formulario-botao {
  display: block;
  margin: 0 auto;
  padding: 12px 30px;
  background-color: #e5375b;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 20px;
  font-family: Ubuntu, Helvetica, sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-botao:hover {
  background-color: #314168;
}



.card-body-2 {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-texto {
  flex-grow: 1;
}

.curso-card-button {
  background-color: #e5375b;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  text-transform: uppercase;
  font-family: Ubuntu, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.ebook-icons-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.ebook-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.ebook-icon {
  max-width: 60px;
  height: auto;
  object-fit: contain;
}

.text-block-12 {
  margin-top: 6px;
  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
}


