/*==============================================================
	ALIPIGE — feuille de style principale (modernisation 2026)

	Identité conservée : mise en page d'origine, style angulaire (aucun
	arrondi, aplats et cadres noirs), couleurs franches du site d'origine
	(bleu pur, rose #ff6a83, jaune #febc21, noir et blanc), titres en
	Anton espacés, texte en Roboto ; polices auto-hébergées.
	Modernisation : rythme, survols, ombres franches décalées (sans flou),
	mobile.

	Sommaire : 1. polices · 2. variables · 3. base · 4. mise en page
	5. boutons · 6. en-tête · 7. pied de page · 8. accueil
	9. grilles d'œuvres · 10. pages intérieures · 11. formulaires
	12. alertes · 13. visionneuse · 14. impression
==============================================================*/

/*--- 1. POLICES ---------------------------------------------*/
@font-face {
	font-family: 'Anton';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/anton-latin-kMRj_26.woff2") format('woff2');
}

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/roboto-latin-P5vfNz3.woff2") format('woff2');
}

@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/roboto-italic-latin-KYK_DoU.woff2") format('woff2');
}


/*--- 2. VARIABLES -------------------------------------------*/
:root {
	/* Couleurs d'origine */
	--bleu: #0000ff;
	--rose: #ff6a83;
	--jaune: #febc21;
	--noir: #000;
	--blanc: #fff;
	--gris: #f6f5f5;          /* « third-color » d'origine */

	/* Déclinaisons (texte lisible sur fond clair, fonds teintés) */
	--bleu-fonce: #0000b8;
	--bleu-50: #eef0ff;
	--rose-fonce: #c8364f;    /* rose en texte sur blanc (contraste AA) */
	--rose-50: #fff0f3;
	--jaune-fonce: #8a6100;   /* jaune en texte sur blanc (contraste AA) */
	--jaune-50: #fff8e6;

	/* Rôles (utilisés aussi par admin.css) */
	--accent: var(--bleu);
	--accent-fonce: var(--bleu-fonce);
	--accent-50: var(--bleu-50);
	--accent-100: #dfe3ff;
	--encre: var(--noir);
	--texte: #1c1c1c;
	--discret: #5f5f5f;
	--ligne: #d9d9d9;
	--fond-alt: var(--gris);

	/* États */
	--succes: #1d6b3c;
	--succes-bg: #e3f3e8;
	--attente: #8a5a00;
	--attente-bg: #fdf1d6;
	--danger: #c0182f;
	--danger-bg: #fde8ec;

	--font-titre: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
	--font-texte: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

	/* Style angulaire : aucun arrondi ; ombres franches, sans flou. */
	--rayon-sm: 0;
	--rayon: 0;
	--rayon-lg: 0;
	--trait: 3px solid var(--noir);
	--ombre-sm: 3px 3px 0 var(--noir);
	--ombre: 6px 6px 0 var(--noir);
	--ombre-lg: 10px 10px 0 var(--noir);

	--container: 1200px;
	--gouttiere: clamp(1rem, 4vw, 2rem);
	--header-h: 84px;
}


/*--- 3. BASE ------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

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

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-texte);
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--texte);
	background: var(--blanc);
	-webkit-font-smoothing: antialiased;
}

main {
	flex: 1 0 auto;
}

main:focus {
	outline: none;
}

h1, h2, h3, h4 {
	margin: 0 0 .6em;
	font-family: var(--font-texte);
	font-weight: 900;
	line-height: 1.2;
	color: var(--encre);
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--bleu);
	text-underline-offset: .18em;
	transition: color .15s;
}

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

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

strong {
	color: var(--encre);
}

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

::selection {
	background: var(--jaune);
	color: var(--noir);
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 200;
	padding: .6rem 1rem;
	background: var(--noir);
	color: var(--blanc);
	font-weight: 700;
}

.skip-link:focus {
	top: 1rem;
}

.badge {
	display: inline-grid;
	place-items: center;
	min-width: 1.6em;
	padding: 0 .45em;
	background: var(--noir);
	color: var(--blanc);
	font-size: .78em;
	font-weight: 700;
	line-height: 1.6;
}

.vide {
	padding: 2rem;
	border: 2px dashed var(--ligne);
	text-align: center;
	color: var(--discret);
}


/*--- 4. MISE EN PAGE ----------------------------------------*/
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gouttiere);
}

