/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/
 Description:    Theme Enfant Divi
 Author:         Certifié Conforme - Damien VIROT
 Author URI:     https://www.certifie-conforme.com/
 Template:       Divi
*/

/* ========================================
   VARS
======================================== */
:root{
	--maxw:1250px;
	--hfpad:45px;
}


/* ========================================
   FONTS
======================================== */
@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zalando Sans';
    src: url('fonts/ZalandoSansExpanded-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}


/* ========================================
   BASE
======================================== */
html{margin:0!important}
body{
    background: var(--c-beige);
	font-size:1.125rem;
	line-height:1.4
}

body:not(.et-fb) :where(h1, h2, h3, h4, h5, h6, .title blockquote){
    font-family: var(--font-secondary);
    padding:0;
    margin:0;
    line-height:1.3;
}
.title blockquote{
	padding:0!important;
	margin:0!important;
    border:none!important;
}

.title :is(h1, h2, h3, h4, h5, h6) strong{
	display:block;
}

/* ========================================
   OVERRIDE
======================================== */
body.et-fb .et_pb_code{
    min-height:50px;
    border:1px solid red;
}
header#main .inner,
.et_pb_row,
footer#bottom .inner{
    width:100%!important;
    max-width:var(--maxw)!important;
}


/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex!important;
    flex-direction:row!important;
    align-items: center;
    gap: 8px;
    padding: 12px 22px!important;
    border:none!important;
    line-height:1!important;
    border-radius: var(--radius);
    text-transform:uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
	background: var(--c-green)!important;
    color: var(--c-green-dark)!important;
	font-weight:700
}
.btn:hover{
	background: var(--c-green-dark)!important;
    color: var(--c-green)!important;
}

body:not(.et-fb) #page-container .et_pb_section .btn::after,
body:not(.et-fb) #page-container .et_pb_section .btn:hover::after {
    content: '→';
	font-family:"ETmodules";
    font-weight: 400;
    position: relative!important;
    top:-2px!important;
    right:auto!important;
    transform:none!important;
    line-height:0!important;
}

.btn--dark {
    background: var(--c-green-dark)!important;
    color: var(--c-green)!important;
}

.btn--dark:hover {
    background: var(--c-green)!important;
    color: var(--c-green-dark)!important;
}

.btn--border {
    background: transparent!important;
    color: var(--c-green-dark)!important;
	box-shadow:inset 0 0 0 2px var(--c-green-dark)
}

.btn--border:hover {
    box-shadow:inset 0 0 0 2px var(--c-green);
	background: transparent!important;
    color: var(--c-green)!important;
}

.btn--submit {
    background: var(--c-green-dark)!important;
    color: var(--c-green)!important;
    border: none;
    padding: 14px 32px;
}

.btn--submit:hover {
    color: var(--c-white)!important;
}


/* ========================================
   LEAF BORDER - Bordure animée SVG
======================================== */
.leaf-border {
    position: relative;
    margin: 30px auto;
    padding: 30px;
}

.leaf-border__border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.leaf-border__leaves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.leaf-border__leaves svg,
.showLeafs svg {
    display: block;
    position: absolute;
    transform-origin: bottom right;
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

svg.leaf-1 {
    top: -20px;
    left: 25px;
    height: 20px;
    width: auto;
    transform: scale(0);
}

svg.leaf-2 {
    top: -20px;
    left: 30px;
    height: 20px;
    width: auto;
    transform: scale(0) scale(-0.8, 0.8);
}

svg.leaf-3 {
    top: -20px;
    left: 45%;
    height: 20px;
    width: auto;
    transform: scale(0) scale(-0.8, 0.8);
}

svg.leaf-4 {
    top: -20px;
    left: 90%;
    height: 20px;
    width: auto;
    transform: scale(0) scale(-0.8, -0.8);
}

svg.leaf-5 {
    top: calc(100% - 20px);
    left: 95%;
    height: 20px;
    width: auto;
    transform: scale(0) scale(-1, -1);
}

svg.leaf-6 {
    top: calc(100% - 20px);
    left: calc(95% - 3px);
    height: 20px;
    width: auto;
    transform: scale(0) scale(0.5, -0.5);
}
.showLeafs svg.leaf-6{
    top: -16px;
    left: 80%;
}
svg.leaf-7 {
    top: calc(100% - 20px);
    left: 60%;
    height: 20px;
    width: auto;
    transform: scale(0);
}
.showLeafs svg.leaf-7{
    top:4px;
}

svg.leaf-8 {
    top: calc(100% - 20px);
    left: 30%;
    height: 20px;
    width: auto;
    transform: scale(0) scale(-1, -1);
}
.showLeafs svg.leaf-8{
    top: -20px;
}

svg.leaf-9 {
    top: calc(100% - 20px);
    left: calc(30% - 3px);
    height: 20px;
    width: auto;
    transform: scale(0) scale(0.5, -0.5);
}

svg.leaf-10 {
    top: calc(100% - 20px);
    left: 25px;
    height: 20px;
    width: auto;
    transform: scale(0) scale(-0.5, -0.5);
}

.leaf-border.is-visible svg.leaf-1,
.showLeafs .is-visible svg.leaf-1 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.8s;
}

