/* =========================================================
   Video Fullscreen Slider — vfs-style.css v1.0.0
   ========================================================= */

.vfs-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
    font-family: inherit;
}

.vfs-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.vfs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.vfs-slide.vfs-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* Transição slide */
.vfs-wrapper[data-transition="slide"] .vfs-slide {
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0s 0.7s;
    opacity: 1;
}
.vfs-wrapper[data-transition="slide"] .vfs-slide.vfs-active {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.vfs-wrapper[data-transition="slide"] .vfs-slide.vfs-leaving {
    transform: translateX(-100%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Vídeo */
.vfs-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay */
.vfs-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,0) 100%);
    color: #fff;
}

.vfs-title {
    font-size: clamp(1.8rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 16px rgba(0,0,0,.5);
    max-width: 800px;
}

.vfs-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    font-weight: 400;
    margin: 0 0 1.5rem;
    opacity: .92;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
    max-width: 600px;
}

.vfs-btn {
    display: inline-block;
    padding: .75rem 2rem;
    background: #fff;
    color: #111;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 2px;
    text-decoration: none;
    letter-spacing: .03em;
    transition: background .2s, color .2s, transform .15s;
}
.vfs-btn:hover { background: rgba(255,255,255,.85); transform: translateY(-2px); }

/* Setas */
.vfs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,.3);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background .2s, transform .15s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.vfs-arrow:hover { background: rgba(0,0,0,.6); transform: translateY(-50%) scale(1.08); }
.vfs-prev { left: 1.25rem; }
.vfs-next { right: 1.25rem; }

/* Dots */
.vfs-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}
.vfs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s, width .25s;
    flex-shrink: 0;
}
.vfs-dot.vfs-dot-active { background: #fff; transform: scale(1.25); width: 22px; border-radius: 4px; }

/* Progress bar */
.vfs-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,.2);
    z-index: 10;
    overflow: hidden;
}
.vfs-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width linear;
}

/* Erro */
.vfs-empty {
    padding: 2rem;
    background: #f3f3f3;
    border: 2px dashed #ccc;
    color: #666;
    text-align: center;
    border-radius: 4px;
    font-size: .9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .vfs-arrow { width: 40px; height: 40px; }
    .vfs-prev  { left: .75rem; }
    .vfs-next  { right: .75rem; }
    .vfs-dots  { bottom: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .vfs-slide, .vfs-progress-fill, .vfs-arrow, .vfs-dot { transition: none !important; }
}
