/* === FAQ Accordion === */

.if-faq-list,
.if-faq-page {
  margin: 0 auto;
}

/* Bloc question */
.if-faq-accordion {
  overflow: hidden;
}

/* Question clickable */
.if-faq-accordion__q {
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 17px;
  transition: background 0.2s;
}

.if-faq-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  transition: transform 0.25s ease;
}

/* Réponse */
.if-faq-accordion__a {
  padding: 0 46px 0 16px;
  display: none; /* caché par défaut */
  animation: fadeIn 0.25s ease;
  font-size: 15px;
  color: #444;
}
.if-faq-accordion__a p {
  background-color: #000;
  color: #fff;
  padding: 10px;
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Quand ouvert */
.if-faq-accordion.open .if-faq-accordion__a {
  display: block;
}

.if-faq-accordion.open .if-faq-icon {
  transform: rotate(180deg);
}
