/*!
Theme Name: U Mulinu Santa Giulia
Theme URI: https://umulinu-santagiulia.fr
Author: Marc-Aurele Geffroy
Author URI: https://marcaurelegeffroy.fr
Description: Theme sur mesure du site de location de la Villa U Mulinu a Santa Giulia
Version: 1.0
Text Domain: umulinusantagiulia
Domain Path: /languages
Tags: custom
*/

/* @import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap'); */

/* @font-face {
    font-family: 'Beautifully Delicious Script';
    src: url('assets/fonts/Beautifully-delicious-script-Regular.woff2') format('woff2'),
        url('assets/fonts/Beautifully-delicious-script-Regular.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
} */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital@0;1&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
	--beige: #F5F3EE;
	--vert: #55692D;
	--pad: clamp(2rem, 5vw, 10rem);
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scrollbar-color: var(--vert) transparent;
}

main {
	display: block;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

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

small {
	font-size: 80%;
}

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
	vertical-align: bottom;
}
svg {
	vertical-align: bottom;
}
video {
	width: 100%;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--vert);
	font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: clamp(1rem, calc(1vw + 1rem), 1.25rem);
	font-weight: 300;
	line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

body {
	margin: 0;
	background: var(--beige);
	overflow-x: hidden;
}
body.menu-is-open {
	overflow-y: hidden;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
}
ul:last-child {
	margin-bottom: 0;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}


