/* ==========================================================================
   SEÇÃO 12: FAQ / PERGUNTAS FREQUENTES (Figma Node 566:2223)
   ========================================================================== */

.section-faq {
  padding: 80px 0 100px;
  background-color: var(--color-bg-primary, #ffffff);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: flex-start;
}

/* Coluna Esquerda */
.faq-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-eyebrow {
  margin-bottom: 24px;
}

.faq-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 400;
  color: #4e4e4e;
  margin-bottom: 36px;
  max-width: 300px;
}

/* Coluna Direita: Acordeão */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(110, 221, 212, 0.35);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: #6eddd4;
  box-shadow: 0 6px 20px rgba(110, 221, 212, 0.1);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #4e4e4e;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question {
  color: #21948b;
}

.faq-toggle-icon {
  font-size: 24px;
  font-weight: 400;
  color: #21948b;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

.faq-answer p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: #64748b;
  margin: 0;
}

.faq-cta-mobile {
  display: none;
}

/* Responsividade */
@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* No mobile/tablet, o CTA da coluna esquerda é ocultado */
  .faq-left .faq-cta {
    display: none !important;
  }

  /* E o CTA abaixo das perguntas e respostas é exibido */
  .faq-cta-mobile {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    width: 100%;
  }

  .faq-cta-mobile .btn-figma-primary {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section-faq {
    padding: 60px 0;
  }

  .faq-left {
    align-items: center;
    text-align: center;
  }

  .faq-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .faq-title {
    font-size: 32px;
    text-align: center;
    max-width: 300px;
    margin-bottom: 0;
  }

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

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 20px;
  }
}