/* ==========================================================================
   PORTAL DE VÍDEOS — MOBILE FIRST LIMPO
========================================================================== */

/* ================= GERAL ================= */

.pagina-videos {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* FUNDO MOBILE */

.pagina-videos::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 10, 30, 0.75), rgba(0, 10, 30, 0.75)),
        url("../img/backgrounds/fundo-bispov-m.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    z-index: -2;
}


/* ================= HEADER ================= */

.main-header-video {
    background-color: var(--azul);
    padding: 15px 1%;
    border-bottom: 3px solid var(--dourado);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.main-header-video .header-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    min-height: 70px;
}

.main-header-video .btn-voltar {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dourado);
    text-decoration: none;
    font-weight: bold;
    margin-right: auto;
}

.main-header-video .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 55px;
}

/* ================= TÍTULOS ================= */

.titulo-secao-v {
    text-align: center;
    margin: 35px 0 40px;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--dourado);
    font-weight: bold;
}

/* ================= DESTAQUES ================= */

.flex-destaques {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-bottom: 55px;
}

/* ==========================================================================
   CARDS DESTAQUE (ILUMINADOS, EFATÁ, OCULTO) - IGUAL AO STYLE.CSS
   ========================================================================== */

/* ================= EFEITO PROFISSIONAL SWIPER ================= */

.rotinasSwiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.rotinasSwiper .swiper-slide {
    display: flex;
    justify-content: center;
}


.card-video-iluminados,
.card-video-efata,
.card-video-oculto,
.card-video-daniel {
    /* Medidas e Comportamento idênticos ao .card-recurso do style.css */
    width: 100%;
    max-width: 300px;
    aspect-ratio: 5/ 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.4s ease;

    /* Configuração de Fundo */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid transparent;

    /* COR DO TEXTO: PRETO (Conforme solicitado) */
    color: #000000;
}

.card-video-iluminados p,
.card-video-efata p,
.card-video-oculto p,
.card-video-daniel p {
    /* 1. Ativa o modelo de caixa necessário */
    display: -webkit-box;

    /* 2. Define a orientação do fluxo */
    -webkit-box-orient: vertical;

    /* 3. Limita o número de linhas */
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Propriedade padrão (para o futuro) */

    /* 4. Esconde o que sobrar */
    overflow: hidden;

    /* 5. Adiciona os "..." caso o texto seja maior */
    text-overflow: ellipsis;

    /* 6. Segurança Extra (Fallback): Se o clamp falhar, 
       a altura máxima impede o texto de sair do card */
    line-height: 1.4;
    /* Altura da linha */
    max-height: 2.8em;
    /* 1.4 x 2 linhas = 2.8em */
}

/* Forçando todos os elementos internos a serem pretos no mobile */
.card-video-iluminados h3,
.card-video-iluminados p,
.card-video-iluminados i,
.card-video-efata h3,
.card-video-efata p,
.card-video-efata i,
.card-video-oculto h3,
.card-video-oculto p,
.card-video-oculto i,
.card-video-daniel h3,
.card-video-daniel p,
.card-video-daniel i {
    color: #000000;
    margin: 4px 0;
}

/* --- ESTADO HOVER (IGUAL AO STYLE.CSS) --- */
.card-video-iluminados:active,
.card-video-efata:active,
.card-video-oculto:active,
.card-video-daniel:active {
    transform: scale(0.97);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--dourado);
}

/* Garante que o texto fique branco quando o fundo escurecer no hover */
.card-video-iluminados:hover h3,
.card-video-iluminados:hover p,
.card-video-efata:hover h3,
.card-video-efata:hover p,
.card-video-oculto:hover h3,
.card-video-oculto:hover p,
.card-video-daniel:hover h3,
.card-video-daniel:hover p {
    color: #ffffff !important;
}

/* --- FUNDOS NO ESTADO NORMAL (Mobile e Desktop) --- */
.card-video-iluminados {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        url('../img/backgrounds/fundo-iluminados.webp') !important;
}

