/*
Theme Name: Osmose
Text Domain: https://www.osmose-bien-etre.fr/
Version: 1.1
Description: Thème sur-mesure pour Osmose
Author: Spirale Communication Industrielle
Author URI: https://groupe-spirale.com/

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/**
 * Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */
 * {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
}

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

h1, h2, h3 { font-weight: normal; }

a, button, .btn {
	background-color: transparent;
	text-decoration: none;
	-webkit-transition: all .5s ease 0s;
	-o-transition: all .5s ease 0s;
	transition: all .5s ease 0s;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
	-webkit-transition: all .5s ease 0s;
	-o-transition: all .5s ease 0s;
	transition: all .5s ease 0s;
}

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button,
input[type="week"]::-webkit-inner-spin-button,
input[type="week"]::-webkit-outer-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #d1d1d1;
	margin: 0 0 1.75em;
	min-width: inherit;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}


.nomargint {
	margin-top: 0!important;
}

.nomarginb {
	margin-bottom: 0!important;
}

/**
 * Alignments
 */

.alignleft {
	float: left;
	margin: 0.375em 1.75em 1.75em 0;
}

.alignright {
	float: right;
	margin: 0.375em 0 1.75em 1.75em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1.75em;
}

blockquote.alignleft {
	margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
}

blockquote.alignright {
	margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
}

blockquote.aligncenter {
	margin-bottom: 1.473684211em;
}



/**
 * Captions
 */

.wp-caption {
	margin-bottom: 1.75em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption .wp-caption-text {
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}


/**
 * Galleries
 */

.gallery {
	margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
	display: inline-block;
	max-width: 33.33%;
	padding: 0 1.1400652% 2.2801304%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	color: #686868;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/* Wordpress wp-adminbar not fixed < 600 */
@media screen and (max-width: 600px) {
	body.logged-in #site-header.scrolled {
		margin-top: 0!important;
	}
}

/**
* End Normalize
*/

/*=====================================================
	GENERAL
======================================================*/

:root {
	--black: var(--wp--preset--color--black);
	--white: var(--wp--preset--color--white);
	--lightgray: var(--wp--preset--color--lightgray);
	--darkgray: var(--wp--preset--color--darkgray);
	--gold: var(--wp--preset--color--gold);
	--wp--preset--shadow--natural: 0 0 9px rgba(0,0,0,.2) ;
	--wp--preset--shadow--sharp: 15px 15px 0px rgba(239,239,239,1);
}

#cmplz-document { margin: 50px auto; }

body {
	font-size: 16px;
}

.container {
	max-width: 1080px;
	margin: 0 auto;
}

img { max-width:100%; height:auto; }

/*=====================================================
	HEADER
======================================================*/

#top-header {
	position: relative;
}

#top-header .header-widget { width: 100%; padding-bottom: 5px; padding-top:5px; }

#top-header .wp-block-getwid-icon-box:not(:last-child) { margin-bottom:0; }
#top-header .wp-block-social-link-anchor svg { fill: var(--white); }

#top-header .wp-block-paragraph {
	display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

#header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#header > .container {
	margin-top: 0;
	position: relative;
	padding: 0 0 0;
  border: 0;
  background-color: rgba(255, 255, 255, .65);
  backdrop-filter: blur(10px);
  border-radius: 10px;
}

#header #open-menu {
	display: none;
	width: 45px;
  height: 45px;
  margin-left: 1em;
  border: 0;
  background-color: var(--gold);
}

#header #open-menu svg { margin-top:8px; }
#header #open-menu svg path { fill: var(--white); }

#header .custom-logo-link { padding: 5px 0 5px 20px; }

#header .custom-logo { 
	width: 160px;
  transition: all .5s ease 0s;
  display: block;
}

#header .wp-block-buttons .wp-block-button__link { margin-top:0; }

#header-double-nav div:first-child {
	display: flex;
  justify-content: flex-end;
  gap: 7px;
  color: var(--white);
  align-items: center;
}

#header nav { 
	padding: 0;
  margin-left: auto;
  max-width: none;
  border-radius: 0;
  position: relative;
}

#header nav ul.menu {
	display: flex;
	gap: .3em;
	justify-content: flex-end;
	align-items: center;
}

#header nav ul.menu li {
	list-style-type: none;
}

#header nav ul.menu > li {
	position: relative;
}

#header nav ul.menu > li > a {
  padding: 10px;
  color: var(--darkgray);
  display: block;
  text-align: center;
  line-height: 1;
  position: relative;
  justify-content: center;
  align-items: center;
  display: flex;
}

.sub-arrow {
  font-size: .6em;
  display: inline-block;
  margin-left: 5px;
}

.sub-arrow svg path { fill: var(--gold); }

#header nav ul.menu a:hover {
	opacity: .5;
}


#header nav ul.menu > li > .sub-menu {
	border-top: 1px solid var(--gold);
}

