/* ALTERNANCE TEXTE / IMAGES */
.image-text-section {
	display: flex;
	flex-direction: column;
	gap: 40px; /* Espace entre les sections */
	padding: 20px;
}

.image-left,
.image-right {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.image-wrapper {
	flex: 0 0 300px; /* Taille du carré d'image */
}

.text-wrapper {
	background-color: #dedfe4;
	opacity: 80%;
	padding: 20px;
	position: relative;
	z-index: 1;
}

.image-left .text-wrapper {
	margin-left: -50px; /* Recouvre l'image à gauche */
	border-radius: 10px;
}

.image-right .text-wrapper {
	margin-right: -50px; /* Recouvre l'image à droite */
	border-radius: 10px;
}

.hover-title {
	position: relative;
	display: inline-block;
	cursor: pointer;
	color: #fb236a;
	font-size: 25px;
}

.hover-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 0;
	height: 2px;
	background-color: #fb236a;
	transition: width 0.3s ease;
}

.hover-title:hover::after {
	width: 100%;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
	.image-right {
		display: block;
	}
	
}

/* BOX */
.centered-box {
	display: flex;
	align-items: center;
	background-color: #dedfe4;
	padding: 20px;
	border-radius: 10px; /* Optional: Add rounded corners */
	/*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow effect */
}

.image-container {
	flex: 0 0 40%; /* Ensure the image container takes up 30% of the box */
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
}

.box-image {
	max-width: 100%; /* Adjust the max width of the image */
	border-radius: 5px; /* Optional: Add rounded corners to the image */
}

.box-content {
	flex: 1 1 60%; /* The content takes up the remaining 70% */
	display: flex;
	flex-direction: column;
	align-items: center; /* Center the content horizontally */
	padding: 20px; /* Add padding around the text content */
}

.box-title {
	margin: 0 0 10px 0;
	font-size: 30px;
	padding-bottom: 40px;
}

.box-list {
	list-style-type: disc;
	margin: 0 0 20px 0;
	padding-left: 20px;
}

.box-list li {
	padding-left: 30px; /* Add space for the icon */
	line-height: 1.6; /* Adjust line height for vertical alignment */
	font-family: 'Roboto', sans-serif; /* Apply Roboto font family */
	font-size: 20px;
	color: #5c5f7f;
}

.box-button {
	padding: 10px 20px;
	background-color: #5c5f7f;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 18px; /* Match the button font size to the text size */
	margin-top: 10px; /* Add some space above the button */
	width: auto; /* Ensure the button width is only as wide as its content */
	align-self: center; /* Center the button horizontally */
}

.box-button:hover {
	background-color: #fb236a;
}

		/* Media query for mobile devices */
		@media (max-width: 768px) {
	.centered-box {
		flex-direction: column; /* Stack elements vertically */
	}
	.image-container {
		margin-bottom: 20px; /* Add space between image and text */
	}
}

