/*
Theme Name: Axénergie
Author: Planète Communication
Author URI: https://www.planete-communication.fr
Version: 1
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}





/* poppins-regular - latin */
@font-face {
	font-display: swap;
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	src: url('/wp-content/themes/axenergie/fonts/poppins-v21-latin-regular.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 500;
	src: url('/wp-content/themes/axenergie/fonts/poppins-v21-latin-500.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	src: url('/wp-content/themes/axenergie/fonts/poppins-v21-latin-700.woff2') format('woff2');
}




* {
	border: 0px;
	margin: 0px;
	padding: 0px;
	text-decoration: none;
}
body {
	background: #000000;
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 120%;
	color: #000000;
	-webkit-font-smoothing: antialiased;
}
button {
	font-family: 'Poppins';
}
img {
	max-width: 100%;
	border: 0px;
	vertical-align: bottom;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.1em;
	margin: 10px 0px;
	font-weight: bold;
}
h1 {
	font-size: 40px;
	margin: 0px 0px 20px 0px;
	font-weight: 700;
}
h2 {
	font-size: 36px;
}
h3, body.home h1 + p, #process h2 + p {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25em;
}
h4 {
	font-size: 20px;
}
a:focus {
	outline: none;
}
a {
	color: #000000;
  	text-decoration: underline;
}
p {
	margin: 10px 0px;
	line-height: 1.55em;
}
ul, ol {
	margin: 10px 0px 10px 15px;
}
ul ul, 
ol ol, 
ul ol, 
ol ul {
	margin: 0px 0px 0px 30px;
}
li {
  	line-height: 1.55em;
}
sup {
    font-size: smaller;
    vertical-align: text-bottom;
}
#nested .smart-menu {
	display: none;
}
#nested {
    position: absolute;
    height: 60px;
    z-index: 2;
    top: 125px;
    left: 20px;
	transition: 0.3s;
}
#nested .firstLevel {
	height: 60px;
	margin: 0px;
	text-align: center;
}
#nested .firstLevel li {
	position: relative;
	display: inline-block;
	height: 60px;
	transition: 0.25s opacity;
}
#nested .firstLevel li a {
	display: block;
	height: 60px;
	line-height: 60px;
	color: #000000;
	padding: 0px 20px;
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
	transition: 0.25s;
}
#nested .firstLevel li a span {
	display: block;
	height: 60px;
	line-height: 60px;
}
#nested .firstLevel li ul {
	position: absolute;
	width: 260px;
	height: 0px;
	background: #FFFFFF;
	margin-left: -130px;
	margin-top: -20px;
	box-shadow: 0px 4px 10px -4px rgba(0, 0, 0, 0.3);
	left: 50%;
	top: auto;
	overflow: hidden;
	opacity: 0;
	transition: 0.3s;
}
#nested .firstLevel > li:hover > ul {
	height: auto;
	opacity: 1;
	margin-top: 0px;
	padding: 0;
}
#nested .firstLevel li ul li {
	display: block;
	height: auto;
	padding: 0 10px;
	border-bottom: 1px solid #EDEDED;
	transition: 0.4s;
}
#nested ul.firstLevel li ul li:hover {
	background: #F7F7F7;
}
#nested .firstLevel li ul li:last-child {
	border-bottom: none;
}
#nested .firstLevel li ul li a {
	height: auto;
	padding: 15px 10px;
	line-height: 120%;
	font-size: 15px;
    text-align: left;
}
#nested .firstLevel li ul li a span {
	height: auto;
	line-height: 120%;
}
#wrapper ul li {
	position: relative;
}
#wrapper ul li:before {
	content: '';
	width: 6px;
	height: 6px;
	background: #D21113;
	position: absolute;
	border-radius: 50%;
	top: 8px;
	left: -15px;
	margin: auto;
}
#page {
	position: relative;
	background: #FFFFFF;
	overflow: hidden;
}
header {
	position: fixed;
	width: 100%;
	height: 110px;
	z-index: 3;
	transition: 0.3s;
}
#headerInner {
	position: relative;
	width: 100%;
	height: 100%;
}
#logo {
	position: absolute;
	top: 20px;
	left: 40px;
	transition: 0.3s;
}
#logo img {
	transition: 0.3s;
}
#headerBoxes {
	position: absolute;
    right: 40px;
    top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	z-index: 3;
	transition: 0.3s;
}
/* ----------------------
ZONE INTERIEURE (CONTENU)
-----------------------*/
#wrapper {
	position: relative;
	background: #FFFFFF;
	z-index: 1;
}
#wrapperInner {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0px auto;
	padding: 90px 0px 0px 0px;
}
#container {
	position: relative;
	margin: 0px 0px 100px 0px;
}
#contentsInner {
	position: relative;
}
#headerBoxes p {
	margin: 0;
	line-height: 1;
}
body.home #wrapperInner {
	padding: 0;
}
.grecaptcha-badge {
	visibility: hidden;
}
html, body {
	scroll-behavior: smooth;
}
iframe {
	max-width: 100%;
}
strong {
	font-weight: 700;
}
em {
	font-style: italic;
}
body.home #container {
    margin: 0px;
}




