/*
Theme Name: SoHappy Theme Astra Gutenberg
Theme URI: https://www.sohappy-studio.com
Author: Agence So'Happy
Author URI: hhttps://www.sohappy-studio.com
Description: Astra child theme
Template: astra
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
*/
/******************************/
/********** Variables CSS *****/
/******************************/
:root {
	--main-color: var(--ast-global-color-0, #40CAE5);
	--sub-color: var(--ast-global-color-1, #2A205E);
	--euphorie-color : #ef6e43;
	--sohappy-color : #44c799;
	--correspondances-prod-color : #ffd94a;
    --white : #fff;
	--grey: #C7C6C6;
	--black : #000;
    
	--arial : "Arial Narrow", Arial, sans-serif;
	--raleway:'Raleway', sans-serif;
	--lota-grotesque:'Lota Grotesque', var(--raleway);
}

/* --------------- GENERAL ---------------- */
html {
	font-size: 62.5%;
	margin: 0!important;
	padding: 0;
	width: 100%;
	height: unset;
}
body {
	--masthead-height: 100px;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
	font-size: 1.5rem;
	font-family: var(--raleway);
	color: var(--black);
}
#primary {
	margin: 0!important;
}
.entry-content > * {
	margin-bottom: 0;
}

h1, .entry-content h1, .is-h1 {
	font-family: var(--lota-grotesque);
	font-weight: 300;
	color: var(--white);
	font-size: 8rem;
	line-height: 1;
	margin: 0 0 .4lh 0;
}
h2, .entry-content h2, .is-h2 {
	font-family: var(--lota-grotesque);
	font-weight: 400;
	font-size: 5.5rem;
	line-height: 1;
	padding: 0;
	margin: .6lh 0 .3lh 0;
}
h3, .entry-content h3, .is-h3 {
	font-family: var(--lota-grotesque);
	font-weight: 400;
	
	font-size: 3rem;
	line-height: 1;
	margin: .6lh 0 .3lh 0;
}
h4, .entry-content h4, .is-h4 {
	font-family: var(--lota-grotesque);
	font-weight: 400;
	
	font-size: 2.5rem;
	line-height: 1.1;
	margin: .6lh 0 .3lh 0;
}
h5, .entry-content h5, .is-h5 {
	font-family: var(--lota-grotesque);
	font-weight: 400;
	
	font-size: 2rem;
	line-height: 1.1;
	margin: 0 0 .4lh 0;
}

/* définit un style commun pour les paragraphes */
p, a, ul li, ol li {
	font-family: var(--lota-grotesque);
	font-weight: 400;
	line-height: 1.4;
	font-size: 2rem;
	color: var(--black);
}
ul li, ol li {
	color: inherit;
}
p, .entry-content p, .entry-content li {
	margin-top: 0;
	margin-bottom: .2lh;
}
p a, .entry-content li a {
	padding-bottom: 2px;
	border-bottom: var(--sub-color) dotted 1px;
	text-decoration: none!important;
	color: inherit;
	font-weight: inherit;
}
.entry-content p a, .entry-content li a {
	color: var(--sub-color);
	
}
.entry-content p a:hover, .entry-content li a:hover, .entry-content h4 a:hover{
	color: var(--main-color);
	border-bottom-color: var(--main-color);
}

p a:hover {
	color: var(--main-color);
}

strong {
	font-weight: 700;
}
em {
    font-style: italic;
}
.color-black {
	color: var(--black);
}
.color-white {
	color: var(--white);
}

/*********BOUTON**********/
.wp-block-button {
	width: max-content;
	max-width: 100%;
} 
.wp-block-button .wp-element-button {
	position: relative;
	display: block;
	width: max-content;
	max-width: calc(100% - 55px);
	padding: 5px 0;
	margin-left: 55px;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	box-sizing: border-box;
	line-height: normal;
	
	color: var(--black);
	font-family: var(--lota-grotesque);
	font-weight: 700;
	font-size: 1.8rem;
	text-transform: uppercase;
	text-align: left;
	text-decoration: none!important;
	
	transition: all .3s ease-in-out;
}
.wp-block-button .wp-element-button::after {
	position: absolute;
	display: block;
	content: "";
	top: 50%;
	left: -55px;
	transform: translate(0, -50%);
	background-color: var(--black);
	
	width: 40px;
	height: 30px;
	
	mask: url(./assets/svg/picto_arrown.svg) no-repeat center / contain;
    -webkit-mask: url(./assets/svg/picto_arrow.svg) no-repeat center / contain;
	
	transition: inherit;
}
.wp-block-button .wp-element-button:hover {
	background-color: transparent;
	border: none;
	border-bottom: 1px solid var(--black);
	color: var(--black);
	border-radius: 0;
}
.wp-block-button .wp-element-button:hover::after {
	left: -45px;
}

.has-dark-bg .wp-block-button .wp-element-button {
	color: var(--white);
}
.has-dark-bg .wp-block-button .wp-element-button:hover {
	color: var(--white);
	border-bottom: 1px solid var(--white);
}
.has-dark-bg .wp-block-button .wp-element-button::after {
	background-color: var(--white);
}

/****************************/
/**********SPECIFIC**********/
/****************************/
.FlexContainer {
	display: flex!important;
	flex-flow: row wrap;
}
.ContainerFlex {
	display: flex;
	flex-flow: column;
}
.center-row {
	display: flex!important;
	flex-flow: row wrap;
	align-items: center;
}
.align-center-row {
	align-items: center;
}
.justify-center-row {
	justify-content: center;
}
.align-end-row {
	align-items: flex-end!important;
}
.justify-end-row {
	justify-content: end;
}
.justify-between-row {
	justify-content: space-between;
}
.justify-around-row {
	justify-content: space-around;
}
/* enlève la marge interne*/
.no-padding {
	padding: 0!important;
}
/* enlève la marge externe*/
.no-margin {
	margin: 0!important;
}
/* bouton non cliquable */
.no-click {
	pointer-events: none;
	cursor: none;
}
/* sections en fullwidth */
.fullwidth {
	width: 100%!important;
	max-width: 100%!important;
}
.fullheight {
	height: 100%!important;
	max-height: 100%!important;
}
/* Centre le background et remplit la div */
.full-background-fit {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
/* cache le after et le before */
.no-after:after {
	visibility: hidden!important;
}
.no-before:before {
	visibility: hidden!important;
}
.no-desktop {
	display: none!important;
}
@media (max-width: 980px) {
	.no-desktop {
		display: unset!important;
	}
	.no-tablet {
		display: none!important;
	}
}
@media (max-width: 768px) {
	.no-tablet {
		display: unset!important;
	}
	.no-mobile {
		display: none!important;
	}
}
.min-width {
	width: 60%!important;
	margin: auto;
}

.text_image {
	height: 2.5rem;
	padding: 0 10px;
}
.img-zoom, .img-zoom * {
	overflow: hidden;
}
.img-zoom img {
	transition: all .5s ease-out;
}
.img-zoom:hover img {
	transform: scale(1.1);
}

/****************************/
/********** HEADER **********/
/****************************/
#main-header {
	position: relative;
	min-height: 100vh;
	background-color: var(--black);
	overflow: hidden;
	--item-width: 200px;
}
#main-header .header-thumb-container {
	position: absolute;
	width: calc(100% - 60px - var(--item-width));
	height: calc(100% - 60px);
	top: 30px;
	right: 30px;
	pointer-events: none;
}
#main-header .header-thumb-container > * {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;

	opacity: 0;
	transition: opacity .5s ease-out .5s;
}
#main-header .header-thumb-pictos {
	transition-delay: 1s;
}
#main-header .header-realisations-thumb, #main-header .header-overlay {
	display: none;
}
body.jq-init #main-header .header-thumb-container > * {
	opacity: 1;
}
#main-header::before {
	z-index: 2;
	pointer-events: none;
}
#main-header .header-menu {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: var(--item-width);
	background-color: var(--white);
	padding: 50px 20px;
	box-sizing: border-box;
	z-index: 99;
}
#main-header .header-nav-menu {
	list-style: none;
}
#main-header svg.megamenu-ico {
	height: 50px;
	margin: 0 auto;
	cursor: pointer;
}
#main-header svg.megamenu-ico > g {
	transform: rotate(180deg);
	transform-origin: center;
	transition: all .3s ease-out;
}
#main-header svg.megamenu-ico:not(.toggled) .open, #main-header svg.megamenu-ico.toggled .close {
	opacity: 0;
	transform: rotate(0deg);
}
#main-header .custom-logo-link {
	display: flex;
	justify-content: center;
}
#main-header .header-data {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	color: var(--white);
	z-index: 1;
	padding-left: calc(var(--item-width));
	padding-right: calc(var(--item-count) * var(--item-width));
}
body:not(.single) #main-header:is(.header-page, .header-realisations) .header-data {
	width: 100%;
	max-width: 1200px;
}
#main-header .header-data-wrapper {
	display: grid;
	grid-template-rows: auto 1fr;
	padding: 50px 10%;
	width: 100%;
	box-sizing: border-box;
	opacity: 0;
	transition: all .2s ease-out;
}

