body {
    overflow-y: auto !important;
}

.profil-container {
    padding: 120px 5% 40px 120px; 
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .bg-glow::before {
        width: 200px;
        height: 200px;
        top: 0;
        right: 0;
        opacity: 0.3;
    }
    
    .bg-shapes-extra::before, .bg-shapes-extra::after {
        font-size: 2rem;
        opacity: 0.1;
    }
}

/* Introduction */
.intro-section {
    background: transparent; 
    border: none;
    padding: 0;
    margin-bottom: 80px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
    align-items: start;
}

.photo-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profil-img {
    width: 100%;
    border-radius: 30px;
    border: 1px solid rgba(162, 89, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Bouton CV */
.btn-cv-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--violet);
    color: var(--white);
    text-decoration: none;
    padding: 15px 20px; 
    border-radius: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem; 
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px var(--violet-glow);
    border: none;
    cursor: pointer;
    white-space: nowrap; 
    width: 100%;
}

.btn-cv-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(162, 89, 255, 0.6);
    filter: brightness(1.1);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

.intro-text h1 {
    font-size: clamp(2.5rem, 8vw, 5rem); 
    line-height: 1; 
    margin-bottom: 10px;
    font-weight: 900;
    word-wrap: break-word;
}

.violet {
    color: var(--violet);
    text-shadow: 0 0 12px rgba(162, 89, 255, 0.3); 
    display: inline-block;
    transition: text-shadow 0.4s ease, filter 0.4s ease;
}

.violet:hover {
    text-shadow: 0 0 25px rgba(162, 89, 255, 0.6);
    filter: brightness(1.2);
}

.tagline {
    color: var(--violet);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bio {
    font-size: 1.1rem;
    line-height: 1.4; 
    opacity: 0.8;
    max-width: 850px;
    margin-top: 20px;
}

.section-title {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 900;
}

/* Compétences */
.skills-section {
    margin-bottom: 100px;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.skill-group {
    background: transparent;
    border: none;
    padding: 0;
}

.skill-group h4 {
    margin-bottom: 30px;
    color: var(--white);
    opacity: 0.5;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.skills-grid-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-item-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85px; 
    height: 95px; 
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: default;
    gap: 8px;
}

.skill-item-logo img {
    width: 35px;
    height: 35px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.skill-name {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    transition: 0.3s;
}

.skill-item-logo:hover {
    background: rgba(162, 89, 255, 0.1);
    transform: translateY(-5px);
}

.skill-item-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.skill-item-logo:hover .skill-name {
    color: var(--violet);
    opacity: 1;
}

/* Parcours --- */
.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-card {
    background: transparent;
    border: none;
    border-left: 2px solid rgba(162, 89, 255, 0.2);
    padding: 0 0 0 25px;
    border-radius: 0;
    transition: 0.3s ease;
}

.timeline-card:hover {
    border-left-color: var(--violet);
}

.timeline-card .date {
    color: var(--violet);
    font-weight: 900;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
    opacity: 0.7;
}

.timeline-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.timeline-card p {
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1.5;
}

/* Footer */
.profil-footer {
    margin-top: auto;        
    padding: 60px 0;          
    text-align: center;      
    width: 100%;              
    font-size: 0.75rem;
    opacity: 0.3;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .profil-container {
        padding: 100px 20px 40px 20px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        justify-items: center;
    }

    .photo-wrapper {
        max-width: 350px;
    }

    .intro-text h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .bio {
        text-align: center;
        margin: 0 auto;
    }

    .skills-wrapper, .journey-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .skills-grid-logos {
        justify-content: center;
    }

    .profil-footer {
        margin-left: 0;
        width: 100%;
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .intro-text h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }
    
    .section-title {
        font-size: clamp(1rem, 5.5vw, 1.4rem) !important;
        white-space: nowrap !important;
        letter-spacing: 0.5px;
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .btn-cv-premium {
        font-size: 0.7rem;
        padding: 12px 15px;
    }
    
    .skills-grid-logos {
        gap: 10px;
    }
    
    .skill-item-logo {
        width: 70px;
        height: 85px;
    }

    .skill-name {
        font-size: 0.55rem;
    }
}