/* ============================================================
   Spotipharm : pages vitrines publiques (Stup sur `/`, RH sur /decouvrir/rh)
   Transcrit du canonique claude.ai/design screens-vitrine/vitrine.css.
   Construit sur le DS : tokens, .sp-btn, .sp-logo. Aucun script.
   L'accent suit [data-module] sur le <body> : la marque (--brand…) vient
   déjà du DS (tokens/colors.css) ; seuls les alias --v-* sont propres ici.
   Les deux pages sont une famille : l'accent change, jamais la mise en page.

   Écarts au canonique (lat.md/screens.md#Lot — Vitrines commerciales) :
   - la rampe orange et le bloc de marque RH ne sont pas redéclarés, le DS
     les porte ;
   - les règles .vt-sw / .vt-mod / .vt-stamp ne sont pas transcrites : le
     menu des modules est le composant partagé ModuleSwitcher ;
   - les quelques style="" de couleur du canonique sont devenus des
     modificateurs (fin de fichier) ; seuls les grid-column restent inline,
     comme sur la grille du planning.
   Discipline de langage : la page vend un outil qui CONSTATE. Elle ne dit
   jamais que l'officine est « conforme » ni « en règle ».
   ============================================================ */

/* ---- Alias d'accent de la vitrine (la marque vient du DS, [data-module]) ---- */
:root, [data-module="stup"] { --v-ink: var(--teal-700); --v-tint: var(--teal-50); --v-line: var(--teal-200); }
[data-module="rh"] { --v-ink: var(--orange-700); --v-tint: var(--orange-50); --v-line: var(--orange-200); }
/* Jobs : seuls les alias de vitrine (--v-*) sont posés ici. Les alias de
   marque (--brand…) viennent de theme-emploi.css, source unique (cf.
   lat.md/jobs.md#Identité visuelle), et non d'une recopie comme dans le
   canonique. Filet en violet-100 : la rampe n'a pas de 200. */
[data-module="jobs"] { --v-ink: var(--violet-700); --v-tint: var(--violet-50); --v-line: var(--violet-100); }

/* ---- Page ---- */
.vt { margin: 0; background: var(--surface-page); color: var(--text-body); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
/* Liens de texte seulement : .vt a (0,1,1) battrait .sp-btn--primary (0,1,0).
   L'exclusion est en :where(), de poids nul : en :not() (0,3,1), elle battrait
   aussi .vt-top__nav > a et .vt-foot__in a. */
.vt a:where(:not(.sp-btn, .sp-switcher__item)) { color: var(--text-link); }
.vt a:where(:not(.sp-btn, .sp-switcher__item)):hover { color: var(--brand-hover); }
/* styles.css ne définit pas .sr-only ; le lien d'évitement se révèle au focus. */
.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; }
.vt-skip:focus { position: fixed; top: var(--space-3); left: var(--space-3); z-index: 100; width: auto; height: auto; margin: 0; padding: var(--space-2) var(--space-4); clip: auto; white-space: normal; background: var(--surface-card); color: var(--text-strong); border: 2px solid var(--border-focus); border-radius: var(--radius-md); }
.vt *, .vt *::before, .vt *::after { box-sizing: border-box; }
.vt-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--space-5); }
.vt-sec { padding: var(--space-9) 0; }
.vt-sec--alt { background: var(--surface-card); border-top: var(--border-width) solid var(--border-subtle); border-bottom: var(--border-width) solid var(--border-subtle); }
.vt-eyebrow { margin: 0 0 var(--space-3); font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--v-ink); }
.vt-h2 { margin: 0; max-width: 24ch; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; font-weight: var(--fw-semibold); color: var(--text-strong); text-wrap: balance; }
.vt-lead { margin: var(--space-4) 0 0; max-width: 62ch; font-size: var(--text-md); line-height: 1.55; color: var(--text-muted); text-wrap: pretty; }
.vt-head { margin-bottom: var(--space-7); }