body.jq-init #main-header .header-data-wrapper {
	opacity: 1;
}
#main-header .header-data-wrapper .pretitle {
	display: block;
	line-height: 1;
	font-weight: 300;
	font-size: 5rem;
	margin-bottom: 1lh;
	color: var(--white);
}
#main-header .header-data-wrapper .subtitle {
	display: block;
	color: #00000088;
	line-height: 1;
	font-weight: 300;
	font-size: 3rem;
}
#main-header.has-dark-bg .header-data-wrapper .subtitle {
	color: #ffffff88;
	font-weight: 500;
}
#main-header .header-data-wrapper .desc {
	display: block;
	color: var(--white);
	font-size: 2rem;
}
#main-header .header-item-container {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	z-index: 1;
}
#main-header .header-item-container > * {
	width: var(--item-width);
	transition: width .2s ease-in-out, height .2s ease-in-out;
}
#main-header .header-item.active {
	width: calc( var(--header-data-width) + var(--item-width));
	cursor: unset;
}
#main-header #animated-text, #main-header #animated-text > * {
	opacity: 0;
}
.jq-init #main-header #animated-text {
	opacity: 1;
}
#main-header .wp-block-buttons {
	margin-top: 30px;
	gap: 10px 30px;
}
#main-header .header-item {
	background-color: var(--black);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
