/* 
Theme Name: Visual Composer Starter Child
Theme URL: https://visualcomposer.com/visual-composer-starter-theme/
Description: Visual Composer Starter Child Theme 
Theme Author: Visual Composer
Author URL: https://visualcomposer.com/
Template: visual-composer-starter 
Version: 1.0.0 
Text Domain: visual-composer-starter-child
*/

:root {
	--green: #78BE20;
	--black: #1D252D;
	--blue: #1D252D;
	--grey: #E9EAEA;
	--white: #FFFFFF;
}

body {
	font-family: "Nunito Sans", sans-serif !important;
	font-size: clamp(18px, 2vw, 20px);
	line-height: 1 !important;
} 

h1, h2, h3, h4, h5, h6 {
	font-family: "Nunito Sans", sans-serif !important;
	font-weight: 900 !important;
	text-transform: uppercase !important; 
	color: var(--green);
	line-height: 1.2;
}

p {
	line-height: 1.6;
}
ul {
	line-height: 1.4;
}
ul li {
	margin-bottom: 0.5em;
}
.entry-content p a,
footer p a {
	border: 1px var(--black) solid;
  padding: 0 0.5em;
  border-radius: 1em;
  white-space: nowrap;
}
.entry-content p a:hover {
	border: 1px var(--black) solid;
	background: var(--green);
	transition: all 0.5s;
}

.container {
	position: relative;
}

.main-content {
	padding-bottom: 0 ;
}

.content-wrapper {
	padding-top: 0 ;
	padding-bottom: 0;
	position: relative;
}
.vce-button--style-basic.vce-button--style-basic--size-medium {
	font-size: clamp(20px, 2vw, 20px) !important;
}
.megatext {
	position:relative;	
}
.megatext :is(p, h1, h2) {
	font-size: clamp(40px, 8vw, 90px);
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1;
	margin: 0.17em 0 -0.175em 0 !important;

}
.megatext div,
.grostext div {
	margin:0;
}
.grostexte p {
	font-size: clamp(18px, 4vw, 36px);
	font-weight: 200;
	margin: 0 !important;
}
.entry-content blockquote,
.entry-content blockquote p {
	font-family: "Caveat", cursive !important;
	font-variant: normal !important;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 1.2;
	padding: 0;
	border: none;
	color: var(--blue) !important;
}
.citation-tourne-intro {
	transform: rotate(-10deg) translateX(10vw);
}

figcaption {
	line-height: 1.4;
}

.white p {
	color: #FFF;
} 
.green p {
	color:var(--green);
}

.inlineblock {
	display: inline-block;
}
.fitcontenu {
	width: fit-content;
}
button.vce-button--style-basic {
	font-weight: 700 !important;
}

.entry-content ul > li:before
/* Bullets */ {
	font-size: 200%;
	line-height: 0.5;
	left:0;
}

/* Header navigation */

header.vcv-header {
	position: fixed;
	top: 0;
	z-index: 11;
	width: 100%;
}
@media (max-width:450px) {
	header.vcv-header {
		position: absolute;
	}
}

header .vce-row>.vce-content-background-container {
	background: var(--white);
    min-height: 0;
    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: min-height 1s;
}
header .headerblanc .vce-row>.vce-content-background-container {
	min-height: 100%;
	transition: min-height 1s;
}
header>div>div {
	transition: padding 1s;
}
header .headerblanc>div {
	padding: 1em 3vw !important;
	transition: padding 1s;
}
header #logo-beaudoin .vce-single-image-figure-inner {
	transition: width 1s;
}
header .headerblanc #logo-beaudoin .vce-single-image-figure-inner {
	width: 200px !important;
	transition: width 1s;
}
.menu-droit>div>div {
	display:flex;
	gap:2em;
	align-items:flex-end;
	justify-content:flex-end;
}
button.vce-sandwich-menu-open-button
/* pour avoir un bouton rond*/ {
	line-height: 1 !important;
}

