/* faq.css */
.faq-section {
  width: full;
  margin: 2em auto;
  padding: 0 4em;
}
.faq-section h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #9c99f2;
}
.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 0.5em;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1em 0;
  font-weight: bold;
  color: #333;
}
.faq-question .icon {
  font-size: 1.5em;
  transition: transform 0.3s;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0;
}

.faq-answer a:hover {
  color: #887dfd;
}

.faq-item.open .faq-answer {
  max-height: 500px; /* suficiente para o conteúdo */
  padding: 0.5em 0;
}
.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

/* Responsividade */
@media (max-width: 600px) {
  .faq-section h2 {
    font-size: 1.5em;
  }
  .faq-question {
    font-size: 1em;
  }
}
