
/* Valmia, styles des composants. Préfixe vm- partout. Couleurs et mesures : tokens uniquement. */

body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.vm-stage { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); padding: var(--space-5); }
.vm-stage--col { flex-direction: column; align-items: stretch; }

/* Surlignage d'un mot de titre */
.vm-mark { background: linear-gradient(transparent 58%, var(--gold) 58%, var(--gold) 92%, transparent 92%); padding: 0 .08em; color: inherit; }
.vm-accent { color: var(--plum); }
.vm-link { color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.vm-link:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: 4px; }

/* Logo selon le thème */
.vm-logo { display: block; height: 40px; width: auto; }
.vm-logo--reverse { display: none; }
[data-theme="dark"] .vm-logo--default { display: none; }
[data-theme="dark"] .vm-logo--reverse { display: block; }

/* Boutons */
.vm-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-height); padding: 0 var(--space-5); border: 2px solid transparent; border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 18px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.vm-btn:hover { transform: translateY(-1px); }
.vm-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.vm-btn i { font-size: 1.05em; }
.vm-btn--primary { background: var(--coral); color: var(--on-coral); }
.vm-btn--primary:hover { background: var(--coral-hover); }
.vm-btn--plum { background: var(--plum); color: var(--on-plum); }
.vm-btn--plum:hover { background: var(--plum-hover); }
.vm-btn--secondary { background: transparent; color: var(--plum); border-color: var(--plum); }
.vm-btn--secondary:hover { background: var(--surface-plum); }
.vm-btn--light { background: var(--surface-raised); color: var(--plum); }
.vm-btn--light:hover { background: var(--surface-plum); }
.vm-btn--block { width: 100%; }
.vm-btn[disabled], .vm-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

/* Champs */
.vm-field { display: flex; flex-direction: column; gap: var(--space-2); }
.vm-label { font-size: 17px; line-height: 24px; font-weight: 700; color: var(--ink); }
.vm-help { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.vm-input { box-sizing: border-box; width: 100%; min-height: var(--control-height); padding: 0 var(--space-4); border: 2px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font-family: var(--font-sans); font-size: 18px; }
.vm-input::placeholder { color: var(--ink-muted); }
.vm-input:focus { outline: 2px solid transparent; border-color: var(--plum); box-shadow: var(--focus-ring); }
.vm-field--error .vm-input { border-color: var(--danger); }
.vm-error { display: flex; align-items: flex-start; gap: var(--space-2); margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--danger); }
.vm-error i { margin-top: 3px; }

/* Choix en grandes cartes */
.vm-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-3); margin: 0; padding: 0; border: 0; min-width: 0; }
.vm-choices legend { padding: 0; margin-bottom: var(--space-3); font-size: 17px; line-height: 24px; font-weight: 700; color: var(--ink); }
.vm-choice { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: 64px; padding: var(--space-3) var(--space-4); border: 2px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font-weight: 700; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.vm-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vm-choice__dot { flex: none; width: 24px; height: 24px; box-sizing: border-box; border: 2px solid var(--line-strong); border-radius: var(--radius-full); background: var(--surface-raised); }
.vm-choice i { margin-left: auto; font-size: 22px; color: var(--plum); }
.vm-choice:hover { border-color: var(--plum); }
.vm-choice:has(input:checked) { border-color: var(--plum); background: var(--surface-plum); }
.vm-choice input:checked + .vm-choice__dot { border-color: var(--plum); background: var(--plum); box-shadow: inset 0 0 0 4px var(--surface-raised); }
.vm-choice:has(input:focus-visible) { box-shadow: var(--focus-ring); }

/* Consentement */
.vm-consent { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 16px; line-height: 24px; color: var(--ink); cursor: pointer; }
.vm-consent input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--plum); }
.vm-consent input:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: 4px; }

/* Formulaire de devis */
.vm-leadform { box-sizing: border-box; color: var(--ink); display: flex; flex-direction: column; gap: var(--space-4); width: 100%; max-width: 460px; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-lg); }
.vm-leadform__title { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 36px; font-weight: 600; color: var(--ink); }
.vm-leadform__intro { margin: calc(var(--space-2) * -1) 0 0; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.vm-leadform__safe { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); text-align: center; }
.vm-leadform__safe i { color: var(--success); }