/* Header qui rétrécie quand ça scrolle */
header .scrolled-class img {
	width: 200px !important;
	height: 54px !important;
	object-fit: contain !important;
	transition: all 1s;
}

/* Header navigation responsive */
@media (max-width:543px) {
	#logo-beaudoin {text-align: center;}
	.menu-droit>div>div {justify-content: center; margin-top:0.5em}
}

/*Intérieur menu hamburger */
.vce-sandwich-menu-container button.vce-sandwich-menu-close-button {
	top: 2em;
	right: 3vw;
}
.vce-sandwich-menu-wrapper .vce-sandwich-menu-container button.vce-sandwich-menu-close-button svg
/*bouton X */ {
	fill: var(--white) !important;
	height: clamp(30px, 4vw, 60px);
	width: clamp(30px, 4vw, 60px);
	bottom: auto;
	left: auto;
}

.vce-sandwich-menu-inner nav{
	width: fit-content;
    margin: 0 auto;
    text-align: left;
}
.vce-sandwich-menu-inner nav ul li a:hover {
	text-decoration: none;
	opacity: 0.7;
}
.vce-sandwich-menu-inner nav ul li {
	line-height: 1.3 !important;
}
.vce-sandwich-menu-inner nav>ul>li {
	text-transform: uppercase;
	font-weight: 900 !important;
	font-size: clamp(21px, 3vw, 48px) !important;
	margin: 0.5em 0 0 0 !important;
}
.vce-sandwich-menu-inner nav ul.sub-menu {
	margin: 0 0 0.75em 0 !important;
}
.vce-sandwich-menu-inner nav ul.sub-menu li.menu-item a{
	color: var(--black) !important;
	font-weight: 700;
	text-transform: none;
	font-size: clamp(18px, 2vw, 40px);
}
.icon-remplace {
	display: inline-block;
	padding: 0 0.5em 0 0 !important;
}
.icon-remplace svg,
.icon-remplace img {
	height: 1em;
	fill: var(--white);
	vertical-align: middle;
}
.pascliquable>a:hover {
	opacity: 1 !important;
}

/* Page d'accueil */

/* Intro accueil 
@media(min-width:1200px) {
#intro .vce-col-inner {
	max-width: 800px;
}
}*/
#accueil-texte-intro>div {
	max-width: 1200px;
	margin: 0 auto !important;
}
#accueil-texte-intro .vce-col-content {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.services {
	overflow: hidden;
}
.services .vce-row-content {
	/*gap: 10vw;*/
}
.ligne-verte:after {
	content:"";
	position:absolute;
	height: 100%;
	left:25%;
	top:0;
	z-index:1;
	border-left: 8px solid var(--green);
}

.services h2 a {
	margin: 0;
	position: relative;
	transition: all 0.5s;
	color: var(--green);
}
.services:hover h2 a,
.services:hover h2 a:after {
	color:var(--green);
	transition: all 0.5s;
	cursor: pointer ;
}
.services:before
{
	content:"";
	position:absolute;
	height:48px;
	width:48px;
	border-radius:100%;
	border: 8px solid var(--green);
	left:calc(25vw - 24px);
	top:clamp(18px, 2.7vw, 40px);
	transition: all 0.5s;
	z-index: -1;
}
/*.services .citation-secret {
	opacity: 0;
	transition: all 0.5s;
}
.services:hover .citation-secret {
	opacity: 100%;
	transition: all 0.5s;
}*/
.titre-page:before {
	content:"";
	position:absolute;
	height:48px;
	width:48px;
	border-radius:100%;
	border: 8px solid var(--green);
	left:calc(12vw - 20px);
	top:clamp(18px, 2.7vw, 40px);
	transition: all 0.5s;
	z-index: -1;
}
@media (max-width: 767px) {
	.services:before,
.titre-page:before {
	content: none;
}
}
/*.page-id-3676 .services h2:before {
	content:"";
	position:absolute;
	height:48px;
	width:48px;
	border-radius:100%;
	border: 12px solid var(--green);
	left:-124px;
	top:50%;
	transform: translateY(-50%);
	transition: border 1s, background 1s;
	z-index: -1;
}*/
.services:hover:before {
	background:var(--green);
	border: 8px solid var(--white);
	transition: all 0.5s;
}
/*.services h2:after {
	content: "\f061";
	font-family: Font Awesome\ 5 Free;
	font-weight: 900;
	font-size: 60%;
	transform: translateY(-25%);
	transition: transform 1s, color 1s;
	display: inline-block;
	margin-left: 0.5em;
}*/
.ouvert.services h2:after {
	transform: rotate(90deg) translateX(-25%);
	color: var(--green);
	transition: transform 1s, color 1s;
}
.details-service {
	/*max-height: 0;*/
	max-width: 900px;
	margin-left: auto !important;
	overflow: hidden;
	transition: max-height 1s !important;
}
.ouvert .details-service {
	max-height: 500px;
	transition: max-height 1s !important;
}

