/* =========================================================
   faq.css — Seção de perguntas frequentes (accordion)
   ========================================================= */

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

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

/* ── Linha da pergunta ── */
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  gap: 16px;
  color: var(--white);
  transition: color 0.2s;
}

.faq-item:hover .faq-q {
  color: var(--accent);
}

/* ── Ícone "+" ── */
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s var(--ease), background 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(59, 158, 255, 0.22);
}

/* ── Conteúdo da resposta ── */
.faq-a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease), padding 0.38s var(--ease);
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 14px;
}

/* ── Responsividade ── */
@media (max-width: 500px) {
  .faq-q {
    font-size: 14px;
  }
  .faq-a {
    font-size: 14px;
  }
}
