/* =====================================================
   SECTION : À PROPOS
   ===================================================== */

/* ---------- Conteneur principal ---------- */
main > #a-propos {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 21px 20px 0px;
    color: var(--text-soft);
}


/* ---------- Titre ---------- */
main > #a-propos h2 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
}


/* ---------- Layout image / texte ---------- */
.apropos-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}


/* ---------- Image CV ---------- */
.apropos-layout .cv-preview {
    width: 40%;
    max-width: 520px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    cursor: zoom-in;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover image */
.apropos-layout .cv-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}


/* ---------- Texte descriptif ---------- */
.paragraphs{
    display: flex;
    flex-direction: column;
    gap: 40px;
}   

.apropos-layout p {
    width: 70%;
    font-size: larger;
    line-height: 1.5;
    opacity: 0.9;
    text-align: justify;
    
}

.apropos-layout p::first-letter {
    float: left;
    font-size: 3.8rem;
    line-height: 0.85;
    font-weight: 700;
    margin-right: 14px;
    margin-top: 8px;
    color: var(--text-soft);
    font-family: "Georgia", "Times New Roman", serif;
}



/* ---------- Bouton téléchargement ---------- */
main > #a-propos .download-btn {
    margin-top: 12px;
    padding: 14px 28px;
    background-color: var(--bg-button);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

/* Hover bouton */
main > #a-propos .download-btn:hover {
    background-color: var(--bg-button-hover);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}


/* =====================================================
   OVERLAY IMAGE – ZOOM PLEIN ÉCRAN
   ===================================================== */

/* Overlay */
#image-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* État actif */
#image-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Image zoomée */
#image-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}


/* =====================================================
   RESPONSIVE – MOBILE & TABLETTE
   ===================================================== */

@media (max-width: 900px) {
    .apropos-layout {
        flex-direction: column;
        gap: 28px;
    }

    .apropos-layout .cv-preview,
    .apropos-layout p {
        width: 100%;
        text-align: center;
    }
}