.section {
	padding-block: clamp(3.5rem, 8vw, 6rem);
}

/* Titres de section : Anton espacé, couleur franche (comme les « module-title » d'origine) */
.titre {
	margin: 0 0 1.75rem;
	font-family: var(--font-titre);
	font-weight: 400;
	font-size: clamp(2rem, 4.5vw, 3rem);
	line-height: 1.1;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--noir);
}

.titre--centre {
	text-align: center;
}

.titre--bleu { color: var(--bleu); }
.titre--rose { color: var(--rose); }
.titre--jaune { color: var(--jaune); }

/* Les titres jaunes restent lisibles sur fond blanc grâce à un léger trait noir. */
.titre--jaune {
	-webkit-text-stroke: 1px var(--noir);
	paint-order: stroke fill;
}

/* Apparition au défilement (contrôleur « apparition ») */
.apparition {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--delai, 0) * 120ms);
}

.apparition.is-visible {
	opacity: 1;
	transform: none;
}


/*--- 5. BOUTONS ---------------------------------------------*/
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: .8rem 1.5rem;
	border: 2px solid var(--noir);
	background: var(--blanc);
	font: 700 .95rem/1.2 var(--font-texte);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--noir);
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s, background-color .15s, color .15s;
}

.btn:hover {
	transform: translate(-3px, -3px);
	box-shadow: var(--ombre-sm);
	color: var(--noir);
}

.btn:active {
	transform: none;
	box-shadow: none;
}

.btn:disabled {
	opacity: .6;
	cursor: progress;
}

/* Noir plein : action principale (les « btn-dark » d'origine) */
.btn--noir,
.btn--primary {
	background: var(--noir);
	color: var(--blanc);
}

.btn--noir:hover,
.btn--primary:hover {
	background: var(--bleu);
	color: var(--blanc);
	box-shadow: var(--ombre-sm);
}

.btn--contour,
.btn--outline {
	background: var(--blanc);
	color: var(--noir);
}

.btn--contour:hover,
.btn--outline:hover {
	background: var(--jaune);
}

.btn--ghost-dark {
	border-color: transparent;
	background: transparent;
}

.btn--ghost-dark:hover {
	border-color: var(--noir);
	background: var(--gris);
}

.btn--danger {
	border-color: var(--danger);
	background: var(--danger);
	color: var(--blanc);
}

.btn--danger:hover {
	color: var(--blanc);
	box-shadow: 3px 3px 0 var(--noir);
}

.btn--sm {
	padding: .45rem .85rem;
	font-size: .78rem;
}

.btn--large {
	padding: 1rem 1.9rem;
	font-size: 1rem;
}

.btn--icone {
	width: 2.4rem;
	padding-inline: 0;
}


/*--- 6. EN-TÊTE ---------------------------------------------*/
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	background: var(--blanc);
	transition: box-shadow .25s;
}

.site-header.is-scrolled {
	box-shadow: 0 3px 0 var(--noir);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	margin-right: auto;
}

.brand img {
	width: 56px;
	height: 56px;
	transition: transform .3s;
}

.brand:hover img {
	transform: rotate(-8deg);
}

.nav {
	display: flex;
	align-items: center;
	gap: .25rem;
}

.nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .55rem .8rem;
	border: 0;
	background: none;
	font: 900 1.05rem/1.2 var(--font-texte);
	color: var(--noir);
	text-decoration: none;
	cursor: pointer;
}

/* Soulignement épais qui se déploie au survol */
.nav__link::after {
	content: '';
	position: absolute;
	left: .8rem;
	right: .8rem;
	bottom: .25rem;
	height: 3px;
	background: var(--bleu);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s;
}

.nav__link:hover,
.nav__link[aria-expanded="true"] {
	color: var(--noir);
}

.nav__link:hover::after,
.nav__link[aria-expanded="true"]::after {
	transform: scaleX(1);
}

.nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border: 2px solid var(--noir);
	background: var(--blanc);
	color: var(--noir);
	font-size: 1.2rem;
	cursor: pointer;
}

.dropdown {
	position: relative;
}

.dropdown__menu {
	position: absolute;
	top: calc(100% + .4rem);
	right: 0;
	z-index: 10;
	min-width: 16rem;
	margin: 0;
	padding: .4rem;
	list-style: none;
	border: var(--trait);
	background: var(--blanc);
	box-shadow: var(--ombre);
}