/*Texte défilant*/
.marquee {
  max-width: 100%;
  overflow: hidden;
}

.marquee>div {
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: marquee 20s linear infinite;
  margin: 0;
}

.marquee p {
  display: inline-block;
  font-size: clamp(20px, 4vw, 1000px);
  color: var(--grey);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1;
  margin: 0 !important;
}

.marquee p strong {
	font-weight: 900;
	color: var(--green);
}

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

/*Section réalisations page accueil*/
@media (min-width:768px) {
.home .realisations {
	width: 100%;
	overflow-x: scroll;
	overflow-y: hidden;
	-ms-overflow-style: none;  /* IE and Edge */
  	scrollbar-width: none;  /* Firefox */
}
.home .realisations::webkit-scrollbar {
	display: none;
}
.home .realisations>div {
	width: 200vw;
}
.home .realisations .vce-post-description--background {
	aspect-ratio: 1;
}
.home .realisations .vce-post-description--content {
	position: absolute;
	bottom: 0;
	z-index: -1;
}
.home .realisations article,
.home .realisations .vce-post-description {
	overflow: visible !important;
}
.home .realisations article .vce-post-description--background-wrapper-box{
	transition: transform 0.5s;
}
.home .realisations article:hover .vce-post-description--background-wrapper-box {
	transform: translateY(-2em);
	transition: transform 0.5s;
}
.home .navigation-realisations>div>div {
	display: flex;
	justify-content: flex-end;
	gap: 2vw;
}
.home .fleches {
	flex: 0 1 118px
}
.home .fleches>div,
.home .fleches button {
    height: 100%;
}
.home .fleches>div {
	display: flex;
	gap:1em;
}
.home .fleches button {   
	border-radius: 100%;
    aspect-ratio: 1;
    border: none;
}
.home .vce-post-description--background-wrapper-box+.vce-post-description--content {
	padding-bottom: 0 !important;
}}

.home .vce-post-description--excerpt {
	display: none;
}
.home .vce-post-description--content.vce-post-description-content--has-title.vce-post-description-content--has-excerpt h3 {
	margin-bottom: 0 !important;
}

/* Pages expertises */
.introduction-texte p {
	font-size: clamp(20px, 1.75vw, 28px);
	line-height: 1.35;
}

/*:is(.page-id-3418, .page-id-3420, .page-id-3422) h1:after {
		content:"";
	position:absolute;
	height:4vw;
	width:4vw;
	border-radius:100%;
	border: 1rem solid var(--green);
	left:-6vw;
	top:50%;
	transform: translateY(-50%);
	transition: border 1s, background 1s;
	z-index: -1;
}*/


