/* ============================================================
   NIVELA LANDING — video-real.css
   Vídeos reais do app (templates/_video_real.html + js/video-real.js)
   em moldura de navegador ou de celular. Usado no /tour e em Funcionalidades.
   Só opacidade/transform animam (nada de filter/box-shadow em loop).
   ============================================================ */

.vr { margin: 0; }
.vr-frame {
  position: relative; overflow: hidden;
  border-radius: 14px; background: #0d0a13; border: 1px solid var(--border-2);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 30px 110px -60px var(--accent-glow);
}
.vr-bar {
  display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px;
  background: #16111f; border-bottom: 1px solid rgba(255,255,255,.06);
}
.vr-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); flex: none; }
.vr-bar em {
  flex: 1; max-width: 360px; height: 21px; margin-left: 10px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; background: rgba(255,255,255,.05);
  font-style: normal; font-size: 11.5px; color: #9A94A8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vr-bar em b { font-weight: 400; color: #6f6980; }

.vr-tela { position: relative; overflow: hidden; background: #0A0710; }
.vr-video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

/* linha de progresso: mostra que é um vídeo andando, sem chamar atenção */
.vr-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.06); pointer-events: none; }
.vr-prog i {
  display: block; height: 100%; transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}

.vr-btn {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  background: rgba(10,7,16,.78); color: #fff; font-size: 18px; cursor: pointer;
  opacity: 0; transform: translate3d(0,4px,0);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.vr-btn--cheia { right: 58px; font-size: 15px; }
.vr-btn[hidden] { display: none; }
.vr-tela:hover .vr-btn, .vr-btn:focus-visible, .vr.is-parado .vr-btn { opacity: 1; transform: none; }
.vr-btn:hover { border-color: rgba(201,173,255,.55); }
.vr-btn:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 2px; }
@media (hover: none) { .vr-btn { opacity: .92; transform: none; } }

/* celular: o vídeo já traz o topo da página de agendamento */
.vr--celular .vr-frame { max-width: 318px; margin: 0 auto; border-radius: 40px; border: 8px solid #221B30; }
.vr--celular .vr-tela { border-radius: 32px; }
.vr--celular .vr-btn { right: 14px; bottom: 16px; }
.vr--celular .vr-btn--cheia { display: none; }  /* o celular já é a tela inteira do vídeo */

@media (prefers-reduced-motion: reduce) {
  .vr-btn { opacity: 1; transform: none; transition: none; }
}
