@charset "UTF-8";
/* =============================================================================
   FolloYou — VITRINE : COMPOSANTS DU SITE PUBLIC
   =============================================================================
   Se charge APRÈS base.css (jetons, socle, boutons, champs). Les sections 3 à
   20 viennent de la page salon (event.php), où elles ont été mises au point ;
   les sections 21 et suivantes les étendent aux autres pages de la vitrine
   (navigation, en-têtes de page, cartes, prose, base de connaissances…). */

/* ── 3. Bandeau du salon ─────────────────────────────────────────────────── */

.vt-salonbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.4;
}

.vt-salonbar__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

.vt-salonbar strong {
  font-weight: 700;
}

@media (max-width: 559px) {
  .vt-salonbar__dates {
    display: none;
  }
}

/* ── 4. Barre du haut ────────────────────────────────────────────────────── */

.vt-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topbar-h);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease;
}

.vt-topbar.is-scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.07);
}

.vt-topbar__in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.vt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vt-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}

.vt-nav {
  display: none;
  gap: 2px;
  margin-left: auto;
}

.vt-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    color var(--motion-quick) ease,
    background-color var(--motion-quick) ease;
}

.vt-nav a:hover {
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.08);
}

.vt-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.vt-topbar__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.vt-topbar__tel i {
  color: var(--primary-color);
}

/* Bascule clair / sombre. Masquée sans script : elle n'aurait rien à faire. */
.vt-themebtn {
  display: none;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 1.05rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color var(--motion-quick) ease,
    border-color var(--motion-quick) ease,
    background-color var(--motion-quick) ease;
}

.js .vt-themebtn {
  display: grid;
}

.vt-themebtn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* L'icône montre le thème vers lequel on bascule : la lune en clair, le
   soleil en sombre. */
.vt-themebtn .fa-sun,
[data-theme="dark"] .vt-themebtn .fa-moon {
  display: none;
}

[data-theme="dark"] .vt-themebtn .fa-sun {
  display: inline-block;
}

.vt-themebtn.is-turning i {
  animation: vt-turn 460ms var(--ease-organic);
}

@keyframes vt-turn {
  from {
    opacity: 0;
    transform: rotate(-110deg) scale(0.6);
  }
}

.vt-topbar__tel span,
.vt-topbar__cta {
  display: none;
}

@media (min-width: 640px) {
  .vt-topbar__cta {
    display: inline-flex;
  }
}

@media (min-width: 1000px) {
  .vt-nav {
    display: flex;
  }

  .vt-topbar__actions {
    margin-left: 12px;
  }

  .vt-topbar__tel,
  .vt-themebtn {
    border-color: transparent;
    background: transparent;
  }

  .vt-themebtn:hover {
    border-color: transparent;
    background: rgba(var(--primary-rgb), 0.08);
  }

  .vt-topbar__tel span {
    display: inline;
  }
}

/* ── 5. Accroche ─────────────────────────────────────────────────────────── */

.vt-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 56px;
}

/* Halo derrière les maquettes. */
.vt-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -320px;
  width: 900px;
  height: 900px;
  background: radial-gradient(closest-side, rgba(var(--primary-rgb), 0.16), transparent);
  pointer-events: none;
}

.vt-hero__grid {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 1000px) {
  .vt-hero {
    padding: 72px 0 96px;
  }

  .vt-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 56px;
  }
}

.vt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.vt-eyebrow i {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--success-surface);
  color: var(--success-text);
  font-size: 0.75rem;
}

.vt-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.15rem, 1.25rem + 3.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.vt-accent {
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vt-hero__lead {
  max-width: 36em;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
}

.vt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 479px) {
  .vt-hero__actions .vt-btn {
    flex: 1 1 100%;
  }
}

.vt-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.vt-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vt-trust i {
  color: var(--success-color);
}

/* Composition des deux maquettes : le navigateur en haut à gauche, le
   téléphone qui le chevauche en bas à droite. Tout est dimensionné en `em`
   à l'intérieur des maquettes ; leur taille de police est calculée sur la
   largeur de ce conteneur, donc l'ensemble se met à l'échelle d'un bloc. */
.vt-hero__visual {
  /* Parts de la largeur (en %) occupées par le navigateur et le téléphone. */
  --bw: 90;
  --pw: 40;
  --vw-part: 0.9; /* largeur du conteneur rapportée à celle de l'écran */
  position: relative;
  container-type: inline-size;
  aspect-ratio: 100 / 92;
}

.vt-hero__browser,
.vt-hero__phone {
  position: absolute;
}

/* 64em = largeur du navigateur, 22em = largeur du téléphone. */
.vt-hero__browser {
  top: 0;
  left: 0;
  width: calc(var(--bw) * 1%);
  font-size: calc(var(--bw) * var(--vw-part) * 1vw / 64);
}

.vt-hero__phone {
  right: 0;
  bottom: 0;
  width: calc(var(--pw) * 1%);
  font-size: calc(var(--pw) * var(--vw-part) * 1vw / 22);
}

@media (min-width: 1000px) {
  .vt-hero__visual {
    --bw: 86;
    --pw: 31;
    --vw-part: 0.5;
    aspect-ratio: 100 / 76;
  }
}

@media (min-width: 1180px) {
  .vt-hero__browser {
    font-size: calc(var(--bw) * 5.9px / 64);
  }

  .vt-hero__phone {
    font-size: calc(var(--pw) * 5.9px / 22);
  }
}

@supports (width: 1cqw) {
  .vt-hero__browser {
    font-size: calc(var(--bw) * 1cqw / 64);
  }

  .vt-hero__phone {
    font-size: calc(var(--pw) * 1cqw / 22);
  }
}

/* ── 6. Sections et en-têtes ─────────────────────────────────────────────── */

.vt-section {
  position: relative;
  padding: 64px 0;
}

.vt-section--tight {
  padding: 8px 0 24px;
}

/* Bande blanche : alterne avec le dégradé du fond pour rythmer la lecture. */
.vt-section--band {
  background: var(--surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

@media (min-width: 1000px) {
  .vt-section {
    padding: 96px 0;
  }

  .vt-section--tight {
    padding: 16px 0 40px;
  }
}

.vt-head {
  max-width: 740px;
  margin: 0 auto 40px;
  text-align: center;
}

.vt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* L'icône en dégradé des en-têtes de page de l'application (.title-container__icon). */
.vt-kicker__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3d81fc 0%, #60a5fa 100%);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.vt-head h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.55rem);
}

.vt-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.07rem;
}

/* ── 7. Ce qui change ────────────────────────────────────────────────────── */

.vt-compare {
  display: grid;
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.vt-compare__row {
  display: grid;
  gap: 10px;
  align-items: stretch;
}

.vt-compare__before,
.vt-compare__after {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  line-height: 1.5;
}

.vt-compare__before {
  border: 1px dashed var(--border-strong);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--text-muted);
}

.vt-compare__after {
  border: 1.5px solid var(--border-color);
  background: var(--surface);
  box-shadow: var(--shadow-brand);
  color: var(--text-primary);
  font-weight: 500;
}

.vt-compare__before > i,
.vt-compare__after > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: -1px;
  border-radius: 50%;
  font-size: 0.8rem;
}

.vt-compare__before > i {
  background: var(--error-surface);
  color: var(--error-text);
}

.vt-compare__after > i {
  background: var(--success-surface);
  color: var(--success-text);
}

.vt-compare__arrow {
  justify-self: center;
  color: var(--primary-color);
  opacity: 0.55;
  transform: rotate(90deg);
}

@media (min-width: 760px) {
  .vt-compare__row {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
  }

  .vt-compare__before,
  .vt-compare__after {
    height: 100%;
    align-items: center;
  }

  .vt-compare__arrow {
    transform: none;
  }
}

/* ── 8. Fonctionnalités ──────────────────────────────────────────────────── */

/* Raccourcis vers chaque module : défilent latéralement sur mobile plutôt que
   de passer sur trois lignes. */
.vt-chips {
  display: flex;
  gap: 8px;
  margin: -12px -20px 24px;
  padding: 4px 20px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vt-chips::-webkit-scrollbar {
  display: none;
}

/* Fondu à droite : dit qu'il y a d'autres raccourcis à faire défiler. */
@media (max-width: 759px) {
  .vt-chips {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent);
  }
}

.vt-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 40px;
  padding: 6px 16px 6px 8px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    border-color var(--motion-quick) ease,
    box-shadow var(--motion-quick) ease;
}

.vt-chips a:hover {
  border-color: var(--c);
  box-shadow: 0 0 0 3px var(--c-bg);
}

.vt-chips i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 0.8rem;
}

@media (min-width: 760px) {
  .vt-chips {
    justify-content: center;
    flex-wrap: wrap;
    margin: -8px 0 32px;
    padding: 4px 0;
    overflow: visible;
  }
}

.vt-spot {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  scroll-margin-top: calc(var(--topbar-h) + 8px);
}

