/* ==========================================================================
   L'Individu — feuille de style principale
   1. Polices et variables   2. Base   3. En-tête et menu   4. Rangées des pages
   5. Photographies   6. Texte   7. Blog   8. Formulaires et boutons
   9. Pied de page   10. Visionneuse   11. Divers
   ========================================================================== */

/* 1. Polices et variables
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #0a0a0a;
	--panel: #121212;
	--black: #000;
	--text: #ebe8e3;
	--muted: #9b978f;
	--line: rgba(255, 255, 255, 0.13);
	--accent: #ff9900;
	--accent-ink: #0a0a0a;

	--sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--serif: "Instrument Serif", "Times New Roman", serif;

	--header-h: 84px;
	--gutter: clamp(20px, 5vw, 64px);
	--gap: clamp(10px, 1.4vw, 22px);
	--space: clamp(64px, 9vw, 136px);
	--wide: 1640px;
	--page: 1240px;
	--read: 720px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	color-scheme: dark;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
	color: var(--accent);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

::selection {
	background: var(--accent);
	color: var(--accent-ink);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--sans);
	font-weight: 800;
	font-stretch: 118%;
	line-height: 1;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

p {
	margin: 0 0 1.2em;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 200;
	padding: 12px 18px;
	background: var(--accent);
	color: var(--accent-ink);
}

.container {
	width: 100%;
	max-width: calc(var(--page) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-main {
	min-height: 60vh;
	padding-top: var(--header-h);
}

.has-hero .site-main {
	padding-top: 0;
}

.icon {
	flex: none;
}

/* 3. En-tête et menu
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	background: rgba(10, 10, 10, 0.86);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

/* En haut de page, aucune ligne sous le menu : elle n'apparaît qu'une fois la page défilée. */
.site-header:not(.is-stuck) {
	border-bottom-color: transparent;
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* Sur une page qui s'ouvre par une grande image, l'en-tête est posé dessus jusqu'au premier défilement. */
.has-hero .site-header:not(.is-stuck):not(.is-open) {
	background: linear-gradient(rgba(0, 0, 0, 0.55), transparent) no-repeat;
	background-clip: padding-box;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom-color: transparent;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 100%;
	max-width: calc(var(--wide) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-right: auto;
	font-weight: 800;
	font-stretch: 125%;
	font-size: 17px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand:hover {
	color: var(--text);
}

.brand__logo {
	width: auto;
	height: 44px;
	object-fit: contain;
	transition: transform 0.5s var(--ease);
}

.brand:hover .brand__logo {
	transform: rotate(-8deg) scale(1.06);
}

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

.menu {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.2vw, 36px);
}

.menu a {
	position: relative;
	display: block;
	padding: 10px 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}

.menu > li > a:hover::after,
.menu > .current-menu-item > a::after,
.menu > .current-menu-ancestor > a::after,
.menu > .current_page_parent > a::after {
	transform: scaleX(1);
}

.menu a:hover,
.menu .current-menu-item > a {
	color: var(--text);
}

.menu .menu-item-has-children {
	position: relative;
}

.menu .menu-item-has-children > a {
	padding-right: 16px;
}

.menu .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -22px;
	min-width: 200px;
	padding: 12px 22px;
	background: rgba(10, 10, 10, 0.96);
	border: 1px solid var(--line);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.menu .sub-menu a:hover,
.menu .sub-menu .current-menu-item > a {
	color: var(--accent);
}

.site-header__tools {
	display: flex;
	align-items: center;
	gap: 6px;
}

.tool {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
}

.tool__count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.burger {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
}

.burger span {
	position: absolute;
	left: 10px;
	right: 10px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.burger span:first-child {
	top: 17px;
}

.burger span:last-child {
	top: 26px;
}

.is-open .burger span:first-child {
	top: 21px;
	transform: rotate(45deg);
}

.is-open .burger span:last-child {
	top: 21px;
	transform: rotate(-45deg);
}

@media (max-width: 1180px) {
	:root {
		--header-h: 68px;
	}

	.burger {
		display: block;
	}

	.brand__name {
		display: none;
	}

	/* Pas de flou d'arrière-plan ici : il enfermerait le menu plein écran dans la hauteur de l'en-tête. */
	.site-header {
		background: rgba(10, 10, 10, 0.97);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		display: flex;
		padding: 24px var(--gutter) 48px;
		background: var(--bg);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s var(--ease), visibility 0.3s;
	}

	.admin-bar .site-nav {
		top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px));
	}

	.is-open .site-nav {
		opacity: 1;
		visibility: visible;
	}

	.menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
		margin-block: auto;
	}

	.menu > li {
		width: 100%;
		border-bottom: 1px solid var(--line);
	}

	.menu > li > a {
		padding: 16px 0;
		font-size: clamp(22px, 6vw, 30px);
		font-weight: 800;
		font-stretch: 118%;
		letter-spacing: -0.01em;
		line-height: 1.05;
	}

	.menu > li > a::after,
	.menu .menu-item-has-children > a::before {
		display: none;
	}

	/* « Galeries » n'est qu'un intitulé : sur téléphone on montre directement ses galeries, l'une sous l'autre, en retrait. */
	.menu .menu-item-has-children > a {
		padding-bottom: 6px;
		font-size: 15px;
		font-weight: 600;
		font-stretch: 100%;
		letter-spacing: 0.18em;
		color: var(--muted);
	}

	.menu .menu-item-has-children > a[href="#"] {
		pointer-events: none;
	}

	.menu .sub-menu {
		position: static;
		display: block;
		margin: 4px 0 16px;
		padding: 0 0 0 18px;
		background: none;
		border: 0;
		border-left: 1px solid var(--line);
		opacity: 1;
		visibility: inherit;
		transform: none;
	}

	.menu .sub-menu a {
		display: block;
		padding: 7px 0;
		font-size: clamp(20px, 5.4vw, 26px);
		font-weight: 800;
		font-stretch: 118%;
		letter-spacing: -0.01em;
		line-height: 1.1;
	}
}

