/* ── Widget VP FAQ (accordéon details/summary) ── */

/* Autorise la transition de hauteur vers `auto` (Chrome 129+, Safari 18.2+) */
.vp-faq { max-width: 800px; margin: 0 auto; width: 100%; interpolate-size: allow-keywords; }
.vp-faq__item {
  background: var(--background, #fff);
  border: 1px solid var(--border, #ececec);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.vp-faq__item[open] {
  border-color: var(--accent, #f5d4cb);
  box-shadow: 0 10px 30px rgba(244, 149, 133, 0.25);
}
.vp-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--foreground, #000);
}
.vp-faq__q::-webkit-details-marker { display: none; }
/* ── Animation d'ouverture/fermeture (CSS pur, fallback = instantané) ── */
.vp-faq__item::details-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height .35s ease, opacity .3s ease, content-visibility .35s allow-discrete;
}
.vp-faq__item[open]::details-content {
  height: auto;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .vp-faq__item::details-content { transition: none; }
}

.vp-faq__icon {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  position: relative;
  transition: transform .35s ease;
}
.vp-faq__icon::before,
.vp-faq__icon::after {
  content: ""; position: absolute; background: var(--primary, #f1b8a0);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.vp-faq__icon::before { width: 14px; height: 2px; }
.vp-faq__icon::after  { width: 2px; height: 14px; transition: transform .3s ease; }
.vp-faq__item[open] .vp-faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.vp-faq__a {
  padding: 0 28px 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: var(--muted-foreground, #6b6b6b);
  line-height: 1.6;
}
.vp-faq__a p { margin: 0 0 .6em; }
.vp-faq__a p:last-child { margin-bottom: 0; }
