/* ============================================ */
/* SEZIONE: FAQ - DOMANDE FREQUENTI               */
/* ============================================ */

.faq-section {
  background: #0033A1;
  padding: 100px 20px;
  font-family: 'Inter', sans-serif;
}

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

/* ============================================ */
/* CABEÇALHO                                    */
/* ============================================ */

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #EB0028;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.faq-header h2 {
  font-size: 35px;
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.faq-subtitle {
  font-size: 15px;
  color: #fff;
  margin: 0;
}

/* ============================================ */
/* LISTA FAQ - ACCORDION                        */
/* ============================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 50px;
}

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

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #fed7d7;
  box-shadow: 0 4px 20px rgba(229, 62, 62, 0.04);
}

/* Pergunta (botão) */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0b2240;
  transition: all 0.3s ease;
}

.faq-question span {
  flex: 1;
}

.faq-question i {
  font-size: 20px;
  color: #EB0028;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question:hover {
  color: #000000;
}

.faq-question[aria-expanded="true"] {
  color: #EB0028;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(45deg);
}

/* Resposta */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Estado ativo via JavaScript */
.faq-item.active {
  border-color: #fed7d7;
  box-shadow: 0 4px 20px rgba(229, 62, 62, 0.06);
}

/* ============================================ */
/* CTA FINALE                                   */
/* ============================================ */

.faq-cta {
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid #f0f0f0;
}

.faq-cta p {
  font-size: 16px;
  color: #555;
  margin: 0 0 20px;
  font-weight: 500;
}

.btn-faq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.3px;
}

.btn-faq i {
  font-size: 20px;
}

.btn-faq:hover {
  background: #1da851;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

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

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }
  
  .faq-header h2 {
    font-size: 28px;
  }
  
  .faq-question {
    font-size: 15px;
    padding: 18px 20px;
  }
  
  .faq-answer p {
    padding: 0 20px 18px;
    font-size: 13px;
  }
  
  .faq-cta {
    padding: 24px 18px;
  }
  
  .faq-cta p {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .faq-header h2 {
    font-size: 24px;
  }
  
  .faq-subtitle {
    font-size: 14px;
  }
  
  .faq-question {
    font-size: 14px;
    padding: 16px 16px;
  }
  
  .faq-question i {
    font-size: 18px;
  }
  
  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 13px;
  }
  
  .btn-faq {
    width: 100%;
    font-size: 14px;
    padding: 12px 20px;
  }
  
  .faq-cta p {
    font-size: 14px;
  }
}

/* ============================================ */
/* TELAS GRANDES                                */
/* ============================================ */

@media (min-width: 1400px) {
  .faq-section .container {
    max-width: 850px;
  }
  
  .faq-header h2 {
    font-size: 40px;
  }
  
  .faq-question {
    font-size: 17px;
    padding: 22px 28px;
  }
}

/* ============================================ */
/* ANIMAÇÕES                                    */
/* ============================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-header {
  animation: fadeUp 0.8s ease forwards;
}