#header nav ul.menu .sub-menu {
	background-color: var(--white);
	pointer-events: none;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: all .5s ease 0s;
  width: 200px;
  padding: 0;
  border-radius: 0 0 7px 7px;
}
#header nav ul.menu .sub-menu .sub-menu {
 	left: 100%;
  min-width: 230px;
  top: -5px;
  font-size: 0.9em;
  line-height: 1.3;
}

#header nav ul.menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#header nav ul.menu .sub-menu li { position: relative; }
#header nav ul.menu .sub-menu li:not(:last-child) { border-bottom: 1px solid var(--lightgray); }
#header nav ul.menu .sub-menu li:last-child { border-radius: 0 0 7px 7px; }


#header nav ul.menu .sub-menu li a {
	display: block;
	padding: 12px 12px;
	color: var(--darkgray);
	font-size: var(--wp--preset--font-size--small);
}

#header nav ul.menu .sub-menu li:first-child a { border-radius: 7px 7px 0 0; }
#header nav ul.menu .sub-menu li:last-child a { border-radius: 0 0 7px 7px; }

#header nav ul.menu .sub-menu li.current_page_item > a {
		color: var(--gold);
}

#header nav ul.menu .sub-menu li a:hover { color: var(--gold); opacity:1; }

#header.scrolled > .container { margin-top:0; }
#header.scrolled .custom-logo { min-width: 100px; margin: 0; }
#header.scrolled #top-header {
	width: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 0;
}

/* HEADER - MEGA MENU (.mega-menu) */

#header nav ul.menu li.mega-menu > .sub-menu {
	display: flex;
	align-items: flex-start;
	width: max-content;
	min-width: 700px;
	max-width: 900px;
	left: 50%;
	margin-left: 0;
	transform: translateX(-50%);
	padding: 25px 30px;
	gap: 30px;
}

#header nav ul.menu li.mega-menu > .sub-menu::before {
	left: 50%;
	transform: translateX(-50%);
}

#header nav ul.menu li.mega-menu > .sub-menu > li {
	flex: 1;
	min-width: 160px;
	background-color: transparent;
}

#header nav ul.menu li.mega-menu > .sub-menu > li:not(:last-child) {
	border-bottom: 0;
	border-right: 1px solid var(--lightgray);
	padding-right: 30px;
}

#header nav ul.menu li.mega-menu > .sub-menu > li > a {
	padding: 0 0 5px;
	margin-bottom: 10px;
	justify-content: flex-start;
	font-weight: bold;
	text-transform: uppercase;
	font-size: .95em;
	color: var(--black);
	border-bottom: 2px solid var(--gold);
}

#header nav ul.menu li.mega-menu > .sub-menu > li > a:hover { opacity: .6; }

#header nav ul.menu li.mega-menu > .sub-menu > li:not(.menu-item-has-children) > a {
	border-bottom: 0;
	font-weight: normal;
	text-transform: none;
}

#header nav ul.menu li.mega-menu .sub-menu .sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	width: 100%;
	min-width: 0;
	margin-left: 0;
	left: auto;
	top: auto;
	border-radius: 0;
	box-shadow: none;
}

#header nav ul.menu li.mega-menu .sub-menu .sub-menu::before { display: none; }

#header nav ul.menu li.mega-menu .sub-menu .sub-menu li { background-color: transparent; }
#header nav ul.menu li.mega-menu .sub-menu .sub-menu li:not(:last-child) { border-bottom: 1px solid var(--lightgray); }

#header nav ul.menu li.mega-menu .sub-menu .sub-menu li a {
	padding: 5px 0;
	color: var(--brown);
}

#header nav ul.menu li.mega-menu .sub-menu .sub-menu li a:hover {
	background-color: transparent;
	color: var(--gold);
	opacity: 1;
}

.float-btn > * {
  position: fixed;
  top: 150px;
  z-index: 55;
  transition: all .5s ease 0s;
  min-width: 200px;
  right: -150px;
}

.float-btn .widget .wp-block-group {
	padding-top: 5px;
	padding-bottom: 5px;
}

.float-btn .widget:hover { 
  right: 0px;
}

.float-btn .widget:last-child {
  top: 200px;
}


/*Mini Search*/

#header #search-button {
	border: 1px solid var(--black);
  color: var(--black);
  width: 35px;
  height: 35px;
  font-size: 1.2em;
  line-height: 35px;
}

#header #search-button:hover { 	background-color: var(--lightblue); }

#header #search-button.active {
	background-color: var(--darkgray);
	color: var(--white);
	box-shadow: 0 0 0 rgba(0,0,0,0) !important;
}

#mini-search {
	position: absolute;
  background-color: var(--white);
  padding: 9px 15px;
  right: 0;
  width: 240;
  opacity: 0;
  top: 50px;
  max-height: 0;
  overflow: hidden;
  transition: all .5s ease 0s;
}

#mini-search.open {
	opacity:10;
  top: 78px;
  max-height: 70px;
}

#mini-search #search-form {width: 100%; }
#mini-search #search-form input { font-size:small; }
#mini-search #search-form .search-submit { 
	font-size: small;
  width: auto;
  height: auto;
  line-height: normal;
  padding: 5px;
  text-transform: uppercase;
  font-weight: bold;
  appearance: none;
  border: 0;
  background-color: var(--darkgray);
  color: var(--white);
}


