/*!
Theme Name: Aperçu 2026
Theme URI: http://underscores.me/
Author: Guillaume Ruiz
Author URI: http://guillaumeruiz.com
Description: Description
Version: 1.0.0
Tested up to: ?
Requires PHP: ?
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: apercu
Tags: ?

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

Aperçu 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: 'FrancescoWeb-Regular';
	src:  
	url('webfonts/FrancescoWeb-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
@font-face {
	font-family: 'FrancescoWeb-Italic';
	src:  
	url('webfonts/FrancescoWeb-Italic.woff2') format('woff2');
	font-weight: normal;
	font-style: italic;
	font-display: block;
}

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

:root {
	--padding-15: 1.2rem;	
	--padding-30: 3.4rem;	
	--color-gray: #a9a5b0;
	--color-green: #b6ea6f;
	--color-white: #fff;
	--main-font-family: 'FrancescoWeb-Regular';
	--italic-font-family: 'FrancescoWeb-Italic';
	--main-font-size: 1.6rem;
	--main-line-height: 1.6rem;
	--caption-font-size: 1.2rem;
	--caption-line-height: 1.2rem;
	--subtitle-font-size: 3.2rem;
	--subtitle-line-height: 3.2rem;
	--title-font-size: 3.4rem;
	--title-line-height: 4rem;
	--home-title-font-size: 6.6rem;
	--home-title-line-height: 5.3rem;
	--box-shadow: 0 -10px 15px -3px rgb(0 0 0 / 0.1), 0 -4px 6px -4px rgb(0 0 0 / 0.1);
	--background-g: linear-gradient(to top, rgba(255,255,255,0.6) 0px, rgba(255,255,255,0) 50px);
}

@media (max-width: 800px) {
	:root {
		--padding-15: 1rem;
		--padding-30: 3rem;	
		--main-font-size: 1rem;
		--main-line-height: 1.2rem;
		--caption-font-size: .8rem;
		--caption-line-height: .8rem;
		--title-font-size: 2.2rem;
		--title-line-height: 2.4rem;		
		--home-title-font-size: 4.3rem;
		--home-title-line-height: 4.1rem;	
	}
}


/* 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;
	 	font-variant-numeric: oldstyle-nums;
	 }

/**
 * 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: bolder;
	 }

/**
 * 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;
	 	var(--color-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-gray);
	font-family: var(--main-font-family);
	font-size: var(--main-font-size);
	line-height: var(--main-line-height);
	font-style: normal;
	font-style: var(--main-font-size);
	line-height: var(--main-line-height);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
p,
a {
	clear: both;
	font-family: var(--main-font-family);
	font-size: var(--main-font-size);
	line-height: var(--main-line-height);
	font-weight: normal;
	color: var(--color-gray);
	margin: 0;
	text-transform: none;
}


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

blockquote {
	margin: 0;
}

address {
	margin: 0;
}

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0;
}

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;*/
margin: 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: var(--color-gray);
	text-decoration: none;
}
.informations a{
	text-decoration: underline;
}
.informations a:hover{
	text-decoration: none;
}

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

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

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

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

/* Forms
--------------------------------------------- */
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%;
}

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


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

.post,
.page {
	margin: 0;
}

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

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

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


/*--------------------------------------------------------------
# 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;
}

/* Général
--------------------------------------------- */
html {
	scroll-behavior:smooth;
}

* {
	-webkit-tap-highlight-color: transparent;
}

body {
	animation: fadeInAnimation ease 2s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

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

::selection {
	color: var(--color-green);
	background: var(--color-gray);
}

/* Various
--------------------------------------------- */

.main-bottom-padding {
	padding-bottom: var(--main-line-height);	
}


/* Menus
--------------------------------------------- */

/* bouton */
#home-back-btn {
	cursor: pointer;
	position: absolute;
	top: var(--padding-15);
	right: 0; /* ou right selon ton design */
	opacity: 0;
	pointer-events: none;
	transition: opacity 200ms ease;
	border:0;
	background-color: transparent;
	color: var(--color-gray);
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

/* visible hors home */
#home-back-btn.is-visible{
	opacity: 1;
	pointer-events: auto;
}

