/*
Theme Name: Fofatech
Theme URI: https://www.fofatech.fr
Author: fofatech
Author URI: https://www.fofatech.fr
Description: Maison, Appartement, Locaux Commerciaux... Fofatech vous accompagne dans la réalisation de vos travaux.
Version: 1.0
*/

/* Reset */
/***********************************************************************************/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
h1, h2, h3 {
	font-size: 1em;
	font-weight: normal;
}
img {
	vertical-align: middle;
}
a {
	display: inline-block;
	color: inherit;
}
li {
	list-style: none;
}
fieldset {
	border: 0;
}
label {
	cursor: pointer;
}
input {
	font-size: inherit;
}
button,
input[type="text"],
input[type="password"],
textarea {
	font-family: inherit;
}
input[readonly] {
	cursor: default;
}
button,
input[type="text"],
input[type="password"],
textarea {
	display: block;
	box-sizing: border-box;
}
button {
	width: 100%;
	cursor: pointer;
}
table {
	width: 100%;
	border-collapse: collapse;
}
table caption {
	text-align: left;
}
svg {
	display: block;
	max-width: 100%;
}

/* Fonts */
/***********************************************************************************/
@font-face {
    font-family: 'DIN';
    src: url('assets/fonts/DINOffc-Light.woff2') format('woff2'),
        url('assets/fonts/DINOffc-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN';
    src: url('assets/fonts/DINOffc.woff2') format('woff2'),
        url('assets/fonts/DINOffc.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN';
    src: url('assets/fonts/DINOffc-Medi.woff2') format('woff2'),
        url('assets/fonts/DINOffc-Medi.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN';
    src: url('assets/fonts/DINOffc-Bold.woff2') format('woff2'),
        url('assets/fonts/DINOffc-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


/* Structure + OOCSS */
/***********************************************************************************/
body {
	font-size: 62.5%;
	line-height: 1.4;
	font-family: 'DIN',sans-serif;
	font-weight: 300;
	color: #313131;
}

.title-lvl1 {
	font-size: 6.5em;
	font-weight: 500;
	text-transform: uppercase;
}
.title-lvl2 {
	font-size: 4em;
	font-weight: 500;
	text-transform: uppercase;
}
.title-lvl3 {
	font-size: 2.5em;
}
.std-txt {
	font-size: 1.5em;
}
.std-txt.lvl2 {
	font-size: 4em;
	line-height: 1.2;
}
p strong {
	font-weight: bold;
}
.txt-highlight {
	font-size: 4em;
	font-weight: 300;
}
.logo {
	vertical-align: middle;
	padding: 20px 0 20px calc(100vw * 92 / 1920);
	float: left;
	width: 188px;
	box-sizing: content-box;
}
.header:after {
	content: "";
	display: block;
	clear: both;
}
.menu {
	float: right;
	width: calc(100% - 188px - (100vw * 92 / 1920));
	max-width: 1280px;
}
.menu ul {
	display: flex;
	justify-content: space-between;
	padding: 0 calc(100vw * 92 / 1920);
}
.menu-item {
	flex-grow: 1;
	text-align: center;
	position: relative;
}
.menu-item a {
	font-size: 1.8em;
	font-weight: 500;
	line-height: 50px;
	padding: 20px 0;
	text-transform: uppercase;
	text-decoration: none;
}
.current-menu-item a {
	color: #c1e2f6;
}
.current-menu-item:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: #313131;
	transform: skew(-30deg);
}
.menu-item:last-child a {
	color: #fff;
}
.menu-item:last-child:before {
	content: "";
	position: absolute;
	top: 0;
	right: calc(-100vw * 92 / 1920);
	width: 100%;
	height: 100%;
	z-index: -1;
	background: #313131;
}
.menu-item:last-child:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: #313131;
	transform: skew(-30deg);
}
.footer {
	text-align: center;
}
.hiring {
	position: relative;
	color: #fff;
	padding:  calc(100vw * 46 / 1920);
	margin-bottom: calc(100vw * 92 / 1920);
}
.hiring:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: -1;
	width: calc(100% - 8px);
	background: #313131;
	border-radius: 0 10px 10px 0;
}
.footer-logo {
	width: 286px;
	height: 77px;
	background: url(assets/svg/logo_fofatech.svg) no-repeat center center;
	background-size: contain;
	margin: calc(100vw * 92 / 1920) auto;
}
.footer-social {
	margin-bottom: calc(100vw * 92 / 1920);
}
.footer-social a {
	text-indent: -9999px;
	width: 57px;
	height: 57px;
	background: url(assets/svg/instagram_icon.svg) no-repeat center center;
	background-size: contain;
}

form {
	padding: calc(100vw * 96 / 1920) calc(100vw * 46 / 1920);
	max-width: 720px;
	margin: auto;
}
form p {
	margin-bottom: 20px;
}
form label {
	display: block;
	font-size: 1.8em;
	padding: 0 20px;
}
form input[type="text"],
form input[type="email"],
form textarea {
	width: 100%;
	height: 60px;
	padding: 0 20px;
	border: 3px solid #bde0f5;
	background: #bde0f5;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea {
	border-color: #313131;
}
form textarea {
	padding: 20px;
	line-height: 24px;
	height: 480px;
}
form input[type="submit"] {
	font-size: 1.8em;
	color: #fff;
	height: 60px;
	padding: 0 40px;
	margin: 0 20px;
	border: 3px solid #313131;
	background: #313131;
}



/* Homepage */
/***********************************************************************************/
.intro {
	position: relative;
}
.intro-bg {
	opacity: 0.37;
	min-height: 46.5625vw;
}
.intro-bg img {
	max-width: 100%;
}
.intro-content {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
	text-align: center;
}
.intro-title {
	display: inline-block;
	background: #c1e2f6;
	line-height: 80px;
	padding: 0 30px;
	margin-bottom: 30px;
	border-right: 3px solid #313131;
	border-bottom: 3px solid #313131;
}
.intro-txt {
	font-size: 3.2em;
	font-weight: 500;
	padding: 0 calc(100vw * 92 / 1920);
}
.intro-nextstep {
	position: absolute;
	bottom: calc(100vw * 92 / 1920);
	left: 50%;
	transform: translateX(-50%) rotate(90deg);
	width: 54px;
	height: 54px;
	background: url(assets/svg/arrow_icon.svg) no-repeat center center;
	background-size: contain;
}

.commitments {
	padding: calc(100vw * 92 / 1920);
	text-align: center;
}
.commitments-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: calc(100vw * 92 / 1920);
}
.commitment {
	width: calc(100% /4);
	display: inline-block;
	margin-bottom: calc(100vw * 46 / 1920);
}
.commitment-thumbnail {
	width: 45%;
	margin: 0 auto calc(100vw * 46 / 1920);
	padding-top: 45%;
	background: #c1e2f6;
	border-radius: 100%;
	position: relative;
	overflow: hidden;
}
.commitment-thumbnail img {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
}
.commitment h3, .commitment p {
	padding: 0 10px;
}

.projects {
	padding-top: calc(100vw * 92 / 1920);
	text-align: center;
}
.projects-txt {
	padding: 0 calc(100vw * 92 / 1920);
	margin-bottom: calc(100vw * 46 / 1920);
}
.projects-slider {
	margin-bottom: calc(100vw * 92 / 1920);
	position: relative;
	overflow: hidden;
}
.projects-slides {
	display: table;
	table-layout: fixed;
	height: 23.39vw;
	transition: transform 0.5s;
}
.projects-slide {
	position: relative;
	display: table-cell;
}
.slide-detail {
	position: absolute;
	width: 48vw;
	height: 18.39vw;
	overflow: hidden;
	transform: skewX(-28.6deg);
}
.slide-before {
	top: 0;
	right: 48.5vw;
}
.slide-after {
	top: 5vw;
	left: 48.5vw;
}
.slide-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.slide-before .slide-wrapper {
	transform: translateX(4.5vw);
}
.slide-after .slide-wrapper {
	transform: translateX(-4.5vw);
}
.slide-mask {
	content: "";
	background: url(assets/svg/pathfinder.svg);
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: skewX(28.6deg);
}
.slide-before .slide-mask {
	transform: skewX(28.6deg) rotate(180deg);
}
.slide-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	transform: skewX(28.6deg);
	border: 1px solid #fff;
}
.projects-slide-viewall a {
	margin-top: calc(100vw * 46 / 1920);
	font-size: 1.8em;
	font-weight: 500;
}
.projects-slide-controls a {
	top: calc(50% - calc(100vw * 46 / 1920));
}
.projects-prev-slide {
	position: absolute;
	top: 50%;
	left: calc(100vw * 23 / 1920);
	transform: translateY(-50%) rotate(180deg);
	width: 54px;
	height: 54px;
	background: url(assets/svg/arrow_icon.svg) no-repeat center center;
	background-size: contain;
}
.projects-next-slide {
	position: absolute;
	top: 50%;
	right: calc(100vw * 23 / 1920);
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	background: url(assets/svg/arrow_icon.svg) no-repeat center center;
	background-size: contain;
}
.certification {
	text-align: center;
	padding: 0 calc(100vw * 92 / 1920);
}
.certification-container {
	padding: calc(100vw * 92 / 1920);
	display: inline-block;
	border-top: 4px solid #93918f;
	border-bottom: 4px solid #93918f;
}
.certification-txt {
	padding-bottom: calc(100vw * 46 / 1920);
}
.certification img {
	margin: 0 calc(100vw * 92 / 1920);
}

