/* mon style css */


.cv-header {
    text-align: center;       
    padding: 40px 20px;      
    background-color: #44164A;
    opacity: 0.8;
}

.cv-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;                     
    font-size: 80px;                       
    margin: 0;
    background: linear-gradient(50deg, #FFDAB9, #FFB6B9, #FFF9C4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff;
    text-shadow: 1px 1px 0 #E7D2F0, 
                 -1px -1px 0 #E7D2F0,
                 1px -1px 0 #E7D2F0, 
                 -1px 1px 0 #E7D2F0;

}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f3f3f3;
}

.cv-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    position: sticky;
    top: 0;       
    height: 100vh; 
}

.sidebar {
    width: 280px;
    background-color: #44164A;
    color: white;
    padding: 30px 20px;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
}

.photo-frame {
    width: 220px;
    height: 220px;
    border: 4px solid white;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 40px auto;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.language-selector {
    text-align: center;
    margin: 20px 0;
}

.language-selector a {
    display: inline-block;
    font-size: 24px; 
    color: white;           
    background-color: rgba(255,255,255,0.2); 
    width: 45px;
    height: 45px;
    line-height: 45px;        
    border-radius: 50%;        
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.language-selector a:hover {
    background-color: white;
    color: #44164A;          
}

/* MENU */

.menu {
    margin-top: 20px;
}

.menu a {
    display: block;
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 14px 10px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    text-align: left;
}

.menu a i {
    margin-right: 10px;
}

.menu a:last-child {
    border-bottom: none;
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* CONTENU PRINCIPAL */

.content {
    flex: 1;
    padding: 40px 60px;
    background-color: f9f9f9;
}

.section-block {
    margin-bottom: 50px;
    padding-bottom: 50px;           
    border-bottom: 4px solid #ffffff;
}

.section-block h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #555;
}

/* QUI SUIS-JE */

#qui-suis-je p {
    line-height: 2; 
    font-size: 17px;
    font-weight: 700px;  
}

.highlighted {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    border-bottom: 4px solid #c8a2c8;
    border-top: 4px solid #c8a2c8;

}

/* EXPÉRIENCES */

.timeline {
    position: relative;
    padding-left: 90px;
    margin-top: 40px;
}

/* Ligne verticale sur la gauche */

.timeline:before {
    content: '';
    position: absolute;
    left: 35px; 
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #c8a2c8;
}

/* Détails des expériences */

.timeline-item {
    position: relative;
    margin-bottom: 40px;

}

.timeline-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

/* Détails des missions  */

.timeline-content ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
    font-size: 16px;
}

/* Dates */

.timeline-date {
    flex: 0 0 150px;
    text-align: right;
    font-weight: 700;
    font-size: 20px; 
    color: #44164A; 
    margin-right: 60px;
}


/* DIPLÔMES */

.diplomes-list {
    list-style: none;
    padding-left: 0;
    padding-top: 20px;
}

.diplomes-list li {
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.diplomes-list li strong {
    background: purple;
    color: whitesmoke;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: inline-block;
    margin-right: 40px;  
    position: relative;
}

.diplomes-list li strong::after {
    content: "→";               
    position: absolute;
    top: 50%;                   
    left: 105%;                  
    transform: translateY(-50%);
    color: purple;             
    font-weight: 800;
    font-size: 25px;
    margin-left: 5px; 
}

/* COMPÉTENCES */

#competences {
    margin-bottom: 70px; 
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin-top: 40px;
    font-family: 'Lexend exa', sans-serif;
    font-weight: 300;
}

.skill span {
    font-weight: 600;
}

.skill {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-icon {
    width: 70px;    
    height: 30px;
    object-fit: contain;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;

}

.progress-bar div {
    height: 100%;
    background: purple;
    border-radius: 5px;
}


/* PORTFOLIO */

#portfolio {
    margin-bottom: 40px;
}

#portfolio.section-block {
    padding-left: 0;
    margin-left: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 280px);
    gap: 25px;
    margin-top: 40px;
}

.portfolio-grid a {
    text-decoration: none;
    color: inherit;       
    display: block;        
}

