/* ═══════════════════════════════════════════════
   Capa Tab — Moove 3D · Clean rebuild
   ═══════════════════════════════════════════════ */

.aba-capa {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.aba-capa .hero-section {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aba-capa .hero-poster,
.aba-capa .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.aba-capa .hero-poster {
    z-index: 0;
}

.aba-capa .hero-video {
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.aba-capa .hero-video.playing {
    opacity: 1;
}

.aba-capa .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.35) 0%,
        rgba(10, 10, 15, 0.55) 60%,
        rgba(10, 10, 15, 0.85) 100%
    );
    pointer-events: none;
}

.aba-capa .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px;
    max-width: 100%;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.15s;
}

.aba-capa .hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.aba-capa .hero-title {
    font-size: clamp(40px, 7vw, 92px);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(120, 150, 255, 0.85) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aba-capa .hero-subtitle {
    font-size: clamp(16px, 2.4vw, 22px);
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .aba-capa .hero-content {
        padding: 20px;
    }
    .aba-capa .hero-title {
        margin-bottom: 14px;
    }
    /* on mobile, leave room above the floating bottom nav */
    .aba-capa .hero-section {
        padding-bottom: calc(var(--mobile-nav-height, 80px) + 20px);
    }
}
