/*
 * Jornada de vídeos (/videos/<produto>) — tema sempre escuro.
 * Fundo da marca do MSB Desk: noite #0d1a33, auroras verde/azul/marinho
 * desfocadas e grade fina de 44 px (referencia/vitrine-desk/components-brand).
 * Folha autônoma: a página não carrega o style.css do site institucional.
 */

@font-face {
  font-family: 'Inter Desk';
  src: url('/assets/fonts/desk/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins Desk';
  src: url('/assets/fonts/desk/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins Desk';
  src: url('/assets/fonts/desk/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --vd-night: #0d1a33;
  --vd-night-deep: #0a1428;
  --vd-green: #9fca34;
  --vd-green-soft: #b5dc4f;
  --vd-blue: #00b0fc;
  --vd-navy: #163457;
  --vd-text: #e8eef8;
  --vd-muted: rgba(232, 238, 248, 0.7);
  --vd-faint: rgba(232, 238, 248, 0.5);
  --vd-glass: rgba(255, 255, 255, 0.06);
  --vd-glass-strong: rgba(255, 255, 255, 0.1);
  --vd-line: rgba(255, 255, 255, 0.12);
  --vd-focus: #5cc8ff;
  --vd-radius: 18px;
  --vd-font: 'Inter Desk', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --vd-font-brand: 'Poppins Desk', 'Inter Desk', system-ui, sans-serif;
  --vd-gutter: clamp(16px, 5vw, 72px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.vd-locked, html.vd-locked body { overflow: hidden; }

body.vd {
  margin: 0;
  min-height: 100vh;
  background: var(--vd-night);
  color: var(--vd-text);
  font-family: var(--vd-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

body.vd img, body.vd video { display: block; max-width: 100%; }
body.vd button { font: inherit; color: inherit; }
body.vd a { color: inherit; }
body.vd h1, body.vd h2, body.vd h3, body.vd p { margin: 0; }
[hidden] { display: none !important; }

.vd-sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

body.vd :focus { outline: none; }
body.vd :focus-visible {
  outline: 3px solid var(--vd-focus);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ─── Fundo da marca ─────────────────────────────────────────────────────── */
.vd-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(120% 90% at 0% 0%, #142a52 0%, var(--vd-night) 55%, var(--vd-night-deep) 100%);
}
.vd-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.vd-aurora--green {
  top: -12%; left: -8%; width: 46vmax; height: 46vmax;
  background: radial-gradient(circle, rgba(159, 202, 52, 0.75), transparent 62%);
  animation: vd-drift-a 22s ease-in-out infinite alternate;
}
.vd-aurora--blue {
  right: -14%; bottom: -18%; width: 52vmax; height: 52vmax;
  background: radial-gradient(circle, rgba(0, 176, 252, 0.7), transparent 62%);
  animation: vd-drift-b 26s ease-in-out infinite alternate;
}
.vd-aurora--navy {
  top: 30%; left: 35%; width: 34vmax; height: 34vmax;
  background: radial-gradient(circle, rgba(66, 104, 196, 0.6), transparent 65%);
  animation: vd-drift-c 30s ease-in-out infinite alternate;
}
.vd-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 40% 45%, #000 20%, transparent 75%);
}
@keyframes vd-drift-a { to { transform: translate(12%, 10%) scale(1.12); } }
@keyframes vd-drift-b { to { transform: translate(-10%, -12%) scale(1.08); } }
@keyframes vd-drift-c { to { transform: translate(-16%, 8%) scale(0.9); } }

/* ─── Marca ──────────────────────────────────────────────────────────────── */
.vd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.vd-brand__mark { width: 30px; height: 30px; }
.vd-wordmark {
  font-family: var(--vd-font-brand);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
}
.vd-wordmark span { color: var(--vd-blue); }

/* ─── Botões, pílulas, chips ─────────────────────────────────────────────── */
.vd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.vd-btn:hover { transform: translateY(-1px); }
.vd-btn--primary {
  background: linear-gradient(180deg, var(--vd-green-soft), var(--vd-green));
  color: var(--vd-night) !important;
  box-shadow: 0 10px 30px -10px rgba(159, 202, 52, 0.7);
}
.vd-btn--primary:hover { box-shadow: 0 14px 34px -10px rgba(159, 202, 52, 0.85); }
.vd-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--vd-text);
}
.vd-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.vd-btn--light {
  background: #f4f7fc;
  color: var(--vd-night) !important;
  box-shadow: 0 0 0 2px rgba(0, 176, 252, 0.9);
}
.vd-btn--talk {
  background: rgba(159, 202, 52, 0.12);
  border-color: rgba(159, 202, 52, 0.45);
  color: #e6f3c4 !important;
}
.vd-btn--talk:hover { background: rgba(159, 202, 52, 0.22); }
.vd-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.vd-btn--huge { min-height: 60px; padding: 16px 34px; font-size: 18px; }

.vd-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--vd-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--vd-text);
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}
.vd-icon-btn:hover { background: rgba(255, 255, 255, 0.14); }

.vd-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 176, 252, 0.55);
  background: rgba(0, 176, 252, 0.14);
  color: #cdeeff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.vd-kicker {
  color: var(--vd-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vd-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.vd-chip {
  display: inline-flex;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--vd-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--vd-muted);
  font-size: 13px;
  white-space: nowrap;
}

/* ─── Topo e rodapé da vitrine ───────────────────────────────────────────── */
.vd-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--vd-gutter);
  background: rgba(13, 26, 51, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vd-main { padding: 0 var(--vd-gutter) 40px; max-width: 1440px; margin: 0 auto; }

.vd-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 28px var(--vd-gutter) 40px;
  color: var(--vd-muted);
  font-size: 14px;
  text-align: center;
}
.vd-footer a { color: #cdeeff; text-underline-offset: 3px; }

.vd-noscript { padding: 40px var(--vd-gutter); max-width: 760px; margin: 0 auto; }
.vd-noscript ul { line-height: 2; }

/* ─── Destaque (vitrine) ─────────────────────────────────────────────────── */
.vd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 7vh, 88px) 0 clamp(32px, 6vh, 64px);
}
.vd-hero__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.vd-hero__title {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: -0.03em;
  background: linear-gradient(95deg, #ffffff 0%, #ffffff 30%, #cfe9ff 60%, #e6f3c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vd-hero__subtitle { color: var(--vd-muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; }
.vd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.vd-hero__visual { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vd-hero__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.vd-hero__media { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: #08111f; }
.vd-hero__frame-caption {
  position: absolute;
  left: 26px;
  bottom: 22px;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(8, 17, 31, 0.72);
  font-size: 14px;
  color: var(--vd-muted);
}
.vd-hero__frame-caption strong { color: #fff; }
.vd-hero__frame-play {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--vd-green-soft), var(--vd-green));
  color: var(--vd-night);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(159, 202, 52, 0.8);
}
.vd-hero__chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.vd-hero__chapter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--vd-line);
  background: var(--vd-glass);
  font-size: 15px;
  font-weight: 500;
  min-width: 0;
}
.vd-hero__chapter-n {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(159, 202, 52, 0.16);
  color: var(--vd-green);
  font-size: 12px;
  font-weight: 700;
}

.vd-resume-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--vd-line);
  background: var(--vd-glass);
  cursor: pointer;
  text-align: left;
}
.vd-resume-link > span:last-child { display: flex; flex-direction: column; font-size: 14px; }
.vd-resume-link strong { font-size: 15px; }
.vd-resume-link > span:last-child span { color: var(--vd-muted); }