/* Header */
.vm-header { color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); background: var(--surface); border-bottom: 1px solid var(--line); }
.vm-header__actions { display: flex; align-items: center; gap: var(--space-5); }
.vm-header__phone { display: inline-flex; align-items: center; gap: var(--space-3); min-height: var(--tap-min); color: var(--plum); text-decoration: none; }
.vm-header__phone i { font-size: 22px; }
.vm-header__phone strong { display: block; font-size: 22px; line-height: 26px; font-weight: 700; }
.vm-header__phone small { display: block; font-size: 16px; line-height: 20px; color: var(--ink-muted); }
.vm-header__phone:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-md); }
@media (max-width: 720px) { .vm-header__phone small, .vm-header__phone strong { display: none; } .vm-header__actions .vm-btn { display: none; } .vm-header__phone { justify-content: center; width: var(--tap-min); border: 2px solid var(--plum); border-radius: var(--radius-full); } }

/* Hero */
.vm-hero { box-sizing: border-box; color: var(--ink); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; padding: var(--space-8) var(--space-6); background: var(--surface-plum); }
.vm-hero__title { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: 56px; line-height: 62px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.vm-hero__lead { margin: 0 0 var(--space-5); font-size: 22px; line-height: 34px; color: var(--ink); }
.vm-hero__points { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.vm-hero__points li { display: flex; align-items: center; gap: var(--space-3); font-weight: 700; }
.vm-hero__points i { color: var(--success); font-size: 22px; }
@media (max-width: 880px) { .vm-hero { grid-template-columns: 1fr; gap: var(--space-6); padding: var(--space-7) var(--space-4); } .vm-hero__title { font-size: 40px; line-height: 46px; } .vm-leadform { max-width: none; } }

/* Réassurance */
.vm-reassure { box-sizing: border-box; color: var(--ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-5); margin: 0; padding: var(--space-6); list-style: none; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.vm-reassure li { display: flex; align-items: flex-start; gap: var(--space-3); }
.vm-reassure__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--surface-plum); color: var(--plum); font-size: 20px; }
.vm-reassure strong { display: block; font-size: 18px; line-height: 26px; color: var(--ink); }
.vm-reassure span { display: block; font-size: 16px; line-height: 24px; color: var(--ink-muted); }

/* Tons des pastilles d'icône : prune, corail, doré, menthe */
.vm-tone--plum { background: var(--surface-plum) !important; color: var(--plum) !important; }
.vm-tone--coral { background: var(--surface-peach) !important; color: var(--coral) !important; }
.vm-tone--gold { background: var(--surface-gold) !important; color: var(--gold-ink) !important; }
.vm-tone--mint { background: var(--surface-mint) !important; color: var(--success) !important; }

/* Étapes */
.vm-steps { color: var(--ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-6); margin: 0; padding: 0; list-style: none; counter-reset: vm-step; }
.vm-step { display: flex; flex-direction: column; gap: var(--space-2); counter-increment: vm-step; }
.vm-step::before { content: counter(vm-step); display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-2); border-radius: var(--radius-full); background: var(--peach); color: var(--ink); font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1; }
.vm-step:nth-child(3n+2)::before { background: var(--mint); }
.vm-step:nth-child(3n)::before { background: var(--gold); }
.vm-step h3 { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; color: var(--ink); }
.vm-step p { margin: 0; color: var(--ink-muted); }

/* FAQ */
.vm-faq { color: var(--ink); display: flex; flex-direction: column; gap: var(--space-3); max-width: var(--content-max); }
.vm-faq details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised); }
.vm-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--control-height); padding: var(--space-3) var(--space-5); font-size: 18px; line-height: 26px; font-weight: 700; color: var(--ink); list-style: none; cursor: pointer; }
.vm-faq summary::-webkit-details-marker { display: none; }
.vm-faq summary:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-md); }
.vm-faq__icon { flex: none; color: var(--plum); font-size: 18px; transition: transform .2s ease; }
.vm-faq details[open] .vm-faq__icon { transform: rotate(45deg); }
.vm-faq__answer { margin: 0; padding: 0 var(--space-5) var(--space-5); color: var(--ink); }