.card-video-efata {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        url('../img/backgrounds/fundo-efata.webp') !important;
}

.card-video-oculto {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        url('../img/backgrounds/fundo-oculto.webp') !important;
}

.card-video-daniel {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        url('../img/backgrounds/fundo-daniel.webp') !important;
}

/* --- FUNDOS NO HOVER (Ao passar o mouse) --- */
.card-video-iluminados:hover {
    background-image: linear-gradient(rgba(0, 20, 50, 0.8), rgba(0, 20, 50, 0.8)),
        url('../img/backgrounds/fundo-iluminados.webp') !important;
}

.card-video-efata:hover {
    background-image: linear-gradient(rgba(0, 20, 50, 0.8), rgba(0, 20, 50, 0.8)),
        url('../img/backgrounds/fundo-efata.webp') !important;
}

.card-video-oculto:hover {
    background-image: linear-gradient(rgba(0, 20, 50, 0.8), rgba(0, 20, 50, 0.8)),
        url('../img/backgrounds/fundo-oculto.webp') !important;
}

.card-video-daniel:hover {
    background-image: linear-gradient(rgba(0, 20, 50, 0.8), rgba(0, 20, 50, 0.8)),
        url('../img/backgrounds/fundo-daniel.webp') !important;
}

/* EFEITO HOVER NOS ÍCONES */

/* 1. Efeito de Zoom (Aumenta o ícone levemente) */
.card-video-iluminados:hover i,
.card-video-efata:hover i,
.card-video-oculto:hover i,
.card-video-daniel:hover i {
    transform: scale(1.2) rotate(5deg);
    /* Aumenta 20% e dá uma leve inclinada */
    transition: transform 0.3s ease;
    /* Deixa o movimento suave */
}

/* 2. Efeito de Brilho Específico (Opcional) */
.card-video-iluminados:hover i {
    color: #fff !important;
    /* Exemplo: ícone fica branco ao passar o mouse */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    /* Brilho em volta */
}

.card-video-efata:hover i {
    color: var(--dourado) !important;
    filter: drop-shadow(0 0 8px var(--dourado));
}

.card-video-oculto:hover i {
    color: #fff !important;
    /* Exemplo: ícone fica branco ao passar o mouse */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    /* Brilho em volta */
}

.card-video-daniel:hover i {
    color: #fff !important;
    /* Exemplo: ícone fica branco ao passar o mouse */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    /* Brilho em volta */
}

/* Garante que o ícone tenha uma transição suave ao sair o mouse também */
.card-video-iluminados i,
.card-video-efata i,
.card-video-oculto i,
.card-video-daniel i {
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

/* ================= BOTÃO ================= */

.btn-acessar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 0;
    padding: 10px 20px;
    background: var(--dourado);
    color: var(--azul);
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    max-width: fit-content;
    white-space: nowrap;
}

/* ================= SUBSEÇÕES ================= */

.subsecao-oracoes {
    margin-top: 55px;
}

.subtitulo-secao-v {
    text-align: center;
    font-size: 1.3rem;
    color: var(--dourado);
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ================= CARROSSEL MOBILE ================= */

.carrossel-3d {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -150px auto 80px;
    padding: 0;

}

.card-video {
    position: absolute;
    left: 50%;
    width: 260px;
    max-width: 80%;
    background: transparent;
    backdrop-filter: blur(15px) brightness(0.8) contrast(120%);
    border-radius: 18px;
    border: 2px solid var(--azul);
    padding: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: auto;
    transform: translateX(-50%) scale(0.5);

}

.card-video h3,
.card-video p,
.card-video i {
    color: var(--dourado);
    /* coloque a cor que quiser */
}

/* Estados */

.card-ativo {
    opacity: 1;
    z-index: 20;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

.card-esquerda {
    opacity: 0.4;
    z-index: 5;
    transform: translateX(-150%) scale(0.75);
}

.card-direita {
    opacity: 0.4;
    z-index: 5;
    transform: translateX(50%) scale(0.75);
}

.card-esquerda,
.card-direita {
    pointer-events: none;

}

.card-video.card-ativo:hover {
    transform: translateX(-50%) scale(1.05) translateY(-12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--dourado);

    /* 👇 Transparência */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) brightness(1.1);
}

.card-video.card-ativo:hover h3,
.card-video.card-ativo:hover p,
.card-video.card-ativo:hover i {
    color: #ffffff !important;
}

/* ================= SETAS ================= */

.carrossel-btn {
    position: absolute;
    top: 75%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--dourado);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--dourado);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carrossel-btn:hover {
    background: var(--dourado);
    color: var(--azul);
    transform: translateY(-50%) scale(1.1);
    /* Aumenta um pouco ao passar o mouse */
}

