/*!
Theme Name: Francis Guerrier
Theme URI: http://underscores.me/
Author: Guillaume Ruiz
Author URI: https://guillaumeruiz.com
Description: Francis Guerrier
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: francisguerrier
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Francis Guerrier is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

@font-face {
	font-family: 'FormaDJRText';
	src: url('fonts/FormaDJRText-Bold.woff2') format('woff2'),
	url('fonts/FormaDJRText-Bold.woff') format('woff');
	font-weight: unset;
	font-style: normal;
	font-display: swap;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
	 html {
	 	line-height: 1.15;
	 	-webkit-text-size-adjust: 100%;
	 }

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
	 body {
	 	margin: 0;
	 }

/**
 * Render the `main` element consistently in IE.
 */
	 main {
	 	display: block;
	 }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
	 h1 {
	 	font-size: 2em;
	 	margin: 0.67em 0;
	 }

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
	 hr {
	 	box-sizing: content-box;
	 	height: 0;
	 	overflow: visible;
	 }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
	 pre {
	 	font-family: monospace, monospace;
	 	font-size: 1em;
	 }

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
	 a {
	 	background-color: transparent;
	 }

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
	 abbr[title] {
	 	border-bottom: none;
	 	text-decoration: underline;
	 	text-decoration: underline dotted;
	 }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
	 b,
	 strong {
	 	font-weight: unset;
	 }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
	 code,
	 kbd,
	 samp {
	 	font-family: monospace, monospace;
	 	font-size: 1em;
	 }

/**
 * Add the correct font size in all browsers.
 */
	 small {
	 	font-size: 80%;
	 }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
	 sub,
	 sup {
	 	font-size: 75%;
	 	line-height: 0;
	 	position: relative;
	 	vertical-align: baseline;
	 }

	 sub {
	 	bottom: -0.25em;
	 }

	 sup {
	 	top: -0.5em;
	 }

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
	 img {
	 	border-style: none;
	 }

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
	 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;
	 }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
	 progress {
	 	vertical-align: baseline;
	 }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
	 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;
	 }

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
	 details {
	 	display: block;
	 }

/*
 * Add the correct display in all browsers.
 */
	 summary {
	 	display: list-item;
	 }

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
	 template {
	 	display: none;
	 }

/**
 * Add the correct display in IE 10.
 */
	 [hidden] {
	 	display: none;
	 }

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: var(--fontsize-2);
	line-height: var(--lineheight-2);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	text-transform: uppercase;
}

p {
	margin-bottom: var(--lineheight-2);
}

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%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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

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

ul {
	list-style: disc;
}

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;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

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



/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0px solid;
	border-color: var(--color-1);
	border-radius: 0;
	background: transparent;
	color: var(--color-1);
	line-height: var(--lineheight-2);
	padding: 0;
	margin: 0;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: var(--color-1);
	cursor: pointer;
}

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: var(--color-1);
}

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: var(--color-1);
	border: 1px solid var(--color-1);
	border-radius: 0;
}

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: var(--color-1);
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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;
}


/* Root
--------------------------------------------- */

:root {
	--grid-offset: 10px; 
	--padding-unit: 10px;
	--fontfamily-1: 'FormaDJRText';
/*	--fontsize-1: 24px;
	--lineheight-1: 28px;*/
	--fontsize-1: 16px;
	--lineheight-1: 20px;
	--fontsize-2: 16px;
	--lineheight-2: 20px;
	--fontsize-3: 12px;
	--lineheight-3: 14px;
	--padding-top: 66px;
	--opacity-light: .2;
	--aside-nav-width: 25%;
	--color-1: black;
	--color-2: white;
	--opacity-ease: opacity 0.5s ease;
/*	--plyr-color-main: #181818;*/
}

@media screen and (max-width: 640px) {
	:root {
		--aside-nav-width: 20%;		
/*		--fontsize-1: 20px;
		--lineheight-1: 24px;*/
		--fontsize-1: 16px;
		--lineheight-1: 20px;
		--fontsize-2: 16px;
		--lineheight-2: 20px;
		--fontsize-3: 12px;
		--lineheight-3: 14px;
	}
}

/* Global
--------------------------------------------- */

/* Scrollbars masqués pour tous les éléments avec overflow */
::-webkit-scrollbar {
	width: 0px;
	height: 0px;
}