/* 4. Rangées des pages
   -------------------------------------------------------------------------- */
.row {
	position: relative;
	padding-block: var(--space);
}

/* Deux rangées de même fond qui se suivent ne doublent pas leur marge. */
.row:not(.row--black):not(.row--panel):not(.row--hero) + .row:not(.row--black):not(.row--panel):not(.row--hero) {
	padding-top: 0;
}

.row--black {
	background: var(--black);
}

.row--panel {
	background: var(--panel);
}

.row__inner,
.col {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--gap);
}

.row__inner {
	position: relative;
	max-width: calc(var(--page) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
	row-gap: clamp(28px, 4vw, 56px);
}

.row--gallery .row__inner {
	max-width: calc(var(--wide) + 2 * var(--gutter));
}

.col,
.col > *,
.row__inner > * {
	grid-column: 1 / -1;
}

.col {
	row-gap: clamp(22px, 3vw, 44px);
	align-content: start;
}

@media (min-width: 901px) {
	.row__inner > .col--3 { grid-column: span 3; }
	.row__inner > .col--4 { grid-column: span 4; }
	.row__inner > .col--6 { grid-column: span 6; }
	.row__inner > .col--8 { grid-column: span 8; }
	.row__inner > .col--9 { grid-column: 2 / span 10; }
	.row__inner > .col--10 { grid-column: 2 / span 10; }
}

/* Section en deux colonnes : grand portrait à gauche, titre et texte à droite (Biographie). */
.row--split .row__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 3.4vw, 56px);
	align-items: start;
	max-width: calc(var(--wide) + 2 * var(--gutter));
}

.row--split .row__inner > * {
	grid-column: auto;
}

.split__photo {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	width: 100%;
	aspect-ratio: 4 / 5;
	max-height: calc(100vh - var(--header-h) - 48px);
	margin: 0;
	overflow: hidden;
	background: var(--panel);
}

.split__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.split__text {
	display: grid;
	gap: clamp(22px, 3vw, 40px);
	padding-block: clamp(0px, 3vw, 48px);
}

.page-built .split__text .prose h1 {
	text-align: left !important;
}

.page-built .split__text .prose p {
	max-width: 62ch;
	margin-inline: 0;
}

.page-built .split__text .prose > p:first-of-type strong:only-child {
	display: block;
	font-size: clamp(18px, 1.5vw, 21px);
	font-weight: 500;
	line-height: 1.55;
	color: var(--text);
}

@media (max-width: 900px) {
	.row--split .row__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.split__photo {
		position: static;
		max-height: none;
		aspect-ratio: 3 / 2;
	}
}

/* Première image, plein écran */
.row--hero {
	display: grid;
	align-items: end;
	min-height: 100vh;
	min-height: 100svh;
	padding-block: calc(var(--header-h) + 40px) clamp(64px, 10vh, 120px);
	overflow: hidden;
	background: var(--black);
	isolation: isolate;
}

.row__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: hero-zoom 18s var(--ease) both;
}

.row--hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(10, 10, 10, 0.92) 100%);
}

@keyframes hero-zoom {
	from { transform: scale(1.12); }
	to { transform: scale(1); }
}

.row--hero .row__inner {
	width: 100%;
	max-width: calc(var(--wide) + 2 * var(--gutter));
}

.row--hero .prose h1,
.page-built .row--hero .prose h1 {
	margin: 0;
	font-size: clamp(36px, 4.35vw, 62px);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-align: left !important;
	animation: rise 1.1s var(--ease) 0.15s both;
}

@keyframes rise {
	from { opacity: 0; transform: translateY(40px); }
	to { opacity: 1; transform: none; }
}

.row__scroll {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(64px, 10vh, 120px);
	width: 1px;
	height: 84px;
	background: linear-gradient(var(--text) 50%, rgba(255, 255, 255, 0.2) 50%);
	background-size: 100% 200%;
	animation: scroll-line 2.2s linear infinite;
}

@keyframes scroll-line {
	from { background-position: 0 100%; }
	to { background-position: 0 -100%; }
}