.carrossel-btn.prev {
    left: 10px;
}

.carrossel-btn.next {
    right: 10px;
}



/* ================= KIDS ================= */

#kids-container,
#visita-profeta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0 60px;
    /* Respiro inferior para o rodapé */
}

/* O card que o JS renderiza */
.card-video-link {
    width: 90%;
    max-width: 350px;
    background: transparent;
    backdrop-filter: blur(10px);
    border: 2px solid var(--azul);
    border-radius: 20px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
}

.card-video-link:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--dourado);

    /* Transparência */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) brightness(1.1);
}

/* Texto branco igual aos outros */
.card-video-link:hover h3,
.card-video-link:hover p,
.card-video-link:hover i {
    color: #ffffff !important;
}

/* Estilo específico para o botão Kids no Portal */
.btn-kids-dynamic {
    background: var(--cor-kids);
    -webkit-tap-highlight-color: transparent;
    color: #000000;
    transition: 0.3s ease;
}

/* Hover (desktop) */
.btn-kids-dynamic:hover {
    background: var(--cor-kids);
    color: #fff;
}

/* Toque (mobile) */
.btn-kids-dynamic:active {
    background: var(--cor-kids);
    color: #fff;
    transform: scale(0.95);
}

/* Acessibilidade */
.btn-kids-dynamic:focus {
    outline: none;
    background: var(--cor-kids);
    color: #fff;
}

@media (hover: hover) {
    .btn-kids-dynamic:hover {
        background: var(--cor-kids);
        color: #fff;
    }

    .card-video-iluminados:hover,
    .card-video-efata:hover,
    .card-video-oculto:hover,
    .card-video-daniel:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
        border-color: var(--dourado);
    }

    .card-video-iluminados:hover h3,
    .card-video-iluminados:hover p,
    .card-video-efata:hover h3,
    .card-video-efata:hover p,
    .card-video-oculto:hover h3,
    .card-video-oculto:hover p,
    .card-video-daniel:hover h3,
    .card-video-daniel:hover p {
        color: #ffffff;
    }
}

/* ================= CSS EXCLUSIVO PARA O FOOTER DOS VÍDEOS ================= */

/* Alvos apenas no footer que tem a classe .footer-videos */
.footer-videos {
    background-color: #000e24 !important;
    padding: 20px 0 !important;
    border-top: 2px solid var(--dourado) !important;
    width: 100% !important;
    display: block !important;
    /* Garante que ele se comporte como bloco */
}

.footer-videos .footer-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 35px !important;
    /* Espaço maior entre os blocos no mobile */
    padding: 0 15px !important;
}

/* Centraliza a logo e a frase */
.footer-videos .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-videos .footer-logo img {
    height: 55px !important;
    /* Um pouco menor no celular */
    margin-bottom: 12px !important;
}

/* Ajusta as Redes Sociais para ficarem em linha no celular também */
.footer-videos .social-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    width: 220px;
    gap: 18px;
}

.footer-videos .social-icons a {
    color: var(--branco);
    transition: 0.3s;
    font-size: 26px;
    padding: 8px;
}