/* Témoignage */
.vm-quote { box-sizing: border-box; color: var(--ink); display: flex; flex-direction: column; gap: var(--space-4); max-width: 440px; margin: 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.vm-quote__stars { display: flex; align-items: center; gap: var(--space-1); color: var(--gold); font-size: 18px; }
.vm-quote__stars b { margin-left: var(--space-2); font-size: 16px; color: var(--ink); }
.vm-quote blockquote { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 32px; font-weight: 500; color: var(--ink); }
.vm-quote figcaption { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.vm-quote figcaption strong { display: block; font-size: 18px; color: var(--ink); }

/* Confirmation */
.vm-confirm { box-sizing: border-box; display: flex; align-items: flex-start; gap: var(--space-3); max-width: 460px; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-mint); color: var(--ink); }
.vm-confirm i { flex: none; margin-top: 2px; font-size: 24px; color: var(--success); }
.vm-confirm strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 600; }
.vm-confirm p { margin: var(--space-1) 0 0; }

/* Barre d'appel */
.vm-callbar { box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); padding: var(--space-3) var(--space-5); border-radius: var(--radius-lg); background: var(--plum); color: var(--on-plum); box-shadow: var(--shadow-lg); }
.vm-callbar--fixed { position: fixed; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); z-index: 50; }
.vm-callbar__text { font-size: 17px; line-height: 24px; }
.vm-callbar__phone { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap-min); color: var(--on-plum); font-size: 26px; line-height: 30px; font-weight: 700; text-decoration: none; }
.vm-callbar__phone:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 3px var(--plum), 0 0 0 6px var(--on-plum); border-radius: var(--radius-md); }
.vm-callbar .vm-btn:focus-visible { box-shadow: 0 0 0 3px var(--plum), 0 0 0 6px var(--on-plum); }
@media (max-width: 560px) { .vm-callbar__text { display: none; } .vm-callbar { justify-content: center; } }

/* ==========================================================================
   Ajouts de la page d'accueil (2026-10-27). Mêmes conventions : préfixe vm-,
   couleurs et mesures par les tokens uniquement.
   ========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .vm-btn, .vm-faq__icon { transition: none; } }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
.vm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vm-skip { position: absolute; left: var(--space-3); top: -100px; z-index: 100; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--plum); color: var(--on-plum); font-weight: 700; text-decoration: none; }
.vm-skip:focus { top: var(--space-3); outline: 2px solid transparent; box-shadow: var(--focus-ring); }

/* Correctif de la charte : « .vm-reassure span » écrasait le centrage des pastilles d'icône */
.vm-reassure .vm-reassure__icon { display: grid; }

/* Élément à compléter avant la mise en ligne (maquette uniquement) */
.vm-todo { padding: 0 .3em; border-radius: 4px; outline: 2px dashed var(--gold-ink); outline-offset: 1px; background: var(--surface-gold); color: var(--ink); font-size: .9em; font-weight: 400; }

/* Sections et conteneur */
.vm-container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-5); }
.vm-section { padding: var(--space-9) 0; background: var(--surface); color: var(--ink); }
.vm-section--plum { background: var(--surface-plum); }
.vm-section--peach { background: var(--surface-peach); }
.vm-section--gold { background: var(--surface-gold); }
.vm-section__head { max-width: var(--content-max); margin: 0 0 var(--space-7); }
.vm-section__head--center { margin-inline: auto; text-align: center; }
.vm-section__title { margin: 0; color: var(--ink); }
.vm-section__lead { margin: var(--space-4) 0 0; color: var(--ink-muted); }
.vm-section__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); margin-top: var(--space-7); }
.vm-section__foot--center { justify-content: center; }
@media (max-width: 880px) {
  .vm-section { padding: var(--space-8) 0; }
  .vm-type-display-xl { font-size: 40px; line-height: 46px; }
  .vm-type-display-l { font-size: 32px; line-height: 40px; }
  .vm-type-lead { font-size: 20px; line-height: 31px; }
}
@media (max-width: 560px) { .vm-container { padding: 0 var(--space-4); } }