/* Écran en hauteur : on cadre la photo sur le regard plutôt que sur son centre, qui est sombre. */
@media (max-aspect-ratio: 4 / 5) {
	.row__bg {
		object-position: 16% 50%;
	}

	.row--hero::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 35%, rgba(10, 10, 10, 0.95) 88%);
	}

	.row__scroll {
		display: none;
	}
}

/* 5. Photographies
   -------------------------------------------------------------------------- */
.gallery-wrap {
	container-type: inline-size;
}

/* Texte de conclusion sous une mosaïque : de l'air, un filet orange, la phrase en serif. */
.gallery-wrap + .prose {
	margin-top: clamp(48px, 7vw, 104px);
	padding-top: clamp(28px, 3.4vw, 44px);
	position: relative;
	text-align: center;
}

.gallery-wrap + .prose::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 56px;
	height: 1px;
	margin-left: -28px;
	background: var(--accent);
}

/* Un texte resté hors de toute rangée (page mal fermée dans le constructeur) garde les marges de la page. */
.page-built > .prose {
	padding-inline: var(--gutter);
	padding-bottom: var(--space);
}

.page-built .gallery-wrap + .prose p,
.page-built .gallery-wrap + .prose p:is([style], [class]) {
	max-width: 30em;
	margin-inline: auto;
	font-family: var(--serif);
	font-size: clamp(21px, 2.2vw, 30px);
	line-height: 1.3;
	color: var(--text);
}

.prose + .gallery-wrap {
	margin-top: clamp(8px, 1.4vw, 20px);
}

/* Mosaïque : quatre colonnes, des cases en hauteur (2:3). Une photo en largeur prend deux cases. */
.gallery {
	--cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * 1.5);
	grid-auto-flow: dense;
	gap: var(--gap);
}

.gallery .shot--wide {
	grid-column: span 2;
}

.gallery__text {
	display: grid;
	place-items: center;
	padding: clamp(12px, 2vw, 32px);
	border: 1px solid var(--line);
	text-align: center;
}

@media (max-width: 900px) {
	.gallery {
		--cols: 2;
	}

	.gallery__text {
		grid-column: span 2;
	}
}

.shot {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--panel);
}

.shot__link {
	position: absolute;
	inset: 0;
	display: block;
	color: var(--text);
}

.shot__link:hover {
	color: var(--text);
}

.shot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.shot__link:hover img,
.shot__link:focus-visible img {
	transform: scale(1.045);
}