a {
	color: inherit;
	text-decoration: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*** LET'S CSS !!! ***/
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background-color: var(--vert);
  color: var(--beige);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#main-logo {
width: 50vw;
  z-index: 10000;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#main-logo svg,
.footer-logo svg {
	display: block;
	width: 100%;
    height: auto;
}

h1, .h1,
h2, .h2,
h3, .h3 {
	font-family: 'Instrument Serif', 'Cardo', serif;
	margin-top: 0;
}

h1, .h1 {
	font-family: 'Instrument Serif', 'Cardo', serif;
	font-size: clamp(1.75rem, calc(1rem + 6vw), 6rem);
	font-weight: normal;
	line-height: 1.2;
	margin-bottom: 1em;
}
h2, .h2 {
	font-size: clamp(1.5rem, calc(1.25rem + 2.5vw), 3.5rem);
	font-weight: normal;
	line-height: 1.2;
	margin-bottom: 1em;
}
h3, .h3 {
	font-size: clamp(1.25rem, calc(1rem + 1.25vw), 2.5rem);
	font-weight: normal;
	line-height: 1.2;
	margin-bottom: 1em;
}

p, .p {
	font-size: clamp(1rem, calc(1vw + 0.5rem), 1.25rem);
	font-weight: 300;
	line-height: 1.5;
	margin-top: 0;
	margin-bottom: 2em;
}
.font-xs,
.smartcrawl-breadcrumbs {
	font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-family: inherit;
    font-weight: 300;
}

h1:last-child, .h1:last-child,
h2:last-child, .h2:last-child,
h3:last-child, .h3:last-child,
p:last-child {
	margin-bottom: 0;
}

.italic {
	font-style: italic;
}

.center {
	text-align: center;
}

.global-wrapper {
	max-width: 1800px;
    margin-inline: auto;
}
.padxm {
	padding-left: var(--pad);
	padding-right: var(--pad);
}
.padym {
	padding-top: var(--pad);
	padding-bottom: var(--pad);
}
.padxs {
	padding-left: calc(var(--pad)/2);
	padding-right: calc(var(--pad)/2);
}
.padys {
	padding-top: calc(var(--pad)/2);
	padding-bottom: calc(var(--pad)/2);
}
.flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.halfgap {
	gap: calc(var(--pad)/2);
}
.flexwrap {
	flex-wrap: wrap;
}
.grid {
	display: grid;
	gap: 1rem;
}
.grid-2 {
	grid-template-columns: 1fr;
}
.grid-3 {
	grid-template-columns: 1fr;
}





.grid-system {
    display: grid;
	gap: var(--pad);
    min-width: 0;
}
/*** SMALL (mobile) ***/
@media (max-width: 767px) {
	.grid-system { grid-template-columns: repeat(4, 1fr); }
	.s-col-4 { grid-column-end: span 4; }
	.s-col-3 { grid-column-end: span 3; }
	.s-col-2 { grid-column-end: span 2; }
	.s-start-2 { grid-column-start: 2; }
	.s-start-3 { grid-column-start: 3; }
}
/*** MEDIUM (tablette) ***/
@media (min-width: 768px) {
	.grid-system { grid-template-columns: repeat(8, 1fr); }
	.m-col-8 { grid-column-end: span 8; }
	.m-col-6 { grid-column-end: span 6; }
	.m-col-4 { grid-column-end: span 4; }
	.m-start-1 { grid-column-start: 1; }
	.m-start-2 { grid-column-start: 2; }

}
/*** LARGE (laptop) ***/
@media (min-width: 1025px) {
	.grid-system { grid-template-columns: repeat(12, 1fr); }
	.l-col-12 { grid-column-end: span 12; }
	.l-col-10 { grid-column-end: span 10; }
	.l-col-8 { grid-column-end: span 8; }
	.l-col-6 { grid-column-end: span 6; }
	.l-col-4 { grid-column-end: span 4; }
	.l-col-3 { grid-column-end: span 3; }
	.l-start-2 { grid-column-start: 2; }
	.l-start-3 { grid-column-start: 3; }
	.l-start-4 { grid-column-start: 4; }
	.l-start-5 { grid-column-start: 5; }
	.l-start-7 { grid-column-start: 7; }
}
.nogap {
	gap: 0;
}







.sep {
	height: 2em;
}

.alignBottom {
	align-items: flex-end
}

.negative {
	background: var(--vert);
	color: var(--beige);
}

.imgCover {
	object-fit: cover;
	object-position: 50%;
	width: 100%;
	height: 100%;
}
.radius {
	border-radius: 25px;
	overflow: hidden;
}
.shadow {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}
.btn,
.wp-block-button__link {
	display: inline-block;
	background: color-mix(in srgb, var(--vert), transparent 50%);
	color: var(--beige);
	line-height: 1;
	text-align: center;
	padding: 1em 3em;
	margin-bottom: 2em;
	letter-spacing: .05em;
	border-radius: 9999px;
	transition: all .2s ease-in-out;
}
.btn:last-child {
	margin-bottom: 0;
}
.btn:hover,
.wp-block-button__link:hover {
	background: color-mix(in srgb, var(--vert), transparent 0%);
}
.negative .btn {
	background: color-mix(in srgb, var(--beige), transparent 100%);
	border: 1px solid var(--beige);
	color: var(--beige);
}
.negative .btn:hover {
	background: color-mix(in srgb, var(--beige), transparent 0%);
	color: var(--vert);
}

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.arrow::after {
	content: "";
	width: 1.2em;
	height: 1.2em;
	background-color: currentColor;

	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-arrow-narrow-right"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M5 12l14 0" /><path d="M15 16l4 -4" /><path d="M15 8l4 4" /></svg>');
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-arrow-narrow-right"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M5 12l14 0" /><path d="M15 16l4 -4" /><path d="M15 8l4 4" /></svg>');
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;

	transition: transform 0.3s ease-in-out;
}
.arrow:hover::after {
	transform: translateX(5px);
}

.card {
	position: relative;
	display: flex;
	overflow: hidden;
	min-height: 25vh;
}
.card-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.card-text {
	position: relative;
}
.card-room {
	height: 460px;
	align-items: flex-end;
}
.card-service {
	align-items: flex-end;
}
.card-room .card-bg, 
.card-blog .card-bg,
.card-service .card-bg {
	transition: transform .8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card-room:hover .card-bg,
.card-blog:hover .card-bg,
.card-service:hover .card-bg  {
	transform: scale(1.1);
}
.card-blog {
	min-height: auto;
}
.card-blog .card-bg,
.card-service .card-bg {
	position: absolute;
}
.card-blog .card-bg:after,
.card-service .card-bg:after {
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--vert);
    opacity: .5;
}

.header-sup {
	position: fixed;
  	top: 0;
  	left: 0;
  	width: 100%;
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	padding: 20px 40px;
  	z-index: 10000;
  	will-change: transform;
	color: var(--beige);
  	/* background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px);  */
  	transition: background-color 0.3s ease, padding 0.3s ease;
}
.header-sup.is-scrolled {
	color: var(--vert);
  	background-color: var(--beige);
  	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  	padding: 10px 40px; /* On peut même réduire un peu la hauteur au scroll */
}
.header-nav {
	display: none;
}
.header-nav ul {
	gap: 2em;
}
.header-sub {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100dvh;
	z-index: 9999;
	visibility: hidden;
}
.menu-is-open .header-sub {
	visibility: visible;
}
.header-sub-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	background: var(--beige);
	transition: all .2s ease-in-out;
	z-index: 1;
}
.menu-is-open  .header-sub-bg {
	opacity: .95;
	transition: all .8s ease-in-out;
}
.header-sub-content {
	position: absolute;
    display: flex;
	flex-direction: column;
    align-items: flex-start;
	justify-content: center;
	gap: var(--pad);
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	color: var(--vert);
	opacity: 0;
	transition: all .2s ease-in-out;
}
.menu-is-open .header-sub-content {
	opacity: 1;
	transition: all .8s ease-in-out;
}
.header-sub-nav a {
	display: inline-block;
	line-height: 1.4;
}
.header-sub-nav li {
	opacity: .5;
	transition: all .3s ease-in-out;
}
.header-sub-nav li:hover {
	opacity: .8;
}
.header-sub-nav .current-menu-item {
	opacity: 1; 
}
.header-sub-nav li.item-small {
	font-size: clamp(1rem, calc(1vw + 0.5rem), 1.25rem);
}
.header-sub-nav li:nth-child(1 of .item-small) {
	margin-top: 1em;
}
.header-logo {
	width: clamp(180px, 30vw, 400px);
}
.header-logo svg {
	width: 100%;
	height: auto;
}
.toggle-menu {
	position: relative;
	width: clamp(3rem, 6vw, 6rem);
    height: clamp(3rem, 6vw, 6rem);
	display: grid;
	place-content: center;
    gap: 1rem;
    background: var(--beige);
    color: var(--vert);
    cursor: pointer;
    border-radius: 9999px;
	z-index: 100000;
}
.toggle-menu-label {
	text-transform: uppercase;
}
.toggle-menu-icon {
	width: clamp(1.5rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    grid-gap: 7px;
    transition: .2s;
}
.toggle-menu-icon .bar {
	width: 100%;
    height: 2px;
    background: var(--vert);
    transition: .2s;
}
.menu-is-open .toggle-menu .toggle-menu-icon {
    grid-gap: 0;
    transform: rotate(-135deg);
}
.menu-is-open .toggle-menu .toggle-menu-icon .bar:nth-child(2) {
    display: none;
}
.menu-is-open .toggle-menu .toggle-menu-icon .bar:nth-child(3) {
    transform: rotate(90deg);
    margin-top: -1px;
}

.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	justify-content: flex-start;
	align-items: flex-end;
}
.hero-index {
	height: 100vh;
}
.hero-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.hero-bg:after {
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--vert);
    opacity: .5;
}
.hero-scroll {
	position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}
