/* Questions fréquentes (pages/faq.php), au style d'À propos (about.css) : titre de page de cgvu.css, accordéon natif
   (<details>) : une question par <summary> avec un chevron qui pivote, réponse dépliée dessous en gris plus petit,
   listes numérotées rentrées. */
.faq h1 {
  margin-bottom: 1.2rem;
}

.faq h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 12pt;
  font-weight: 700;
  color: #1d2228;
  margin: 0;
}

.faq details.faq-item {
  border-top: 1px solid #e3e5e6;
}

.faq details.faq-item:last-of-type {
  border-bottom: 1px solid #e3e5e6;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  cursor: pointer;
  list-style: none;
}

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

/* Chevron : tourné vers le bas quand la question est fermée, vers le haut quand elle est ouverte. */
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin: 0 6px 4px 0;
  border-right: 2px solid #1d2228;
  border-bottom: 2px solid #1d2228;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] > summary::after {
  transform: rotate(-135deg);
  margin: 4px 6px 0 0;
}

.faq .answer,
.faq .answer p,
.faq .answer li {
  font-family: "Open Sans", sans-serif;
  font-size: 10pt;
  color: #58595b;
  line-height: 1.6;
}

.faq .answer {
  padding: 0 2rem 1rem 0;
}

.faq .answer ol {
  list-style: decimal;
  padding-left: 1.4rem;
  margin: 0.2rem 0;
}

/* Réponses en plusieurs paragraphes ou avec une liste (textes du client du 08/11/2026). */
.faq .answer p + p,
.faq .answer p + ul,
.faq .answer ul + p {
  margin-top: 0.5rem;
}

.faq .answer ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0.2rem 0;
}