.vt-spot + .vt-spot {
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 900px) {
  .vt-spot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    padding: 64px 0;
  }

  /* Alternance texte / maquette, pour que l'œil ne lise pas une colonne. */
  .vt-spot:nth-of-type(even) .vt-spot__visual {
    order: -1;
  }
}

.vt-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 0.85rem;
  font-weight: 700;
}

.vt-tag i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--c-ink);
  font-size: 0.78rem;
}

.vt-spot h3 {
  margin-top: 16px;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem);
}

.vt-spot__text > p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.vt-checks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.vt-checks li {
  position: relative;
  padding-left: 32px;
  color: var(--text-body);
  line-height: 1.5;
}

.vt-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-surface);
}

/* La coche est dessinée en CSS : pas besoin de la police d'icônes pour lire
   une liste. */
.vt-checks li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 6px;
  height: 10px;
  border: solid var(--success-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.vt-checks--sm li {
  font-size: 0.95rem;
}

.vt-spot__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.vt-spot__visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 110%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--c-line), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.vt-spot__visual > .mk {
  position: relative;
}

/* Et aussi : les tuiles larges du tableau de bord (icône | titre + ligne). */
.vt-more {
  margin-top: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.vt-more__title {
  margin-bottom: 24px;
  font-size: 1.3rem;
  text-align: center;
}

/* Deux colonnes dès le téléphone : huit cartes pleine largeur feraient une
   liste interminable. Sous 560 px, la carte se redresse (icône au-dessus),
   comme une tuile carrée du tableau de bord. */
.vt-minis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 559px) {
  .vt-mini {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .vt-mini__ico {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .vt-mini small {
    font-size: 0.82rem;
  }
}

@media (min-width: 560px) {
  .vt-minis {
    gap: 12px;
  }
}

@media (min-width: 1000px) {
  .vt-minis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.vt-mini {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    transform var(--motion-base) var(--ease-soft);
}

.vt-mini:hover {
  border-color: var(--c);
  box-shadow: 0 0 0 3px var(--c-bg);
  transform: translateY(-1px);
}

.vt-mini__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 1.1rem;
}

.vt-mini b {
  display: block;
  color: var(--text-strong);
  font-size: 0.98rem;
}

.vt-mini small {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.vt-beta {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent-surface);
  color: var(--accent-text);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}

/* ── 9. Bandeau d'appel ──────────────────────────────────────────────────── */

/* L'en-tête de page de l'application (.title-container) : liseré bleu en
   haut, icône en dégradé, texte, action à droite. */
.vt-callout {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: 26px 24px;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.1);
}

.vt-callout__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #3d81fc 0%, #60a5fa 100%);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
  color: #fff;
  font-size: 1.25rem;
}

.vt-callout h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
}

.vt-callout p {
  margin-top: 6px;
  color: var(--text-muted);
}

@media (max-width: 559px) {
  .vt-callout .vt-btn {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .vt-callout {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 36px;
  }
}

/* ── 10. Pour qui ────────────────────────────────────────────────────────── */

.vt-personas {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .vt-personas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.vt-persona {
  padding: 26px 24px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-brand);
}

.vt-persona__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  font-size: 1.3rem;
}

.vt-persona h3 {
  margin-top: 16px;
  font-size: 1.2rem;
}

.vt-persona p {
  margin-top: 8px;
  color: var(--text-muted);
}

/* ── 11. Fonctionnement ──────────────────────────────────────────────────── */

.vt-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1020px;
  margin: 0 auto 40px;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--background-light) 0%, var(--background-gradient-end) 100%);
}

.vt-flow__node {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.vt-flow__ico {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  font-size: 1.2rem;
}

.vt-flow__ico img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.vt-flow__node b {
  align-self: end;
  color: var(--text-strong);
  font-size: 1rem;
}

.vt-flow__node small {
  align-self: start;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.vt-flow__node--brand {
  border-color: var(--primary-color);
  box-shadow: var(--ring);
}

/* Le lien entre deux étapes : un trait en pointillés parcouru par deux
   points, un dans chaque sens — la synchronisation va dans les deux. */
.vt-flow__link {
  position: relative;
  align-self: center;
  width: 2px;
  height: 34px;
  background: repeating-linear-gradient(180deg, var(--border-strong) 0 5px, transparent 5px 10px);
}

.vt-flow__dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
  animation: vt-flow-y 2.4s var(--ease-soft) infinite;
}

.vt-flow__dot--back {
  background: var(--success-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success-color) 20%, transparent);
  animation-direction: reverse;
  animation-delay: -1.2s;
}

@keyframes vt-flow-y {
  0%   { top: 0; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: calc(100% - 8px); opacity: 0; }
}

@keyframes vt-flow-x {
  0%   { left: 0; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

@media (min-width: 900px) {
  .vt-flow {
    flex-direction: row;
    align-items: center;
    padding: 28px;
  }

  .vt-flow__node {
    flex: 1 1 0;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 4px;
    padding: 18px 12px;
    text-align: center;
  }

  .vt-flow__ico {
    grid-row: auto;
    margin-bottom: 6px;
  }

  .vt-flow__link {
    flex: 0 0 48px;
    width: 48px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-strong) 0 5px, transparent 5px 10px);
  }

  .vt-flow__dot {
    top: 50%;
    left: 0;
    margin: -4px 0 0;
    animation-name: vt-flow-x;
  }
}

.vt-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 760px) {
  .vt-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.vt-step {
  position: relative;
  padding: 24px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
}

.vt-step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
  color: #fff;
  font-weight: 700;
}

.vt-step h3 {
  margin-top: 14px;
  font-size: 1.12rem;
}

.vt-step p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.vt-secu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.vt-secu li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.vt-secu i {
  color: var(--primary-color);
}

/* ── 12. Tarifs ──────────────────────────────────────────────────────────── */

.vt-pricing {
  display: grid;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

@media (min-width: 760px) {
  .vt-pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
  }
}

.vt-price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  border: 1.5px solid var(--border-color);
  border-top: 4px solid var(--text-faint);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-brand);
}

.vt-price--main {
  border-color: var(--primary-color);
  border-top-width: 4px;
  box-shadow: var(--ring), var(--shadow-xl);
}

@media (min-width: 760px) {
  .vt-price--main {
    padding: 36px 28px;
  }
}

.vt-price__ribbon {
  position: absolute;
  top: -14px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vt-price__label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vt-price__amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: -8px;
}

.vt-price__amount b {
  color: var(--text-strong);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.vt-price--main .vt-price__amount b {
  color: var(--primary-color);
}

.vt-price__amount span {
  color: var(--text-muted);
  font-weight: 500;
}

.vt-price .vt-checks {
  margin: 0;
}

.vt-pricing__note {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

/* ── 13. Rappel ──────────────────────────────────────────────────────────── */

/* Mobile : titre, formulaire, puis les repères et coordonnées. Bureau : titre
   et repères à gauche, formulaire à droite sur toute la hauteur. */
.vt-rappel__grid {
  display: grid;
  grid-template-areas:
    "pitch"
    "form"
    "aside";
  gap: 28px;
  align-items: start;
}

.vt-rappel__pitch { grid-area: pitch; }
.vt-rappel__home  { grid-area: form; }
.vt-rappel__aside { grid-area: aside; }

.vt-rappel__aside .vt-next {
  margin-top: 0;
}

@media (min-width: 1000px) {
  .vt-rappel__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "pitch form"
      "aside form";
    column-gap: 64px;
    row-gap: 8px;
  }

  .vt-rappel__aside .vt-next {
    margin-top: 16px;
  }
}

.vt-rappel__pitch h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.55rem);
}

.vt-rappel__pitch > p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.07rem;
}

.vt-next {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.vt-next li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-body);
  font-weight: 500;
}

.vt-next span {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 700;
}

.vt-direct {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

@media (min-width: 560px) and (max-width: 999px) {
  .vt-direct {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vt-direct__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-primary);
  transition:
    border-color var(--motion-quick) ease,
    box-shadow var(--motion-quick) ease;
}

.vt-direct__item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--ring);
}

.vt-direct__item i {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
}

.vt-direct__item small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.vt-direct__item b {
  display: block;
  font-size: 1rem;
  word-break: break-word;
}

/* La carte du formulaire : liseré bleu des en-têtes de l'application. */
.vt-formcard {
  padding: 24px 20px;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.12);
}

@media (min-width: 640px) {
  .vt-formcard {
    padding: 32px;
  }
}

.vt-formcard__head h2,
.vt-formcard__head h3 {
  font-size: 1.4rem;
}

.vt-formcard__head h2:focus,
.vt-formcard__head h3:focus {
  outline: none;
}

.vt-formcard__head p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Les champs du formulaire (.vt-field, .vt-seg, .vt-pills…) sont dans
   base.css : l'administration les partage. */

.vt-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 8px 0;
  text-align: center;
}

.vt-success[hidden] {
  display: none;
}

.vt-success__ico {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--success-surface);
  color: var(--success-text);
  font-size: 1.7rem;
  animation: vt-pop 520ms var(--ease-organic) both;
}