/* ---------------------------- STRUCTURES ET STYLES DES PAGES INTÉRIEURES ---------------------------- */

body:not(.home) h2,
body:not(.home) h3 {
	margin-bottom: 15px;
}
body:not(.home) h2 {
	font-size: 32px;
}


/* ------- Passage à menu burger ------- */
@media (min-width: 1191px) {
	#nested ul.firstLevel > li.hidden_on_desktop {
		display: none;
	}
}
@media (max-width: 1190px) {
	header div #nested,
	header.scrolled div #nested {
		width: 40px;
		height: 40px;
		top: 0;
		bottom: 0;
		margin: auto;
		right: 30px;
		left: auto;
	}
	header div #nested .contentSmart {
		width: 100%;
		height: 100%;
		cursor: pointer;
		z-index: 25;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#nested .firstLevel {
		text-align: left;
		background: #000000;
		width: 100%;
		position: fixed;
		right: -100%;
		transition: 0.7s;
		opacity: 0.3;
		top: 0;
		height: auto;
		bottom: 0;
		padding: 50px 0;
		overflow-y: auto;
		overflow-x: hidden;
	}
	body.menu_open #nested .firstLevel:after, 
	body.menu_open #nested .firstLevel:before {
		content: '';
		height: 55px;
		background: linear-gradient(0deg, #000000, transparent);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0px;
		opacity: 0;
		pointer-events: none;
		transition: 0.3s;
	}
	body.menu_open.animation_delai #nested .firstLevel:after, 
	body.menu_open.animation_delai #nested .firstLevel:before {
		opacity: 1;
	}
	body.menu_open #nested .firstLevel:before {
		bottom: auto;
		top: 0;
		z-index: 20;
		background: linear-gradient(180deg, #000000, transparent);
	}
	body.menu_open #nested .firstLevel {
		right: 0;
		opacity: 1;
	}
	#nested ul.firstLevel:hover > li {
		opacity: 1;
	}
	header div #nested .contentSmart span {
		width: 25px;
		height: 2px;
		background: #000000;
		display: block;
		border-radius: 3px;
		position: relative;
		top: 0;
		transition: 0.5s;
	}
	header div #nested .contentSmart > span:nth-child(2) {
		margin: 6px 0px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(1) {
		transform: rotate(45deg);
		top: 8px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(2) {
		opacity: 0;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(3) {
		transform: rotate(-45deg);
		top: -8px;
	}
	body.menu_open header div #nested .contentSmart > span {
		background: #FFFFFF;
	}
	#nested ul.firstLevel li a,
	header.scrolled #nested ul.firstLevel > li > a {
		font-size: 18px;
		height: auto;
		line-height: 1;
	}
	#nested .firstLevel li a span {
		line-height: 1.3em;
		height: auto;
	}
	#nested ul.firstLevel > li.menu-item-has-children {
		margin-right: 0;
	}
	#nested .firstLevel li {
		height: auto;
	}
	#nested ul.firstLevel > li {
		margin: 0 0 30px 0;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
    	padding-left: 30px;
	}
	#nested ul.firstLevel > li:last-child {
		margin-bottom: 0;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a {
		position: relative;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a:after {
		content: '';
		display: inline-block;
		height: 0;
		width: 0;
		border-top: 5px solid #FFFFFF;
		border-right: 5px solid transparent;
		border-left: 5px solid transparent;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 11px;
	}
	#nested .firstLevel li a {
		color: #FFFFFF;
	}
	#nested .firstLevel li ul,
	#nested .firstLevel > li:hover > ul {
		position: relative;
		height: auto;
		opacity: 1;
		background: none;
		box-shadow: none;
		margin: 10px 0 0px 10px;
		padding: 0;
		left: 0;
		width: auto;
	}
	#nested ul.firstLevel > li > ul > li {
		padding: 0;
		margin: 0;
	}
	#nested .firstLevel li ul li {
		border: none;
	}
	body.menu_open {
		overflow: hidden;
	}
	#nested .firstLevel li ul {
		display: none;
	}
	#nested ul.firstLevel > li.menu-item-has-children.sous_menu_open > ul {
		display: block;
	}
	#nested ul.firstLevel > li.menu-item-has-children.sous_menu_open > a:after {
		transform: rotate(180deg);
	}
	#nested ul.firstLevel li ul li:hover {
		background: none;
	}
}



























