.hero-text {
	position: relative;
}

.footer {
	padding-bottom: 0;
}
.footer-cta {
	position: relative;
}
.footer-cta-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: .2;
}
.footer-cta-text {
	position: relative;
}
.footer-bottom {
	border-top: 1px solid color-mix(in srgb, var(--beige), transparent 80%);
}

.social-items {
	gap: calc(var(--pad) / 4);
    display: inline-flex;
}
.social-item {
	position: relative;
	display: grid;
	place-items: center;
	width: clamp(2.5rem, 5vw, 4rem);
	height: clamp(2.5rem, 5vw, 4rem);
	color: var(--vert);
}
.social-item:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--beige);
	border-radius: 9999px;
	transition: all ease-in-out .3s;
}
.social-item svg {
	width: 50%;
    height: auto;
    z-index: 1;
	transition: all ease-in-out .3s;
}
.social-item:hover:before {
	transform: scale(1.1);
}
.social-item:hover svg {
	transform: scale(0.9);
}

.commodites {
	flex-wrap: wrap;
    gap: 1em;
    justify-content: flex-start;
}
.commodites .commodite {
	border: 1px solid color-mix(in srgb, var(--vert), transparent 80%);
    line-height: 1.1;
    padding: 1em 2em;
    border-radius: 9999px;
}

