/* --- Styles Page Qui Suis-je --- */

.principe-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Raleway', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Intro Centrée */
.intro-global {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}
.justify-center {
    justify-content: center;
}
.text-center {
    text-align: center;
}

/* --- WRAPPER ZIG-ZAG (Profil) --- */
.profile-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

/* Images */
.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Contenu Texte */
.profile-content {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Petites boites d'info */
.en-bref-box, .links-box {
    background-color: rgba(76, 152, 156, 0.1); /* Vert très clair */
    border-left: 4px solid #4C989C;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}

.links-box a {
    color: #4C989C;
    font-weight: 700;
    text-decoration: none;
}
.links-box a:hover {
    text-decoration: underline;
}



.Qui-suis-je-title{
    color: #ba5a87;
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    margin: 0;
}
/* --- SECTION FORMATIONS (GRILLE) --- */
.formations-section {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.formations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.formation-col {
    background: #fcfbf9;
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid #ba5a87; /* Touche de rose/mauve */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.formation-col h4 {
    font-family: 'Lora', serif;
    color: #ba5a87;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Séparateur élégant */
.separator {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 4rem 0;
}

/* --- RESPONSIVE ORDI --- */
@media (min-width: 992px) {
    .profile-wrapper {
        flex-direction: row;
        gap: 4rem;
        align-items: stretch;
    }

    .profile-wrapper.reverse {
        flex-direction: row-reverse;
    }

    .profile-image, 
    .profile-content {
        flex: 1;
    }
    
    .profile-image img {
        height: 100%; 
        max-height: 500px;
    }

    /* Grille formation sur 2 colonnes sur ordi */
    .formations-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Styles Communs --- */
.section-title {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: #4C989C;
    margin: 0;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.pissenlit-icon {
    width: 35px;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem; /* Espacement aéré */
    line-height: 1.5;
}
.custom-list li::before {
    content: '✓'; /* Coche au lieu de point pour les diplômes */
    color: #4C989C;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- BOUTON RDV --- */
.cta-container {
    text-align: center;
    background: #f9f9f9;
    padding: 3rem;
    border-radius: 12px;
}

.btn-rdv {
    display: inline-block;
    background-color: #4c989c;
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-family: 'Raleway', sans-serif;
}

.btn-rdv:hover {
    transform: scale(1.05);
    background-color: #d4a017;
}

/* --- MOBILE FIXES (Déjà intégrés) --- */
@media (max-width: 768px) {
    .separator {
        margin: 1.5rem 0 !important;
    }
    
    .profile-wrapper {
        margin-bottom: 1rem !important;
        gap: 1rem !important;
    }

    .btn-rdv {
        padding: 12px 15px !important;         
        font-size: 0.9rem !important;
        width: 120%;
        max-width: 300px; 
        white-space: normal; 
        line-height: 1.4;
        margin-left: auto;
        margin-right: auto;
        display: block; 
    }

    .section-title{
        font-size: 0.9rem !important;
    }
}