.reviews {
	padding: calc(100vw * 92 / 1920);
	text-align: center;
}
.reviews-container {
	display: flex;
}
.reviews-list {
	width: 50%;
}
.review {
	font-size: 3em;
	font-weight: 500;
	padding: calc(100vw * 92 / 1920);
	text-align: left;
}
.review-score {
	float: left;
}
.star {
	background: url(assets/svg/star_icon_active.svg) no-repeat center center;
	background-size: contain;
}
.review-score .star {
	display: inline-block;
	width: 2.6vw;
	height: 2.6vw;
	min-width: 24px;
	min-height: 24px;
}
.review-score .star.off {
	background-image: url(assets/svg/star_icon.svg);
}
.review-user {
	padding-bottom: calc(100vw * 46 / 1920);
	float: left;
	line-height: 2.6vw;
	margin-left: 30px;
	text-decoration: underline;
}
.review-comment {
	line-height: 1.1667;
}
.review-comment {
	clear: both;
}
.global-review {
	width: 50%;
	padding: calc(100vw * 92 / 1920);
}
.global-review .star {
	margin: auto;
	width: 25vw;
	height: 25vw;
	line-height: 25vw;
	font-size: 6vw;
	color: #fff;
	font-weight: 500;
}


/* Projects */
/***********************************************************************************/
.projects-list {
	padding: calc(100vw * 92 / 1920);
}
.projects-list:after {
	content: "";
	clear: both;
	display: block;
}
.list-col {
	float: left;
	width: calc(50% -  calc(100vw * 46 / 1920));
}
.list-col:first-child {
	margin-right: calc(100vw * 46 / 1920);
}
.projects-list-item {
	background-color: #c1e2f6;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
}
.item-hover {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 8vw;
	height: 8vw;
	min-width: 64px;
	min-height: 64px;
	background: url(assets/svg/plus_icon.svg) no-repeat center center;
	background-size: 120%;
	background-color: #c1e2f6;
	overflow: hidden;
	border-radius: 100%;
}
.item-details {
	display: block;
	opacity: 0;
	background: #313131;
	padding: calc(100vw * 92 / 1920);
	text-align: left;
	transform: translateY(100%);
	transition: opacity 0.5s, transform 0.5s;
}
.projects-list-item:hover .item-details {
	opacity: 1;
	transform: translateY(0);
}
.item-spec {
	font-size: 2.7vw;
	font-weight: bold;
	color: #fff;
	margin-bottom: 30px;
}
.item-shortdesc p {
	font-weight: 500;
	color: #fff;
	margin-bottom: 30px;
}
.item-link {
	font-size: 1.8em;
	font-weight: 500;
	color: #fff;
	text-decoration: underline;
}
.item-pict {
	background: #c1e2f6;
	width: calc(50% -  calc(100vw * 46 / 1920));
	border-radius: 8px;
	float: left;
	padding: calc(100vw * 92 / 1920);
	position: relative;
}

