/* ==========================================================================
   PAGE DE VENTE — template-vente.php
   Sections génériques : le contenu vient des champs personnalisés.
   ========================================================================== */

/* Les panneaux FAQ basculent via l'attribut hidden : il doit toujours gagner */
[hidden] { display: none !important; }

/* Colonne de lecture éditoriale */
.vente-bloc {
  max-width: 46rem;
  display: grid;
  gap: 1.3rem;
  justify-items: start;
}
.vente-bloc--centre {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- Hero ---------- */
.vente-hero__reassurance { font-size: 0.95rem; color: var(--gris); }
.vente-hero__jaquette img {
  width: min(300px, 72vw);
  height: auto;
  border: 1px solid var(--bordure);
  border-radius: 4px;
  box-shadow: var(--ombre);
}

/* ---------- 3. La promesse : bloc sauge, ton plus lyrique ---------- */
.vente-promesse { background: var(--sauge); }
.vente-promesse__texte {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem);
  line-height: 1.5;
  max-width: 40rem;
}

/* ---------- 5. Pour qui : tirets dorés éditoriaux ---------- */
.liste-tirets {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.liste-tirets li { position: relative; padding-left: 2rem; }
.liste-tirets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--or);
  font-weight: 700;
}

/* ---------- 6. Ce qui est inclus : encadré ---------- */
.vente-inclus__carte {
  width: 100%;
  background: var(--creme);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 2.2rem;
}

/* ---------- 7. Bonus : cartes bordées or ---------- */
.vente-bonus__liste {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  width: 100%;
}
.vente-bonus__item {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--or);
  border-radius: var(--rayon);
  padding: 1.6rem 1.8rem;
}
.vente-bonus__item::before {
  content: "BONUS";
  position: absolute;
  top: -0.75rem;
  left: 1.4rem;
  background: var(--or);
  color: var(--charbon);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

/* ---------- 8. FAQ : accordéon ---------- */
.faq { width: 100%; }
.faq__item { border-bottom: 1px solid var(--bordure); }
.faq__item:first-child { border-top: 1px solid var(--bordure); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  padding: 1.3rem 0.25rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charbon);
  text-align: left;
  cursor: pointer;
}
.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--vert-fonce);
  transition: transform var(--transition);
}
.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }
.faq__reponse { padding: 0 2.5rem 1.3rem 0.25rem; color: var(--gris); }

/* ---------- 9. CTA final : bloc charbon ---------- */
.vente-cta { background: var(--charbon); color: var(--creme); text-align: center; }
.vente-cta__boite {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}
.vente-cta h2 { color: var(--blanc); }
.vente-cta__prix {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--or);
}
.vente-cta__reassurance { font-size: 0.95rem; color: #B9C2CC; }

/* ---------- 10. Disclaimer ---------- */
.vente-disclaimer {
  padding-block: 2rem;
  border-top: 1px solid var(--bordure);
}
.vente-disclaimer p {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gris);
}