/* ---- Topbar ---- */
.vt-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface-card) 94%, transparent); backdrop-filter: saturate(1.2) blur(6px); border-bottom: var(--border-width) solid var(--border-subtle); }
.vt-top__in { display: flex; align-items: center; gap: var(--space-4); min-height: 64px; }
.vt-top__spacer { flex: 1; }
.vt-top__nav { display: flex; align-items: center; gap: var(--space-5); }
.vt-top__nav > a { font-size: var(--text-sm); color: var(--text-body); text-decoration: none; }
.vt-top__nav > a:hover { color: var(--text-strong); text-decoration: underline; }

.vt-pop { position: absolute; top: calc(100% + 12px); left: 0; z-index: 40; width: min(360px, calc(100vw - 32px)); padding: var(--space-3); background: var(--surface-card); border: var(--border-width) solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.vt-pop--r { left: auto; right: 0; }

/* « Se connecter » : une explication, jamais une liste d'officines */
/* Ancre du panneau : sans elle, `.vt-pop--r { right: 0 }` se cale sur la
   topbar sticky, loin du bouton (écart au canonique, cf. screens.md). */
.vt-login { position: relative; }
.vt-login > summary { font-size: var(--text-sm); color: var(--text-body); cursor: pointer; list-style: none; padding: 6px 4px; }
.vt-login > summary::-webkit-details-marker { display: none; }
.vt-login > summary:hover { color: var(--text-strong); text-decoration: underline; }
.vt-login > summary:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; border-radius: 3px; }
.vt-login .vt-pop { padding: var(--space-5); }
.vt-login h3 { margin: 0; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-strong); }
.vt-login p { margin: var(--space-2) 0 0; font-size: var(--text-xs); line-height: 1.5; color: var(--text-muted); }
.vt-login code { font-family: var(--font-mono); font-size: var(--text-2xs); padding: 1px 5px; background: var(--surface-sunken); border: var(--border-width) solid var(--border-subtle); border-radius: 3px; color: var(--text-strong); }

/* ---- Héros ---- */
.vt-hero { padding: var(--space-9) 0 var(--space-8); }
.vt-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: var(--space-8); align-items: center; }
.vt-hero h1 { margin: 0; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; font-weight: var(--fw-semibold); color: var(--text-strong); text-wrap: balance; }
.vt-hero h1 em { font-style: normal; color: var(--v-ink); }
.vt-hero__sub { margin: var(--space-5) 0 0; max-width: 52ch; font-size: var(--text-md); line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.vt-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.vt-cta .sp-btn { min-height: 44px; }
.vt-hero__fine { margin: var(--space-4) 0 0; font-size: var(--text-xs); color: var(--text-faint); }

/* ---- Cadre de capture d'écran ---- */
.vt-shot { position: relative; min-width: 0; background: var(--surface-card); border: var(--border-width) solid var(--border-default); border-radius: var(--radius-lg); box-shadow: 0 1px 0 var(--border-subtle), 0 18px 40px -18px rgba(15, 23, 42, .28); overflow: hidden; }
.vt-shot__bar { display: flex; align-items: center; gap: var(--space-3); padding: 9px var(--space-4); background: var(--slate-50); border-bottom: var(--border-width) solid var(--border-subtle); }
.vt-shot__dots { display: inline-flex; gap: 5px; }
.vt-shot__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-300); }
.vt-shot__url { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); }
.vt-shot__body { padding: var(--space-4); }
.vt-shot__title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.vt-shot__title b { font-size: var(--text-sm); color: var(--text-strong); }
.vt-shot__title preview-caption { font-size: var(--text-2xs); color: var(--text-muted); }
.vt-shot--sm { box-shadow: none; }
.vt-shot--sm .vt-shot__body { padding: var(--space-3); }

