/* =====================================================
   FAQ – PERGUNTAS FREQUENTES
===================================================== */

.faq-section {
  position: relative;
  padding: 120px 24px 90px;
  background:
    radial-gradient(
      circle at top,
      rgba(0,191,98,0.05),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      var(--bg-main),
      var(--bg-section)
    );
  overflow: hidden;
}

/* Glow sutil (único, verde) */
.faq-section::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -240px;
  width: 560px;
  height: 560px;
  background: radial-gradient(
    circle,
    rgba(0,191,98,0.10),
    rgba(0,191,98,0.04),
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

.faq-section > * {
  position: relative;
  z-index: 1;
}

/* =====================================================
   HEADER
===================================================== */

.faq-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: -0.3px;
}

.faq-section h2::after {
  content: '';
  width: 64px;
  height: 3px;
  background: linear-gradient(135deg, #00BF62, #7CFFB6);
  display: block;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* =====================================================
   CONTAINER
===================================================== */

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

/* =====================================================
   ITEM
===================================================== */

.faq-item {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;

  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);

  transition: transform .3s ease, border-color .3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0,191,98,0.4);
}

/* =====================================================
   QUESTION
===================================================== */

.faq-question {
  padding: 24px 26px;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;

  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  text-align: left;

  transition: color .25s ease, background .25s ease;
}

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

/* =====================================================
   ANSWER
===================================================== */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  transition: max-height .35s ease, padding .3s ease;
}

.faq-item.active .faq-answer {
  padding: 16px 26px 26px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 768px) {
  .faq-section {
    padding: 90px 20px 70px;
  }

  .faq-section h2 {
    font-size: 2rem;
    margin-bottom: 48px;
  }

  .faq-question {
    padding: 20px 22px;
    font-size: 1.05rem;
  }

  .faq-answer p {
    font-size: 1rem;
    line-height: 1.65;
  }
}


/* =====================================================
   FAQ DINÂMICO (CTA FINAL) - CORRIGIDO SEM QUADRADO ESCURO
===================================================== */

#faq-dynamic {
  padding: 80px 20px 0;
  text-align: center;
  background: transparent; /* Removido fundo escuro */
}

#faq-dynamic .faq-dynamic-box {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(17, 24, 39, 0.4); /* REDUZIDO de 0.85 para 0.4 - Muito mais transparente */
  border: 1px solid rgba(0,191,98,0.15); /* Borda verde sutil */
  border-radius: 20px;
  padding: 40px 32px 44px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.2), /* Sombra mais suave */
    inset 0 1px 0 rgba(255,255,255,0.04);

  transition: all .35s ease;
}

#faq-dynamic .faq-dynamic-box:hover {
  border-color: rgba(0,191,98,0.4);
  box-shadow:
    0 15px 40px rgba(0,0,0,0.25),
    0 0 0 1px rgba(0,191,98,0.2);
}

#faq-dynamic h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

#faq-dynamic h2::after {
  content: '';
  width: 56px;
  height: 3px;
  background: linear-gradient(135deg, #00BF62, #7CFFB6);
  display: block;
  margin: 14px auto 0;
  border-radius: 2px;
}

#faq-dynamic p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* =====================================================
   INPUT
===================================================== */

#faq-dynamic #faqDynamicInput {
  width: 100%;
  min-height: 100px;
  padding: 14px 16px;
  font-size: 0.9rem;
  border-radius: 14px;

  background: rgba(10, 22, 40, 0.6); /* Fundo mais transparente */
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main);

  outline: none;
  resize: vertical;
}

#faq-dynamic #faqDynamicInput::placeholder {
  color: #94a3b8;
}

#faq-dynamic #faqDynamicInput:focus {
  border-color: #00BF62;
  box-shadow: 0 0 0 3px rgba(0,191,98,.18);
  background: rgba(10, 22, 40, 0.8); /* Fica um pouco mais visível no foco */
}

/* =====================================================
   BUTTON
===================================================== */

#faq-dynamic .faq-dynamic-btn {
  margin-top: 24px;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 999px;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, #00BF62, #7CFFB6);
  color: #02130A;

  transition: all .3s ease;
}

#faq-dynamic .faq-dynamic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,191,98,.4);
}

/* Botão secundário (caso use) */
#faq-dynamic .faq-dynamic-btn.secondary {
  background: linear-gradient(135deg, #00BF62, #7CFFB6);
}

#faq-dynamic .faq-dynamic-btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,191,98,.4);
}