/* caché par défaut (desktop) */
#site-menu-list .menu-site-info{
  display: none;
}

/* visible seulement sous 800px */
@media (max-width: 800px){
  #site-menu-list .menu-site-info{
    display: list-item; /* ou block */
  }
}

.menu-site-info span {
	font-family: var(--main-font-family);
	font-size: var(--main-font-size);
	line-height: var(--main-line-height);
	text-transform: uppercase;
}

@media (max-width: 800px) {

	#home-back-btn {
		top: 0;
		right: unset;
		left: var(--padding-15);
		font-size: var(--caption-font-size);
	}

	.menu-site-info {
		display: block;
		margin-bottom: var(--main-line-height);
	}

}

/* =========================================
   MENU PERSISTANT (HOME BAS / PAGES HAUT)
========================================= */

#site-menu {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: var(--padding-15);
	background: transparent;

	/* animation de position */
	transition: transform 600ms cubic-bezier(.2,.8,.2,1);
	will-change: transform;

	/* base typographique */
	color: var(--color-gray);
}

/* liens */
#site-menu a {
	text-decoration: none;
	color: var(--color-gray);
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	text-transform: uppercase;
	white-space: nowrap;
}

#site-menu a:hover{
	text-decoration: underline;
}

/* underline actif (ton système JS met aria-current) */
#site-menu a[aria-current="page"]{
	text-decoration: underline;
}

/* UL principal */
#site-menu-list{
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Tous les <li> deviennent inline */
#site-menu-list > li,
#site-menu-list .sub-menu > li{
	display: inline;
	margin-right: 1.5rem; /* espace entre les items */
	list-style: none;
}

#site-menu-list .sub-menu > li:last-child{
	margin-right: 0rem;
}

#site-menu-list .sub-menu > li:first-child{
	margin-left: 1.5rem;
}

#site-menu-list > li:last-child a {
	font-size: var(--main-font-size);
}

/* Le sous-menu ne crée plus de bloc */
#site-menu-list .sub-menu{
	display: inline;
	margin: 0;
	padding: 0;
}

/* Supprime l’éventuelle indentation WP */
#site-menu-list .sub-menu li{
	margin-left: 0;
}

/* Style différencié des sous-éléments */
#site-menu-list .sub-menu a{
	font-family: var(--italic-font-family);
	font-style: italic; 
}



@media (max-width: 800px) {

	#site-menu-list{
		box-shadow: var(--box-shadow);
	}

}

/* -------------------------
   Etats
------------------------- */

/* Par défaut : menu en haut */
#site-menu.is-top{
	top: 0;
	bottom: auto;
	transform: translateY(0);
}

/* Menu en bas (HOME) :
   On garde top:0 mais on le "descend" via transform pour que ce soit animable */
   #site-menu.is-bottom{
   	top: 0;
   	bottom: auto;
   	transform: translateY(calc(100vh - var(--menu-height, 90px)));
   }


/*@media (max-width: 768px){
	#site-menu{
		padding: 1rem 1.25rem;
	}

	#site-menu > ul > li{
		display: block;
		margin-right: 0;
		margin-bottom: .75rem;
	}
}*/

/**/

/* Hors accueil : laisse de la place au menu fixed en haut */
main[data-barba="container"][data-barba-namespace="page"]{
	padding-top: var(--menu-height, 90px);
}
/**/

/* Barba : container entrant depuis le bas */
.barba-slide-enter {
	position: fixed;
	inset: 0;
	transform: translateY(100%);
	z-index: 10;
	will-change: transform;
}

.barba-slide-enter.barba-slide-animate {
	transform: translateY(0);
	transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}

/* container sortant (optionnel) */
.barba-slide-leave {
	will-change: opacity;
	transition: opacity 200ms ease;
}

/* Bouton Menu */