#main-header .header-item-wrapper {
	display: flex;
	flex-wrap: nowrap;
	padding: 50px 30px;
	width: 100%;
	height: 100%;
}
#main-header .header-item-wrapper .header-item-title {
	width: calc( var(--item-width) - 60px );
	gap: 30px;
}
#main-header .header-item-wrapper .header-item-title > * {
	opacity: .5;
	transition: all .2s ease-out;
}
#main-header .header-item-title h2 {
	display: block;
	writing-mode: sideways-lr;
	font-size: 6rem;
	color: #000;
}
#main-header .header-item-picto {
	height: 120px;
	width: 100%;
	object-fit: contain;
}
#main-header .header-item.active .header-item-picto {
	transform: rotate(-90deg);
}
#main-header .header-item .header-item-content {
	position: absolute;
	padding: 50px 30px;
	top: 0;
	left: var(--item-width);
	height: 100%;
	width: calc(100% - var(--item-width));
	opacity: 0;
	transition: all 1s ease-out .5s;
}
#main-header .header-item.active .header-item-content {
	opacity: 1;
}
#main-header .header-item .header-item-desc {
	color: var(--white);
	font-size: 7rem;
}


/* header realisations */
body:not(.jq-init) #main-header.header-realisations .header-data .header-data-wrapper {
	opacity: 0;
}
#main-header.header-realisations .header-data .header-data-wrapper {
	width: 100%;
	transition: all .3s ease-in-out;
}
#main-header.header-realisations .header-data h1 {
	text-transform: uppercase;
	font-weight: 400;
}
#main-header.header-realisations .short-desc {
	color: var(--white);
	transition: all .3s ease-in-out;
	font-size: 3rem;
	line-height: 1.2;
	margin-top: 30px;
}
#main-header.header-realisations .infos {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 20px;
	margin-top: 30px;
}
#main-header.header-realisations .info * {
	color: var(--white)!important;
	transition: all .3s ease-in-out;
}
#main-header.header-realisations .info strong {
	font-size: 3rem;
	font-weight: 600;
}

#masthead {
	position: fixed!important;
	background-color: transparent;
	transition: all .3s ease-in-out;
}
.scroll0:not(.active-megamenu) #masthead, .mob_scroll0:not(.active-megamenu) #masthead {
	background-color: var(--white);
}
.scroll0:not(.active-megamenu) #masthead .custom-logo-link img, .mob_scroll0:not(.active-megamenu) #masthead .custom-logo-link img {
	max-width: 100px;
	filter: invert(1);
}
#main-header .main-menu li[class*='megamenu-'] a.menu-link {
	color: transparent!important;
	background-color: var(--white);
	mask: url(./assets/svg/picto_menu_open.svg) no-repeat center / contain;
    -webkit-mask: url(./assets/svg/picto_menu_open.svg) no-repeat center / contain;
	cursor: pointer;
	font-size: 0rem;
	display: block;
	width: 60px;
	height: 30px;
}
.scroll0:not(.active-megamenu) #main-header .main-menu li[class*='megamenu-'] a.menu-link, .mob_scroll0:not(.active-megamenu) #main-header .main-menu li[class*='megamenu-'] a.menu-link  {
	background-color: var(--black);
}
#main-header .main-menu li[class*='megamenu-'].toggled a.menu-link {
	mask: url(./assets/svg/picto_menu_close.svg) no-repeat center / contain;
    -webkit-mask: url(./assets/svg/picto_menu_close.svg) no-repeat center / contain;
	/* filter: invert(1); */
}

