/* ============================================
   CLIENTES - Vísion Hub Web
   Grade de clientes (logo + nome)
   ============================================ */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
    margin-top: 6px;
}

.client-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
    min-height: 180px;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.client-logo {
    max-width: 130px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.client-card:hover .client-logo {
    transform: scale(1.05);
}

.client-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    box-shadow: var(--shadow-sm);
}

.client-name {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.client-type {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--accent-purple-dark);
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid var(--border-subtle);
    padding: 3px 11px;
    border-radius: 999px;
}

.client-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.clients-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    padding: 40px 10px;
}

@media (max-width: 600px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 14px;
    }

    .client-card {
        padding: 20px 12px;
        min-height: 150px;
    }

    .client-logo {
        max-width: 100px;
        max-height: 62px;
    }

    .client-name {
        font-size: 14px;
    }
}