/* Header de page : collant, logo et navigation par ancres (aucun bouton ni numéro de téléphone) */
.vm-header--sticky { position: sticky; top: 0; z-index: 40; padding-inline: 0; }
.vm-header--sticky > .vm-container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 48px; }
.vm-header__home { display: inline-flex; align-items: center; min-height: var(--tap-min); border-radius: var(--radius-sm); }
.vm-header__home:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.vm-nav { display: flex; align-items: center; gap: var(--space-1); margin: 0 0 0 auto; padding: 0; list-style: none; }
.vm-nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--ink); font-size: 17px; font-weight: 700; text-decoration: none; }
.vm-nav a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.vm-nav a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
@media (max-width: 880px) { .vm-nav { display: none; } }
@media (max-width: 720px) { .vm-header--sticky { position: static; } }

/* Hero de la page : contenu aligné sur le conteneur, place pour la réassurance qui chevauche.
   Texte aligné en haut : la hauteur du formulaire change d'une étape à l'autre sans faire bouger le texte. */
.vm-hero--page { align-items: start; padding-top: var(--space-8); padding-bottom: calc(var(--space-9) + var(--space-7)); padding-inline: max(var(--space-5), calc((100% - var(--container-max)) / 2 + var(--space-5))); }
.vm-hero--page > div:first-child { padding-top: var(--space-7); }
.vm-hero--page .vm-leadform { justify-self: end; }
@media (max-width: 880px) { .vm-hero--page { padding: var(--space-7) var(--space-5) var(--space-8); } .vm-hero--page > div:first-child { padding-top: 0; } .vm-hero--page .vm-leadform { justify-self: stretch; } .vm-hero__lead { font-size: 20px; line-height: 31px; } }
@media (max-width: 560px) { .vm-hero--page { padding-inline: var(--space-4); } .vm-leadform { padding: var(--space-5); } }

.vm-overlap { position: relative; margin-top: calc((var(--space-9) + var(--space-7) + var(--space-9) / 2) * -1); margin-bottom: var(--space-8); }
@media (max-width: 880px) { .vm-overlap { margin-top: 0; margin-bottom: var(--space-7); } .vm-section--after-hero { padding-top: var(--space-6); } }

/* Formulaire : consentement, confirmation à la place du formulaire */
.vm-leadform .vm-consent a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.vm-field--error .vm-consent input { outline: 2px solid var(--danger); outline-offset: 2px; }
.vm-leadform--done { gap: var(--space-5); }
.vm-leadform--done .vm-confirm { max-width: none; }
.vm-leadform--done .vm-confirm:focus { outline: none; }
.vm-leadform__after { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }

/* ==========================================================================
   Formulaire en plusieurs étapes (vm-wizard)
   ========================================================================== */
.vm-wizard__form { display: flex; flex-direction: column; gap: var(--space-5); }
.vm-wizard__head { display: flex; flex-direction: column; gap: var(--space-2); }
.vm-wizard__head[hidden] { display: none; }
.vm-wizard__label { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.vm-wizard__label strong { font-size: 17px; color: var(--ink); }
.vm-progress { height: 8px; border-radius: var(--radius-full); background: var(--line); overflow: hidden; }
.vm-progress span { display: block; width: var(--progress, 0%); height: 100%; border-radius: inherit; background: var(--plum); transition: width .4s ease; }
.vm-wizard__step { display: flex; flex-direction: column; gap: var(--space-5); }
.vm-wizard__step[hidden] { display: none; }
.vm-wizard__title { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; color: var(--ink); }
.vm-wizard__title:focus { outline: none; }
.vm-wizard__intro { margin: calc(var(--space-3) * -1) 0 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.vm-wizard__nav { display: flex; gap: var(--space-3); margin-top: var(--space-1); }
.vm-wizard__nav .vm-btn--primary { flex: 1; }
.vm-wizard__nav .vm-btn--secondary { padding: 0 var(--space-4); }
.vm-wizard__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 480px) { .vm-wizard__row { grid-template-columns: 1fr; } }
.vm-wizard__news { display: flex; align-items: flex-start; gap: var(--space-3); margin: 0; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-mint); color: var(--ink); font-size: 18px; line-height: 27px; font-weight: 700; }
.vm-wizard__news:focus { outline: none; }
.vm-wizard__news i { flex: none; margin-top: 3px; font-size: 22px; color: var(--success); }
.vm-wizard .vm-leadform__safe { margin-top: calc(var(--space-2) * -1); }

