﻿.filters-content {
    margin-top: 0 !important;
    margin-bottom: 3rem;
}

    .filters-content .video-background iframe {
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 640px;
        z-index: 2;
        -moz-transition: all .33s ease-in-out;
        -o-transition: all .33s ease-in-out;
        -webkit-transition: all .33s ease-in-out;
        transition: all .33s ease-in-out;
        -o-object-fit: fill;
        object-fit: fill;
    }

    .filters-content .video-background.active iframe {
        visibility: visible;
    }

    .filters-content .image-background, .filters-content .video-background {
        height: 640px;
        width: 100%;
        background-size: cover !important;
        z-index: 1;
        -moz-transition: all .33s ease-in-out;
        -o-transition: all .33s ease-in-out;
        -webkit-transition: all .33s ease-in-out;
        transition: all .33s ease-in-out;
    }

        .filters-content .video-background .after {
            position: relative;
            width: 100%;
            height: 640px;
        }

/* Classes utilitárias para substituir estilos inline por causa do CSP */
.custom-logos-wrapper {
    display: flex;
    margin-top: 30px;
}

.logo-item-shrink {
    flex-shrink: 0;
}

.logo-link-block {
    display: block;
}

.img-iso {
    height: 55px;
    width: auto;
    display: block;
}

.egoi-box {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.egoi-text {
    color: white !important;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
    font-size: 13px !important;
    margin-bottom: 6px;
}

.img-egoi {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}

/* Regras apenas para Mobile (até 1023px) */
@media (max-width: 1023px) {
    .legal-title, .legal-list {
        text-align: center !important;
    }

    .legal-bar {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .custom-logos-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    .egoi-box {
        align-items: center !important;
        margin: 30px !important;
    }
}




/* Regras para Desktop (1024px ou mais) */
@media (min-width: 1024px) {
    .custom-logos-wrapper {
        flex-direction: row !important;
        align-items: flex-end !important;
        gap: 30px !important;
       
    }

    .egoi-box {
        align-items: flex-start !important;
    }
}

/* Remove o espaço excessivo abaixo dos logos e da lista legal */
.legal-list {
    margin-bottom: 1.5rem !important; /* Reduzido de 8 para manter proximidade */
}

.custom-logos-wrapper {
    margin-top: 10px !important; /* Ajuste para aproximar do texto legal */
    margin-bottom: 0 !important;
}

/* Garante que a linha branca e os ícones sociais subam */
.footer-bottom-section {
    margin-top: -20px !important; /* Ajuste fino para colmatar o gap */
}
