:root{
	--main-color: #0e2050;
	--second-color: #fe8b02;
	--grey: #696658;
	--grey-light: #f4f4f4;
	--ff-caveat: "Caveat";
	--font-size-h1: 30px;
	--font-size-h1-mobile: 26px;
	--font-size-h2: 26px;
	--font-size-h2-mobile: 24px;
	--font-size-h3: 24px;
	--font-size-h3-mobile: 22px;
	--font-size-text: 16px;
	--gap: 30px;
}

.txt-center{text-align: center;}
.txt-left{text-align: left;}

.cta{
	position: relative;
	display: block;
	text-decoration: none !important;
	color: #fff;
	text-transform: uppercase;
	border-radius: 10px;
	background-color: var(--main-color);
	padding: 5px 20px;
	font-size: 18px;
	font-weight: bold;
	&:hover{
		&::before{
			content: "";
			position: absolute;
			left: 2px;
			right: 2px;
			top: 2px;
			bottom: 2px;
			border: 1px solid #fff;
			border-radius: 5px;
		}
	}
	&.cta-blanc{background-color: #fff;color: var(--main-color);}
	&.cta-blanc{
		&:hover{
			&::before{border: 1px solid var(--main-color);}
		}
	}
}


.pictoCta{margin-top: 5px; margin-left: 10px;}

.cadre{box-shadow: 0 0 10px -5px var(--grey);}


section{
	.titleBanner{
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		h1{
			flex: 1;
			&.mainTitle{
				font-size: var(--font-size-h1);
				margin: 30px 0;
			}
		}
	}
}

#decouvrirCreatis{
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	justify-content: space-between;
	gap: var(--gap);
	width: 100%;
}
#banniereSimulateur{
	color: #fff;
	border: 1px solid var(--main-color);
	background-color: var(--main-color);
	height: auto; min-height: 300px;

	display: flex;
	flex-direction: column;
	justify-content: space-between;

	margin-bottom: 40px;/*aligne inner carrousel*/

	h2{
		display: flex;
		gap: var(--gap);
		font-size: 22px;
		font-weight: bold;
		margin-top: 10px;
		padding-left: 10px;
		text-transform: uppercase;
	}
	.cta{
		width: 90%; margin: 0 auto 10px;
	}
	p{
		padding: 5px 0;
		width: auto; 
		font-size: 22px;
		line-height: 1.5em;
		text-transform: uppercase;		
		&.bd-blanc{
			background-color: #fff;
			color:var(--main-color); 
			font-weight: bold;
			font-size: 18px;
		}
		strong{
			font-size: 32px;
		}
	}
}

section{
	p{
		&.lirePlus{
			text-align: right;
			margin: 10px;
		}
	}
	&.contentContainer{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: var(--gap);
		margin-bottom: 30px;
		.containerContent-60{
			flex: 1;
		}
		.containerContent-40{
			flex: 1;
		}
		#content-synthese{
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			padding: 5px;
			align-items: center;
			.texte{ 
				padding: 0 10px 0;
				flex: 0 0 48%;
				padding-right: 10px;
				h2{
					font-family: raleway,Arial,Helvetica,sans-serif;
					font-size: var(--font-size-h2);
					font-weight: bold;
					text-transform: uppercase;
				}
				p{
					margin: 10px 0 20px;
				}
			}
			.visuel{
				flex: 0 0 48%;
				img{
					max-width: 100%;
				}
			}
		}
	}
}