/*MOBILE MENU*/

/*  Overlay  */

.mobile-menu-overlay {
	position:fixed;
	inset:0;
	background:rgba(0,0,0,.45);
	opacity:0;
	visibility:hidden;
	transition:opacity .3s ease;
	z-index:9998;
}
.mobile-menu-overlay.mmp-open { opacity:1; visibility:visible; }

/* Panneau */

.mobile-menu-panel{
	position:fixed;
	top:0;
	right:0px;
	width:85%;
	max-width:380px;
	height:100%;
	background:#fff;
	transform:translateX(100%);
	transition:transform .35s ease;
	box-shadow: 12px 0 24px rgba(0,0,0,.15);
	z-index:9999;
	overflow:hidden;
}
.mobile-menu-panel.mmp-open{ transform:translateX(0); }

.mobile-menu-close{
	position:absolute; top:14px; right:16px;
	background:none; border:none;
	font-size:26px; line-height:1; color:#333;
	cursor:pointer; z-index:2;
}

/* Piste horizontale contenant tous les niveaux, glisse latéralement */
.mmp-track{
	display:flex; height:100%;
	transition:transform .35s ease;
}

/* Chaque niveau (racine ou sous-menu) occupe toute la largeur du panneau */
.mmp-level{
	flex:0 0 100%; max-width:100%;
	height:100%; overflow-y:auto;
	padding:60px 24px 24px;
}

.mmp-level-header { margin-bottom:12px; }

.mmp-back {
	display:flex;
	align-items:center;
	gap:6px;
	background:none;
	border:none;
	ursor: pointer;
  color: var(--gold);
  font-size: 14px;
  border: 1px solid;
  opacity: .5;
  margin-bottom: 20px;
}

.mmp-level-title { font-size:var(--wp--preset--font-size--large); font-weight:700; color:var(--gold); margin:0 0 8px; }

.mmp-list { list-style:none; margin:0; padding:0; }
.mmp-item { border-bottom:1px solid #eee; }
.mmp-link {
	display:flex; 
	align-items:center; 
	justify-content:space-between;
	width:100%; 
	padding:16px 0;
	background:none; 
	border:none;
	font-family:inherit; 
	font-size:17px; 
	color:var(--black);
	text-align:left; 
	text-decoration:none; 
	cursor:pointer;
}
.mmp-arrow{ color:var(--gold); font-size:13px; }

html.mmp-no-scroll{ overflow:hidden; }


/*=====================================================
	Front Page
======================================================*/

#site-main { min-height: 60vh; }

.wp-block-getwid-section:not(.getwid-section-content-full-width) .wp-block-getwid-section__inner-wrapper { max-width: 1080px; }

.page-content .wp-block-getwid-section + .wp-block-getwid-section { margin-top: 0; margin-bottom: 0em; }

.getwid-background-video-controls { opacity:0; }

.small-boxicon .wp-block-getwid-image-box__image-container .wp-block-getwid-image-box__image-wrapper img { max-width: 90px; }

/*=====================================================
	PAGES
======================================================*/

/*Heading*/
#site-heading { 
	padding: 0;
	position:relative;
  background: var(--lightgray) url('') no-repeat scroll center bottom / cover;
  position: relative;
  padding: 20px 0;
  overflow: hidden;
  color: var(--darkgray);
  padding-top: 150px;
}

#site-heading .container {
	position: relative;
	z-index: 10;
	height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#heading-content h1, #heading-content .h1 { color: var(--wp--preset--color--gold); font-size: var(--wp--preset--font-size--x-large); }
#breadcrumbs, .breadcrumbs { margin-top: 0; padding: 0 0 !important; font-size: .68em; }
#breadcrumbs a, .breadcrumbs a { font-weight:bold;  }
#breadcrumbs i.fa-chevron-right, .breadcrumbs i.fa-chevron-right {
  text-align: center;
  margin: 0 10px;
  font-size: 0.8em;
}
#breadcrumbs a, #breadcrumbs span { color: var(--lightblue); font-family: var(--wp--preset--font-family--mono); }
#breadcrumbs i { color: var(--white); opacity: .5; margin: 0 5px; }

#heading-content #sub-pages { margin-top:15px; }
#heading-content #sub-pages ul {
	display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style-type: none;
  font-size: 0.8em;
  justify-content: center;
}

#heading-content #sub-pages ul li a {
	display: block;
	padding: 5px 10px;
	color: var(--gold);
	border: 1px solid var(--gold);
	background-color: var(--white);
}

#heading-content #sub-pages ul li.current a {
	background-color: var(--gold);
	color: var(--white);
}


#page { width: 100%; }