.portfolio-item {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.portfolio-item .caption {
    padding: 12px 15px;
    background: white;
}

.portfolio-item .caption h4 {
    margin: 0;
    font-size: 18px;
    color: #555;
    font-weight: 800;
}

.portfolio-item .caption p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #777;
}


/* CENTRES D'INTÉRÊT */

.interets-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.interet-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f4eef8;
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    background-color: white;
}

.interet-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.interet-text h4 {
    margin: 0;
    font-size: 20px;
    color: #44164A;
    font-family: Montserrat;
}

.interet-text p {
    margin: 10px;
    font-size: 16px;
    color: black;
}

/* CONTACT */

.cv-footer {
    background-color: #44164A; 
    color: white;
    text-align: center;
    padding: 20px 30px;
    border-radius: 12px 12px 12px 12px;
    max-width: 800px;  
    margin: 0 auto;    
}

.contact-info {
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 15px;             
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.contact-info .separator {
    color: white;
}

.contact-info a {
    color: white;
    font-weight: 900px;
    text-decoration: none;
    font-size: 24px;
}

.contact-info a:hover {
    color: #0a66c2;
}


/* Polices des titres et des textes */

.section-block h2 {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;                   
    text-transform: uppercase;          
    font-size: 28px;                    
    color: #4a4a4a;                     
    margin-bottom: 15px;               
}
.section-block h3 {
    font-family: 'Lexend Exa', sans-serif;
    font-weight: 400; 
    font-size: 28px;
    color: #4a4a4a;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;      
}


/* ----- SECTION POUR LE RESPONSIVE ----- */

/* Pour tablettes */

    @media (max-width: 1024px) {

    .cv-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding-bottom: 10px;
    }

    .content {
        padding: 30px 30px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        justify-items: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Pour téléphones */

    @media (max-width: 700px) {

    /* HEADER */

    .cv-header h1 {
        font-size: 38px;
        padding: 20px;
    }

/* SIDEBAR */

    .sidebar {
        text-align: center;
        padding: 20px;
    }

    .photo-frame {
        width: 160px;
        height: 160px;
        margin-bottom: 25px;
    }

    .menu a {
        font-size: 16px;
        padding: 10px;
    }

/* TEXTE */

    .content {
        padding: 20px;
    }

    #qui-suis-je p {
        font-size: 15px;
        line-height: 1.7;
    }

/* TIMELINE */

    .timeline {
        padding-left: 0;
    }

    .timeline:before {
        display: none;
    }

    .timeline-item {
        margin-left: 0;
    }

    .timeline-date {
        text-align: left;
        margin: 0 0 8px 0;
        font-size: 18px;
    }

    .timeline-content {
        padding: 15px;
    }

/* DIPLÔMES */

    .diplomes-list li {
        font-size: 16px;
    }

    .diplomes-list li strong {
        font-size: 18px;
    }

/* COMPÉTENCES */

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

/* PORTFOLIO */

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-item img {
        height: 140px;
    }

/* CENTRES D'INTERET */

    .interet-card {
        flex-direction: column;
        text-align: center;
    }

    .interet-icon {
        font-size: 32px;
    }

/* FOOTER */

    .cv-footer {
        max-width: 100%;
        border-radius: 0;
        padding: 20px 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .contact-info .separator {
        display: none;
    }
}

/* MENU DÉROULANT ET BOUTON HAMBURGER */

    .hamburger {
        display: none;
        position: fixed;
        top: 20px;
        left: 20px;
        font-size: 28px;
        color: #44164A;
        background: white;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        box-shadow: 0 3px 6px rgba(0,0,0,0.15);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2000;
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        display: none;
        z-index: 1500;
    }

    .overlay.active {
        display: block;
    }


/* SIDEBAR QUI SE REPLIE */

    @media (max-width: 900px) {
        .sidebar {
        position: fixed;
        left: -300px;   
        top: 0;
        height: 100%;
        width: 260px;
        transition: 0.35s ease;
        z-index: 2001;
    }

    .sidebar.open {
        left: 0;     
    }

    .cv-container {
        flex-direction: column; 
    }

    .hamburger {
        display: flex;
    }
}

    /* hover sur la sidebar */

    .menu a.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: whitesmoke;
    border-left: 4px solid whitesmoke;
    transition: all 0.3s ease;
}












