@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   SECTION DE PRÉSENTATION DU PROFIL (LARGUEUR MAX 1400PX)
   ========================================================================== */
.profil-presentation-section {
    padding: 80px 40px;
    background-color: #f0f0f2; /* Parfaitement unifié avec le reste du site */
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.profil-container {
    max-width: 1400px; /* Élargi à l'espace global maximal */
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 60px; /* Espace équilibré entre le texte et les images */
}

/* --- BLOC TEXTE DE PRÉSENTATION --- */
.profil-texte-box {
    flex: 1.2; /* Donne légèrement plus d'espace à la lecture */
    background-color: #ffffff;
    border: 1px solid #e1dedd;
    border-radius: 14px;
    padding: 45px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.profil-texte-box h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    color: #011826;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profil-texte-box p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
    text-align: justify;
}

.profil-texte-box strong {
    color: #800000; /* Rappel bordeaux de la charte graphique */
    font-weight: 600;
}

/* --- BOUTON DE TÉLÉCHARGEMENT FIXE --- */
.profil-action {
    margin-top: 35px;
    border-top: 1px solid #efeceb;
    padding-top: 25px;
}

.download-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    background-color: #011826; /* Noir bleuté institutionnel */
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #011826;
    transition: none; /* Pas d'animation hover */
}

/* ==========================================================================
   GALERIE GRILLE DE PHOTOGRAPHIES MODERNE (SANS HOVER)
   ========================================================================== */
.profil-galerie-box {
    flex: 1;
}

.img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Grille moderne sur deux colonnes */
    gap: 20px;
    width: 100%;
}

.img-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* Recadre proprement les photos sans distorsion */
    border-radius: 10px;
    border: 1px solid #e1dedd;
    background-color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .profil-container {
        flex-direction: column;
        gap: 40px;
    }

    .profil-texte-box {
        padding: 30px;
    }

    .img-grid img {
        height: 180px;
    }
}

@media screen and (max-width: 550px) {
    .profil-presentation-section {
        padding: 40px 20px;
    }

    .img-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur très petit écran */
        gap: 15px;
    }
}