/*tabs*/
.page-content .wp-block-getwid-tabs__nav-links { margin-left:0; border: 1px solid var(--white); flex-wrap: nowrap; }
.page-content .wp-block-getwid-tabs__nav-link { width: 100%; width:calc(100% / 3); border-color: transparent #fff transparent #fff; margin: 0; }
.page-content .wp-block-getwid-tabs__nav-link.ui-tabs-active { background: var(--white); }
.page-content .wp-block-getwid-tabs__nav-link a {
  display: flex;
  text-align: center;
  display: block;
  border-radius: 0;
  padding: 1em .75em !important;
  color: var(--white);
}
.ui-tabs-active.wp-block-getwid-tabs__nav-link a { color: var(--gold); }
.page-content .ui-tabs-active.wp-block-getwid-tabs__nav-link a { color: var(--gold); background-color: transparent; }
.wp-block-getwid-tabs__tab-content { padding: 0; border: 1px solid var(--white); border-radius: 0; }

.wp-block-buttons .wp-block-button__link.has-white-background-color:hover { background-color: var(--gold) !important; color: var(--white) !important; }
.wp-block-buttons .wp-block-button__link.has-gold-background-color:hover { background-color: var(--white) !important; color: var(--gold) !important; }

.wp-block-buttons .wp-block-button__link { position:relative; }
.wp-block-button__link.wp-element-button:has(img) { 
	display: flex;
	gap: 5px;
}

.wp-block-button__link.wp-element-button:has(img):hover { background-color: var(--gold) !important; color: var(--white) !important; } 
.wp-block-button__link.wp-element-button:has(img):hover img { filter: grayscale(10) contrast(50); } 


.has-layout-vertical-left .ui-tabs-active.wp-block-getwid-tabs__nav-link a::after { margin-left: 10px; }

.wp-block-column:has(a.wp-block-getwid-image-box__image-wrapper) { position: relative; cursor: pointer; }
.wp-block-column:has(a.wp-block-getwid-image-box__image-wrapper)::after { 
	content: "";
  display: inline-block;
  border-radius: 100%;
  width: 25px;
  height: 15px;
  text-align: center;
  margin-left: 10px;
  background-image: url('assets/images/circle-arrow.svg');
  transition: all .5s ease 0s;
  position: absolute;
  right: 20px;
  filter: brightness(100);
  bottom: 10px;
}

.wp-block-button.is-style-witharrow *::after {
	background: transparent url("assets/images/circle-arrow-white.svg") scroll no-repeat center center / contain;
}

.wp-block-button.is-style-small *::after {
	background: transparent url("assets/images/circle-arrow.svg") scroll no-repeat center center / contain;
}

.wp-block-group .wp-block-getwid-counter { flex: 0 0 auto; }
.wp-block-group:not(.is-vertical) .wp-block-paragraph {  flex: 1 1 auto; }

.wp-block-getwid-counter__wrapper {
  display: flex;
  justify-content: center;
}

.wp-block-getwid-counter__number {
	font-size: 2.5em;
  font-weight: bold;
  font-family: var(--wp--preset--font-family--mono);
}

.wp-block-getwid-counter__suffix {
	padding-top: 0;
  font-size: 2.5em;
  font-weight: bold;
}

.page-content .container { padding: 4em 0; }
#page .container:has(.wp-block-getwid-section:first-child) { padding-top: 0; }
#page .container:has(.wp-block-getwid-section:last-child) { padding-bottom: 0; }

.page-content p a { font-weight:bold; text-decoration: underline; }

.page-content p a[href$="pdf"]:not(.wp-block-button__link) { font-weight: normal; }
.page-content p a[href$="pdf"]:not(.wp-block-button__link)::after {
  content: "\f019";
  font-weight: bold;
  background-color: var(--lightblue);
  margin-left: 8px;
  color: var(--gold);
  padding: 2px;
  border-radius: 15px;
  width: 40px;
  display: inline-block;
  text-align: center;
  font-family: "Font Awesome 6 Free";
  font-size: .8em;
}

.page-content p a[href*="youtube"]:not(.wp-block-button__link),
.page-content p a[href$="mp4"]:not(.wp-block-button__link) { font-weight: normal; }
.page-content p a[href*="youtube"]:not(.wp-block-button__link)::before,
.page-content p a[href$="mp4"]:not(.wp-block-button__link)::before {
  content: "\f03d";
  font-weight: bold;
  background-color: var(--brown);
  margin-right: 8px;
  color: var(--white);
  padding: 2px;
  border-radius: 15px;
  width: 40px;
  display: inline-block;
  text-align: center;
  font-family: "Font Awesome 6 Free";
  font-size: .8em;
}

.page-content li:not([class]) a { font-weight:bold; text-decoration: underline; }

.page-content h1:not(:last-child) { margin-bottom:.5em; }
.page-content h2:not(:last-child) { margin-bottom:.5em; }
.page-content h3:not(:last-child) { margin-bottom:1em; }
.page-content h4:not(:last-child) { margin-bottom:1em; }
.page-content h5:not(:last-child) { margin-bottom:1em; }

.page-content h1:not(:first-child) { margin-top:1em; }
.page-content h2:not(:first-child) { margin-top:1em; }
.page-content h3:not(:first-child) { margin-top:1em; }
.page-content h4:not(:first-child) { margin-top:1em; }
.page-content h5:not(:first-child) { margin-top:1em; }

.page-content iframe { display:block; }

.page-content hr.is-style-losanges {
	width: 160px;
  height: 52px;
  border: 0;
  margin-left : auto;
  margin-right : auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
	background-image: url("assets/images/losanges.svg");
}

.wp-block-heading.is-style-deco::after {
    background-image: url("assets/images/deco.svg");
}

.wp-block-getwid-section .slick-next, .wp-block-getwid-section .slick-prev {
	top: auto;
	bottom: -50px;
}
.slick-next::before, .slick-prev::before {
	font-family: "Font Awesome 5 Free";
  font-weight: bold;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 5px;
  border-radius: 5px;
}

.wp-block-getwid-section .slick-prev { right: 60px; left: auto; }
.wp-block-getwid-section .slick-next { right:23px; }
.slick-prev::before {content: "\f060"; }
.slick-next::before {content: "\f061"; }


/*Modele produits*/
.is-style-product {

	overflow: hidden;
	
	& > .wp-block-media-text__content { padding: 30px;}

	table { margin-bottom:20px; }

	table thead  { border-bottom: 1px solid var(--lightgray); }
	table thead th {
		text-transform: uppercase;
		color: var(--gold);
		padding: 0 10px; 
		font-size: var(--wp--preset--font-size--small);
	}
	table thead th:last-child { padding: 0 2.15rem 0 0; }

	table tbody tr { border-bottom: 1px solid var(--lightgray); }
	table tr td { padding: 5px 10px; }
	table tr td:first-child { max-width: 250px; }

	table tr td:last-child a {
		display: inline-block;
		text-transform: uppercase;
		font-size: var(--wp--preset--font-size--small);
		background-color: var(--white);
		color: var(--gold);
		border: 1px solid var(--gold);
		padding: 0.4rem 1.4rem;
		border-radius: 5px;
	}

	table tr td:last-child a:hover {
		background-color: var(--gold);
		color: var(--white);
	}

	.wp-block-group { padding: 5px 10px !important; }
	.wp-block-group .wp-block-button__link { margin-top:0 !important; }

	.wp-block-button__link.wp-element-button:has(img) { 
		display: flex;
		gap: 5px;
		padding: 7.3px 10px;
	  width: 110px;
	  justify-content: center;
	}

} 


figure.wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /*16:9*/
}