/* Choix : variantes en liste, sur deux colonnes, et boutons oui / non */
.vm-choices--list { grid-template-columns: 1fr; }
.vm-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vm-choice--center { justify-content: center; text-align: center; }
.vm-choice__dot--square { border-radius: 6px; }
.vm-choice input[type="checkbox"]:checked + .vm-choice__dot--square { box-shadow: inset 0 0 0 4px var(--surface-raised); }
.vm-choices--error .vm-choice { border-color: var(--danger); }

/* Champ avec icône à droite (bouclier, flèche de liste) */
.vm-input-wrap { position: relative; }
.vm-input-wrap .vm-input { padding-right: 52px; }
.vm-input-wrap > i { position: absolute; top: 50%; right: var(--space-4); transform: translateY(-50%); font-size: 20px; color: var(--line-strong); pointer-events: none; }
.vm-input-wrap--ok > i { color: var(--success); }
.vm-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.vm-input-wrap--select > i { font-size: 16px; color: var(--ink); }

/* Curseur de niveau de remboursement */
.vm-range { display: flex; flex-direction: column; gap: var(--space-1); }
.vm-range + .vm-range { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.vm-range__head { display: flex; align-items: flex-start; gap: var(--space-3); }
.vm-range__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full); font-size: 18px; }
.vm-range__head .vm-help { margin-top: 2px; }
.vm-range__input { --fill: 33.333%; display: block; width: 75%; height: var(--tap-min); margin: var(--space-1) auto 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.vm-range__input:focus { outline: none; }
.vm-range__input::-webkit-slider-runnable-track { height: 8px; border-radius: var(--radius-full); background: linear-gradient(to right, var(--plum) 0 var(--fill), var(--line) var(--fill) 100%); }
.vm-range__input::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 30px; height: 30px; margin-top: -11px; border: 3px solid var(--plum); border-radius: var(--radius-full); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.vm-range__input::-moz-range-track { height: 8px; border-radius: var(--radius-full); background: var(--line); }
.vm-range__input::-moz-range-progress { height: 8px; border-radius: var(--radius-full); background: var(--plum); }
.vm-range__input::-moz-range-thumb { box-sizing: border-box; width: 30px; height: 30px; border: 3px solid var(--plum); border-radius: var(--radius-full); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.vm-range__input:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus-ring); }
.vm-range__input:focus-visible::-moz-range-thumb { box-shadow: var(--focus-ring); }
.vm-range__scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: calc(var(--space-3) * -1); }
.vm-range__scale button { min-height: 40px; padding: 0; white-space: nowrap; border: 0; background: none; color: var(--ink-muted); font-family: var(--font-sans); font-size: 16px; line-height: 20px; text-align: center; cursor: pointer; }
.vm-range__scale button.is-active { color: var(--plum); font-weight: 700; }
.vm-range__scale button:hover { color: var(--ink); }

