/* ============================================
   FAQ SECTION - Style moderne et élégant
   ============================================ */

.faq-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-container {
  max-width: 900px;
  width: 100%;
}

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

.faq-title {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.faq-item.active {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 30px rgba(71, 106, 255, 0.08);
}

.faq-question {
  width: 100%;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
  gap: 20px;
}

.faq-question:hover {
  color: var(--brand-blue);
}

.faq-question span {
  flex: 1;
  line-height: 1.5;
}

.faq-icon {
  font-size: 28px;
  color: var(--brand-blue);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer > div {
  min-height: 0;
  padding: 0 32px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 10px 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 80px 24px;
  }

  .faq-title {
    font-size: 2.4rem;
  }

  .faq-subtitle {
    font-size: 1rem;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 1rem;
  }

  .faq-icon {
    font-size: 24px;
  }

  .faq-answer > div {
    padding: 0 24px;
  }

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

  .faq-answer p {
    font-size: 0.9rem;
  }
}