/* ─── Destaque da jornada (/videos/<produto>/<filme>) ────────────────────── */
.vd-journey {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(78vh, 720px);
  margin: 0 calc(var(--vd-gutter) * -1);
  padding: 48px var(--vd-gutter);
  overflow: hidden;
}
.vd-journey__backdrop { position: absolute; inset: 0; z-index: -1; }
.vd-journey__backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.vd-journey__backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 26, 51, 0.96) 0%, rgba(13, 26, 51, 0.7) 45%, rgba(13, 26, 51, 0.2) 100%),
    linear-gradient(0deg, var(--vd-night) 0%, transparent 40%);
}
.vd-journey__content { display: flex; flex-direction: column; gap: 16px; max-width: 640px; align-items: flex-start; }
.vd-journey__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ─── A trilha ───────────────────────────────────────────────────────────── */
.vd-trail { padding: 40px 0 16px; scroll-margin-top: 80px; }
.vd-trail__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.vd-section-title { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.vd-section-subtitle { color: var(--vd-muted); max-width: 640px; margin-top: 6px; }
.vd-trail__arrows { display: flex; gap: 10px; }

.vd-trail__viewport { margin: 0 calc(var(--vd-gutter) * -1); }
.vd-trail__row {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 4px var(--vd-gutter) 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--vd-gutter);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.vd-trail__item {
  position: relative;
  flex: 0 0 clamp(260px, 26vw, 320px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-snap-align: start;
}
/* Linha que liga os cartões, passando pelos números. */
.vd-trail__item::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 34px;
  right: -20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(159, 202, 52, 0.6), rgba(0, 176, 252, 0.4));
}
.vd-trail__item:last-child::before { right: 0; background: linear-gradient(90deg, rgba(0, 176, 252, 0.4), transparent); }
.vd-trail__number {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(159, 202, 52, 0.75);
  background: var(--vd-night);
  color: var(--vd-green);
  font-size: 12px;
  font-weight: 700;
}
.vd-trail__number.is-watched { background: var(--vd-green); color: var(--vd-night); }

