/* CSS específico para cartões virtuais dos consultores */

.cartao-virtual {
    position: relative;
    min-height: 100vh;
    background: url('../img/card/fundo.png') center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 60px 0;
}

.cartao-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.cartao-banner {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cartao-banner.adriana {
    background-image: url('../img/card/banner.png');
}

.cartao-banner.cleyton {
    background-image: url('../img/card/banner.png');
}

.cartao-content {
    padding: 40px;
    text-align: center;
}

.cartao-foto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: -75px auto 30px;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.cartao-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cartao-nome {
    color: #092a49;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.cartao-cargo {
    color: #0796fe;
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.cartao-contatos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contato-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #092a49;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contato-item:hover {
    background: #092a49;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(9, 42, 73, 0.3);
}

.contato-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.contato-item .contato-info {
    flex: 1;
    text-align: left;
}

.contato-item .contato-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contato-item .contato-valor {
    font-size: 1rem;
    opacity: 0.8;
}

/* Cores específicas para cada tipo de contato */
.contato-item.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.contato-item.email:hover {
    background: #EA4335;
    border-color: #EA4335;
}

.contato-item.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: #bc1888;
}

.contato-item.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.cartao-qr {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.cartao-qr h4 {
    color: #092a49;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #6c757d;
}
.qr-code img{
    width: 100%;
    height: 140px;
}

/* Responsividade */
@media (max-width: 768px) {
    .cartao-virtual {
        padding: 30px 15px;
    }
    
    .cartao-container {
        margin: 0 15px;
    }
    
    .cartao-content {
        padding: 30px 20px;
    }
    
    .cartao-nome {
        font-size: 2rem;
    }
    
    .cartao-cargo {
        font-size: 1.1rem;
    }
    
    .cartao-contatos {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contato-item {
        padding: 12px 15px;
    }
    
    .contato-item i {
        font-size: 1.3rem;
        margin-right: 12px;
    }
}

@media (max-width: 480px) {
    .cartao-banner {
        height: 150px;
    }
    
    .cartao-foto {
        width: 120px;
        height: 120px;
        margin: -60px auto 25px;
    }
    
    .cartao-nome {
        font-size: 1.8rem;
    }
    
    .cartao-cargo {
        font-size: 1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cartao-container {
    animation: fadeInUp 0.6s ease-out;
}

.contato-item {
    animation: fadeInUp 0.6s ease-out;
}

.contato-item:nth-child(1) { animation-delay: 0.1s; }
.contato-item:nth-child(2) { animation-delay: 0.2s; }
.contato-item:nth-child(3) { animation-delay: 0.3s; }
.contato-item:nth-child(4) { animation-delay: 0.4s; }