/* Project */
/***********************************************************************************/
.project-bg img {
	max-width: 100%;
}
.project-spec {
	background: #bde0f5;
}
.project-spec ul {
	display: flex;
	justify-content: space-between;
	padding: 0 calc(100vw * 92 / 1920);
}
.project-spec li {
	font-size: 2.7vw;
	font-style: 400;
	color: #fff;
	padding: calc(100vw * 46 / 1920);
	position: relative;
	flex-grow: 1;
	text-align: center;
}
.project-spec li:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	height: 3vw;
	width: 2px;
	transform: translateY(-50%);
	background: #fff;
}
.project-spec li:first-child:after {
	content: none;
}
.project-desc {
	text-align: center;
	padding: calc(100vw * 92 / 1920);
}

.project-desc p {
	padding: calc(100vw * 46 / 1920) calc(100vw * 92 / 1920);
	padding-top: 0;
}
.project-desc .wp-block-gallery {
	display: none !important;
}
.project-slider {
	position: relative;
	overflow-x: hidden;
	height: 62.5vw;
}
.project-slides {
	padding-top: 12.5vw;
	width: calc(46.875vw * 3);
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
.project-slide {
	background: #bde0f5;
	width: 46.875vw;
	height: 31.25vw;
	float: left;
	position: relative;
}
.project-slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.project-slide.current {
	z-index: 10;
	transform: scale(1.2);
	box-shadow: 0 0 6.25vw rgba(0,0,0,0.1);
}
.project-slide:not(.current) {
	cursor: pointer;
}
.project-prev-slide {
	position: absolute;
	top: 45%;
	left: calc(100vw * 23 / 1920);
	transform: translateY(-50%) rotate(180deg);
	width: 54px;
	height: 54px;
	background: url(assets/svg/arrow_icon.svg) no-repeat center center;
	background-size: contain;
}
.project-next-slide {
	position: absolute;
	top: 45%;
	right: calc(100vw * 23 / 1920);
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	background: url(assets/svg/arrow_icon.svg) no-repeat center center;
	background-size: contain;
}


/* About */
/***********************************************************************************/
.about {
	text-align: center;
	padding: calc(100vw * 92 / 1920);
}
.about-container {
	padding: calc(100vw * 92 / 1920);
}
.about h2 {
	display: none;
}
.about-thumbnail {
	width: 28.23vw;
	height: 28.23vw;
	min-width: 240px;
	min-height: 240px;
	border-radius: 100%;
	background: #c1e2f6;
	position: relative;
	margin: 0 auto calc(100vw * 92 / 1920);
}
.about-thumbnail img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
}
.about-txt {
	text-align: justify;
}