figure.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wp-block-getwid-images-slider.captions-style-light .wp-block-getwid-images-slider__item figcaption {
	background: linear-gradient(0deg,hsla(0, 0%, 100%, 0.88),hsla(0,0%,100%,.6) 70%,transparent);
}

.page-content .wp-block-getwid-section {
  width: 100vw;
  margin: 2.5em 0 0;
  margin-left: calc(-1 * ((100vw - 1080px) / 2));
}

.page-content .wp-block-getwid-section:first-child { margin-top:0; }
.page-content .wp-block-getwid-section:last-child { margin-bottom:0; }

.page-content ul, .page-content ol { margin-left: 2em; }

.page-content ul li:not([class]) { 
	position: relative;
	margin-bottom: .5em;
	list-style-type: none;
}
.page-content ul:not(.is-style-valideliste):not(.is-style-coolol) li:not([class]):not([role])::before {
  content: "";
	width: 6px;
  height: 6px;
  background-color: var(--gold);
  display: block;
  position: absolute;
  top: 8px;
  left: -20px;
}

.page-content ul.is-style-valideliste li::before { content: "\f00c" !important; }

.page-content .has-background:not(.wp-block-getwid-section__background):not(.wp-block-getwid-icon__wrapper):not(.wp-block-getwid-content-timeline__bar):not(.wp-block-getwid-icon-box__icon-wrapper):not(.wp-block-media-text):not(.wp-block-getwid-progress-bar__bar):not(.wp-block-button__link):not(:has(.wp-block-cover)):not(.is-style-dashed) {
  padding: 2em 2.5em;
  border-radius: 10px;
}
.page-content .wp-block-column.has-background:has(.wp-block-cover) {border-radius: 10px; }

.page-content .wp-block-cover.right-glue {
	width: calc((100% - 8px) + ((100vw - 1080px) / 2));
  padding-right: calc((100vw - 1080px) / 2);
}
.page-content .wp-block-cover.right-glue .wp-block-cover__inner-container {
	max-width: calc(1080px / 2);
  margin-right: auto;
}

.page-content .wp-block-separator {padding: 0 !important; }
.page-content .wp-block-separator.is-style-default { max-width: 200px; margin: 3em  auto; }

.page-content article p:not(:last-child) { margin-bottom: 1em; }

.page-content .wp-block-columns:not(:last-child) { margin-block-end: 3em; }
.page-content .wp-block-columns:not(:first-child) { margin-block-start: 3em; }
.page-content .wp-block-columns .wp-block-columns:not(:first-child) { margin-block-start: 0em; }