.vd-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: 0;
  text-align: left;
  border-radius: var(--vd-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.vd-card:hover,
.vd-card:focus-visible { transform: translateY(-3px); border-color: rgba(159, 202, 52, 0.55); background: rgba(255, 255, 255, 0.09); }
.vd-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #08111f; overflow: hidden; }
.vd-card__poster,
.vd-card__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 17, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition: background-color 200ms ease, color 200ms ease;
}
.vd-card:hover .vd-card__play,
.vd-card:focus-visible .vd-card__play { background: var(--vd-green); color: var(--vd-night); border-color: transparent; }
.vd-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.vd-badge--watched { background: var(--vd-green); color: var(--vd-night); }
.vd-card__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.2); }
.vd-card__progress span { display: block; height: 100%; background: var(--vd-green); }
.vd-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.vd-card__title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vd-card__title { font-size: 17px; }
.vd-card__duration { color: var(--vd-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.vd-card__tagline { color: var(--vd-muted); font-size: 15px; line-height: 1.45; }
.vd-card__chapters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.vd-card__chapters .vd-chip { font-size: 12px; padding: 2px 9px; }

/* ─── Cinema / player ────────────────────────────────────────────────────── */
.vd-cinema {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.vd-cinema__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 22, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.vd-cinema--edge { padding: 0; }
.vd-cinema--edge .vd-cinema__scrim { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }

.vd-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(1180px, 100%);
  max-height: 100%;
  color: var(--vd-text);
}
.vd-stage__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.vd-stage__title-block { display: flex; align-items: center; gap: 12px; min-width: 0; flex-wrap: wrap; }
.vd-stage__title { font-size: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-stage__chapter { color: var(--vd-muted); font-size: 15px; }
.vd-stage__chapter:empty { display: none; }
.vd-stage__chapter::before { content: '·'; margin-right: 10px; color: var(--vd-faint); }
.vd-stage__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.vd-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: calc(100dvh - 250px);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.vd-stage--vertical:not(.vd-stage--edge) .vd-frame { aspect-ratio: 9 / 16; width: auto; height: calc(100dvh - 250px); }
.vd-video { width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }

/* Tela cheia de chegada e celular em pé: o player ocupa a janela inteira e
   os controles flutuam sobre o vídeo. */
.vd-stage--edge {
  position: fixed;
  inset: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  gap: 0;
  background: #000;
}
.vd-stage--edge .vd-frame { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; }
.vd-stage--edge.vd-stage--strip .vd-frame { bottom: 76px; height: auto; }
.vd-stage--edge .vd-stage__head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 10px clamp(12px, 2vw, 24px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35) 70%, transparent);
}
.vd-stage--edge .vd-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 40px clamp(12px, 5vw, 72px) 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.4) 65%, transparent);
}
.vd-stage--edge.vd-stage--strip .vd-controls { bottom: 76px; }
.vd-stage--edge .vd-stage__head,
.vd-stage--edge .vd-controls { transition: opacity 320ms ease; }
.vd-stage.is-chrome-hidden .vd-stage__head,
.vd-stage.is-chrome-hidden .vd-controls { opacity: 0; pointer-events: none; }
.vd-stage.is-chrome-hidden,
.vd-stage.is-chrome-hidden .vd-video { cursor: none; }

