/* V6 · le guide reprend les couleurs et l'en-tête communs ; mode sombre ; routine imprimable. */
body{background:var(--n-fond);color:var(--n-texte);font-family:var(--n-sans)}
.mobile-nav{background:var(--n-surface);border-top:1px solid var(--n-ligne)}
.faq .revision{grid-column:1/-1}
@media (prefers-color-scheme:dark){
  :root:not([data-theme=light]) :is(.section,.visual-catalog,.selection,.rituel,.faq,main){background-color:transparent;color:var(--n-texte)}
  :root:not([data-theme=light]) dialog{background:var(--n-surface);color:var(--n-texte)}
  :root:not([data-theme=light]) :is(.eyebrow,.fine,.category-intro,.journey-note,.modal-copy){color:var(--n-doux)}
  :root:not([data-theme=light]) :is(.button,.choice,.matched-product,.favorite-item,.saved-row){color:var(--n-texte);border-color:var(--n-ligne)}
  :root:not([data-theme=light]) :is(.choice,.matched-product,.favorite-item,.saved-row,.result-summary){background:var(--n-sable)}
  :root:not([data-theme=light]) .mobile-nav{color:var(--n-texte)}
}
/* Routine imprimable : seule la fenêtre du parcours est imprimée, en noir sur blanc, sans boutons. */
@media print{
  body.impression-routine>*:not(dialog[open]){display:none!important}
  body.impression-routine dialog[open]{position:static;display:block;max-width:none;width:auto;height:auto;max-height:none;overflow:visible;border:0;box-shadow:none;padding:0;background:#fff;color:#000}
  body.impression-routine dialog[open]::backdrop{display:none}
  body.impression-routine :is(button.close,.journey-actions,.result-links,.return-plan){display:none!important}
  body.impression-routine .matched-product{border:1px solid #bbb;break-inside:avoid;background:#fff;color:#000}
  body.impression-routine .matched-product img{max-width:70px;max-height:70px}
  body.impression-routine .routine-step{break-inside:avoid}
  body.impression-routine .matched-product>span>span:last-child{display:none}
}
/* la barre de navigation mobile du guide ne recouvre pas le pied de page */
@media(max-width:760px){body[data-page=guide] footer.pied{padding-bottom:calc(110px + env(safe-area-inset-bottom))}body[data-page=guide] .remonter{bottom:calc(84px + env(safe-area-inset-bottom))}}
.image-expand{min-height:44px}
/* V6.1 : bouton de commande du guide aux couleurs de la fiche (bordeaux), zone tactile 48 px */
.order-info .button,.modal-product .order-info a.button{background:var(--n-bordeaux);border-color:var(--n-bordeaux);color:var(--n-sur-bordeaux);min-height:48px;display:flex;align-items:center;justify-content:center;font-family:var(--n-serif);font-size:17px;border-radius:4px}

/* V6.4 · parcours Visage */
.v-reponses{list-style:none;margin:14px 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.v-reponses li{display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 12px;border:1px solid var(--n-ligne,#e6dcd2);border-radius:20px;font-size:14px}
.v-reponses .text-button{min-height:40px;font-size:13px}
.v-etapes{list-style:none;counter-reset:geste;margin:0;padding:0;display:grid;gap:16px}
.v-etapes>li{counter-increment:geste;padding:14px;border:1px solid var(--n-ligne,#e6dcd2);border-radius:10px;background:var(--n-surface,#fff)}
.v-etapes h3{margin:0;font-size:19px}
.v-etapes h3::before{content:counter(geste,decimal-leading-zero) " · ";color:var(--n-bordeaux-texte,#6b1328)}
.v-aide{margin:4px 0 10px;color:var(--n-doux,#6e5c54);font-size:14px}
.v-produit{display:grid;grid-template-columns:88px 1fr;gap:12px;align-items:start;margin-top:8px;color:inherit;text-decoration:none}
.v-produit img,.v-sans-photo{width:88px;height:88px;object-fit:cover;border-radius:8px;background:#f1e9e1}
.v-produit strong{display:block;font-size:16px;line-height:1.3}
.v-produit em{display:block;margin-top:4px;font-style:normal;font-size:14px;line-height:1.45}
.v-produit small{display:block;margin-top:4px;color:var(--n-doux,#6e5c54);font-size:12px}
.v-voir{display:inline-block;margin-top:6px;color:var(--n-bordeaux-texte,#6b1328);text-decoration:underline;font-size:14px}
.v-couverte{margin:6px 0 0;padding:10px 12px;border-radius:8px;background:#f3ece4;font-size:14px}
.v-comparer{margin:16px 0}
.v-comparer summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--n-bordeaux-texte,#6b1328);text-decoration:underline}
.v-tableau{width:100%;border-collapse:collapse;font-size:13px;line-height:1.4;table-layout:fixed}
.v-tableau th,.v-tableau td{padding:8px 5px;border-bottom:1px solid var(--n-ligne,#e6dcd2);text-align:left;vertical-align:top;overflow-wrap:anywhere}
.v-tableau tbody th{width:22%;color:var(--n-doux,#6e5c54);font-weight:500}
.v-facultatif{margin:6px 0;font-size:14px}
.visuellement-cache{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* V6.5 : comparatif des démaquillants en cartes pleine largeur (plus de tableau en demi-colonne) */
.v-comparer{grid-column:1 / -1;width:100%}
.v-cartes{display:grid;grid-template-columns:1fr;gap:10px;margin-top:8px}
.v-carte{display:grid;grid-template-columns:88px 1fr;gap:12px;align-items:start;padding:12px;background:var(--n-carte,#fffdf9);border:1px solid var(--n-ligne,#e6dcd2);border-radius:8px}
.v-carte img,.v-carte .v-sans-photo{width:88px;height:88px;object-fit:contain;background:#fff;border-radius:6px}
.v-carte h3{margin:0;font:500 16px/1.3 var(--n-serif,serif);overflow-wrap:normal;word-break:normal;hyphens:manual}
.v-carte p{margin:6px 0 0;font-size:14px;line-height:1.45}
.v-carte-ref{color:var(--n-doux,#6e5c54);font-size:13px}
.v-carte a{display:inline-block;min-height:24px;color:var(--n-bordeaux-texte,#6b1328)}
