/* Section Qui suis-je */
.about {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.03) 0%, rgba(129, 140, 248, 0.03) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Profil avec photo */
.about-profile {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
}

.profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border);
    box-shadow: 0 8px 25px var(--shadow);
}

.profile-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.profile-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.profile-role {
    font-size: 1rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 2rem;
}

.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-btn {
    padding: 0.9rem 1.5rem;
    background: var(--bg-accent);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.contact-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

#revealEmailBtn.revealed {
    background: var(--bg-primary);
    border-color: var(--accent-blue);
}

#emailText {
    transition: all 0.3s ease;
}

#emailText.copying {
    color: var(--accent-teal);
}

/* Description */
.about-description {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px var(--shadow);
}

.about-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}

/* Section des compétences */
.skills-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px var(--shadow);
}

.skills-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: var(--bg-accent);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

.skill-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(129, 140, 248, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Modal pour les compétences */
.skill-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.skill-modal-content {
    background: var(--bg-secondary);
    margin: 10% auto;
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.skill-modal-close:hover {
    color: var(--accent-blue);
    background: var(--bg-accent);
    transform: rotate(90deg);
}

.skill-modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.skill-modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.skill-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.skill-modal-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: 10px;
}

.rating-label {
    font-weight: 600;
    color: var(--text-primary);
}

.stars {
    display: flex;
    gap: 0.3rem;
}

.star {
    font-size: 1.5rem;
    color: var(--border);
}

.star.filled {
    color: #fbbf24;
}

.skill-modal-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.skill-modal-description p {
    margin-bottom: 1rem;
}

.skill-modal-description p:last-child {
    margin-bottom: 0;
}