/* =========================
   FAQ
========================= */

.faq-section {
  padding: 100px 20px;
  background: var(--color-litght);
}

.faq-container{
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.faq-header{
  padding-bottom: 25px;
}

.faq-header h2{
  color: var(--color-text-dark);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  border: 1px solid var(--color-title-destaque);
  margin-bottom: 10px;
  background: #ffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-dark);
}

.faq-question:hover {
  background: rgba(255,255,255,0.03);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 14px;
  color: var(--color-text-dark);
  transition: all 0.3s ease;
}

/* aberto */
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 20px;
}

.faq-icon {
  transition: transform 0.3s;
  color: var(--color-title-destaque);

}

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

/* RESPONSIVO */
@media (max-width: 576px) {
  .faq-section {
    padding: 60px 15px;
  }

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

  .faq-question {
    font-size: 14px;
    padding: 14px 16px;
  }

  .faq-answer {
    font-size: 13px;
  }
}