.shot__label {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 56px 18px 16px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.shot__link:hover .shot__label,
.shot__link:focus-visible .shot__label {
	opacity: 1;
	transform: none;
}

.shot__title {
	font-size: clamp(13px, 1.1vw, 17px);
	font-weight: 800;
	font-stretch: 118%;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-transform: uppercase;
}

.shot__cta {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
}

/* Sans survol (téléphone, tablette) le titre de la photo reste affiché. */
@media (hover: none) {
	.shot__label {
		opacity: 1;
		transform: none;
		padding: 40px 12px 10px;
	}
}

/* Alignements écrits par l'éditeur de blocs. */
.has-text-align-center {
	text-align: center;
}

.has-text-align-right {
	text-align: right;
}

.prose mark.has-inline-color {
	background: none;
}

/* 6. Texte
   -------------------------------------------------------------------------- */
.prose > :last-child {
	margin-bottom: 0;
}

.prose a:not(.button):not(.wp-element-button) {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

.prose a:not(.button):not(.wp-element-button):hover {
	color: var(--accent);
}

.prose strong,
.prose b {
	font-weight: 700;
}

.prose ul,
.prose ol {
	margin: 0 0 1.4em;
	padding-left: 1.2em;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose li::marker {
	color: var(--accent);
}

.prose blockquote {
	margin: 2em 0;
	padding-left: 1.2em;
	border-left: 1px solid var(--accent);
	font-family: var(--serif);
	font-size: 1.5em;
	font-style: italic;
	line-height: 1.3;
}

.prose hr,
.wp-block-separator {
	height: 1px;
	margin: 3em 0;
	border: 0;
	background: var(--line);
}

.prose figure {
	margin: 2.2em 0;
}

.prose figcaption {
	margin-top: 0.8em;
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}

.prose table {
	width: 100%;
	margin-bottom: 1.6em;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

/* Dans un même bloc de lecture : l'écart entre un titre et ce qui le suit, et avant un titre. */
.page-built .prose > :is(h1, h2, h3) + *,
.page-built .prose > * + :is(h1, h2, h3) {
	margin-top: clamp(22px, 3vw, 44px);
}

/* Pages écrites avec le constructeur : titres d'affiche, phrases d'intention en serif. */
.page-built .prose h1,
.page-head__title {
	margin: 0;
	font-size: clamp(29px, 3.8vw, 54px);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 1.02;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

.page-built > .row:first-child:not(.row--hero) {
	padding-top: clamp(56px, 8vw, 112px);
}

.page-built .prose h2 {
	margin: 0;
	font-size: clamp(23px, 2.75vw, 40px);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 0.95;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.page-built .prose h3 {
	max-width: 24em;
	margin: 0 auto;
	font-family: var(--serif);
	font-size: clamp(21px, 2.3vw, 32px);
	font-weight: 400;
	font-stretch: 100%;
	line-height: 1.16;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

.page-built .prose h3 strong,
.page-built .prose h3 em {
	font-weight: 400;
	font-style: italic;
	color: var(--accent);
}

.page-built .prose h4,
.page-built .prose h5,
.page-built .prose h6 {
	font-size: 14px;
	font-weight: 600;
	font-stretch: 100%;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--muted);
}

.page-built .prose > p,
.page-built .prose > div:not([class]) > p,
.page-built .prose > div > div > div > p {
	max-width: var(--read);
	margin-inline: auto;
}

.page-built .prose p:is([style*="center"], .has-text-align-center) {
	color: #cfcbc4;
	font-size: clamp(17px, 1.5vw, 20px);
}

/* Une phrase seule, juste sous le titre de la page (Manifeste) : c'est son sous-titre, présenté comme celui des galeries. */
.page-built > .row:first-child + .row:has(.prose > h3:only-child) {
	margin-top: calc(clamp(28px, 4vw, 56px) - var(--space));
	padding-block: 0;
	background: none;
}

.page-built > .row:first-child + .row .prose > h3:only-child,
.page-built > .row:first-child + .row .prose > h3:only-child * {
	max-width: var(--read);
	font-family: var(--serif);
	font-size: clamp(21px, 1.9vw, 27px);
	font-style: normal;
	font-weight: 400;
	line-height: 1.32;
	color: #dedad3 !important;
}

/* Manifeste : un texte qui se lit comme une déclaration. Chaque strophe s'allume quand elle arrive au centre de l'écran. */
.page-manifeste .page-built > .row:nth-child(n + 3) .prose > p {
	max-width: 30em;
	margin-bottom: 1.7em;
	font-size: clamp(19px, 1.75vw, 25px);
	line-height: 1.55;
	color: var(--text);
}

/* La première phrase ouvre le texte : une étiquette orange, texte sombre. */
.page-manifeste .page-built > .row:nth-child(3) .prose > p:first-child {
	width: fit-content;
	max-width: 100%;
	margin-bottom: 1.2em;
	padding: 8px 16px 6px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: clamp(24px, 2.8vw, 40px);
	font-weight: 900;
	font-stretch: 125%;
	letter-spacing: -0.015em;
	line-height: 1.05;
	text-transform: uppercase;
}

/* Les mots qu'il a mis en gras : serif italique, orange. */
.page-manifeste .page-built > .row:nth-child(n + 3) .prose > p strong {
	font-family: var(--serif);
	font-size: 1.16em;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
	color: var(--accent);
}

/* Fin du manifeste : la question, seule, puis l'invitation à écrire. */
.page-manifeste .page-built > .row:nth-child(n + 3) .prose > h3 {
	position: relative;
	max-width: none;
	margin-top: clamp(56px, 8vw, 120px);
	padding-top: clamp(56px, 7vw, 104px);
	font-size: clamp(32px, 4.5vw, 66px);
	font-style: italic;
	line-height: 1.02;
	letter-spacing: -0.01em;
	color: var(--text);
}

/* Un trait vertical orange descend vers la question. */
.page-manifeste .page-built > .row:nth-child(n + 3) .prose > h3::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 1px;
	height: clamp(36px, 5vw, 72px);
	background: var(--accent);
}

.page-manifeste .page-built > .row:nth-child(n + 3) .prose > h3 strong {
	color: var(--text);
}

/* Le manifeste se termine sur la question : le bouton qui la suivait dans la page n'est plus affiché. */
.page-manifeste .page-built > .row:nth-child(n + 3) .prose > h3 ~ * {
	display: none;
}

.js .spot > p {
	opacity: 0.26;
	transition: opacity 0.7s var(--ease);
}

/* L'étiquette orange du début ne s'efface jamais. */
.js .spot > p.is-lit,
.js .page-manifeste .page-built > .row:nth-child(3) .spot > p:first-child {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.js .spot > p {
		opacity: 1;
	}
}

/* Sous-titre d'une page : le texte qui suit son titre, en serif. */
.page-built > .row:first-child .prose p:is([style*="center"], .has-text-align-center):not(.gallery__text p):not(.gallery-wrap + .prose p),
.prose--page:has(.expos) > p,
.page-head__lead,
.woocommerce-products-header .term-description,
.woocommerce-products-header .page-description {
	font-family: var(--serif);
	font-size: clamp(21px, 1.9vw, 27px);
	line-height: 1.32;
	color: #dedad3;
}

.gallery__text .prose p {
	font-family: var(--serif);
	font-size: clamp(18px, 1.6vw, 23px);
	font-style: italic;
	line-height: 1.3;
}

/* Expositions (page Biographie) : trois chiffres, le bandeau des villes, puis l'index des lieux. */
.expos {
	min-width: 0;
	text-align: left;
}

/* Le bandeau qui défile ne doit pas élargir la page. */
.col > .prose,
.split__text > * {
	min-width: 0;
}

.prose .expos .expos__count {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: none;
	margin: 0;
	border-block: 1px solid var(--line);
}

.expos__count span {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: clamp(22px, 3vw, 40px) 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
}

.expos__count span + span {
	border-left: 1px solid var(--line);
}

.expos__count strong {
	font-size: clamp(36px, 4.6vw, 64px);
	font-weight: 900;
	font-stretch: 125%;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--text);
}

/* Bandeau des villes */
.expos__band {
	contain: inline-size;
	overflow: hidden;
	padding-block: 18px;
	border-bottom: 1px solid var(--line);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.expos__track {
	display: flex;
	width: max-content;
	animation: expos-band 70s linear infinite;
}

.expos__band:hover .expos__track {
	animation-play-state: paused;
}

.expos__track span {
	display: flex;
	align-items: center;
	font-family: var(--serif);
	font-size: clamp(20px, 2vw, 26px);
	font-style: italic;
	white-space: nowrap;
	color: #cfcbc4;
}

.expos__track span::after {
	content: "";
	width: 5px;
	height: 5px;
	margin-inline: clamp(16px, 2vw, 28px);
	border-radius: 50%;
	background: var(--accent);
}

@keyframes expos-band {
	to { transform: translateX(-50%); }
}

/* Les étapes de la tournée : un bloc par continent, une ligne par lieu, sur toute la largeur. */
.expos__legs {
	width: 70%;
	margin: clamp(32px, 4.4vw, 64px) auto 0;
}

@media (max-width: 900px) {
	.expos__legs {
		width: 100%;
	}
}

.expos__leg {
	break-inside: avoid;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.prose .expos .expos__continent {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	max-width: none;
	margin: 0;
	border-bottom: 2px solid var(--accent);
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 900;
	font-stretch: 125%;
	letter-spacing: -0.01em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--text);
}

/* Le nom du continent : une étiquette orange, texte sombre. */
.expos__continent > span:first-child {
	padding: 6px 12px 5px;
	background: var(--accent);
	color: var(--accent-ink);
}

.expos__dates {
	padding-bottom: 9px;
	font-size: 11px;
	font-weight: 600;
	font-stretch: 100%;
	letter-spacing: 0.18em;
	white-space: nowrap;
	color: var(--accent);
}

.prose .expos__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.prose .expo {
	margin: 0;
	border-bottom: 1px solid var(--line);
}

/* Chaque ligne : (année) · logo · ville et pays · lieu. Les textes passent à la ligne, ils ne se chevauchent jamais. */
.prose .expo__row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 10px 14px 6px;
	color: var(--text);
	text-decoration: none;
	transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.expo:hover .expo__row {
	padding-left: 14px;
	background: rgba(255, 255, 255, 0.045);
}

.expo__year {
	margin-left: 8px;
	font-size: 13px;
	font-weight: 700;
	font-stretch: 100%;
	letter-spacing: 0.06em;
	white-space: nowrap;
	color: var(--accent);
}

.expo__logo {
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 50%;
	background: #1c1c1c;
}

.expo__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	opacity: 0.8;
	transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.expo:hover .expo__logo img {
	filter: none;
	opacity: 1;
}

.expo__place {
	display: grid;
	flex: 0 1 auto;
	gap: 3px;
	min-width: 0;
}

.expo__city {
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 800;
	font-stretch: 118%;
	letter-spacing: -0.005em;
	line-height: 1.1;
	text-transform: uppercase;
	overflow-wrap: break-word;
	transition: color 0.3s var(--ease);
}

.expo:hover .expo__city {
	color: var(--accent);
}

.expo__country {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.expo__name {
	flex: 1 1 0;
	min-width: 30%;
	font-size: 15px;
	line-height: 1.3;
	text-align: right;
	overflow-wrap: break-word;
	color: #cfcbc4;
}

.expo__name strong {
	font-weight: 400;
}

@media (max-width: 560px) {
	.prose .expo__row {
		flex-wrap: wrap;
		gap: 4px 14px;
	}

	.expo__logo {
		width: 40px;
		height: 40px;
	}

	.expo__place {
		flex: 1 1 0;
	}

	.expo__name {
		flex: 1 1 100%;
		padding-left: 54px;
		font-size: 14px;
		text-align: left;
	}
}

/* Page « Expositions » : la tournée prend toute la largeur, le texte d'introduction reste en colonne. */
.prose--page:has(.expos) {
	max-width: calc(var(--page) + 2 * var(--gutter));
}

.prose--page:has(.expos) > p {
	max-width: var(--read);
	margin-inline: auto;
	text-align: center;
}

.prose--page .expos {
	margin-top: clamp(32px, 4vw, 56px);
}

/* Résumé des expositions sur la Biographie. */
.expos-teaser {
	display: grid;
	gap: clamp(24px, 3vw, 40px);
}

.page-built .prose .expos-teaser__more {
	max-width: none;
	margin: 0;
	text-align: center;
}

/* Œuvres exposées dans un lieu : une rangée de vignettes sous la ligne du lieu. */
.expo__works {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 10px 14px 66px;
}

.prose a.expo__work {
	display: block;
	width: 58px;
	height: 58px;
	overflow: hidden;
	background: var(--panel);
}

.expo__work img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.35);
	transition: transform 0.6s var(--ease), filter 0.3s var(--ease);
}

.expo__work:hover img {
	transform: scale(1.08);
	filter: none;
}

@media (max-width: 560px) {
	.expo__works {
		padding-left: 54px;
	}

	.prose a.expo__work {
		width: 50px;
		height: 50px;
	}
}

/* En-tête des pages sans constructeur */
.page-head {
	max-width: calc(var(--page) + 2 * var(--gutter));
	margin-inline: auto;
	padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(36px, 5vw, 72px);
}

.page-head__kicker,
.meta {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.meta a:hover {
	color: var(--accent);
}

.page-head__lead {
	max-width: var(--read);
	margin-top: 24px;
	color: var(--muted);
}

/* Pages simples (compte, panier, mentions légales…) : titre centré, comme sur les autres pages. */
.page-plain .page-head {
	text-align: center;
}

/* Panier et commande occupent toute la largeur : leur titre reste à gauche, au-dessus du contenu. */
.woocommerce-cart .page-plain .page-head,
.woocommerce-checkout .page-plain .page-head {
	text-align: left;
}

.page-plain .page-head__title,
.page-head--post .page-head__title {
	font-size: clamp(25px, 3.1vw, 44px);
}

.prose--page,
.prose--post {
	max-width: calc(var(--read) + 2 * var(--gutter));
	padding-bottom: var(--space);
}

.prose--post {
	font-size: 18px;
}

.prose--page h2,
.prose--post h2 {
	margin: 2em 0 0.6em;
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 800;
	line-height: 1.12;
}

.prose--page h3,
.prose--post h3 {
	margin: 2em 0 0.6em;
	font-size: clamp(19px, 2vw, 24px);
	font-weight: 700;
	font-stretch: 108%;
	line-height: 1.2;
	letter-spacing: -0.005em;
}

.prose--page h4,
.prose--post h4 {
	margin: 1.8em 0 0.5em;
	font-size: 17px;
	font-weight: 700;
	font-stretch: 100%;
	letter-spacing: 0;
	line-height: 1.3;
}

/* Les pages du panier, de la commande et du compte ont besoin de toute la largeur. */
.woocommerce-cart .prose--page,
.woocommerce-checkout .prose--page,
.woocommerce-account .prose--page {
	max-width: calc(var(--page) + 2 * var(--gutter));
}

/* 7. Blog
   -------------------------------------------------------------------------- */
.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 3.4vw, 56px) clamp(18px, 2.4vw, 36px);
	padding-bottom: var(--space);
}

.row .cards {
	padding-bottom: 0;
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.card__media {
	display: block;
	aspect-ratio: 3 / 2;
	margin-bottom: 20px;
	overflow: hidden;
	background: var(--panel);
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}

.card:hover .card__media img {
	transform: scale(1.05);
}

.card .meta {
	margin-bottom: 10px;
}

.card .meta a {
	position: relative;
	z-index: 2;
}

.card__title {
	margin: 0 0 12px;
	font-size: clamp(20px, 1.8vw, 26px);
	font-weight: 800;
	font-stretch: 112%;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

/* Toute la carte est cliquable. */
.card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

.card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
}

.card__more .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.35s var(--ease);
}

.card:hover .card__more .icon {
	transform: translateX(6px);
}

@media (max-width: 1000px) {
	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

.post-single__cover {
	max-width: calc(var(--page) + 2 * var(--gutter));
	margin: 0 auto clamp(36px, 5vw, 72px);
	padding-inline: var(--gutter);
}

.post-single__cover img {
	width: 100%;
	max-height: 78vh;
	object-fit: cover;
}

.post-single__foot {
	max-width: calc(var(--read) + 2 * var(--gutter));
	padding-bottom: var(--space);
}

.tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 6px 12px;
	border: 1px solid var(--line);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.post-nav__dir {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.post-nav__title {
	font-size: 18px;
	font-weight: 700;
	font-stretch: 108%;
	line-height: 1.25;
}

.pagination,
.woocommerce-pagination {
	padding-bottom: var(--space);
}

.pagination .nav-links,
.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-numbers:not(ul) {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--line);
	font-size: 14px;
	font-weight: 600;
}

.page-numbers.current {
	background: var(--text);
	border-color: var(--text);
	color: var(--bg);
}

a.page-numbers:hover {
	border-color: var(--accent);
}

.comments {
	max-width: calc(var(--read) + 2 * var(--gutter));
	padding-bottom: var(--space);
}

.comments__title,
.comment-reply-title {
	font-size: 22px;
}

.comments__list,
.comments__list ol {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.comments__list ol {
	margin: 0 0 0 28px;
}

.comment-body {
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.comment-meta {
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--muted);
}

.comment-author img {
	margin-right: 10px;
	border-radius: 50%;
}

.comment-author .fn {
	color: var(--text);
	font-weight: 700;
	font-style: normal;
}

/* 8. Formulaires et boutons
   -------------------------------------------------------------------------- */
.button,
.wp-element-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 30px;
	background: var(--text);
	border: 1px solid var(--text);
	border-radius: 0;
	color: var(--bg);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}

.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
}

.button--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line);
}

.button:disabled,
.button.disabled,
button[type="submit"]:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: 0;
	color: var(--text);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

textarea {
	min-height: 170px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: 0;
	border-color: var(--accent);
	background: rgba(255, 255, 255, 0.07);
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--accent);
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 560px;
}

