.pourquoi {
    padding: 7%;
    text-align: justify;
    display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	align-content: center;
}

.pourquoi-box {
    flex: 1; /* Chaque div prend une part égale de l'espace disponible */
	min-width: 300px; /* Minimum width to prevent elements from shrinking too much */
	padding: 10px; /* Espacement autour des éléments pour l'esthétique */
	box-sizing: border-box; /* Assurez-vous que le padding est inclus dans la taille totale */
	text-align: justify;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pourquoi h1 {
    text-align: left;
}

.pourquoi-img {
    width: 80%; /* Assurez-vous que l'image utilise toute la largeur disponible dans son div parent */
	max-width: 200px; /* Limite la taille de l'image si nécessaire */
	height: auto; /* Pour maintenir le ratio de l'image */
}                               
                        /*CENTRER IMAGE*/

.déroulement {
    text-align: center;
    padding: 5%;
}

.déroulement h2 {
    color: #383a44;
    font-size: 20px;
	font-weight: 550;
	text-align: center;
}

.process-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
}

.process-box {
    background-color:#bdc1d2;
    border-radius: 20px;
    box-shadow: 0 0 1px rgba(0, 12, 32, 0.04), 0 10px 16px rgba(10, 31, 68, 0.06);
    padding: 20px;
    width: 300px;
    text-align: center;
    position: relative;
    margin: 5px;
    flex-direction: row;
}

.process-box.offset {
    margin-top: 130px; /* Décale cette box vers le bas */
    margin-bottom: -30px; /* Ajuste la distance avec la box suivante */
}

.process-box h2 {
    color: #53627C;
    font-size: 17px;
    margin-bottom: 20px;
	text-align: center;
	font-family: 'montserrat';
	font-weight: 650;
}

.responsive-image-bilan {
    width: 20%;
    height: auto;
	align-items: center;
    border-radius: 5px; /* Optionnel : pour correspondre au style des box */
    margin-bottom: 5px; /* Espacement entre l'image et le contenu */
	padding-top: 2px;
}

.connection-line {
    position: absolute;
    background-color: #bdc1d2;
    width: 4px;
    height: 10px;
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.connection-line:first-child {
    display: none;
}

.bilans {
    padding: 5%;
    text-align: justify;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
	flex-wrap: wrap;
    align-content: center;
    height: auto;
    align-items: stretch;
}

.bilan-img {
    width: 80%;
    max-width: 300px;
    align-content: center;
    padding-bottom: 10px;
}

.bilan-img2 {
    width: 95%;
    max-width: 300px;
    align-content: center;
    padding-bottom: 10px;
}


.bilan-box {
	background-color: #d7dae4;
	box-shadow: 0 0 1px 0 rgba(0,12,32,0.04), 0 10px 16px 0 rgba(10,31,68,0.06);
	border-radius: 20px;
	padding: 20px 30px;
	margin: 10px;
    flex: 1; 
    align-self: center;
    display: flex  ;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bilan-box h2 {
    text-align: center;
    padding-bottom: 10px;
}

.faq {
    padding: 5%;
    text-align: justify;
}

.qa-container {
    width: 100%;
}

.qa-item {
    margin-bottom: 10px;
}

.question {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
	text-align: left;
}

.question h2 {
    margin: 0;
    font-size: 14px;
	text-align: left;
    font-weight: 350;
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
	padding-left: 20px;
	padding-right: 25px;
	
}

.toggle-answer {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
	color: #969db7;
}

.hidden-content {
    display: none;
}


/* ==============================================
   Media Queries 
===============================================*/

/* Media query pour les tablettes et plus larges */
@media (min-width: 768px) {
    .pourquoi {
        flex-direction: row; /* Affichage en ligne pour desktop */
        justify-content: center; /* Espace entre les éléments */
        padding: 5% 5%; /* Plus de padding pour l'espacement */
    }

    .pourquoi-img {
        width: 35vw; /* L'image prend 50% de la largeur de son parent, ajustez selon vos besoins */
        max-width: 350px; /* Limite la taille maximale de l'image pour éviter qu'elle devienne trop grande */
        height: auto; /* Maintient le ratio de l'image */
    }

    .pourquoi-box {
        flex: 1; /* Laisse chaque flex utiliser l'espace également */
        padding: 15px; /* Plus de padding pour un espacement accru */
        width: auto;
    }

    .déroulement h2 {
        font-size: 25px;
    }

    .process-container {
        flex-direction: row;
        align-items: stretch;
    }

    .process-box.offset {
        margin-top: 20px; /* Réduit le décalage sur les petits écrans */
        margin-bottom: 0;
    }    

    .process-box h2 {
        font-size: 20px;
    }  

    .responsive-image-bilan {
        width: 30%;
    }

    .bilans {
        flex-direction: row; /* Affichage en ligne pour desktop */
        gap: 5px; /* Espace entre les pratiques */  
        height: auto; /* Peut être ajusté selon le besoin */
        align-items: stretch;
    }

    .bilan-box {
        flex: 1; /* Utilisation égale de l'espace */
        margin: 2%; /* Espacement autour des box */
        padding: 30px; /* Plus de padding pour desktop */
		height: auto;
    }
    
    .question h2 {
        font-size: 20px;
    }

}


/* Media query pour les ordinateurs et plus larges */
@media (min-width: 1024px) {
    .déroulement h2 {
        font-size: 35px;
    }

    .process-box h2 {
        font-size: 20px;
    }

    .bilan-box {
        flex: 1; /* Utilisation égale de l'espace */
        margin: 2%; /* Espacement autour des box */
        padding: 30px; /* Plus de padding pour desktop */
		height: auto;
    }

    .bilan-box h2 {
        font-size: 22px;
    }
    
}
