/* --- 1. RESET ET TYPOGRAPHIE GLOBALE --- */
/* Remise de la police sobre Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0077b6; /* Bleu professionnel classique */
    --secondary-color: #48cae4; /* Bleu clair d'accentuation */
    --text-color: #333;
    --bg-color: #f4f4f9; /* Gris très clair */
    --alt-bg-color: #e9ecef; /* Gris légèrement plus foncé pour alternance */
    --white: #fff;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--primary-color);
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1.5em;
    padding-bottom: 5px;
    /* Soulignement simple */
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}


/* --- 2. HEADER / HERO SECTION --- */
.hero-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    /* Suppression de l'ombre portée */
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 5px;
    color: var(--white);
    letter-spacing: normal;
}

.subtitle {
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: var(--font-family);
}

.contact-info-hero span {
    margin: 0 15px;
    font-size: 1.1em;
    font-weight: 300;
}
.contact-info-hero a {
    color: var(--white);
}
.contact-info-hero a:hover {
    color: var(--secondary-color);
}


/* Bouton principal */
.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px; /* Bord carré/léger arrondi */
    margin-top: 30px;
    font-weight: 600;
    text-transform: uppercase;
    /* Suppression des ombres et de l'animation complexe */
    transition: background 0.3s, color 0.3s;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: none;
}


/* --- 3. SECTIONS GÉNÉRALES --- */
.section {
    padding: 60px 0;
}

.alt-background {
    background-color: var(--alt-bg-color);
}


/* --- 4. SECTION À PROPOS --- */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 15px;
}

.qualities-list, .interests-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
}

.quality-item {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    margin: 8px; /* Marge suffisante pour éviter le chevauchement */
    border-radius: 20px; /* Retour à la forme de pilule */
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: none; /* Suppression des ombres */
    transition: background 0.3s;
    white-space: nowrap;
}
.quality-item:hover {
    background-color: var(--secondary-color);
}

.interests-list li {
    font-size: 1.1em;
    padding: 5px 15px;
    margin: 8px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    transition: background 0.3s;
    white-space: nowrap;
}
.interests-list li:hover {
    background-color: var(--primary-color);
    color: var(--white);
}


/* --- 5. CHRONOLOGIE (FORMATION / EXPÉRIENCE) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px; 
}

/* Ligne centrale */
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 10px;
}

.timeline-item {
    padding: 10px 0 30px 40px;
    position: relative;
    background: none;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Cercle de la chronologie */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 3px solid var(--primary-color);
    left: 3px;
    top: 15px;
    z-index: 10;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
    margin-bottom: 5px;
}

.timeline-content h3 {
    font-size: 1.3em;
    color: var(--text-color);
    margin-bottom: 5px;
}

.timeline-content p {
    margin-bottom: 5px;
}

/* Style pour la section expérience */
.experience-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ccc; /* Ligne pleine simple */
    align-items: flex-start;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-date {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 150px;
    padding-right: 20px;
    font-style: normal;
    font-size: 1em;
}

.experience-details h3 {
    margin-top: 0;
    font-size: 1.2em;
}


/* --- 6. FOOTER / CONTACT --- */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-content h3 {
    color: var(--white);
}

.footer-content a {
    color: var(--secondary-color);
    font-weight: 400;
}

.footer-content a:hover {
    color: var(--white);
}

.rights {
    margin-top: 15px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* --- 7. COMPÉTENCES LINGUISTIQUES (Barres de Progression Simples) --- */

.language-skills {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px 0;
}

.skill-item {
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--white);
    border-left: 5px solid var(--secondary-color); /* Barre latérale en bleu vif */
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.skill-item h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    margin-bottom: 8px;
    color: var(--text-color);
    font-family: var(--font-body);
}

.skill-item h3 span {
    font-weight: 400;
    color: var(--primary-color);
    font-size: 0.9em;
}

.skill-bar {
    background-color: var(--alt-bg-color); /* Fond de barre plus doux */
    height: 15px;
    border-radius: 7px;
    overflow: hidden;
    position: relative;
}

.skill-level {
    height: 100%;
    /* Dégradé de bleu élégant */
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%); 
    border-radius: 7px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* --- RESPONSIVE BASIQUE --- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5em;
    }
    .subtitle {
        font-size: 1.2em;
    }
    .contact-info-hero span {
        display: block;
        margin: 5px 0;
    }
    /* Chronologie */
    .timeline {
        padding-left: 20px;
    }
    .timeline::after {
        left: 0;
    }
    .timeline-item {
        padding-left: 20px;
        margin-left: 10px;
    }
    .timeline-item::before {
        left: -8px;
    }
    /* Expérience */
    .experience-item {
        flex-direction: column;
        padding: 20px 0;
    }
    .experience-date {
        min-width: auto;
        padding-right: 0;
        margin-bottom: 10px;
    }
    /* Qualités sur mobile (style de base pour empêcher le chevauchement) */
    .qualities-list {
        justify-content: space-around;
        padding: 0 5px; 
    }
    .quality-item {
        margin: 6px 4px;
        padding: 8px 10px; 
        font-size: 0.9em; 
    }
}