/* BRF PREVIDENCIA - MOBILE E MICROINTERACOES */

/* BOTOES DO PASSO A PASSO */
#inicio .hero-actions a[href="#passo-a-passo"],
#passo-a-passo .tutorial-cta a,
#passo-a-passo .tutorial-tabs .tab,
#passo-site .brf-zoom-trigger {
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        filter .2s ease !important;
}

@media (hover: hover) {
    #inicio .hero-actions a[href="#passo-a-passo"]:hover,
    #passo-a-passo .tutorial-cta a:hover,
    #passo-a-passo .tutorial-tabs .tab:hover,
    #passo-site .brf-zoom-trigger:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 7px 18px rgba(12,63,150,.18) !important;
        filter: brightness(1.035);
    }
}

/* INDICACAO DISCRETA NO BOTAO PRINCIPAL */
#inicio .hero-actions a[href="#passo-a-passo"] {
    animation: brf-passo-destaque 7s ease-in-out infinite;
}

@keyframes brf-passo-destaque {
    0%, 78%, 100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
    87% {
        box-shadow: 0 0 0 5px rgba(255,255,255,.13);
    }
    94% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

#inicio .hero-actions a[href="#passo-a-passo"]:focus-visible,
#passo-a-passo .tutorial-cta a:focus-visible,
#passo-a-passo .tutorial-tabs .tab:focus-visible,
#passo-site .brf-zoom-trigger:focus-visible {
    outline: 3px solid #FF9A6B !important;
    outline-offset: 3px !important;
}

/* ABAS ATIVAS */
#passo-a-passo .tutorial-tabs .tab.active {
    box-shadow: 0 4px 14px rgba(13,79,189,.15);
}

/* CELULAR E TABLET */
@media (max-width: 768px) {
    #inicio .hero-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    #inicio .hero-actions a {
        min-height: 48px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        text-align: center !important;
    }

    #passo-a-passo .tutorial-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-left: 0 !important;
        max-width: 100% !important;
    }

    #passo-a-passo .tutorial-tabs .tab {
        flex: 1 1 135px !important;
        min-width: 0 !important;
        min-height: 48px !important;
        white-space: normal !important;
    }

    #passo-site,
    #passo-app {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    #passo-a-passo .step-shot img {
        max-width: 100% !important;
        height: auto !important;
    }

    #passo-a-passo .tutorial-cta a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 48px !important;
        max-width: 100% !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    #canais .beneficiary-rules .reference-benefit-grid {
        grid-template-columns: minmax(0,1fr) !important;
    }
}

@media (max-width: 480px) {
    #inicio .hero-actions a {
        width: 100% !important;
        justify-content: center !important;
    }

    #passo-a-passo .tutorial-tabs .tab {
        font-size: 13px !important;
    }
}

/* RESPEITO A PREFERENCIA POR MENOS MOVIMENTO */
@media (prefers-reduced-motion: reduce) {
    #inicio .hero-actions a[href="#passo-a-passo"],
    #passo-a-passo .tutorial-cta a,
    #passo-a-passo .tutorial-tabs .tab,
    #passo-site .brf-zoom-trigger {
        animation: none !important;
        transition: none !important;
    }
}