/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------- AXÉNERGIE ------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */





/* boutons */
body.error404 article a,
#wrapper a.wp-block-button__link,
#wrapper div.wpforms-container-full button[type=submit],
header a.btn,
body.home #top .txt a,
#h1 .gauche > :last-child a,
#blocs .inner > :last-child a,
#fond .container a,
footer a.wp-block-button__link,
#process .gauche > :last-child a {
	border-radius: 0;
	display: flex;
	gap: 10px;
	background: none;
	color: #000000;
	padding: 16px 20px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: 0.3s;
	border: 2px solid #000000;
	font-size: 16px;
	height: auto;
	box-shadow: none;
}
body.error404 article a:hover,
#wrapper a.wp-block-button__link:hover,
#wrapper div.wpforms-container-full button[type=submit]:hover,
header a.btn:hover,
body.home #top .txt a:hover,
#h1 .gauche > :last-child a:hover,
#blocs .inner > :last-child a:hover,
#fond .container a:hover,
footer a.wp-block-button__link:hover,
#process .gauche > :last-child a:hover {
	background: #000000 !important;
	color: #FFFFFF;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


/* boutons contact */
header a.btn,
#fond .container a,
footer a.wp-block-button__link {
	background: #D21113;
	border-color: #D21113;
	color: #FFFFFF;
}
header a.btn:hover,
#fond .container a:hover,
footer a.wp-block-button__link:hover {
	background: none !important;
	color: #D21113;
	text-decoration: none;
}