/* Écran de chargement entre les coordonnées et la dernière étape */
.vm-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); min-height: 460px; padding: var(--space-5) 0; text-align: center; }
.vm-loader__visual { position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: var(--space-2); border-radius: var(--radius-full); background: var(--surface-plum); }
.vm-loader__visual::before { content: ""; position: absolute; inset: -8px; border: 4px solid var(--line); border-top-color: var(--plum); border-right-color: var(--gold); border-radius: var(--radius-full); animation: vm-spin 1.2s linear infinite; }
.vm-loader__visual img { width: 56px; height: 56px; }
.vm-loader__title { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; color: var(--ink); }
.vm-loader__title:focus { outline: none; }
.vm-loader > p { margin: calc(var(--space-3) * -1) 0 0; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.vm-loader .vm-progress { width: 100%; max-width: 300px; }
.vm-loader__list { display: flex; flex-direction: column; gap: var(--space-3); margin: var(--space-2) 0 0; padding: 0; list-style: none; text-align: left; }
.vm-loader__list li { display: flex; align-items: center; gap: var(--space-3); font-size: 17px; line-height: 24px; color: var(--ink-muted); }
.vm-loader__state { flex: none; display: grid; place-items: center; box-sizing: border-box; width: 24px; height: 24px; border: 2px solid var(--line); border-radius: var(--radius-full); font-size: 12px; color: var(--surface-raised); }
.vm-loader__state i { visibility: hidden; }
.vm-loader__list li.is-current { color: var(--ink); font-weight: 700; }
.vm-loader__list li.is-current .vm-loader__state { border-color: var(--line); border-top-color: var(--plum); animation: vm-spin .8s linear infinite; }
.vm-loader__list li.is-done { color: var(--ink); }
.vm-loader__list li.is-done .vm-loader__state { border-color: var(--success); background: var(--success); }
.vm-loader__list li.is-done .vm-loader__state i { visibility: visible; }
@keyframes vm-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .vm-loader__visual::before, .vm-loader__list li.is-current .vm-loader__state { animation: none; }
  .vm-progress span { transition: none; }
}

/* Cartes génériques : pastille de ton, titre, texte, lien */
.vm-cards { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.vm-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vm-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .vm-cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .vm-cards--2 { grid-template-columns: 1fr; } }
.vm-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-sm); color: var(--ink); }
.vm-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-2); border-radius: var(--radius-full); font-size: 24px; }
.vm-card__title { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; color: var(--ink); }
.vm-card p { margin: 0; color: var(--ink-muted); }
.vm-card .vm-link { display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start; min-height: var(--tap-min); margin-top: auto; font-weight: 700; }
.vm-card--row { flex-direction: row; align-items: flex-start; gap: var(--space-5); }
.vm-card--row .vm-card__icon { flex: none; margin: 0; }
.vm-card--row > div { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; }
@media (max-width: 560px) { .vm-card { padding: var(--space-5); } .vm-card--row { flex-direction: column; gap: var(--space-3); } }

/* Bloc « notre nom » */
.vm-story { max-width: var(--content-max); text-align: center; }
.vm-story__mark { display: block; width: 72px; height: auto; margin: 0 auto var(--space-5); }
.vm-story p { margin: var(--space-4) 0 0; }
.vm-story .vm-story__sign { margin-top: var(--space-5); font-family: var(--font-display); font-size: 28px; line-height: 36px; font-weight: 600; color: var(--plum); }

/* FAQ centrée dans sa section */
.vm-faq--center { margin: 0 auto; }

/* Bandeau final sur fond prune */
.vm-final { padding: var(--space-9) 0; background: var(--plum); color: var(--on-plum); text-align: center; }
.vm-final h2 { margin: 0 auto; max-width: var(--content-max); color: var(--on-plum); }
.vm-final p { margin: var(--space-4) auto 0; max-width: var(--content-max); }
.vm-final__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-6); }
.vm-final .vm-btn--light:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 3px var(--plum), 0 0 0 6px var(--on-plum); }
@media (max-width: 880px) { .vm-final { padding: var(--space-8) 0; } }

/* Pied de page */
.vm-footer { padding: var(--space-8) 0 var(--space-6); background: var(--plum-deep); color: var(--on-plum); font-size: 16px; line-height: 24px; }
.vm-footer__top { padding-bottom: var(--space-6); border-bottom: 1px solid currentColor; }
.vm-footer__brand img { display: block; height: 40px; width: auto; }
.vm-footer__sign { margin: var(--space-4) 0 0; font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 500; }
.vm-footer p { margin: 0; }
.vm-footer a { color: var(--on-plum); text-decoration: underline; text-underline-offset: 3px; }
.vm-footer a:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 3px var(--plum-deep), 0 0 0 6px var(--on-plum); border-radius: 4px; }
.vm-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); padding-top: var(--space-5); }
.vm-footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); margin: 0; padding: 0; list-style: none; }
.vm-footer__links a { display: inline-flex; align-items: center; min-height: var(--tap-min); }

