/* Author: Anthony Cowe */



/*------------------------------------*\
	MAIN
\*------------------------------------*/

/*-----------------*\
	Font
\*-----------------*/

@font-face {
    font-family: "Roboto";  
    src: url(../fonts/Roboto/Roboto-Regular.ttf) format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: "Roboto";  
    src: url(../fonts/Roboto/Roboto-Medium.ttf) format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
    font-family: "Roboto";  
    src: url(../fonts/Roboto/Roboto-Bold.ttf) format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
    font-family: "Roboto";  
    src: url(../fonts/Roboto/Roboto-Black.ttf) format('truetype');
	font-weight: 900;
	font-style: normal;
}

/*-----------------*\
	GENERAL
\*-----------------*/

*{
	box-sizing: border-box;
	scroll-behavior: smooth;
	font-family:"Roboto", sans-serif;
}

body{
	margin:0;
	padding:0;
	font-size:13px;
}

#page{
	width:100%;
	max-width:100vw;
	overflow-x:hidden;
	text-align:center;
}

a, a:visited, a:hover, a:active{
	text-decoration:none;
}

.center{
	width:94%;
	margin:0 auto;	
}

.clearfix{
	clear:both;
}

.hide{
	display:none;
}

.flex{
	display:flex;
	flex-flow:row wrap;
	justify-content:space-between;
}

*::selection {
    background-color:transparent;
} 

*::-moz-selection{
    background-color:transparent;
}

*{        
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    /*IE10*/
    -ms-user-select: none;
    user-select: none;

    /*You just need this if you are only concerned with android and not desktop browsers.*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} 

h2, h3{
	font-size:2.2em;
	font-weight:900;
	text-transform:uppercase;
	position:relative;
	z-index: 1;
}

h2:after{
	content:'_ _ _ _';
	position:absolute;
	bottom:-15px;
	left:50%;
	transform:translateX(-50%);
	width:100%;
	color:#f7a031;
}

h4{
	font-size:2em;
}

/*-----------------*\
	LOADING ANIMATION
\*-----------------*/

#loadingAnime{
	display:none;
	width:100%;
	height:100%;
	background: #fff;
	position: relative;
}

.loading {
	display:none;
}
.preloader-wrapper.active {
    -webkit-animation: container-rotate 1568ms linear infinite;
    animation: container-rotate 1568ms linear infinite;
}
.preloader-wrapper {
    display: inline-block;
    position: absolute;
    width: 50px;
    height: 50px;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
}
.active .spinner-layer, .active .spinner-layer.spinner-blue-only, .active .spinner-layer.spinner-red-only, .active .spinner-layer.spinner-yellow-only, .active .spinner-layer.spinner-green-only {
    opacity: 1;
    -webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.spinner-red, .spinner-red-only {
    border-color: #FF5B19;
}
.spinner-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    border-color: #FF5B19;
}
.circle-clipper {
    display: inline-block;
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-color: inherit;
}

.left {
    float: left !important;
}

.active .circle-clipper.left .circle {
    -webkit-animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.circle-clipper.left .circle {
    left: 0;
    border-right-color: transparent !important;
    -webkit-transform: rotate(129deg);
    transform: rotate(129deg);
}
.circle-clipper .circle {
    width: 200%;
    height: 100%;
    border-width: 3px;
    border-style: solid;
    border-color: inherit;
    border-bottom-color: transparent !important;
    border-radius: 50%;
    -webkit-animation: none;
    animation: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}
.gap-patch {
    position: absolute;
    top: 0;
    left: 45%;
    width: 10%;
    height: 100%;
    overflow: hidden;
    border-color: inherit;
}
.circle-clipper {
    display: inline-block;
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-color: inherit;
}

.right {
    float: right !important;
}

@keyframes left-spin{
	0% {
		-webkit-transform: rotate(130deg);
		transform: rotate(130deg);
	}
	50% {
		-webkit-transform: rotate(-5deg);
		transform: rotate(-5deg);
	}
	100% {
		-webkit-transform: rotate(130deg);
		transform: rotate(130deg);
	}
}
@keyframes right-spin{
	0% {
		-webkit-transform: rotate(-130deg);
		transform: rotate(-130deg);
	}

	50% {
		-webkit-transform: rotate(5deg);
		transform: rotate(5deg);
	}
	100% {
		-webkit-transform: rotate(-130deg);
		transform: rotate(-130deg);
	}
}
@keyframes container-rotate{
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes fill-unfill-rotate{
	12.5% {
		-webkit-transform: rotate(135deg);
		transform: rotate(135deg);
	}

	25% {
		-webkit-transform: rotate(270deg);
		transform: rotate(270deg);
	}
	37.5% {
		-webkit-transform: rotate(405deg);
		transform: rotate(405deg);
	}
	50% {
		-webkit-transform: rotate(540deg);
		transform: rotate(540deg);
	}
	62.5% {
		-webkit-transform: rotate(675deg);
		transform: rotate(675deg);
	}
	75% {
		-webkit-transform: rotate(810deg);
		transform: rotate(810deg);
	}
	87.5% {
		-webkit-transform: rotate(945deg);
		transform: rotate(945deg);
	}
	100% {
		-webkit-transform: rotate(1080deg);
		transform: rotate(1080deg);
	}
}

/*-----------------*\
	HEADER
\*-----------------*/

header{
	background-color:#000;
	position: fixed;
	top: 0;
	width: 100%;
	z-index:10;
}

#logo{
	display:inline-block;
	width:60%;
	height:100%;
	padding:10px 0;
	float:left;
}

#logo img{
	width: auto;
    height: 100%;
	max-height: 20vw;
    object-fit: contain;
}

