/* ==================== CONTAINER PRINCIPAL ==================== */
.representante-card {
    width: 100%;
    max-width: 320px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 0 auto 2rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.representante-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* ==================== IMAGEM DA REGIÃO ==================== */
.representante-imagem {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.representante-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.representante-card:hover .representante-imagem img {
    transform: scale(1.03);
}

/* ==================== DESTAQUE REGIÃO (MODERNIZADO) ==================== */
.representante-regiao {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.representante-regiao::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
}

/* ==================== ÁREA DE CONTEÚDO ==================== */
.representante-conteudo {
    padding: 1.5rem;
}

.representante-nome {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.representante-estados {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

/* ==================== SEÇÃO DE CONTATOS ==================== */
.representante-contato {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.representante-contato a {
    text-decoration: none;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.representante-contato a:hover {
    color: #3b82f6;
    transform: translateX(3px);
}

/* ==================== ÍCONES (garanta que Bootstrap Icons está carregado) ==================== */
.representante-contato a[href^="mailto:"]::before {
    content: "\F32C";
    font-family: "bootstrap-icons";
    color: #ef4444;
}

.representante-contato a[href^="https://wa.me"]::before {
    content: "\F618";
    font-family: "bootstrap-icons";
    color: #25D366;
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 768px) {
    .representante-imagem {
        height: 160px;
    }
    
    .representante-conteudo {
        padding: 1.25rem;
    }
}