/*
Theme Name: À l'Envers du Décor
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;
}




@font-face {
	font-display: swap;
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 300;
	src: url('/wp-content/themes/alenversdudecor/fonts/source-sans-3-v15-latin-300.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 400;
	src: url('/wp-content/themes/alenversdudecor/fonts/source-sans-3-v15-latin-regular.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 600;
	src: url('/wp-content/themes/alenversdudecor/fonts/source-sans-3-v15-latin-600.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 700;
	src: url('/wp-content/themes/alenversdudecor/fonts/source-sans-3-v15-latin-700.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Source Sans 3';
	font-style: italic;
	font-weight: 700;
	src: url('/wp-content/themes/alenversdudecor/fonts/source-sans-3-v15-latin-700italic.woff2') format('woff2');
}



* {
	border: 0px;
	margin: 0px;
	padding: 0px;
	text-decoration: none;
}
body {
	background: #000000;
	font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 120%;
	color: #000000;
	-webkit-font-smoothing: antialiased;
}
button {
	font-family: 'Source Sans 3';
}
img {
	max-width: 100%;
	border: 0px;
	vertical-align: bottom;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 120%;
	margin: 10px 0px;
	font-weight: bold;
}
h1 {
    font-size: 52px;
    text-align: center;
    font-weight: 300;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1;
    max-width: 1030px;
}
h1 b,
h2 em {
	font-style: italic;
	font-weight: 700;
}
h2 {
	font-size: 44px;
	line-height: 1;
	font-weight: 300;
	text-transform: uppercase;
}
h3, #edito h2 + p, h2.h3_like, span.h3_like {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.25em;
	text-transform: initial;
}
span.h3_like {
	display: block;
	line-height: 1.2em;
}
h4 {
	font-size: 20px;
}
a:focus {
	outline: none;
}
a {
	color: #000000;
  	text-decoration: underline;
}
p {
	margin: 10px 0px;
	line-height: 1.4em;
}
ul, ol {
	margin: 10px 0px 10px 15px;
}
ul ul, 
ol ol, 
ul ol, 
ol ul {
	margin: 0px 0px 0px 30px;
}
li {
  	line-height: 1.4em;
}
sup {
    font-size: smaller;
    vertical-align: text-bottom;
}
#wrapper ul li {
	position: relative;
}
#wrapper ul li:before {
	content: '';
	width: 6px;
	height: 6px;
	background: #B5ACA1;
	position: absolute;
	border-radius: 50%;
	top: 9px;
	left: -15px;
	margin: auto;
}
#page {
	position: relative;
	background: #FFFFFF;
	overflow: hidden;
}
header {
	position: fixed;
	width: 100%;
	height: 120px;
	z-index: 2;
	transition: 0.3s;
	background: #FFFFFF;
}
#headerInner {
	position: relative;
	width: 100%;
	height: 100%;
}
#logo {
	position: absolute;
	top: 30px;
	left: 40px;
	transition: 0.3s;
}
#logo img {
	transition: 0.3s;
}
#headerBoxes {
    position: absolute;
    right: 100px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* ----------------------
ZONE INTERIEURE (CONTENU)
-----------------------*/
#wrapper {
	position: relative;
	background: #FFFFFF;
	z-index: 1;
}
#wrapperInner {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0px auto;
	padding: 95px 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 ---------------------------- */

#chapterPicture {
	padding-top: 120px;
	height: 20vw;
	position: relative;
	max-height: 420px;
}
#chapterPicture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.85);
}
.title_and_bc {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    color: #FFFFFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding: 0 5%;
}
.title_and_bc:before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.5) 0%, transparent);
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}
.title_and_bc h1 {
	margin-bottom: 15px;
	max-width: 1120px;
	text-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}
.widget_breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
}
.widget_breadcrumb a:hover {
	text-decoration: underline;
}
.widget_breadcrumb {
    font-size: 14px;
}
#chapterPicture > .title_and_bc:first-child {
    background: #B5ACA1;
}
body:not(.home) h2,
body:not(.home) h3 {
	margin-bottom: 15px;
}