@keyframes vt-pop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.vt-success h2,
.vt-success h3 {
  font-size: 1.45rem;
}

.vt-success h2:focus,
.vt-success h3:focus {
  outline: none;
}

.vt-success > p {
  max-width: 30em;
  color: var(--text-soft);
}

.vt-success__apps {
  width: 100%;
  margin: 8px 0 6px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.vt-success__apps p {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.vt-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.vt-stores img {
  display: block;
  height: 40px;
  width: auto;
  transition: transform 0.2s ease;
}

.vt-stores a:hover img {
  transform: scale(1.05);
}

/* ── 14. Questions ───────────────────────────────────────────────────────── */

.vt-faq {
  display: grid;
  gap: 10px;
}

.vt-faq__item {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease;
}

.vt-faq__item[open] {
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow: var(--shadow-brand);
}

.vt-faq__item summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 20px;
  color: var(--text-strong);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.vt-faq__item summary::-webkit-details-marker {
  display: none;
}

.vt-faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border: solid var(--text-muted);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform var(--motion-base) var(--ease-soft);
}

.vt-faq__item[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.vt-faq__item p {
  padding: 0 20px 20px;
  color: var(--text-soft);
  animation: vt-unfold var(--motion-base) var(--ease-soft);
}

@keyframes vt-unfold {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.vt-final {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

@media (max-width: 479px) {
  .vt-final .vt-btn {
    flex: 1 1 100%;
  }
}

/* ── 15. Pied de page ────────────────────────────────────────────────────── */

.vt-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border-color);
  background: var(--surface);
}

.vt-footer__in {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.vt-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.vt-footer__brand img {
  border-radius: var(--radius-sm);
}

.vt-footer__brand b {
  display: block;
  color: var(--primary-color);
  font-size: 1.15rem;
}

.vt-footer__brand small {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.vt-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  font-size: 0.92rem;
}

.vt-footer__links a {
  color: var(--text-soft);
}

.vt-footer__links a:hover {
  color: var(--primary-color);
}

.vt-footer__copy {
  color: var(--text-faint);
  font-size: 0.8rem;
}

@media (min-width: 900px) {
  .vt-footer__in {
    grid-template-columns: auto 1fr auto;
    justify-items: stretch;
    align-items: center;
    text-align: left;
  }

  .vt-footer__links {
    justify-content: center;
  }

  .vt-footer__copy {
    grid-column: 1 / -1;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
  }
}

/* ── 16. Accès permanent (mobile) ────────────────────────────────────────── */

/* Pastille flottante en bas d'écran, à portée de pouce. Elle n'apparaît
   qu'une fois les boutons de l'accroche sortis de l'écran, et se retire quand
   le formulaire est visible : jamais deux fois la même invitation à l'écran. */
.vt-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22);
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  visibility: hidden;
  transition:
    transform var(--motion-travel) var(--ease-soft),
    opacity var(--motion-base) ease,
    visibility 0s linear var(--motion-travel);
}

body.dock-on .vt-dock {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition:
    transform var(--motion-travel) var(--ease-soft),
    opacity var(--motion-base) ease,
    visibility 0s;
}

.vt-dock__call {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--surface);
  color: var(--primary-color);
  font-size: 1.15rem;
}

.vt-dock__cta {
  flex: 1;
  min-height: 52px;
  border-radius: 12px;
  font-size: 1.02rem;
}

@media (min-width: 640px) {
  .vt-dock {
    display: none;
  }
}

/* ── 17. Feuille de rappel ───────────────────────────────────────────────── */

/* Bas d'écran sur mobile, fenêtre centrée au-delà. Le <dialog> natif porte
   le piège de focus, la touche Échap et l'inertie du reste de la page. */
.vt-sheet {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}

.vt-sheet[open] {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
}

.vt-sheet::backdrop {
  background: var(--overlay);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.vt-sheet__box {
  position: relative;
  width: 100%;
  max-height: calc(100% - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 20px 20px 0 0;
  background: var(--surface);
  box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.3);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: vt-sheet-in var(--motion-travel) var(--ease-soft);
}

.vt-sheet.is-closing .vt-sheet__box {
  animation: vt-sheet-out 200ms var(--ease-exit) forwards;
}

.vt-sheet.is-closing::backdrop {
  opacity: 0;
  transition: opacity 200ms ease;
}

@keyframes vt-sheet-in {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}

@keyframes vt-sheet-out {
  to {
    transform: translateY(40px);
    opacity: 0;
  }
}

.vt-sheet__grab {
  display: block;
  width: 44px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: var(--border-strong);
}

.vt-sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color var(--motion-quick) ease;
}

.vt-sheet__close:hover {
  background: var(--surface-3);
}

/* Dans la feuille, la carte perd son cadre : c'est la feuille qui le porte. */
.vt-sheet .vt-formcard {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-top: 12px;
}

.vt-sheet .vt-formcard__head {
  padding-right: 44px;
}

@media (min-width: 640px) {
  .vt-sheet[open] {
    align-items: center;
    padding: 24px;
  }

  .vt-sheet__box {
    max-width: 620px;
    max-height: 100%;
    border-top: 3px solid var(--primary-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
  }

  .vt-sheet__grab {
    display: none;
  }

  .vt-sheet .vt-formcard {
    padding-top: 28px;
  }
}

body.sheet-open {
  overflow: hidden;
}

/* ── 18. Apparition au défilement ────────────────────────────────────────── */

/* L'état de départ n'est posé que si le script tourne (classe `js` sur
   <html>, écrite en tête de page) : sans lui, tout reste visible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms var(--ease-soft),
    transform 560ms var(--ease-soft);
  transition-delay: calc(min(var(--i, 0), 8) * 70ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Les maquettes gardent leur propre transformation (échelle, position) : on
   ne les fait qu'apparaître en fondu. */
.js .vt-hero__visual .mk {
  animation: vt-mk-in 900ms var(--ease-soft) both;
}

.js .vt-hero__visual .vt-hero__phone {
  animation-delay: 260ms;
}

@keyframes vt-mk-in {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}

/* ── 19. Mouvement réduit ────────────────────────────────────────────────── */

/* Le coupe-circuit universel est dans base.css. Ici, ce qui doit disparaître
   plutôt que se figer : un point immobile au milieu du trait se lirait comme
   une panne de la synchronisation. */
@media (prefers-reduced-motion: reduce) {
  .vt-flow__dot {
    display: none;
  }
}

/* ── 20. Maquettes de l'application ──────────────────────────────────────── */

/* Dessinées en HTML avec les jetons de l'application plutôt que capturées :
   nettes à toute taille, légères sur le réseau d'un hall d'exposition, et
   justes dans les deux thèmes. Tout est en `em` : on règle la taille d'une
   maquette par sa seule taille de police. */

.mk {
  color: var(--text-primary);
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  letter-spacing: 0;
  pointer-events: none;
  user-select: none;
}

.mk b,
.mk strong {
  font-weight: 700;
}

.mk i,
.mk em {
  font-style: normal;
}

.mk small {
  font-size: 1em;
}

.mk-ellipsis,
.mk-slot__txt b,
.mk-slot__txt small,
.mk-row__txt b,
.mk-row__txt small,
.mk-doc__txt b,
.mk-doc__txt small,
.mk-panel__id b,
.mk-panel__id small,
.mk-title__txt b,
.mk-title__txt small,
.mk-task__txt b,
.mk-kpi small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vt-spot .mk {
  font-size: 10px;
}

.vt-spot .mk-panel {
  width: min(36em, 100%);
}

@media (min-width: 400px) {
  .vt-spot .mk {
    font-size: 10.5px;
  }
}

@media (min-width: 1000px) {
  .vt-spot .mk {
    font-size: 11px;
  }
}

/* ── Téléphone ── */

.mk-phone {
  width: 22em;
  aspect-ratio: 9 / 18.6;
  padding: 0.65em;
  border-radius: 3.2em;
  background: var(--phone-frame);
  box-shadow:
    0 2.6em 5em -1.8em rgba(15, 23, 42, 0.5),
    inset 0 0 0 0.12em rgba(255, 255, 255, 0.1);
}

.mk-phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 2.6em;
  background: linear-gradient(160deg, var(--background-light) 0%, var(--background-gradient-end) 100%);
}

.mk-phone__island {
  position: absolute;
  top: 0.75em;
  left: 50%;
  z-index: 3;
  width: 6.6em;
  height: 1.9em;
  margin-left: -3.3em;
  border-radius: 1em;
  background: var(--phone-frame);
}

.mk-status {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.4em;
  padding: 0.4em 2em 0 2.3em;
  color: var(--text-strong);
  font-weight: 700;
}

.mk-status__icons {
  display: flex;
  gap: 0.4em;
  font-size: 0.8em;
}

.mk-appbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.3em 1.3em 0.9em;
}