body, .scroll-column {
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

html, body {
  touch-action: manipulation;
}


body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

main {
	animation: fadeInAnimation ease .3s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Supprime le halo bleu sur mobile iOS/Android */
* {
	-webkit-tap-highlight-color: transparent;
	-webkit-focus-ring-color: rgba(0, 0, 0, 0);
}

/* Supprime les bordures de focus par défaut */
a, button, input, textarea {
	outline: none;
}


/* Links
--------------------------------------------- */
a {
	color: var(--color-1);
}

a:visited {
	color: var(--color-1);
}

a:hover,
a:focus,
a:active {
	color: var(--color-1);
}

a:focus {
	color: var(--color-1);
}

a:hover,
a:active {
	outline: 0;
}


/* Typography
--------------------------------------------- */

body,
p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
button {
	font-family: var(--fontfamily-1);
	font-weight: unset;
	font-size: var(--fontsize-2);
	line-height: var(--lineheight-2);
	color: var(--color-1);
	margin: 0;
	padding: 0;	
	vertical-align: bottom;
}

ul {
	list-style: none;
}

h2 {
	text-transform: uppercase;
	padding-bottom: var(--padding-unit);
}

a {
	text-decoration: underline;
	text-underline-offset: 4px;
	color: var(--color-1);
	cursor: pointer;
}

a:hover {
	text-decoration: none;
}

img {
	vertical-align: top;
}


/* Header
--------------------------------------------- */

#cursor-close {
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none !important;
	z-index: 99999;
	transform: translate(-50%, -50%);
	font-family: var(--fontfamily-1);
	font-size: var(--fontsize-2);
	color: var(--color-1);
	background: transparent;
	opacity: 0;
	transition: var(--opacity-ease);
}

body.show-cursor-close-description #cursor-close {
	opacity: 1 !important;
}

body.show-cursor-close-selector #cursor-close {
	opacity: 1 !important;
}




#cursor-intro {
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 9999;
	font-family: var(--fontfamily-1);
	font-size: var(--fontsize-2);
	text-transform: uppercase;
	color: var(--color-2);
	opacity: 0;
	transition: opacity 0;
}

#cursor-intro::after {
	content: attr(data-label);
	display: inline-block;
}

#cursor-slide,
#cursor-next {
	font-family: var(--fontfamily-1);
	font-size: var(--fontsize-2);
	color: var(--color-1);
	position: fixed;
	pointer-events: none;
	z-index: 9999;
	transition: opacity 0;
	opacity: 0;
}

#cursor-slide.show,
#cursor-next.show {
	opacity: 1;
}


/* Lazy images
--------------------------------------------- */

.lazy-img, .lazy-thumb {
	opacity: 0;
	transition: var(--opacity-ease);
}
.lazy-img.loaded, .lazy-thumb.loaded {
	opacity: 1;
}

#ajax-scroll-trigger,
#ajax-scroll-trigger-nav {
	height: 1px;
	visibility: hidden;
}



/* Introduction
--------------------------------------------- */

.intro-video-container {
	position: relative;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
}

.intro-video-container video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

.intro-video-container video {
	filter: saturate(1.5) contrast(1.2) brightness(0.9);
	/* autres propriétés existantes... */
}

.intro-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;

}

.intro-overlay a {
	font-family: var(--fontfamily-1);
	font-size: var(--fontsize-2);
	text-decoration: none;
	color: var(--color-2);
	width: 100%;
	padding: var(--padding-unit);
	cursor: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	text-transform: uppercase;	
}



/* Header
--------------------------------------------- */

.site-header {
	display: flex;
	flex-wrap: wrap;
	padding: var(--padding-unit) var(--padding-unit) 0 var(--padding-unit);
	position: fixed;
	z-index: 100;
	width: 100%;
	column-gap: var(--padding-unit);
}

.site-header .left,
.site-header .right {
	flex: 1;
}