body #main-header.header-page:not(.has-dark-bg) h1, body #main-header.header-page:not(.has-dark-bg) .desc, body #main-header.header-page:not(.has-dark-bg) .pretitle, body #main-header.header-home .header-item-content:not(.has-dark-bg) .header-item-desc {
	color: var(--black);
}

body #main-header #scroll-down-arrow {
	display: block;
	margin-top: 20px;
	width: 60px;
	height: 60px;
	background-color: var(--white);
	mask: url(./assets/svg/picto_arrow.svg) no-repeat center / contain;
	-webkit-mask: url(./assets/svg/picto_arrow.svg) no-repeat center / contain;
	transform: rotate(90deg);
	animation: scroll_down 1.5s ease-in-out infinite alternate;
}body #main-header:not(.has-dark-bg) #scroll-down-arrow {
	background-color: var(--black);
}
@keyframes scroll_down {
	0% { transform: rotate(90deg) translateY(0); }
	100% { transform: rotate(90deg) translateX(10px); }
}

/* header social item */
body.active-megamenu #masthead .get-social a.social, body:not(.scroll0):not(.mob_scroll0) #masthead .get-social a.social {
	border-color: var(--white);
}
body.active-megamenu #masthead .get-social a.social svg *, body:not(.scroll0):not(.mob_scroll0) #masthead .get-social a.social svg * {
	fill: var(--white);
}
body.active-megamenu #masthead .get-social a.social:hover, body:not(.scroll0):not(.mob_scroll0) #masthead .get-social a.social:hover {
	background-color: var(--white);
}
body.active-megamenu #masthead .get-social a.social:hover svg *, body:not(.scroll0):not(.mob_scroll0) #masthead .get-social a.social:hover svg * {
	fill: var(--black);
}

.megamenu ul {
	list-style: none;
}
.megamenu .get-menu.main-menu li a.menu-link {
	color: var(--black);
	font-size: 6rem;
	font-family: var(--lota-grotesque);
	font-weight: 400;
}
.megamenu .get-menu .sub-menu {
	margin: 0;
}

/* ico-picto */
ico-picto {
	display: inline-block;
	scale: 1.6;
	margin: 0 1%;
	position: relative;
}
ico-picto svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/****************************/
/********** CONTENT *********/
/****************************/
.slide_up, .slide_down, .slide_right, .slide_left {
	opacity: 0; /*ANIMATION GSAP*/
}

.big-text {
	font-size: 8rem;
	font-weight: 300;
	line-height: 1.1;
}
.infinite-scroll {
	width: 100%;
	overflow: hidden;
}
.infinite-scroll .scroll-container {
	display: flex;
	will-change: transform;
	width: max-content!important;
}
body.jq-init .infinite-scroll .scroll-container {
	animation: scroll-left 20s linear infinite;
}
.infinite-scroll.scroll-right .scroll-container {
	animation-direction: reverse;
}
.infinite-scroll .scroll-container > * {
	opacity: 0;
	transition: all .2s ease-out;
}
body.jq-init .infinite-scroll .scroll-container > * {
	opacity: 1;
	transition: none;
}
.infinite-scroll .scroll-container figure img {
	transform: translateZ(0); /*swaps rendering to GPU, preventing jittering*/
}