.page-content .wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:first-child { border-width: 0 0 1px 0; }
.page-content .wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper { border-width: 0 0 1px 0; border-bottom: 1px solid var(--lightgray); background-color: transparent; color: var(--darkgray); }
.page-content .wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper.ui-accordion-header-active { border-color: var(--gold); color: var(--gold); }
.page-content .wp-block-getwid-accordion:not(:last-child), .wp-block-getwid-icon-box:not(:last-child) { margin-bottom: 1.5em; }
.page-content .wp-block-getwid-content-timeline-item__content-wrapper .wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper { margin-top: 1.5em; }
.page-content .wp-block-getwid-accordion__content-wrapper { margin-bottom:10px; }
.page-content .wp-block-getwid-accordion .wp-block-getwid-accordion__content { border: 0; }
.page-content .wp-block-getwid-accordion__icon { color: var(--gold); }

.page-content article .wp-block-group.is-layout-flex > * { margin-bottom:0; margin-top:0; }

/*tabs*/
.page-content .wp-block-tab-list { border-bottom: 1px solid var(--lightgray); }
.page-content .wp-block-tab-list button { padding: var(--wp--preset--spacing--20,.5em) var(--wp--preset--spacing--30,1em); }
:where(.wp-block-tab-list button)[aria-selected="true"] { color: var(--gold) }
:where(.wp-block-tab-list button)[aria-selected="true"]::before { border-color: var(--gold) }
.page-content .wp-block-tab-list button:hover { color: var(--gold) }


.wp-block-getwid-progress-bar__title { font-size: .9em; max-width: calc(100% - 40px); }
.wp-block-getwid-progress-bar__percent { font-weight: bold; }

.wpcf7 input::placeholder { color: var(--black); }

.wpcf7 .wpcf7-form-control:not(.wpcf7-acceptance):not(.wpcf7-submit):not(:has(input[type="radio"])) {
	color: var(--darkgray);
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid var(--gold);
  margin-bottom: 0px;
  width: 100%;
  background-color: var(--white);
}

.wpcf7 .form-col-100 { 
	margin-bottom:1em;
	margin-top:1em;
	display:flex;
	align-items:center;
	justify-content: space-between;
}
.page-content .wpcf7 .form-col-100 p { margin-bottom:0; }
.wpcf7 .form-col { display: flex; gap: 1em; }
.wpcf7 .form-col > * { width: calc(50% - .5em); }

.wpcf7 div[class^="form-col"] p > label {
  margin-left: 0;
  font-weight: bold;
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wpcf7 .wpcf7-form-control.wpcf7-textarea { max-height: 183px; margin-bottom: 5px; }

.wpcf7 .wpcf7-form-control:not(.wpcf7-acceptance):not(.wpcf7-submit):focus { 
	border-color: var(--black);
	color: var(--black);
}

.wpcf7-form-control-wrap[data-name="acceptance"] {
	margin: 9px 0;
  display: block;
}

.wpcf7 .wpcf7-form-control.wpcf7-submit {
	padding: 10px 25px;
  color: var(--white);
  font-weight: bold;
  background-color: var(--gold);
  border-radius: 5px;
  border: 0;
  text-transform: uppercase;
  width: 100%;
}

.wpcf7 .wpcf7-form-control.wpcf7-submit:hover {
	background-color: var(--white);
	color: var(--gold);
}

.has-blue-color .wpcf7 .wpcf7-form-control:not(.wpcf7-acceptance):not(.wpcf7-submit):not(:has(input[type="radio"])) {
  border: 1px solid var(--gold);
	color: var(--gold);
}
.has-blue-color .wpcf7 .wpcf7-form-control.wpcf7-textarea { max-height:100px; }
.has-blue-color .wpcf7 .form-col-100 { margin-bottom: .5em;  margin-top: .5em; }
.has-blue-color .wpcf7 .form-col-100 p { width: 100%; }


/*Form 3 columns*/
.col-3-form { 
	display: flex;
	gap: 10px;

	.form-col { flex-direction: column; }
	.form-col > * { width: 100%; }
	textarea.wpcf7-form-control { max-height: 120px !important; }

}


/* PAGINATION */

#pagination {
	width: 100%;
  	margin: 2.5em 0;
}

#pagination ul {
	display: flex;
	justify-content: center;
	margin: 0;
}

#pagination ul li { list-style-type: none; margin: 0 8px;}
#pagination a, #pagination span { height: 35px; line-height: 30px; font-size: .9; font-weight: bold; color: var(--black); border-radius:50px; text-align:center; padding:2px 5px; display:block; min-width: 30px}
#pagination .prev, #pagination .next { display:flex; align-items:center; }
#pagination .prev i { margin-right:5px; }
#pagination .next i { margin-left:5px; }

#pagination a:not(.next):not(.prev), #pagination span:not(.next):not(.prev) {
	width: 35px;
}

#pagination a:hover { background-color: var(--lightblue); }
#pagination span.current { color: var(--white); background-color: var(--gold); }


/*=====================================================
	Realisations
======================================================*/

.realisations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.one-realisation {
  width: calc((100% - 3em) / 4);
}