/* Contact Form 7 */
.wpcf7 {
	max-width: 640px;
	margin-inline: auto;
	text-align: left;
}

.page-built .prose .wpcf7 p {
	max-width: none;
	margin: 0 0 22px;
	font-size: 17px;
	color: var(--text);
}

.wpcf7 br {
	display: none;
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
	color: #ff7a6b;
}

.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--line);
	font-size: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #6fcf97;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: #ff7a6b;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

/* Le bouton d'envoi est centré ; le témoin d'envoi se pose à sa droite sans le décaler. */
.wpcf7 p:has(> .wpcf7-submit) {
	position: relative;
	text-align: center;
}

.wpcf7 .wpcf7-spinner {
	position: absolute;
	top: 50%;
	margin: -12px 0 0 12px;
}

/* Captcha en images de l'extension « CF7 Image Captcha » : la consigne, puis trois grandes cases centrées. */
.wpcf7 .captcha-image {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: auto;
	padding: 22px 16px 24px;
	border: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
	text-align: center;
}

.wpcf7 .cf7ic_instructions {
	flex: 1 1 100%;
	margin-bottom: 4px;
}

.wpcf7 .cf7ic_instructions span {
	color: var(--accent);
	font-weight: 700;
}

.wpcf7 .captcha-image > label {
	margin: 0;
	line-height: 0;
	cursor: pointer;
	color: var(--text);
}

