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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: linear-gradient(to bottom, #c8d8d0 0%, #e8f0eb 50%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 500px;
    width: 100%;
    background: linear-gradient(to bottom, #c8d8d0 0%, #e8f0eb 40%, #ffffff 70%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.profile-section {
    text-align: center;
    padding: 40px 20px 30px;
}

.profile-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    position: relative;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #a8b8b0;
    border: 6px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.name {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.title {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.6;
    font-weight: 400;
}

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px 20px;
}

.action-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #4a4a4a;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #2a6a4f;
}

.action-btn:active {
    transform: translateY(-1px);
}

.add-contact-btn {
    width: calc(100% - 60px);
    margin: 0 30px 30px;
    padding: 18px;
    background: #c8d8d0;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 500;
    color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.add-contact-btn:hover {
    background: #b8c8c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.add-contact-btn:active {
    transform: translateY(0);
}

.add-contact-btn i {
    font-size: 20px;
}

.contact-details {
    background: white;
    padding: 20px 30px 30px;
}

.detail-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item > i {
    font-size: 24px;
    color: #888;
    width: 30px;
    flex-shrink: 0;
    padding-top: 3px;
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 16px;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    line-height: 1.6;
}

.detail-value:hover {
    color: #2a6a4f;
}

a.detail-value {
    transition: color 0.2s ease;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: #2a6a4f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.map-link:hover {
    color: #1a5a3f;
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding: 20px;
    background: white;
    color: #999;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        border-radius: 0;
        min-height: 100vh;
    }

    .name {
        font-size: 28px;
    }

    .title {
        font-size: 16px;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .action-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .add-contact-btn {
        font-size: 16px;
    }

    .contact-details {
        padding: 20px 20px 30px;
    }

    .detail-item {
        gap: 15px;
    }
}

/* Animation au chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeInUp 0.6s ease;
}