/* Archive réalisations */
.post-type-archive-realisations #banniere figure {
	width: 100%;
  height: 25vh;
  overflow: hidden;
}
.post-type-archive-realisations #banniere figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.post-type-archive-realisations #contenu-page {
	padding: 0 3vw 4em;
}
.post-type-archive-realisations #contenu-page>.entry-content {
	display: flex;
  align-items: stretch;
  gap: 3vw;
  margin: 6em 0 0 0;
}
@media(max-width: 767px) {
.post-type-archive-realisations #contenu-page>.entry-content{
	margin: 2em 0 0 0;
}}
@media (max-width: 767px) {
.post-type-archive-realisations .entry-content {
	flex-direction: column;
}	
}
.post-type-archive-realisations .main-content {
	width: 100%;
}
.post-type-archive-realisations .main-content .archiveur {
	  display: grid;
    column-gap: 1em;
    row-gap: 2em;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.post-type-archive-realisations p,
.post-type-archive-realisations p:hover{
	color: #1d252d;
	margin: 0;
}
.post-type-archive-realisations article a {
	width: 100%;
	margin-bottom: 0;
	transition: all 1s;
	display: flex;
	flex-direction: column;
	gap:0.75em;
	height: 100%;
}
.post-type-archive-realisations article img {
	width: 100%;
}
.post-type-archive-realisations article:hover a img {
	filter: brightness(60%) grayscale(100%);
	transition: all 0.5s;
}
.post-type-archive-realisations *:hover {
	text-decoration: none;
}
.post-type-archive-realisations article h2 {
	font-size: 1.5em;
	margin: 0;
}
.post-type-archive-realisations article:hover a h2 {
	color: var(--black);
}
.post-type-archive-realisations article .featured-content {
	margin: 0;
	position: relative;
}
.post-type-archive-realisations article .featured-content::after {
	content:'+';
	position: absolute;
	font-size: 1em;
	opacity: 0;
  font-weight: 900;
  top: 50%;
  left: 50%;
	transform: translate(-50%, -50%);
  color: var(--green);
  text-shadow: 0 0 30px var(--black);
}
.post-type-archive-realisations article:hover .featured-content::after {
	font-size: 10em;
	opacity: 100%;
	transition: all 0.5s;
}
.post-type-archive-realisations article .entry-content {
	display: flex;
	flex-direction: column;
	gap:0.25em;
	font-size: 0.8em;
	height: 100%;
}
.post-type-archive-realisations article ul,
.single-realisations #details-realisation-sticky ul {
	display: flex;
	gap:0.25em;
	flex-wrap: wrap;
}
.post-type-archive-realisations article ul li,
.single-realisations #details-realisation-sticky ul li{
	padding: 0.25em 0.75em;
	border: 1px solid var(--black);
	border-radius: 100px;
	color: var(--black);
}
.post-type-archive-realisations article ul li:before,
.single-realisations #details-realisation-sticky ul li:before,
.single-realisations #galerie-images ul > li:before{
	content: none;
}

