:root {
  --vm-purple: #6b3d8f;
  --vm-purple-dark: #4a2a66;
  --vm-orange: #e68a00;
  --vm-cta: #c2410c; /* contraste ≥ 4.5:1 avec blanc */
  --vm-sticky-offset: 7.5rem;
  /* Texte : gray-800 / gray-600 / gray-500 — lisible avant couleur marque */
  --vm-text: #1f2937;
  --vm-text-secondary: #4b5563;
  --vm-muted: #6b7280;
  --vm-bg: #ffffff;
  --vm-bg-soft: #faf7fc;
  --vm-border: #e8e0ef;
  --vm-radius: 10px;
  --vm-max: 720px;
  --vm-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Échelle type ~1.25 */
  --vm-fs-xs: 0.75rem;    /* 12 */
  --vm-fs-sm: 0.875rem;   /* 14 */
  --vm-fs-base: 1rem;     /* 16 */
  --vm-fs-lg: 1.125rem;   /* 18 */
  --vm-fs-xl: 1.25rem;    /* 20 */
  --vm-fs-2xl: 1.5rem;    /* 24 */
  --vm-fs-3xl: clamp(1.75rem, 4vw, 2.25rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

body.vm-page {
  margin: 0;
  font-family: var(--vm-font);
  font-size: var(--vm-fs-base);
  color: var(--vm-text);
  background: var(--vm-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.vm-wrap {
  max-width: var(--vm-max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* —— Hero : un seul élément “tout fort” = h1 —— */
.vm-hero { padding: 2.5rem 0 1.5rem; }
.vm-eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--vm-fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vm-muted);
  line-height: 1.4;
}
.vm-hero h1 {
  margin: 0 0 0.75rem;
  font-size: var(--vm-fs-3xl);
  font-weight: 700;
  color: var(--vm-purple-dark);
  line-height: 1.15;
}
.vm-lead {
  margin: 0 0 1.25rem;
  font-size: var(--vm-fs-lg);
  font-weight: 400;
  color: var(--vm-text-secondary);
  line-height: 1.65;
  max-width: 38em;
}
.vm-hero__img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1.5rem;
  border-radius: var(--vm-radius);
}

/* —— Boutons + icônes —— */
.vm-ico {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}
.vm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--vm-cta);
  color: #fff;
  text-decoration: none;
  font-size: var(--vm-fs-sm);
  font-weight: 600;
  line-height: 1.25;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.vm-btn:hover { filter: brightness(0.95); }
.vm-btn--ghost {
  background: transparent;
  color: var(--vm-purple);
  border: 1px solid var(--vm-purple);
}
/* Contre custom_s_1.css a:link:not(.nav-link):not(.btn) */
.vm-wrap a.vm-btn:link,
.vm-wrap a.vm-btn:visited {
  color: #fff;
}
.vm-wrap a.vm-btn--ghost:link,
.vm-wrap a.vm-btn--ghost:visited,
.vm-wrap button.vm-btn--ghost {
  color: var(--vm-purple);
}
.vm-wrap .vm-toc__list a:link,
.vm-wrap .vm-toc__list a:visited {
  color: var(--vm-text-secondary);
}
.vm-wrap .vm-toc__list a.is-active:link,
.vm-wrap .vm-toc__list a.is-active:visited,
.vm-wrap .vm-toc__list a:hover {
  color: var(--vm-purple-dark);
}
.vm-wrap .vm-cats a:link,
.vm-wrap .vm-cats a:visited {
  color: var(--vm-purple);
}
.vm-wrap a.vm-shop__item:link,
.vm-wrap a.vm-shop__item:visited {
  color: var(--vm-text);
}

.vm-toc {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--vm-bg);
  border-bottom: 1px solid var(--vm-border);
  padding: 0.65rem 0;
  margin: 0 -1.25rem 2rem;
  padding-inline-start: 1.25rem;
  padding-inline-end: 1.25rem;
}
.vm-toc__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
  scrollbar-width: thin;
}
.vm-toc__list > li {
  display: flex;
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vm-toc__list a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  color: var(--vm-text-secondary);
  font-size: var(--vm-fs-sm);
  font-weight: 500;
  line-height: 1.2;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.vm-toc__list a.is-active,
.vm-toc__list a:hover {
  color: var(--vm-purple-dark);
  font-weight: 600;
  border-color: var(--vm-border);
  background: var(--vm-bg-soft);
}

.vm-progress {
  font-size: var(--vm-fs-sm);
  color: var(--vm-text-secondary);
  margin: 0.5rem 0 0;
}
.vm-progress strong { color: var(--vm-purple-dark); font-weight: 700; }

.vm-progress__bar {
  display: block;
  height: 6px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--vm-border);
  overflow: hidden;
}
.vm-progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--vm-purple);
  transition: width 200ms ease;
}
.vm-progress.is-complete .vm-progress__fill { background: #15803d; }
.vm-progress.is-complete strong,
.vm-progress.is-complete .vm-progress__text { color: #15803d; }

.vm-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: var(--vm-fs-sm);
  font-weight: 600;
  line-height: 1.2;
  color: var(--vm-purple);
  background: var(--vm-bg-soft);
  border: 1px solid var(--vm-border);
  border-radius: 999px;
  cursor: pointer;
}
.vm-filter .vm-ico { width: 1rem; height: 1rem; }
.vm-filter[aria-pressed="true"] {
  color: #fff;
  background: var(--vm-purple);
  border-color: var(--vm-purple);
}

body.vm-only-essentials .vm-checklist li[data-priority="comfort"] { display: none; }

.vm-section {
  padding: 2rem 0;
  border-top: 1px solid var(--vm-border);
  scroll-margin-top: var(--vm-sticky-offset);
}
.vm-section h2 {
  margin: 0 0 0.65rem;
  color: var(--vm-purple-dark);
  font-size: var(--vm-fs-2xl);
  font-weight: 600;
  line-height: 1.25;
}
.vm-section h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--vm-text);
  font-size: var(--vm-fs-lg);
  font-weight: 600;
  line-height: 1.3;
}
.vm-section p {
  margin: 0 0 1rem;
  color: var(--vm-text-secondary);
  max-width: 40em;
}