.menu-toggle{
	display: none;
	border: 0;
	background: transparent;
	color: var(--color-gray);
	font-size: var(--caption-font-size);
	line-height: var(--caption-line-height);
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-align: right;
	width: 100%;
}

@media (max-width: 800px){

	:root{
		--menu-drawer-w: min(85vw, 360px);
	}

	main[data-barba="container"][data-barba-namespace="page"]{
		padding-top: calc(var(--padding-15)*3);
	}

	/* Barre menu toujours au-dessus */
	#site-menu{
		z-index: 3000 !important;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
	}

	#site-menu-list .sub-menu > li:first-child{
		margin-left: 0rem;
	}

	#site-menu-list > li,
	#site-menu-list .sub-menu > li{
		display: block;
		margin-right: 0;
	}

	/* Bouton Menu visible */
	.btn-spe{
		display: block;
		width: auto;
		z-index: 3100;
		background: var(--color-gray);
		border-radius: 48.9px;
		padding: 0.2rem;
		padding-top: 0.4rem;
		color: var(--color-green);
	}

	.menu-toggle{
		position: absolute;
		right: var(--padding-15);
	}

	/* Sur mobile : on neutralise le menu "bottom" */
	#site-menu.is-bottom{
		transform: translateY(0) !important;
	}

	/* Le panneau menu à droite : caché par défaut (hors champ) */
	#site-menu-list{
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: var(--menu-drawer-w);
		padding: var(--padding-15);
		margin: 0;
		overflow-y: auto;
		background: var(--color-green);
		z-index: 900;
		/* IMPORTANT : caché tant que fermé */
		transform: translate3d(100%, 0, 0);
		transition: transform 450ms cubic-bezier(.2,.8,.2,1);
		/* évite de cliquer dessus quand fermé */
		pointer-events: none;
	}

	/* OUVERT : le panneau rentre */
	body.menu-open #site-menu-list{
		transform: translate3d(0,0,0);
		pointer-events: auto;
	}

	/* Items en colonne */
	#site-menu-list > li,
	#site-menu-list .sub-menu > li{
		display: block;
	}

	#site-menu-list .sub-menu{
		display: block;
		text-align: center;
	}

	/* Le contenu du site : au-dessus du menu (donc il le masque quand fermé) */
	#page-shell[data-shell]{
		position: relative;
		z-index: 2000; /* sous la barre menu (3000), au-dessus du panneau (900) */
		min-height: 100vh;
		background: var(--color-green);
		transform: translate3d(0,0,0);
		transition: transform 450ms cubic-bezier(.2,.8,.2,1);
		will-change: transform;
	}

	/* OUVERT : on pousse la page à gauche */
	body.menu-open #page-shell[data-shell]{
		transform: translate3d(calc(var(--menu-drawer-w) * -1), 0, 0);
	}

	/* bloquer le scroll de la page quand menu ouvert */
	body.menu-open{
		overflow: hidden;
		touch-action: none;
	}
}


.page-template-page-introduction #site-menu {
	display: none;
}

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

#page {
	min-height: 100vh;
}

@media (max-width: 800px) {
	#page {
		overflow: hidden;
	}
}

h1 {
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	text-transform: uppercase;
	font-weight: normal;
	text-align: center;
}

.lien:hover {
	text-decoration: underline;
}

.feuille {
	box-shadow: var(--box-shadow);
}

.feuille:hover {
	box-shadow: 0;
	background: var(--background-g);
}

.btn-plus-dinfos {
	font-size: var(--title-font-size);
	display: none;
	cursor: pointer;
	border: 0;
	background-color: transparent;
	border-radius: 0;
	padding: 0;
	margin: 0;
	text-align: right;
	width: 100%;
	position: absolute;
	right: var(--padding-15);
}

.btn-plus-dinfos::after {
	content: "→";
}

article:hover .btn-plus-dinfos {
	display: block;
}

.cpt-mobile-header {
	display: none;
}

.cpt-mobile-header h2 {
	text-align: center;
	text-transform: uppercase;
}

/* Galeries */