@media (max-width: 1300px) {
	#chapterPicture {
		height: 27vw;
	}
}
@media (max-width: 1050px) {
	#chapterPicture {
		height: auto;
	}
	#chapterPicture img {
		position: absolute;
		top: 120px;
        left: 0;
        height: calc(100% - 120px);
	}
	body:not(.home):not(.error404) .title_and_bc {
		position: relative;
		padding: 10% 5%;
		top: 0;
	}
}









































/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* -------------------------------------- À l'Envers du Décor -------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */





/* boutons */
body.error404 article a,
body:not(.home) #wrapperInner a.wp-block-button__link,
#wrapper div.wpforms-container-full button[type=submit],
#top > a,
footer a.wp-block-button__link,
#edito .txt > :last-child a,
#equipe .txt > :last-child a,
#services .presta > :last-child a,
#decouvrez .titre a {
    border-radius: 99px;
    display: inline-block;
    background: none;
    border: 1px solid #000000;
    color: #000000;
    padding: 17px 58px 15px 20px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
    height: auto;
    box-shadow: none;
    position: relative;
}
body.error404 article a:hover,
body:not(.home) #wrapperInner a.wp-block-button__link:hover,
#wrapper div.wpforms-container-full button[type=submit]:hover,
#top > a:hover,
footer a.wp-block-button__link:hover,
#edito .txt > :last-child a:hover,
#equipe .txt > :last-child a:hover,
#services .presta > :last-child a:hover,
#decouvrez .titre a:hover {
	background: #000000;
	color: #FFFFFF;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

body.error404 article a:after,
body:not(.home) #wrapperInner a.wp-block-button__link:after,
#wrapper div.wpforms-container-full button[type=submit]:after,
#top > a:after,
footer a.wp-block-button__link:after,
#edito .txt > :last-child a:after,
#equipe .txt > :last-child a:after,
#services .presta > :last-child a:after,
#decouvrez .titre a:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 8px;
	height: 28px;
	width: 28px;
	background: url(/wp-content/themes/alenversdudecor/images/white-arrow.svg) no-repeat center center, #000000;
	border-radius: 50%;
	margin: auto;
	border: none;
	left: auto;
}


#top > a,
footer a.wp-block-button__link,
#edito .txt > :last-child a,
#services .presta > :last-child a,
body:not(.home) #wrapperInner img + .wp-block-cover__inner-container a.wp-block-button__link {
	background: #FFFFFF;
	border-color: #FFFFFF;
	color: #B5ACA1;
}
#top > a:after,
footer a.wp-block-button__link:after,
#edito .txt > :last-child a:after,
#services .presta > :last-child a:after,
body:not(.home) #wrapperInner img + .wp-block-cover__inner-container a.wp-block-button__link:after {
	background-color: #B5ACA1;
}
#top > a:hover,
footer a.wp-block-button__link:hover,
#edito .txt > :last-child a:hover,
#services .presta > :last-child a:hover,
body:not(.home) #wrapperInner img + .wp-block-cover__inner-container a.wp-block-button__link:hover {
	background: #B5ACA1;
	border-color: #B5ACA1;
	text-decoration: none;
	color: #FFFFFF;
}


.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-beige-color { color: #EDEAE3 !important; }
.has-beige-background-color { background-color: #EDEAE3 !important; }

.has-beige-fonce-color { color: #B5ACA1 !important; }
.has-beige-fonce-background-color { background-color: #B5ACA1 !important; }


#wrapper p,
#wrapper li {
	letter-spacing: 0.015em;
}



#top {
    margin-top: 120px;
    height: calc(100vh - 120px);
    position: relative;
}
#top img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.92);
	animation: dezoom 2.5s ease;
	animation-delay: 0.2s;
	animation-fill-mode: both;
}
@keyframes dezoom {
	0% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}






#nested {
    width: 40px;
    height: 40px;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 40px;
    position: absolute;
    margin-right: -7px;
	z-index: 4;
}
#nested .contentSmart {
	height: 100%;
	cursor: pointer;
	z-index: 25;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
