* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 210mm;
    margin: 20px auto;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 297mm;
}

.sidebar {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px 30px;
}

.main-content {
    padding: 20px;
}

.profile-section {
    text-align: center;
    margin-bottom: 20px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 20px;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 10px;
}
.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le conteneur sans déformation */
    border-radius: 50%;
}
.name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.title {
    font-size: 16px;
    margin-bottom: 10px;
    color:#ecf0f1;
}

.profile-text {
    font-size: 13px;
    line-height: 1.5;
    color: #bdc3c7;
    text-align: left;
}

.contact-info, .skills-section {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
}
.contact-item >a {
    color:#ecf0f1;
    font-weight: 500;
}
.contact-icon {
    width: 20px;
    margin-right: 10px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ecf0f1;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.main-section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 2px;
}
.main-section-title >a {
    color:#3498db;
    font-size:14px;
}
.skills-list {
    list-style: none;
}

.skills-list li {
    /* margin-bottom: 4px; */
    font-size: 13px;
}

.skill-category {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 2px;
    margin-top: 5px;
}

.skill-category:first-child {
    margin-top: 0;
}

.experience-section {
    margin-bottom: 10px;
}
.experience-item {
    margin-bottom: 5px;
}

.experience-item:last-child {
    border-bottom: none;
}

.job-title {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    line-height: normal;
}

.company-period {
    color: #7f8c8d;
    font-size: 10px;
    font-style: italic;
    line-height: normal;
}

.job-description {
    font-size: 12px;
    line-height: 1.5;
}

.job-description ul {
    margin-left: 20px;
    margin-top: 10px;
}

.job-item {
    margin-bottom: 5px;
    font-size: 12px;
    padding-left: 15px;
    position: relative;
}

.job-item:before {
    content: "●";
    color: #3498db;
    position: absolute;
    left: 0;
}
.education-item {
    margin-bottom: 5px;
}

.degree {
    font-weight: bold;
    color: #2c3e50;
    font-size:16px;
}

.school-period {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 8px;
}

.description {
    font-size: 12px;
    color: #555;
}

.points-forts {
    list-style: none;
}

.points-forts li {
    padding-left: 20px;
    position: relative;
    font-size: 13px;
}

.points-forts li:before {
    content: "▸";
    color: #3498db;
    position: absolute;
    left: 0;
}

.realisation-section {
    margin-bottom: 10px;
}

.realisation-item {
    margin-bottom: 2px;
    font-size: 12px;
    padding-left: 15px;
    position: relative;
    font-weight: normal;
}

.realisation-item:before {
    content: "●";
    color: #3498db;
    position: absolute;
    left: 0;
}

.realisation-item  a {
    color:#3498db;
}

.experience-compact {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.experience-compact .job-title {
    font-size: 14px;
}

.experience-compact .job-description {
    font-size: 13px;
}

@media print {
    body {
        background: white;
    }
    .container {
        box-shadow: none;
        margin: 0;
    }
}
