/* Estilos para a página de marcas */

.brands-page-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.brands-page {
    flex: 1;
    padding-bottom: 5rem;
    background-color: var(--bg-light);
}

.brands-hero {
    background: linear-gradient(135deg, var(--primary), #1e293b);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 5px solid var(--accent);
}

.brands-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.brands-hero p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.brands-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Regras de Responsividade Solicitadas */

/* ≤320px (mobile pequeno) */
@media (max-width: 320px) {
    .brands-grid-full {
        grid-template-columns: 1fr;
    }
    .brands-hero h1 { font-size: 1.75rem; }
}

/* 321px-577px (mobile) */
@media (min-width: 321px) and (max-width: 577px) {
    .brands-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 578px-767px (mobile/tablets médios) */
@media (min-width: 578px) and (max-width: 767px) {
    .brands-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 768px-991px (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .brands-grid-full {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    .brands-hero h1 { font-size: 2.5rem; }
    .brands-hero p { font-size: 1.125rem; }
}

/* 992px-1199px (desktop pequeno) */
@media (min-width: 992px) and (max-width: 1199px) {
    .brands-grid-full {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

/* ≥1200px (desktop grande) */
@media (min-width: 1200px) {
    .brands-grid-full {
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }
}

.brand-full-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.brand-full-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.brand-full-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.brand-full-img-box {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.brand-full-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-full-item:hover .brand-full-img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-full-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.brand-view-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.brand-full-item:hover .brand-view-more {
    opacity: 1;
    transform: translateY(0);
}

.no-brands {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-gray);
    padding: 5rem 0;
}
