header, footer {
	background-color: transparent;
}

body {
	font-family: 'Barlow', sans-serif;
	color: #483242;
	font-size: 18px;
}

a, a:hover, a:active, a:visited, a:focus {
	color: inherit;
}

header {
	z-index: auto;
}


body.header-open {
	overflow: hidden;
}

a.back {
	font-style: italic;
    font-weight: bold;
    font-size: 16px;
    margin: 15px 0;
}
a.back::before {
	content: '<< ';
}

/** HEADER SIMPLE **/

header.simple-header {
	background-color: #60164e;
}
header.simple-header .col {
	display: flex;
	align-items: flex-end;
}
header.simple-header img {
	width: 150px;
	margin: 10px 0;
}
header.simple-header .line {
	flex: 2;
	position: relative;
	margin: 30px 20px;
	border-bottom: 1px solid #abc20c;
}
header.simple-header .line::after {
	content: '';
	display: block;
	position: absolute;
	right: -5px; bottom: -5px;
	width: 10px; height: 10px;
	background: #abc20c;
	border-radius: 50%;
}
header.simple-header h1 {
	margin: 0;
	display: inline-block;
	margin: 20px 0px;
	color: #abc20c;
	font-size: 30px;
}

/** HEADER MENU **/

#header {
	position: fixed;
	top: 0; right: 0;
	bottom: 30px; left: 0;
	background-color: #60164e;
	z-index: 2;
	transition: transform .5s ease;
	transform: translateY(-100%);
}
body.header-open #header {
	transform: none;
}

/* links */

#header .header-links {
	position: absolute;
	top: 0; right: 0;
	width: 350px; height: 250px;
	padding: 5px 30px;
	background: url('img/rounded-bg.svg') top right/contain no-repeat;
	overflow: hidden;
	color: #60164e;
	font-size: 17px;
	text-align: right;
	z-index: 1;	
}
#header .header-links li {
	margin: 10px;
	list-style: none;
}
#header .header-links a:hover {
	text-decoration: none;
}

#header .header-links img {
	margin-right: 10px;
}
#header .header-links .phototheque {
	width: 40px;
}
#header .header-links .texte-telecharger {
	width: 30px;
}
#header .header-links .communique-presse {
	width: 40px;
}
@media (max-width: 991px) {
	#header .header-links {
		width: 300px; height: 200px;
		font-size: 14px;
		padding: 5px 10px;
	}
	#header .header-links li {
		margin: 2px;
	}
}
@media (max-width: 767px) {
	#header .header-links {
		width: 250px; height: 150px;
		font-size: 13px;
		padding: 0 5px;
	}
	#header .header-links li {
		margin: 0px;
	}
	#header .header-links .phototheque {
		width: 30px;
	}
	#header .header-links .texte-telecharger {
		width: 20px;
	}
	#header .header-links .communique-presse {
		width: 30px;
	}
}


#header .header-links span {
	display: inline-block;
	vertical-align: middle;
	text-align: left;
	line-height: 1em;
}

/* anim */

#header nav {
	position: absolute;
	top: 0; right: 0;
	bottom: 0; left: 0;
	overflow: hidden;
}
#header nav::after {
	content: url(img/toit.svg) ;
	position: absolute; 
	bottom: -6px; left: 20%;
	width: 20%;
}
@media (max-width: 1199px) {
	#header nav::after {
		left: 15%;
	}
}
@media (max-width: 991px) {
	#header nav::after {
		left: 10%;
	}
}
@media (max-width: 767px) {
	#header nav::after {
		left: 5%;
	}
}
#header #animation_container {
	position: absolute;
	top: 50%; left: 50%;
	margin: auto;
	transform: translate(-50%, -50%);
}

/* burger */

#header .burger {
	position: absolute;
	bottom: -30px; left: 50%;
    width: 70px; height: 70px;
	padding-top: 33px;
    background: #60164e;
    border-radius: 100%;
    color: white;
	font-size: 23px;
	text-align: center;
    cursor: pointer;
    transform: translateX(-50%);
	animation: pulse 2s infinite;
	z-index: -1;
}
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(96, 22, 78, 0.75);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(96, 22, 78, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(96, 22, 78, 0);
	}
}