.leaf-border.is-visible svg.leaf-2,
.showLeafs .is-visible svg.leaf-2 {
    opacity: 1;
    transform: scale(-0.8, 0.8);
    transition-delay: 1.1s;
}

.leaf-border.is-visible svg.leaf-3,
.showLeafs .is-visible svg.leaf-3 {
    opacity: 1;
    transform: scale(-0.8, 0.8);
    transition-delay: 1.4s;
}

.leaf-border.is-visible svg.leaf-4,
.showLeafs .is-visible svg.leaf-4 {
    opacity: 1;
    transform: scale(-0.8, -0.8);
    transition-delay: 1.7s;
}

.leaf-border.is-visible svg.leaf-5,
.showLeafs .is-visible svg.leaf-5 {
    opacity: 1;
    transform: scale(-1, -1);
    transition-delay: 2.0s;
}

.leaf-border.is-visible svg.leaf-6,
.showLeafs .is-visible svg.leaf-6 {
    opacity: 1;
    transform: scale(0.5, -0.5);
    transition-delay: 2.3s;
}

.leaf-border.is-visible svg.leaf-7,
.showLeafs .is-visible svg.leaf-7 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 2.6s;
}

.leaf-border.is-visible svg.leaf-8,
.showLeafs .is-visible svg.leaf-8 {
    opacity: 1;
    transform: scale(-1, -1);
    transition-delay: 2.9s;
}
.showLeafs .is-visible svg.leaf-8{
    transform: scale(-1, 1);
}

.leaf-border.is-visible svg.leaf-9,
.showLeafs .is-visible svg.leaf-9 {
    opacity: 1;
    transform: scale(0.5, -0.5);
    transition-delay: 3.2s;
}

.leaf-border.is-visible svg.leaf-10,
.showLeafs .is-visible svg.leaf-10 {
    opacity: 1;
    transform: scale(0.5, -0.5);
    transition-delay: 3.5s;
}

.leaf-border__content p {
    margin-bottom: 15px;
    font-size: 0.9375rem;
}

.leaf-border__content p:last-child {
    margin-bottom: 0;
}

.leaf-border__content strong {
    color: var(--c-green-dark);
}


/* ========================================
   HEADER
======================================== */
header#main  {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
	padding:0 var(--hfpad);
    background:var(--c-beige);
}
header#main.scrolled,
header#main.scrolled .header__logo{
	box-shadow:-5px 0 5px rgba(0,0,0,0.2);
}
header#main .inner,
footer#bottom .inner{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height:100px;
    margin: 0 auto;
    position: relative;
    transition: height 0.3s ease;
}
header#main.scrolled .inner {
    height:70px;
}

/* ----- LOGO ----- */
header#main .header__logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    padding: 40px 45px 40px 0;
    background: var(--c-beige);
    border-radius: 0 0 var(--radius) 0;
    transition: width 0.3s ease, padding 0.3s ease;
}
header#main.scrolled .header__logo{
    width: 170px;
    padding: 20px 25px;
	position:fixed;
}
header#main .header__logo img {
    width: 100%;
    height: auto;
}

