
/* Grille de sections (formation et expérience) */
.grid-professionnel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px 20px 0 20px;
    margin: 20px 0 0 0;
}

/* Bloc Formation et Expérience */
.formation, .experience {
    background: #f9f5f0;
    border-left: 8px solid #905f48;
    padding: 0 20px;
    border-radius: 0px;
    margin-bottom: 20px;
}

/* Titres des sections */
.formation h2, .experience h2 {
    font-size: 1.3rem;
    text-align: center;
    color: #905f48;
    margin-bottom: 20px;
    position: relative;
}

.formation h3, .experience h3 {
    font-size: 1.1em;
    font-family: helvetica;
    color: #000000;
    margin-bottom: 15px;
    position: relative;
    font-weight: 500;
}

.experience p{
    font-size: 1em;
    color: #000000;
    position: relative;
    margin-top: 0;
    margin-left: 15px;
}

/* Conteneur titre avec icône */
.icon-title {
    display: flex; /* Utilisation de flexbox pour aligner en ligne */
    align-items: center; /* Alignement vertical centré */
    gap: 12px; /* Espacement entre l'icône et le texte */
    margin-bottom: 10px; /* Espacement en dessous du titre */
}

/* Icônes */
.iconmaps, .iconbook {
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
    color: #c88459; /* Couleur de l'icône */
    width: 24px; /* Taille personnalisée */
    height: 24px; /* Taille personnalisée */
}

.iconmaps {
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
    color: #c88459; /* Couleur de l'icône */
    width: 24px; /* Taille personnalisée */
    height: 24px; /* Taille personnalisée */
    margin: 0 0 55px 0;
}

/* Style ma philosophie */
.philosophy-section {
    border-radius: 8px;
    padding: 20px;
    margin: 0 20px 35px;
    background-color: #f9f5f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.philosophy-cadre{
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.philosophy-cadre h2 {
    color: #3b2d25;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.philosophy-cadre h1 {
    color: #3b2d25;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.philosophy-cadre p {
    color: #905f48;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Image */
.image-container{
    text-align: center;
}
.rounded-image {
    height: 400px;
    object-fit: cover;
    border-radius: 25%;
    border: 4px solid #905f48; /* Bordure subtile */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}




/* Responsive Design */

/* Téléphones */
@media (max-width: 767px) {
    .grid-professionnel {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .formation, .experience {
        padding: 15px;
    }

    .formation h2, .experience h2 {
        font-size: 1.15em;
        margin: 5px 0px 10px 0px;
    }

    .formation h3, .experience h3 {
        font-size: 0.9em;
        margin-bottom: 10px;
    }

    .experience p {
        font-size: 0.8em;
    }

    .philosophy-section {
        padding: 15px;
    }

    .philosophy-cadre {
        padding: 15px;
    }

    .philosophy-cadre h1 {
        font-size: 1.6rem;
    }

    .philosophy-cadre h2 {
        font-size: 1.4rem;
    }
    

    .philosophy-cadre p {
        font-size: 0.9rem;
    }

    .rounded-image {
        max-width: 100%;
        height: 300px;
    }

    .iconmaps {
        margin: 0 0 40px 0;
    }
}

/* Tablettes */
@media (min-width: 768px) and (max-width: 1024px) {
    .grid-professionnel {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .formation, .experience {
        padding: 18px;
    }

    .formation h2, .experience h2 {
        font-size: 1.3rem;
    }

    .formation h3, .experience h3 {
        font-size: 1rem;
    }

    .experience p {
        font-size: 0.95rem;
    }

    .philosophy-section {
        padding: 18px;
    }

    .philosophy-cadre {
        padding: 18px;
    }

    .philosophy-cadre h2 {
        font-size: 1.5rem;
    }

    .philosophy-cadre p {
        font-size: 1rem;
    }

    .rounded-image {
        max-width: 90%;
        height: auto;
    }
}