#nested .contentSmart span {
    width: 20px;
    height: 2px;
    background: #000000;
    display: block;
    position: relative;
    top: 0;
	border-radius: 1px;
    transition: 0.5s;
}
#nested .contentSmart > span:nth-child(2) {
    margin: 6px 0px;
}
body.menu_open #nested .contentSmart > span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
body.menu_open #nested .contentSmart > span:nth-child(2) {
    opacity: 0;
}
body.menu_open #nested .contentSmart > span:nth-child(3) {
    transform: rotate(-45deg);
    top: -7px;
}
#nested ul {
	margin: 0;
}


.menu_flou {
    width: 100%;
    height: 100%;
    background: transparent;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2;
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
    opacity: 0;
    pointer-events: none;
	transition: 0.5s;
}
body.menu_open .menu_flou {
	opacity: 1;
	pointer-events: all;
}
#nested > div:nth-child(2) {
    background: #FFF;
    width: 700px;
    position: fixed;
    right: -200px;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    top: 0;
    height: auto;
    bottom: 0;
    padding: 70px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	transition-timing-function: cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
body.menu_open #nested > div:nth-child(2) {
    pointer-events: initial;
    opacity: 1;
    visibility: visible;
	right: 0;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}








#headerBoxes > a:nth-child(1) {
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0 15px 0 0;
}
#headerBoxes > a:nth-child(1) svg {
    width: auto;
    height: 12px;
    margin: -2px 8px 0 0;
}
#headerBoxes a {
    display: flex;
    align-items: center;
	transition: 0.3s;
}
#headerBoxes a:hover {
	opacity: 0.6;
}

header.scrolled {
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	height: 70px;
}
header.scrolled #logo {
    top: 10px;
}
header.scrolled #logo img {
    height: 50px;
}


#nested li {
	position: relative;
	left: -30px;
	opacity: 0;
}
#nested li a {
    text-decoration: none;
    font-size: 48px;
    display: block;
    line-height: 1;
    padding: 18px 0;
    transition: 0.4s;
}
body.animation_delai #nested li {
	animation: slideFromLeft 0.4s cubic-bezier(.27,.36,.57,.81);
	animation-fill-mode: both;
}


body.animation_delai #nested ul > li:nth-child(2) {
	animation-delay: 0.2s;
}
body.animation_delai #nested ul > li:nth-child(3) {
	animation-delay: 0.35s;
}
body.animation_delai #nested ul > li:nth-child(4) {
	animation-delay: 0.5s;
}
body.animation_delai #nested ul > li:nth-child(5) {
	animation-delay: 0.65s;
}
body.animation_delai #nested ul > li:nth-child(6) {
	animation-delay: 0.8s;
}
body.animation_delai #nested ul > li:nth-child(7) {
	animation-delay: 0.95s;
}
body.animation_delai #nested ul > li:nth-child(8) {
	animation-delay: 1.1s;
}

@keyframes slideFromLeft {
	0% {
		left: -30px;
		opacity: 0;
	}
	100% {
		left: 0;
		opacity: 1;
	}
}


#nested ul.sub-menu a {
    font-size: 24px;
    padding: 8px 0;
}
#nested ul.sub-menu {
    margin: -8px 0 20px 0;
}
#nested ul:hover > li a,
#top .menu ul:hover > li a {
	opacity: 0.35;
}
#nested ul:hover > li a:hover,
#top .menu ul:hover > li a:hover {
	opacity: 1;
}




#top .titre {
    position: absolute;
    top: 0;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#top > a {
    position: absolute;
    bottom: 50px;
    right: 40px;
}



body.home h1 {
	opacity: 0;
}
body.home h1 br {
	display: none;
}
h1 .letter {
	display: inline-block;
	line-height: 1em;
	opacity: 0;
}




#top .menu {
    position: absolute;
    left: 0;
    right: 0;
    max-width: 720px;
    margin: auto;
    bottom: 60px;
}
#top .menu ul {
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
	row-gap: 8px;
}
#top .menu li:before,
#top .menu ul.sub-menu {
	display: none;
}
#top .menu a {
    text-decoration: none;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 5px 20px;
	transition: 0.4s;
}
#top .menu .hidden_on_home {
	display: none;
}


#page #wrapperInner div#text > div.wp-block-query {
    max-width: 1520px; /* valeur fixe pour que les images portrait fassent 640 pixels de haut (ça permet de mettre deux images de 300 de haut + le gap de 40 à côté */
}














