/* =====================================================================
   Lightbox vanilla — substitui o jQuery Fancybox (150 KB) por ~5 KB.
   Visual equivalente ao fancybox padrão (fundo escuro, setas, contador).
   ===================================================================== */
.vlb-overlay{
  position:fixed;inset:0;z-index:100050;
  background:rgba(24,24,27,.92);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:opacity .25s ease;
  -webkit-user-select:none;user-select:none;
}
.vlb-overlay.vlb-open{opacity:1;visibility:visible}
.vlb-stage{
  position:relative;max-width:92vw;max-height:88vh;
  display:flex;align-items:center;justify-content:center;
}
.vlb-stage img,
.vlb-stage iframe{
  max-width:92vw;max-height:88vh;
  width:auto;height:auto;display:block;
  border-radius:4px;background:#000;
  box-shadow:0 6px 30px rgba(0,0,0,.5);
  opacity:0;transition:opacity .2s ease;
}
.vlb-stage iframe{width:80vw;height:45vw;max-height:88vh}
.vlb-stage img.vlb-loaded,
.vlb-stage iframe.vlb-loaded{opacity:1}
.vlb-btn{
  position:absolute;z-index:100051;
  background:rgba(0,0,0,.4);border:0;cursor:pointer;
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;transition:background .2s ease;
}
.vlb-btn:hover{background:rgba(0,0,0,.7)}
.vlb-btn svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.vlb-close{top:18px;right:18px;position:fixed}
.vlb-prev{left:18px;top:50%;transform:translateY(-50%)}
.vlb-next{right:18px;top:50%;transform:translateY(-50%)}
.vlb-counter{
  position:fixed;top:24px;left:24px;z-index:100051;
  color:#fff;font-size:14px;opacity:.85;
}
.vlb-loading{
  position:absolute;width:42px;height:42px;border-radius:50%;
  border:3px solid rgba(255,255,255,.25);border-top-color:#fff;
  animation:vlb-spin .8s linear infinite;
}
@keyframes vlb-spin{to{transform:rotate(360deg)}}
@media (max-width:767px){
  .vlb-prev{left:6px}.vlb-next{right:6px}
  .vlb-close{top:10px;right:10px}
  .vlb-counter{top:14px;left:14px}
  .vlb-stage iframe{width:94vw;height:53vw}
}
