/* VibesMoney · blog v5 (oct. 2026)
   Même charte que l'accueil (site.css) : noir + un accent orange, Satoshi, grain et trame de points.
   Ici : la lecture, pensée pour le téléphone d'abord (la plupart des visiteurs arrivent d'Instagram) :
   une colonne de 720 px, un sommaire qui se replie, des encadrés nets, des visuels en code.
   Mouvement : révélations jouées une fois (transform, opacité, clip seulement), posées par blog.js ;
   rien n'est caché sans JavaScript ni avec « réduire les animations ». */

/* ─── Progression de lecture ─── */
.read-progress { position: fixed; z-index: 70; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

/* encoche et barre d'accueil de l'iPhone en paysage : le contenu ne passe jamais dessous */
.page-blog { padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }

/* ─── Halo et trame, derrière le haut des pages du blog ─── */
.page-blog main { position: relative; isolation: isolate; overflow-x: clip; }
.page-blog main::before {
  content: ""; position: absolute; z-index: -1; top: -68px; left: 50%; width: 100vw; height: 640px; transform: translateX(-50%);
  background: radial-gradient(46% 70% at 50% 0%, var(--glow), transparent 72%), radial-gradient(var(--dot) 1px, transparent 1.5px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(70% 100% at 50% 0%, #000 22%, transparent 78%);
  mask-image: radial-gradient(70% 100% at 50% 0%, #000 22%, transparent 78%);
  pointer-events: none;
}

/* ─── En-tête d'article ─── */
.post-head, .post-cover, .post-layout, .post-authors, .post-related { width: min(1080px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.post-head { padding-top: 44px; }
.post-head .post-title, .post-head .post-sub { max-width: 800px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); transition: color 200ms ease; }
.crumbs a:hover { color: var(--ink); }
.post-kicker { margin-top: 30px; }
.post-kicker a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-size: 13.5px; font-weight: 700; }
.post-title { margin-top: 16px; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.post-title em { font-style: normal; color: var(--accent); }
.post-sub { margin-top: 20px; max-width: 62ch; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--ink-2); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 26px; font-size: 14.5px; color: var(--ink-2); }
.post-meta .sep { color: var(--ink-3); }
.by { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.by-ava { width: 36px; height: 36px; flex: none; overflow: hidden; border-radius: 50%; background: var(--bg-2); }
.by-ava img { width: 100%; height: 100%; object-fit: cover; }

/* la couverture : un cadre qui découpe l'image (elle se pose en douceur au chargement, voir « Mouvement ») */
.post-cover { margin-top: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #0E0E10; box-shadow: var(--shadow-photo); }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }

/* ─── Mise en page de lecture ─── */
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 270px; justify-content: space-between; align-items: start; gap: 40px; margin-top: 56px; }
.post-aside { position: sticky; top: 96px; display: grid; gap: 30px; font-size: 14.5px; }
.toc-title { margin-bottom: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { display: grid; gap: 2px; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; line-height: 1.35; color: var(--ink-2); transition: color 200ms ease, border-color 250ms ease; }
.toc a:hover { color: var(--ink); }
.toc a.is-on { border-left-color: var(--accent); color: var(--ink); font-weight: 700; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font: 700 13.5px/1 var(--font); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.share-btn .ico { width: 15px; height: 15px; }
@media (hover: hover) { .share-btn:hover { background: var(--hl); color: var(--ink); } }
.share-btn.is-done { border-color: var(--ok); color: var(--ok); }
.aside-cta { display: grid; gap: 14px; justify-items: start; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.aside-cta p { line-height: 1.4; color: var(--ink-2); }
.aside-cta b { color: var(--ink); font-size: 16px; }

/* le sommaire replié du téléphone : un <details> natif (marche sans JavaScript) ; sur grand écran, c'est le sommaire de droite qui sert */
.toc-fold { display: none; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.toc-fold summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px 6px 18px; border-radius: inherit; list-style: none; cursor: pointer; }
.toc-fold summary::-webkit-details-marker { display: none; }
.toc-fold-t { font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.toc-fold-n { margin-left: auto; font-size: 14px; color: var(--ink-2); }
.toc-fold summary .ico { width: 30px; height: 30px; padding: 6px; flex: none; border-radius: 50%; color: var(--ink-2); transition: transform 450ms var(--ease-back), color 250ms ease; }
.toc-fold[open] summary .ico { transform: rotate(45deg); color: var(--accent); }
.toc-fold.is-sheet summary .ico { transform: none; }
.toc-fold.is-sheet summary:active .ico { color: var(--accent); }
.toc-fold ol { display: grid; margin: 0; padding: 0 8px 8px; list-style: none; counter-reset: toc; overflow: hidden; }
.toc-fold li a { display: flex; align-items: baseline; gap: 12px; min-height: 48px; padding: 12px 10px; border-top: 1px solid var(--line); font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.toc-fold li a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); flex: none; min-width: 1.7em; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); }
.toc-fold li a.is-on { color: var(--accent); }
.toc-fold[hidden] { display: none !important; }

/* ─── Le texte ─── */
.prose { font-size: 19px; line-height: 1.72; color: color-mix(in srgb, var(--ink) 90%, var(--bg)); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.5em; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); scroll-margin-top: 96px; text-wrap: balance; }
/* le trait orange au-dessus des titres de section (il se déroule à l'arrivée à l'écran) */
.prose h2::before { content: ""; display: block; width: 38px; height: 3px; margin-bottom: 15px; border-radius: 3px; background: var(--accent); transform-origin: 0 50%; }
.prose h3 { margin-top: 1.9em; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 96px; }
.prose h2 + *, .prose h3 + * { margin-top: 0.8em; }
.prose strong, .prose b { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; transition: color 200ms ease, text-decoration-color 200ms ease; }
.prose a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.prose ul, .prose ol { display: grid; gap: 0.6em; list-style: none; padding: 0; }
.prose ul > li { position: relative; padding-left: 1.5em; }
.prose ul > li::before { content: ""; position: absolute; left: 0.15em; top: 0.78em; width: 0.46em; height: 0.46em; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: li; }
.prose ol > li { position: relative; padding-left: 2.3em; counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: 0.2em; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--hl); color: var(--accent); font-size: 0.78em; font-weight: 800; }
.prose li > ul, .prose li > ol { margin-top: 0.6em; }
.prose code { padding: 0.14em 0.42em; border: 1px solid var(--line); border-radius: 7px; background: var(--bg-2); color: var(--ink); font-family: var(--mono); font-size: 0.86em; overflow-wrap: anywhere; }
.prose pre {
  position: relative; margin-top: 1.7em; padding: 20px 24px 22px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--win-line); border-radius: 18px; background: var(--win-bg); color: var(--win-ink);
  font-family: var(--mono); font-size: 14.5px; line-height: 1.65; box-shadow: var(--shadow-win); tab-size: 2;
}
.prose pre::before {
  content: ""; display: block; width: 54px; height: 12px; margin-bottom: 16px;
  background: radial-gradient(circle at 6px 6px, #FF5F57 6px, transparent 6.5px), radial-gradient(circle at 27px 6px, #FEBC2E 6px, transparent 6.5px), radial-gradient(circle at 48px 6px, #28C840 6px, transparent 6.5px);
}
.prose pre code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; overflow-wrap: normal; }
.copy-code { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 40px; padding: 0 15px; border: 1px solid var(--win-line); border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06); color: var(--win-dim); font: 700 13px/1 var(--font); cursor: pointer; transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.copy-code:hover { color: var(--win-ink); background: rgba(255, 255, 255, 0.12); }
.copy-code.is-done { color: #30D158; border-color: rgba(48, 209, 88, 0.4); }
.prose hr { height: 1px; border: 0; background: var(--line); margin-block: 2.4em; }

/* encadrés : trois familles, une icône chacune */
.callout { margin-top: 1.7em; padding: 20px 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); font-size: 17px; line-height: 1.6; }
.callout > * + * { margin-top: 0.7em; }
.callout-label { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.callout-label .ico { width: 18px; height: 18px; }
.callout--tip { background: color-mix(in srgb, var(--ok) 9%, var(--bg-2)); border-color: color-mix(in srgb, var(--ok) 28%, var(--line)); }
.callout--tip .callout-label { color: var(--ok); }
.callout--warn { background: color-mix(in srgb, var(--accent) 10%, var(--bg-2)); border-color: color-mix(in srgb, var(--accent) 38%, var(--line)); }
.callout--warn .callout-label { color: var(--accent); }

/* la citation : le trait orange est un vrai élément (il se dessine de haut en bas) */
.pull { position: relative; margin: 2.3em 0; padding: 6px 0 6px 28px; }
.pull::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: var(--accent); transform-origin: 50% 0; }
.pull p { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.22; letter-spacing: -0.025em; font-weight: 700; color: var(--ink); text-wrap: balance; }

/* tableaux : un cadre qui défile. Sur téléphone : la première colonne reste collée, un dégradé annonce la suite (blog.js pose is-more / is-moved) */
.table-wrap { margin-top: 1.8em; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.table-wrap::-webkit-scrollbar { display: none; }
.table-wrap:focus-visible { outline-offset: -3px; }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.45; }
.table-wrap th { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.table-wrap td { padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 700; color: var(--ink); }
/* la première colonne reste collée quand on glisse (l'intitulé de la ligne ne se perd pas), une ombre l'indique ; un dégradé annonce la suite */
.table-wrap th:first-child, .table-wrap td:first-child { position: sticky; left: 0; z-index: 1; }
.table-wrap th:first-child { z-index: 2; background: var(--bg-2); }
.table-wrap td:first-child { background: var(--surface); }
.table-wrap.is-moved th:first-child, .table-wrap.is-moved td:first-child { box-shadow: 8px 0 14px -10px rgba(0, 0, 0, 0.4); }
.table-wrap.is-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 46px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 46px), transparent); }

/* les visuels en code (kit _internal/visual-kit) : un cadre qui découpe l'image */
.post-visual { position: relative; margin: 2.3em 0 0.4em; }
.post-visual picture { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #0E0E10; box-shadow: var(--shadow-photo); }
.post-visual img { display: block; width: 100%; height: auto; }
.post-visual figcaption { margin-top: 12px; text-align: center; font-size: 15px; line-height: 1.4; color: var(--ink-2); text-wrap: balance; }
/* « agrandir » : sur téléphone, le texte des visuels est petit ; un toucher l'ouvre en grand (blog.js) */
.fig-zoom { display: none; position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; background: rgba(14, 14, 16, 0.6); color: #F5F5F7; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; }
.fig-zoom svg { width: 20px; height: 20px; }

.post-faq { margin-top: 3em; }
.post-faq .faq { margin-top: 1em; }
/* la FAQ s'ouvre comme un <details> natif (la mise en page change d'un coup, jamais animée) ; la réponse apparaît en fondu */
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq-a > * { animation: vm-answer 520ms var(--ease) both; }
}

/* ─── Fin d'article ─── */
.post-cta {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px;
  width: calc(100% - 2 * var(--gutter)); max-width: 1080px; margin: 88px auto 0; padding: clamp(28px, 4.5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 32px; background: #111113; color: #F5F5F7; box-shadow: 0 44px 90px -50px rgba(29, 29, 31, 0.7);
}
.post-cta::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(52% 90% at 100% 0%, rgba(251, 146, 60, 0.3), transparent 70%), radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.5px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(90% 100% at 70% 20%, #000 20%, rgba(0, 0, 0, 0.35) 80%); mask-image: radial-gradient(90% 100% at 70% 20%, #000 20%, rgba(0, 0, 0, 0.35) 80%);
}
.post-cta .tag { color: #FB923C; }
.post-cta h2 { margin-top: 10px; max-width: 18ch; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.post-cta p { margin-top: 14px; max-width: 52ch; color: #A1A1A6; }
.post-cta .btn { --face: #F5F5F7; --face-ink: #1D1D1F; --disc-bg-2: #1D1D1F; --disc-ink-2: #FFFFFF; }
.post-cta .link { display: inline-flex; align-items: center; min-height: 44px; color: #F5F5F7; }
.post-cta-act { display: grid; justify-items: start; gap: 8px; }

.post-authors { margin-top: 56px; }
.author-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 26px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-card); }
.author-photo { width: 96px; height: 96px; overflow: hidden; border-radius: 50%; background: var(--bg-2); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-info h3 { font-size: 22px; letter-spacing: -0.02em; }
.author-role { margin-top: 2px; color: var(--ink-2); font-size: 15px; }
.author-bio { margin-top: 10px; max-width: 62ch; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.author-info .handle { margin-top: 6px; }

.post-related { margin-top: 76px; }
.post-related h2 { margin-bottom: 24px; font-size: 28px; letter-spacing: -0.03em; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* ─── Cartes d'article (hub, rubriques, « à lire aussi ») ─── */
.pcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-card); transition: transform 450ms var(--ease), border-color 300ms ease, box-shadow 400ms ease; }
@media (hover: hover) and (pointer: fine) { .pcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-card-hover); } }
/* au toucher : la carte s'enfonce sous le doigt */
@media (hover: none) { .pcard:active, .gcard:active { transform: scale(0.982); transition-duration: 120ms; } }
.pcard-media { aspect-ratio: 1200 / 630; overflow: hidden; background: #0E0E10; }
.pcard-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pcard-media img { transform: scale(1.035); } }
.pcard-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.pcard-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.pcard-cat { color: var(--accent); font-weight: 700; }
.pcard h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.pcard-desc { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.pcard-go { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.pcard-go .ico { width: 15px; height: 15px; transition: transform 400ms var(--ease-back); }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pcard-go .ico { transform: translateX(4px); } }

/* ─── Hub du blog et rubriques ─── */
.hub-hero { padding: 72px var(--gutter) 24px; text-align: center; }
.hub-hero .tag { display: block; margin-bottom: 14px; }
.hub-hero h1 { max-width: 20ch; margin: 0 auto; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.hub-hero .lead { max-width: 56ch; margin: 20px auto 0; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--ink-2); }
.rchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.rchip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 17px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font-size: 15px; font-weight: 700; white-space: nowrap; transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease; }
.rchip small { font-size: 12.5px; font-weight: 700; opacity: 0.6; }
@media (hover: hover) { .rchip:hover { border-color: var(--ink); color: var(--ink); } }
.rchip[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.hub-section { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 0; }
.hub-section > h2 { margin-bottom: 8px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; }
.hub-section > p.sub { max-width: 58ch; margin-bottom: 28px; color: var(--ink-2); }
.hub-featured { padding-top: 32px; }
.pcard--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.pcard--featured .pcard-media { aspect-ratio: auto; min-height: 100%; }
.pcard--featured .pcard-body { justify-content: center; gap: 14px; padding: clamp(24px, 3.5vw, 44px); }
.pcard--featured h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.03em; }
.pcard--featured .pcard-desc { -webkit-line-clamp: 4; font-size: 17px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.hub-faq { max-width: 860px; padding-bottom: 8px; }
.hub-faq .faq { margin-top: 20px; }
.hub-empty { padding: 48px 0; color: var(--ink-2); text-align: center; }

/* pages légales et textes simples */
.legal { max-width: 760px; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.04em; }
.legal .prose { margin-top: 28px; }
.legal .toc-fold { margin-top: 26px; }

/* ─── Adaptations ─── */
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 720px); justify-content: start; gap: 28px; margin-top: 36px; }
  .post-aside { position: static; order: -1; gap: 20px; }
  .aside-cta { display: none; }
  .toc ol { grid-template-columns: 1fr; }
  .share { display: none; }
  /* le sommaire replié prend la place du long sommaire */
  .toc-fold { display: block; }
  .toc-fold ~ .toc { display: none; }
}
@media (max-width: 760px) {
  .prose { font-size: 18px; line-height: 1.68; }
  .prose h2 { margin-top: 2.2em; }
  .prose pre { padding: 16px 16px 18px; font-size: 13.5px; line-height: 1.6; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; }
  .prose pre::before { margin-bottom: 12px; }
  .post-head { padding-top: 14px; }
  .post-cover { margin-top: 22px; border-radius: 18px; }
  .post-visual picture { border-radius: 16px; }
  .fig-zoom { display: grid; }
  .callout { padding: 18px 20px 20px; font-size: 16.5px; }
  .pull p { font-size: 23px; }
  /* le fil d'Ariane devient un retour d'un toucher : « ‹ Blog », « ‹ Guides » (il reste dans le HTML et le JSON-LD) */
  .crumbs { gap: 0; }
  .crumbs > * { display: none; }
  .crumbs > a:nth-of-type(2), .crumbs > a:only-of-type { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -6px 0 -6px -10px; padding: 0 14px 0 10px; border-radius: var(--r-pill); font-size: 15px; font-weight: 700; color: var(--ink-2); }
  .crumbs > a:nth-of-type(2)::before, .crumbs > a:only-of-type::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; border-radius: 1px; rotate: 45deg; }
  .post-kicker { margin-top: 18px; }
  /* la ligne d'infos : l'auteur seul, puis la date et la durée, puis la mise à jour (plus de « · » orphelin en fin de ligne) */
  .post-meta { gap: 0 10px; margin-top: 20px; }
  .post-meta .by { flex: 1 0 100%; min-height: 48px; }
  .post-meta .by + .sep, .post-meta .m-read + .sep { display: none; }
  .post-meta .m-upd { flex: 1 0 100%; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
  /* tableaux : colonnes à leur largeur utile, première colonne collée */
  .table-wrap table { width: max-content; min-width: 100%; font-size: 15px; line-height: 1.4; }
  .table-wrap th, .table-wrap td { padding: 12px 14px; }
  .table-wrap th { min-width: 96px; max-width: 230px; font-size: 12px; white-space: normal; }
  .table-wrap td { min-width: 96px; max-width: 230px; }
  .table-wrap th:first-child, .table-wrap td:first-child { min-width: 0; max-width: 152px; }
  .post-cta { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; padding: 30px 24px 28px; border-radius: 26px; }
  .post-cta-act { justify-items: stretch; }
  .post-cta .btn { width: 100%; }
  .post-cta .link { justify-content: center; }
  .author-card { grid-template-columns: 1fr; justify-items: start; padding: 24px; gap: 18px; }
  .author-info .handle { min-height: 44px; }
  .post-related { margin-top: 60px; }
  /* « à lire aussi » : un défilement latéral qui s'accroche, la carte suivante dépasse (c'est l'indice) */
  .rel-grid { display: flex; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rel-grid::-webkit-scrollbar { display: none; }
  .rel-grid > .pcard { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  .pcard--featured { display: flex; }
  .pcard--featured .pcard-media { aspect-ratio: 1200 / 630; min-height: 0; }
  .hub-hero { padding-top: 40px; }
  .hub-section { padding-top: 44px; }
  .hub-grid { gap: 18px; }
  .pcard-body { padding: 18px 20px 20px; }
  .pcard-desc { -webkit-line-clamp: 3; }
  /* rubriques : une rangée qui défile, la rubrique courante au centre */
  .rchips { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; margin: 26px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 36px), transparent); }
  .rchips::-webkit-scrollbar { display: none; }
  .rchip { flex: none; scroll-snap-align: center; }
  .legal { padding-top: 40px; padding-bottom: 72px; }
  .post-aside .link { min-height: 44px; }
  .hub-faq .faq summary, .post-faq .faq summary { padding: 18px 18px; font-size: 17px; }
}
@media print {
  .nav, .footer, .post-aside, .toc-fold, .post-cta, .read-progress, .copy-code, .vm-dock, .fig-zoom { display: none !important; }
  .prose { color: #000; font-size: 12pt; }
}

/* champs légaux à compléter : impossible à rater */
mark.todo { padding: 0.1em 0.4em; border-radius: 6px; background: color-mix(in srgb, var(--warn, #FEBC2E) 40%, transparent); color: var(--ink); font-weight: 700; }

/* tableaux de texte long (pages légales) : sur téléphone, une carte par ligne, l'intitulé de la colonne au-dessus de chaque case (blog : build-legal.py pose data-label) */
@media (max-width: 760px) {
  .table-wrap--cards { overflow: visible; border: 0; background: none; box-shadow: none; -webkit-mask-image: none !important; mask-image: none !important; }
  .table-wrap--cards table, .table-wrap--cards tbody, .table-wrap--cards tr, .table-wrap--cards td { display: block; width: 100%; min-width: 0; max-width: none; }
  .table-wrap--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .table-wrap--cards tr { margin-top: 12px; padding: 4px 18px 6px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
  .table-wrap--cards td { padding: 12px 0; border-bottom: 1px solid var(--line); background: none; box-shadow: none; position: static; font-size: 15.5px; }
  .table-wrap--cards tr td:last-child { border-bottom: 0; }
  .table-wrap--cards td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
  .table-wrap--cards td:first-child, .table-wrap--cards th:first-child { position: static; max-width: none; background: none; box-shadow: none; font-size: 17px; }
}

/* ─── Guides : chiffres, formulaire d'e-mail, ressource ─── */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 1.9em 0; }
.stat-card { padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.stat-card .num { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
.stat-card .lbl { margin-top: 8px; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }

.guide-lead-form {
  position: relative; isolation: isolate; overflow: hidden; margin: 2.3em 0; padding: clamp(24px, 3.6vw, 38px); scroll-margin-top: 92px;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 28px; background: #111113; color: #F5F5F7; box-shadow: 0 40px 80px -48px rgba(29, 29, 31, 0.7);
}
.guide-lead-form::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(60% 90% at 100% 0%, rgba(251, 146, 60, 0.28), transparent 70%), radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.5px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(90% 100% at 70% 20%, #000 20%, rgba(0, 0, 0, 0.3) 80%); mask-image: radial-gradient(90% 100% at 70% 20%, #000 20%, rgba(0, 0, 0, 0.3) 80%);
}
.guide-lead-form h3 { margin: 0; font-size: clamp(24px, 3vw, 30px); line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
.guide-lead-form p { margin-top: 12px; color: #A1A1A6; font-size: 16.5px; line-height: 1.5; }
.guide-lead-form .bullets { display: grid; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.guide-lead-form .bullets li { position: relative; padding-left: 32px; color: #D8D8DC; font-size: 16px; line-height: 1.4; }
.guide-lead-form .bullets li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 20px; height: 20px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 10.4l3 3 5.8-6.4' fill='none' stroke='%231a0d05' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat, linear-gradient(150deg, #FFB22E, #FF6A3D 60%, #FF3E8A); }
/* le champ et le bouton : une seule colonne sur téléphone (le champ ne s'étire plus en hauteur), côte à côte dès 561 px */
.guide-lead-form form { display: grid; gap: 10px; }
@media (min-width: 561px) { .guide-lead-form form { grid-template-columns: minmax(0, 1fr) auto; } }
.guide-lead-form input[type="email"] { width: 100%; min-width: 0; height: 56px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.07); color: #fff; font: 600 16px var(--font); -webkit-appearance: none; appearance: none; transition: border-color 200ms ease, background-color 200ms ease; }
.guide-lead-form input::placeholder { color: #8E8E93; }
.guide-lead-form input[type="email"]:focus { border-color: rgba(251, 146, 60, 0.7); background: rgba(255, 255, 255, 0.1); }
.guide-lead-form input[type="email"][aria-invalid="true"] { border-color: #FF7A70; }
/* le remplissage automatique (iOS, Chrome) ne doit pas passer le champ en clair : texte blanc sur fond sombre */
.guide-lead-form input:-webkit-autofill, .guide-lead-form input:-webkit-autofill:focus { -webkit-text-fill-color: #fff; caret-color: #fff; box-shadow: 0 0 0 100px #1d1d21 inset; transition: background-color 9999s ease-out; }
.guide-lead-form input:focus-visible, .guide-lead-form button:focus-visible { outline: 2px solid #FB923C; outline-offset: 2px; }
.guide-lead-form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border: 0; border-radius: var(--r-pill); background: #F5F5F7; color: #1D1D1F; font: 800 15.5px/1 var(--font); letter-spacing: 0.01em; cursor: pointer; transition: transform 400ms var(--ease-back), background-color 200ms ease; }
@media (hover: hover) { .guide-lead-form button[type="submit"]:hover { background: #fff; transform: translateY(-1px); } }
.guide-lead-form button[type="submit"]:active { transform: scale(0.97); }
.guide-lead-form button[disabled] { opacity: 0.8; cursor: progress; }
.guide-lead-form button[disabled]::before { content: ""; flex: none; width: 16px; height: 16px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: vm-spin 700ms linear infinite; }
.guide-lead-form .small { margin-top: 14px; font-size: 13.5px; color: #8E8E93; }
.lead-error { margin-top: 12px; padding: 11px 14px; border: 1px solid rgba(255, 122, 112, 0.4); border-radius: 14px; background: rgba(255, 69, 58, 0.12); color: #FFB4AE; font-size: 14.5px; line-height: 1.4; }
.lead-error[hidden] { display: none; }
.lead-error a { color: inherit; text-decoration: underline; }
.lead-success { display: none; text-align: center; padding: 8px 0; }
.lead-success svg { width: 48px; height: 48px; margin: 0 auto 12px; color: #30D158; }
.guide-lead-form.is-success { display: grid; align-items: center; }
.guide-lead-form.is-success .lead-content { display: none; }
.guide-lead-form.is-success .lead-success { display: block; }
.vm-skool-secondary { text-align: center; color: var(--ink-2); font-size: 16px; }
.vm-skool-secondary a { display: inline-block; padding-block: 8px; }

.guide-more { width: min(1080px, calc(100% - 2 * var(--gutter))); margin: 56px auto 0; }
.guide-more h2 { margin-bottom: 18px; font-size: 24px; letter-spacing: -0.03em; }
.guide-more ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.guide-more a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-weight: 700; transition: border-color 250ms ease, transform 400ms var(--ease); }
.guide-more a::after { content: "→"; color: var(--accent); }
@media (hover: hover) { .guide-more a:hover { border-color: var(--line-2); transform: translateX(3px); } }

.gcard { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-card); transition: transform 450ms var(--ease), border-color 300ms ease, box-shadow 400ms ease; }
@media (hover: hover) and (pointer: fine) { .gcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-card-hover); } }
.gcard-label { color: var(--accent); font-size: 13px; font-weight: 700; }
.gcard h2, .gcard h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.gcard p { flex: 1; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.gcard .pcard-go { margin-top: 6px; }

/* la ressource : le guide complet, chargé depuis son fichier markdown */
.res-hero { width: min(1080px, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-top: 52px; }
.res-hero .tag { display: block; }
.res-hero h1 { max-width: 22ch; margin-top: 12px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.res-hero .post-sub { margin-top: 18px; }
.res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.res-loading { color: var(--ink-3); }
.btn-copied { --face: var(--ok); }
/* le chargement du markdown : des lignes qui respirent, et la place du texte est réservée (le bas de page ne saute plus quand le guide arrive) */
.res-skel { display: grid; gap: 14px; align-content: start; }
.res-skel i { display: block; height: 14px; border-radius: 8px; background: var(--hl); }
.res-skel i:nth-child(3n + 1) { width: 92%; } .res-skel i:nth-child(3n + 2) { width: 100%; } .res-skel i:nth-child(3n) { width: 64%; }
.res-skel i:nth-child(5n) { height: 24px; width: 48%; margin-top: 18px; }
.page-resource .post-body { min-height: 100vh; }
@media (max-width: 760px) {
  .stat-row { grid-template-columns: 1fr; gap: 10px; }
  .stat-card { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 14px 18px; }
  .stat-card .num { font-size: 34px; }
  .stat-card .lbl { margin-top: 0; font-size: 14px; }
  .guide-lead-form { margin-inline: 0; border-radius: 24px; padding: 26px 20px 22px; }
  .res-hero { padding-top: 22px; }
  .res-actions { display: grid; gap: 10px; }
  .res-actions .btn { width: 100%; }
  .gcard { padding: 22px; }
}

/* le texte chargé depuis un fichier markdown (pages « ressource ») et les gras dans le formulaire sombre */
.guide-lead-form strong, .guide-lead-form code, .prose .guide-lead-form strong { color: #fff; }
.guide-lead-form code { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); }
.prose blockquote:not(.pull) { margin-top: 1.6em; padding: 4px 0 4px 22px; border-left: 3px solid var(--line-2); color: var(--ink-2); }
.prose blockquote:not(.pull) p + p { margin-top: 0.7em; }
.prose input[type="checkbox"] { margin-right: 0.5em; accent-color: var(--accent); }
.guide-lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.guide-lead-form .small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ─── Le dock du téléphone : la pastille « Sommaire » (section en cours) et, sur les guides, « Recevoir le guide » ───
   Collé en bas, au-dessus de la barre d'accueil ; se cache en haut de page, devant le formulaire, à la fin, sous le clavier, avec le bandeau cookies (html.vmc-open). */
.vm-dock { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 10px; padding: 0 max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); pointer-events: none; visibility: hidden; opacity: 0; translate: 0 24px; transition: opacity 280ms ease, translate 500ms var(--ease), visibility 0s linear 500ms; }
.vm-dock.is-on { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
html.vmc-open .vm-dock { visibility: hidden; opacity: 0; transition-delay: 0s, 0s, 280ms; }
.vm-dock > * { pointer-events: auto; }
.vm-dock-toc { display: inline-flex; align-items: center; gap: 12px; max-width: calc(100vw - 28px); height: 52px; padding: 0 18px 0 16px; border: 1px solid var(--glass-line); border-radius: var(--r-pill); background: var(--nav-glass); box-shadow: 0 14px 34px -14px rgba(29, 29, 31, 0.45), 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: var(--ink); font: 700 15px/1 var(--font); cursor: pointer; transition: transform 300ms var(--ease-back); }
.vm-dock-toc:active { transform: scale(0.96); }
.vm-dock-toc svg { width: 20px; height: 20px; flex: none; }
.vm-dock-toc svg:last-child { width: 16px; height: 16px; color: var(--ink-3); }
.vm-dock:not(.vm-dock--guide) .vm-dock-toc { width: min(calc(100vw - 28px), 330px); }
.vm-dock-lab { flex: 1; overflow: hidden; min-width: 0; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.vm-dock--guide .vm-dock-toc { width: 52px; padding: 0; justify-content: center; flex: none; }
.vm-dock--guide .vm-dock-toc .vm-dock-lab, .vm-dock--guide .vm-dock-toc svg:last-child { display: none; }
.vm-dock--guide .btn { --h: 52px; flex: 1 1 auto; max-width: 320px; box-shadow: 0 14px 34px -14px rgba(29, 29, 31, 0.55), inset 0 0 0 1px var(--edge); }
.vm-dock--guide .btn .btn-disc .ico { rotate: 90deg; }
@media (min-width: 1101px) { .vm-dock { display: none; } }
@media (max-height: 460px) { .vm-dock { display: none; } }

/* la feuille du sommaire */
.vm-sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--ink); touch-action: none; }
.vm-sheet[open] { display: grid; align-items: end; }
.vm-sheet:focus, .vm-sheet-in:focus, .vm-lb:focus, .vm-lb-scroll:focus { outline: none; }
.vm-sheet::backdrop { background: rgba(8, 8, 10, 0.55); animation: vm-fade 300ms ease both; }
.vm-sheet-in { position: relative; max-height: min(82dvh, 700px); max-height: min(82vh, 700px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding: 0 20px max(18px, env(safe-area-inset-bottom)); border: 1px solid var(--line); border-bottom: 0; border-radius: 28px 28px 0 0; background: var(--surface); box-shadow: 0 -30px 70px -30px rgba(0, 0, 0, 0.6); animation: vm-sheet-in 520ms var(--ease) both; }
@supports (height: 1dvh) { .vm-sheet-in { max-height: min(82dvh, 700px); } }
.vm-sheet.is-closing .vm-sheet-in { animation: vm-sheet-out 280ms var(--ease-io) both; }
.vm-sheet.is-closing::backdrop { animation: vm-fade 280ms ease reverse both; }
.vm-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 14px 0 8px; background: var(--surface); }
.vm-sheet-head::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2); }
.vm-sheet-head .toc-title { margin: 12px 0 0; }
.vm-sheet-x { display: grid; place-items: center; width: 44px; height: 44px; margin: 8px -10px 0 0; padding: 0; border: 0; border-radius: 50%; background: var(--hl); color: var(--ink); cursor: pointer; }
.vm-sheet-x svg { width: 20px; height: 20px; }
.vm-sheet ol { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.vm-sheet li a { display: flex; align-items: baseline; gap: 14px; min-height: 56px; padding: 14px 4px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.vm-sheet li:first-child a { border-top: 0; }
.vm-sheet li a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); flex: none; min-width: 1.7em; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.vm-sheet li a.is-on { color: var(--accent); font-weight: 700; }
.vm-sheet li a.is-on::before { color: var(--accent); }

/* l'image en grand : on la fait glisser pour lire le texte */
.vm-lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: #F5F5F7; }
.vm-lb::backdrop { background: rgba(6, 6, 8, 0.94); }
.vm-lb[open] { display: grid; }
.vm-lb-scroll { display: flex; width: 100%; height: 100%; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; }
.vm-lb[open] .vm-lb-scroll { animation: vm-fade 260ms ease both; }
.vm-lb-scroll picture { display: block; flex: none; width: max(860px, 100vw); margin: auto; padding: 72px 0; }
.vm-lb-scroll img { display: block; width: 100%; height: auto; max-width: none; }
.vm-lb-x { position: fixed; z-index: 2; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; background: rgba(40, 40, 44, 0.7); color: #F5F5F7; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vm-lb-x svg { width: 22px; height: 22px; }
.vm-lb-hint { position: fixed; left: 50%; bottom: max(26px, env(safe-area-inset-bottom)); margin: 0; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-pill); background: rgba(40, 40, 44, 0.72); color: #F5F5F7; font: 700 14px/1 var(--font); white-space: nowrap; pointer-events: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; translate: -50% 8px; transition: opacity 400ms ease, translate 500ms var(--ease); }
.vm-lb-hint.is-on { opacity: 1; translate: -50% 0; }
html.vm-lock { overflow: hidden; }

/* ─── Mouvement ───
   Jouées une fois, à l'arrivée à l'écran (blog.js pose .rv sur ce qui est sous la ligne de flottaison, puis .in).
   Opacité, translate, scale seulement : rien ne bouge la mise en page. Le texte courant ne bouge jamais. */
@keyframes vm-answer { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
@keyframes vm-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes vm-settle { from { scale: 1.07; } to { scale: 1; } }
@keyframes vm-spin { to { rotate: 360deg; } }
@keyframes vm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vm-sheet-in { from { translate: 0 100%; } to { translate: 0 0; } }
@keyframes vm-sheet-out { to { translate: 0 100%; } }
@keyframes vm-pop { 0% { scale: 0.4; opacity: 0; } 55% { scale: 1.14; opacity: 1; } 100% { scale: 1; opacity: 1; } }
@keyframes vm-ring { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.45); } 100% { box-shadow: 0 0 0 26px rgba(48, 209, 88, 0); } }
@keyframes vm-shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
@keyframes vm-glow { 0% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.55), 0 40px 80px -48px rgba(29, 29, 31, 0.7); } 100% { box-shadow: 0 0 0 22px rgba(251, 146, 60, 0), 0 40px 80px -48px rgba(29, 29, 31, 0.7); } }

@media (prefers-reduced-motion: no-preference) {
  /* l'en-tête arrive en cascade, la couverture se pose (zoom léger : elle est visible dès la première image, le LCP ne bouge pas) */
  .post-head > *, .res-hero > *, .hub-hero > * { animation: vm-rise 900ms var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .post-head > :nth-child(2), .res-hero > :nth-child(2), .hub-hero > :nth-child(2) { --i: 1; }
  .post-head > :nth-child(3), .res-hero > :nth-child(3), .hub-hero > :nth-child(3) { --i: 2; }
  .post-head > :nth-child(4), .res-hero > :nth-child(4), .hub-hero > :nth-child(4) { --i: 3; }
  .post-head > :nth-child(5), .res-hero > :nth-child(5), .hub-hero > :nth-child(5) { --i: 4; }
  .res-hero > :nth-child(6), .hub-hero > :nth-child(6) { --i: 5; }
  .post-cover img { animation: vm-settle 1700ms var(--ease) both; }

  .rv { opacity: 0; translate: 0 26px; transition: opacity 800ms var(--ease) var(--d, 0ms), translate 1000ms var(--ease) var(--d, 0ms), scale 1000ms var(--ease) var(--d, 0ms); }
  .rv.rv-in { opacity: 1; translate: 0 0; scale: 1; }
  .rv--card { translate: 0 34px; scale: 0.972; }
  .rv--side { translate: -20px 0; }
  .rv--fig { translate: 0 32px; }
  .rv--fig img { scale: 1.05; transition: scale 1500ms var(--ease) var(--d, 0ms); }
  .rv--fig.rv-in img { scale: 1; }
  .prose h2.rv::before { scale: 0 1; transition: scale 900ms var(--ease) calc(var(--d, 0ms) + 200ms); }
  .prose h2.rv.rv-in::before { scale: 1 1; }
  .pull.rv::before { scale: 1 0; transition: scale 900ms var(--ease) calc(var(--d, 0ms) + 120ms); }
  .pull.rv.rv-in::before { scale: 1 1; }
  .guide-lead-form.rv .bullets li { opacity: 0; translate: 0 10px; transition: opacity 600ms var(--ease) calc(var(--d, 0ms) + 260ms + var(--k, 0) * 90ms), translate 700ms var(--ease) calc(var(--d, 0ms) + 260ms + var(--k, 0) * 90ms); }
  .guide-lead-form.rv.rv-in .bullets li { opacity: 1; translate: 0 0; }
  .lead-success svg { animation: vm-pop 700ms var(--ease-back) 120ms both; border-radius: 50%; }
  .guide-lead-form.is-success .lead-success svg { animation: vm-pop 700ms var(--ease-back) 120ms both, vm-ring 1400ms ease-out 300ms 1 both; }
  .guide-lead-form.is-ping { animation: vm-glow 1300ms ease-out 1; }
  .guide-lead-form input[aria-invalid="true"] { animation: vm-shake 420ms var(--ease) 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.rv-in { opacity: 1 !important; translate: none !important; scale: none !important; transition: none !important; }
}
@media print { .rv { opacity: 1 !important; translate: none !important; scale: none !important; } }