.has-noir-color { color: #000000 !important; }
.has-noir-background-color { background-color: #000000 !important; }

.has-blanc-color { color: #FFFFFF !important; }
.has-blanc-background-color { background-color: #FFFFFF !important; }

.has-gris-color { color: #F2F2F2 !important; }
.has-gris-background-color { background-color: #F2F2F2 !important; }

.has-vert-color { color: #F3F3E9 !important; }
.has-vert-background-color { background-color: #F3F3E9 !important; }

.has-rouge-color { color: #D21113 !important; }
.has-rouge-background-color { background-color: #D21113 !important; }




header.scrolled {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
	background: #FFFFFF;
    height: 70px;
}
header.scrolled #headerBoxes {
    right: 15px;
}
header.scrolled #logo img {
    height: 38px;
}
header.scrolled #logo {
    top: 16px;
    left: 30px;
}
header.scrolled #nested {
    top: 6px;
    left: 280px;
}
header.scrolled #nested .firstLevel > li > a {
	font-size: 16px;
}






#top {
    height: 100vh;
    margin-bottom: 110px;
    display: flex;
    justify-content: flex-end;
	position: relative;
}
#top .img {
	height: 100%;
	width: calc(100% - 415px);
	overflow: hidden;
}
#top img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: dezoom 2.5s ease both;
	animation-delay: 0.2s;
}
@keyframes dezoom {
	0% {
		transform: scale(1.15);
	}
	100% {
		transform: scale(1);
	}
}
#top .txt {
    position: absolute;
    bottom: 80px;
    left: 40px;
	z-index: 2;
}
#top .txt > :last-child {
	margin: 75px 0 0 0;
	display: flex;
	justify-content: flex-start;
}
#top > svg {
    position: absolute;
    left: -15px;
    bottom: 40px;
    z-index: 1;
}
#top .txt > p:first-child,
#top .txt > p:nth-child(2) {
    font-size: 60px;
    font-weight: 500;
    line-height: 1.07em;
    max-width: 830px;
	color: #000000;
}
#top .txt > p:nth-child(2) {
	display: none; /* pour la version mobile */
}



#top .txt > p:first-child:not(.showed),
#top .txt > p:nth-child(2):not(.showed) {
	opacity: 0;
}
#top .txt > p:first-child span,
#top .txt > p:nth-child(2) span {
	display: block;
	opacity: 0;
	transform: translateY(20px);
}
#top .txt > p:first-child br,
#top .txt > p:nth-child(2) br {
	display: none;
}
#top .txt > p:last-child {
	opacity: 0;
	transform: translateY(20px);
}






body:not(.home) h1 {
    font-weight: 500;
    font-size: 60px;
    max-width: 800px;
    margin: 0 auto;
    padding: 280px 0 80px 0;
    position: relative;
    z-index: 1;
	animation: appear 0.8s ease-in-out;
	animation-fill-mode: both;
	animation-delay: 0.3s;
	text-align: center;
}
#chapterPicture {
	position: relative;
}
#chapterPicture img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: dezoom 2.5s ease both;
    animation-delay: 0.2s;
}
#chapterPicture:after {
    content: '';
    background: linear-gradient(0deg, rgba(255,255,255,0.4), transparent);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    pointer-events: none;
}
@keyframes appear {
	0% {
		opacity: 0;
		bottom: -20px;
	}
	100% {
		opacity: 1;
		bottom: 0;
	}
}


@media (min-width: 1191px) {
	li#menu-item-162:hover > a {
		color: #449a18;
	}
	li#menu-item-161:hover > a {
		color: #D21113;
	}
	li#menu-item-163:hover > a {
		color: #0092ad;
	}
	li#menu-item-164:hover > a {
		color: #545454;
	}
}