/* Registre miniature */
.vt-reg { width: 100%; border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.vt-reg th { padding: 6px 8px; text-align: left; font-size: 9.5px; font-weight: var(--fw-semibold); letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); border-bottom: var(--border-width) solid var(--border-default); }
.vt-reg td { padding: 7px 8px; border-bottom: var(--border-width) solid var(--border-subtle); color: var(--text-body); white-space: nowrap; }
.vt-reg td.n, .vt-reg th.n { text-align: right; }
.vt-reg td.in { color: var(--teal-800); font-weight: var(--fw-semibold); }
.vt-reg td.out { color: var(--text-strong); font-weight: var(--fw-semibold); }
.vt-reg tr.corr td { background: var(--amber-50); }
.vt-reg .t { display: inline-block; padding: 1px 5px; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .05em; border: 1px solid currentColor; border-radius: 3px; }
.vt-reg .t--e { color: var(--teal-700); }
.vt-reg .t--s { color: var(--slate-600); }
.vt-reg .t--c { color: var(--amber-700); }
.vt-reg .muted { color: var(--text-muted); }
.vt-reg-scroll { overflow-x: auto; }
.vt-stock { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); padding: 8px 10px; font-size: 11px; background: var(--v-tint); border: var(--border-width) solid var(--v-line); border-radius: var(--radius-sm); color: var(--text-body); }
.vt-stock b { color: var(--text-strong); font-variant-numeric: tabular-nums; }
.vt-stock svg { color: var(--v-ink); flex: none; }