@media (max-width: 1300px) {
	h1 {
		font-size: 46px;
		max-width: 900px;
	}
	#nested li a {
		font-size: 36px;
	}
	#nested > div:nth-child(2) {
		width: 550px;
	}
	h2 {
		font-size: 38px;
	}
	#edito h2 {
		max-width: 465px;
	}
	#top .menu,
	#top > a {
		display: none;
	}
	#top .titre {
		bottom: 0;
	}
	h3, #edito h2 + p, h2.h3_like, span.h3_like {
		font-size: 24px;
	}
}
@media (max-width: 1010px) {
	body.home h1 br {
		display: block;
	}
}

@media (max-width: 1000px) {
	body:not(.home) header:not(.scrolled) #logo {
		top: 20px;
	}
	body:not(.home) header:not(.scrolled) #logo img {
		height: 80px;
	}
}

@media (max-width: 650px) {
	header {
		height: 80px;
	}
	#top {
		margin-top: 80px;
		height: calc(100vh - 80px);
		height: calc(100svh - 80px);
	}
	#logo {
		top: 20px;
		left: 6.5vw;
	}
	#logo img {
		height: 112px;
	}
	#headerBoxes > a:nth-child(1) span {
		display: none;
	}
	#headerBoxes > a:nth-child(1) {
		margin: 0;
		height: 24px;
		width: 24px;
		background: #000000;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
	}
	#headerBoxes > a:nth-child(1) svg {
		height: 12px;
		margin: 0;
	}
	#headerBoxes > a:nth-child(1) svg path {
		fill: #FFFFFF;
	}
	#nested > div:nth-child(2) {
		width: 90%;
		padding: 45px;
	}
	#chapterPicture {
		padding-top: 80px;
	}
	#chapterPicture img {
		top: 80px;
		height: calc(100% - 80px);
	}
	body:not(.home) header:not(.scrolled) #logo {
		top: 15px;
	}
	body:not(.home) header:not(.scrolled) #logo img {
		height: 50px;
	}
}







@media (max-width: 500px) {
	body {
		font-size: 16px;
	}
	.widget_breadcrumb {
		font-size: 13px;
	}
	body:not(.home):not(.error404) .title_and_bc {
		padding: 35px 6.5%;
	}
	#nested {
		right: 6.5vw;
		margin-right: -9px;
	}
	#headerBoxes > a:nth-child(1), #headerBoxes > a:not(:first-child) svg {
		width: 20px;
		height: 20px;
	}
	#headerBoxes {
		gap: 15px;
	}
	#headerBoxes {
		right: 6.5vw;
		margin-right: 45px;
	}
	#headerBoxes > a:nth-child(1) svg {
		height: 10px;
	}
	header.scrolled {
		height: 60px;
	}
	header.scrolled #logo img {
		height: 40px;
	}
	#nested li a {
		font-size: 7vw;
	}
	#nested > div:nth-child(2) {
		align-items: flex-start;
		padding: 10vw;
	}
	h1 {
		font-size: 10vw;
	}
	.title_and_bc:before {
		display: none;
	}

}
 






/* 20260402 - suite rajout CTA fixes */
.cta {
    position: fixed;
    right: 0;
    top: 200px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
	transition: 0.4s;
}
.cta a {
    display: flex;
    background: #000000;
    width: 215px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    height: 60px;
    margin-right: -155px;
    transition: 0.45s;
    align-items: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
}
.cta a .ic {
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta a:hover {
    margin-right: 0;
	background: #B5ACA1;
}
body.home .cta:not(.show) {
	opacity: 0;
	right: -20px;
}
@media (max-width: 650px) {
	.cta {
		top: auto;
		bottom: 0;
		flex-direction: row;
		width: 100%;
		gap: 0;
	}
	.cta a {
		margin: 0;
		width: 50%;
		height: 40px;
		font-size: 15px;
		justify-content: center;
	}
	.cta svg {
		width: auto;
		height: 16px;
	}
	.cta a:first-child {
		border-right: 1px solid #FFFFFF;
		box-sizing: border-box;
	}
	.cta a .ic {
		width: auto;
		margin-right: 12px;
	}
	body.home .cta:not(.show) {
		right: 0;
		bottom: -20px;
	}
}