.mk-appbar strong {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 1.55em;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mk-appbar__back {
  color: var(--primary-color);
  font-size: 1.1em;
}

.mk-appbar__end {
  margin-left: auto;
  color: var(--text-muted);
}

.mk-bell {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 2.8em;
  height: 2.8em;
  margin-left: auto;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
}

.mk-bell b {
  position: absolute;
  top: -0.3em;
  right: -0.3em;
  display: grid;
  place-items: center;
  min-width: 1.6em;
  height: 1.6em;
  border-radius: 0.8em;
  background: var(--error-color);
  color: #fff;
  font-size: 0.72em;
}

.mk-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  padding: 0 1.1em 6.4em;
  overflow: hidden;
}

.mk-card {
  flex: none;
  padding: 1em;
  border: 1px solid var(--border-color);
  border-radius: 1.1em;
  background: var(--surface);
  box-shadow: 0 0.3em 1.2em rgba(var(--primary-rgb), 0.06);
}

.mk-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.3em;
}

.mk-card__head span {
  color: var(--text-strong);
  font-size: 1.1em;
  font-weight: 700;
}

.mk-card__head em {
  color: var(--text-muted);
  font-size: 0.88em;
}

.mk-slot {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.6em 0;
  border-top: 1px solid var(--border-subtle);
}

.mk-card__head + .mk-slot {
  border-top: 0;
}

.mk-slot__bar {
  flex: none;
  align-self: stretch;
  width: 0.3em;
  border-radius: 0.2em;
  background: var(--c-ink);
}

.mk-slot__time {
  flex: none;
  min-width: 3.1em;
  color: var(--text-strong);
  font-size: 0.95em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mk-slot__txt,
.mk-row__txt,
.mk-doc__txt,
.mk-panel__id,
.mk-title__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mk-slot__txt b {
  color: var(--text-strong);
  font-weight: 600;
}

.mk-slot__txt small {
  color: var(--text-muted);
  font-size: 0.85em;
}

.mk-grid4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7em;
}

.mk-tile {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  padding: 0.9em;
  border: 1px solid var(--border-color);
  border-radius: 1em;
  background: var(--surface);
  color: var(--text-strong);
  font-weight: 600;
}

.mk-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5em;
  height: 2.5em;
  border-radius: 0.7em;
  background: var(--c-bg);
  color: var(--c-ink);
}

.mk-tabbar {
  position: absolute;
  left: 1em;
  right: 1em;
  bottom: 1.3em;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 4.8em;
  padding: 0 0.5em;
  border: 1px solid var(--border-color);
  border-radius: 2.4em;
  background: var(--surface);
  box-shadow: 0 0.6em 1.8em rgba(15, 23, 42, 0.14);
}

.mk-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  color: var(--text-muted);
  font-size: 0.78em;
  font-weight: 600;
}

.mk-tabbar i {
  font-size: 1.5em;
}

.mk-tabbar .is-on {
  color: var(--primary-color);
}

.mk-homebar {
  position: absolute;
  bottom: 0.45em;
  left: 50%;
  z-index: 3;
  width: 8em;
  height: 0.32em;
  margin-left: -4em;
  border-radius: 0.2em;
  background: var(--text-strong);
  opacity: 0.75;
}

/* Pastilles de statut et boutons des maquettes. */
.mk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  font-size: 0.8em;
  font-weight: 700;
  white-space: nowrap;
}

.mk-badge--success { background: var(--success-surface); color: var(--success-text); }
.mk-badge--warning { background: var(--warning-surface); color: var(--warning-text); }
.mk-badge--info    { background: var(--info-surface);    color: var(--info-text); }
.mk-badge--accent  { background: var(--accent-surface);  color: var(--accent-text); }

.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  gap: 0.5em;
  margin-top: 0.5em;
  padding: 0.65em 1.2em;
  border: 1px solid var(--primary-color);
  border-radius: 0.7em;
  background: var(--primary-color);
  box-shadow: 0 0.4em 1em rgba(var(--primary-rgb), 0.3);
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  white-space: nowrap;
}

.mk-btn--block {
  align-self: stretch;
  margin-top: 0;
  padding: 0.85em 1em;
}

.mk-btn--ghost {
  border-color: var(--border-color);
  background: var(--surface);
  box-shadow: none;
  color: var(--text-primary);
}

.mk-prog {
  display: block;
  height: 0.42em;
  overflow: hidden;
  border-radius: 0.3em;
  background: var(--surface-3);
}

.mk-prog i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--c-ink);
}

/* ── Chantier ── */

.mk-site {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45em;
}

.mk-site__title {
  color: var(--text-strong);
  font-size: 1.25em;
  letter-spacing: -0.02em;
}

.mk-site__addr {
  color: var(--text-muted);
  font-size: 0.9em;
}

.mk-site__addr i {
  color: var(--c-ink);
}

.mk-actions {
  display: flex;
  gap: 0.45em;
  width: 100%;
  margin-top: 0.3em;
}

.mk-act {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  padding: 0.55em 0.2em;
  border: 1px solid var(--border-color);
  border-radius: 0.8em;
  color: var(--text-soft);
  font-size: 0.8em;
  font-weight: 600;
}

.mk-act i {
  color: var(--primary-color);
  font-size: 1.25em;
}

