
.fornecedores {
    padding: 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9, #e0e0e0);
    border-top: 2px solid #25583b;
    border-bottom: 2px solid #25583b;
    overflow: visible;
}

.fornecedores h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #2E8B57;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.fornecedores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.fornecedor-card {
    background: white;
    border: 1px solid rgba(221, 221, 221, 0.5);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    max-width: 100%;
    overflow: hidden;
}

.fornecedor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(221, 221, 221, 0.8);
}

.fornecedor-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.fornecedor-card:hover img {
    transform: scale(1.05);
}

.marcas {
    padding: 0.5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-bottom: 2px solid #25583b;
}

.marcas h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #2E8B57;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.marcas-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.filtro-alfabeto {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filtro-alfabeto h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #2E8B57;
    margin-bottom: 1rem;
}

.filtro-botoes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 0.5rem;
}

.filtro-botoes button {
    background: #2E8B57;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.filtro-botoes button:hover {
    background: #1f6f4a;
    transform: translateY(-2px);
}

.marcas-lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.marca-item {
    background: white;
    border: 1px solid rgba(221, 221, 221, 0.5);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.marca-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(221, 221, 221, 0.8);
}

.marca-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #2E8B57;
    margin-bottom: 0.5rem;
}

.marca-item p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0;
}

.marcas-lista .placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 1.5rem;
    grid-column: 1 / -1;
}

.marcas-lista .placeholder i {
    font-size: 2rem;
    color: #2E8B57;
    margin-bottom: 0.5rem;
}

.marcas-lista .placeholder p {
    margin: 0;
}

@media (min-width: 768px) {
    .fornecedores {
        padding: 2rem;
    }
    
    .fornecedores-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .fornecedor-card {
        height: 180px;
        padding: 1.5rem;
    }
    
    .marcas {
        padding: 0.5rem 2rem;
    }
    
    .marcas-container {
        flex-direction: row;
    }
    
    .filtro-alfabeto {
        flex: 1;
    }
    
    .marcas-lista {
        flex: 3;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .fornecedores-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .fornecedor-card {
        height: 200px;
    }
    
    .filtro-botoes {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .filtro-botoes button {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .marcas-lista {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .fornecedores {
        padding: 2rem 3rem;
    }
    
    .marcas {
        padding: 0.5rem 3rem;
    }
}