* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --accent-color: #4fb3c4;
    --text-color: #333;
    --text-light: #999;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-container {
    width: 100%;
    max-width: 450px;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* En-tête */
.card-header {
    height: 180px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.logo {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}

/* Section profil */
.profile-section {
    text-align: center;
    padding: 0 30px 20px;
    margin-top: -70px;
    position: relative;
    z-index: 2;
}

.profile-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
    position: relative;
    z-index: 3;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 15px;
    color: var(--text-light);
    font-style: italic;
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon[data-network="website"] {
    background: #e0e0e0;
    color: #333;
}

.social-icon.facebook {
    background: #1877f2;
    color: white;
}

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

.social-icon.linkedin {
    background: #0077b5;
    color: white;
}

.social-icon.whatsapp {
    background: #25d366;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon[style*="display: none"] {
    display: none !important;
}

/* Boutons d'action */
.action-buttons {
    padding: 0 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Informations de contact */
.contact-info {
    padding: 20px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--secondary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.contact-item:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-color);
    stroke-width: 2;
    fill: none;
}

.contact-item-content {
    flex: 1;
}

.contact-item-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.contact-item-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    word-break: break-word;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        border-radius: 0;
    }
    
    .name {
        font-size: 24px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