.mk-act--main {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.mk-act--main i {
  color: #fff;
}

.mk-tabs {
  flex: none;
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.mk-tabs span {
  flex: 1;
  margin-bottom: -1px;
  padding: 0.3em 0 0.6em;
  border-bottom: 0.2em solid transparent;
  color: var(--text-muted);
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
}

.mk-tabs .is-on {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.mk-tasks {
  display: flex;
  flex-direction: column;
  padding: 0.5em 1em;
}

.mk-task {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.45em 0;
}

.mk-task__chk {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9em;
  height: 1.9em;
  border: 0.16em solid var(--border-strong);
  border-radius: 0.5em;
  color: #fff;
  font-size: 0.8em;
}

.mk-task.is-done .mk-task__chk {
  border-color: var(--success-color);
  background: var(--success-color);
}

.mk-task__txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.mk-task__txt b {
  color: var(--text-strong);
  font-size: 0.95em;
  font-weight: 600;
}

.mk-task.is-done .mk-task__txt b {
  color: var(--text-muted);
  text-decoration: line-through;
}

.mk-task.is-done .mk-prog i {
  background: var(--success-color);
}

.mk-task > em {
  flex: none;
  min-width: 3em;
  color: var(--text-muted);
  font-size: 0.82em;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mk-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8em 1em;
}

.mk-team__label {
  color: var(--text-soft);
  font-size: 0.9em;
  font-weight: 600;
}

.mk-avatars {
  display: flex;
  padding-left: 0.5em;
}

.mk-avatars i {
  display: grid;
  place-items: center;
  width: 2.6em;
  height: 2.6em;
  margin-left: -0.55em;
  border: 0.16em solid var(--surface);
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
}

.mk-avatars i:nth-child(2) { background: #14b8a6; }
.mk-avatars i:nth-child(3) { background: #a855f7; }

/* ── Agenda ── */

.mk-chip {
  flex: none;
  margin-left: auto;
  padding: 0.35em 0.85em;
  border: 1px solid var(--border-color);
  border-radius: 1em;
  background: var(--surface);
  color: var(--primary-color);
  font-size: 0.8em;
  font-weight: 700;
}

.mk-week {
  flex: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35em;
  padding: 0.45em;
  border: 1px solid var(--border-color);
  border-radius: 1em;
  background: var(--surface);
}

.mk-week span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  min-height: 3.9em;
  padding: 0.45em 0 0.5em;
  border-radius: 0.7em;
}

.mk-week small {
  color: var(--text-muted);
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
}

.mk-week b {
  color: var(--text-strong);
  font-size: 1.05em;
}

/* Un point sous les jours qui ont des événements. */
.mk-week i {
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--c-ink);
}

.mk-week .is-on {
  background: var(--primary-color);
  box-shadow: 0 0.3em 0.9em rgba(var(--primary-rgb), 0.35);
}

.mk-week .is-on small,
.mk-week .is-on b {
  color: #fff;
}

.mk-week .is-on i {
  background: #fff;
}

.mk-event {
  flex: none;
  display: flex;
  gap: 0.6em;
}

.mk-event__time {
  flex: none;
  display: flex;
  flex-direction: column;
  width: 3.2em;
  padding-top: 0.6em;
  color: var(--text-strong);
  font-size: 0.88em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mk-event__time small {
  color: var(--text-faint);
  font-weight: 500;
}

/* Carte d'événement : liseré à la teinte de son module, comme dans l'agenda
   de l'application. */
.mk-event__card {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  padding: 0.6em 0.8em 0.65em 1.05em;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 0.9em;
  background: var(--surface);
}

.mk-event__card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.3em;
  background: var(--c-ink);
}

.mk-event__card em {
  color: var(--c-text);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mk-event__card b,
.mk-event__card small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mk-event__card b {
  color: var(--text-strong);
  font-size: 0.98em;
}

.mk-event__card small {
  color: var(--text-muted);
  font-size: 0.8em;
}

.mk-event.is-open .mk-event__card {
  border-color: var(--c-line);
  box-shadow: 0 0.5em 1.4em var(--c-bg);
}

.mk-event__acts {
  display: flex;
  gap: 0.4em;
  margin-top: 0.5em;
}

.mk-event__acts .mk-btn {
  align-self: auto;
  margin: 0;
  padding: 0.5em 0.8em;
  font-size: 0.8em;
}

.mk-event .mk-avatars {
  margin-top: 0.4em;
}

.mk-event .mk-avatars i {
  width: 2.3em;
  height: 2.3em;
  font-size: 0.72em;
}

/* ── Formulaire ── */

.mk-link {
  flex: none;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.8em;
  border-radius: 1em;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 0.82em;
  font-weight: 700;
}

.mk-formcard {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.mk-field {
  display: flex;
  flex-direction: column;
  padding: 0.45em 0.7em;
  border: 1px solid var(--border-color);
  border-radius: 0.6em;
  background: var(--surface-2);
}

.mk-field small {
  color: var(--text-muted);
  font-size: 0.75em;
  font-weight: 600;
}

.mk-field b {
  color: var(--text-strong);
  font-size: 0.95em;
  font-weight: 600;
}

.mk-check {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--text-body);
  font-size: 0.92em;
}

.mk-check > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.7em;
  height: 1.7em;
  border: 0.14em solid var(--border-strong);
  border-radius: 0.45em;
  color: #fff;
  font-size: 0.8em;
}

.mk-check.is-on > i {
  border-color: var(--c-ink);
  background: var(--c-ink);
}

.mk-photos {
  display: flex;
  gap: 0.45em;
  margin-top: 0.2em;
}

.mk-photo {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 0.6em;
}

/* Des « photos » abstraites : ciel et toiture, enduit, bois. */
.mk-photo--a { background: linear-gradient(165deg, #93c5fd 0 46%, #b45309 46% 100%); }
.mk-photo--b { background: linear-gradient(160deg, #e2e8f0 0 58%, #64748b 58% 100%); }
.mk-photo--c { background: linear-gradient(135deg, #fde68a 0%, #d97706 100%); }

.mk-photo--add {
  display: grid;
  place-items: center;
  border: 0.12em dashed var(--border-strong);
  color: var(--text-muted);
}

.mk-signcard {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.mk-signcard small {
  color: var(--text-muted);
  font-size: 0.78em;
  font-weight: 600;
}

.mk-sign {
  display: block;
  width: 100%;
  height: 4.4em;
}

.mk-sign path {
  fill: none;
  stroke: var(--text-strong);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 0;
}

.mk-signcard__line {
  display: block;
  height: 1px;
  margin: 0 0.4em;
  background: var(--border-strong);
}

/* ── Client et documents ── */

.mk-panel {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 1.4em;
  background: var(--surface);
  box-shadow:
    var(--shadow-xl),
    0 2em 4em -2em rgba(var(--primary-rgb), 0.28);
}

.mk-panel__head {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 1.3em 1.4em;
  border-bottom: 1px solid var(--border-color);
}

.mk-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.6em;
  height: 3.6em;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-ink);
  font-weight: 700;
}

.mk-panel__id {
  flex: 1;
}

.mk-panel__id b {
  color: var(--text-strong);
  font-size: 1.3em;
  letter-spacing: -0.02em;
}

.mk-panel__id small {
  color: var(--text-muted);
  font-size: 0.9em;
}

.mk-iconbtns {
  display: flex;
  gap: 0.45em;
}

.mk-iconbtns i {
  display: grid;
  place-items: center;
  width: 2.8em;
  height: 2.8em;
  border: 1px solid var(--border-color);
  border-radius: 0.7em;
  color: var(--primary-color);
}

.mk-seg {
  display: flex;
  gap: 0.3em;
  margin: 1.1em 1.4em 0.4em;
  padding: 0.3em;
  border-radius: 0.8em;
  background: var(--surface-3);
}

.mk-seg span {
  flex: 1;
  padding: 0.5em 0;
  border-radius: 0.6em;
  color: var(--text-soft);
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
}

.mk-seg .is-on {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
}

.mk-docs {
  padding: 0.2em 1.4em 0.6em;
}

.mk-doc {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 0.8em 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mk-doc:last-child {
  border-bottom: 0;
}

.mk-row__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.8em;
  height: 2.8em;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-ink);
}

.mk-doc__txt {
  flex: 1;
}

.mk-doc__txt b {
  color: var(--text-strong);
  font-weight: 600;
}

.mk-doc__txt small {
  color: var(--text-muted);
  font-size: 0.85em;
}

.mk-doc__amt {
  flex: none;
  color: var(--text-strong);
  font-size: 0.95em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mk-doc .mk-badge {
  flex: none;
  min-width: 7em;
}

.mk-panel__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.6em;
  padding: 1em 1.4em;
  border-top: 1px solid var(--border-color);
  background: var(--surface-2);
}

.mk-panel__foot .mk-btn {
  margin: 0;
}

@media (max-width: 419px) {
  .mk-doc__amt {
    display: none;
  }
}

/* ── Pilotage ── */

.mk-pilot {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  padding: 1.4em;
}

.mk-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7em;
}

.mk-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  min-width: 0;
  padding: 0.9em;
  border: 1px solid var(--border-color);
  border-radius: 0.9em;
  background: var(--surface-2);
}

.mk-kpi small {
  color: var(--text-muted);
  font-size: 0.78em;
  font-weight: 600;
}

.mk-kpi b {
  color: var(--text-strong);
  font-size: 1.6em;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.mk-kpi em {
  color: var(--text-muted);
  font-size: 0.8em;
  font-weight: 600;
}

.mk-kpi em.is-up {
  color: var(--success-text);
}

.mk-chart {
  display: flex;
  gap: 0.8em;
  height: 11em;
  padding: 0.6em 0.8em 0;
  border-radius: 0.9em;
  background-image: linear-gradient(to top, var(--border-subtle) 1px, transparent 1px);
  background-size: 100% 25%;
}

.mk-chart span {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.78em;
  font-weight: 600;
  line-height: 2.2em;
}

.mk-chart i {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 2.3em;
  height: calc((100% - 2.3em) * var(--h));
  border-radius: 0.5em 0.5em 0.2em 0.2em;
  background: color-mix(in srgb, var(--c) 32%, transparent);
  transform-origin: bottom;
}

.mk-chart .is-on {
  color: var(--c-text);
}

.mk-chart .is-on i {
  background: var(--c-ink);
}

.mk-rights {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 0.9em;
}

.mk-rights__head {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.75em 1em;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-2);
  color: var(--text-strong);
  font-size: 0.95em;
  font-weight: 700;
}

.mk-rights__head i {
  color: var(--primary-color);
}

.mk-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.7em 1em;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 0.92em;
}

.mk-right:last-child {
  border-bottom: 0;
}

.mk-switch {
  position: relative;
  flex: none;
  width: 2.9em;
  height: 1.65em;
  border-radius: 1em;
  background: var(--border-strong);
}

.mk-switch::after {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0.2em;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.mk-switch.is-on {
  background: var(--success-color);
}

.mk-switch.is-on::after {
  transform: translateX(1.25em);
}

/* ── Tableau de bord web (accroche) ── */

.mk-browser {
  width: 64em;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 1.2em;
  background: var(--surface);
  box-shadow:
    var(--shadow-xl),
    0 2.5em 5em -2em rgba(var(--primary-rgb), 0.3);
}

.mk-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.6em;
  height: 3.2em;
  padding: 0 1.2em;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-3);
}

.mk-browser__bar > i {
  flex: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: #f87171;
}

.mk-browser__bar > i:nth-child(2) { background: #fbbf24; }
.mk-browser__bar > i:nth-child(3) { background: #34d399; }

.mk-browser__url {
  display: flex;
  align-items: center;
  gap: 0.5em;
  height: 2em;
  margin: 0 auto;
  padding: 0 1.6em;
  border: 1px solid var(--border-color);
  border-radius: 1em;
  background: var(--surface);
  color: var(--text-muted);
}

.mk-browser__url i {
  color: var(--success-color);
  font-size: 0.85em;
}

.mk-app {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  height: 40em;
  background: linear-gradient(120deg, var(--background-light) 0%, var(--background-gradient-end) 100%);
}

.mk-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding: 1.3em 0;
  border-right: 1px solid var(--border-color);
  background: var(--surface);
}

.mk-side img {
  width: 3em;
  height: 3em;
  margin-bottom: 0.9em;
  border-radius: 0.7em;
}

.mk-side span {
  display: grid;
  place-items: center;
  width: 3.6em;
  height: 3.6em;
  border-radius: 0.9em;
  color: var(--text-faint);
}

.mk-side span i {
  font-size: 1.3em;
}

.mk-side .is-on {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-color);
}

.mk-main {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  min-width: 0;
  padding: 1.6em 1.8em;
}

.mk-title {
  flex: none;
  display: flex;
  align-items: center;
  gap: 1.1em;
  padding: 1.1em 1.4em;
  border: 1px solid var(--border-color);
  border-top: 0.3em solid var(--primary-color);
  border-radius: 1.2em;
  background: var(--surface);
}

.mk-title__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.8em;
  height: 3.8em;
  border-radius: 1em;
  background: linear-gradient(135deg, #3d81fc 0%, #60a5fa 100%);
  box-shadow: 0 0.4em 1.2em rgba(var(--primary-rgb), 0.25);
  color: #fff;
}

.mk-title__icon i {
  font-size: 1.5em;
}

.mk-title__txt b {
  color: var(--text-strong);
  font-size: 1.7em;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.mk-title__txt small {
  color: var(--text-secondary);
  font-size: 1.05em;
  font-weight: 500;
}

.mk-title__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-left: auto;
  padding: 0.6em 1.1em;
  border: 1px solid var(--border-color);
  border-radius: 0.7em;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
}

.mk-tiles {
  flex: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9em;
}

.mk-dtile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 0.5em;
  border: 1.5px solid var(--border-color);
  border-radius: 0.8em;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.mk-dtile .mk-ico {
  width: 3.2em;
  height: 3.2em;
  border-radius: 0.8em;
}

.mk-dtile .mk-ico i {
  font-size: 1.3em;
}

.mk-dtile b {
  color: var(--text-strong);
  font-size: 1.05em;
}

.mk-modules {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0.9em;
}

.mk-mod {
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  border-radius: 0.8em;
  background: var(--surface);
}

.mk-mod__head {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.2em;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-strong);
  font-size: 1.1em;
  font-weight: 600;
}

.mk-mod__head i {
  color: var(--text-faint);
}

.mk-row {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 0.6em 1.2em;
  border-bottom: 1px solid var(--border-subtle);
}

.mk-row:last-child {
  border-bottom: 0;
}

.mk-row .mk-row__ico {
  width: 2.6em;
  height: 2.6em;
}

.mk-row__txt {
  flex: 1;
}

.mk-row__txt b {
  color: var(--text-strong);
  font-weight: 500;
}

.mk-row__txt small {
  color: var(--text-muted);
  font-size: 0.86em;
}

.mk-row__time {
  flex: none;
  color: var(--text-muted);
  font-size: 0.88em;
  font-variant-numeric: tabular-nums;
}

/* ── Mouvement des maquettes, à leur apparition ── */

.js [data-reveal] .mk-prog i {
  width: 0;
  transition: width 1100ms var(--ease-soft) 350ms;
}

.js [data-reveal].is-in .mk-prog i {
  width: var(--w);
}

.js [data-reveal] .mk-sign path {
  stroke-dashoffset: 640;
  transition: stroke-dashoffset 1800ms cubic-bezier(0.45, 0, 0.3, 1) 500ms;
}

.js [data-reveal].is-in .mk-sign path {
  stroke-dashoffset: 0;
}

.js [data-reveal] .mk-chart i {
  transform: scaleY(0.04);
  transition: transform 900ms var(--ease-organic);
}

.js [data-reveal].is-in .mk-chart i {
  transform: none;
}

.mk-chart span:nth-child(2) i { transition-delay: 60ms; }
.mk-chart span:nth-child(3) i { transition-delay: 120ms; }
.mk-chart span:nth-child(4) i { transition-delay: 180ms; }
.mk-chart span:nth-child(5) i { transition-delay: 240ms; }
.mk-chart span:nth-child(6) i { transition-delay: 300ms; }

.js [data-reveal] .mk-switch::after {
  transition: transform 420ms var(--ease-organic) 700ms;
}

.js [data-reveal]:not(.is-in) .mk-switch.is-on::after {
  transform: none;
}

/* =============================================================================
   PAGES DE LA VITRINE
   =============================================================================
   Ce qui suit étend le vocabulaire de la page salon aux autres pages : même
   rythme de sections, mêmes cartes, mêmes teintes de module. */

/* ── 21. Bandeau d'annonce ───────────────────────────────────────────────── */

.vt-annonce {
  border-bottom: 1px solid color-mix(in srgb, var(--warning-color) 30%, transparent);
  background: var(--warning-surface);
  color: var(--warning-text);
  font-size: 0.88rem;
  line-height: 1.45;
}

.vt-annonce__in {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.vt-annonce i {
  flex: none;
  margin-top: 3px;
}

.vt-annonce p {
  max-width: 70em;
}

.vt-annonce a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

/* Une version courte sur téléphone : quatre lignes de bandeau repousseraient
   le titre de la page sous la ligne de flottaison. */
.vt-annonce__court {
  display: none;
}

@media (max-width: 639px) {
  .vt-annonce {
    font-size: 0.84rem;
  }

  .vt-annonce__long {
    display: none;
  }

  .vt-annonce__court {
    display: block;
  }
}

/* ── 22. Barre du haut — navigation entre les pages ──────────────────────── */

.vt-nav a[aria-current="page"] {
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.08);
}

.vt-topbar__login {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color var(--motion-quick) ease,
    background-color var(--motion-quick) ease;
}

.vt-topbar__login:hover {
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.08);
}

.vt-burger {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Trois traits dessinés : celui du milieu est le <span>, les deux autres ses
   pseudo-éléments. Ouvert, ils se croisent en ×. */
.vt-burger span,
.vt-burger span::before,
.vt-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform var(--motion-base) var(--ease-soft),
    background-color var(--motion-quick) ease;
}

.vt-burger span {
  position: relative;
}

.vt-burger span::before,
.vt-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.vt-burger span::before { transform: translateY(-6px); }
.vt-burger span::after  { transform: translateY(6px); }

.vt-burger[aria-expanded="true"] span {
  background: transparent;
}

.vt-burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.vt-burger[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* Le panneau du menu, sous la barre (qui est collante, donc positionnée). */
.vt-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  animation: vt-menu-in var(--motion-base) var(--ease-soft);
}

@keyframes vt-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.vt-menu__nav {
  display: grid;
  gap: 2px;
  padding-top: 12px;
  padding-bottom: 20px;
}

.vt-menu__nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
}