#banniereContact{
	color: var(--grey);
	background-color: var(--grey-light);
	height: auto; min-height: 300px;
	display: none;
	flex-direction: column;
	justify-content: space-between;
	.contactContainer{
		padding: 10px;
		h2{
			display: flex;
			gap: var(--gap);
			font-size: 22px;
			font-weight: bold;
			margin-top: 10px;
			padding-left: 10px;
			text-transform: uppercase;
		}
		ul {
			li{ 
				div{
					display: table-cell;
					color: var(--grey);
					font-size: 18px;
					text-decoration: none;
					&:first-child{padding-right: 20px;}
				}
			}
		}
		p{
			padding: 5px 0;
			width: auto; 
			font-size: 32px;
			line-height: 1.5em;
			&.mentions{font-size: 11px; }
			a,span{
				font-size: 20px;
				text-transform: uppercase;
				
			}
		}
		.contactPicto{width: 40px;}

		
		#daefi-info{
			position: relative;
			.btn-daefi {
				border: none;
				background-color: #fff;
				color: var(--main-color);
				display: flex;
				align-items: center;
				padding: 0.8rem 0.5rem;
				border-radius: 0.5rem;
				cursor: pointer;
				&:hover {
					border: none;
					background-color: #e5e5e5;
					color: var(--main-color);
				}
				img{margin-right: 10px;}
				.ei_gly_deafi:before {
					font-size: 25px;
					color: var(--main-color);
					padding-right: 0.5rem;
					&:before {
						color: var(--main-color);
					}
				}
				.ei_gly_ic_close:before {
					font-size: 25px;
				}
			}
			&[open]{
				.infos-daefi {
					position: absolute;
					z-index: 2;
					background-color: #fff;
					padding: 5px 15px;
					top: 62px;
					box-shadow: 0 0 5px 0px var(--grey);
					p {
						text-transform: none;
						font-size: 17px;
						padding: 7px 0;
					}
				}
			}
		}
		
	}
}

/* #banniereContact .cta{width: 80%; margin: 0 auto 10px;} */


/* #banniereContact .bd-blanc{
	background-color: #fff;
	color:var(--main-color); 
	font-weight: bold;
	font-size: 18px;
} */

#complementsInfos{
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	article {
		position: relative;
		h2{
			position: absolute;
			background-color: var(--main-color);
			color: #fff;
			top: 0;
			left: 0;
			height: 35px;
			width: 120px;
			text-align: center;
			padding-top: 6px;
			font-size: var(--font-size-h3-mobile);
			margin: 0;
		}
		&#complements-actus{
			.visuel {
				img{max-width: 100%;}
			}
			.listeActus {
				display: flex;
				flex-direction: column;
				/* padding: 0 10px 30px; */
				padding: 0 10px 0;
				a{
					display: block; 
					font-weight: bold;
					font-size: 18px;
					padding: 20px 0;
					text-decoration: none;
					&:first-child{
						border-bottom: 1px solid var(--grey);
					}
					&:hover{
						color: var(--main-color);
					}
					
				}
			}
			/* .lirePlus{
				position: absolute;
				right: 5px;
				bottom: 10px;
				padding: 10px 5px 0px 20px;
			} */
		}
		&#complements-faq{
			min-height:280px;
			display: flex;
			align-items: center;
			justify-content: end;
			flex-wrap: wrap;
			padding: 50px 10px 0;
			p:not(.lirePlus){
				position: relative;
				padding: 40px 50px;
				text-align: center;
				font-size: var(--font-size-h2);
				&::before{
					position: absolute;
					top: -10px; left: 15px;
					color: var(--main-color);
					font-size: 2em;
				}
				span{
					&::before{
						position: absolute;
						bottom: -5px; right: 25px;
						color: var(--main-color);
						font-size: 2em;
					}
				}
			}
		}
		&#complements-exemple{
			display: flex;
			align-items: center;
			justify-content: end;
			flex-wrap: wrap;
			padding-bottom: 10px;
			.texte{padding: 10px;}
			.visuel {
				img{max-width: 100%;}
			}
			a{padding-right: 10px;}
		}
	}
}


@media (min-width: 800px){
	
	section{
		&.contentContainer{
			#content-synthese{
				flex-direction: row;
			}
		}
	}

	#complementsInfos{
		margin-top: 30px;
		flex-direction: row;
		flex-wrap: wrap;
		article{
			max-width: 48%;
		}
	}

}

@media (min-width: 900px){
	section{
		&.titleBanner {
			h1{flex: 0.66;}
		}
		&#decouvrirCreatis{
			position: relative;
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			gap: var(--gap);
			width: 100%;
			.col-left{flex:2;}
			.col-right{flex:1;}
			#banniereSimulateur {max-width: 32%;}
		}
		&.contentContainer{
			flex-direction: row;
			.containerContent-60{
				flex: 2;
			}
			.containerContent-40{
				flex: 1;
			}
			#banniereContact{
				display: flex;
				max-width: 32%;
			}
		}
		&#complementsInfos{
			flex-wrap: unset;
			justify-content: space-between;
			gap: unset;
			article{max-width: 32%;flex: 1;}
		}
	}


}