/**/



/** MAIN **/

main {
	padding-top: 0;
	transition: padding .5s;
}
body.header-open main {
	padding-top: calc(100vh - 30px);
}
.simple-header + main {
	padding: 20px;
}



/** ARTICLE **/

article:nth-of-type(2n+1) {
	background: white;
}
article:nth-of-type(2n) {
	background: #f5f3f1;
}
@media (min-width: 768px) {
	article:nth-of-type(2n) {
		margin-top: -100px;
		padding-top: 140px;
	}
}

/* header */

@media (min-width: 768px) {
	article header {
		position: relative;
		overflow: hidden;
		max-width: 1920px;
	}
	article header div {
		height: 100%;
	}
	article .header-content {
		z-index: 1;
	}
	article:nth-of-type(2n) .header-content {
		left: 50%;
	}
}

article .number {
	height: auto;
	padding: 10px;
	color: #dcdadd;
	font-size: 120px;
	line-height: 1em;
}
@media (min-width: 768px) {
	article:nth-of-type(2n+1) .number {
		text-align: right;
	}
}
article .number::before,
article .number::after {
	display: inline-block;
}
article #mvicon-1::after {
	content: url('img/1-site-internet.svg');
	width: 120px;
}
article #mvicon-2::before {
	content: url('img/2-visite-virtuelle.svg');
	width: 90px;
}
article #mvicon-3::after {
	content: url('img/3-besoins-clients.svg');
	width: 100px;
}
article #mvicon-4::before {
	content: url('img/4-plan-3d.svg');
	width: 110px;
}
article #mvicon-5::after {
	content: url('img/5-panier-des-envies.svg');
	width: 185px;
}
article #mvicon-6::before {
	content: url('img/6-carnet-numerique.svg');
	width: 65px;
}
article #mvicon-7::after {
	content: url('img/7-suivi-chantier.svg');
	width: 85px;
}

@media (min-width: 768px) {
	article .title {
		padding: 20px 40px;
		background: white;
	}
	article:nth-of-type(2n+1) .title {
		margin-right: -30px;
	}
	article:nth-of-type(2n) .title {
		margin-left: -30px;
	}
}
article h2,
article h3 {
	font-family: 'Montserrat', sans-serif;
}
article h2 {
	margin: 0 0 35px 0;
	padding: 0;
	font-size: 28px;
	font-weight: bold;
	text-transform: uppercase;
}
article h3 {
	margin: 0;
	padding: 0;
	color: #8b7c69;
	font-size: 22px;
	font-weight: 300;
	font-style: italic;
}


article aside {
	margin-top: 20px;
}
article aside > div {
	min-height: 450px;
}
@media (min-width: 768px) {
	article aside {
		position: absolute;
		top: 0;
		width: 50%; height: 100%;
		margin-top: auto;
	}
	article aside > div {
		min-height: auto;	
	}
	article:nth-of-type(2n+1) aside {
		right: 0;
		width: calc(50% + 15px);
	}
	article:nth-of-type(2n) aside {
		left: 0;
		width: calc(50% + 15px);
	}
}
article aside .slick-slider .slick-track,
article aside .slick-slider .slick-list {
	width: 100%;
	height: 100%;
}
article aside .slick-dotted.slick-slider {
	margin: 0;
}
article aside .slick-list {
	position: absolute;
}
article aside .slide-cover {
	background: center/cover;
}
#site-internet aside .slide-cover {
	background: right/contain no-repeat;
}

article aside .slick-dots {
	width: auto;
	right: 0;
	bottom: 0;
	padding: 15px 10px;
}
article aside .slick-dots li {
	display: block;
}
article aside .slick-dots li button::before {
	content: '';
	border-radius: 100%;
	border: 2px solid white;
	width: 12px;
	height: 12px;

}
article:nth-of-type(2n) .slick-dots {
	left: 0;
	right: auto;
}

/* content */

article .content {
	margin: 30px 0 50px;
	text-align: justify;
}
@media (min-width: 768px) {
	article .content {
		column-count: 2;
		column-gap: 30px;
	}
}

/* footer*/

article footer {
	position: relative;
	padding: 20px 15px 0 15px;
}
@media (min-width: 768px) {
	article footer {
		background: white;
	}
}