.vt-menu__nav > a:hover,
.vt-menu__nav > a[aria-current="page"] {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
}

.vt-menu__nav > a i {
  color: var(--text-faint);
  font-size: 0.8rem;
}

.vt-menu__foot {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 560px) {
  .vt-menu__foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .vt-topbar__login {
    display: inline-flex;
  }

  .vt-burger,
  .vt-menu {
    display: none;
  }
}

/* Entre 1000 et 1200 px, cinq rubriques + connexion + appel ne tiennent pas :
   la connexion se réduit à son icône (son nom reste lu par les lecteurs
   d'écran grâce au title du lien et à ce texte masqué). */
@media (min-width: 1000px) and (max-width: 1199px) {
  .vt-topbar__login span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* ── 23. En-tête des pages intérieures ───────────────────────────────────── */

.vt-pagehero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 32px;
  text-align: center;
}

.vt-pagehero::before {
  content: "";
  position: absolute;
  top: -360px;
  left: 50%;
  width: 1100px;
  height: 700px;
  margin-left: -550px;
  background: radial-gradient(closest-side, rgba(var(--primary-rgb), 0.14), transparent);
  pointer-events: none;
}

.vt-pagehero__in {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.vt-pagehero h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.vt-pagehero__lead {
  max-width: 40em;
  margin: 16px auto 0;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
}

.vt-pagehero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 479px) {
  .vt-pagehero__actions .vt-btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 1000px) {
  .vt-pagehero {
    padding: 64px 0 44px;
  }
}

/* La première section après l'en-tête se colle à lui. */
.vt-pagehero + .vt-section {
  padding-top: 24px;
}

/* Fil d'Ariane. */
.vt-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.vt-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vt-crumbs li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border: solid var(--text-faint);
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}

.vt-crumbs a {
  color: var(--text-soft);
  font-weight: 500;
}

.vt-crumbs a:hover {
  color: var(--primary-color);
}

.vt-crumbs [aria-current] {
  color: var(--text-muted);
}

.vt-crumbs--left {
  justify-content: flex-start;
}

/* Liens d'accompagnement et petits utilitaires. */
.vt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 700;
}

.vt-link i {
  font-size: 0.85em;
  transition: transform var(--motion-quick) var(--ease-soft);
}

.vt-link:hover i {
  transform: translateX(3px);
}

.vt-more__link {
  margin-top: 32px;
  text-align: center;
}

/* ── 24. Cartes de fonctionnalités ───────────────────────────────────────── */

.vt-fgrid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .vt-fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .vt-fgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.vt-dev {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.vt-dev__title {
  margin-bottom: 8px;
  font-size: 1.35rem;
  text-align: center;
}

.vt-dev__lead {
  margin-bottom: 24px;
  color: var(--text-muted);
  text-align: center;
}

/* Souvent une ou deux fiches seulement : centrées plutôt que calées à gauche. */
@media (min-width: 640px) {
  .vt-dev .vt-fgrid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 370px));
    justify-content: center;
  }
}

