/**
 * FAQ Article - Styles
 * Version: 2.0.1
 * Compatible avec le design Atelier VTT
 */

/* ── Conteneur principal ── */
.at-article-faq {
  margin: 48px 0 32px;
  padding: 32px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

/* ── Titre FAQ ── */
.article-faq h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 28px;
  color: #212529;
  padding-bottom: 16px;
  border-bottom: 3px solid #0d6efd;
}

/* ── Questions (H3) ── */
.article-faq h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 18px 24px 18px 48px;
  margin: 14px 0 0;
  background: white;
  border-left: 4px solid #0d6efd;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.article-faq h3:hover {
  background: #e7f3ff;
  transform: translateX(4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ── Icône accordéon ── */
.article-faq h3 .faq-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  font-size: 14px;
  color: #0d6efd;
}

.article-faq h3.faq-open .faq-icon {
  transform: translateY(-50%) rotate(90deg);
}

/* ── Réponses ── */
.faq-answer {
  padding: 20px 24px;
  background: white;
  border-left: 4px solid #e9ecef;
  border-radius: 0 0 8px 8px;
  margin: 0 0 14px;
  animation: slideDown 0.3s ease;
}

.faq-answer p {
  margin: 10px 0;
  line-height: 1.7;
  color: #495057;
  font-size: 16px;
}

.faq-answer ul, 
.faq-answer ol {
  margin: 14px 0;
  padding-left: 28px;
}

.faq-answer li {
  margin: 8px 0;
  line-height: 1.7;
  color: #495057;
}

.faq-answer strong {
  color: #212529;
  font-weight: 600;
}

/* ── Animation ── */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive mobile ── */
@media (max-width: 768px) {
  .at-article-faq {
    margin: 32px 0 24px;
    padding: 24px 20px;
  }
  
  .article-faq h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  
  .article-faq h3 {
    font-size: 16px;
    padding: 14px 20px 14px 42px;
  }
  
  .article-faq h3 .faq-icon {
    left: 16px;
    font-size: 12px;
  }
  
  .faq-answer {
    padding: 16px 20px;
  }
}