/* ===========================================
   SEÇÃO DE LOGOS - MAXIMA REAL ESTATE
   VERSÃO SIMPLIFICADA E FUNCIONAL
   =========================================== */

:root {
    --color-primary: #D8CFAA;
    --color-dark: #252525;
    --color-light: #ffffff;
    --transition: 0.3s ease;
}

/* Seção de Logos */
.maxima-logos-section {
    padding: 40px 0;
    background: var(--color-dark);
    overflow: hidden;
    position: relative;
}

.maxima-logos-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Título */
.logos-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.logos-section-title h2 {
    font-family: 'Nexa black', Montserrat, sans-serif;
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Container Único para AMBAS as linhas */
.logos-container {
    width: 100%;
    overflow: hidden;
}

/* Linha Individual */
.logos-row {
    position: relative;
    margin-bottom: 40px; /* Espaço entre linhas */
    overflow: hidden;
}

.logos-row:last-child {
    margin-bottom: 0;
}

/* Gradientes */
.logos-row::before,
.logos-row::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logos-row::before {
    left: 0;
    background: linear-gradient(to right, var(--color-dark), transparent);
}

.logos-row::after {
    right: 0;
    background: linear-gradient(to left, var(--color-dark), transparent);
}

/* Track - ANIMAÇÃO MUITO MAIS LENTA */
.logos-track {
    display: flex;
    width: max-content;
    gap: 30px;
    padding: 0 20px;
    
    /* VELOCIDADE AJUSTADA - MUITO MAIS LENTO */
    animation: scrollLogos 120s linear infinite !important; /* Força lento */
}

/* Segunda linha - velocidade diferente */
.logos-row:nth-child(2) .logos-track {
    animation: scrollLogosReverse 100s linear infinite !important;
}

/* Item do Logo */
.logo-item {
    flex: 0 0 auto;
    width: 300px; /* Tamanho reduzido para mais suavidade */
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(216, 207, 170, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(216, 207, 170, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) brightness(1);
}

/* ANIMAÇÕES MUITO LENTAS */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLogosReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pausa no hover */
.logos-row:hover .logos-track {
    animation-play-state: paused !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .maxima-logos-section {
        padding: 30px 0;
    }
    
    .logos-section-title {
        margin-bottom: 40px;
    }
    
    .logos-section-title h2 {
        font-size: 1.6rem;
    }
    
    .logo-item {
        width: 250px;
        height: 125px;
    }
    
    .logos-track {
        gap: 20px;
        padding: 0 15px;
    }
    
    .logos-row {
        margin-bottom: 30px;
    }
    
    
}

@media (max-width: 480px) {
    .logo-item {
        width: 200px;
        height: 100px;
        padding: 10px;
    }
    
    .logos-track {
        gap: 15px;
        padding: 0 10px;
    }
    
    .logos-row {
        margin-bottom: 25px;
    }
}