/* Box styling */
.container-home-link {
	display: flex;
	align-items: center;
	background-color: #dedfe4;
	padding: 20px;
	box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Title and subtitle section */
.link-title-section {
	flex: 0 0 30%; /* Ensure the image container takes up 30% of the box */
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 100px;
	font-family: 'Quicksand', serif !important;
	text-align: center;
}

.link-title {
	font-size: 40px; /* Set your preferred font size */
	/*font-weight: bold; /* Optionally set font weight */
	color: #fb236a;
}

.link-subtitle {
	font-size: 25px; /* Set your preferred font size */
	color: #5c5f7f; /* Set your preferred color */
}

/* Links section */
.links-section {
	flex: 0 0 35%; /* 70% width */
	padding: 100px; /* Set your preferred padding */
	display: flex;
	flex-direction: column;
	gap: 10px; /* Set the gap between links */
}

/* Links section */
.links-section-r {
	flex: 0 0 35%; /* 70% width */
	padding: 100px; /* Set your preferred padding */
	display: flex;
	flex-direction: column;
	gap: 10px; /* Set the gap between links */
}

.link {
	text-decoration: none; /* Remove underline */
	color: #5c5f7f; /* Set your preferred color */
	font-size: 20px; /* Set your preferred font size */
	position: relative; /* Set position to relative for pseudo-element */
	transition: color 0.3s ease; /* Add transition effect */
	display: block; /* Use block display to ensure full width */
	word-break: break-word; /* Break words if necessary */
	margin-bottom: 10px; /* Space between list items */
}

.link:hover::after {
	content: ""; /* Add content for the pseudo-element */
	position: absolute; /* Set position to absolute */
	bottom: -5px; /* Align to bottom */
	left: 0; /* Align to left */
	width: 100%; /* Take full width minus 10px for spacing */
	height: 2px; /* Set line height */
	background-color: #5c5f7f; /* Set line color */
	transition: width 0.3s ease; /* Add transition effect */
}

.link:hover {
	color: #fb236a; /* Change text color on hover */
}

.link:hover::after {
	width: 0; /* Initial width of the line */
}

.link::after {
	content: ""; /* Add content for the pseudo-element */
	position: absolute; /* Set position to absolute */
	bottom: -5px; /* Align to bottom */
	left: 0; /* Align to left with 5px space */
	width: 100%; /* Take full width minus 10px for spacing */
	height: 2px; /* Set line height */
	background-color: #fb236a; /* Set line color */
	transition: width 0.3s ease; /* Add transition effect */
}

.link-column {
	position: relative; /* Set position to relative for pseudo-element */
	width: 100%;
}

.link-column ul {
	list-style: none; /* Remove bullet points */
	padding: 0; /* Remove default padding */
}

.link-column ul li {
	margin-bottom: 35px; /* Add space between li elements */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
	.container-home-link {
		flex-direction: column; /* Stack elements vertically */
	}

	.link-title-section {
		padding: 10px;
	}

	.links-section {
		padding: 10px;
	}

	.links-section-r {
		padding: 10px;
	}
}
/* ------------------------ */
/* CSS POUR LES WIDGETS CTA */
/* ------------------------ */
#floating-widget {
	position: fixed;
	right: 20px;
	top: 200px;
	width: 350px;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	z-index: 1000;
	padding: 10px;
	border-radius: 8px;
	display: none;
}

#cta-button {
	width: 100%;
	padding: 10px;
	background-color: #5c5f7f;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	margin-top: 10px;
	transition: background-color 0.3s ease;
}

#cta-button:hover {
	background-color: #d81a5c;
}

#close-widget {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 30px;
	height: 30px;
	background-color: #fb236a;
	border: none;
	border-radius: 50%;
	font-size: 18px;
	font-weight: bold;
	color: white;
	cursor: pointer;
	display: none; /* Masquer par défaut */
	align-items: center;
	justify-content: center;
}

#close-widget:hover {
	background-color: #d81a5c;
}

.show {
		display: block !important; /* Forcer l'affichage du widget sur mobile */
	}

@media (max-width: 768px) {
	#floating-widget {
		display: none; /* Masquer par défaut sur mobile */
		width: 90%;
		right: 5%;
		bottom: 10px;
	}

	#close-widget {
		display: flex; /* Montrer le bouton seulement sur mobile */
	}

	.show {
		display: block !important; /* Forcer l'affichage du widget sur mobile */
	}
}

/* -------------------------------- */
/* CSS POUR LES ETAPES PROGRESSIVES */
/* -------------------------------- */
.timeline {
	/*position: relative;*/
	max-width: 800px; /* Largeur totale de la timeline */
	margin: 50px 0;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 14px;
	height: 100%;
	background-color: #5c5f7f; /* Changement de couleur */
}

