
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

body, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, ul, .ul, li, .li {
	font-family: 'Lato', sans-serif;
}


.grid-container {
	max-width:62.5rem;
}

#main-menu {
	background-color:#4f524c;
	box-shadow: 0 -8px 6px 10px rgba(0,0,0,.3);
	display: block;
	overflow: hidden;
}

#main-menu .menu-logo a{
	padding: 0;
}
#main-menu .menu-name a {
	padding:1.7rem 1.25rem 1rem;
    font-size: .92rem;
	transition: all .5s ease-in-out;
}
#main-menu .menu-name {
	position: relative;
}
#main-menu .menu-name:after {
	content: '';
	width: 1px;
	background: #fff;
	height: 70%;
	position: absolute;
	right: 0;
	top: 15%;
}
#main-menu .menu-name-last:after {
	display: none;
}
#main-menu .menu-name a:hover {
	background: rgba(0,0,0,.2);
}
#main-menu .menu-button a {
	padding: 0;
}

#main-menu li a{
	color:#ffffff;
}

.button.primary {
	background: #6db759;
}
.button.primary:hover, .button.primary:focus {
	background: #7ac765;
}
.button.secondary {
	background: #4f524c;
}

.green {
	font-size: 25px;
	color:#6db759;
	font-weight: bold;
}

.parallax-container {
    position: relative;
    overflow: hidden;
    height: 400px;
    background-size: cover !important;
}
.img-parallax {
    width: 100vmax;
    position: absolute;
    left: 50%;
    transform: translate(-50%,0);
    pointer-events: none;
    z-index: 0;
}

#section-hero .grid-x {
	background:url('../images/hero_bg.jpg') 50% 100% no-repeat #4f524c;
	background-size: cover;
	max-width: 100%;
	height: auto;
	min-height: 720px;
	color:#ffffff;	
}

@media screen and (min-width: 1920px) {
    #section-hero .grid-x {
        background-size: contain;
    }
}

#hero-text {
	padding-top:3.35rem;
}

#hero-text p{
	font-size: 1.1rem;
}

#section-hero {
	position: relative;
}
#section-hero h1{
	font-size:2.5rem;
	font-weight:200;
}

#section-hero h1 span{
	color:#6db759;
}

#hero-scroll-down {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
}

#section-fiches h1{
	font-weight:200;
	font-size:2.5rem;
	color:#6db759;
}

#section-fiches h1 span{
	color:#4f524c;
}

#fiches-text{
	padding-top: 2rem !important;
}

#section-benefices {
	background-color:#e6e6e6;
	padding-top: 2rem;
	padding-bottom:1rem;
}

#benefices-text {
	max-width: 52rem;
	margin: 0 auto 1rem;
}

#fiches-text p strong span,
#benefices-text p strong span {
	color:#6db759;
}

.benefices-list-item {
	font-size:1rem;
}

.benefices-list-item strong {
	color:#6db759;
	font-weight: bold;
	font-size:1.5rem;
	line-height: 1.2;
}

.benefices-list-item img{
	margin:1rem auto;
}

.benefices-list-item p {
	line-height: 1.2;
}

.benefices-list-item-inner {
	background-color: #ffffff;
	padding: 1rem;
	margin-bottom: 1.5rem;
	min-height: 13rem;
}

.benefices-list-item-button .benefices-list-item-inner {
	background-color:#6db759;
	color:white;
	font-size:1.5rem;
	line-height: 1.2;
	font-weight: bold;
	padding-top: 2.5rem;
}

.benefices-list-item-button .benefices-list-item-inner  strong {
	color: #fff;
}
.benefices-list-item-button .benefices-list-item-inner p {
	color:white;
	font-size:1rem;
	font-weight: normal;
	display: block;
}


#fiches-list-container {
	margin-bottom: 1.8rem;
}
.fiches-list-item .button {
	width: 100%;
	font-size: .72rem;
	line-height: 1.3;
	max-width: 140px;
	padding-left: 5px;
	padding-right: 5px;
    display: block;
	margin-left: auto;
	margin-right: auto;
}
@media print, screen and (min-width: 64em) {
#fiches-list-container > .large-2 {
    width: 14.285%;
    padding-left: .5rem;
    padding-right: .5rem;
}
}

#section-benefices {
	font-family:'Lato', Arial, Helvetica, sans-serif;
}

#section-avantages {
	background-color:#4f524c;
	max-width: 100%;
	height: auto;
	text-align: center;
	padding-bottom: 2rem;
}

#avantages-list-title h2 {
	color:white;
	font-weight:200;
	font-size:2.5rem;
	padding-bottom: 3rem;
	padding-top: 2rem;
}

#avantages-list-title h2 strong{
	color:#6db759;
}

.avantages-list-item {
	position: relative;
	margin-bottom: 1rem;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}