/* Estados sobre o vídeo */
.vd-frame__status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.vd-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--vd-green);
  animation: vd-spin 0.9s linear infinite;
}
@keyframes vd-spin { to { transform: rotate(360deg); } }
.vd-frame__error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background: rgba(8, 17, 31, 0.92);
}

.vd-caption {
  position: absolute;
  left: 50%;
  bottom: 6%;
  z-index: 2;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(86%, 900px);
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.74);
  color: #fff;
  font-size: clamp(16px, 1.7vw, 24px);
  line-height: 1.35;
  text-align: center;
  white-space: pre-line;
  pointer-events: none;
  transition: bottom 300ms ease;
}
.vd-stage--edge .vd-caption { bottom: 40px; }
.vd-stage--edge .vd-caption.is-lifted { bottom: 150px; }
.vd-stage--edge:not(:has(.vd-chapters)) .vd-caption.is-lifted { bottom: 118px; }

.vd-unmute {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 26px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 247, 252, 0.95);
  color: var(--vd-night) !important;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.7);
}
.vd-unmute__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--vd-green);
  color: var(--vd-night);
  animation: vd-pulse 2.4s ease-in-out infinite;
}
@keyframes vd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(159, 202, 52, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(159, 202, 52, 0); }
}

.vd-start {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--vd-green-soft), var(--vd-green));
  color: var(--vd-night) !important;
  cursor: pointer;
  box-shadow: 0 20px 60px -15px rgba(159, 202, 52, 0.85);
}

.vd-resume-toast {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.88);
  border: 1px solid var(--vd-line);
  font-size: 14px;
  white-space: nowrap;
}
.vd-stage--edge .vd-resume-toast { top: 80px; }
.vd-resume-toast button {
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.vd-swipe-hint {
  position: absolute;
  left: 50%;
  bottom: 170px;
  z-index: 3;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.82);
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
}

