/**
 * Vendors CSS - Estilos da página de fornecedores
 */

/* ==================== GRID DE FORNECEDORES ==================== */

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

/* ==================== CARD DE FORNECEDOR ==================== */

.vendor-card {
    background: linear-gradient(135deg,
        rgba(80, 115, 160, 0.75) 0%,
        rgba(60, 95, 140, 0.85) 50%,
        rgba(80, 115, 160, 0.75) 100%);
    border: 1px solid rgba(212, 175, 90, 0.4);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.vendor-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(212, 175, 90, 0.1) 45%,
        rgba(212, 175, 90, 0.2) 50%,
        rgba(212, 175, 90, 0.1) 55%,
        transparent 60%
    );
    animation: holographic-scan 3s linear infinite;
    pointer-events: none;
}

.vendor-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.vendor-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 175, 90, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-full);
    margin-bottom: 1rem;
}

.vendor-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.vendor-card p {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.vendor-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 90, 0.2);
}

.vendor-contact a {
    color: var(--gold);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.vendor-contact a:hover {
    color: var(--gold-light);
}

.vendor-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--success);
    background: rgba(76, 175, 80, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: var(--border-radius-sm);
    margin-top: 0.5rem;
}

/* ==================== SEÇÃO DE RECOMENDAÇÃO ==================== */

.recommendation {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: rgba(212, 175, 90, 0.1);
    border: 1px solid rgba(212, 175, 90, 0.3);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.recommendation h2 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.recommendation p {
    color: rgba(245, 240, 232, 0.8);
    line-height: 1.7;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .vendors-grid {
        grid-template-columns: 1fr;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .vendor-card {
        width: 100%;
        max-width: 100%;
    }

    .recommendation {
        width: 100%;
        max-width: 100%;
        margin: 2rem auto 0;
    }
}