.dropdown__menu a {
	display: block;
	padding: .6rem .8rem;
	font-weight: 700;
	color: var(--noir);
	text-decoration: none;
}

.dropdown__menu a:hover,
.dropdown__menu a[aria-current="page"] {
	background: var(--noir);
	color: var(--blanc);
}

/* Barre de progression de lecture (sous le menu) */
.progression {
	height: 4px;
}

.progression__barre {
	height: 100%;
	background: linear-gradient(90deg, var(--bleu) 0 33%, var(--rose) 33% 66%, var(--jaune) 66%);
	transform: scaleX(0);
	transform-origin: left;
}

@media (max-width: 860px) {
	.nav-toggle {
		display: inline-grid;
		place-items: center;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: .2rem;
		padding: 1rem var(--gouttiere) 1.5rem;
		border-bottom: var(--trait);
		background: var(--blanc);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}

	.nav.is-open {
		display: flex;
	}

	.nav__link {
		justify-content: space-between;
		padding: .9rem 1rem;
		font-size: 1.15rem;
	}

	.nav__link::after {
		left: 1rem;
		right: auto;
		width: 3rem;
	}

	.dropdown__menu {
		position: static;
		margin: .2rem 0 .5rem;
		box-shadow: none;
	}
}

/* Bouton « haut de page » */
.scroll-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 2px solid var(--noir);
	background: var(--blanc);
	color: var(--noir);
	box-shadow: var(--ombre-sm);
	text-decoration: none;
	transition: transform .15s, background-color .15s;
}

.scroll-top:hover {
	transform: translate(-2px, -2px);
	background: var(--jaune);
	color: var(--noir);
}


/*--- 7. PIED DE PAGE ----------------------------------------*/
.site-footer {
	background: var(--noir);
	color: var(--blanc);
	font-size: .95rem;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	padding-block: 2.5rem;
}

.site-footer__nom {
	margin: 0 0 .6rem;
	font-family: var(--font-titre);
	font-size: 1.2rem;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.site-footer__liens {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem 1.4rem;
}

.site-footer__liens a {
	color: var(--blanc);
	text-decoration: none;
}

.site-footer__liens a:hover {
	color: var(--jaune);
	text-decoration: underline;
}

.site-footer__reseaux {
	display: flex;
	gap: .75rem;
}

.site-footer__reseaux a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 2px solid var(--blanc);
	color: var(--blanc);
	font-size: 1.25rem;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}

.site-footer__reseaux a:hover {
	background: var(--blanc);
	color: var(--noir);
}

.site-footer__bas {
	padding-block: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .2);
	font-size: .8rem;
	text-align: center;
}

.site-footer__bas p {
	margin: 0;
}

.site-footer__bas a {
	color: var(--blanc);
}


/*--- 8. ACCUEIL ---------------------------------------------*/
/* Bandeau plein écran : l'affiche lacérée et le bloc noir « ALIPIGE » */
.hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(560px, 100svh, 1100px);
	padding: var(--header-h) var(--gouttiere) 4rem;
	background: var(--noir) var(--fond) center / cover no-repeat;
}

@media (max-width: 700px) {
	.hero {
		background-image: var(--fond-mobile);
	}
}

.hero__titre {
	margin: 0;
	padding: .2em .5em .2em .9em;
	background: var(--noir);
	font-family: var(--font-texte);
	font-weight: 900;
	font-size: clamp(1.7rem, 5vw, 3rem);
	line-height: 1.2;
	letter-spacing: .5em;
	color: var(--blanc);
	box-shadow: 10px 10px 0 var(--bleu);
}

/* Chaque lettre arrive en grossissant, l'une après l'autre (animation d'origine, en CSS). */
.hero__titre span {
	display: inline-block;
	animation: lettre 1s cubic-bezier(.16, 1, .3, 1) both;
	animation-delay: calc(var(--i) * 110ms + 200ms);
}

@keyframes lettre {
	from {
		opacity: 0;
		transform: scale(4);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.hero__defiler {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	transform: translateX(-50%);
	border: 2px solid var(--noir);
	background: var(--blanc);
	color: var(--noir);
	font-size: 1.5rem;
	text-decoration: none;
	animation: rebond 2.4s ease-in-out infinite;
}

.hero__defiler:hover {
	background: var(--jaune);
	color: var(--noir);
}

@keyframes rebond {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 8px); }
}