/* ── 25. Fiche d'une fonctionnalité ──────────────────────────────────────── */

.vt-fhero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 48px;
}

.vt-fhero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -300px;
  width: 900px;
  height: 900px;
  background: radial-gradient(closest-side, var(--c-line), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.vt-fhero__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.vt-fhero--seul .vt-fhero__grid {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.vt-fhero--seul .vt-fhero__actions {
  justify-content: center;
}

.vt-fhero h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.vt-fhero__lead {
  max-width: 36em;
  margin-top: 16px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
}

.vt-fhero--seul .vt-fhero__lead {
  margin-left: auto;
  margin-right: auto;
}

.vt-fhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.vt-fhero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

@media (max-width: 479px) {
  .vt-fhero__actions .vt-btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 1000px) {
  .vt-fhero {
    padding: 56px 0 80px;
  }

  .vt-fhero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
  }
}

/* Le texte d'introduction : un chapeau, sur une colonne de lecture. */
.vt-intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-body);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.75;
  text-align: center;
}

/* Avantages : cartes en grille, icône teintée par le module de la fiche. */
.vt-benefits {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .vt-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .vt-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.vt-benefit {
  padding: 24px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-brand);
}

.vt-benefit__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 1.15rem;
}

.vt-benefit__ico .vt-emoji {
  font-size: 1.4rem;
}

.vt-benefit h3 {
  margin-top: 14px;
  font-size: 1.1rem;
}

.vt-benefit p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* Les icônes saisies en emoji (fiches d'avant la refonte) prennent la même
   pastille que les icônes Font Awesome. */
.vt-tag .vt-emoji,
.vt-chips .vt-emoji {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.9rem;
}

.vt-chips .vt-emoji {
  width: 28px;
  height: 28px;
  background: var(--c-bg);
}

.vt-fhero .vt-tag + .vt-badge,
.vt-fhero .vt-badge + .vt-badge {
  margin-left: 6px;
  vertical-align: middle;
}

.vt-apercu {
  margin-top: 20px;
}

/* Blocs alternés : ceux de la page salon (.vt-spot), avec une capture. */
.vt-spot__title {
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem);
}

.vt-spot__text > .vt-spot__body {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* Un bloc sans capture : une seule colonne de lecture, centrée. */
@media (min-width: 900px) {
  .vt-spot--texte {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
  }
}

.vt-section--end {
  padding-top: 24px;
}

.vt-autres {
  margin-top: 56px;
}

.vt-autres .vt-chips {
  margin-top: 0;
}

/* Cas d'usage : une situation, un personnage, une réponse. */
.vt-cases {
  display: grid;
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .vt-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

.vt-case {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border: 1.5px solid var(--border-color);
  border-left: 4px solid var(--c);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-brand);
}

.vt-case__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 1.1rem;
}

.vt-case__ico .vt-emoji {
  font-size: 1.35rem;
}

.vt-case h3 {
  font-size: 1.05rem;
}

.vt-case p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Cartes de même rang (options) : même hauteur, pas de mise en avant. */
.vt-pricing--egal {
  align-items: stretch;
}

/* Texte d'accompagnement d'une carte de prix (options de la page Tarifs). */
.vt-price__desc {
  margin-top: -6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Bouton secondaire du bandeau d'appel (lien propre à la fiche). */
.vt-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 559px) {
  .vt-callout__actions {
    width: 100%;
  }

  .vt-callout__actions .vt-btn {
    flex: 1 1 100%;
  }
}

/* ── 26. Cadres autour des captures ──────────────────────────────────────── */

/* Les proportions sont celles des maquettes (.mk-browser, .mk-phone), en px :
   une capture encadrée se lit comme une maquette de la page salon. */
.vt-frame {
  position: relative;
  max-width: 100%;
}

.vt-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.vt-frame--aucun img {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.vt-frame--navigateur {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--surface);
  box-shadow:
    var(--shadow-xl),
    0 30px 60px -24px rgba(var(--primary-rgb), 0.3);
}

.vt-frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-3);
}

.vt-frame__bar > i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f87171;
}

.vt-frame__bar > i:nth-child(2) { background: #fbbf24; }
.vt-frame__bar > i:nth-child(3) { background: #34d399; }

.vt-frame__url {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  margin: 0 auto;
  padding: 0 16px;
  border: 1px solid var(--border-color);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.72rem;
}

.vt-frame__url i {
  color: var(--success-color);
  font-size: 0.85em;
}

.vt-frame--telephone {
  width: min(300px, 100%);
  padding: 9px;
  border-radius: 44px;
  background: var(--phone-frame);
  box-shadow:
    0 36px 70px -26px rgba(15, 23, 42, 0.5),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}

.vt-frame__screen {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: var(--surface);
}

.vt-frame__island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 90px;
  height: 26px;
  margin-left: -45px;
  border-radius: 14px;
  background: var(--phone-frame);
}

/* Dans un bloc alterné, le cadre navigateur prend toute la colonne. */
.vt-spot__visual > .vt-frame--navigateur,
.vt-spot__visual > .vt-frame--aucun {
  width: 100%;
}

/* ── 27. Vidéo et webinaires ─────────────────────────────────────────────── */

.vt-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #0f172a;
  box-shadow:
    var(--shadow-xl),
    0 30px 60px -24px rgba(var(--primary-rgb), 0.3);
}

.vt-video iframe,
.vt-video__play,
.vt-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vt-video img {
  object-fit: cover;
}

/* La vidéo ne se charge qu'au clic : YouTube pèse plus lourd que la page
   entière et dépose ses témoins dès l'affichage. */
.vt-video__play {
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  cursor: pointer;
}

/* La vignette est positionnée : le voile, le bouton et la légende doivent
   l'être aussi, et passer au-dessus d'elle. */
.vt-video__play::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 45%, rgba(2, 6, 23, 0.6));
}

.vt-video__play span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.5);
  font-size: 1.6rem;
  transition: transform var(--motion-base) var(--ease-organic);
}

.vt-video__play span i {
  margin-left: 5px;
}

.vt-video__play:hover span {
  transform: scale(1.08);
}

.vt-video__play b {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  font-size: 0.95rem;
  font-weight: 600;
}

.vt-decouvrir {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1000px) {
  .vt-decouvrir--duo {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 40px;
  }
}

.vt-decouvrir--seul .vt-video {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.vt-decouvrir__aside h3 {
  font-size: 1.2rem;
}

.vt-decouvrir__aside > p {
  margin: 6px 0 16px;
  color: var(--text-muted);
}

.vt-decouvrir__aside > .vt-more__link {
  margin: 16px 0 0;
  text-align: left;
}

.vt-webi-note {
  max-width: 780px;
  margin: 0 auto 32px;
}

.vt-webi-cols {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .vt-webi-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

.vt-webi-col__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.vt-webi-col__head > i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 1.1rem;
}

.vt-webi-col__head h2 {
  font-size: 1.35rem;
}

.vt-webi-col__head small {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
}

.vt-webi-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vt-webi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 18px;
  padding: 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-brand);
}

.vt-webi__date {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 2px;
  width: 74px;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-text);
  text-align: center;
}

.vt-webi__date b {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.vt-webi__date small {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vt-webi__date em {
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vt-webi h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.vt-webi__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.87rem;
}

.vt-webi__meta i {
  margin-right: 5px;
  color: var(--text-faint);
}

.vt-webi__desc {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.5;
}

.vt-webi__act {
  grid-column: 1 / -1;
}

@media (min-width: 560px) {
  .vt-webi__act {
    grid-column: 2;
  }
}

.vt-webi__act .vt-btn {
  min-height: 40px;
  padding: 8px 16px;
}

@media (max-width: 559px) {
  .vt-webi__act .vt-btn {
    width: 100%;
  }
}

.vt-btn[aria-disabled="true"],
.vt-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── 28. Page Contact ────────────────────────────────────────────────────── */

.vt-contact {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1000px) {
  .vt-contact {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
  }
}

.vt-contact__aside {
  display: grid;
  gap: 16px;
}

.vt-contact__aside .vt-direct {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.vt-sidecard {
  padding: 22px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-brand);
}

.vt-sidecard h2,
.vt-sidecard h3 {
  font-size: 1.1rem;
}

.vt-sidecard p {
  margin: 6px 0 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.vt-sidecard--accent {
  border-color: rgba(var(--primary-rgb), 0.4);
  border-top: 3px solid var(--primary-color);
}

/* ── 29. Texte long (pages légales, articles) ────────────────────────────── */

.vt-prose {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.vt-prose > * + * {
  margin-top: 1em;
}

.vt-prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.55rem);
  line-height: 1.25;
}

.vt-prose h3 {
  margin-top: 1.8em;
  font-size: 1.18rem;
  line-height: 1.3;
}

.vt-prose h4 {
  margin-top: 1.5em;
  font-size: 1.02rem;
}

.vt-prose > :first-child,
.vt-prose section:first-child > :first-child {
  margin-top: 0;
}

.vt-prose ul,
.vt-prose ol {
  padding-left: 1.4em;
}

.vt-prose li + li {
  margin-top: 0.45em;
}

.vt-prose li::marker {
  color: var(--primary-color);
}

.vt-prose li > ul,
.vt-prose li > ol,
.vt-prose li > p,
.vt-prose li > .alert {
  margin-top: 0.6em;
}

.vt-prose a {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(var(--primary-rgb), 0.4);
  text-underline-offset: 3px;
}

.vt-prose a:hover {
  text-decoration-color: currentColor;
}

.vt-prose strong,
.vt-prose b {
  color: var(--text-strong);
  font-weight: 700;
}

.vt-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6em auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.vt-prose code,
.vt-prose kbd {
  padding: 0.1em 0.4em;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--text-strong);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
}

.vt-prose pre {
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  font-size: 0.9rem;
}

.vt-prose pre code {
  padding: 0;
  background: none;
}

.vt-prose blockquote {
  margin-left: 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--primary-color);
  color: var(--text-soft);
}