.galerie-caption {
	font-size: var(--caption-font-size);
	line-height: var(--caption-line-height);
}

.galerie {
	max-height: auto;
	margin-bottom: var(--padding-15);
}

.imggray {
    max-height: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: 
        grayscale(100%)
        brightness(1.6)
        contrast(0.5);
}

.imggray:hover {
	filter:none;
}

@media (max-width: 800px){

	.cpt-mobile-header {
		display: block;
		position: fixed;
		top: var(--padding-15);
		text-align: center;
		width: 100%;
	}

	.btn-plus-dinfos {
		display: block;
		font-size: var(--caption-font-size);
	}

	.imggray {
		max-height: none;
		height: auto;
		width: 100%;
	}


}

/* Accueil
--------------------------------------------- */

#accueil{
	position: relative;
	min-height: 100vh;
	width: 100%;
	overflow: hidden;
	isolation: isolate;
}

#accueil .bg{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background: #fff; /* la couleur que tu veux “imprimer” via le masque */

  -webkit-mask-image: var(--mask-bg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  mask-image: var(--mask-bg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;

  /* au lieu de alpha */
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
}


#accueil .overlay{
  position: absolute;
  overflow: hidden;
  width: 35vw;
  max-width: 35%;
  aspect-ratio: var(--ar);
  border: .8vw solid var(--color-white);
  box-sizing: border-box;
  pointer-events: none;
  will-change: transform;
  z-index: 3;
  background: #a9a5b0;
}

#accueil .overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--overlay-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  /* ton traitement */
  filter:
    grayscale(100%)
    hue-rotate(230deg)
    brightness(1.5)
    contrast(0.75);

  /* clé : remonte les noirs au gris sans griser les blancs */
  mix-blend-mode: lighten;
}

/* Mobile */
@media (max-width: 800px){
  #accueil .overlay{
    width: 65vw;
    max-width: 65%;
    border: .8vw solid var(--color-white);
  }
}

/* contenu texte */
#accueil .container{
	position: relative;
	z-index: 4;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
	width: 100%;
	padding: 4rem;
}

/* colonnes et textes */
#accueil .container > div{
	flex: 0 0 50%;
	display: block;
}

#accueil .container h1{
	color: var(--color-gray);
	font-size: var(--home-title-font-size);
	line-height: var(--home-title-line-height);
	margin: 0;
	text-transform: inherit;
	text-align: left;
}

#accueil .container .underline{ text-decoration: underline; }
#accueil .container .center{ text-align: center; }


#accueil .container .dates{
	margin-top: calc(var(--home-title-line-height) * 1);
}

#accueil .container .sp1{ padding-left: 1.4rem; }
#accueil .container .sp2{ padding-right: 5.6rem; }
#accueil .container .sp3{ padding-left: 6.9rem; }



/* Mobile */
@media (max-width: 800px){
	#accueil .container{
		flex-direction: column;
		gap: 0;
		padding: 1rem;
		min-height: 100vh;
		display: flex;
		align-items: center;      /* centrage vertical */
		justify-content: space-between;  /* centrage horizontal (optionnel) */
	}

	#accueil .container > div{
		flex: 0 0 auto;
		width: 100%;
	}

	#accueil .container .title{
		margin-top: 0;
	}

	#accueil .container .dates{
		margin-top: calc(var(--home-title-line-height) * 1);
	}

	#accueil .container .sp1{ padding-left: .8rem; }
	#accueil .container .sp2{ padding-right: 2.7rem; }
	#accueil .container .sp3{ padding-left: 4rem; }

	#accueil .overlay-white,
	#accueil .overlay-black{
		width: 65vw;
		max-width: 65%;
		border: .8vw solid var(--color-white);
	}
}

/* CPT
--------------------------------------------- */

/*#cpt {
	padding-bottom: 20vh;
}
*/
/* CPT HEADER */

#cpt-header {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-column-gap: var(--padding-15);
	padding: var(--padding-15);
}

#cpt-header .quoi {
	grid-column-end: span 3;
	text-align: center;
}