/* ----- NAV ----- */
header nav,
#quick_access{
	display:flex;
	justify-content:flex-end;
	align-items:center;
	align-content:center;
	gap:3.5vw;
	padding-right:4vw
}
header nav a{
	color:var(--c-green-dark);
	font-weight:700;
	text-transform:uppercase;
	transition:color 500ms
}
header nav a:hover{
	color:var(--c-green)
}

/* ----- QUICK ACCESS ----- */
#quick_access{
	gap:20px;
	padding-right:0
}
#quick_access a.connect::after{
    content: '\e08a';
    font-family: "ETmodules";
    position: relative;
	display:none;
}
header#main .btn {
    font-weight:700;
}

#burger_menu{
	display:none;
	margin-left:20px;
}
#burger_menu .menu {
	--color: var(--c-green);
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	outline: none;
	position: relative;
	border: none;
	background: none;
	cursor: pointer;
	-webkit-appearence: none;
	-webkit-tap-highlight-color: transparent;
}
#burger_menu .menu svg {
	width: 64px;
	height: 48px;
	top: -6px;
	left: -14px;
	stroke: var(--color);
	stroke-width: 4px;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	display: block;
	position: absolute;
}
#burger_menu .menu svg path {
	transition: stroke-dasharray var(--duration, 0.85s) var(--easing, ease) var(--delay, 0s), stroke-dashoffset var(--duration, 0.85s) var(--easing, ease) var(--delay, 0s);
	stroke-dasharray: var(--array-1, 26px) var(--array-2, 100px);
	stroke-dashoffset: var(--offset, 126px);
	transform: translateZ(0);
}
#burger_menu .menu svg path:nth-child(2) {
	--duration: .7s;
	--easing: ease-in;
	--offset: 100px;
	--array-2: 74px;
}
#burger_menu .menu svg path:nth-child(3) {
	--offset: 133px;
	--array-2: 107px;
}
#burger_menu .menu.active svg path {
	--offset: 57px;
}
#burger_menu .menu.active svg path:nth-child(1), .menu.active svg path:nth-child(3) {
	--delay: .15s;
	--easing: cubic-bezier(.2, .4, .2, 1.1);
}
#burger_menu .menu.active svg path:nth-child(2) {
	--duration: .4s;
	--offset: 2px;
	--array-1: 1px;
}
#burger_menu .menu.active svg path:nth-child(3) {
	--offset: 58px;
}


/* ========================================
   FOOTER
======================================== */
footer{
	padding:0 var(--hfpad) 30px;
}
footer#bottom .inner{
    justify-content:space-between;
	height:auto;
    margin: 0 auto;
    position: relative;
    transition: height 0.3s ease;
}

footer .header__logo{
	width:180px;
	display:block;
}

footer nav.main{
	width:fit-content;
	display:flex;
	flex-wrap:wrap;
	gap:5vw;
	padding-top:10px;
	border-top:1px solid var(--c-green);
}
footer nav.main a{
	text-transform:uppercase;
	color:var(--c-green-dark);
}
footer nav.main a:hover{
	color:var(--c-green);
}

footer #contacts{
	width:180px;
	display:flex;
	flex-wrap:wrap;
	justify-content:flex-end;
}
footer .social-networks{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
footer .contact-link,
footer .social-networks .title{
	width:100%;
	font-size:1.25rem;
	line-height:1.2;
	margin-bottom:5px;
	text-transform:uppercase;
	color:var(--c-green);
	font-family:var(--font-secondary);
	text-align:right;
	font-weight:700;
}
footer .contact-link{
	color:var(--c-green-dark);
	margin-bottom:10px;
}
footer .social-networks a{
	width:30px;
	height:30px;
	background:var(--c-green);
	color:white;
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	align-items:center;
	align-content:center;
	border-radius:50%;
}
footer .social-networks a .et-pb-icon{
	font-size:1rem;
}
footer .network-name{
	display:none;
}

footer #legals{
	font-size:0.8rem;
	line-height:1.4;
	color:#707070;
	text-align:center;
}
footer #legals a{
	color:#707070;
}

