/* =========================================
   BRANDS / LEGADO (Vídeo Grande Desktop / Compacto Mobile)
   ========================================= */

:root {
    --brands-text: #4c4c4c;
    --brands-title: #0c0407;
    --brands-font: 'Inter', sans-serif;
}

.brands-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.brands-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

/* --- Títulos e Textos --- */
.about-title {
    font-family: var(--brands-font);
    color: rgba(12, 4, 7, 0.4);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: -28px;
}

.about-title-black {
    color: var(--brands-title);
    display: block;
}

.brands-text {
    font-family: var(--brands-font);
    font-size: 16px;
    color: var(--brands-text);
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-transform: none !important;
}

.brands-text-black {
    color: var(--brands-title);
    font-weight: 700;
}

/* --- Colunas --- */
.brands-text-wrap {
    flex: 1;
    min-width: 300px;
}

/* =========================================
   ESTILO DO VÍDEO (DESKTOP - GRANDE)
   ========================================= */
.brands-thumb-wrap {
    flex: 1.5; /* Ocupa mais largura que o texto no desktop */
    position: relative;
    width: 100%;
    
    /* AQUI ESTÁ O AJUSTE PARA FICAR MAIOR NO DESKTOP: */
    min-height: 550px; /* Aumentei de 400px para 550px */
    height: 100%;
    
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

/* Força o reset dos estilos inline bugados do Webflow */
.brands-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important; 
    opacity: 1 !important;
    z-index: 1;
}

.brands-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* =========================================
   RESPONSIVIDADE (MOBILE - COMPACTO)
   ========================================= */

@media (max-width: 991px) {
    .brands-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    /* Tablet um pouco menor */
    .brands-thumb-wrap {
        min-height: 400px;
        flex: 1;
    }
}

@media (max-width: 767px) {
    .brands-section { padding: 40px 0; }
    
    .about-title { font-size: 32px; }
    
    /* MOBILE: Mantém pequeno e ajustado como você gostou */
    .brands-thumb-wrap {
        min-height: 250px; /* Altura compacta para celular */
        width: 100%;
    }
    
    /* Garante que o vídeo não "vaze" ou desloque no mobile */
    .brands-video {
        transform: translate(0, 0) !important;
        scale: 1 !important;
    }
}