/* --- STYLE GLOBAL --- */
body {
    color: rgb(0, 0, 0);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* --- SECTION PRINCIPALE --- */
.presentation_moi {
    width: 80%;
    margin: 60px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* --- PHOTO --- */
.photo-container {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #333;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- TEXTE DE PRÉSENTATION --- */
.presentation {
    max-width: 600px;
}

.presentation h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.presentation p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- BOUTON CV --- */
.btn-cv {
    display: inline-block;
    background: #1a1a1a;
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid #444;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cv:hover {
    background: #333;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.presentation_moi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px;
}

/* PHOTO À GAUCHE — PREND PLUS DE PLACE */
.photo-container {
    flex: 1.5; /* augmente la largeur de la zone image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-container img {
    width: 100%;        /* occupe toute la largeur */
    height: 100%;       /* occupe toute la hauteur disponible */
    object-fit: cover;  /* remplit sans déformer */
    border-radius: 20px;
}

/* TEXTE À DROITE */
.presentation {
    flex: 1; /* moins large que la photo */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .presentation_moi {
        flex-direction: column;
    }

    .photo-container {
        width: 100%;
    }

    .photo-container img {
        height: auto;
        object-fit: contain;
    }
}
