/* ============================================================
   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 ---- */
/* Une section visée par une ancre s'arrête sous la topbar collante, pas dessous. */
.vt-sec, .vt-jobsec { scroll-margin-top: 72px; }
.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); }
/* La couleur est dite, pas héritée : `h1, h2, h3, h4 { color: var(--text-strong) }`
   du DS battait le blanc du panneau et peignait le titre sombre sur sombre. */
.vt-final h2 { margin: 0; color: #fff; 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; }



/* ============================================================
   ACCUEIL « / » : la page de l'ensemble, qui n'est pas un module.
   Marque teal Spotipharm, sans tampon. Chaque bloc de module porte
   ses propres alias --m-* : la couleur d'un module ne fuit jamais
   hors de son bloc.
   Jobs est éteignable : tous les gabarits à 3 éléments sont en
   grid-auto-flow: column, donc ils passent seuls à 2 colonnes.
   ============================================================ */
.vt--accueil { --v-ink: var(--teal-700); --v-tint: var(--teal-50); --v-line: var(--teal-200); }
[data-m="stup"] { --m-solid: var(--teal-600); --m-ink: var(--teal-700); --m-tint: var(--teal-50); }
[data-m="rh"]   { --m-solid: var(--orange-600); --m-ink: var(--orange-700); --m-tint: var(--orange-50); }
[data-m="jobs"] { --m-solid: var(--violet-600); --m-ink: var(--violet-700); --m-tint: var(--violet-50); }
[data-m] { --m-line: color-mix(in srgb, var(--m-solid) 32%, #fff); }
.vt-jobs-deep { --vt-deep: color-mix(in oklch, var(--violet-700), #0b0820 52%); --vt-deep-2: color-mix(in oklch, var(--violet-700), #0b0820 34%); }

/* Héros : une ligne par module, le mot-clé dans sa couleur */
.vt-h1-lines { display: flex; flex-direction: column; gap: .08em; }
.vt-h1-line { display: block; width: fit-content; border-radius: 4px; transition: background var(--duration-fast) var(--ease-standard); }
/* Préfixé par .vt-hero h1 : la règle générique « .vt-hero h1 em » (accent de page)
   gagnait sur la spécificité et peignait les trois mots-clés en teal. */
.vt-hero h1 .vt-h1-line em { font-style: normal; color: var(--m-ink); }
.js .vt-h1-line { cursor: pointer; }
.js .vt-h1-line[data-on="true"] { background: var(--m-tint); box-shadow: -6px 0 0 var(--m-tint), 6px 0 0 var(--m-tint); }

/* Pile de captures : trois fenêtres empilées, la position est un attribut */
.vt-stack { position: relative; display: grid; padding: 22px 26px 0 0; }
.vt-stack > .vt-shot { grid-area: 1 / 1; transition: transform var(--duration-slow) var(--ease-standard), opacity var(--duration-slow) var(--ease-standard), filter var(--duration-slow); transform-origin: 100% 0; box-shadow: inset 0 3px 0 var(--m-solid), 0 1px 0 var(--border-subtle), 0 18px 40px -18px rgba(15,23,42,.28); }
.vt-stack > .vt-shot[data-pos="0"] { z-index: 3; }
.vt-stack > .vt-shot[data-pos="1"] { z-index: 2; transform: translate(14px, -12px) scale(.965); opacity: .7; filter: saturate(.6); pointer-events: none; }
.vt-stack > .vt-shot[data-pos="2"] { z-index: 1; transform: translate(26px, -22px) scale(.93); opacity: .45; filter: saturate(.4); pointer-events: none; }
.vt-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.vt-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; font-size: var(--text-xs); font-weight: var(--fw-semibold); color: var(--text-body); text-decoration: none; background: var(--surface-card); border: var(--border-width) solid var(--border-default); border-radius: 999px; }
.vt-tab:hover { border-color: var(--m-solid); color: var(--text-strong); }
.vt-tab:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.vt-tab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--m-solid); }
/* Sans script, l'onglet de la capture devant est le lien courant ; avec, c'est un
   bouton à bascule (aria-pressed). Même rendu pour les deux états. */
.vt-tab[aria-current="true"], .vt-tab[aria-pressed="true"] { background: var(--m-tint); border-color: var(--m-solid); color: var(--m-ink); }
/* Texte alternatif vide : « à l’écran » est un indice visuel, l'état est déjà dit par
   aria-current / aria-pressed, et le nom d'un élément focalisable ne doit pas changer seul. */
.vt-tab[aria-current="true"]::after, .vt-tab[aria-pressed="true"]::after { content: "à l’écran" / ""; font-weight: 400; font-size: 10px; color: var(--text-muted); }
.vt-pl--22 .vt-pl__trk { grid-template-columns: repeat(22, minmax(0, 1fr)); }

/* Cartes modules */
.vt-mods { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-5); }
.vt-modcard { display: flex; flex-direction: column; padding: var(--space-6); background: var(--surface-card); border: var(--border-width) solid var(--border-subtle); border-top: 4px solid var(--m-solid); border-radius: var(--radius-lg); scroll-margin-top: 90px; }
.vt-modcard__tag { align-self: flex-start; padding: 2px 7px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--m-ink); border: 1px solid var(--m-line); border-radius: 3px; background: var(--m-tint); }
.vt-modcard__fig { margin: var(--space-5) 0 0; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem); line-height: 1; font-weight: var(--fw-semibold); letter-spacing: -.03em; color: var(--m-ink); font-variant-numeric: tabular-nums; }
.vt-modcard__figtxt { margin: 6px 0 0; font-size: var(--text-xs); color: var(--text-muted); line-height: 1.45; }
.vt-modcard h3 { margin: var(--space-5) 0 0; font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--text-strong); line-height: 1.25; text-wrap: balance; }
.vt-modcard ul { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.vt-modcard li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: var(--space-3); font-size: var(--text-sm); line-height: 1.5; color: var(--text-body); }
.vt-modcard li svg { margin-top: 3px; color: var(--m-solid); }
.vt-modcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-5); border-top: var(--border-width) solid var(--border-subtle); }
.vt-modcard__foot > module-card-note { font-size: var(--text-xs); color: var(--text-muted); }
.vt-modcard__foot a { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--m-ink); }
/* L'écart minimal se pose sous la liste, pas sur le pied : un `margin-top` fixe
   sur le pied annulait son `auto`, et les trois pieds ne s'alignaient plus. */