.left, .right, .center {
	overflow-wrap: break-word;
	word-break: break-word;
	text-overflow: ellipsis;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.site-header .center {
	flex: 4;
	text-align: center;
	display: flex;
	justify-content: center;
}

header a {
		text-decoration: none;
}

.site-title a {
	opacity: var(--opacity-light);
	transition: var(--opacity-ease);
}

.site-title a:hover {
	opacity: 1;
}

a.site-title,
.current_page_item a {
	opacity: 1 !important;
}

#primary-menu {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--padding-unit);
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-title, .menu li {
	text-transform: uppercase;
}

.menu li {
	flex: 1;
}

#toggle-description {
	width: 100%;
	position: fixed;
	bottom: var(--padding-unit);
	padding-bottom: calc(0 + env(safe-area-inset-bottom));
	z-index: 100;
	text-transform: uppercase;
	opacity: 1;
}

#toggle-description.active {
	z-index: 9999;
}

.toggle-plus-button {
	background: none;
	border: none;
	cursor: pointer;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.plus {
	position: relative;
	width: 20px;
	height: 20px;
}

.plus span {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transition: transform 0.3s ease;
	transform-origin: center;
}

/* Barre horizontale */
.plus span:first-child {
	transform: translateY(-50%) rotate(0deg);
}

/* Barre verticale */
.plus span:last-child {
	transform: translateY(-50%) rotate(90deg);
}

/* ➕ Devient une croix quand actif (les deux barres pivotent en croix) */
.toggle-plus-button.active .plus span:first-child {
	transform: translateY(-50%) rotate(45deg);
}

.toggle-plus-button.active .plus span:last-child {
	transform: translateY(-50%) rotate(-45deg);
}



@media (max-width: 640px) {

	#toggle-description {
		bottom: calc(var(--padding-unit) * 3);
	}

}
/**/
/* === Mobile menu overlay === */

@media (max-width: 640px) {

	.site-header .left,
	.site-header .right {
		flex: unset;
	}

	.site-header.mobile {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		background: transparent;
		cursor: pointer;
		z-index: 4000;
		position: fixed;
		text-align: center;
		padding-top: calc(var(--padding-unit) * 3);
		padding-bottom: 0;
	}

	.site-header.mobile .site-title {
        width: auto;
        display: block;
        margin: 0 auto;
	}

	.mobile-menu {
		position: fixed;
		inset: 0;
		background: rgba(255, 255, 255, 0.95);
		display: flex;
		justify-content: center;
		align-items: center;
		opacity: 0;
		pointer-events: none;
		transition: var(--opacity-ease);
		        overflow-y: scroll;
		z-index: 2000;
	}

	.mobile-menu.open {
		opacity: 1;
		pointer-events: auto;
	}

	.mobile-menu-inner {
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.mobile-menu-content {
		text-align: center;
	}

	.mobile-menu ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.mobile-menu ul li {
		margin-bottom: var(--lineheight-2);
		font-size: var(--fontsize-2);
		text-transform: uppercase;
	}

	.mobile-menu a {
		text-decoration: none;
		font-size: var(--fontsize-2);
		line-height: var(--lineheight-2);
	}

	.menu-item {
		opacity: 1;
	}

	body.menu-open {
		overflow: hidden;
	}

	/* Le bouton */
	#menuToggle {
		position: fixed; 
		left: var(--padding-unit);
		z-index: 3000; 
	}

	.toggle-plus-button {
		background: none;
		border: none;
		cursor: pointer;
		width: 20px;
		height: 20px;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
		z-index: 1001; 
	}

	/* Conteneur des lignes */
	.hamburger {
		position: relative;
		width: 20px;
		height: 2px; /* hauteur de ligne de base */
		background: none; /* sans fond */
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.hamburger span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 1px;
		background: currentColor;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}

	.hamburger span:first-child {
		top: -5px;
	}

	.hamburger span:last-child {
		top: 5px;
	}

	/* ✅ Transformation en croix */
	.toggle-plus-button.active .hamburger span:first-child {
		transform: rotate(45deg);
		top: 0;
	}

	.toggle-plus-button.active .hamburger span:last-child {
		transform: rotate(-45deg);
		top: 0;
	}


}




/* en attente */



/**/

.custom-select-options {
	flex-direction: column;
	margin: 0;
}


.custom-select-options li {
	opacity: var(--opacity-light);
	cursor: pointer;
}

.custom-select-options li:hover {
	opacity: 1;
}

