/* ===========================
   HERO CTA – BLACK ENCERRADA
   =========================== */

.cta-primary.cta-finished {
    position: relative;
    pointer-events: none;      /* Desativa cliques */
    cursor: not-allowed;       /* Cursor de desativado */
    overflow: hidden;          /* Garante que a tarja não vaze das bordas */

    /* Sobrescreve o visual colorido original para algo "preto e branco" */
    background: linear-gradient(135deg, #111111, #050505);
    border: 1px solid #444444;
    color: #a0a0a0;

    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.85);
    opacity: 0.9;
}

/* Garante que hover não volte o brilho original */
.cta-primary.cta-finished:hover {
    background: linear-gradient(135deg, #111111, #050505);
    border-color: #444444;
    color: #a0a0a0;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.85);
}

/* Tarja diagonal "ACABOU A BLACK" em chip com fundo cheio */
.cta-primary.cta-finished::after {
    content: "ACABOU A BLACK";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-16deg);

    /* Fundo usando a mesma cor da borda */
    background: #ff1744;

    /* Borda neon mantida */
    border: 2px solid #ff1744;

    /* Texto branco, sem neon */
    color: #ffffff;

    padding: 0.4rem 1.8rem;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-align: center;
    white-space: nowrap;
    border-radius: 999px;

    /* Glow só no chip (borda/fundo), não no texto */
    box-shadow:
        0 0 4px rgba(255, 23, 68, 0.8),
        0 0 10px rgba(255, 23, 68, 0.7),
        0 0 20px rgba(255, 23, 68, 0.5);

    text-shadow: none;

    z-index: 2;
}

/* Ajustes finos para telas menores – HERO CTA */
@media (max-width: 480px) {
    .cta-primary.cta-finished::after {
        font-size: 0.68rem;
        padding: 0.3rem 1.4rem;
        transform: translate(-50%, -50%) rotate(-14deg);
        letter-spacing: 0.12em;
    }
}


/* ===========================
   BOTÕES DE CATEGORIA – BLACK ENCERRADA
   (.mini-cta dos 8 cards)
   =========================== */

.mini-cta.mini-cta-finished {
    position: relative;
    pointer-events: none;      /* Desativa cliques */
    cursor: not-allowed;
    overflow: hidden;

    /* Modo preto e branco semelhante ao hero */
    background: linear-gradient(135deg, #111111, #050505);
    border: 1px solid #444444;
    color: #a0a0a0;

    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.8);
}

/* Evita hover "reativar" visual */
.mini-cta.mini-cta-finished:hover {
    background: linear-gradient(135deg, #111111, #050505);
    border-color: #444444;
    color: #a0a0a0;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.8);
}

/* Chip diagonal "ACABOU A BLACK" para os botões de categoria */
.mini-cta.mini-cta-finished::after {
    content: "ACABOU A BLACK";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-14deg);

    background: #ff1744;
    border: 2px solid #ff1744;
    color: #ffffff;

    padding: 0.2rem 0.9rem;
    font-weight: 800;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    white-space: nowrap;
    border-radius: 999px;

    box-shadow:
        0 0 4px rgba(255, 23, 68, 0.8),
        0 0 10px rgba(255, 23, 68, 0.7),
        0 0 20px rgba(255, 23, 68, 0.5);

    text-shadow: none;
    z-index: 2;
}

/* Ajustes finos para telas menores – botões de categoria */
@media (max-width: 480px) {
    .mini-cta.mini-cta-finished::after {
        font-size: 0.55rem;
        padding: 0.18rem 0.7rem;
        transform: translate(-50%, -50%) rotate(-12deg);
        letter-spacing: 0.1em;
    }
}

/* ===========================
   HERO VIDEO – BORDA NEON
   =========================== */

.hero-video-wrapper {
    margin: 2rem auto 2.5rem;
    max-width: 640px;
    padding: 3px; /* “filete” para o glow em volta */
    border-radius: 1.5rem;

    /* Paleta próxima do contador: amarelo/laranja/vermelho */
    background: linear-gradient(135deg, #FBCD17, #FFEA00, #D90000);

    /* Glow neon similar ao clima do ticker */
    box-shadow:
        0 0 10px rgba(251, 205, 23, 0.8),
        0 0 18px rgba(255, 234, 0, 0.7),
        0 0 26px rgba(217, 0, 0, 0.6);
}

.hero-video-shell {
    position: relative;
    border-radius: 1.3rem;
    overflow: hidden;
    background: #000; /* fundo preto para não “vazar” borda */
}

.hero-video-shell video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Overlay central com ícone gigante play/pause */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Desktop: aparece no hover. Qualquer lugar: aparece quando estiver pausado (classe is-active) */
.hero-video-shell:hover .hero-video-overlay,
.hero-video-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ícone principal circular com borda neon */
.hero-video-icon {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    border: 3px solid #FBCD17;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 10px rgba(251, 205, 23, 0.9),
        0 0 20px rgba(255, 234, 0, 0.8),
        0 0 30px rgba(217, 0, 0, 0.6);

    background: rgba(0, 0, 0, 0.55);
    position: relative;
}

/* Estado PAUSE: duas barras verticais */
.hero-video-icon--pause::before,
.hero-video-icon--pause::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 44px;
    background: #ffffff;
    border-radius: 4px;
}

.hero-video-icon--pause::before {
    transform: translateX(-12px);
}

.hero-video-icon--pause::after {
    transform: translateX(12px);
}

/* Estado PLAY: triângulo */
.hero-video-icon--play::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 32px solid #ffffff;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    transform: translateX(4px);
}

.hero-video-icon--play::after {
    content: none;
}

/* Ajuste leve em telas menores */
@media (max-width: 480px) {
    .hero-video-wrapper {
        margin: 1.5rem auto 2rem;
        border-radius: 1.25rem;
    }

    .hero-video-shell {
        border-radius: 1.15rem;
    }
}