/* Planning miniature : 20 colonnes d'une demi-heure, 8 h - 18 h */
.vt-pl { display: grid; grid-template-columns: 92px minmax(0, 1fr); font-size: 10.5px; }
.vt-pl__who { display: flex; flex-direction: column; justify-content: center; min-height: 30px; padding: 3px 8px 3px 0; border-bottom: var(--border-width) solid var(--border-subtle); }
.vt-pl__who b { font-weight: var(--fw-semibold); color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-pl__who person-role { font-size: 9px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-pl__trk { position: relative; display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); min-height: 30px; border-bottom: var(--border-width) solid var(--border-subtle); background-image: repeating-linear-gradient(to right, var(--border-subtle) 0 1px, transparent 1px calc(100% / 10)); }
.vt-pl__h { grid-row: 1; font-size: 9px; color: var(--text-faint); padding-left: 2px; border-left: 1px solid var(--border-subtle); }
.vt-pl__trk--h { min-height: 18px; background-image: none; }
.vt-pl__cov { grid-row: 1; display: flex; align-items: center; justify-content: center; margin: 3px 0; font-size: 9px; font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; }
.vt-pl__cov[data-s="ok"] { background: var(--teal-50); color: var(--teal-800); box-shadow: inset 0 -2px 0 var(--teal-300); }
.vt-pl__cov[data-s="gap"] { background: var(--red-500); color: #fff; background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.16) 0 3px, transparent 3px 7px); }
.vt-pl__s { grid-row: 1; display: flex; align-items: center; gap: 4px; margin: 4px 1px; padding: 0 5px; font-size: 9.5px; border: 1px solid var(--border-default); border-left-width: 3px; border-radius: 3px; overflow: hidden; white-space: nowrap; background: var(--surface-card); }
.vt-pl__s b { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .05em; }
.vt-pl__s[data-t="cpt"] { background: var(--teal-50); border-color: var(--teal-300); border-left-color: var(--teal-600); color: var(--teal-900); }
.vt-pl__s[data-t="pre"] { background: var(--slate-100); border-color: var(--slate-300); border-left-color: var(--slate-500); background-image: repeating-linear-gradient(135deg, rgba(100,112,130,.16) 0 3px, transparent 3px 7px); }
.vt-pl__s[data-t="cand"] { background: transparent; border-style: dashed; border-color: var(--orange-500); color: var(--orange-700); }
.vt-pl__abs { grid-row: 1; grid-column: 1 / -1; display: flex; align-items: center; margin: 4px 0; padding: 0 8px; font-size: 9.5px; color: var(--text-muted); background: repeating-linear-gradient(135deg, var(--slate-200) 0 3px, transparent 3px 8px); border: 1px dashed var(--slate-400); border-radius: 3px; }
.vt-pl__label { color: var(--text-muted); font-size: 9.5px; font-weight: var(--fw-semibold); }
.vt-alert { display: flex; gap: var(--space-2); margin-top: var(--space-3); padding: 8px 10px; font-size: 11px; line-height: 1.4; background: var(--danger-subtle); border: var(--border-width) solid color-mix(in srgb, var(--danger) 30%, var(--border-subtle)); border-left: 3px solid var(--danger); border-radius: var(--radius-sm); color: var(--text-strong); }
.vt-alert svg { flex: none; margin-top: 1px; color: var(--danger); }

/* Annonce telle que la voit le candidat */
.vt-job { display: flex; flex-direction: column; gap: var(--space-3); }
.vt-job__top { display: flex; align-items: flex-start; gap: var(--space-3); }
.vt-job__ttl { flex: 1; min-width: 0; }
.vt-job__ttl b { display: block; font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--text-strong); line-height: 1.25; }
.vt-job__ttl job-place { display: block; margin-top: 3px; font-size: var(--text-xs); color: var(--text-muted); }
.vt-job__new { flex: none; padding: 2px 7px; font-size: 10px; font-weight: var(--fw-semibold); color: var(--v-ink); background: var(--v-tint); border: 1px solid var(--v-line); border-radius: 999px; }
.vt-job__pay { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 12px; background: var(--v-tint); border: 1px solid var(--v-line); border-radius: var(--radius-md); }
.vt-job__pay b { font-size: 1.35rem; font-weight: var(--fw-semibold); color: var(--text-strong); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.vt-job__pay pay-label { font-size: var(--text-xs); color: var(--text-muted); }
.vt-job__pay small { flex-basis: 100%; font-size: 10.5px; color: var(--v-ink); }
.vt-job__facts { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-job__fact { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; font-size: 11px; color: var(--text-body); background: var(--surface-sunken); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.vt-job__fact b { font-family: var(--font-mono); font-size: 10px; letter-spacing: .03em; color: var(--text-strong); }
.vt-job__desc { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--text-muted); }
.vt-job__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
.vt-job__btn { display: inline-flex; align-items: center; padding: 6px 12px; font-size: 11.5px; font-weight: var(--fw-semibold); color: var(--brand-on); background: var(--brand); border-radius: var(--radius-sm); }
.vt-job__meta { font-size: 10.5px; color: var(--text-faint); }
.vt-job__pourvu { padding: 6px 10px; font-size: 11px; font-weight: var(--fw-semibold); color: var(--text-strong); background: var(--surface-sunken); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); }

/* ---- Bandeau des textes de référence ---- */
.vt-refs { padding: var(--space-6) 0; background: var(--surface-card); border-top: var(--border-width) solid var(--border-subtle); border-bottom: var(--border-width) solid var(--border-subtle); }
.vt-refs__in { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: var(--space-5); align-items: start; }
.vt-refs__label { font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); padding-top: 3px; max-width: 12ch; }
.vt-ref { display: flex; flex-direction: column; gap: 3px; padding-left: var(--space-4); border-left: 2px solid var(--v-line); }
.vt-ref b { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-strong); }
.vt-ref reference-scope { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.45; }

/* ---- Avant / après ---- */
.vt-vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); }
.vt-vs__col { padding: var(--space-6); border: var(--border-width) solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); }
.vt-vs__col--old { background: var(--surface-sunken); }
.vt-vs__col--new { border-color: var(--v-line); box-shadow: inset 0 3px 0 var(--brand); }
.vt-vs__col h3 { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--text-strong); }
.vt-vs__col--old h3 { color: var(--text-muted); }
.vt-vs__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.vt-vs__col li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--space-3); font-size: var(--text-sm); line-height: 1.5; }
.vt-vs__col--old li svg { color: var(--text-faint); margin-top: 2px; }
.vt-vs__col--new li svg { color: var(--v-ink); margin-top: 2px; }

/* ---- Fonctionnalités ---- */
.vt-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.vt-feat { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); background: var(--surface-card); border: var(--border-width) solid var(--border-subtle); border-radius: var(--radius-lg); }
.vt-feat h3 { margin: 0; font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--text-strong); }
.vt-feat p { margin: 0; font-size: var(--text-sm); line-height: 1.55; color: var(--text-muted); }
.vt-feat__ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--v-tint); color: var(--v-ink); }
.vt-feat .vt-shot { margin-top: auto; }