@media screen and (min-width: 768px) {
	.custom-select-options {
		opacity: 0;
		pointer-events: none;
		transform: translate(-50%, -10px);
		transition: opacity 0.3s ease, transform 0.3s ease;
		position: absolute;
		top: 100%;
		left: 50%;
		z-index: 1000;
		padding-top: var(--lineheight-2);
		flex-direction: column;
	}

	.custom-select-options.visible {
		opacity: 1;
		pointer-events: auto;
		transform: translate(-50%, 0);
	}


	.page-template-page-creations .creations-toggle {
	        display: inline-flex;
	        flex-direction: column;
	        align-items: center;
	        justify-content: flex-start;
	        text-align: center;
	        height: 3rem;
	}

	/* Flèche en dessous du texte */
	.page-template-page-creations .creations-toggle::after {
		content: '';
		display: block;
		margin-top: 0.4em;
		width: 0.6em;
		height: 0.6em;
		border-right: 1px solid currentColor;
		border-bottom: 1px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.2s ease;
	}

	.page-template-page-creations .creations-toggle.open::after {
		transform: rotate(-135deg);
	}


	#custom-overlay {
		position: fixed;
		inset: 0;
		background: rgba(255, 255, 255, 0.8);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: var(--opacity-ease), visibility 0.3s ease;
		z-index: 50; /* juste sous le menu */
		cursor: pointer;
	}

	#custom-overlay.active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}


}






/*informations*/

.informations a {
	opacity: var(--opacity-light);
	transition: var(--opacity-ease);
	text-decoration: none;
}

.informations a:hover {
	opacity: 1;
}

.informations {
	width: 100%;
	padding: var(--padding-unit);
	padding-top: calc(var(--lineheight-2)*4.5);
	position: relative;
}

@media (max-width: 640px) {
	.informations {
		padding-top: calc(var(--lineheight-2)*4.5);
	}
}

.informations-section {
	width: 100%;
	position: relative;
}

.informations .two-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--padding-unit);
	grid-template-areas: "left right";
}

.informations .two-columns .two-columns-col {
/*	flex: 1;*/
min-width: 0;
}

.two-columns-col-left {
	grid-area: left;
}

.two-columns-col-right {
	grid-area: right;
}

@media (max-width: 640px) {
	.informations .two-columns {
		display: block;
	}
}

.informations .sticky-gallery {
	position: sticky;
	top: calc(var(--padding-unit) * 9);
	align-self: start;
}


.informations-section .section-item-list {
	opacity: var(--opacity-light);
	transition: var(--opacity-ease);
}

.open .section-item-list {
	opacity: 1;
}

.informations-section li {
	display: flex;
	flex-wrap: nowrap;
	column-gap: var(--padding-unit);
}

.informations-section span {
	flex: 1;
}

.informations-section p {
	flex: 3;
}

.colophon-section {
	padding-top: calc(var(--padding-unit)*9);
}

.colophon-section p {
	font-size: var(--fontsize-3);
	line-height: var(--lineheight-3);
	opacity: 1;
	display: inline-block;
}

.informations h3 {
	text-align: left;
	padding-bottom: var(--lineheight-2);
}

.fontsize1 {
	font-size: var(--fontsize-1);
	line-height: var(--lineheight-1);
}

.bio-content p {
	font-size: var(--fontsize-1);
	line-height: var(--lineheight-1);
}

/**/

.toggle-section-button {
	background: none;
	border: none;
	cursor: pointer;
	width: auto;
	height: 32px;
	position: absolute;
	top: 0;
	right: var(--padding-unit);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.plus {
	position: relative;
	width: 20px;
	height: 20px;
}

.plus span {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform-origin: center;
	transition: transform 0.3s ease, top 0.3s ease;
}

.plus span:first-child {
	transform: translateY(-50%) rotate(0deg);
}

.plus span:last-child {
	transform: translateY(-50%) rotate(90deg);
}

.section-item.open .plus span:first-child {
	transform: translateY(-50%) rotate(45deg);
}

.section-item.open .plus span:last-child {
	transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 640px) {
	.toggle-section-button {
		position: static;
		margin-top: 0;
		align-self: flex-start;
	}

	.section-item .two-columns-col-right {
		display: flex;
		flex-direction: column;
	}
}

.section-item-list.is-toggleable {
	cursor: pointer;
}


/*informations slider*/

.informations-slick-gallery {
	height:auto;
	width:100%;
	display:flex;
	flex: 1 100%;
	flex-wrap: wrap;
	max-height: 90vh;
	overflow: hidden;
}

.informations-slick-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 50vh; /* ou 50dvh mais attention à Safari iOS */
  overflow: hidden;
}