.vt-prose hr {
  border: 0;
  border-top: 1px solid var(--border-color);
}

.vt-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.vt-prose th,
.vt-prose td {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}

.vt-prose th {
  background: var(--surface-2);
  color: var(--text-strong);
}

/* Les articles de la base de connaissances ont été écrits pour Bootstrap :
   ses encadrés (.alert-*) et les sections dépliables sont redessinés ici,
   aux couleurs du site, sans charger Bootstrap. */
.vt-prose .alert {
  position: relative;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 0.97rem;
  line-height: 1.6;
}

.vt-prose .alert::before {
  content: "\f05a";
  position: absolute;
  left: 17px;
  top: 14px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.6;
}

.vt-prose .alert-info,
.vt-prose .alert-primary {
  border-color: color-mix(in srgb, var(--primary-color) 28%, transparent);
  background: color-mix(in srgb, var(--primary-color) 8%, transparent);
  color: var(--info-text);
}

.vt-prose .alert-warning {
  border-color: color-mix(in srgb, var(--warning-color) 35%, transparent);
  background: color-mix(in srgb, var(--warning-color) 11%, transparent);
  color: var(--warning-text);
}

.vt-prose .alert-warning::before {
  content: "\f071";
}

.vt-prose .alert-success {
  border-color: color-mix(in srgb, var(--success-color) 30%, transparent);
  background: color-mix(in srgb, var(--success-color) 10%, transparent);
  color: var(--success-text);
}

.vt-prose .alert-success::before {
  content: "\f058";
}

.vt-prose .alert-danger {
  border-color: color-mix(in srgb, var(--error-color) 30%, transparent);
  background: color-mix(in srgb, var(--error-color) 9%, transparent);
  color: var(--error-text);
}

.vt-prose .alert-danger::before {
  content: "\f06a";
}

.vt-prose .alert strong,
.vt-prose .alert a {
  color: inherit;
}

.vt-prose .collapsible-section {
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.vt-prose .collapsible-header {
  position: relative;
  padding: 14px 48px 14px 18px;
  background: var(--surface-2);
  color: var(--text-strong);
  font-weight: 600;
  cursor: pointer;
}

.vt-prose .collapsible-header::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border: solid var(--text-muted);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform var(--motion-base) var(--ease-soft);
}

.vt-prose .collapsible-header.active::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.vt-prose .collapsible-content {
  display: none;
  padding: 16px 18px;
  border-top: 1px solid var(--border-color);
}

.vt-prose .collapsible-header.active + .collapsible-content {
  display: block;
}

/* Pages légales : sommaire et mention de version. */
.vt-legalpage {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1000px) {
  .vt-legalpage {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
  }
}

.vt-toc {
  padding: 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9rem;
}

@media (min-width: 1000px) {
  .vt-toc {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
    max-height: calc(100vh - var(--topbar-h) - 48px);
    overflow-y: auto;
  }
}

.vt-toc b {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vt-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vt-toc a {
  display: block;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--text-soft);
  line-height: 1.35;
}

.vt-toc a:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
}

.vt-docmeta {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ── 30. Base de connaissances ───────────────────────────────────────────── */

.vt-search {
  display: flex;
  gap: 8px;
  max-width: 620px;
  margin: 26px auto 0;
  padding: 6px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.14);
}

.vt-search label {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 10px;
  padding-left: 12px;
  color: var(--text-faint);
}

.vt-search input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 16px;
}

.vt-search input:focus {
  outline: none;
}

.vt-search:focus-within {
  border-color: var(--primary-color);
  box-shadow: var(--ring), 0 16px 40px rgba(var(--primary-rgb), 0.14);
}

.vt-kbcats {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .vt-kbcats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.vt-alist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vt-acard {
  display: block;
  padding: 18px 20px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-body);
  transition:
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    transform var(--motion-base) var(--ease-soft);
}

a.vt-acard:hover {
  border-color: var(--primary-color);
  box-shadow: var(--ring);
  color: var(--text-body);
  transform: translateY(-1px);
}

.vt-acard h2,
.vt-acard h3 {
  color: var(--text-strong);
  font-size: 1.08rem;
  line-height: 1.35;
}

.vt-acard p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.vt-acard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 12px;
  color: var(--text-faint);
  font-size: 0.82rem;
}

.vt-kblayout {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1000px) {
  .vt-kblayout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
  }
}

.vt-filters {
  padding: 20px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
}

@media (min-width: 1000px) {
  .vt-filters {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
  }
}

.vt-filters h2 {
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vt-filters .vt-pills,
.vt-filters .vt-seg {
  margin-bottom: 18px;
}

.vt-filters__reset {
  margin-top: 12px;
  text-align: center;
}

.vt-filters .vt-pills span {
  min-height: 36px;
  padding: 5px 12px;
  font-size: 0.87rem;
}

.vt-resultbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.vt-resultbar b {
  color: var(--text-primary);
}

.vt-article {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1000px) {
  .vt-article {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 56px;
  }
}

.vt-section--article {
  padding-top: 32px;
}

.vt-article__head {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.vt-article__head .vt-crumbs {
  margin-bottom: 16px;
}

.vt-article__head h1 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.5rem);
  line-height: 1.12;
}

.vt-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.vt-article__aside {
  display: grid;
  gap: 16px;
}

@media (min-width: 1000px) {
  .vt-article__aside {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
  }
}

.vt-article__aside ul {
  display: grid;
  gap: 2px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.vt-article__aside li a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.4;
}

.vt-article__aside li a:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
}

.vt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.vt-tags a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 500;
}

.vt-tags a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ── 31. Pied de page du site ────────────────────────────────────────────── */

.vt-footer--site {
  padding: 56px 0 28px;
}

.vt-footer__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .vt-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .vt-footer__grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

.vt-footer__about p {
  max-width: 30em;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.vt-footer__contact {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin-top: 16px;
}

.vt-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 500;
}

.vt-footer__contact a:hover {
  color: var(--primary-color);
}

.vt-footer__contact i {
  width: 16px;
  color: var(--primary-color);
  text-align: center;
}

.vt-footer__col h2 {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vt-footer__col > a {
  display: block;
  padding: 5px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.vt-footer__col > a:hover {
  color: var(--primary-color);
}

.vt-stores--col {
  flex-direction: column;
  align-items: flex-start;
}

.vt-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-faint);
  font-size: 0.82rem;
}

.vt-footer__bottom nav {
  display: flex;
  gap: 18px;
}

.vt-footer__bottom a {
  color: var(--text-muted);
}

.vt-footer__bottom a:hover {
  color: var(--primary-color);
}

/* La barre fixe mobile ne doit pas masquer le bas du pied de page. */
@media (max-width: 639px) {
  .vt-footer--site {
    padding-bottom: 104px;
  }
}

/* ── 32. Page d'erreur ───────────────────────────────────────────────────── */

.vt-status {
  display: grid;
  place-items: center;
  min-height: min(62vh, 640px);
  padding: 56px 0;
}

.vt-status__card {
  position: relative;
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 28px 40px;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.12);
  text-align: center;
}

.vt-status__code {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  color: var(--text-strong);
  font-size: clamp(6rem, 4rem + 8vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  opacity: 0.05;
  pointer-events: none;
}

.vt-status__ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 18px;
  background: linear-gradient(135deg, #3d81fc 0%, #60a5fa 100%);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
  color: #fff;
  font-size: 1.8rem;
}

.vt-status h1 {
  position: relative;
  margin-top: 22px;
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem);
}

.vt-status p {
  position: relative;
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.vt-status__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ── 33. Visionneuse d'images ────────────────────────────────────────────── */

.vt-zoomable {
  cursor: zoom-in;
}

.vt-lightbox {
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.vt-lightbox::backdrop {
  background: rgba(2, 6, 23, 0.86);
}

.vt-lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-xl);
  cursor: zoom-out;
}

.vt-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.vt-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

