/* Page FAQ seulement. Chargé par site/faq.php.
   Complète style.css sans le modifier. */

.faq-corps {
  padding-top: 1.25rem;
  padding-bottom: 2.6rem;
}

.wrap.faq {
  width: min(820px, 92%);
}

.faq-sommaire {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0.3rem 0 0.2rem;
  padding: 0.7rem 1rem;
  background: var(--blanc);
  border-radius: var(--rayon);
}

.faq-sommaire a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.faq h2 {
  margin: 2rem 0 0.75rem;
}

.faq-liste {
  background: var(--blanc);
  border: 1px solid var(--cadre-creme);
  border-radius: var(--rayon);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--cadre-creme);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.9rem 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::marker {
  content: "";
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.4rem;
  border-right: 2px solid var(--or-texte);
  border-bottom: 2px solid var(--or-texte);
  transform: rotate(45deg);
}

.faq-item[open] summary {
  background: rgba(111, 84, 32, 0.06);
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.25rem;
}

.faq-item summary:hover {
  background: rgba(111, 84, 32, 0.05);
}

.faq-reponse {
  padding: 0.15rem 1.05rem 1rem;
}

.faq-reponse p:last-child,
.faq-reponse ol:last-child {
  margin-bottom: 0;
}

.faq-reponse ol {
  margin: 0;
  padding-left: 1.25rem;
}

.faq-reponse li + li {
  margin-top: 0.4rem;
}

.faq .cta-bloc {
  margin-top: 2.2rem;
}

@media (max-width: 480px) {
  .faq-sommaire {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after {
    transition: none;
  }
}