.wpcf7 .captcha-image > label > input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.wpcf7 .captcha-image > label > input + svg {
	box-sizing: border-box;
	width: 64px;
	height: 64px;
	padding: 16px;
	border: 1px solid var(--line);
	transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.wpcf7 .captcha-image > label:hover > input + svg {
	border-color: var(--text);
}

.wpcf7 .captcha-image > label > input:checked + svg,
.wpcf7 .captcha-image > label > input:focus-visible + svg {
	border: 1px solid var(--accent);
	color: var(--accent);
}

/* 9. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--black);
	border-top: 1px solid var(--line);
	overflow: hidden;
}

.site-footer__inner {
	max-width: calc(var(--wide) + 2 * var(--gutter));
	margin-inline: auto;
	padding: 0 var(--gutter) 28px;
}

/* Bande du haut : le logo, la phrase, les réseaux sociaux. */
.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	padding-block: clamp(22px, 2.6vw, 34px);
	border-bottom: 1px solid var(--line);
}

/* Lettre d'information (formulaire de MC4WP) : le texte à gauche, l'adresse et le bouton à droite. */
.site-footer__news {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 40px;
	padding-block: clamp(22px, 2.6vw, 34px);
	border-bottom: 1px solid var(--line);
}

.site-footer__news p {
	margin: 0;
}

