/* ##################################################################################################### */
/* ########################################  H O M E  ################################################## */
/* ##################################################################################################### */

/* --------------- Section 1 */
.home-sc1 { 
	width: 100%;
	height: 100vh;
	position: relative;
}
.home-sc1 .video-wrapper { 
	width: 100%;
	height: 100%;
	background-color: rgba(var(--secondDecimal), 0.4);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: 1;
	opacity: 1;
}
/* pour un slider */
.home-sc1 .video-wrapper .pic { 
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scale(1);
	-webkit-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}

/* pour une video */
.home-sc1 .video-wrapper #player { 
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
	opacity: 0;;
}
.home-sc1 .video-wrapper #player .sliderVideo { 
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.home-sc1 .voile {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(255,255,255,0.1);
	z-index: 2;
}

.home-sc1 .gradient-top { 
	width: 100%;
	height: 70vh;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	opacity: 1;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,000000+100&1+0,0+100 */
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}


/* --------------- Section 2 */
.home-sc2 { 
	width: 100%;
	padding: 10vh 0;
	position: relative;
}
.home-sc2 .container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
.home-sc2 .container h2 {
	color: var(--main);
	font-weight: 800;
	width: 100%;
	text-align: center;
	margin: 0 0 80px 0;
	font-size: 3.5em;
	letter-spacing: -0.02em;
}
.home-sc2 .container .team {
	width: 100%;
	text-align: center;
	margin: 0 0 80px 0;
}
.home-sc2 .container .team .member {
	display: table-cell;
	width: 31%;
	margin: 0 1%;
	text-align: center;
	padding: 0 30px;
}
.home-sc2 .container .team .member .tof {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	display: inline-block;
	box-shadow: 0 0 30px rgb(0 0 0 / 15%);
}
.home-sc2 .container .team .member .tof img {
	display: inline-block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.home-sc2 .container .team .member .details {
	width: 100%;
	margin: 30px 0 0 0;
}
.home-sc2 .container .team .member .details span {
	display: block;
	color: var(--main);
}
.home-sc2 .container .team .member .details span.nom {
	font-size: 2em;
	font-weight: 700;
    letter-spacing: -0.04em;
}
.home-sc2 .container .team .member .details span.fonction {
	font-size: 1.3em;
	font-weight: 500;
    letter-spacing: -0.02em;
}
.home-sc2 .container .team .member .details .pres {
	margin: 10px 0 0 0;
	font-size: 1.2em;
}
.home-sc2 .container .edito {
	width: 100%;
}
.home-sc2 .container .edito-container {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}
.home-sc2 .container .edito p {
	font-size: 19px;
	line-height: 32px;
	text-align: center;
}


/* --------------- Section 3 */
/* => voir avis common.css */



/* --------------- Section 4 */
.home-sc4 { 
	width: 100%;
	position: relative;
	padding: 10vh 0 15vh 0;
	z-index: 1;
	overflow: hidden;
}
.home-sc4-container {
	width: 100%;
	max-width: 75%;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}
.home-sc4-container h2 {
	color: var(--main);
	font-weight: 800;
	width: 100%;
	text-align: center;
	margin: 0 0 10vh 0;
	font-size: 3.5em;
	letter-spacing: -0.02em;
}
.home-sc4-container .postsGrid {
	width: 100%;
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    grid-auto-rows: minmax(30vh, 30vh);
	margin: 0;
}
.home-sc4-container .postsGrid a {
	display: block;
    border-radius: 15px;
    background-color: rgba(var(--mainDecimal), 0.2);
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.home-sc4-container .postsGrid a .tof {
	width: 100%;
	height: 100%;
}
.home-sc4-container .postsGrid a .tof img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	-webkit-transition: all 0.4s ease-in-out 0s;transition: all 0.4s ease-in-out 0s;
}
.home-sc4-container .postsGrid a .captionZone {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(var(--secondDecimal), 0.7);
	opacity: 0;
	padding: 25px;
	font-size: 14px;
	color: #fff;
	-webkit-transition: all 0.2s ease-in-out 0s;transition: all 0.2s ease-in-out 0s;
}
.home-sc4-container .postsGrid a:hover > .tof img {
	transform: scale(1.05);
}
.home-sc4-container .postsGrid a:hover > .captionZone {
	opacity: 1;
}
.postsGrid .one {
    grid-column: 1;
    grid-row: 1;
}
.postsGrid .two {
    grid-column: 2;
    grid-row: 1;
}
.postsGrid .three {
    grid-column: 1 / 3;
    grid-row: 2;
}
.postsGrid .four {
    grid-column: 3;
    grid-row: 1 / 3;
}
.home-sc4-container .links {
	width: 100%;
	text-align: center;
	padding: 6vh 0;
}
.home-sc4-container .links a {
	display: inline-block;
	margin: 0 20px;
	font-size: 24px;
	color: var(--second);
	text-decoration: underline;
	line-height: 25px;
	font-weight: 500;
}
.home-sc4-container .links a:hover {
	color: #000;
	text-decoration: none;
}
.home-sc4-container .links a img {
	display: inline-block;
	width: 60px;
	margin-right: 15px;
}
.emojis {
	width: 100%;
	height: 100px;
	position: absolute;
	bottom: -100px;
}
.emojis img {
	position: absolute;
	top: 0;
	opacity: 1;
	margin-left: 0;
	margin-right: 0;
}
.emojis img.travel1 {
	animation: travel1 3s linear infinite forwards;animation-delay: 0.30s;
}
.emojis img.travel2 {
	animation: travel2 2.5s linear infinite forwards;animation-delay: 0.10s;
}
.emojis img.travel3 {
	animation: travel3 2s linear infinite forwards;animation-delay: 0.80s;
}
.emojis img.travel4 {
	animation: travel4 3.3s linear infinite forwards;animation-delay: 0s;
}
.emojis img.travel5 {
	animation: travel4 3.7s linear infinite forwards;animation-delay: 0.2s;
}
.emojis .heart {
	width: 84px;
}
.emojis .bulle {
	width: 84px;
}

@keyframes travel1 {
	0% { top: 0;margin-left: 0px;opacity: 1; }
	50% { opacity: 1; }
	100% { top: -50vh;margin-left: 50px;opacity: 0; }
}
@keyframes travel2 {
	0% { top: 0;margin-left: 0px;opacity: 1; }
	50% { opacity: 1; }
	100% { top: -80vh;margin-left: -50px;opacity: 0; }
}
@keyframes travel3 {
	0% { top: 0;margin-left: 0px;opacity: 1; }
	50% { opacity: 1; }
	100% { top: -60vh;margin-left: -30px;opacity: 0; }
}
@keyframes travel4 {
	0% { top: 0;margin-left: 0px;opacity: 1; }
	50% { opacity: 1; }
	100% { top: -70vh;margin-left: 30px;opacity: 0; }
}
@keyframes travel5 {
	0% { top: 0;margin-left: 0px;opacity: 1; }
	50% { opacity: 1; }
	100% { top: -90vh;margin-left: 80px;opacity: 0; }
}



/* --------------- Section 5 */
/* => voir common section switch */ 



/* --------------- Section 6 */
.home-sc6 { 
	float: left;
	width: 100%;
	position: relative;
	padding: 10vh 0 10vh 0;
	z-index: 1;
	background: #eee;
}
.home-sc6-container {
	width: 100%;
	max-width: 75%;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}
.home-sc6-container h2 {
	color: var(--main);
	font-weight: 800;
	width: 100%;
	text-align: center;
	margin: 0 0 10vh 0;
	font-size: 3.5em;
	letter-spacing: -0.02em;
}
.home-sc6-container .secteurs {
	width: 100%;
}
.home-sc6-container .secteurs .tuile {
	float: left;
	width: 33.3333%;
	padding: 15px;
}
.tuile .tuile-container {
	width: 100%;
	padding: 0px;
	background: #eee;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	overflow: hidden;
}
.tuile .tuile-container .tof {
	min-height: 15vh;
	width: 100%;
}
.tuile .tuile-container .tof img {
	width: 100%;
}
.tuile .tuile-container .overview {
	background: #fff;
	padding: 30px;
}
.tuile .tuile-container .overview h3 {
	text-align: center;
	margin: 0 0 20px 0;
	font-size: 35px;
    font-weight: 700;
}
.tuile .tuile-container .overview p {
	font-size: 19px;
	margin: 0;
}


/* ##################################################################################################### */
/* ##################################  R E S P O N S I V E  ############################################ */
/* ##################################################################################################### */
@media (max-width: 1199px) {
	.home-sc4-container .links a { font-size: 18px; }
	.home-sc4-container .links a img { width: 40px; }
	.home-sc6-container { max-width: 85%; }
	.home-sc6-container .secteurs .tuile { padding: 10px; }
	.tuile .tuile-container .overview h3 { font-size: 30px; }
	.tuile .tuile-container .overview { padding: 20px; }
	.tuile .tuile-container .overview p { font-size: 17px; }
}
@media (max-width: 991px) {
	.home-sc2 { padding: 7vh 0 7vh 0; }
	.home-sc2 .container h2 { font-size: 2.5em; }
	.home-sc2 .container .team .member { padding: 0 10px; }
	.home-sc2 .container .team .member .tof { width: 150px;height: 150px; }
	.home-sc2 .container .team .member .details span.nom { font-size: 1.5em; }
	.home-sc2 .container .team .member .details span.fonction { font-size: 1em; }
	.home-sc2 .container .team .member .details .pres { font-size: 1.1em; }
	.home-sc2 .container .edito p { font-size: 17px;line-height: 30px; }
	.home-sc4 { padding: 7vh 0 7vh 0; }
	.home-sc4-container { max-width: 90%; }
	.home-sc4-container h2 { font-size: 2.5em; }
	.home-sc4-container .postsGrid { grid-auto-rows: minmax(50vh, 50vh); }
	.home-sc4-container .postsGrid a .tof img { object-position: center top; }
	.home-sc6 { padding: 7vh 0 7vh 0; }
	.home-sc6-container h2 { font-size: 2.5em;margin: 0 0 5vh 0; }	
	.home-sc6-container .secteurs .tuile { width: 50%; }
	.postsGrid .one { grid-column: 1/4; }
	.postsGrid .two { grid-column: 1/4;grid-row: 2; }
	.postsGrid .three { grid-column: 1 / 4;grid-row: 3; }
	.postsGrid .four { grid-column: 1 / 4;grid-row: 4; }
}
@media (max-width: 767px) {
	.home-sc2 .container .team .member { width: 100%;display: block;padding: 0 10vw;margin: 0 0 40px 0; }
	.home-sc6-container .secteurs .tuile { width: 100%;padding: 10px 0; }
	.home-sc4-container .links a { margin: 0 5px 15px 5px; }
	.emojis .heart { width: 60px; }
}
@media (max-width: 680px) {
	
}
@media (max-width: 640px) {
	
}
@media (max-width: 600px) {
	.home-sc2 .container h2 { font-size: 2em;line-height: 1em;margin: 0 0 40px 0; }
	.home-sc4-container h2 { font-size: 2em;line-height: 1em;margin: 0 0 40px 0; }
	.home-sc6-container h2 { font-size: 2em;line-height: 1em;margin: 0 0 40px 0; }
}
@media (max-width: 480px) {
	
}