@media(min-width: 721px) {
	.hideondesk {
		display: none;
	}
}

/* Mobile */
/***********************************************************************************/
@media(max-width: 720px) {
	body {
		padding-top: 90px;
	}
	.title-lvl1 {
		font-size: 3em;
	}
	.title-lvl2 {
		font-size: 2em;
	}
	.title-lvl3 {
		font-size: 1.8em;
	}
	.std-txt {
		font-size: 1.4em;
	}
	.std-txt.lvl2 {
		font-size: 2em;
	}
	.txt-highlight {
		font-size: 2em;
	}
	.hideonmob {
		display: none;
	}


	.header {
		text-align: center;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100;
		background: #fff;
		width: 100%;
		height: 90px;
	}
	.header:after {
		content: "";
		display: block;
		clear: both;
	}
	.header-logo {
		display: inline-block;
		float: none;
		padding-left: 0;
		vertical-align: middle;
	}
	.toggle-menu {
		width: 48px;
		height: 48px;
		background: url(assets/svg/menu_icon.svg) no-repeat center center;
		background-size: contain;
		float: left;
		margin: 20px 0 20px calc(100vw * 92 / 1920);
	}
	.contact-trigger {
		width: 48px;
		height: 48px;
		background: url(assets/svg/contact_icon.svg) no-repeat center center;
		background-size: contain;
		float: right;
		margin: 20px calc(100vw * 92 / 1920) 20px 0;
	}
	.menu {
		opacity: 0;
		transform: translateX(-100%);
		float: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: calc(100vh - 90px);
		background: #fff;
		transition: opacity 0.5s, transform 0.5s;
	}
	.menu.open {
		opacity: 1;
		transform: translateX(0);
		float: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: calc(100vh - 90px);
		background: #fff;
	}
	.menu ul {
		display: block;
		padding: 0;
	}
	.current-menu-item {
		background: #313131;
	}
	.current-menu-item:after,
	.menu-item:last-child:before,
	.menu-item:last-child:after {
		content: none;
	}
	.menu-item:last-child a {
		color: inherit;
	}

	.intro-title {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
		line-height: inherit;
	}

	#moreabout {
		position: relative;
		top: -90px;
	}

	.commitment {
		width: 50%;
		margin-bottom: calc(100vw * 92 / 1920);
	}


	.projects-slides {
		height: 75vw;
	}
	.projects-slide {
		overflow: hidden;
	}
	.slide-detail {
	    width: calc(48vw * 2);
	    height: calc(18.39vw * 2);
	}
	.slide-before {
		left: -10vw;
	}
	.slide-after {
		top: 38vw;
		right: -10vw;
		left: auto;
	}
	.projects-slide-viewall a {
		margin-top: calc(100vw * 92 / 1920);
	}


	.review {
		font-size: 1.6em;
	}
	.reviews-container {
		display: block;
	}
	.reviews-list {
		width: 100%;
	}
	.review-user {
		line-height: 24px;
	}
	.global-review {
		display: none;
	}

	.list-col {
		float: none;
		width: 100%;
		margin: 0;
	}
	.projects-list-item {
		margin-bottom: calc(100vw * 92 / 1920);
		background: none !important;
	}
	.projects-list-item img {
		width: 100%;
	}
	.item-details {
		opacity: 1;
		transform: none;
		padding-bottom: calc(100vw * 184 / 1920);
	}
	.item-spec {
		font-size: 3em;
	}

	.project-spec {
		padding: calc(100vw * 46 / 1920);
	}
	.project-spec ul {
		display: block;
	}
	.project-spec li:after {
		content: none;
	}
	.project-spec li {
		font-size: 1.8em;
	}
	.project-slide.current {
		transform: scale(1.5);
	}

}