/* Logo da igreja no final da seção social */
.footer-videos .footer-logo-igreja img {
    height: 70px !important;
    margin-top: 10px !important;
}

/* Rodapé final (Copyright) */
.footer-videos .footer-bottom {
    margin-top: 15px !important;
    font-size: 0.75rem !important;
    line-height: 1.5;
}

/* ==========================================================================
   SUBSTITUIÇÃO COMPLETA: RESPONSIVIDADE BLINDADA (MOTO G15 / TABLET / DESKTOP)
========================================================================== */

/* 1. CELULARES (Até 767px) */
@media screen and (max-width: 767px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }


    .card-video-iluminados,
    .card-video-efata,
    .card-video-oculto,
    .card-video-daniel {
        height: auto !important;
        min-height: 185px !important;
        padding: 15px 10px !important;
        background-size: cover !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Título e Texto no modo "em pé" */
    .card-video-iluminados h3,
    .card-video-efata h3,
    .card-video-oculto h3,
    .card-video-daniel h3 {
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
        color: #000 !important;
        line-clamp: 1;
    }

    .card-video-iluminados p,
    .card-video-efata p,
    .card-video-oculto p,
    .card-video-daniel p {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        color: #000 !important;
        margin-bottom: 10px !important;
        line-clamp: 2;
    }

    .btn-acessar {
        margin-top: 5px !important;
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
        display: inline-block !important;
    }

    .footer-videos {
        padding: 15px 0 !important;
    }

    .footer-videos .footer-content {
        gap: 15px !important;
        /* Diminui o espaço entre os blocos empilhados */
    }

    .footer-videos .social-icons {
        gap: 10px;
        /* Deixa os ícones mais juntinhos */
    }
}