article footer h3 {
	position: relative;
	font-weight: bold;
}
article footer h3::after {
	content: '';
	position: absolute;
	bottom: 7px;
	margin: 0 15px;
	width: 50%; height: 3px;
	background: #8b7c69;
}

article .en-savoir-plus ul {
	padding: 15px 0;
}
article .en-savoir-plus li {
	display: inline-block;
	margin-right: 40px;
}
article .en-savoir-plus a:hover {
	text-decoration: none;
}
article .en-savoir-plus span {
	display: inline-block;
	vertical-align: middle;
	line-height: 1em;
}
article .en-savoir-plus img {
	margin-right: 10px;
}
article .en-savoir-plus .phototheque {
	width: 45px;
}
article .en-savoir-plus .texte-telecharger {
	width: 35px;
}

article .liens-utiles ul {
	padding: 15px 40px;
	line-height: 1.1em;
}


/** EXTRA-INFOS **/
#extra-infos {
	padding: 50px 0;
}
#extra-infos h2 {
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 35px;
	text-align: center;
}
#extra-infos .form-btn {
	width: 300px;
    height: 300px;
    display: inline-block;
    background: #60164e;
    margin: 10px;
    vertical-align: top;
	color: white;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}
#extra-infos .form-btn:hover {
	background: #741a5e;
}
#extra-infos .form-btn:first-child {
	background: #abc20c;
}
#extra-infos .form-btn:first-child:hover {
	background: #bdd80e;
}


#extra-infos a {
	display: flex;
	flex-direction: column;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 50px;
}
#extra-infos a:hover {
	text-decoration: none;
}
#extra-infos img,
#extra-infos i,
#extra-infos svg {
    width: 75px;
    display: block;
    /*margin: auto;*/
    font-size: 65px;
	padding-bottom: 15px;
}


/** PHOTOTHEQUE **/

#phototheque header {
	display: flex;
	color: #60164e;
	align-items: flex-end;
	margin-top: 20px;
}

#phototheque header .number {
	color: #c5c0c4;
	font-size: 60px;
}
#phototheque header h2 {
    text-transform: uppercase;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 18px;
	margin: 20px;
}
#phototheque header .line {
	flex: 2;
	border-bottom: 2px solid #60164e;
	margin: 25px 15px;
	position: relative;
}
#phototheque header a {
	font-style: italic;
	font-weight: bold;
	font-size: 16px;
	margin: 15px 0;
}
#phototheque header a::after {
	content: ' >>';
}


#phototheque .block-img {
	display: inline-block;
	margin: 20px;
	position: relative;
}
#phototheque .block-img .download {
	position: absolute;
	bottom: 0;
	background: white;
	font-size: 16px;
	color: #60164e;
	padding-right: 10px;
}
#phototheque .block-img .download img {
	width: 22px;
	vertical-align: text-bottom;
}

/** FORM **/
form {
	padding: 20px;
}
form p {
	text-align: center;
}
form label {
	font-weight: normal;
}
form input[type="submit"] {
	padding: 5px 15px;
	background: #60164e;
	border: none;
	color: white;
}
form input[type="submit"]:hover {
	background: #741a5e;
}



/** FOOTER **/

#footer address {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 10px;
	background-color: #5a0d47;
	color: white;
	font-size: 16px;
}
#footer address > div {
	padding: 25px;
}
#footer address > div:first-child {
	text-align: right;
}
#footer address dd {
	margin-bottom: 10px;
}

#footer .copyright {
	padding: 10px;
	text-align: center;
	color: #c5bfb7;
	font-size: 13px;
}



/** TEXTES A TELECHARGER **/

.textos {
	border: solid 1px #c1bbc0;
}
.textos > div {
	padding: 20px !important;
	height: 100px;
    border: solid 1px #c1bbc0;
}
.textos a,
.textos a:hover {
	display: block;
	text-decoration: none;
}
.textos a:hover {
	color: #abc20c;
}
.textos i, .textos svg {
	float: left;
	margin-right: 10px;
	color: #c1bbc0;
	font-size: 50px;
}
.textos .number {
	display: block;
    color: #c1bbc0;
	font-weight: 600;
}