/* Mini-aperçus dans les cartes */
.vt-mini { display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.vt-mini__row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: var(--surface-card); border: var(--border-width) solid var(--border-subtle); border-radius: var(--radius-sm); }
.vt-mini__row b { color: var(--text-strong); font-weight: var(--fw-semibold); }
.vt-mini__row :is(preview-cell, preview-tag, preview-value, datamatrix-code) { color: var(--text-muted); }
.vt-mini__row .r { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-strong); }
.vt-mini__row--hl { background: var(--v-tint); border-color: var(--v-line); }
.vt-mini__row--warn { background: var(--amber-50); border-color: var(--amber-100); }
.vt-mini__row--bad { background: var(--danger-subtle); border-color: color-mix(in srgb, var(--danger) 30%, var(--border-subtle)); }
.vt-mini__row svg { flex: none; }
.vt-mini__tag { font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .05em; padding: 1px 5px; border: 1px solid currentColor; border-radius: 3px; color: var(--v-ink); }
.vt-dm { display: grid; grid-template-columns: repeat(7, 6px); grid-auto-rows: 6px; gap: 1px; padding: 3px; background: #fff; border: 1px solid var(--border-default); }
.vt-dm i { background: var(--slate-900); }
.vt-dm i.o { background: transparent; }

/* ---- Étapes ---- */
.vt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); counter-reset: vt-step; }
.vt-step { position: relative; padding: var(--space-6) var(--space-5) var(--space-5); background: var(--surface-card); border: var(--border-width) solid var(--border-subtle); border-radius: var(--radius-lg); }
.vt-step__n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: var(--space-4); font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 700; color: var(--brand-on); background: var(--brand); border-radius: 50%; }
.vt-step__k { display: block; margin-bottom: var(--space-2); font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.vt-step h3 { margin: 0 0 var(--space-2); font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--text-strong); }
.vt-step p { margin: 0; font-size: var(--text-sm); line-height: 1.55; color: var(--text-muted); }

/* ---- Confiance ---- */
.vt-trust { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: start; }
.vt-trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.vt-tc { padding: var(--space-5); background: var(--surface-page); border: var(--border-width) solid var(--border-subtle); border-radius: var(--radius-lg); }
.vt-tc svg { color: var(--v-ink); }
.vt-tc h3 { margin: var(--space-3) 0 var(--space-2); font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-strong); }
.vt-tc p { margin: 0; font-size: var(--text-sm); line-height: 1.5; color: var(--text-muted); }

/* ---- Autre module ---- */
.vt-other { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-5); align-items: center; padding: var(--space-5) var(--space-6); background: var(--surface-card); border: var(--border-width) solid var(--border-subtle); border-radius: var(--radius-lg); }
.vt-other__stamp { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1.5px solid currentColor; border-radius: 3px; transform: rotate(-3deg); }
.vt-other__stamp--rh { color: var(--orange-700); }
.vt-other__stamp--stup { color: var(--teal-700); }
.vt-others { display: flex; flex-direction: column; gap: var(--space-4); }
.vt-other h3 { margin: 0; font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--text-strong); }
.vt-other p { margin: 4px 0 0; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.5; }

/* ---- FAQ ---- */
.vt-faq { max-width: 820px; }
.vt-faq details { border-bottom: var(--border-width) solid var(--border-subtle); }
.vt-faq details:first-child { border-top: var(--border-width) solid var(--border-subtle); }
.vt-faq summary { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; cursor: pointer; list-style: none; font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--text-strong); }
.vt-faq summary::-webkit-details-marker { display: none; }
.vt-faq summary:hover { color: var(--v-ink); }
.vt-faq summary:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; border-radius: 3px; }
.vt-faq summary faq-question { flex: 1; }
.vt-faq summary svg { flex: none; color: var(--text-muted); transition: transform var(--duration-fast) var(--ease-standard); }
.vt-faq details[open] summary svg { transform: rotate(45deg); }
.vt-faq__a { padding: 0 0 var(--space-5); max-width: 70ch; font-size: var(--text-sm); line-height: 1.65; color: var(--text-muted); }
.vt-faq__a p { margin: 0; }
.vt-faq__a p + p { margin-top: var(--space-3); }

