.curriculumVitae-container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    box-sizing: border-box;
    z-index: 1; /* Par défaut, pour tout le container */
    min-height: 100vh; /* Utilise toute la hauteur de la fenêtre */
}

.curriculumVitae-left-section {
    flex: 1;
    align-self: stretch;
    background-color: #fff;
    padding: 30px; /* Padding augmenté pour plus d'espace */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 0 50px;
    margin-right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 40px); /* Hauteur minimale ajustée */
    font-size: 1.25rem; /* Taille de police augmentée */
}

.curriculumVitae-right-section {
    flex: 2;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 0 40px 0 0;
    overflow: hidden;
    z-index: 5;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 40px); /* Hauteur minimale ajustée */
}

.curriculumVitae-mission {
    font-size: 1.2rem; /* Taille augmentée */
    line-height: 1.6;
    margin-bottom: 25px;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
    white-space: pre-wrap;
    z-index: 1;
    color: #2d3436; /* Couleur plus foncée pour meilleure lisibilité */
}

.curriculumVitae-logo {
    max-width: 120px; /* Taille légèrement augmentée */
    margin: 15px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.curriculumVitae-date {
    color: #555;
    font-size: 1.15rem; /* Taille ajustée */
    font-weight: 500;
}

.curriculumVitae-highlight {
    background-color: #0077B5;
    color: #fff;
    padding: 3px 8px;
    display: inline-block;
    margin-left: 5px;
    border-radius: 4px;
    font-size: 1.1rem;
}

.curriculumVitae-button {
    /* Dimensions et espacement */
    min-width: 80px;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    
    background: linear-gradient(145deg, #0077B5, #0099ff);
    color: white;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(106, 13, 173, 0.15);
    
    display: inline-block;
    text-align: center;
    
    transition: all 0.2s ease;
    cursor: pointer;
}

.curriculumVitae-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.2);
    background: linear-gradient(145deg, #0077B5, #0099ff);
}

.curriculumVitae-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 5px rgba(0, 119, 181, 0.15);
}

@media (max-width: 768px) {
    .curriculumVitae-button {
        width: auto;
        min-width: 70px;
        padding: 0.4rem 0.8rem;
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }
}

.curriculumVitae-right-section {
    display: flex;
    flex-direction: column;
}

.curriculumVitae-right-section .curriculumVitae-button {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .curriculumVitae-container {
        flex-direction: column;
    }

    .curriculumVitae-left-section {
        margin-bottom: 20px;
        margin-right: 0;
        z-index: 10;
        min-height: auto; /* Hauteur auto sur mobile */
    }

    .curriculumVitae-right-section {
        order: 1;
        z-index: 1;
        min-height: auto; /* Hauteur auto sur mobile */
    }
}

.curriculumVitae-right-section ul {
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}

.curriculumVitae-right-section .curriculumVitae-mission::before {
    content: '▶️ ';
    margin-right: 8px;
}

.curriculumVitae-logo {
    max-width: 120px;
    margin: 15px 0;
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.curriculumVitae-logo:hover {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

.curriculumVitae-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.7s;
}

.curriculumVitae-logo:hover::after {
    left: 150%;
}

/* Styles pour le texte des missions */
.curriculumVitae-mission-mb {
    font-size: 1.2rem; /* Taille augmentée */
    line-height: 1.6;
    margin-bottom: 25px;
    color: #2d3436;
    transition: transform 0.5s ease, opacity 0.5s ease;
    white-space: pre-wrap;
    z-index: 1;
}

.curriculumVitae-right-section .curriculumVitae-mission-mb::before {
    content: '▶️ ';
    margin-right: 8px;
}

.vision .main-content {
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.2rem; /* Taille augmentée */
    color: #2d3436;
}

.vision p {
    margin-bottom: 2em;
}

@media (max-width: 768px) {
    .vision .main-content {
        font-size: 1.15rem; /* Taille ajustée pour mobile */
        line-height: 1.6;
        padding: 0 15px;
    }
}

.curriculumVitae-mission-pe {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #2d3436;
    transition: transform 0.5s ease, opacity 0.5s ease;
    white-space: pre-wrap;
    z-index: 1;
}

.curriculumVitae-right-section .curriculumVitae-mission-pe::before {
    content: '▶️ ';
    margin-right: 8px;
}

#poste-actuel .curriculumVitae-container {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 2px solid #f8f9fa;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#poste-actuel > .curriculumVitae-container::before {
    content: 'En cours';
    position: absolute;
    top: 10px;
    right: -35px;
    background: linear-gradient(
        45deg,
        #ffd700 0%,
        #ffec8b 25%,
        #ffd700 50%,
        #ffec8b 75%,
        #ffd700 100%
    );
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 100;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: shimmer 2s infinite linear;
    background-size: 200% 100%;
}

#poste-actuel .curriculumVitae-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 2px 10px rgba(0, 0, 0, 0.08);
}

#poste-actuel .curriculumVitae-left-section {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-right: 1px solid rgba(106, 13, 173, 0.1);
    z-index: 10;
}

#poste-actuel .curriculumVitae-right-section {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    z-index: 5;
}

#poste-actuel .curriculumVitae-logo {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

#poste-actuel .curriculumVitae-logo:hover {
    transform: scale(1.2);
}

#poste-actuel h4 {
    color: #0077B5;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

#poste-actuel h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0077B5, #0099ff);
    border-radius: 2px;
}

#poste-actuel .curriculumVitae-mission {
    padding: 10px 15px;
    background: rgba(106, 13, 173, 0.03);
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #0077B5;
    transition: all 0.3s ease;
}

#poste-actuel .curriculumVitae-mission:hover {
    background: rgba(106, 13, 173, 0.05);
    transform: translateX(5px);
}

#poste-actuel .curriculumVitae-button {
    background: linear-gradient(145deg, #0077B5, #0099ff);
    border: none;
    padding: 10px 25px;
    color: white;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.2);
    transition: all 0.3s ease;
}

#poste-actuel .curriculumVitae-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.3);
}

@keyframes shine {
    0% {
        background-position: -100px;
    }
    60% {
        background-position: 140px;
    }
    100% {
        background-position: 140px;
    }
}

#poste-actuel .curriculumVitae-container {
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-repeat: no-repeat;
    background-size: 100px 100%;
    animation: shine 3s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.quote-style {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2d3436;
    padding: 20px 30px;
    margin: 20px 0;
    border-left: 4px solid #0077B5;
    background-color: rgba(106, 13, 173, 0.05);
    border-radius: 0 8px 8px 0;
    position: relative;
}

.quote-style::before {
    content: '"';
    font-size: 3rem;
    color: #0077B5;
    position: absolute;
    left: 10px;
    top: -5px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .quote-style {
        font-size: 1.1rem;
        padding: 15px 25px;
        margin: 15px 0;
    }
}