.vt-modcard > ul { margin-bottom: var(--space-6); }
.vt-shared { display: flex; gap: var(--space-4); align-items: flex-start; margin-top: var(--space-5); padding: var(--space-5) var(--space-6); background: var(--surface-sunken); border: var(--border-width) dashed var(--border-strong); border-radius: var(--radius-lg); font-size: var(--text-sm); color: var(--text-body); line-height: 1.55; }
.vt-shared svg { flex: none; margin-top: 2px; color: var(--text-muted); }
.vt-shared strong { color: var(--text-strong); }

/* Bloc Jobs : fond sombre violet, dans les deux thèmes */
.vt-jobsec { padding: var(--space-9) 0; background: var(--vt-deep); color: #fff; }
.vt-jobsec .vt-eyebrow { color: var(--violet-100); }
.vt-jobsec .vt-h2 { color: #fff; max-width: 22ch; }
.vt-jobsec .vt-lead { color: color-mix(in srgb, #fff 82%, transparent); }
.vt-jobsec__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-8); align-items: start; margin-top: var(--space-7); }
.vt-jobsec ul.vt-promises { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.vt-promises li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); font-size: var(--text-sm); line-height: 1.5; color: color-mix(in srgb, #fff 82%, transparent); }
.vt-promises li b { display: block; color: #fff; font-weight: var(--fw-semibold); }
.vt-promises svg { margin-top: 2px; color: var(--violet-100); }
.vt-jobsec .vt-cta { margin-top: var(--space-6); }
.vt-jobsec .sp-btn--primary { --brand: #fff; --brand-hover: var(--violet-50); --brand-active: var(--violet-100); --brand-on: var(--violet-700); }
.vt-jobsec .sp-btn--secondary { background: transparent; color: #fff; border-color: color-mix(in srgb, #fff 45%, transparent); }
.vt-jobsec .sp-btn--secondary:hover { background: color-mix(in srgb, #fff 10%, transparent); }
.vt-plancher { margin-top: var(--space-6); padding: var(--space-5); background: var(--vt-deep-2); border: 1px solid color-mix(in srgb, #fff 16%, transparent); border-radius: var(--radius-lg); }
.vt-plancher h3 { margin: 0; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: #fff; }
.vt-plancher p { margin: var(--space-3) 0 0; font-size: var(--text-sm); color: color-mix(in srgb, #fff 82%, transparent); }
.vt-plancher code { font-family: var(--font-mono); font-size: var(--text-sm); color: #fff; }
.vt-plancher a { display: inline-flex; align-items: center; gap: 5px; margin-top: var(--space-4); font-size: var(--text-sm); font-weight: var(--fw-semibold); color: #fff; }
.vt-board { padding: var(--space-4); background: var(--surface-page); border-radius: var(--radius-lg); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); color: var(--text-body); }
.vt-board__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); font-size: var(--text-xs); color: var(--text-muted); }
.vt-board__bar b { color: var(--text-strong); font-size: var(--text-sm); }
.vt-board__list { display: flex; flex-direction: column; gap: var(--space-3); }
.vt-bj { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--space-4); padding: var(--space-4); background: var(--surface-card); border: var(--border-width) solid var(--border-subtle); border-left: 3px solid var(--violet-500); border-radius: var(--radius-md); }
.vt-bj__t { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-strong); line-height: 1.3; }
.vt-bj__w { grid-column: 1; font-size: var(--text-xs); color: var(--text-muted); }
.vt-bj__p { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--violet-700); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vt-bj__p small { display: block; font-size: 10px; font-weight: 400; color: var(--text-muted); }
.vt-bj__c { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.vt-bj__f { padding: 1px 7px; font-size: 10.5px; color: var(--text-body); background: var(--surface-sunken); border: 1px solid var(--border-subtle); border-radius: 999px; }
.vt-bj__f--hors-grille { border-style: dashed; color: var(--text-muted); }
.vt-board__more { display: inline-flex; align-items: center; gap: 5px; margin-top: var(--space-4); font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--violet-700); }

/* Avant / après étiqueté par module */
.vt-mtag { display: inline-block; min-width: 44px; padding: 1px 6px; margin-right: 2px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-align: center; color: var(--m-ink); background: var(--m-tint); border: 1px solid var(--m-line); border-radius: 3px; vertical-align: 1px; }
.vt-vs__col--old .vt-mtag { color: var(--text-muted); background: var(--surface-card); border-color: var(--border-default); }

/* Données : quatre cartes, auto-ajustées */
.vt-data { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-5); margin-top: var(--space-7); }

/* Appel final en deux panneaux */
.vt-finals { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-5); }
.vt-finals .vt-final { grid-template-columns: minmax(0, 1fr); align-content: space-between; }
.vt-final--jobs { background: var(--vt-deep); box-shadow: inset 0 4px 0 var(--violet-500); }
.vt-final__k { 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: color-mix(in srgb, #fff 70%, transparent); }
.vt-final--jobs .sp-btn--primary { --brand: #fff; --brand-hover: var(--violet-50); --brand-active: var(--violet-100); --brand-on: var(--violet-700); }

/* Pied à colonnes */
.vt-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.vt-foot__brand p { margin: var(--space-3) 0 0; font-size: var(--text-sm); color: var(--text-muted); }
.vt-foot__col h3 { 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(--text-faint); }
.vt-foot__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.vt-foot__col a { font-size: var(--text-sm); color: var(--text-muted); }
.vt-foot__col a:hover { color: var(--text-strong); }
.vt-foot__base { margin-top: var(--space-7); padding-top: var(--space-5); border-top: var(--border-width) solid var(--border-subtle); font-size: var(--text-xs); color: var(--text-faint); }

@media (max-width: 960px) {
  .vt-mods, .vt-finals { grid-auto-flow: row; }
  .vt-jobsec__in { grid-template-columns: minmax(0, 1fr); }
  .vt-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .vt-stack { padding: 0; }
  /* Masquées mais présentes : la pile garde la hauteur de la plus grande capture, et
     la page ne saute plus à chaque rotation (display:none la faisait varier de 57 px). */
  .vt-stack > .vt-shot:not([data-pos="0"]) { visibility: hidden; transform: none; }
  .vt-tab { flex: 1 1 auto; justify-content: center; min-height: 44px; }
  .vt-tab[aria-current="true"]::after, .vt-tab[aria-pressed="true"]::after { display: none; }
  .vt-jobsec { padding: var(--space-8) 0; }
  .vt-bj { grid-template-columns: minmax(0, 1fr); }
  .vt-bj__p { grid-column: 1; grid-row: auto; text-align: left; }
  .vt-foot__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .vt-stack > .vt-shot, .vt-h1-line { transition: none; }
}

/* Accueil : modificateurs (style="" du canonique) et balises maison.
   Les balises qui remplacent un <div> naissent inline : on leur rend le bloc. */
.vt-head--flush { margin-bottom: 0; }
.vt-vs--spaced { margin-top: var(--space-7); }
.vt-jobsec__more { margin: var(--space-6) 0 0; }
.vt-jobsec .vt-board__more { color: #fff; }
hero-visual, preview-stack, module-cards, module-card-foot, jobs-layout, jobs-pitch, floor-card,
board-preview, board-bar, board-list, board-job, data-cards, closing-calls, foot-grid, foot-brand,
planning-alert { display: block; }
.vt-foot__home { display: inline-flex; text-decoration: none; color: inherit; }