/* Alipige / Expositions : portrait rond et texte (disposition d'origine) */
.duo__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
}

.duo--inverse .duo__visuel {
	order: 2;
}

.duo__visuel {
	display: grid;
	place-items: center;
}

/* Le seul arrondi du site, repris de l'original : les portraits ronds. */
.rond {
	width: min(100%, 440px);
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}

.duo__texte {
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	font-weight: 700;
	line-height: 1.6;
	color: var(--noir);
}

.duo__texte > :last-child {
	margin-bottom: 0;
}

@media (max-width: 860px) {
	.duo__inner {
		grid-template-columns: 1fr;
	}

	.duo--inverse .duo__visuel {
		order: 0;
	}

	.rond {
		width: min(80%, 360px);
	}
}

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

.expositions li {
	position: relative;
	margin-bottom: 1.4rem;
	padding-left: 1.4rem;
	border-left: 4px solid var(--rose);
}

.expositions p {
	margin: 0;
}

.expositions__titre time {
	font-weight: 900;
}

.expositions__titre span {
	font-weight: 300;
}

.expositions__lieu {
	font-size: .95rem;
	font-weight: 400;
	color: var(--discret);
}

/* Contact : formulaire étroit et centré (comme l'original) */
.contact__inner {
	max-width: 40rem;
}


/*--- 9. GRILLES D'ŒUVRES ------------------------------------*/
.filtres {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin-bottom: 2rem;
}

.filtre {
	padding: .5rem 1rem;
	border: 2px solid transparent;
	background: none;
	font: 700 1rem/1.2 var(--font-texte);
	color: var(--noir);
	cursor: pointer;
	transition: border-color .15s, color .15s;
}

.filtre:hover {
	border-color: var(--noir);
}

.filtre[aria-pressed="true"] {
	border-color: var(--rose);
	color: var(--rose-fonce);
}

.grille-projets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

[aria-busy="true"] .grille-projets {
	opacity: .5;
	transition: opacity .2s;
}

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

@media (max-width: 480px) {
	.grille-projets {
		grid-template-columns: 1fr;
	}
}

.carte-projet a {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--gris);
	text-decoration: none;
}

.carte-projet img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

/* Survol : voile blanc et titre bleu (« works-hover-w » d'origine) */
.carte-projet__legende {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: 1.25rem;
	background: rgba(255, 255, 255, .88);
	text-align: center;
	opacity: 0;
	transition: opacity .25s;
}

.carte-projet__nom {
	font-weight: 900;
	font-size: 1.25rem;
	line-height: 1.25;
	color: var(--bleu);
}

.carte-projet__categorie {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--noir);
}

.carte-projet a:hover img,
.carte-projet a:focus-visible img {
	transform: scale(1.05);
}

.carte-projet a:hover .carte-projet__legende,
.carte-projet a:focus-visible .carte-projet__legende {
	opacity: 1;
}

/* Écrans tactiles : pas de survol, le titre reste visible en bas de l'image. */
@media (hover: none) {
	.carte-projet__legende {
		inset: auto 0 0;
		padding: .6rem .8rem;
		opacity: 1;
	}

	.carte-projet__nom {
		font-size: 1rem;
	}

	.carte-projet__categorie {
		display: none;
	}
}

.collections__pied {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}


/*--- 10. PAGES INTÉRIEURES ----------------------------------*/
/* Flèches de part et d'autre du titre (disposition d'origine) */
.entete-page {
	padding-block: calc(var(--header-h) + clamp(1.5rem, 4vw, 2.5rem)) clamp(1.5rem, 4vw, 2.5rem);
	text-align: center;
}

.entete-page__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.entete-page__titres {
	flex: 1;
	min-width: 0;
}

.entete-page .titre {
	margin: 0;
	font-size: clamp(1.8rem, 5vw, 3rem);
}

.entete-page__sous-titre {
	margin: .5rem 0 0;
	font-weight: 700;
	font-size: 1.1rem;
}

.entete-page__sous-titre a {
	color: var(--bleu);
	text-decoration: none;
}

.entete-page__sous-titre a:hover {
	text-decoration: underline;
}

.entete-page__nav {
	flex: 0 0 52px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 2px solid var(--noir);
	color: var(--noir);
	font-size: 1.5rem;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s, background-color .15s;
}