@keyframes scroll-left {
	0% {
    	transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

.slick-slider {
	opacity: 0;
	transition: all .2s ease-out;
}
body.jq-init .slick-slider {
	opacity: 1;
}
.slick-slider .slick-arrow, .slick-slider .slick-arrow:focus {
	--slick-arrow-distance: 15px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(calc(-100% - var(--slick-arrow-distance)), -50%) rotate(180deg);
	font-size: 0px;
	padding: 0;
	margin: 0;
	width: 40px;
	height: 40px;
	/* border: 1px solid var(--white); */
	background-color: var(--main-color);
	transition: all .3s ease-out;
	z-index: 10;
}
.slick-slider .slick-arrow:hover {
	background-color: var(--main-color);
}

.slick-slider .slick-arrow::after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	height: 80%;
	background-color: var(--white);
	mask: url(./assets/svg/picto_arrow.svg) no-repeat center / contain;
	-webkit-mask: url(./assets/svg/picto_arrow.svg) no-repeat center / contain;
	transition: inherit;
}
.slick-slider .slick-arrow.slick-next {
	left: unset;
	right: 50%;
	transform: translate(calc(100% + var(--slick-arrow-distance)), -50%);
}
.slick-slider .slick-dots {
	position: absolute;
	display: flex;
	padding: 0;
	list-style: none;
	left: 50%;
	transform: translate(-50%, 100%);
	bottom: -10px;
	gap: 5px;
	z-index: 10;
}
.slick-slider .slick-dots li {
	line-height: 0;
	font-size: 0;
}
.slick-slider .slick-dots li button {
	font-size: inherit;
	padding: 0;
	width: 10px;
	height: 10px;
	border-radius: 50px;
	background-color: var(--main-color);
	opacity: .4;
}
.slick-slider .slick-dots li.slick-active button {
	opacity: 1;
}
/************GRID************/
.grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 4), 1fr);
	grid-template-rows: 1fr;
	row-gap: 20px;
	transition: all .3s ease-in-out;
}
.grid-item {
	position: relative;
	gap: 10px;
	padding: 10px;
	text-decoration: none!important;
}
.grid-item .grid-item-thumb {
	height: 250px;
	width: 100%;
	background-color: var(--grey);
	overflow: hidden;
	transition: all .3s ease-out .15s;
}
.grid-item .grid-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: inherit;
}	
.grid-item .grid-item-data  {
	position: relative;
	transition: all .3s ease-out;
}
.grid-item .grid-item-title  {
	text-transform: uppercase;
}
.posts-header {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
}
.posts-header > * {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.posts-header .wp-block-buttons {
	width: 100%;
}
.post-item:hover .grid-item-thumb, .post-item:focus .grid-item-thumb {
	transform: translateX(5px);
}
.post-item:hover .grid-item-thumb img, .post-item:focus .grid-item-thumb img {
	transform: scale(1.05);
}	
.post-item:hover .grid-item-data, .post-item:focus .grid-item-data {
	transform: translateX(10px);
}
.post-item .grid-item-data::after {
	position: absolute;
	content: "";
	display: block;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 4px;
	transform: translateY(100%);
	background-color: var(--main-color);
	transition: inherit;
}
.post-item:hover .grid-item-data::after, .post-item:focus .grid-item-data::after {
	width: 100%;
}
/* PARTNERS SLIDER */
body:not(.jq-init) .partners-slider {
	display: none!important;
}
.partners-slider .slick-track {
	display: flex;
	align-items: center;
}
.partners-slider img {
	padding: 0 10px;
	height: 80px;
	object-fit: contain;
}
/* REALISATIONS */
.realisations-grid {
	position: relative;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	overflow-x: clip;
	cursor: unset;
}
.realisations-grid.cursor {
	cursor: url(./assets/svg/picto_cursor.svg) 16 16, auto!important;
}
.realisations-grid .grid-item {
	position: relative;
	padding: 0;
	cursor: inherit;
	overflow: hidden;
}
.realisations-grid .grid-item > * {
	transition: all .3s ease-out;
}

.realisations-grid .grid-item .grid-item-overlay {
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	height: 100%;
	width: 100%;
	background-color: var(--item-color, var(--white));
	opacity: 0;
	z-index: 1;
}
.realisations-grid .grid-item:hover .grid-item-overlay, .realisations-grid .grid-item:focus .grid-item-overlay {
	opacity: 0.7;
}
.realisations-grid .grid-item .grid-item-thumb {
	height: 600px;
	max-height: 100vh;
	width: 100%;
	object-fit: cover;
	scale: 1.1;
	transition: filter .3s ease-in-out, transform .3s ease-in-out;
}
.realisations-grid .grid-item:hover .grid-item-thumb {
	filter: blur(2px);
}
.realisations-grid .grid-item-data {
	position: absolute;
	opacity: 0;
	margin: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 10px 10%;
	color: var(--white);
	z-index: 2;
}
.realisations-grid .grid-item-data .grid-item-title {
	font-weight: 300;
	font-size: 7rem;
	line-height: 1.1;
	text-transform: unset;
}
.realisations-grid .grid-item:hover .grid-item-data, .realisations-grid .grid-item:focus .grid-item-data {
	opacity: 1;
}
.realisations-grid .grid-title-display {
	position: absolute;
	transform: translate(-50%, calc( -100% - 20px ));
	padding: 10px 20px;
	color: var(--black);
	font-family: var(--lota-grotesque);
  	font-weight: 300;
	font-size: 4.5rem;
	line-height: 1.1;
	width: 40%;
	opacity: 0;
	text-align: center;
	pointer-events: none;
	z-index: 3;
	transition: all .2s ease-out;
}
/* realisations ISOTOPE */
.realisations-isotope-grid {
	--isotope-col: 2;
	--isotope-spacing: 0px;
	transition: all .3s ease-in-out;
}
body:not(.jq-init) .realisations-isotope-grid {
	opacity: 0;
}
.realisations-isotope-grid .realisations-grid {
	display: block;
}
.realisations-isotope-grid .realisations-item {
	width: calc((100% / var(--isotope-col)) - (var(--isotope-spacing) / 2 ));
}
.realisations-isotope-grid .realisations-item:nth-child(2n) {
	margin-right: calc(var(--isotope-spacing))!important;
}
.realisations-isotope-grid .isotope-filters {
	margin: 20px;
	gap: 20px;
}
.realisations-isotope-grid .isotope-filters button {
	display: block;
	position: relative;
	font-size: 1.8rem;
	padding: 10px 50px 10px 20px;
	border: 1px solid var(--black);
	color: var(--black);
	background: var(--white);
	border-radius: 50px;
	font-family: var(--lota-grotesque);
	transition: all .3s ease-out;
}
.realisations-isotope-grid .isotope-filters button:hover, .realisations-isotope-grid .isotope-filters button.active {
	color: var(--white);
	background: var(--black);
}
.realisations-isotope-grid .isotope-filters button span {
	display: block;
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	background-color: var(--black);
	color: var(--white);
	border-radius: 50px;
	transition: inherit;
}
.realisations-isotope-grid .isotope-filters button:hover span, .realisations-isotope-grid .isotope-filters button.active span {
	color: var(--black);
	background: var(--white);
}

.is-relative {
	position: relative;
}
.absolute-top-right {
	position: absolute;
	z-index: 1;
	left: 250px;
}
.picto-cup-overlay {
	position: relative;
}
.picto-cup-overlay img {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	transform: translate(-40%, 20%);
}

body [class*='comp-slider-image'] {
	display: block;
	height: 90vh;
}
body [class*='comp-slider-image'] > div, [class*='comp-slider-image'] > div > div {
	height: 100%;
}
body .comp-slider-image-2col .slick-slide {
	padding: 20px;
	box-sizing: border-box;
	overflow: hidden;
}
body [class*='comp-slider-image'] .slick-slide > figure, body [class*='comp-slider-image'] .slick-slide > figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: unset!important;
}
body .slider-promesses .slick-prev {
	display: none;
}