.informations-slick-slide img {
  min-height: 50vh;
  height: 100%;
  width: auto;

  object-fit: contain;
  display: block;
}

.informations-gallery-counter {
	width: 100%;
	padding: var(--padding-unit) 0;
	text-align: left;
}

@media (max-width: 640px) {

	.informations .sticky-gallery {
		position: relative;
		top: auto;
	}

	.informations-slick-gallery {
		position: relative;
		padding-bottom: var(--padding-unit);
	}

	.informations-gallery-counter {
		padding-top: 0;
	}



}

/**/

.hide-item {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.4s ease;
  pointer-events: none;
  visibility: hidden;
}

.section-item.open .hide-item {
  max-height: 1000px; /* à ajuster selon le contenu attendu */
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}



.affiche, .texte {
	padding-top: 0;
}

.section-item.open .affiche,
.section-item.open .couverture,
.section-item.open .texte {
	padding-top: var(--lineheight-2);
}

.bio-content, .demarche-content {
	padding-bottom: var(--lineheight-2);
}


.informations-section {
	padding-bottom: calc(var(--lineheight-2)*2);
}

article.section-item {
	padding-bottom: var(--lineheight-2);
	position: relative;
}

@media (max-width: 640px) {

	.contact-content {
		padding-bottom: var(--lineheight-2);
	}
	.section-item.open .affiche {
		padding-bottom: var(--lineheight-2);
	}

	.couverture {
		padding-bottom: var(--lineheight-2);
	}
}




/*index*/

.index-list {
	padding: var(--padding-unit);
	padding-top: calc(var(--lineheight-2) * 4.5);
}

.table-container {
	display: flex;
	flex-direction: column;
	gap: 1px;
	font-family: sans-serif;
}

.table-row {
	display: flex;
	flex-wrap: nowrap;
	column-gap: var(--padding-unit);
	opacity: var(--opacity-light);
	padding-bottom: var(--lineheight-2);
	margin-bottom: 0px;
	transition: var(--opacity-ease);
}

#header-row {
	opacity: 1;
	transition: var(--opacity-ease);
}

.table-row:hover {
	opacity: 1;
}

.table-cell {
	flex: 1 1 0;
	overflow-wrap: break-word;
	word-break: break-word;
	text-overflow: ellipsis;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
    font-family: var(--fontfamily-1);
    font-size: var(--fontsize-2);
}

.header-cell {
	background: var(--color-2);
	font-size: var(--fontsize-2);
}


@media (max-width: 640px) {

	.index-list {
		padding: var(--padding-unit);
		padding-top: calc(var(--lineheight-2) * 3.5);
	}

}

/**/

.sort-btn {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	font-size: var(--fontsize-2);
	font-family: var(--fontfamily-1);
	color: var(--color-1);
	cursor: pointer;
	display: flex;
	gap: var(--padding-unit);
	width: 100%;
}

.sort-btn:hover .sort-indicator {
	color: var(--color-1);
}

.sort-indicator::after {
	content: '⇅';
	font-size: var(--fontsize-2);
	font-family: var(--fontfamily-1);
	opacity: var(--opacity-light);
}

.sort-btn.asc .sort-indicator::after {
	content: " ↑";
	opacity: 1;
}
.sort-btn.desc .sort-indicator::after {
	content: " ↓";
	opacity: 1;
}

.titre {
	text-transform: uppercase;
}

.creation-line {
	cursor: pointer;
	transition: background 0.2s ease;
	position: relative;
}

.creation-line:hover {
	background: var(--color-2);
}

.hover-preview {
	position: fixed;
	display: none;
	pointer-events: none;
	max-width: auto;
	max-height: 200px;
	z-index: 100;
}

/**/

@media (max-width: 1000px) {
	.table-row .hauteur,
	.table-row .largeur,
	.table-row .profondeur {
		display: none;
	}
}





@media (max-width: 640px) {

	.table-row .hauteur,
	.table-row .categorie, /*ou medium*/
	.table-row .largeur,
	.table-row .profondeur,
	.table-row .medium {
		display: none;
	}
	.table-row .numero,
	.table-row .date {
		flex: .2;
	}
}

/*Modèle page accueil*/	