.atout {
	display: flex;
	flex-direction: column;
	gap: calc(var(--pad)/2);
	align-items: center;
	border-bottom: 1px solid color-mix(in srgb, var(--vert), transparent 80%);
    padding: calc(var(--pad)/2) 0;
}
.atout:first-of-type {
	border-top: 1px solid color-mix(in srgb, var(--vert), transparent 80%);
}
.atout-illu {
	width: 100%;
    aspect-ratio: 1.62 / 1.38;
	max-height: 300px;
}

/*** FAQ ***/
.accordion-container {
	max-width: 800px;
	display: grid;
    gap: .5em;
	margin-bottom: 2em;
}
.accordion-header {
  cursor: pointer;
  user-select: none;
}
.accordion-item {
	cursor: pointer;
	border-radius: 25px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--vert), transparent 80%);
	transition: all .3s ease-in-out;
}
.accordion-item.open {
	background: var(--vert);
	color: var(--beige);
}
.accordion-header {
	padding: 15px;
}
.accordion-header svg {
    background: var(--vert);
    border-radius: 9999px;
    padding: .5em;
    stroke: var(--beige);
    box-sizing: content-box;
	transition: all .3s ease-in-out;
}
.accordion-item.open .accordion-header svg {
	background: var(--beige);
	stroke: var(--vert);
    transform: rotate(180deg);
}
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.accordion-inner {
	padding: 0 15px 15px;
	opacity: 0;
	transition: opacity .2s ease-in-out;
	transition-delay: .1s;
}
.accordion-item.open .accordion-inner {
	opacity: 1;
}

.wp-block-image {
	margin-bottom: 2em;
}
.wp-block-image img {
	border-radius: 25px;
}
.wp-element-caption {
	font-size: .7rem;
}

/*** CSS Lié GSAP / SCROLLTRIGGER ***/
/* 1. On cible le conteneur Gutenberg ET ton conteneur PHP */
figure.parallax-1, 
.parallax-1-container {
    display: block;
    position: relative;
    overflow: hidden !important;
    height: 100%;
}

/* 2. On cible l'image à l'intérieur (qu'elle soit dans figure ou div) */
figure.parallax-1 img,
.parallax-1-container img {
    width: 100%;
    height: 130% !important; /* L'image est 30% plus haute que le cadre */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

/*** SLIDER ***/
.container-slider {
    width: 100%;
    overflow: hidden; /* CRUCIAL pour Swiper */
    position: relative;
}
.swiper-wrapper {
	
}
.swiper-slide {
	width: 100%;
}
.swiper-image {
    width: 100%;
    height: auto;      /* Laisse l'image prendre sa hauteur naturelle */
    max-width: 100%;   /* Sécurité anti-débordement */
    display: block;
    object-fit: cover; /* Si tu as fixé une hauteur sur .swiper-slide */
}

@media (max-width: 768px) {
    .container-slider {
        height: 300px; /* Ajuste selon tes besoins */
    }
    .swiper-image {
        height: 100%;
        object-fit: cover;
    }
}







.swiper-ticker-container {
	width: 110%;
	margin-left: -5%;
	transform: rotate(-3deg);

	outline: 1px solid transparent; /* Astuce pour forcer l'anti-aliasing sur certains navigateurs */
  	-webkit-backface-visibility: hidden;
  	backface-visibility: hidden;
}

/* On force le mouvement linéaire uniquement pour les tickers */
.swiper-ticker .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Optionnel : Ajuster la taille des slides si nécessaire */
.swiper-ticker .swiper-slide {
	height: auto;
	max-height: 400px;
	width: 35vw;
	min-width: 240px;
}






/*** RESPONSIVE TIIIIIIMEEEEEE ***/
@media (min-width: 768px) {
	.atout {
		flex-direction: row;
	}
	.atout:nth-child(even) {
  		flex-direction: row-reverse;
	}
	.atout-illu {
		width: 50%;
	}
	.atout-text {
		width: 50%;
	}
}
@media (min-width: 960px) {
	.grid-2 {
		grid-template-columns: 1fr 1fr;
	}
	.grid-3 {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.header-nav {
		display: none;
	}
}
@media (min-width: 1025px) {
	
}