.avantages-list-item-inner {
	background: url('../images/avantage-item-bg.png') 50% 0 no-repeat transparent;
	background-size: contain;
	color:#ffffff;
	font-size: 1rem;
	line-height:1.2rem;
	padding: 4.5rem 4rem 5.5rem;
	transform: rotateY(0deg);
    transform-style: preserve-3d;
	transform-origin: 50% 50%;
	transition: transform .25s ease-in-out;
    backface-visibility: hidden;
	min-height: 290px;
}
.avantages-list-item span {
	color:#6db759;
	font-weight:bold;	
	font-size: 1.5rem;
	line-height: 1.1;
}
.avantages-list-item p {
	line-height: 1.2;
}
.avantages-list-item > p {
	padding: 0 13%;
    min-height: 7.85rem;
    transform: rotateY(0);
	transition: transform .25s linear;
}
.avantages-list-item .button {
	border-radius: 50%;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1;
	padding: .2rem;
	width: 2.5rem;
	height: 2.5rem;
    position: relative;
	transition: all .25s ease-in-out;
	margin-top: -135px;
    top: 0;
    cursor: pointer;
}
.avantages-list-item.is-opened .button {
    transform: translateY(1.75rem) rotate(45deg);
}
.avantages-list-item .button:before {
	content: '+';
}
.avantages-list-item-content {
	transform: rotateY(-180deg);
    transform-style: preserve-3d;
	transform-origin: 50% 50%;
    backface-visibility: hidden;
	transition: transform .25s linear;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 1.2rem;
	background: #3d403b;
	padding: 1rem;
	font-size: .9rem;
}
.avantages-list-item-content p {
	font-weight: lighter;
    color: #fff;
}
.is-opened .avantages-list-item-content {
    transform: rotateY(0);
}
.is-opened .avantages-list-item-inner {
	transform: rotateY(180deg);
}
.avantages-list-item-content strong {
	color: #6db759;
}
#section-fonctionnalites {
	background-image:url(../images/bg-fonction.png);
	background-repeat:no-repeat;
	background-color:#e6e6e6;
	max-width: 100%;
	height: auto;
	min-height: 717px;

}

#section-fonctionnalites h1{
	font-weight: 200;
	font-size: 2.5rem;
	color: #6db759;
	padding-top: 2.5rem;
}

#section-fonctionnalites h1 span{
	color: #4f524c;

}

#fonctionnalites-content-video {
	padding-top:2.5rem;
	padding-bottom:2.5rem;
}

.accordion-title {
	background: #fff;
	color: #4f524c;
	font-size: 1.1rem;
	font-weight: bold;
	padding-right: 3rem;
}
.accordion-title::before {
	background: #6db759;
	color: #fff;
	width: 2rem;
	height: 2rem;
	margin-top: -1rem;
	padding-left: .08rem;
	border-radius: 50%;
	text-align: center;
	font-size: 1.65rem;
	line-height: 1.2;
    display: block;
}
.is-active .accordion-title {
	background: #6db759;
	color: #fff;
} 
.is-active .accordion-title::before {
	background: #fff;
	color: #6db759;
}
.accordion-content p {
	font-size: 0.85rem;
	padding-left: 1rem;
	color:#4f524c;
}
.is-active > .accordion-title::before {
	content:"\00d7"; 
}

.accordion {
	padding-bottom:2.5rem;
}

#fiches-list-container img{
	padding-bottom: 1rem;
}


#section-contact{
	background-color:#4f524c;
	line-height:1.2rem;
	color:#ffffff;
}

#section-contact h2{
	color:#6db759;
	font-weight:200;
	font-size:2.5rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#section-contact form span{
	color:#dc252a;
}

#section-contact label{
	color:#ffffff;
}

#checkbox-form{
	background-color:#4f524c;
}

#checkbox-form label{
	color:#ffffff;
	font-size: 13px;
	line-height: 1rem;
	color:#ffffff;
}

#section-footer p {
	padding:1.5rem .75rem;
	font-size:.85rem;
	margin-bottom: 0;
}
#section-footer a {
	color: #4f524c;
	text-decoration: underline;
}

#section-contact #checkbox-form p {
	font-size: .8rem;
}
#section-contact #checkbox-form p a {
	color: #fff;
	text-decoration: underline;
}
#section-contact .grid-container {
	max-width: 42em;
}

#checkbox-form .cell {
	padding: 0;
}

#section-contact .button {
	text-transform: uppercase;
	padding: .75rem 2.25rem;
	font-size: .82rem;
	letter-spacing: .04rem;
}
#section-contact .g-recaptcha {
	display: inline-block;
}