.contact-btn a {
	display: block!important;
	text-transform: uppercase;
	font-family: var(--lota-grotesque);
	font-weight: 300;
	font-size: 1.4rem;
	line-height: 1.2;
	margin-bottom: 20px;
}
.contact-btn a:hover {
	color: var(--main-color);
}
.contact-btn a strong {
	font-weight: 700;
	font-size: 2rem;
}

.skills-fields {
	gap: 15px;
}
.skills-fields a.skill , .skills-fields .skill a , .realisations-grid .skills-fields span.skill {
	display: block;
	padding: 7px 15px;
	border: 1px solid var(--white);
	border-radius: 50px;
	text-transform: uppercase;
	font-family: var(--lota-grotesque);
	color: var(--white)!important;
	transition: all .2s ease-out;
	margin: 0;
}
.realisations-grid .skills-fields span.skill {
	color: var(--black)!important;
	border-color: var(--black);
}
.skills-fields a.skill:hover , .skills-fields .skill a:hover {
	color: var(--black)!important;
	background-color: var(--white);
}
.skills-fields.skills-euphorie a.skill:hover , .skills-fields.skills-euphorie .skill a:hover {
	background-color: var(--euphorie-color);
	border-color: var(--euphorie-color);
}
.skills-fields.skills-sohappy a.skill:hover , .skills-fields.skills-sohappy .skill a:hover {
	background-color: var(--sohappy-color);
	border-color: var(--sohappy-color);
}
.skills-fields.skills-correspondances-prod a.skill:hover , .skills-fields.skills-correspondances-prod .skill a:hover {
	background-color: var(--correspondances-prod-color);
	border-color: var(--correspondances-prod-color);
}

/***********CFORM ***********/
/* CONTACT FORM 7 */
.CForm {
	width: 100%;
	gap: 20px;
}
.CForm .CF-full {
	width: 100%;
}
.CForm .CF-half { width: calc(50% - 10px); }
.CForm .CF-onethird { width: calc(33% - 10px); }
.CForm .CF-twothird { width: calc(66% - 10px); }
.CForm .CF-onequarter {	width: calc(24% - 10px); }
.CForm .CF-threequarter { width: calc(74% - 10px); }

.CForm input, .CForm textarea {
	font-size: 1.5rem;
	border-color: var(--grey);
}
.CForm input:focus, .CForm textarea:focus {
	border: 1px solid var(--main-color)!important;
}
.CForm .CF-highlight {
	color: var(--sub-color);
	font-weight: 800;
}