/* ---- Appel final ---- */
.vt-final { padding: var(--space-8) var(--space-7); background: var(--slate-900); color: #fff; border-radius: var(--radius-lg); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: center; box-shadow: inset 0 4px 0 var(--brand); }
.vt-final h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; font-weight: var(--fw-semibold); text-wrap: balance; }
.vt-final p { margin: var(--space-3) 0 0; max-width: 56ch; font-size: var(--text-sm); line-height: 1.55; color: var(--slate-300); }
.vt-final .vt-cta { margin-top: 0; }
.vt-final .sp-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.vt-final .sp-btn--secondary:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---- Pied ---- */
.vt-foot { padding: var(--space-7) 0 var(--space-8); border-top: var(--border-width) solid var(--border-subtle); background: var(--surface-card); }
.vt-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); font-size: var(--text-xs); color: var(--text-muted); }
.vt-foot__in a { color: var(--text-muted); }
.vt-foot__in a:hover { color: var(--text-strong); }
.vt-foot__spacer { flex: 1; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .vt-hero__in, .vt-trust { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .vt-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-refs__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-refs__label { grid-column: 1 / -1; max-width: none; }
  .vt-top__nav > a { display: none; }
}
@media (max-width: 640px) {
  .vt-wrap { padding: 0 var(--space-4); }
  .vt-sec { padding: var(--space-8) 0; }
  .vt-hero { padding: var(--space-7) 0 var(--space-6); }
  .vt-feats, .vt-vs, .vt-steps, .vt-trust__list, .vt-refs__in { grid-template-columns: minmax(0, 1fr); }
  .vt-other { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .vt-other__stamp { justify-self: start; }
  .vt-final { grid-template-columns: minmax(0, 1fr); padding: var(--space-6) var(--space-5); }
  .vt-top__cta { display: none; }
  .vt-cta .sp-btn { flex: 1 1 100%; justify-content: center; }
  .vt-pl { grid-template-columns: 70px minmax(0, 1fr); }
  .vt-pl__h:nth-child(even) { visibility: hidden; }
  .vt-reg .hide-sm { display: none; }
  .vt-login .vt-pop { right: -8px; }
}

/* ---- Modificateurs (style="" du canonique) ---- */
.vt-mini__row .vt-mini__tag--sortie { color: var(--slate-600); }
.vt-mini__row .vt-mini__tag--correction { color: var(--amber-700); }
.vt-mini__row--cand { border-style: dashed; border-color: var(--orange-500); }
.vt-sec--flush { padding-top: 0; }

/* Les <div> du canonique sont devenus des balises maison (conventions :
   ni div ni span génériques). Elles naissent inline : on leur rend le bloc,
   et la règle de classe qui pose un flex ou une grille l'emporte (0,1,0
   contre 0,0,1). Celles qui remplacent un <span> restent inline, comme lui. */
hero-layout, hero-copy, reference-strip, trust-layout, trust-intro, trust-cards, trust-card,
content-width, section-heading, call-to-action, faq-list, faq-answer, feature-grid,
closing-call, closing-text, other-module, other-module-text, comparison-grid, comparison-column,
screen-preview, preview-toolbar, preview-body, preview-title, preview-list, preview-row,
register-scroll, stock-check, planning-preview, planning-track, planning-person, planning-alert,
reference-text, vitrine-foot, login-panel,
other-modules, job-preview, job-heading, job-title, job-pay, job-facts, job-actions, job-filled { display: block; }
/* Le pied légal, PiedReperes en variante nue, se range dans la ligne du
   .vt-foot : il y perd marge et filet propres. */
.vt-foot .sp-legal { margin: 0; padding: 0; border: 0; }