.site-footer__news-title {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.site-footer__news-line {
	margin-top: 6px !important;
	font-size: 15px;
	color: var(--text);
}

.site-footer__news .mc4wp-form {
	flex: 1 1 340px;
	max-width: 520px;
}

.site-footer__news .mc4wp-form-fields {
	display: flex;
	gap: 8px;
}

.site-footer__news .mc4wp-form-fields > p:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

/* Formulaire dont le champ et le bouton sont réunis dans un seul bloc. */
.site-footer__news .mc4wp-form-fields > div:only-child {
	display: flex;
	flex: 1 1 auto;
	gap: 8px;
	min-width: 0;
}

.site-footer__news .mc4wp-form-fields > div:only-child > input[type="email"] {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.site-footer__news .mc4wp-form label {
	display: block;
	font-size: 0; /* l'intitulé reste pour les lecteurs d'écran, le champ dit déjà ce qu'on attend */
}

.site-footer__news .mc4wp-form input[type="email"],
.site-footer__news .mc4wp-form input[type="text"] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--panel);
	color: var(--text);
	font: inherit;
	font-size: 15px;
}

.site-footer__news .mc4wp-form input[type="email"]:focus {
	border-color: var(--accent);
	outline: none;
}

.site-footer__news .mc4wp-form input[type="submit"],
.site-footer__news .mc4wp-form button[type="submit"] {
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 0;
	background: var(--accent);
	color: var(--accent-ink);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.site-footer__news .mc4wp-response {
	margin-top: 8px;
	font-size: 14px;
	color: var(--muted);
}

@media (max-width: 560px) {
	.site-footer__news .mc4wp-form-fields,
	.site-footer__news .mc4wp-form-fields > div:only-child {
		flex-direction: column;
	}

	.site-footer__news .mc4wp-form input[type="submit"],
	.site-footer__news .mc4wp-form button[type="submit"] {
		width: 100%;
	}
}

.site-footer__top .brand {
	margin-right: 0;
}

.site-footer__top .brand__name {
	display: block;
}

.site-footer__line {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(19px, 1.7vw, 23px);
	font-style: italic;
	line-height: 1.2;
	color: var(--accent);
}

.site-footer__follow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	font-size: 14px;
	color: var(--muted);
}

