.faq {
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 120px 80px;
  background: #2F642D;
  color: #fff;
}

.faq-header {
    width: 45%;
}

.faq-header h1 {
  font-size: 70px;
  font-family: 'Inter', sans-serif;
  font-weight: bolder;
  color: #BDF379;
}

.faq-header h2{
  font-size: 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  color: #BDF379;
  padding-top: 20px;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid #85b95a7d;
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question p {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #BDF379;
}

.faq-icon {
  font-size: 28px;
  transition: transform 0.3s ease;
  color: #BDF379;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-answer p {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  opacity: 0.85;
  color: #BDF379;
}

/* ABERTO */
.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}


/* responsividade */

/* telas muito grandes */

@media (max-width: 1440px) {
    
  .faq-header {
      width: 50%;
  }

  .faq-header h1 {
    font-size: 50px;
   
  }

  .faq-list {
    max-width: 600px;
  }

}

/* laptops médios */
@media (max-width: 1280px) {
  .faq-header {
      width: 50%;
  }

  .faq-header h1 {
    font-size: 50px;
   
  }

  .faq-list {
    max-width: 500px;
  }

}

/* tablets */
@media (max-width: 900px) {
   .faq {
    flex-direction: column;
    padding: 120px 80px;
    
  }

  .faq-header {
      width: 100%;
      margin-bottom: 50px;
  }


  .faq-list {
    max-width: 100%;
  }
}

/* mobile grande */
@media (max-width: 770px) {
    .faq-header h1 {
      font-size: 40px;
    
    }

    .faq-header h2{
      font-size: 26px;
    
    }
}


/* mobile pequeno */
@media (max-width: 480px) {
   .faq {
    flex-direction: column;
    padding: 120px 40px;
    
  }
}

@media (max-width: 425px) {
   .faq-header h1 {
      font-size: 35px;
    
    }

    .faq-header h2{
      font-size: 22px;
    
    }
}