.CForm .CF-checkbox .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
}
.CForm .CF-checkbox .wpcf7-list-item {
	margin: 0 0 5px 1%;
	width: 32%;
	min-width: 250px;
}
.CForm .CF-radio .wpcf7-radio {
	display: block;
}
.CForm .CF-radio .wpcf7-list-item {
	margin: 2px 0 3px 0;
	width: 99%;
}
.CForm .CF-radio .wpcf7-radio {
	padding: 10px;
	border: 1px solid var(--grey);
	border-radius: 4px;

}
.CForm .wpcf7-not-valid {
	border: 1px solid #dc3232;
}
.CForm .wpcf7-not-valid-tip {
	position: absolute;
	font-size: 1rem;
	bottom: 0;
	transform: translate(0,80%);
}
.CForm .CF-number label > span {
	width: 150px;
	display: block;
}
.CForm .CF-textarea .wpcf7-textarea  {
	resize: vertical;
}

.CForm .CF-hr {
	position: relative;
}
.CForm .CF-hr h3 {
	display: inline-block;
	padding-right: 20px;
	margin: 0;
	background-color: var(--white);
}
.CForm a {
	font-size: inherit;
}
.CForm .CF-hr::before {
	position: absolute;
	content: "";
	display: block;

	width: 100%;
	height: 2px;
	background-color: var(--main-color);

	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	z-index: -1;
}

/****************************/
/***********FOOTER***********/
/****************************/
#main-footer p a {
	border: none;
}
#main-footer .get-menu li a.menu-link{
	position: relative;
	font-size: 1.5rem;
	font-weight: 300;
	border-bottom: 1px solid transparent;
}
#main-footer .get-menu li:not(.no-click) a.menu-link:hover{
	border-bottom: 1px solid var(--main-color);
}

#main-footer .get-menu li:not(:first-child) a.menu-link::after{
	position: absolute;
	content: "-";
	display: inline;
	left: -10px;
	transform: translateX(-50%);
	pointer-events: none;
}