.one-realisation a { display: block; text-decoration: none; }
.one-realisation figure {
    position: relative;
    margin: 0;
    overflow: hidden;
}
.one-realisation figure img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}
.realisation-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease;
}
.one-realisation a:hover img,
.one-realisation a:focus-visible img { transform: scale(1.06); }
.one-realisation a:hover .realisation-hover,
.one-realisation a:focus-visible .realisation-hover { opacity: 1; }

.realisation-title {
  margin: -30px 0 0;
  text-align: center;
  color: var(--darkgray);
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
}

/*=====================================================
	Home
======================================================*/

#home { position:relative; z-index:10; }

#filter { margin-top: 1em; width: 100%; }

#filter ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  gap: .8em;
  flex-wrap: wrap;
}

#filter ul li a {
	color: var(--darkgray);
  padding: 5px 15px;
  font-size: small;
  font-weight: bold;
  border: 1px solid;
  border-radius: 5px;
}

#filter ul li a:hover {
	color: var(--gold);
}

#home .container {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	padding: 2em 0 0;
	gap: 1em;
	justify-content: flex-start;
}

#home article {
	width: calc((100% - 2em) / 3);
	min-height: 330px;
	position: relative;
}

#home article a {
	background-color: var(--lightgray);
  color: var(--darkgray);
  border-radius: 0px;
  overflow: hidden;
  position: relative;
  font-size: .9em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#home article a:hover {
	background-color: var(--white);
}

#home article .one-news-content { height:100%; position:relative; }

.one-news figure {
  display: flex;
  height: 200px;
  overflow: hidden;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin: 0;
  transition: all .5s ease 0s;
}

.one-news figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#home .news-text {
	padding: 20px 30px 20px;
}

#home .with-thum .news-text {
	height: calc(100% - 200px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#home .news-meta {
	display: flex;
  justify-content: space-between;
  font-family: var(--wp--preset--font-family--mono);
  margin-bottom: 10px;
}

#home .news-meta .news-cat {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	text-transform: uppercase;
	font-size: .8em;
	color: var(--gold);
	font-weight: bold;
}

#home .news-text time {
  margin-bottom: 5px;
  display: block;
  font-size: var(--wp--preset--font-size--small);
}

#home .news-text .news-title {
  margin-bottom: 10px;
  line-height: 1.2;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--darkgray);
  font-size: 1.1rem;
}

#home .news-text .news-title:last-child {
	margin-bottom: 0;
}

#home a.no-thum .news-text {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

#home a button {
	display: flex;
  align-items: center;
  justify-content: flex-end;
  border: 0;
  line-height: 35px;
  border-radius: 100%;
  text-align: right;
  color: var(--gold);
  gap: 5px;
  width: 100%;
  padding: 0;
}

#home a button svg {
	height: 15px;
	width: 15px;
}


/*=====================================================
	Single
======================================================*/


#page.single-content {
  max-width: 900px;
  margin: 0 auto;
}

#page.single-content .wp-block-getwid-section { margin-left: calc(-1 * ((100vw - 900px) / 2)); }

#single-header { margin-bottom:2em; }
#page .container #single-header h1 { 
	margin-bottom: 0;
	line-height: 1;
	font-weight: bold;
	color: var(--darkgray);
	text-align: center;
}

.single-meta {
	display: flex;
  gap: 2em;
	color: var(--darkgray);
  padding: 5px 15px;
  font-size: .8em;
  justify-content: center;
  margin-top: .5em;
  font-family: var(--wp--preset--font-family--mono);
  background-color: var(--lightgray);
}

.single-meta i {
	margin-right: 5px;
	color: var(--gold);
}

#more-single { padding-top:2em }

#more-single .container > p {
	font-size: var(--wp--preset--font-size--x-large);
	font-family: var(--wp--preset--font-family--heading);
	text-align: center;
}

/*=====================================================
	FOOTER
======================================================*/

footer {
	background-color: var(--darkgray);
	font-size: .8em;
	color: var(--white);
}

footer img { border-style: solid; }

footer #footer-content { padding:4em 0em 2em; position: relative; }

footer .widget_nav_menu .menu {
  margin-left: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .widget_nav_menu .menu a { display: block; color: var(--lightblue); }
footer .widget_nav_menu .menu a:hover { opacity: .7; }

footer .widget_nav_menu .menu .media-link { margin-left: 40px; }

footer .wp-block-social-link-anchor {
  padding: 5px;
}

footer .wp-block-social-link a {
	border: 1px solid var(--gold) !important;
  border-radius: 5px;
}

#credits {
	font-size: .8em;
  text-align: center;
  padding: 1em 0;
  color: var(--lightblue);
	border-top: 1px solid rgba(255,255,255,.2);
	font-family: var(--wp--preset--font-family--mono);
}

#credits .container {
	display: flex;
	padding: 20px 0;
	justify-content: space-between;
	align-items: center;
}

#credits a { color: var(--lightblue); opacity:.8; }
#credits a:hover { text-decoration:underline; }


/****************************
 * RESPONSIVE
 * **************************/