.timeline-step {
	position: relative;
	/*width: 60%; /* Cadres plus larges */
	padding: 50px;
	background-color: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	margin-bottom: 40px;
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-step.left {
	left: -10%; /* Élargir vers la gauche */
	transform-origin: left;
}

.timeline-step.right {
	left: 60%; /* Élargir vers la droite */
	transform-origin: right;
}

.timeline-step::before {
	content: '';
	position: absolute;
	top: 20px;
	width: 20px;
	height: 20px;
	background-color: #fb236a; /* Changement de couleur */
	border-radius: 50%;
	z-index: 1;
}

.timeline-step.left::before {
	right: -30px;
}

.timeline-step.right::before {
	left: -30px;
}

.timeline-step h3 {
	margin: 0 0 10px;
	font-size: 20px;
	color: #5c5f7f;
	font-weight: bold;
	font-family: 'Roboto', sans-serif !important;
}

.timeline-step p {
	margin: 0;
	font-size: 16px;
	color: #5c5f7f;
	font-family: 'Roboto', sans-serif !important;
}

.timeline-step.visible {
	opacity: 1;
	transform: translateY(0);
	background-color: #dedfe4;
	border: 2px solid #5c5f7f; /* Couleur et épaisseur de la bordure */
	border-radius: 10px; /* Facultatif : pour des coins arrondis */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre */
}

/* Adaptation pour les écrans mobiles */
@media screen and (max-width: 768px) {
	.timeline::before {
		left: 20px; /* Décale la ligne à gauche sur mobile */
	}

	.timeline-step {
		width: 100%; /* Utilisation de toute la largeur */
		padding-left: 50px; /* Espace pour la ligne */
		padding-right: 30px;
		margin-left: 0;
		margin-right: 0;
	}

	.timeline-step.left, .timeline-step.right {
		left: 0; /* Alignement des étapes sur la ligne */
		transform-origin: center;
	}

	.timeline-step.left::before, .timeline-step.right::before {
		left: 0;
		right: auto;
	}
}

.tabs {
	background-color: #5c5f7f;
}
.tablink {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
	font-size: 17px;
	border-radius: unset;
}
.tablink:hover {
	background-color: #ccc;
	border-radius: unset;
}
.tablink.active {
	background-color: #fb236a;
	border-radius: unset;
}
.tabcontent {
	display: none;
	padding: 20px;
	border-top: none;
}
.tabcontent h3 {
	margin-top: 0;
}
.tabcontent.active {
	display: block;
}
.star {
	font-size: 20px;
	font-weight: bold;
}
.yellow {
	color: #17a2b8; /* couleur jaune */
	font-size: 25px;
}
.grey {
	color: #ccc; /* couleur grise */
	font-size: 25px;
}

.info-link {
	display: inline-block;
	background-color: #fb236a;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.info-link:hover {
	background-color: #5c5f7f; /* Assombrit au survol */
}

.info-link:active {
	background-color: #3a3c52; /* Encore plus sombre lors du clic */
}

.info-link:focus {
	outline: none;
	box-shadow: 0 0 5px #5c5f7f; /* Légère ombre lors du focus */
}

.popup {
	position: fixed;
	top: 450px;
	right: -800px; /* Commence hors de l'écran */
	width: 400px;
	height: auto;
	background-color: white;
	border: 2px solid #5c5f7f;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Ombre renforcée */
	transform: translateY(-50%);
	transition: right 0.5s; /* Animation pour faire apparaître le popup */
	z-index: 9999;
	display: none; /* Caché par défaut */
}

.popup.show {
	right: 20px; /* Position finale du popup */
	display: block; /* Affiche le popup lors de l'ouverture */
}

/* Style pour la croix dans un cercle */
.close-btn {
	position: absolute;
	top: -15px; /* Ajustez si nécessaire */
	right: -15px; /* Ajustez si nécessaire */
	width: 30px;
	height: 30px;
	background-color: #fb236a; /* Couleur du fond */
	color: white; /* Couleur de la croix */
	border-radius: 50%; /* Forme de rond */
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px; /* Taille de la croix */
	cursor: pointer; /* Curseur pour interaction */
	z-index: 1001; /* Assurez-vous que c'est au-dessus du contenu */
	transition: background-color 0.3s ease;
}

/* Optionnel : effet de hover sur la croix */
.close-btn:hover {
	background-color: #d81e56; /* Couleur légèrement plus sombre au survol */
}

.options-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 20px;
}

.option {
	background-color: #5c5f7f;
	color: white;
	padding: 20px;
	text-align: center;
	border-radius: 8px;
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.3s;
}

.option:hover {
	background-color: #3c3e60;
}

.option.pro {
	background-color: #fb236a;
}

.option.auto-eval {
	background-color: #f0a500;
}

.option.pref {
	background-color: #38b6ff;
}

.popup-list {
	list-style-type: none;
	padding: 0;
}

.popup-list li {
	margin-bottom: 10px;
}

.popup-list li a {
	text-decoration: none;
	color: #5c5f7f;
	font-weight: bold;
}

.popup-list li a:hover {
	text-decoration: underline;
}

.list-section {
	display: none;
}

.list-section.active {
	display: block;
	text-align: center;
}