@media (max-width: 1190px) {
	#logo img {
		height: 50px;
	}
	header.scrolled #headerBoxes, #headerBoxes {
		right: 100px;
	}
	body.error404 article a, #wrapper a.wp-block-button__link,
	#wrapper div.wpforms-container-full button[type=submit],
	header a.btn, body.home #top .txt a, #h1 .gauche > :last-child a,
	#blocs .inner > :last-child a, #fond .container a,
	footer a.wp-block-button__link, #process .gauche > :last-child a {
		font-size: 15px;
		padding: 13px 17px;
		transition: 0.15s;
	}
	#nested .firstLevel li ul li a {
		padding: 10px;
		font-size: 14px;
	}
	#logo,
	header.scrolled #logo {
		top: 0;
		bottom: 0;
		display: flex;
		align-items: center;
	}
	#top .txt > p:first-child {
		font-size: 50px;
	}
	body:not(.home) h1 {
		padding: 160px 0 70px 0;
		font-size: 48px;
	}
}
@media (max-width: 600px) {
	#headerBoxes {
		display: none;
	}
}
@media (max-width: 1080px) {
	header {
		background: #FFFFFF;
	}
	#top {
		height: auto;
		padding-top: 110px;
	}
	#top > svg {
		display: none;
	}
	#top .img {
		width: 100%;
		height: 77vw;
	}
	#top img {
		filter: brightness(0.8);
	}
	#top .txt {
		left: 6.5vw;
		right: 6.5vw;
		text-align: center;
		top: 110px;
		bottom: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	#top .txt > p:first-child,
	#top .txt > p:nth-child(2) {
		color: #FFFFFF;
	}
	body.home #top .txt a {
		color: #FFFFFF;
		border-color: #FFFFFF;
	}
	#top .txt > :last-child {
		margin-top: 45px;
	}
	h1 {
		font-size: 36px;
	}
	h2 {
		font-size: 32px;
	}
	#blocs .txt > img {
		height: 56px;
	}
	#chapterPicture {
		margin-top: 110px;
	}
	body:not(.home) h1 {
		padding: 80px 6.5vw;
	}
}
@media (max-width: 800px) {
	#top .txt > p:first-child {
		font-size: 6.7vw;
	}
}



.wp-block-column .wp-block-image + .flip-card {
	box-sizing: content-box;
    width: auto;
}
.wp-block-column .wp-block-image + .flip-card .wp-block-group__inner-container {
	height: auto;
}

@media (min-width: 1191px) and (max-width: 1400px) {
	header.scrolled #nested .firstLevel > li > a {
		font-size: 15px;
		padding: 0 15px;
	}
}
@media (min-width: 1191px) and (max-width: 1300px) {
	header.scrolled a.btn {
		font-size: 14px;
	}
	header.scrolled #nested {
		left: 250px;
	}
	header.scrolled #nested .firstLevel > li > a {
		font-size: 14px;
		padding: 0 13px;
	}
}







@media (max-width: 500px) {
	#nested ul.firstLevel > li {
		max-width: 90vw;
		padding-left: 15px;
	}
	header div #nested, header.scrolled div #nested {
		right: 6.5vw;
		margin-right: -7px;
	}
	header {
		height: 80px;
	}
	#top {
		padding-top: 80px;
		margin-bottom: 60px;
	}
	#logo img {
		height: 40px;
	}
	#logo, header.scrolled #logo {
		left: 6.5vw;
	}
	header.scrolled {
		height: 60px;
	}
	header.scrolled #logo img {
		height: 30px;
	}
	#top .txt {
		top: 80px;
	}

	#top .txt > p:first-child {
		display: none;
	}
	#top .txt > p:nth-child(2) {
		font-size: 7vw;
		display: block;
		line-height: 1.15em;
	}
	#top .txt > :last-child {
		margin-top: 20px;
	}
	h1, body:not(.home) h1 {
		font-size: 32px;
	}
	h2, body:not(.home) h2 {
		font-size: 24px;
	}
	h3, body.home h1 + p, #process h2 + p, #wrapper div #fond h2 + p {
		font-size: 18px;
	}
	body:not(.home) h1 {
		padding: 50px 6.5vw;
		font-size: 34px;
		color: #FFFFFF;
		max-width: 315px;
	}
	#chapterPicture {
		margin-top: 80px;
	}
	#wrapperInner {
		padding-top: 60px;
	}
	#chapterPicture img {
		filter: brightness(0.8);
	}

	.wp-block-image img.wp-image-189,
	.wp-block-image img.wp-image-190,
	.wp-block-image img.wp-image-191 {
		width: auto;
		height: 50px;
	}
}