/**
 * FAQ Page Styles
 *
 * @package BIM_Works
 */

/* Container global e alinhamento */
.faq-page {
  background-color: #0a0a0b;
  color: #e5e5e5;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
}

.faq-container {
  max-width: 1024px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Seção do topo */
.faq-hero {
  padding-top: 70px;
  padding-bottom: 70px;
}

.faq-title {
  color: #e5e5e5;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 47px;
}

.faq-subtitle {
  max-width: 760px;
  margin-inline: auto;
  color: #99a1af;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  margin-top: 0;
  margin-bottom: 0;
}

/* Accordion FAQ */
.faq-list-section {
  padding-bottom: 40px;
}

.faq-list {
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.faq-item {
  transition: background-color 0.2s ease;
}

.faq-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  background: transparent;
  border: none;
  padding: 28px 0;
  cursor: pointer;
  outline: none;
  gap: 16px;
}

.faq-item__toggle {
  color: #7c3aed;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 26px;
  user-select: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item__question {
  color: #7c3aed;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 26px;
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__answer-box {
  background: #1a1a1c;
  padding: 15px 24px;
  margin-bottom: 28px;
  border-radius: 4px;
}

.faq-item__answer {
  color: #d1d5dc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.faq-item__answer p {
  margin: 0;
}

.faq-item__answer p + p {
  margin-top: 12px;
}

/* Seção CTA */
.faq-cta {
  padding-top: 84px;
  padding-bottom: 84px;
  text-align: center;
}

.faq-cta__text {
  color: #e5e5e5;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  margin-top: 0;
  margin-bottom: 32px;
}

.faq-cta__button-wrap {
  display: flex;
  justify-content: center;
}

.faq-cta__button-wrap .btn-primary {
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Responsividade */
@media (max-width: 768px) {
  .faq-hero {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .faq-title {
    font-size: 36px;
    line-height: 38px;
    margin-bottom: 30px;
  }

  .faq-item__header {
    padding: 20px 0;
    gap: 12px;
  }

  .faq-item__question,
  .faq-item__toggle {
    font-size: 20px;
    line-height: 22px;
  }

  .faq-item__answer-box {
    padding: 12px 16px;
    margin-bottom: 20px;
  }

  .faq-item__answer {
    font-size: 15px;
    line-height: 22px;
  }

  .faq-cta {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .faq-cta__text {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 24px;
  }
}