.post-type-archive-realisations .pagination {
	flex: 0 0 100%;
	margin: 0;
}
/* Filter */
.post-type-archive-realisations .choix-realisations {
	flex: 0 0 250px;
}
.post-type-archive-realisations .choix-realisations #filtre-sticky {
	position: sticky;
	top: 120px;
}
.post-type-archive-realisations #filtre-sticky ul {
	margin: 0 0 1em 0;
}
.post-type-archive-realisations #filtre-sticky li:before {
	content: none;
}
.post-type-archive-realisations input[type=checkbox] {
	margin: 0 0.5em 0 0;
}
.post-type-archive-realisations #filtre-sticky li {
	padding-left: 0;
	line-height: 1.3;
}
.post-type-archive-realisations #filtre-sticky h4 {
	color: var(--green);
}
.post-type-archive-realisations #filtre-sticky label {
	font-weight: 400;
}
.post-type-archive-realisations #filtre-sticky #reset {
	border: none;
	background-color: var(--green);
	padding: 0.75em 1.5em;
	border-radius: 2em;
	color: var(--white);
	font-weight: 700;
}
/* Single réalisation */
.single-realisations #primary {
	position: relative;
}
@media (min-width: 451px) {
.single-realisations .fond-moitie-gris {
	position: absolute;
	width: 50vw;
	height: 100%;
	right: 0;
	top:0;
	background: var(--grey);
	z-index: -1;
}
.single-realisations h1 {
	margin: 180px 4em -2em 4em;
	padding: 0 0 4em 1em;
	color: var(--green);
	position: relative;
	border-left: 8px solid var(--green);
	z-index: 10;
}
.single-realisations h1::before {
	content: "";
	position: absolute;
	height: 32px;
	width: 32px;
	border-radius: 2em;
	background-color: var(--green);
	left: -20px;
}
.single-realisations h1::after {
	content: "";
	position: absolute;
	height: 32px;
	width: 32px;
	border-radius: 2em;
	background-color: var(--green);
	left: -20px;
	bottom:0;
}
}
.single-realisations article {
	display: flex;
	gap: 2em;
}
@media (max-width: 450px) {
	.single-realisations article {
		flex-direction: column-reverse;
	}
	.single-realisations header.vcv-header {
		position: relative;
	}
}
.single-realisations :is(div,p,blockquote):empty{
	display: none;
}
.single-realisations article #galerie-images {
	flex: 0 0 55%;
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.single-realisations #galerie-images ul {
	display: flex;
	flex-direction: column;
	gap: 1em;
	margin-bottom: 0;
}
.single-realisations #galerie-images ul li {
	padding: 0;
}
.single-realisations #galerie-images img {
	width:100%;
}
.single-realisations #details-realisation-sticky {
	position: sticky;
	top:180px;
	display: flex;
	flex-direction: column;
	gap: 1em;
	align-items: flex-start;
}
.single-realisations #details-realisation-sticky h2 {
	line-height: 1em;
	color: var(--black);
}
.single-realisations #details-realisation-sticky h4 {
	margin: 0 0 0.25em 0;
}
.single-realisations #details-realisation-sticky a {
	border: none;
}
.single-realisations a.bouton-vert {
	border: none;
	background-color: var(--green);
	padding: 0.75em 1.5em;
	border-radius: 2em;
	color: var(--white);
	font-weight: 700;
	display: inline-block;
	margin-top: 0.5em;
	text-decoration: none;
}
.single-realisations .nav-links {
	display: flex;
  margin: 2em 0 4em;
  gap: 8em;
  justify-content: space-between;
}
.single-realisations .nav-links a .meta-nav{
 font-weight: 700;
 display: block;
}
.single-realisations .nav-links a:hover{
	color: var(--black);
	text-decoration: none;
}
.single-realisations .nav-links a .post-title {
	color: var(--black);
	line-height: 1.4;
}
.single-realisations .nav-links a:hover .post-title {
	text-decoration: underline;
}
.titre-page h1 {
	color: var(--green);
}

/* Page Carrières */
.poste h3 {
	font-size: 1.25em;
}
.poste p {
	font-size: 0.8em;
}
.poste .tag p {
	background-color: var(--green);
	color: var(--white);
	padding: 0.25em 1.25em;
  line-height: 1.2;
  font-weight: 700;
  margin: -1.25em -1.25em 1em -1.25em;
  border-radius: 7px 7px 0 0;
}
.poste:not(.recrutement) .tag {
	visibility: hidden;
}
.poste p a {
	display: block;
	white-space: wrap;
	border-radius: 2em;
	padding: 0.5em 1em;
	text-align: center;
	transition: all 0.5s;
}
.poste p a:hover,
.poste .spontane p a:hover {
  background-color: var(--green);
  border-color: var(--green);
  color: var(--white) !important;
  transition: all 0.5s;
}
.poste .spontane p a {
	background-color: var(--grey);
	border-color: var(--grey);
	color: var(--black);
}
.poste:is(.recrutement) .spontane {
	display: none;
}