.vm-checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.vm-checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--vm-border);
}
.vm-checklist label {
  cursor: pointer;
  flex: 1;
  font-size: var(--vm-fs-base);
  font-weight: 400;
  color: var(--vm-text);
  line-height: 1.5;
}
.vm-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-inline-start: 0.35rem;
  vertical-align: middle;
}
.vm-badge--essential { background: #f3eef8; color: var(--vm-purple); }
/* #4b5563 sur #f3f4f6 ≈ 6.9:1 (AA) */
.vm-badge--comfort { background: #f3f4f6; color: #4b5563; }

.vm-cats { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0 0 1.25rem; }
.vm-cats a {
  color: var(--vm-purple);
  text-decoration: none;
  font-size: var(--vm-fs-sm);
  font-weight: 500;
  border-bottom: 1px solid var(--vm-purple);
}
.vm-cats a::after { content: " →"; }

.vm-shop { margin: 0 0 0.5rem; }
.vm-shop__title {
  margin: 0 0 0.65rem;
  font-size: var(--vm-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vm-muted);
  line-height: 1.4;
}
.vm-shop__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .vm-shop__grid { grid-template-columns: 1fr 1fr; }
}
.vm-shop__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.5rem 0.85rem 0.5rem 0.5rem;
  border: 1px solid var(--vm-border);
  border-radius: var(--vm-radius);
  background: #fff;
  text-decoration: none;
  color: var(--vm-text);
}
.vm-shop__item:hover,
.vm-shop__item:focus-visible {
  border-color: var(--vm-purple);
  background: var(--vm-bg-soft);
}
.vm-shop__item img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  background: var(--vm-bg-soft);
}
.vm-shop__name {
  flex: 1;
  font-weight: 600;
  font-size: var(--vm-fs-sm);
  color: var(--vm-text);
  line-height: 1.35;
}
.vm-shop__arrow { color: var(--vm-purple); font-weight: 700; }

.vm-faq details {
  border: 1px solid var(--vm-border);
  border-radius: var(--vm-radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--vm-bg-soft);
}
.vm-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--vm-fs-base);
  color: var(--vm-text);
  line-height: 1.4;
}
.vm-faq details p {
  margin: 0.65rem 0 0;
  color: var(--vm-text-secondary);
  font-size: var(--vm-fs-sm);
  max-width: none;
}

.vm-cta-final {
  background: var(--vm-bg-soft);
  border-radius: var(--vm-radius);
  padding: 1.5rem;
  margin-top: 1rem;
}
.vm-cta-final h2 { margin-bottom: 0.5rem; }
.vm-cta-final > p {
  margin-bottom: 1.25rem;
  color: var(--vm-text-secondary);
}
.vm-cta-final__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .vm-cta-final__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .vm-cta-final__actions .vm-btn { width: auto; }
}

.vm-trust {
  color: var(--vm-muted);
  font-size: var(--vm-fs-sm);
  margin-top: 1rem;
  line-height: 1.5;
}

.vm-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  color: var(--vm-text-secondary);
  font-size: var(--vm-fs-sm);
  line-height: 1.45;
}
.vm-proof li::before { content: "✓"; color: var(--vm-purple); font-weight: 700; margin-inline-end: 0.4rem; }
.vm-proof strong { color: var(--vm-purple-dark); font-weight: 600; }

@media print {
  .vm-toc,
  .vm-hero__img,
  .vm-proof,
  .vm-btn,
  .vm-filter,
  .vm-shop,
  .vm-cats,
  .vm-faq,
  .vm-cta-final { display: none !important; }

  body.vm-page { font-size: 12px; line-height: 1.4; }
  .vm-wrap { max-width: none; padding: 0; }
  .vm-hero { padding: 0 0 0.5rem; }
  .vm-section { padding: 0.6rem 0; break-inside: avoid; }
  .vm-checklist li { padding: 0.1rem 0; border-bottom: none; }
  .vm-badge { border: 1px solid #999; background: none !important; color: #333 !important; }
  a { color: inherit; text-decoration: none; }
}