#cpt-header .quand {
	grid-column-end: span 1;
}

#cpt-header .ou {
	grid-column-end: span 2;
}

#cpt-header h2 {
	text-transform: uppercase;
}

/* CPT ARTICLE */

#cpt article {
	cursor: pointer;
	padding-top: var(--padding-15);
	background-color: transparent;
}

#cpt article .article-content {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-column-gap: var(--padding-15);
	padding: 0 var(--padding-15);
}

#cpt article .article-content .titre *{
	text-transform: uppercase;
}

#cpt article .titre a {
	font-size: var(--subtitle-font-size);
	line-height: var(--subtitle-line-height);
}

#cpt article .article-content > *:nth-child(1) {
	grid-column-end: span 3;
	text-transform: uppercase;
	text-align: center;
}

#cpt article .article-content > *:nth-child(2) {
	grid-column-end: span 1;
}

#cpt article .article-content > *:nth-child(3) {
	grid-column-end: span 2;
	text-transform: uppercase;
}

#cpt article .relation .lieux-liste {
	list-style: none;
	padding: 0;
	margin: 0;
}

#cpt article .plus-dinfos {
	max-height: calc(var(--main-line-height)*2);
	overflow: hidden;
	transition: max-height 0.25s ease-in;
}

#cpt article.active .plus-dinfos {
	max-height: 1000px;
	background: var(--background-g);
}

#cpt article .plus-dinfos .image img {
	pointer-events: none;
}

#cpt article.active .plus-dinfos .image img {
	pointer-events: auto;
}

#cpt article .plus-dinfos .image img:hover {
	mix-blend-mode: normal;
	opacity: 1;
}

#cpt article .plus-dinfos-content {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-column-gap: var(--padding-15);
	padding-bottom: var(--main-line-height);
	padding: var(--padding-15);
}

#cpt article .plus-dinfos-content > *:nth-child(1) {
	grid-column-end: span 3;
}

#cpt article .plus-dinfos-content > *:nth-child(2) {
	grid-column-end: span 3;
}

@media (max-width: 800px) {


	#cpt article .article-content {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Premier : pleine largeur */
	#cpt article .article-content > *:nth-child(1) {
		grid-column: 1 / -1;
	}

	#cpt article .article-content > *:nth-child(2),
	#cpt article .article-content > *:nth-child(3) {
		grid-column-end: auto;
	}

	#cpt article .article-content .titre {
		margin-bottom: var(--main-line-height);
	}


	#cpt-header {
		display: none;
	}

	#cpt article .plus-dinfos-content {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	#cpt article .plus-dinfos-content > *:nth-child(1) {
		grid-column-end: span 1;
	}

	#cpt article .plus-dinfos-content > *:nth-child(2) {
		grid-column-end: span 1;
	}

	#cpt article.active .plus-dinfos .image img {
		pointer-events: none;
	}

}

/* ABOUT
--------------------------------------------- */

.about h1 {
	text-transform: uppercase;
	text-align: center;
}

/* ABOUT DESCRIPTION */

.about #description {
	display: block;
	padding: var(--padding-15);
	padding-bottom: 0;
/*	cursor: pointer;*/
}

#cpt.about .description-container {
	overflow: hidden;
	transition: max-height 0.25s ease-in;
	display: block;
	padding: 0 var(--padding-15) var(--padding-15) 0;
}

.about #description p {
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	text-align: left;
}

.about #description div:first-child {
	grid-column-start: 2;
	grid-column-end: span 4;
}

/* ABOUT ROWS */

#about-rows {
	width: 100%;
}

#about-rows .colonnes-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: var(--padding-15);
}

.colonnes-container {
	padding: var(--padding-15);
	padding-bottom: 0;
	margin-bottom: var(--main-line-height);
}

#about-rows a {
	text-decoration: underline;
}

#about-rows a:hover {
	text-decoration: none;
}

#about-rows ul {
	list-style: none;
	margin:0;
	padding: 0;
	padding-bottom: var(--padding-15);
}

