/* ══════════════════════════════════════════════════════════════════════
   PAGE FAQ — pm-faq.css
   Styles spécifiques à la page FAQ (CMS id 8).
   Porté depuis faq.html / faq-en.html (maquette client).
   Les styles globaux (nav, banner, body, footer, .rv) sont dans pm-global.css.
   ══════════════════════════════════════════════════════════════════════ */

/* ── HERO + SEARCH ──────────────────────────────────────────────────── */
.pm-faq .faq-hero {
  background: var(--bg);
  padding: clamp(10px, 1.5vw, 16px) var(--g);
  border-bottom: 1px solid var(--border);
}
.pm-faq .faq-hero__inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.pm-faq .faq-hero__h1 {
  font-family: var(--fd);
  font-size: clamp(72px, 12vw, 172px);
  line-height: .84;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
  flex-shrink: 0;
}

/* Barre de recherche */
.pm-faq .faq-search {
  flex: 1;
  position: relative;
  max-width: 680px;
}
.pm-faq .faq-search__input {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  padding: 14px 44px 14px 18px;
  font: 300 13px/1 var(--fb);
  letter-spacing: .04em;
  color: var(--text);
  outline: none;
  transition: border-color .18s;
  border-radius: 0;
  -webkit-appearance: none;
}
.pm-faq .faq-search__input::placeholder { color: #bbb; }
.pm-faq .faq-search__input:focus { border-color: var(--dk); }
.pm-faq .faq-search__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  pointer-events: none;
  display: flex;
}
.pm-faq .faq-search__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pm-faq .faq-search__count {
  font: 300 9px/1 var(--fb);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  display: block;
  text-align: right;
}

/* ── CORPS (sidebar + sections) ─────────────────────────────────────── */
.pm-faq .faq-body {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--g);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Nav latérale */
.pm-faq .faq-nav {
  position: sticky;
  top: calc(var(--nav-h) + var(--banner-h) + 20px);
}
.pm-faq .faq-nav__label {
  font: 300 8px/1 var(--fb);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.pm-faq .faq-nav__item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font: 300 10px/1 var(--fb);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  cursor: pointer;
  background: none;
}
.pm-faq .faq-nav__item:last-child { border-bottom: none; }
.pm-faq .faq-nav__item:hover { color: var(--dk); }
.pm-faq .faq-nav__item.active { color: var(--dk); font-weight: 400; }
.pm-faq .faq-nav__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background .2s;
}
.pm-faq .faq-nav__item.active .faq-nav__dot { background: var(--gold); }

/* ── Sections accordéon ─────────────────────────────────────────────── */
.pm-faq .faq-sections { min-width: 0; }

.pm-faq .faq-section { margin-bottom: clamp(48px, 6vw, 80px); }
.pm-faq .faq-section:last-child { margin-bottom: 0; }
.pm-faq .faq-section__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.pm-faq .faq-section__ico {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.pm-faq .faq-section__ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pm-faq .faq-section__title {
  font-family: var(--fd);
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

/* Items accordéon */
.pm-faq .faq-item { border-bottom: 1px solid var(--border); }
.pm-faq .faq-item.hidden-search { display: none; }

.pm-faq .faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 1.8vw, 20px) 0;
  font: 400 13px/1.4 var(--fb);
  letter-spacing: .03em;
  color: var(--text);
  background: none;
  cursor: pointer;
  transition: color .18s;
}
.pm-faq .faq-q:hover { color: var(--gold); }
.pm-faq .faq-q.open  { color: var(--dk); }

.pm-faq .faq-q__text { flex: 1; text-align: left; }
.pm-faq .faq-q__icon {
  width: 20px; height: 20px;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .3s;
}
.pm-faq .faq-q__icon svg { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: stroke .2s; }
.pm-faq .faq-q.open .faq-q__icon { background: var(--dk); border-color: var(--dk); transform: rotate(45deg); }
.pm-faq .faq-q.open .faq-q__icon svg { stroke: #fff; }

.pm-faq .faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s cubic-bezier(.25,.1,.25,1);
}
.pm-faq .faq-a__inner {
  font: 300 13px/1.85 var(--fb);
  color: var(--muted);
  padding-bottom: clamp(16px, 2vw, 22px);
  letter-spacing: .02em;
}
.pm-faq .faq-a__inner a { color: var(--gold); border-bottom: 1px solid rgba(176,138,38,.3); transition: border-color .2s; }
.pm-faq .faq-a__inner a:hover { border-bottom-color: var(--gold); }
.pm-faq .faq-a__inner strong { color: var(--text); font-weight: 400; }
.pm-faq .faq-a__inner ul { margin: 10px 0 10px 16px; }
.pm-faq .faq-a__inner ul li { list-style: disc; margin-bottom: 5px; }

/* Message sans résultat */
.pm-faq .faq-no-result {
  display: none;
  text-align: center;
  padding: 48px 0;
  font-family: var(--fi);
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
}
.pm-faq .faq-no-result.show { display: block; }

/* ── CTA Contact ─────────────────────────────────────────────────────── */
.pm-faq .faq-cta {
  background: var(--dk);
  padding: clamp(56px, 7vw, 96px) var(--g);
  text-align: center;
}
.pm-faq .faq-cta__inner { max-width: 560px; margin: 0 auto; }
.pm-faq .faq-cta__label {
  font: 300 8px/1 var(--fb);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.26);
  margin-bottom: 16px;
  display: block;
}
.pm-faq .faq-cta__h {
  font-family: var(--fd);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  line-height: .88;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.pm-faq .faq-cta__p {
  font-family: var(--fi);
  font-style: italic;
  font-size: clamp(13px, 1.2vw, 16px);
  color: rgba(255,255,255,.35);
  line-height: 1.7;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.pm-faq .faq-cta__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.pm-faq .faq-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 300 9px/1 var(--fb);
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 14px 28px;
  transition: all .22s;
}
.pm-faq .faq-btn svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; }
.pm-faq .faq-btn:hover { background: #fff; color: var(--dk); }
.pm-faq .faq-btn--filled { background: #fff; color: var(--dk); border-color: #fff; }
.pm-faq .faq-btn--filled:hover { background: transparent; color: #fff; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pm-faq .faq-body { grid-template-columns: 1fr; }
  .pm-faq .faq-nav  { display: none; }
}
@media (max-width: 640px) {
  .pm-faq .faq-hero__inner { flex-wrap: wrap; }
  .pm-faq .faq-search { max-width: 100%; }
}