/* ==========================================================================
   Pages secondaires (2026-10-27) : légales, gestion des cookies, remerciement
   ========================================================================== */

/* Bandeau de titre des pages secondaires */
.vm-page-head { padding: var(--space-8) 0 var(--space-7); background: var(--surface-plum); color: var(--ink); }
.vm-page-head h1 { margin: 0; color: var(--ink); }
.vm-page-head p { margin: var(--space-3) 0 0; color: var(--ink-muted); }
.vm-page-head .vm-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap-min); margin-bottom: var(--space-3); font-weight: 700; }

/* Contenu des pages légales */
.vm-legal { max-width: var(--content-max); padding: var(--space-8) 0 var(--space-9); color: var(--ink); }
.vm-legal h2 { margin: var(--space-7) 0 var(--space-3); font-family: var(--font-display); font-size: 28px; line-height: 36px; font-weight: 600; color: var(--ink); }
.vm-legal h2:first-child { margin-top: 0; }
.vm-legal h3 { margin: var(--space-5) 0 var(--space-2); font-size: 18px; line-height: 26px; font-weight: 700; }
.vm-legal p, .vm-legal li { margin: 0 0 var(--space-3); }
.vm-legal ul { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
.vm-legal a:not(.vm-btn) { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.vm-legal a:not(.vm-btn):focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: 4px; }
.vm-legal__card { margin: 0 0 var(--space-4); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.vm-legal__card p:last-child, .vm-legal__card ul:last-child { margin-bottom: 0; }
.vm-legal__summary { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-gold); }
.vm-legal__summary ul { margin: 0; }
@media (max-width: 880px) { .vm-legal { padding: var(--space-7) 0 var(--space-8); } .vm-legal h2 { font-size: 24px; line-height: 30px; } .vm-page-head { padding: var(--space-6) 0; } }

/* Tableau des cookies : lignes empilées sur mobile */
.vm-table { width: 100%; margin: 0 0 var(--space-5); border-collapse: collapse; font-size: 16px; line-height: 24px; }
.vm-table th, .vm-table td { padding: var(--space-3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.vm-table th { font-weight: 700; color: var(--ink); background: var(--surface-plum); }
.vm-table code { font-size: 15px; }
@media (max-width: 640px) {
  .vm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vm-table tr { display: block; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
  .vm-table td { display: block; padding: var(--space-1) 0; border: 0; }
  .vm-table td::before { content: attr(data-label) " : "; font-weight: 700; }
}

/* Interrupteur (case à cocher avec role="switch") */
.vm-switch { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-5); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.vm-switch:last-of-type { border-bottom: 0; }
.vm-switch strong { display: block; font-size: 18px; line-height: 26px; }
.vm-switch span { display: block; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.vm-switch input { flex: none; position: relative; width: 56px; height: 32px; margin: 0; border-radius: var(--radius-full); background: var(--line-strong); cursor: pointer; appearance: none; -webkit-appearance: none; transition: background-color .15s ease; }
.vm-switch input::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--surface-raised); transition: transform .15s ease; }
.vm-switch input:checked { background: var(--plum); }
.vm-switch input:checked::after { transform: translateX(24px); }
.vm-switch input:disabled { opacity: .55; cursor: not-allowed; }
.vm-switch input:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.vm-switch label { cursor: pointer; }
.vm-cookie-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.vm-cookie-status { margin: var(--space-4) 0 0; font-weight: 700; color: var(--success); }
.vm-cookie-status:empty { display: none; }

/* Vignette de consentement : petite carte en bas à gauche, non bloquante */
.vm-cookie { position: fixed; left: var(--space-4); bottom: var(--space-4); z-index: 60; box-sizing: border-box; width: calc(100% - 2 * var(--space-4)); max-width: 380px; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-lg); }
.vm-cookie[hidden] { display: none; }
.vm-cookie__title { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-2); font-size: 18px; line-height: 26px; font-weight: 700; }
.vm-cookie__title i { color: var(--plum); }
.vm-cookie__text { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.vm-cookie__actions { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.vm-cookie__actions .vm-btn { flex: 1; min-height: var(--tap-min); padding: 0 var(--space-3); }
.vm-cookie__more { display: inline-flex; align-items: center; min-height: var(--tap-min); margin-top: var(--space-1); font-size: 16px; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.vm-cookie__more:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: 4px; }
@media (max-width: 560px) { .vm-cookie { left: var(--space-3); bottom: var(--space-3); width: calc(100% - 2 * var(--space-3)); padding: var(--space-4); } }

/* Page de remerciement */
.vm-thanks { padding: var(--space-8) 0 var(--space-9); background: var(--surface-plum); color: var(--ink); text-align: center; }
.vm-thanks__icon { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto var(--space-5); border-radius: var(--radius-full); background: var(--surface-mint); color: var(--success); font-size: 36px; }
.vm-thanks h1 { max-width: var(--content-max); margin: 0 auto; }
.vm-thanks__lead { max-width: var(--content-max); margin: var(--space-4) auto 0; }
.vm-partner { max-width: 560px; margin: var(--space-7) auto 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-lg); }
.vm-partner__label { margin: 0 0 var(--space-4); font-size: 17px; line-height: 24px; font-weight: 700; color: var(--ink-muted); }
.vm-partner__logo { display: grid; place-items: center; min-height: 120px; border-radius: var(--radius-md); background: var(--surface-raised); }
.vm-partner__logo img { max-width: 260px; max-height: 96px; width: auto; height: auto; }
.vm-partner p:last-child { margin: var(--space-4) 0 0; color: var(--ink-muted); }
@media (max-width: 880px) { .vm-thanks { padding: var(--space-7) 0 var(--space-8); } .vm-partner { padding: var(--space-5); } }

/* ===== Page d'accueil comparateur ===== */
.vm-hero--home { align-items: center; }
.vm-hero--home > div:first-child { padding-top: 0; }
.vm-offer__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-full); font-size: 24px; }
.vm-checklist { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.vm-checklist li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 17px; line-height: 26px; }
.vm-checklist i { flex: none; margin-top: 5px; color: var(--success); }
.vm-offer .vm-btn--primary { margin-top: var(--space-2); }

