/* KORIUM · V5 · « Le voyage d'une goutte » (guide osmoseur, 24/11). Va avec /assets/js/voyage-osmose.js */
.vo-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.vo { --bleu-vo: #3FA5EE; --marine-vo: #0B2A4A; position: relative; height: calc(var(--n) * 78svh + 100svh); margin-block: clamp(10px, 2vw, 24px); }
.vo__pin { position: sticky; top: clamp(84px, 9vh, 104px); height: calc(100svh - clamp(96px, 11vh, 124px)); display: grid; align-items: center; }
.vo__carte { position: relative; display: grid; gap: clamp(14px, 2vw, 26px); padding: clamp(22px, 3vw, 44px) clamp(18px, 3vw, 48px) clamp(16px, 2vw, 26px); border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px var(--l-line, rgba(11, 42, 74, 0.08)), 0 40px 90px rgba(11, 42, 74, 0.1); overflow: hidden; }
.vo__haut { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 64px); align-items: center; }

/* la loupe */
.vo__loupe { position: relative; aspect-ratio: 1; width: min(100%, 46svh); justify-self: center; }
.vo__medias { position: absolute; inset: 7px; border-radius: 50%; overflow: hidden; background: #E8F2FB; box-shadow: inset 0 0 0 1px rgba(11, 42, 74, 0.08), 0 30px 70px rgba(31, 127, 209, 0.25); }
.vo__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 0.7s ease, transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.vo__v.is-on { opacity: 1; transform: scale(1); }
.vo__anneau { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.vo__anneau-fond { fill: none; stroke: rgba(11, 42, 74, 0.08); stroke-width: 1.4; }
.vo__anneau-prog { fill: none; stroke: var(--bleu-vo); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 3px rgba(63, 165, 238, 0.6)); }
.vo__ia { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 10px rgba(11, 42, 74, 0.1); font-size: 11.5px; color: var(--ink-3, #5b6b7d); white-space: nowrap; }

/* le texte */
.vo__kick { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu-vo); font-weight: 600; }
.vo__cpt { font-family: var(--mono, monospace); letter-spacing: 0; color: var(--ink-3, #5b6b7d); font-weight: 400; }
.vo__cpt b { color: var(--marine-vo); font-weight: 600; font-size: 1.5em; }
.vo .vo__txt h3.vo__t { margin: 0; font: 400 clamp(1.9rem, 1.2rem + 2.2vw, 3.3rem)/1.04 var(--display, inherit); letter-spacing: -0.03em; color: var(--marine-vo); }
.vo__s { margin: 8px 0 0; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); color: var(--bleu-vo); }
.vo__x { margin: 16px 0 0; max-width: 44ch; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem); line-height: 1.6; color: var(--ink-2, #34465a); }
.vo__txt.is-entre .vo__t, .vo__txt.is-entre .vo__s, .vo__txt.is-entre .vo__x { animation: voEntre 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.vo__txt.is-entre .vo__s { animation-delay: 0.06s; } .vo__txt.is-entre .vo__x { animation-delay: 0.12s; }
@keyframes voEntre { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* jauge de pureté */
.vo__purete { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 22px; max-width: 420px; font-size: 12px; color: var(--ink-3, #5b6b7d); }
.vo__purete i { position: relative; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #A88A63, #9DB8CF 55%, #3FA5EE); opacity: 0.25; overflow: visible; }
.vo__purete b { position: absolute; top: 50%; left: calc(var(--purete, 0.08) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--bleu-vo), 0 4px 14px rgba(63, 165, 238, 0.5); transition: left 0.9s cubic-bezier(0.34, 1.3, 0.64, 1); }
.vo__purete i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; opacity: 0; }

/* le tuyau et les étapes */
.vo__bas { position: relative; padding-bottom: 26px; }
.vo__tuyau { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.vo__st { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.vo__st button { display: grid; justify-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.vo__dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--bleu-vo); box-shadow: inset 0 0 0 1.5px rgba(31, 127, 209, 0.45); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s, color 0.4s, box-shadow 0.5s; }
.vo__dot svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vo__lab { font-size: 13.5px; font-weight: 600; color: var(--ink-3, #5b6b7d); text-align: center; line-height: 1.25; transition: color 0.3s; }
.vo__st li.is-passe .vo__dot { box-shadow: inset 0 0 0 1.5px var(--bleu-vo); }
.vo__st li.is-on .vo__dot { transform: scale(1.14); background: var(--marine-vo); color: #fff; box-shadow: 0 0 0 7px rgba(63, 165, 238, 0.16), 0 0 30px rgba(63, 165, 238, 0.55); }
.vo__st li.is-on .vo__lab { color: var(--marine-vo); }
.vo__st button:focus-visible .vo__dot { outline: 2px solid var(--bleu-vo); outline-offset: 4px; }
.vo__egout { position: absolute; left: calc(100% / var(--n) * 2.5); bottom: 0; transform: translateX(-50%); margin: 0; font-size: 11.5px; color: #B57A22; white-space: nowrap; }
.vo__cap { margin: 0; text-align: center; font-size: 13px; color: var(--ink-3, #5b6b7d); }

/* tablette et téléphone */
@media (max-width: 860px) {
  .vo { height: calc(var(--n) * 70svh + 100svh); }
  .vo__pin { top: 72px; height: calc(100svh - 80px); }
  .vo__carte { gap: 12px; padding: 16px 14px 12px; border-radius: 20px; }
  .vo__haut { grid-template-columns: 1fr; gap: 12px; justify-items: center; text-align: center; }
  .vo__loupe { width: min(64vw, 30svh); }
  .vo__kick { justify-content: center; margin-bottom: 6px; font-size: 11.5px; }
  .vo .vo__txt h3.vo__t { font-size: clamp(1.45rem, 1.1rem + 2.4vw, 2rem); }
  .vo__s { margin-top: 4px; font-size: 0.95rem; }
  .vo__x { margin: 8px auto 0; font-size: 0.95rem; line-height: 1.5; }
  .vo__purete { display: none; }
  .vo__dot { width: 40px; height: 40px; } .vo__dot svg { width: 18px; height: 18px; }
  .vo__lab { display: none; }
  .vo__st li.is-on .vo__lab { display: none; }
  .vo__cap { font-size: 11.5px; }
  .vo__egout { font-size: 10.5px; }
}
@media (max-height: 640px) and (max-width: 860px) { .vo__x { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .vo__v, .vo__txt *, .vo__dot, .vo__purete b { transition: none !important; animation: none !important; }
}
.vo__lab { position: relative; padding: 1px 6px; border-radius: 6px; background: #fff; }
