/* ═══════════════════════════════════════════════
   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;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.15s;
}

/* ── Top brand: Campa Inc. logo ── */
.aba-capa .hero-brand-top {
    position: absolute;
    top: clamp(28px, 6vh, 56px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    opacity: 0;
    animation: heroFadeDown 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.aba-capa .hero-campa-logo {
    height: clamp(30px, 4.5vw, 46px);
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.5));
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.aba-capa .hero-brand-top:hover .hero-campa-logo {
    opacity: 1;
    transform: scale(1.03);
}

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

.aba-capa .hero-eyebrow {
    display: block;
    font-size: clamp(11px, 1.4vw, 14px);
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(150, 175, 255, 0.9);
    margin: 0 0 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.aba-capa .hero-title {
    font-size: clamp(64px, 13vw, 168px);
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin: 0 0 22px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(120, 150, 255, 0.9) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aba-capa .hero-subtitle {
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    margin: 0 auto;
    max-width: 560px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ── Bottom brand: Moove 3D signature ── */
.aba-capa .hero-moove {
    position: absolute;
    bottom: clamp(28px, 6vh, 52px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    transition: transform 0.3s ease;
}
.aba-capa .hero-moove:hover { transform: translateX(-50%) translateY(-3px); }
.aba-capa .hero-moove-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.aba-capa .hero-moove-logo {
    height: clamp(20px, 2.6vw, 28px);
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.aba-capa .hero-moove:hover .hero-moove-logo { opacity: 1; }

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
    to   { opacity: 0.95; transform: translateX(-50%) translateY(0); }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

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