.vm-product { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--space-7); padding: var(--space-7); border-radius: var(--radius-xl); background: var(--surface-raised); box-shadow: var(--shadow-sm); color: var(--ink); }
.vm-product__main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.vm-product__main .vm-card__icon { margin: 0 0 var(--space-2); }
.vm-product__main p { margin: 0 0 var(--space-3); color: var(--ink-muted); }
.vm-product__aside { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-peach); }
.vm-product__label { margin: 0 0 var(--space-4); font-weight: 700; }
.vm-product__list { display: flex; flex-direction: column; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.vm-product__list li { display: flex; align-items: center; gap: var(--space-4); font-size: 18px; }
@media (max-width: 880px) { .vm-product { grid-template-columns: 1fr; gap: var(--space-6); padding: var(--space-6); } }
@media (max-width: 560px) { .vm-product { padding: var(--space-5); } .vm-product__aside { padding: var(--space-5); } .vm-product .vm-btn { width: 100%; } }

.vm-glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin: 0; }
.vm-glossary__item { padding: var(--space-5) var(--space-6); border-left: 4px solid var(--gold); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.vm-glossary dt { margin: 0 0 var(--space-2); font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 600; color: var(--ink); }
.vm-glossary dd { margin: 0; color: var(--ink-muted); }
@media (max-width: 720px) { .vm-glossary { grid-template-columns: 1fr; } .vm-glossary__item { padding: var(--space-5); } }

/* ===== Thème WordPress ===== */
/* Pot de miel du formulaire, invisible pour les visiteurs et les lecteurs d'écran. */
.vm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Barre d'administration WordPress (visible seulement connecté) : l'en-tête collant passe dessous. */
.admin-bar .vm-header--sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .vm-header--sticky { top: 46px; } }
@media (max-width: 600px) { .admin-bar .vm-header--sticky { top: 0; } }
