/* CBM — vídeos no estilo Reels: um cartão vertical por vez, só o vídeo da vez é baixado */
.vf-pagina { padding: 1rem 0 3rem; }
.vf-grade { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.vf-lateral { display: none; }
.vf-titulo { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.12; margin: .3rem 0 .7rem; }
.vf-sub { color: var(--tinta-2); max-width: 44ch; margin-bottom: 1.2rem; }
.vf-acoes { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 1rem; }
.vf-aviso { font-size: .76rem; color: var(--tinta-2); }
.vf-info { background: var(--superficie); border: 1px solid var(--linha, rgba(0, 0, 0, .08)); border-radius: 16px; padding: 1rem 1.1rem; min-height: 6.5rem; box-shadow: var(--sombra); }
.vf-info b { display: block; font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; margin-bottom: .35rem; color: var(--tinta); }
.vf-info p { font-size: .9rem; color: var(--tinta-2); line-height: 1.5; }
.vf-info small { display: block; margin-top: .55rem; font-size: .74rem; color: var(--tinta-2); letter-spacing: .02em; }

/* palco com rolagem em "encaixe" */
.vf-palco { position: relative; display: flex; justify-content: center; }
.vf-feed {
  width: min(100%, 420px); height: calc(100dvh - 170px); min-height: 440px; max-height: 820px;
  overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none;
  border-radius: 22px; background: #07211a; outline-offset: 3px;
}
.vf-feed::-webkit-scrollbar { display: none; }
.vf-item { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; background: #07211a; overflow: hidden; }
.vf-capa, .vf-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #07211a; }
.vf-video { z-index: 1; }
.vf-degrade { position: absolute; inset: auto 0 0 0; height: 55%; z-index: 2; pointer-events: none; background: linear-gradient(transparent, rgba(3, 14, 10, .82)); }
.vf-texto { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1rem 1.1rem 1.15rem; color: #fff; pointer-events: none; }
.vf-texto .vf-data { display: inline-block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--dourado-claro); margin-bottom: .3rem; }
.vf-texto h2 { font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; color: #fff; }
.vf-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4; background: rgba(255, 255, 255, .22); }
.vf-barra i { display: block; height: 100%; width: 0; background: var(--dourado); }

.vf-toque { position: absolute; inset: 0; z-index: 3; width: 100%; background: none; border: 0; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.vf-play { width: 68px; height: 68px; border-radius: 50%; background: rgba(7, 33, 26, .68); border: 2px solid rgba(255, 255, 255, .8); display: grid; place-items: center; color: #fff; backdrop-filter: blur(6px); transition: opacity .2s, transform .2s; }
.vf-play svg { width: 28px; height: 28px; margin-left: 3px; }
.vf-item.tocando .vf-play { opacity: 0; transform: scale(.8); }
.vf-lateral-btns { position: absolute; right: .7rem; top: .7rem; z-index: 5; display: flex; flex-direction: column; gap: .5rem; }
.vf-lateral-btns button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(7, 33, 26, .62); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.vf-lateral-btns svg { width: 20px; height: 20px; }
.vf-lateral-btns button:focus-visible, .vf-toque:focus-visible { outline: 3px solid var(--dourado); outline-offset: -3px; }

.vf-nav { display: none; }
.vf-fim { height: 100%; scroll-snap-align: start; display: grid; place-items: center; text-align: center; color: #cfe0d6; padding: 2rem; background: #07211a; }
.vf-fim b { display: block; font-family: var(--serif); font-size: 1.2rem; color: #fff; margin-bottom: .5rem; }

/* lista de todos (também ajuda quem chega por busca) */
.vf-todos { margin-top: 2.4rem; }
.vf-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.vf-mini { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 9 / 16; background: #07211a; cursor: pointer; text-align: left; box-shadow: var(--sombra); }
.vf-mini img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.vf-mini:hover img { transform: scale(1.04); }
.vf-mini span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .7rem .7rem; color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.25; background: linear-gradient(transparent, rgba(3, 14, 10, .88)); }
.vf-mini em { position: absolute; top: .5rem; left: .5rem; font-style: normal; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; background: var(--dourado); color: #07211a; padding: .15rem .5rem; border-radius: 99px; }
.vf-mais { text-align: center; margin-top: 1.4rem; }

@media (min-width: 560px) { .vf-lista { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .vf-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr); gap: 2.4rem; align-items: center; padding-top: 1rem; }
  .vf-lateral { display: block; justify-self: end; max-width: 420px; }
  .vf-feed { height: min(78dvh, 760px); }
  .vf-nav { display: flex; flex-direction: column; gap: .6rem; position: absolute; right: -4.2rem; top: 50%; transform: translateY(-50%); }
  .vf-palco { justify-self: stretch; grid-column: 2; }
  .vf-lateral { grid-column: 1; grid-row: 1; }
  .vf-lista { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 899px) {
  .vf-pagina { padding-top: .4rem; }
  .vf-feed { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .vf-mini img, .vf-play { transition: none; } }
@media print { .vf-pagina { display: none; } }