@media (max-width: 800px) {
	#about-rows  {
		display: block;
	}
	#logotypes{
		display: none;
	}
	.about .plus-dinfos-row .btn-plus-dinfos {
		text-align: right;
		min-width: 150px;
		margin-top: 22px;
	}
}

/* ABOUT LOGOS */

.about #logotypes {
	width: 100%;
	padding: var(--padding-15);
}

.about #logotypes .logotypes-row:last-child{
	padding-bottom: 0;
}

.about #logotypes ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.about #logotypes li {
	padding-right: var(--padding-15);
}

.about #logotypes li {
  color: #888;
	width: 100%;
	height: auto;
	max-height: 3rem;
}


.about #logotypes li img {
    filter: grayscale(100%) brightness(0) saturate(100%);
    mix-blend-mode: multiply;
    opacity: 0.6; /* ajuste ton gris ici */
}

/* ABOUT MENTIONS */

.about #mentions {
	width: 100%;
	padding: var(--padding-15);
}

.mentions-paragraphe {
	columns: 2;
	column-gap: var(--padding-15);
	margin-top: var(--main-line-height);
}

@media (max-width: 800px) {

	#colonnes .colonnes-row {
		display: block;
	}



	.mentions-paragraphe {
		columns: 1;
		column-gap: var(--padding-15);
	}
}


/* ARTISTES
--------------------------------------------- */

.artistes {
	display: flex;
	flex-direction: column;
}

#cpt.artistes article .article-content {
	display: block;
}

.artistes .informations p {
	padding-bottom: var(--padding-15);
}


/* Calendar page
--------------------------------------------- */

#calendar {
	padding-bottom: 20vh;
}

#calendar .calendar-header-title {
	padding: var(--padding-15);
}

#calendar .calendar-header-title h1 {
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	margin: 0;
}

/* ul  */

#calendar ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

/* li  */

#calendar ul.calendar-row-list li.calendar-row {
	padding: var(--padding-15);
	padding-bottom: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-column-gap: var(--padding-15);
	overflow: hidden;
	transition: max-height 0.25s ease-in;
	min-height: calc(var(--main-line-height)*2);
	max-height: calc(var(--main-line-height)*2);
	cursor: pointer;
}

#calendar ul.calendar-row-list li.calendar-row.active {
	max-height: 1000px;
}

#calendar ul.calendar-row-list li.calendar-row .calendar-row-time {
	grid-column-end: span 1;
}

#calendar ul.calendar-row-list li.calendar-row article {
	grid-column-end: span 6;
}

#calendar ul.calendar-row-list li.calendar-row article .calendar-row-relation-list-item-content {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-column-gap: var(--padding-15);	
}

#calendar ul.calendar-row-list li.calendar-row .titre {
	grid-column-end: span 2;
	text-align: center;
}

#calendar ul.calendar-row-list li.calendar-row .titre h2 {
	text-transform: uppercase;
}

#calendar ul.calendar-row-list li.calendar-row .relation {
	grid-column-end: span 1;
}

#calendar ul.calendar-row-list li.calendar-row .relation h3 {
	text-transform: uppercase;
}

#calendar li .plus-dinfos {
	padding-bottom: var(--main-line-height);
}

#calendar .plus-dinfos .plus-dinfos-content {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-column-gap: var(--padding-15);
	padding: var(--padding-15);
}

#calendar .plus-dinfos .plus-dinfos-content p {
	margin: 0;
	margin-bottom: var(--main-line-height);
}

#calendar .plus-dinfos .plus-dinfos-content .image {
	grid-column-end: span 2;
}

#calendar .plus-dinfos .plus-dinfos-content .informations {
	grid-column-end: span 3;
}


