/* Container principal pour la section de présentation */
.service-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 10px;
}

/* Titre centré au-dessus de l'image et du texte */
.service-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

/* Icône dans le titre */
.service-title-icon {
    font-size: 2rem;
    color: #FFD700; /* Couleur dorée */
}

/* Texte du titre */
.service-title-text {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-align: center;
}

/* Conteneur de l'image et du texte, alignés sur une même ligne en desktop */
.service-content-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}

/* Conteneur pour l'image */
.service-picture-container {
    flex: 0 0 25%; /* Limite la largeur de l'image */
    max-width: 25%;
    text-align: center;
}

/* Image */
.service-picture {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Conteneur pour le pitch */
.service-pitch-container {
    flex: 1;
    max-width: 75%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Texte principal du pitch */
.service-pitch-text {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: left;
}

/* Description */
.service-pitch-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Responsive pour les écrans de 800px ou moins */
@media (max-width: 800px) {
    .service-content-container {
        flex-direction: column;
        align-items: center;
    }

    .service-picture-container {
        width: 100%;
        max-width: 70%;
    }

    .service-pitch-container {
        width: 100%;
        max-width: 100%;
    }

    .service-picture {
        width: 100%;
        height: 150px; /* Hauteur pour le cropping */
        object-fit: cover; /* Ajuste pour ne pas déformer */
        object-position: center;
    }

    .service-pitch-text {
        font-size: 1.5rem; /* Ajuste la taille en mobile */
        text-align: center; /* Centre le texte */
    }
}

/*blablablablabla*/
/****************************************************/

/* Styles généraux du conteneur */
.custom-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ligne du titre */
.title-row {
    text-align: center;
    position: relative;
}

/* Icône du titre */
.title-icon {
    font-size: 2rem;
    color: #FFD700; /* Couleur dorée */
}

.title-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.title-text::after {
    content: "";
    display: block;
    width: 90%;
    height: 3px;
    background-color: #FFD700; /* Couleur dorée */
    position: absolute;
    bottom: 0;
    left: 5%;
    border-radius: 2px;
}

/* Ligne avec deux colonnes */
.content-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Colonne de gauche pour l'image */
.image-column {
    flex: 0 0 25%; /* Prend 25% de la largeur */
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Colonne de droite pour les paragraphes */
.text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Style spécifique pour le premier paragraphe en gras */
.bold-paragraph {
    font-weight: bold;
}

/* Style pour le deuxième paragraphe, avec un style légèrement différent */
.formatted-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    font-style: italic; /* Met en italique */
    background-color: #f9f9f9; /* Fond gris clair pour différencier */
    padding: 10px;
    border-radius: 5px;
}


/* Responsive pour les écrans de 800px ou moins */
@media (max-width: 800px) {
    /* Passe la ligne du contenu en colonne */
    .content-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Réduit la taille de l'image et la positionne au-dessus */
    .image-column {
        max-width: 70%;
        order: -1; /* Place l'image au-dessus du texte */
    }

    .content-image {
        width: 100%;
        height: 250px;
        object-fit: cover; /* Pour un effet de cropping sans déformation */
        object-position: center;
    }

    /* Ajuste la taille du texte pour plus de lisibilité sur mobile */
    .text-paragraph {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}