/* ======================= */
/* RESPONSIVE BREAK POINTS */
/* ======================= */
@media screen and (min-width:1500px){
	:root{
		--maxw:1400px;
	}
}
@media screen and (max-width:1500px){
	#quick_access a.connect{
		padding:16px!important
	}
	#quick_access a.connect span{
		display:none;
	}
	#quick_access a.connect::after{
		display:inline;
	}
}
@media screen and (max-width:900px){
	/*body::after{
		content:'';
		display:flex;
		flex-wrap:wrap;
		justify-content:center;
		align-content:center;
		align-items:center;
		padding:20px;
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:6000%;
		z-index:1000000000;
		text-align:center;
		background:white;
	}
	#page-container::after{
		content:'La version responsive est actuellement en maintenance.';
		display:flex;
		flex-wrap:wrap;
		justify-content:center;
		align-content:center;
		align-items:center;
		padding:20px;
		position:fixed;
		top:0;
		left:0;
		width:calc(100% - 40px);
		height:100vh;
		z-index:2000000000;
		text-align:center;
		background:white;
	}
	body.admin-bar::after,
	body.admin-bar #page-container::after,
	body.logged-in::after,
	body.logged-in #page-container::after{
		display:none;
	}*/
	
	:root{
		--hfpad:20px;
	}
	header#main,
	header#main .header__logo{
		box-shadow:-5px 0 5px rgba(0,0,0,0.2);
	}
	header#main.active,
	header#main.active .header__logo{
		box-shadow:-5px 0 5px rgba(0,0,0,0.2);
		z-index:200
	}
	header#main .header__logo{
		width: 170px;
		padding: 20px 25px;
		position:fixed;
	}
	header nav.main{
		position:fixed;
		z-index:100;
		top:0;
		left:110vw;
		width:100%;
		height:100vh;
		height:100dvh;
		display:flex;
		flex-direction: column;
		justify-content:center;
		align-items: center;
		transition:all 800ms ease;
		display:flex;
		padding-top:100px;
		gap:30px 0;
		background:white;
	}
	header nav.main::before{
		content:'';
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		background:white url(https://dev.certifie-conforme.com/vdp/wp-content/uploads/2026/01/background-top-laureat.svg) no-repeat left -300px center / cover;
		opacity:0.1;
		mix-blend-mode:darken;
		
	}
	header.active nav.main{
		left:0;
	}
	header nav.main a{
		width: fit-content;
		font-size:1.3rem;
		position:relative;
		z-index:200;
	}
	
	header #quick_access .btn:not(.connect){
		display:none!important;
	}
	#quick_access a.connect{
		padding:10px!important
	}
	#quick_access,
	#burger_menu{
		display:block;
		position:relative;
		z-index:200
	}
	
	.title :is(h1, h2, h3, h4, h5, h6) strong{
		display:inline-block
	}
	
	footer#bottom .inner{
		justify-content:center;
		flex-wrap:wrap;
	}
	footer .header__logo{
		margin-bottom:30px
	}

	footer nav.main{
		width:100%;
		justify-content:center;
		gap:10px 5vw;
		margin-bottom:30px;
	}
	footer nav.main a{
		text-transform:uppercase;
		color:var(--c-green-dark);
	}
	footer nav.main a:hover{
		color:var(--c-green);
	}
	footer .social-networks{
		justify-content:center;
		gap:10px;
		margin-bottom:30px;
	}
	footer .contact-link,
	footer .social-networks .title{
		text-align:center;
	}
	footer .contact-link{
		color:var(--c-green-dark);
		margin-bottom:10px;
	}
	footer .social-networks a{
		width:30px;
		height:30px;
		background:var(--c-green);
		color:white;
		display:flex;
		flex-wrap:wrap;
		justify-content:center;
		align-items:center;
		align-content:center;
		border-radius:50%;
	}
	footer .social-networks a .et-pb-icon{
		font-size:1rem;
	}
	footer .network-name{
		display:none;
	}

	footer #legals{
		font-size:0.8rem;
		line-height:1.4;
		color:#707070;
		text-align:center;
	}
	footer #legals a{
		color:#707070;
	}
}
@media screen and (max-width:470px){
	
}