/* "A seguir" */
.vd-upnext {
  position: absolute;
  right: clamp(12px, 3vw, 40px);
  bottom: clamp(12px, 3vw, 32px);
  z-index: 5;
  display: flex;
  gap: 16px;
  align-items: center;
  width: min(460px, calc(100% - 24px));
  padding: 14px;
  border-radius: 18px;
  background: rgba(13, 26, 51, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
}
.vd-stage--edge .vd-upnext { bottom: 160px; }
.vd-upnext__thumb { position: relative; flex: 0 0 150px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.vd-upnext__thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.vd-ring { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vd-ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.vd-ring__track { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 3; }
.vd-ring__progress {
  fill: none;
  stroke: var(--vd-green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  animation-name: vd-ring;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes vd-ring { to { stroke-dashoffset: 0; } }
.vd-upnext__number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.vd-upnext__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vd-upnext__label { color: var(--vd-green); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.vd-upnext__title { font-size: 18px; }
.vd-upnext__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Fim da jornada */
.vd-end {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(80% 80% at 50% 40%, rgba(13, 26, 51, 0.9), rgba(5, 10, 22, 0.96));
}
.vd-end__title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 750;
  letter-spacing: -0.02em;
  background: linear-gradient(95deg, #fff 20%, #cfe9ff 60%, #e6f3c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vd-end__subtitle { max-width: 560px; color: var(--vd-muted); font-size: 17px; }
.vd-end__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* Controles */
.vd-controls { display: flex; flex-direction: column; gap: 8px; }
.vd-timeline { position: relative; height: 22px; display: flex; align-items: center; }
.vd-timeline__track {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.24);
  transition: height 150ms ease;
}
.vd-timeline:hover .vd-timeline__track { height: 6px; }
.vd-timeline__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--vd-green); }
.vd-timeline__tick { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.85); border-radius: 1px; }
.vd-timeline__input {
  position: relative;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.vd-timeline__input::-webkit-slider-runnable-track { height: 22px; background: transparent; }
.vd-timeline__input::-moz-range-track { height: 22px; background: transparent; }
.vd-timeline__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(159, 202, 52, 0.55);
}
.vd-timeline__input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(159, 202, 52, 0.55);
}
.vd-control-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.vd-control-group { display: flex; align-items: center; gap: 4px; }
.vd-ctl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.vd-ctl:hover { background: rgba(255, 255, 255, 0.12); }
.vd-ctl.is-on { background: rgba(0, 176, 252, 0.28); color: #cdeeff; }
.vd-ctl.is-muted { color: var(--vd-faint); }
.vd-clock { margin-left: 8px; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--vd-muted); white-space: nowrap; }
.vd-format {
  display: inline-flex;
  padding: 3px;
  margin-right: 6px;
  border-radius: 999px;
  border: 1px solid var(--vd-line);
  background: rgba(255, 255, 255, 0.05);
}
.vd-format button {
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--vd-muted);
  cursor: pointer;
}
.vd-format button.is-on { background: rgba(255, 255, 255, 0.92); color: var(--vd-night); }

.vd-chapters { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-chapter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--vd-line);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  cursor: pointer;
}
.vd-chapter:hover { background: rgba(255, 255, 255, 0.12); }
.vd-chapter.is-active { border-color: rgba(159, 202, 52, 0.7); background: rgba(159, 202, 52, 0.16); }
.vd-chapter__time {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--vd-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.vd-shortcuts { color: var(--vd-faint); font-size: 13px; }

/* Faixa de miniaturas (celular em pé) */
.vd-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 76px;
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #000;
  border-top: 2px solid rgba(159, 202, 52, 0.45);
}
.vd-strip__item {
  flex: 0 0 38px;
  height: 58px;
  padding: 0;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: #08111f;
  cursor: pointer;
}
.vd-strip__item.is-active { border-color: var(--vd-green); }
.vd-strip__item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Responsivo ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .vd-hero { grid-template-columns: 1fr; }
  .vd-hero__visual { order: -1; }
  .vd-hero__chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .vd-hide-xs { display: none; }
  .vd-stage__head { align-items: flex-start; }
  .vd-stage--landing .vd-stage__title-block { flex-direction: row; flex-wrap: wrap; row-gap: 4px; }
  .vd-stage--landing .vd-wordmark { display: none; }
  .vd-stage__title { font-size: 17px; flex-basis: 100%; }
  .vd-stage__chapter { display: none; }
  .vd-btn--sm { min-height: 42px; padding: 8px 12px; }
  .vd-stage__actions .vd-btn--light .vd-hide-xs { display: inline; }
  .vd-stage__actions .vd-btn--talk { width: 42px; padding: 0; }
  .vd-cinema { padding: 12px; }
  .vd-stage--edge .vd-controls { padding: 30px 12px 8px; }
  .vd-stage--edge .vd-caption.is-lifted { bottom: 170px; }
  .vd-stage--edge .vd-stage__head { background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.7) 75%, transparent); padding-bottom: 18px; }
  .vd-caption { font-size: 16px; }
  .vd-unmute { font-size: 16px; padding-right: 20px; }
  .vd-upnext { flex-direction: column; align-items: stretch; }
  .vd-upnext__thumb { flex-basis: auto; }
  .vd-stage--edge .vd-upnext { bottom: 150px; }
  .vd-format button { padding: 5px 9px; font-size: 12px; }
  .vd-ctl { width: 38px; height: 38px; }
  .vd-trail__arrows { display: none; }
  .vd-hero__frame-caption { left: 18px; bottom: 16px; }
  .vd-hero__frame-play { right: 16px; bottom: 14px; width: 48px; height: 48px; }
  .vd-journey { min-height: 0; padding-top: 120px; }
  .vd-btn--huge { min-height: 54px; padding: 14px 26px; font-size: 17px; }
  .vd-topbar .vd-btn--talk span { display: none; }
  .vd-topbar .vd-btn--talk { width: 44px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vd-aurora { animation: none !important; }
  .vd-unmute__icon,
  .vd-spinner { animation-duration: 0s; animation-iteration-count: 1; }
  .vd-btn, .vd-card, .vd-caption,
  .vd-stage--edge .vd-stage__head,
  .vd-stage--edge .vd-controls { transition: none; }
  .vd-btn:hover, .vd-card:hover, .vd-card:focus-visible { transform: none; }
}