.page-accueil-layout {
	display: block;
	height: 100vh;
	overflow: hidden;
/*	  overflow-y: auto;
	  -webkit-overflow-scrolling: touch;*/
	}

	.scroll-column {
		overflow-y: auto;
		height: 100%;
		box-sizing: border-box;
		scroll-behavior: smooth;
		padding: 0 var(--padding-unit);
	}

	.creation-thumb,
	.creations-nav,
	.creations-main {
		user-select: none;
		-webkit-user-select: none;
		-ms-user-select: none;
		background: transparent;
	}

	.creations-nav {
		position: fixed;
		top: 0;
		right: 0;
		background: transparent;
		pointer-events: auto;
		width: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		min-width: var(--aside-nav-width);
		padding-top: var(--padding-unit);
		padding-bottom: var(--lineheight-2);
		z-index: 9999;
	}

	@media (max-width: 640px) {

		.creations-nav {
			min-width: var(--aside-nav-width);
			width: var(--aside-nav-width);
		}
	}

	.creation-thumb {
		cursor: pointer;
		opacity: var(--opacity-light);
		padding-bottom: var(--padding-unit);
	}

	.creation-thumb.active {
		opacity: 1;
		transition: var(--opacity-ease);
	}

	.creation-thumb:hover {
		cursor: pointer;
		opacity: 1;
	}

	.creation-thumb img {
		width: auto;
		height: 100px;
		display: block;
		margin: 0 auto;
	}


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

		.creation-thumb img {
			height: 60px;
		}

	}



/* Css posts creations */


.creation-item {
	height: 100vh;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end; 
	align-items: center;
	position: relative;
	overflow: hidden;
}

.slick-gallery {
	height: 100%;
	width: 100%;
	cursor: none;
	display: flex;
}

.slick-gallery .slick-track {
	display: flex !important;
	height: 100%;
	align-items: flex-end; /* si tu veux que les images soient en bas */
}

.slick-gallery .slick-slide {
	height: 100%;
	display: flex !important;
	justify-content: flex-start;
	align-items: flex-end;
}

.slick-gallery .slick-slide > img.gallery-img {
	display: block;
	height: auto;
	height: calc(100vh - 8.8rem);
	height: calc(100dvh - 8.8rem);
	width: auto;
	object-fit: contain;
	object-position: bottom;
}


@media (max-width: 640px) {



}

/**/

.creation-caption {
	padding-bottom: var(--lineheight-2);
	padding-right: var(--padding-unit);
	text-align: left;
	width: 100%;
	padding-top: var(--padding-unit);
	display: flex;
	flex-direction: row;
}

.creation-caption-item {
	flex: 1;
}

.gallery-counter {
	font-size: var(--fontsize-2);
	pointer-events: none;
	z-index: 5;
	text-align: right;
}

.creation-description {
	position: absolute;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	z-index: 1001;
}

.creation-description-content {
    display: flex;
    position: relative;
    flex-direction: column;
    z-index: 1;
    height: 100%;
    padding-top: 5.6rem;
}

.creation-description {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: var(--opacity-ease), visibility 0.3s ease;
}

.creation-description.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	cursor: pointer;
}

.creation-description::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.8); /* opacité souhaitée */
	z-index: 0;
}


@media (max-width: 640px) {

	.creation-caption {
		padding-bottom: calc(var(--padding-unit)*3);
	}

	.creation-description-content {
		padding-left: 0%;
		padding-bottom: calc(var(--lineheight-2)*4.3);
	}

	#creations-desktop-menu {
		padding-top: var(--lineheight-2);
	}
}

/**/

.creation-description-top ul li {
	display: flex;
	column-gap: var(--padding-unit);
}

.creation-description-top ul li span {
	flex: 1;
}

.creation-description-top ul li p {
	flex: 5;
}

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

.creation-description-top ul li p {
	flex: 3;
}

	.creation-description-content {
		width: 100%;
	}

	.creation-caption {
		padding-top: var(--lineheight-2);
	}

}


/**/




/*Grille*/

.grid-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	padding: 0 var(--padding-unit);
	pointer-events: none;
	z-index: 9999;
}

.grid-col {
	float: left;
	height: 100%;
	width: calc(100% / 16);
	border-left: 1px dashed rgba(255, 0, 0, 0.3);
}

.grid-line {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 255, 0.3);
}