/****************************/
/********DESKTOP ONLY********/
/****************************/
@media (min-width: 981px) {
	
	
}
/****************************/
/**********TABLETTE**********/
/****************************/
@media (max-width: 1500px) {
	h1, .entry-content h1, .is-h1 {
		font-size: 5rem;
	}
	#main-header {
		--item-width: 170px;
	}
	#main-header .header-data-wrapper .pretitle {
		font-size: 3rem;
	}
	#main-header .header-item-title h2 {
		font-size: 5.23rem;
	}
}
@media (max-width: 980px) {
	h2, .entry-content h2, .is-h2 {
		font-size: 3.5rem;
	}
	h3, .entry-content h3, .is-h3 {
		font-size: 2.8rem;
	}
	h4, .entry-content h4, .is-h4 {
		font-size: 2.3rem;
	}
	h5, .entry-content h5, .is-h5 {
		font-size: 2rem;
	}
	.big-text {
		font-size: 5.5rem;
	}
	#wpadminbar {
		opacity: .2;
	}
	#main-header {
		--item-width: 120px;
		flex-direction: column;
	}
	#main-header .header-menu {
		width: 100%;
		height: var(--item-width);
		flex-direction: row;
		align-items: center;
		gap: 40px;
    	padding: 5px 40px;
	}
	#main-header .header-menu > * {
		height: 100%!important;
	}
	#main-header .custom-logo-link, #main-header .custom-logo {
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: center left;
	}
	.contact-menu {
		flex-direction: row;
		align-items: center;
		gap: 20px;
	}
	#main-header .contact-btn a {
		width: max-content!important;
		margin: 0;
	}
	#main-header .header-data {
		padding-left: unset;
		padding-right: unset;
		padding-top: calc(var(--item-width));
		padding-bottom: calc(var(--item-count) * var(--item-width));
	}
	#main-header .header-item-container {
		position: absolute;
		right: unset;
		top: unset;
		left: 0;
		bottom: 0;
		width: 100%;
		height: unset;
	}
	#main-header .header-item-container > * {
		width: 100%;
		height: var(--item-width);
	}
	#main-header .header-item.active {
		width: 100%;
		height: calc( var(--header-data-height) + var(--item-width) );
	}
	#main-header .header-item-wrapper {
		padding: 20px 30px;
		flex-direction: row;
	}
	#main-header .header-item-wrapper .header-item-title {
		height: calc( var(--item-width) - 40px );
		width: 100%;
		flex-direction: row-reverse;
		justify-content: start;
	}
	#main-header .header-item-title h2 {
		writing-mode: unset;
		font-size: 3.8rem;
	}
	#main-header .header-item-picto {
		height: 100%;
		width: 60px;
	}
	#main-header .header-item .header-item-content {
		padding: 50px 30px;
		top: var(--item-width);
		left: 0;
		height: calc(100% - var(--item-width));
		width: 100%;
	}
	#main-header .header-item:not(.active) .header-item-content {
		transition: all .1s ease-out;
	}
	#main-header .header-item .header-item-desc {
		color: var(--white);
		font-size: 4rem;
	}
	.megamenu .get-menu.main-menu li a.menu-link {
		width: 100%;
		text-align: center;
		font-size: 4.5rem;
	}
	.realisations-grid .grid-title-display {
		display: none;
	}
	.realisations-grid .grid-item .grid-item-thumb {
		height: 400px;
	}
	.realisations-grid .grid-item .grid-item-title {
		font-size: 4rem;
	}
	.realisations-grid .grid-item-overlay {
		opacity: .7!important;
	}
	.realisations-grid .grid-item-data {
		opacity: 1!important;
	}
	.realisations-grid .skills-fields span.skill {
		font-size: 1.5rem;
		padding: 5px 10px;
	}
	.realisations-grid .skills-fields {
		gap: 10px;
	}
	.realisations-isotope-grid .isotope-filters {
		gap: 5px;
	}
	.realisations-isotope-grid .isotope-filters button {
		font-size: 1.5rem;
	}
	.realisations-grid .grid-item {
		box-sizing: border-box;
		padding: 20px 10px;
		border-bottom: 10px solid var(--white);
		--isotope-spacing: 10px;
	}
	
}
@media (hover: none) {
	.realisations-grid .grid-item-overlay {
		opacity: .7!important;
	}
	.realisations-grid .grid-item-data {
		opacity: 1!important;
	}
}
/****************************/
/*********SMARTPHONE*********/
/****************************/
@media (max-width: 768px) { 
	/**********SPECIFIC**********/
	.is-mobile-center, .is-mobile-center * {
		text-align: center;
    }
    .is-mobile-left, .is-mobile-left * {
		text-align: left;
    }
	.is-mobile-align-center {
		align-items: center;
	}
	body .is-mobile-justify-center {
		justify-content: center;
	}
    .is-mobile-fullwidth {
		width: 100%!important;
    }
	.no-mobile-border {
		border: none;
    }
    .no-mobile-margin {
		margin: 0!important;
    }
    .no-mobile-padding {
		padding: 0!important;
    }
	.is-mobile-row {
		flex-direction: row;
	}
	.is-mobile-column {
		flex-direction: column;
	}
    .is-mobile-reverted {
		flex-direction: column-reverse;
        flex-wrap: nowrap !important;
    }
	/****************************/
	h1, .entry-content h1, .is-h1 {
		font-size: 2.6rem;
	}
	h2, .entry-content h2, .is-h2 {
		font-size: 2.8rem;
		line-height: 1.2;
	}
	h3, .entry-content h3, .is-h3 {
		font-size: 2.6rem;
	}
	h4, .entry-content h4, .is-h4 {
		font-size: 2.2rem;
	}
	h5, .entry-content h5, .is-h5 {
		font-size: 2rem;
	}
	.big-text {
		font-size: 4rem;
	}
	p, a, ul li, ol li {
		font-size: 1.6rem;
	}
	.wp-block-button .wp-element-button {
		font-size: 1.6rem;
	}
	#main-header {
		--item-width: 90px;
	}
	#main-header .custom-logo-link, #main-header .custom-logo {
		object-position: center right;
	}
	#main-header .header-data-wrapper .pretitle, #main-header .header-data-wrapper .subtitle  {
		font-size: 2rem;
	}
	#main-header .header-item-title h2 {
		font-size: 2.8rem;
	}
	#main-header .header-item .header-item-desc {
		font-size: 2.8rem;
	}
	#main-header .wp-block-buttons {
		margin-top: 10px;
	}
	#main-header.header-realisations .short-desc {
		font-size: 2rem;
	}
	#main-header.header-realisations .infos {
		grid-template-columns: 1fr;
	}
	.megamenu .get-menu.main-menu li a.menu-link {
		font-size: 3rem;
	}
	.posts-header {
		grid-template-columns: 1fr;
	}
	.post-item {
		padding: 0;
	}
	.realisations-isotope-grid {
		--isotope-col: 1;
	}
	.realisations-grid .grid-item {
		border-left: 10px solid var(--white);
		border-right: 10px solid var(--white);
		--isotope-spacing: 0px;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	#slider-process .slick-arrow, #slider-process .slick-arrow:focus {
		top: 0;
	}
	/* CONTACT FORM 7 */
	.CForm .CF-half, .CForm .CF-onethird, .CForm .CF-twothird, .CForm .CF-onequarter, .CForm .CF-threequarter  {
		width: calc(100% - 10px);
	}

	.CForm .CF-checkbox .wpcf7-list-item {
		width: 99%;
	}
}
@media (max-width: 480px) {
	

}
/****************/
/** KEYFRAMES ***/
/****************/