@media (max-width: 768px) {
  #calendar ul.calendar-row-list 
  li.calendar-row 
  article 
  .calendar-row-relation-list-item-content {

    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
}


@media (max-width: 800px) {

#calendar ul.calendar-row-list li.calendar-row .titre {
	padding-bottom: var(--padding-15);
}

#calendar ul.calendar-row-list li.calendar-row .relation {
    grid-column-start: 2;
    text-align: left;
}

  .calendar-row-relation-list-item-content > *:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .calendar-row-relation-list-item-content > *:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .calendar-row-relation-list-item-content > *:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }  

	#cpt .plus {
		display: none;
	}

	#calendar .plus {
		display: none;
	}

	#calendar .calendar-row {
		display: block;
	}

	#calendar .calendar-row-time {
		position: absolute;
		text-align: right;
		right: var(--padding-15);
	}

	#calendar .plus-dinfos .image {
		padding-bottom: var(--main-line-height);
	}

	#cpt .plus-dinfos-content	{
		grid-template-columns: repeat(3, 1fr);
	}

	#cpt .plus-dinfos .image {
		grid-column-end: span 3;
		padding-bottom: var(--main-line-height);
	}

	#calendar .plus-dinfos-content {
		display: block;
	}

}


/* Informations page
--------------------------------------------- */
/* Map List */

#map-section {
/*	box-shadow: var(--box-shadow);*/
padding: var(--padding-15);
padding-bottom: 0;
}

#map-section.active {
	display: block;
	pointer-events: auto;
}

.map-section-cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	position: relative;
}

.map-list {
	padding: 0;
	columns: 2;
	gap: 0;
}

.map-list .lieu {
	text-transform: uppercase;
	text-align: center;
}

.map-list article.active {
	background: var(--background-g);
}

.map-list article {
	padding: var(--padding-15) !important;
}

.map-list article:last-child{
	border-bottom: transparent;
}

/* Map Leaflet */

.map-container {
	width: 100%;
	height: 100%;
}

#map {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: transparent;
}

.mapboxgl-map {
	opacity: .4 !important;
}


/**/

.leaflet-control-container {
	display: none;
}

.leaflet-container a {
	color: var(--color-gray);
	width: 100%;
}

.leaflet-bar {
	box-shadow: unset !important;
	border-radius: 0;
}

.leaflet-touch .leaflet-bar a {
	width: 100%;
	font-size: var(--title-font-size);
	font-family: var(--main-font-family);
	font-weight: normal;
	border: 0;
	background-color: transparent;
	height: var(--title-line-height)
	transition: transform .2s;
	border: 0px solid;
	padding-top: 5px;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 0;
	background-clip: unset;
}

.leaflet-top,
.leaflet-bottom {
	position: unset;
}

.leaflet-top .leaflet-control,
.leaflet-left .leaflet-control {
	margin: 0;
}

.leaflet-control-zoom {
	width: 100%;
	height: auto;
	display: block;
	position: absolute;
	top: 0;
	padding: var(--padding-15);
}

.leaflet-control-zoom a:hover {
	background-color: transparent;
}

/* Pop up */

.leaflet-container a.leaflet-popup-close-button {
	display: none;
}

.leaflet-popup-tip-container {
	display: none !important;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	background: var(--color-green);
	box-shadow: none;
	border: 0px solid var(--color-gray);
	border-radius: 0;
}

.leaflet-popup-content-wrapper:hover *,
.leaflet-popup-tip:hover * {
	color: var(--color-var);
}

.leaflet-popup-content-wrapper {
	text-align: center;
}

.leaflet-popup-content-wrapper {
	background: var(--color-green);
	text-align: left;
	border-radius: 0x;
	box-shadow: 0;
}

.leaflet-popup-content {
	margin: .5rem;
	line-height: var(--main-line-height);
	font-size: var(--main-font-size);
	font-family: var(--main-font-family);
	color: var(--color-gray);
}

.leaflet-popup-content * {
	margin: 0;
	text-align: left;
}

.leaflet-control-zoom-in {
	text-align: left;
}

.leaflet-control-zoom-out {
	text-align: right;
}

.leaflet-bar a, .leaflet-control-layers-toggle {
	background-position: unset;
	background-repeat: no-repeat;
	display: block;
}

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	bottom: 0;
	position: fixed;
}
