/* --- Variables globales --- */
:root {
    --bg-color: #0f172a; /* Fond bleu nuit profond */
    --card-bg: rgba(255, 255, 255, 0.05); /* Effet verre */
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #3b82f6; /* Bleu technique */
    --accent-hover: #60a5fa;
}

/* --- Reset et Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent 40%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* --- Conteneur vCard (Glassmorphism) --- */
.vcard-container {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease;
}

.vcard-container:hover {
    transform: translateY(-5px);
}

/* --- En-tête --- */
.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
    border: 4px solid var(--bg-color);
    overflow: hidden;
}

.profile-avatar .initials {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

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

.vcard-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.vcard-header h2 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.company-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-hover);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* --- Bio --- */
.vcard-bio {
    margin: 25px 0;
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Compétences --- */
.vcard-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
}

/* --- Liens de contact --- */
.vcard-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

/* --- Bouton CV spécifique --- */
.cv-btn {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cv-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #ffffff;
}

.location {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}