/* ==========================================================================
   FAQ Section Styles - Visão Norte
   ========================================================================== */

.faq-section {
  margin-top: 45px;
  margin-bottom: 30px;
  width: 100%;
}

.faq-header {
  margin-bottom: 25px;
  position: relative;
}

.faq-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #445bf5;
  background: rgba(68, 91, 245, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.faq-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 8px;
  line-height: 1.3;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(68, 91, 245, 0.06);
}

.faq-item[open] {
  border-color: #445bf5;
  box-shadow: 0 6px 18px rgba(68, 91, 245, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  outline: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
  display: none;
}

.faq-question:hover {
  color: #445bf5;
}

.faq-item[open] .faq-question {
  color: #445bf5;
  font-weight: 700;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 13px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
  margin-left: 12px;
}

.faq-item:hover .faq-icon {
  background: rgba(68, 91, 245, 0.1);
  color: #445bf5;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: #445bf5;
  color: #ffffff;
}

.faq-answer {
  padding: 0 22px 20px 22px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  animation: faqFadeIn 0.35s ease-in-out;
}

.faq-answer p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 22px;
  }
  
  .faq-question {
    padding: 15px 18px;
    font-size: 15px;
  }
  
  .faq-answer {
    padding: 0 18px 18px 18px;
    padding-top: 14px;
    font-size: 14px;
  }
  
  .faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 12px;
  }
}