.checkbox-container {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.checkbox-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #eee;
}
.checkbox-container:hover input ~ .checkmark {
	background-color: #ccc;
}
.checkbox-container input:checked ~ .checkmark {
	background-color: #fff;
}
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
	display: block;
}
.checkbox-container .checkmark:after {
	left: 7px;
	top: 1px;
	width: 10px;
	height: 19px;
	border: solid #6db759;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.radio-container {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.radio-container input {
	position: absolute;
	opacity: 0;
}
.radio-container .checkmark {
	position: absolute;
	top: 3px;
	left: 2px;
	height: 18px;
	width: 18px;
	background-color: #6db759;
	border-radius: 50%;
	transition: background .25s ease-in-out;
}
.radio-container:hover input ~ .checkmark {
	background-color: #7ac765;
}
.radio-container input:checked ~ .checkmark {
	background-color: #6db759;
}
.radio-container .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
.radio-container input:checked ~ .checkmark:after {
	display: block;
}
.radio-container .checkmark:after {
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: white;
}

.radio-container.is-invalid-label input ~ .checkmark,
.checkbox-container.is-invalid-label input ~ .checkmark {
	background-color: #efa499;
}

.is-invalid-input:not(:focus) {
    background-color: #efa499;
}

.js-off-canvas-overlay {
	background: rgba(254, 254, 254, 0.45);
}
#mobile-menu-head {
	background: #fff;
	box-shadow: 0 -8px 6px 10px rgba(0,0,0,.21);
}
#mobile-offset-menu {
	background-color:#4f524c;
}
#mobile-offset-menu a {
	color: #fff;
    padding: .65rem 1rem;
	margin-bottom: .65rem;
}
#mobile-header-button button {
  position: relative;
  background: transparent;
  font-size: 1.2rem;
  margin: 0;
}
#mobile-header-button button:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 1.6em;
  background: linear-gradient(
    to bottom, 
    black, black 20%, 
    white 20%, white 40%, 
    black 40%, black 60%, 
    white 60%, white 80%, 
    black 80%, black 100%
  );
}

#mobile-header #mobile-header-logo {
	padding: .3rem;
}
#mobile-header #mobile-header-button {
	padding: .1rem .3rem;
}
#mobile-offset-menu .menu.vertical {
	padding: .4rem;
}
#mobile-offset-menu .close-button {
	color: #fff;
	z-index: 10;
}

@media screen and (min-width:60em) {
	#main-menu {
		max-width: 100% !important;
	}
	body.is-reveal-open {
		overflow: auto;
	}
	#section-contact form {
		padding-bottom: 5rem;
	}
	#section-contact form .cell {
		margin-top: .5rem;
	}
	#section-contact form .button {
		margin-top: 2rem;
	}
	
	#form-sent-modal {
		height:auto;
		min-height: auto;
		top: 69px !important;
		text-align: center;
		box-shadow: 0 -8px 6px 10px rgba(0,0,0,.21);
	}
	#form-sent-modal p:after {
		content: '';
		position: relative;
        display: inline-block;
		margin-left: .65rem;
		left: 7px;
		top: 1px;
		width: 10px;
		height: 19px;
		border: solid #6db759;
		border-width: 0 2px 2px 0;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
}

@media screen and (max-width:60em) {
	#section-hero .grid-x {
		background-size: 200% auto;
	}
	.grid-container {
		overflow: hidden;
	}
	#section-contact {
		padding-bottom: 2rem;
	}
	#section-contact .g-recaptcha {
		margin-top: 1.5rem;
		margin-bottom: 2.25rem;
	}
}
@media screen and (max-width:40em) {
	#section-hero .grid-x {
		background-size: 240% auto;
		min-height: 300px;
		padding-bottom: 70%;
	}
	
	p {
		line-height: 1.2;
	}
	#hero-text {
		padding-top: 2rem;
	}
	#section-hero h1,
	#section-fiches h1, 
	#avantages-list-title h2,
	#section-fonctionnalites h1 {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}
	#section-fonctionnalites {
        background-image: none;
    }
	#section-fonctionnalites h1 {
		margin-bottom: 0;
		padding-top: 1.5rem;
	}
	
	#avantages-list-title h2 {
		padding-bottom: 1rem;
	}
	
	#avantages-list-container {
		padding-bottom: 1.5rem;
	}
	#avantages-list-container > .cell {
		margin-bottom: 1rem;
		max-width: 19.5rem;
	}
	.avantages-list-item {
		padding-top: 0;
		padding-bottom: 0;
        margin-bottom: 0;
	}
	.avantages-list-item-inner {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }
	.avantages-list-item > p {
		min-height: 6.5rem;
	}
	.avantages-list-item-content p {
		font-size: .8rem;
	}
	.avantages-list-item span {
		font-size: 1.15rem;
	}
	
	#avantages-image, #fonctionnalites-image {
		display: none;
	}
	
	#fonctionnalites-content, #fonctionnalites-content-accordion {
		padding: 0;
	}
	.accordion {
		padding-bottom: 1rem;
	}
	.accordion-content {
		padding: .55rem;
	}
	.accordion-content p {
		margin-top: 1rem;
		padding: 0;
	}
}