#menu{
	display:none;
	position:absolute;
	top:95px;
	right:0;
	text-transform: uppercase;
    background-color: #000;
	overflow: hidden;
	-webkit-transition: right 0.5s ease;
	-moz-transition: right 0.5s ease;
	-ms-transition: right 0.5s ease;
	-o-transition: right 0.5s ease;
	transition: right 0.5s ease;
}

#menu.hideMenu{
	right:-100%;
	-webkit-transition: right 0.5s ease;
	-moz-transition: right 0.5s ease;
	-ms-transition: right 0.5s ease;
	-o-transition: right 0.5s ease;
	transition: right 0.5s ease;
}

#menu a{
	display:block;
	position:relative;
	margin:15px 30px;
	padding:5px;
	color:#9bb8d4;
	outline: none;
}

#menu a.ligne, #menu a:hover{
	color:#f7a031;
}

#menu a:after, #menu a:visited:after{
	content:'';
	width:calc(100% - 10px);
	height:0;
	position:absolute;
	bottom:0;
	left:5px;
	border-radius:2px;
	background-color:#000;
}

#menu a:hover:after, #menu a.ligne:after{
	height:4px;
	background-color:#f7a031;
}

#boutonMenu{
	position:absolute;
	top:50%;
	right:10%;
	transform:translateY(-50%);
	display:inline-block;
	height: 30px;
    width: 30px;
}

#boutonMenu span{
	display:block;
	background-color:#f7a031;
	width:30px;
	height:4px;
	margin:5px 0;
	border-radius:2px;
}



/*-----------------*\
	INDEX
\*-----------------*/


#content {
	scroll-snap-type: y mandatory;
	position:relative;
}

section, #accueil{
	position:relative;
	scroll-snap-align: start;
	scroll-margin-top: 160px;
}


/*-----------------*\
	VIDEO
\*-----------------*/

#accueil{
	position:relative;
	max-height:55vw;
}

#vidAcc{
	width:100%;
	height:100%;
	max-height:55vw;
	object-fit: cover;
}

#caption{
	display:none;
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
	text-transform:uppercase;
	text-shadow: 1px 1px 2px #000;
	color:#fff;
	font-size:2em;
	line-height:1.6em;
	letter-spacing:1px;
}

#caption span{
	font-weight:700;
}

/*-----------------*\
	A PROPOS
\*-----------------*/


#aPropos{
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding:3% 0;
}

#aPropos p{
	padding:0 6%;
	font-weight:500;
}

/*-----------------*\
	NOS SERVICES
\*-----------------*/


#service{
	padding:3% 0 0;
	font-weight:500;
}

#service p{
	padding:0 6%;
}

#imgService{
	margin-top:7%;
	margin-left:-1vw;
	margin-right:-1vw;
}

#imgService div{
	position:relative;
	flex:0 0 100%;
	height:0;
	padding-bottom:75%;
}

#imgService img{
	position:absolute;
	top:0;
	left:0;
	width:calc(100% - 2vw);
	height:calc(100% - 2vw);
	margin:1vw;
	box-shadow:0 -5px 30px -5px #9bb8d4;
}

#serviceParallax{
	height:60vw;
	margin-top:-20%;
	background-image:url('../media/bk_service.png');
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#serviceParallax div{
	position:relative;
	top:45%;
	text-transform:uppercase;
	font-size:1.4em;
	font-weight:bold;
	letter-spacing:1px;
	color:#fff;
	padding:0 4%;
}

/*-----------------*\
	CONTACT
\*-----------------*/

#contact{
	padding:5% 0 0;
	background-image:url('../media/motif_contact.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#contact .center{
	position:relative;
	z-index: 1;
}

#contact .flex > div{
	flex:0 0 100%;
}

#contact .flex > div + div{
	margin-top:30px;
}

#contact .imgEmp{
	position:relative;
	width:100%;
	height:0;
	padding-bottom:100%;
}

#contact .imgEmp img{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

#contact .txtEmp h3{
	margin-top:15px;
	margin-bottom:0;
}

#contact .txtEmp h4{
	margin-top:0;
	margin-bottom:15px;
}

#contact .txtEmp p, #bureau p{
	margin:0;
}

#contact .txtEmp a, #bureau a{
	color:#000;
	font-size:1.5em;
	font-weight:bold;
}

#contact a:hover{
	color:#f7a031;
}

#bureau{
	margin-top:3%;
	padding:1% 0 3%;
	background-color:#9bb8d4;
	position: relative;
   
}

#bureau p{
	position:relative;
	z-index:1;
}

#white_shadow{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(255, 255, 255, 0.5);
	z-index:0;
}

/*-----------------*\
	FOOTER
\*-----------------*/

footer{
	background-color:#657584;
	border-top:1px solid #fff;
	padding:2% 0;
	color:#fff;
}

footer a{
	color:#fff;
}