/* Colonnes de liens */
.footer-cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px clamp(20px, 3vw, 56px);
	padding-block: clamp(36px, 4.4vw, 60px);
}

.footer-col__title {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 700;
	font-stretch: 112%;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: var(--text);
}

.footer-col__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.4;
}

.footer-col__list a {
	color: var(--muted);
}

.footer-col__list a:hover {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-underline-offset: 0.25em;
}

@media (max-width: 800px) {
	.footer-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__follow {
		margin-left: 0;
		flex-basis: 100%;
	}
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--muted);
}

.site-footer__copy {
	margin: 0 auto 0 0;
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social {
	display: flex;
	gap: 4px;
}

.social a {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	color: var(--text);
}

.social .icon {
	width: 30px;
	height: 30px;
}

.social a:hover {
	color: var(--accent);
}

/* 10. Visionneuse
   -------------------------------------------------------------------------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 72px;
	align-items: center;
	background: rgba(0, 0, 0, 0.97);
	animation: fade 0.3s var(--ease);
}

.lightbox[hidden] {
	display: none;
}

@keyframes fade {
	from { opacity: 0; }
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 100vh;
	height: 100dvh;
	margin: 0;
	padding: 56px 0 24px;
}

.lightbox__img {
	max-width: 100%;
	max-height: calc(100% - 40px);
	object-fit: contain;
	transition: opacity 0.25s var(--ease);
}

.lightbox__img.is-loading {
	opacity: 0;
}

.lightbox__caption {
	min-height: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.lightbox button {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto;
	padding: 0;
	background: none;
	border: 0;
	color: var(--text);
	cursor: pointer;
	transition: color 0.25s var(--ease);
}

.lightbox button:hover {
	color: var(--accent);
}

.lightbox__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
}

@media (max-width: 700px) {
	.lightbox {
		grid-template-columns: minmax(0, 1fr);
	}

	.lightbox__nav {
		position: absolute;
		bottom: 8px;
		z-index: 2;
	}

	.lightbox__nav--prev {
		left: 8px;
	}

	.lightbox__nav--next {
		right: 8px;
	}

	.lightbox__figure {
		padding: 64px 12px 72px;
	}
}

.is-locked {
	overflow: hidden;
}

/* 11. Divers
   -------------------------------------------------------------------------- */
.lost {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 8px;
	min-height: calc(100vh - var(--header-h));
	padding: 64px var(--gutter);
	text-align: center;
}

.lost__code {
	margin: 0;
	font-size: clamp(120px, 30vw, 420px);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 0.8;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.lost__title {
	font-size: clamp(22px, 2.8vw, 36px);
	text-transform: uppercase;
}

.lost__text {
	color: var(--muted);
}

.lost__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 12px;
}

.empty {
	padding-bottom: var(--space);
	color: var(--muted);
}

/* Blocs de l'éditeur */
.alignwide {
	width: min(var(--page), 100vw - 2 * var(--gutter));
	max-width: none;
	margin-inline: calc((100% - min(var(--page), 100vw - 2 * var(--gutter))) / 2);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw);
}

.aligncenter {
	display: block;
	margin-inline: auto;
	text-align: center;
}

.wp-block-image img {
	height: auto;
}

/* Apparition des blocs au défilement (seulement si le script tourne). */
.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
	transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.lightbox {
		display: none;
	}

	body {
		background: #fff;
		color: #000;
	}
}

/* Bandeau cookies : une barre en bas de l'écran, deux boutons. */
.consent {
	position: fixed;
	z-index: 90;
	right: 16px;
	bottom: 16px;
	left: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	max-width: 760px;
	margin-inline: auto;
	padding: 14px 16px 14px 20px;
	border: 1px solid var(--line);
	background: var(--panel);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.consent[hidden] {
	display: none;
}

.consent p {
	margin: 0;
}

.consent__text {
	flex: 1 1 260px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--text);
}

.consent__text a {
	color: var(--accent);
	white-space: nowrap;
}

.consent__actions {
	display: flex;
	gap: 8px;
}

.consent__button {
	height: 40px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: none;
	color: var(--text);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

.consent__button:hover {
	border-color: var(--text);
}

.consent__button--yes {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--accent-ink);
}

@media (max-width: 560px) {
	.consent {
		right: 0;
		bottom: 0;
		left: 0;
		padding: 14px 16px;
	}

	.consent__actions {
		flex: 1 1 100%;
	}

	.consent__button {
		flex: 1 1 0;
	}
}

@media print {
	.consent {
		display: none;
	}
}
