﻿
:root {
    --primary-color: #1e3d8f;
    --text-color: #333;
    --light-color: #777;
    --bg-light: #f4f5f7;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

.cv-container {
    display: grid;
    grid-template-columns: 30% 70%;
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* ---- Colonne gauche ---- */
.left-column {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 25px;
}

.photo {
    text-align: center;
    margin-bottom: 20px;
}

    .photo img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #fff;
    }

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    margin-top: 25px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.contact-info, .skills, .references {
    font-size: 13px;
    line-height: 1.6;
}

.contact-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

    .contact-item i {
        margin-right: 10px;
        font-size: 14px;
    }

.skill {
    margin-bottom: 10px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
}

.skill-bar {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    height: 6px;
    overflow: hidden;
}

.skill-bar-fill {
    background: #fff;
    height: 100%;
}

/* ---- Colonne droite ---- */
.right-column {
    padding: 40px 50px;
}

.name {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.title {
    font-size: 15px;
    text-transform: uppercase;
    color: var(--light-color);
    margin-top: 5px;
    margin-bottom: 15px;
}

.summary {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

h3 {
    color: var(--primary-color);
    font-size: 16px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
    margin-top: 25px;
}

.job {
    margin-top: 15px;
}

    .job .position {
        font-weight: 600;
        font-size: 15px;
    }

    .job .company {
        font-size: 13px;
        color: var(--light-color);
    }

    .job ul {
        margin-top: 5px;
        padding-left: 18px;
    }

.education-item {
    margin-top: 15px;
}

    .education-item strong {
        color: var(--text-color);
    }

@media screen and (max-width: 768px) {
    .cv-container {
        grid-template-columns: 1fr;
    }

    .left-column, .right-column {
        padding: 25px;
    }

    .photo img {
        width: 100px;
        height: 100px;
    }
}

.references a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

    .references a:hover {
        opacity: 0.85;
        text-decoration: underline;
    }
.skill-bar-fill {
    background: linear-gradient(90deg, #fff, #d9e8ff);
}