.entete-page__nav:hover {
	transform: translate(-2px, -2px);
	background: var(--jaune);
	box-shadow: var(--ombre-sm);
	color: var(--noir);
}

.entete-page__nav--vide {
	visibility: hidden;
}

@media (max-width: 560px) {
	.entete-page__nav {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
		font-size: 1.2rem;
	}
}

.page-oeuvre,
.page-collection,
.page-texte {
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.page-oeuvre > .alert,
.page-collection > .alert {
	margin-bottom: 2rem;
}

.galerie {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .5rem;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

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

.galerie a {
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--gris);
	cursor: zoom-in;
}

.galerie img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.galerie a:hover img {
	transform: scale(1.05);
}

/* Description d'une œuvre : cadre noir épais, texte centré (comme l'original) */
.cadre {
	max-width: none;
	text-align: center;
	padding: clamp(1.25rem, 4vw, 2.25rem);
	border: 5px solid var(--noir);
	box-shadow: var(--ombre-lg);
}

.page-collection__texte {
	margin-bottom: 2.5rem;
	font-weight: 700;
	font-size: 1.15rem;
}

.page-oeuvre__retour {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin: 3.5rem 0 0;
}

/* Texte riche (descriptions, pages légales) */
.prose {
	max-width: 52rem;
	margin-inline: auto;
}

.prose h2 {
	margin-top: 2.5rem;
	font-family: var(--font-titre);
	font-weight: 400;
	font-size: clamp(1.4rem, 2.6vw, 1.8rem);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.prose h3 {
	margin-top: 2rem;
	font-size: 1.2rem;
	color: var(--bleu);
}

.prose h4 {
	margin-top: 1.5rem;
}

.prose ul,
.prose ol {
	padding-left: 1.3rem;
}

.prose li {
	margin-bottom: .45rem;
}

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

.prose > :first-child,
.prose > :first-child > :first-child {
	margin-top: 0;
}

.prose > :last-child {
	margin-bottom: 0;
}

.page-texte__intro {
	margin-bottom: 1rem;
	padding: 1.5rem 1.75rem;
	border-left: 6px solid var(--bleu);
	background: var(--gris);
	color: var(--discret);
}

.page-texte__intro p:last-child {
	margin-bottom: 0;
}

.page-texte__date {
	font-size: .9rem;
	font-weight: 700;
}

.fiche {
	display: grid;
	grid-template-columns: minmax(10rem, max-content) 1fr;
	gap: .4rem 1.5rem;
	margin: 0;
}

.fiche dt {
	font-weight: 700;
	color: var(--encre);
}

.fiche dd {
	margin: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 560px) {
	.fiche {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.fiche dd {
		margin-bottom: .6rem;
	}
}

.plan,
.plan ul {
	list-style: none;
	padding-left: 0;
}

.plan > li {
	margin-bottom: 1rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.plan ul {
	margin-top: .4rem;
	padding-left: 1.25rem;
	border-left: 3px solid var(--noir);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.plan ul li {
	margin-bottom: .25rem;
}

/* Pages d'erreur */
.erreur {
	padding-block: calc(var(--header-h) + 3rem) 5rem;
	text-align: center;
}

.erreur__inner {
	max-width: 40rem;
}

.erreur__code {
	display: inline-block;
	margin: 0 0 1.5rem;
	padding: 0 .3em;
	background: var(--noir);
	font-family: var(--font-titre);
	font-size: clamp(4rem, 14vw, 7rem);
	line-height: 1.1;
	letter-spacing: .1em;
	color: var(--blanc);
	box-shadow: 10px 10px 0 var(--rose);
}

.erreur__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}


/*--- 11. FORMULAIRES ----------------------------------------*/
.form {
	display: grid;
	gap: 1.15rem;
}

.form-row {
	display: grid;
	gap: 1.15rem;
}

.form-row--2 {
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
	.form-row--2 {
		grid-template-columns: 1fr;
	}
}

.field {
	display: grid;
	gap: .35rem;
	min-width: 0;
}

.field > label,
.field legend {
	font-weight: 700;
	font-size: .95rem;
	color: var(--encre);
}

label.required::after {
	content: ' *';
	color: var(--danger);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: .7rem .95rem;
	border: 2px solid var(--noir);
	border-radius: 0;
	background: var(--blanc);
	font: inherit;
	color: var(--encre);
	transition: box-shadow .15s;
}

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

input:focus,
select:focus,
textarea:focus {
	outline: none;
	box-shadow: 4px 4px 0 var(--bleu);
}

::placeholder {
	color: #8a8a8a;
}

.field--error input,
.field--error textarea,
.field--error select {
	border-color: var(--danger);
}

.field__help {
	margin: 0;
	font-size: .85rem;
	color: var(--discret);
}

.field__errors {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .88rem;
	font-weight: 700;
	color: var(--danger);
}

.check {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
}

.check input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: .2rem;
	accent-color: var(--noir);
}

.check label {
	font-size: .93rem;
}

.champ-captcha {
	max-width: 8rem;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
}

.password-field {
	position: relative;
}

.password-field input {
	padding-right: 3.2rem;
}

.password-field button {
	position: absolute;
	top: 50%;
	right: .4rem;
	width: 40px;
	height: 40px;
	transform: translateY(-50%);
	border: 0;
	background: none;
	color: var(--discret);
	cursor: pointer;
}

/* Champ piège (honeypot) : hors écran, ignoré des lecteurs d'écran. */
.piege {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__mention {
	margin: 0;
	font-size: .85rem;
	color: var(--discret);
}

.form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
}

.contact .form .btn--large {
	justify-self: center;
}

.carte-formulaire {
	max-width: 28rem;
	margin: clamp(2.5rem, 6vw, 4rem) auto;
	padding: 2rem;
	border: var(--trait);
	box-shadow: var(--ombre);
}

.carte-formulaire .alert {
	margin-bottom: 1.25rem;
}


/*--- 12. ALERTES --------------------------------------------*/
.flashes {
	display: grid;
	gap: .75rem;
	margin-bottom: 1.5rem;
}

.alert {
	display: flex;
	gap: .8rem;
	align-items: flex-start;
	padding: 1rem 1.2rem;
	border-left: 5px solid currentColor;
	font-weight: 500;
}

.alert > i {
	margin-top: .3rem;
}

.alert p {
	margin: 0;
}

.alert--success {
	background: var(--succes-bg);
	color: var(--succes);
}

.alert--error {
	background: var(--danger-bg);
	color: var(--danger);
}

.alert--info {
	background: var(--bleu-50);
	color: var(--bleu-fonce);
}


/*--- 13. VISIONNEUSE ----------------------------------------*/
.visionneuse {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, .95);
	color: var(--blanc);
}

.visionneuse::backdrop {
	background: rgba(0, 0, 0, .9);
}

.visionneuse[open] {
	display: grid;
	animation: fondu .25s ease;
}

.visionneuse__figure {
	display: grid;
	place-items: center;
	gap: .75rem;
	margin: 0;
	padding: 4.5rem clamp(.5rem, 6vw, 5.5rem) 1.5rem;
	height: 100%;
}

.visionneuse__figure img {
	max-width: 100%;
	max-height: calc(100vh - 8rem);
	object-fit: contain;
}

.visionneuse__figure figcaption {
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: .15em;
	color: rgba(255, 255, 255, .75);
}

.visionneuse__bouton {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 2px solid var(--blanc);
	background: var(--noir);
	color: var(--blanc);
	font-size: 1.4rem;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.visionneuse__bouton:hover {
	background: var(--blanc);
	color: var(--noir);
}

.visionneuse__fermer {
	top: 1rem;
	right: 1rem;
}

.visionneuse__precedent,
.visionneuse__suivant {
	top: 50%;
	transform: translateY(-50%);
}

.visionneuse__precedent {
	left: 1rem;
}

.visionneuse__suivant {
	right: 1rem;
}

@media (max-width: 600px) {
	.visionneuse__precedent,
	.visionneuse__suivant {
		top: auto;
		bottom: 1rem;
		transform: none;
	}
}

@keyframes fondu {
	from { opacity: 0; }
	to { opacity: 1; }
}


/*--- 14. IMPRESSION -----------------------------------------*/
@media print {
	.site-header,
	.site-footer,
	.scroll-top,
	.hero,
	.filtres,
	.collections__pied {
		display: none !important;
	}

	.entete-page {
		padding-top: 0;
	}

	.apparition {
		opacity: 1;
		transform: none;
	}
}