@media screen and (max-width: 1080px) {

/*	header*/
	#header > .container { margin-top:0; border-radius:0; }
	#header .container, #credits .container,
	.wp-block-getwid-section:not(.getwid-section-content-full-width) .wp-block-getwid-section__inner-wrapper { padding: 0 15px; }
	.page-content .wp-block-getwid-section { margin-left:-15px; }

/*home*/
	#home .container { padding-left: 15px; padding-right: 15px; }

/*single*/
	#page.single-content .wp-block-getwid-section { margin-left: calc(-1 * ((100vw - 860px) / 2)); }

/*footer*/
	footer #footer-content, .page-content .container { padding-left: 15px; padding-right: 15px; }
	.page-content.single-content .container { padding-left: 30px; padding-right: 30px; }

}

@media screen and (max-width: 1024px) {

/*general*/
	:root {
		--wp--preset--font-size--xx-large : 2.5em;
		--wp--preset--font-size--x-large : 1.8em;
		--wp--preset--font-size--large : 1.3em;
	}

	body { font-size: 15px; }
	.wpcf7-form .col-50 { width: calc(50% - .5em); }

/*header*/
	#header #open-menu { display: block; }
	#header #site-nav-wrapper { display:none; } 

	#mini-search.open { top: 70px; }

/*heading*/
	#site-heading .container { text-align:center; }

/*	home*/
	#home article { width: calc((100% / 3) - 1em); }

}

@media screen and (max-width: 781px) {

	.wpcf7 .form-col { flex-wrap: wrap; }
	.wpcf7 .form-col > * { width: 100%; }

	.col-3-form { flex-wrap: wrap; }
	.col-3-form .form-col { width:100%; }
	.col-3-form .form-col:first-child,
	.col-3-form .form-col:nth-child(2) { width: calc(50% - 10px); }

/*home*/
	#home article { width: calc((100% - 1em) / 2); }

/*reassurance*/
	#reassurances .wp-block-column { border-left: 0; border-right: 0; }

/*Footer*/

	footer .footer-widget .wp-block-columns { justify-content: center; text-align: center; }
	footer .widget.widget_nav_menu { margin-block-start: 4px; margin-block-end: 14px; }
	footer .widget_nav_menu .menu { flex-direction: row; justify-content: center; flex-wrap: wrap; }
	footer .wp-block-group.is-vertical { align-items: center; }
	footer .wp-block-buttons { justify-content:center; }
	footer .wp-block-social-links { justify-content:center; }

}

@media screen and (max-width: 550px) {

	/*general*/
	:root {
		--wp--preset--font-size--xx-large : 2em;
		--wp--preset--font-size--x-large : 1.6em;
		--wp--preset--font-size--large : 1.4em;

	}
	body { font-size: 14px; }
	
	.page-content .has-background:not(.wp-block-getwid-banner__wrapper):not(.wp-block-getwid-section__background):not(.wp-block-getwid-icon__wrapper):not(.wp-block-getwid-content-timeline__bar):not(.wp-block-getwid-icon-box__icon-wrapper):not(.wp-block-media-text):not(.wp-block-getwid-progress-bar__bar):not(.wp-block-button__link):not(:has(.wp-block-cover)) { padding: 1em 1.5em; }
	.wp-block-getwid-accordion .wp-block-getwid-icon-box.has-icon-left { flex-direction: column; }
	.getwid-padding-right-large { padding-right: 15px; }
	.getwid-padding-left-large { padding-left: 15px; }

	.wpcf7-form .col-50 { width: 100%; }
	.col-3-form .form-col:first-child,
	.col-3-form .form-col:nth-child(2) { width: 100%; }

/*	header*/
	#header .logo { max-width: 180px; }

	#header.scrolled #top-header {
	  position: fixed;
    z-index: 10000;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, .65);
    backdrop-filter: blur(10px);
    display: block;
    opacity: 1;
    visibility: visible;
    overflow: visible;
	}

	#header.scrolled .wp-block-buttons.is-content-justification-right {
	  justify-content: center;
	}


	/*front*/
	.section-gradient .wp-block-getwid-section__foreground { background-image: linear-gradient(90deg,rgba(1, 52, 115, 1) 0%, rgba(1, 52, 115, .5) 100%) !important; }

	/*produit*/
	.is-style-product .wp-block-getwid-table.has-table-layout-fixed table { table-layout: auto;}
	.is-style-product table tr td:last-child a { padding: 0.4rem; font-size: 0.8em; }
	.is-style-product .wp-block-group { flex-wrap: wrap; justify-content: center; text-align: center; gap: 5px; }

}

@media screen and (max-width: 465px) {

	#top-header .wp-block-paragraph a:not(:has(img)) { display:none; }

	#header .custom-logo { width: 130px; }
	#header .wp-block-button__link { padding-right: .9em; padding-left: .9em; }
	#header #open-menu { margin-left: 0; }

	#mini-search.open { top: 59px; }


	/*home*/
	#home article, #home.home-2-news article { width: 100%; }

	/*realisations*/
	.one-realisation {width: 100%;}

}