/* ================= AJUSTE PARA TELA DEITADA (Até 500px de altura) ================= */
@media screen and (max-height: 500px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }

    .card-video-iluminados,
    .card-video-efata,
    .card-video-oculto,
    .card-video-daniel {
        height: auto !important;
        min-height: 160px !important;
        max-height: 180px !important;
        padding: 10px 6px !important;
        background-size: cover !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 4px !important;
    }

    /* Título e Texto no modo "em pé" */
    .card-video-iluminados h3,
    .card-video-efata h3,
    .card-video-oculto h3,
    .card-video-daniel h3 {
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        font-size: 0.8rem !important;
        color: #000 !important;
        line-clamp: unset;
        max-height: none !important;
        margin: 0 !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .card-video-iluminados p,
    .card-video-efata p,
    .card-video-oculto p,
    .card-video-daniel p {
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
        color: #000 !important;
        margin: 0 !important;
        line-clamp: unset;
        max-height: none !important;
        text-align: center !important;
    }

    .card-video-iluminados i,
    .card-video-efata i,
    .card-video-oculto i,
    .card-video-daniel i {
        font-size: 1.5rem !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .btn-acessar {
        margin-top: auto !important;
        padding: 5px 12px !important;
        font-size: 0.65rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .pagina-videos::before {
        background-image: linear-gradient(rgba(0, 10, 30, 0.75), rgba(0, 10, 30, 0.6)), url("../img/backgrounds/fundo-bispov-d.webp");
        background-position: center;
        background-attachment: fixed;
    }

    .rotinasSwiper {
        width: 100%;
        overflow: hidden;
    }

    .rotinasSwiper .swiper-slide {
        display: flex;
        justify-content: center;
        padding: 5px 0;
    }

    /* Ajusta o header para telas deitadas */
    .main-header-video {
        padding: 8px 1%;
    }

    .main-header-video .header-flex {
        min-height: 50px;
    }

    .main-header-video .logo {
        height: 40px;
    }

    /* Ajusta títulos */
    .titulo-secao-v {
        font-size: 1.2rem;
        margin: 20px 0 25px;
    }

    /* Ajusta footer */
    .footer-videos {
        padding: 10px 0 !important;
    }

    .footer-videos .footer-content {
        gap: 10px !important;
    }

    .footer-videos .footer-logo img {
        height: 40px !important;
    }

    .footer-videos .social-icons {
        gap: 8px;
        width: 180px;
    }

    .footer-videos .footer-logo-igreja img {
        height: 50px !important;
    }

    .footer-videos .footer-bottom {
        font-size: 0.6rem !important;
        margin-top: 8px !important;
    }

}

/* 2. TABLET (768px até 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .titulo-secao-v {
        font-size: 1.8rem;
    }

    .card-video {
        width: 300px;
    }

    .card-video-iluminados,
    .card-video-efata,
    .card-video-oculto,
    .card-video-daniel {
        max-width: 320px;
        min-height: 200px;
        background-size: cover !important;
    }

    .card-video-iluminados h3,
    .card-video-efata h3,
    .card-video-oculto h3,
    .card-video-daniel h3 {
        -webkit-line-clamp: 2 !important;
        font-size: 1.3rem !important;
        line-clamp: 2;
    }


}

/* 3. DESKTOP (A partir de 1024px) */
@media screen and (min-width: 1024px) {
    .pagina-videos::before {
        background-image: linear-gradient(rgba(0, 10, 30, 0.6), rgba(0, 10, 30, 0.6)), url("../img/backgrounds/fundo-bispov-d.webp");
        background-position: center;
        background-attachment: fixed;
    }

    .flex-destaques {
        display: block;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 20px;
        margin-bottom: 20px;
        /* Reduzido para aproximar o título seguinte */
    }

    .swiper-slide {
        pointer-events: auto;
    }

    .rotinasSwiper {
        max-width: 1000px;
        margin: auto;
        padding: 0 50px;
        overflow: hidden !important;
        padding: 0 50px !important;
        /* Dá um respiro para as setas não ficarem em cima do conteúdo */
        position: relative;
        z-index: 20;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: flex !important;
        color: var(--dourado) !important;
        z-index: 9999 !important;
        /* Prioridade máxima de clique */
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        transition: all 0.3s ease;
        cursor: pointer !important;
        pointer-events: auto !important;
        /* Força o elemento a receber cliques mesmo que algo esteja em cima */
        touch-action: manipulation;
    }


    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 24px !important;
        font-weight: bold;
    }

    .swiper-button-next {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 9999 !important;
    }

    .swiper-button-prev {
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--dourado);
        color: var(--azul) !important;
        transform: scale(1.1);
    }


    /* HEADER AJUSTES */
    .main-header-video .header-flex {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 20px;
        justify-content: flex-start;
    }

    .main-header-video .btn-voltar {
        margin-right: 0 !important;
        position: relative;
        z-index: 10;
    }

    .main-header-video .logo {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }



    .card-video-iluminados,
    .card-video-efata,
    .card-video-oculto,
    .card-video-daniel {
        justify-content: space-between;
        padding: 18px;
    }

    .card-video-iluminados .btn-acessar,
    .card-video-efata .btn-acessar,
    .card-video-oculto .btn-acessar,
    .card-video-daniel .btn-acessar {
        margin-top: auto;
    }

    /* título */
    .card-video-iluminados h3,
    .card-video-efata h3,
    .card-video-oculto h3,
    .card-video-daniel h3 {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    /* textos */
    .card-video-iluminados p,
    .card-video-efata p,
    .card-video-oculto p,
    .card-video-daniel p {
        font-size: 0.6rem;
        margin-bottom: 0.5px;
    }

    /* botão */
    .btn-acessar {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .card-em-breve {
        opacity: 0.8;
        filter: grayscale(0.3);
        cursor: default !important;
    }

    .card-em-breve .btn-acessar {
        background: #555 !important;
        border-color: #777 !important;
        color: #aaa !important;
    }



    /* === AJUSTE DO CARROSSEL E SUBSEÇÕES === */

    .subsecao-oracoes {
        margin-top: 25px;
        /* Reduz o espaço entre os cards de cima e o título "Orações" */
    }

    .carrossel-3d {
        /* O "pulo do gato": margin-top negativo aproxima do título de cima 
           e a altura controlada aproxima do título de baixo */
        margin: -40px auto 20px;
        height: 350px;
        overflow: visible;
        /* Garante que os cards laterais NÃO sumam */
        z-index: 1;
    }

    /* Reposiciona os cards para ficarem centralizados no novo espaço */
    .card-video {
        top: 50%;
        transform: translate(-50%, -50%) scale(0.5);
    }

    .card-ativo {
        transform: translate(-50%, -50%) scale(1) !important;
    }

    .card-esquerda {
        transform: translate(-140%, -50%) scale(0.75) !important;
        opacity: 0.4;
    }

    .card-direita {
        transform: translate(40%, -50%) scale(0.75) !important;
        opacity: 0.4;
    }

    /* Botões de navegação centralizados verticalmente */
    .carrossel-btn {
        top: 50%;
        transform: translateY(-50%);
    }

    /* FOOTER DESKTOP (Mantendo seu estilo) */

    /* ==========================================================================
   AJUSTE FINAL FOOTER VÍDEOS - DESKTOP (1024px+)
   ========================================================================== */


    .footer-videos {
        background: #000a1e !important;
        /* Cor sólida para evitar transparências no final */
        padding: 10px 5% !important;
        /* Reduzido de 20px para 10px */
        margin-top: 50px;
        border-top: 1px solid var(--dourado);
        width: 100%;
    }


    .footer-videos .footer-content {
        display: grid;
        grid-template-columns: 1fr 1.2fr 1fr;
        align-items: center;
        text-align: left;
    }

    .footer-videos .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* CENTRALIZA horizontalmente */
        text-align: center;
    }

    .footer-videos .footer-logo img {
        margin-bottom: 10px;
        height: 40px;
    }


    /* Navegação centralizada e discreta */
    .footer-videos .footer-links ul {
        gap: 20px !important;
    }

    .footer-videos .footer-links a {
        font-size: 12px !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .footer-videos .social-icons {
        display: flex !important;
        /* Força o comportamento em linha */
        flex-direction: row !important;
        /* Garante que fiquem lado a lado */
        flex-wrap: nowrap !important;
        /* Impede que eles pulem para baixo no desktop */
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        /* Espaçamento entre os ícones */
        width: auto !important;
        /* Remove larguras fixas que causam quebra */
        margin: 0 auto !important;
    }

    /* 2. Estilo individual de cada ícone/link */
    .footer-videos .social-icons a {
        color: #ffffff !important;
        /* Cor branca ou var(--branco) */
        font-size: 20px !important;
        /* Tamanho elegante para desktop */
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        opacity: 0.8;
    }

    /* 3. Efeito de Hover (Passar o mouse) */
    .footer-videos .social-icons a:hover {
        opacity: 1;
        color: var(--dourado) !important;
        transform: translateY(-3px);
        /* Leve subida ao interagir */
    }

    /* Copyright em linha única */
    .footer-videos .footer-bottom {
        margin-top: 8px !important;
        padding-top: 8px !important;
        font-size: 10px !important;
    }



    /* 4. Ajuste Responsivo (Caso precise quebrar em telas MUITO pequenas como iPhone SE) */
    @media screen and (max-width: 400px) {

        .footer-videos .social-icons {
            flex-wrap: wrap !important;
            /* Permite quebrar apenas em celulares minúsculos */
            gap: 15px 10px;
        }

        .footer-videos .footer-logo-igreja img {
            height: 65px !important;
            margin: 0 !important;
        }

        /* Copyright em linha única */
        .footer-videos .footer-bottom {
            margin-top: 8px !important;
            padding-top: 8px !important;
            font-size: 9px !important;
        }

    }
}

/* FORÇA O BOTÃO "EM BREVE" A FICAR CINZA EM QUALQUER TELA */
.card-em-breve .btn-acessar {
    background-color: #555 !important;
    color: #aaa !important;
    border-color: #777 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}