/*
 * Musée de l'Eau — le site est un puits.
 * Matière : la margelle chaulée du musée (rebord turquoise, capitales noires peintes, « l'Eau » en bleu),
 * la latérite du sol, les assises sombres du puits, l'eau turquoise au fond.
 */

@font-face { font-family: "Sofia Sans Condensed"; src: url(../fonts/sofia-sans-condensed-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Sofia Sans Condensed"; src: url(../fonts/sofia-sans-condensed-latin-900-normal.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Sofia Sans Condensed"; src: url(../fonts/sofia-sans-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Londrina Solid"; src: url(../fonts/londrina-solid-latin-900-normal.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(../fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(../fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(../fonts/atkinson-hyperlegible-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
	--chaux: #f3f3ef;
	--chaux-2: #e2e1dc;
	--encre: #15191b;
	--encre-2: #3c4245;
	--laterite: #a24f2a;
	--laterite-fonce: #6c2e14;
	--laterite-clair: #d9a27a;
	--pierre-1: #0f2830;
	--pierre-2: #163f49;
	--pierre-3: #1d5560;
	--fond: #081a20;
	--turquoise: #6bffff;
	--rebord: #3fcfd2;
	--bleu: #2e55d0;
	--rouge: #b8232a;
	--sisal: #d6b97f;
	--taupe: #8f8765;
	--peint: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
	--affiche: "Londrina Solid", "Sofia Sans Condensed", sans-serif;
	--texte: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
	--max: 76rem;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--ombre: 0 18px 32px -16px rgba(30, 12, 4, 0.55);
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)' opacity='.38'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--laterite) var(--chaux-2); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--chaux); color: var(--encre); font-family: var(--texte); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; height: auto; display: block; }
::selection { background: var(--turquoise); color: var(--encre); }
a { color: var(--bleu); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--rebord); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--peint); font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: 0; margin: 0 0 0.5em; text-wrap: balance; }
h1, h2 { font-family: var(--affiche); font-weight: 900; letter-spacing: 0.01em; line-height: 1; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem); }
p { margin: 0 0 1em; }
.eau { color: var(--bleu); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--encre); color: var(--chaux); padding: 0.6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hint { font-size: 0.9rem; color: var(--encre-2); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; font-family: var(--peint); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; padding: 0.85em 1.35em; border: 2px solid var(--encre); border-radius: 0; text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), translate 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.btn .icon { width: 1.3em; height: 1.3em; }
.btn-seau { background: var(--turquoise); color: var(--encre); box-shadow: 0 10px 18px -10px rgba(8, 26, 32, 0.7); }
.btn-seau:hover { background: var(--chaux); color: var(--encre); translate: 0 -2px; box-shadow: 0 14px 22px -12px rgba(8, 26, 32, 0.75); }
.btn-encre { background: var(--encre); color: var(--chaux); }
.btn-encre:hover { background: var(--laterite-fonce); color: var(--chaux); }
.btn-trait { background: transparent; color: var(--encre); }
.btn-trait:hover { background: var(--encre); color: var(--chaux); }
.seau { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--encre); }
.seau-anse { width: 64%; height: 1.15rem; border: 3px solid var(--encre); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; margin-bottom: -1px; transition: translate 0.25s var(--ease); }
.seau-corps { display: block; background: var(--encre); padding: 3px; clip-path: polygon(0 0, 100% 0, 91% 100%, 9% 100%); }
.seau-fond { display: flex; align-items: center; gap: 0.5em; background: var(--turquoise); clip-path: polygon(0 0, 100% 0, 91% 100%, 9% 100%); padding: 0.85em 2.1em 0.95em; font-family: var(--peint); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; transition: background-color 0.2s var(--ease); }
.seau:hover { color: var(--encre); }
.seau:hover .seau-fond { background: var(--chaux); }
.seau:hover .seau-anse { translate: 0 -3px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--peint); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.02em; text-decoration: none; }
.lien-fleche .icon { transition: translate 0.25s var(--ease); }
.lien-fleche:hover .icon { translate: 4px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- En-tête : planche chaulée ---------- */
.site-header { position: relative; z-index: 40; background: var(--chaux); border-bottom: 3px solid var(--encre); }
.header-bar { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 5.25rem; }
.brand { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 0.65rem; align-items: center; text-decoration: none; color: var(--encre); margin-right: auto; }
.brand img { grid-row: 1 / 3; width: auto; height: 3.6rem; }
.brand-nom { font-family: var(--peint); font-weight: 900; font-size: 1.55rem; text-transform: uppercase; line-height: 0.95; align-self: end; }
.brand-lieu { font-size: 0.82rem; color: var(--encre-2); align-self: start; }
.nav-desktop .nav-list { display: flex; gap: clamp(0.9rem, 1.6vw, 1.7rem); list-style: none; margin: 0; padding: 0; }
.nav-list a { font-family: var(--peint); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--encre); text-decoration: none; padding: 0.35rem 0; border-bottom: 3px solid transparent; }
.nav-list a:hover { border-bottom-color: var(--rebord); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--encre); }
.btn-header { font-size: 1rem; padding: 0.65em 1em; }
.btn-header[aria-current="page"] { background: var(--chaux); }
.menu { display: none; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; font-family: var(--peint); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; padding: 0.55rem 0.8rem; border: 2px solid var(--encre); }
.menu summary::-webkit-details-marker { display: none; }
.menu .i-fermer, .menu[open] .i-ouvrir { display: none; }
.menu[open] .i-fermer { display: block; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--chaux); border-bottom: 3px solid var(--encre); padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--ombre); }
.menu-panel .nav-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.menu-panel .nav-list a { display: block; padding: 0.7rem 0; font-size: 1.5rem; border-bottom: 1px solid var(--chaux-2); }
.menu-panel .btn { width: 100%; }
@media (max-width: 62rem) {
	.nav-desktop { display: none; }
	.menu { display: block; }
}
@media (max-width: 30rem) {
	.brand-lieu { display: none; }
	.brand-nom { font-size: 1.3rem; }
	.brand img { height: 3rem; }
	.btn-header { display: none; }
}

/* ---------- La margelle (premier écran) ---------- */
.margelle { position: relative; background: var(--laterite) var(--grain); color: var(--chaux); padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(4.5rem, 3rem + 4vw, 6.5rem); overflow: hidden; }
.margelle-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "puits texte" "puits photo"; column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: 1.5rem; align-items: center; }
.puits { container-type: size; grid-area: puits; position: relative; width: min(100%, 40rem); aspect-ratio: 1; justify-self: center; border-radius: 50%; padding: 8.5%; background: var(--chaux) var(--grain); border: 3px solid var(--encre); }
.puits::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: clamp(5px, 0.9vw, 10px) solid var(--rebord); }
.puits-eau { position: relative; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 11%; overflow: hidden; background: #0b2229; }
.puits-eau::after { content: ""; position: absolute; left: 50%; top: 52%; width: 40%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 2px solid rgba(107, 255, 255, 0.45); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	.puits-eau::after { animation: ronds 3.2s var(--ease) 0.6s 2 both; }
	@keyframes ronds { from { opacity: 0.9; scale: 0.2; } to { opacity: 0; scale: 2.2; } }
}
.puits h1 { position: relative; z-index: 1; color: var(--chaux); font-size: clamp(2.6rem, 1rem + 5vw, 5.8rem); line-height: 0.92; margin: 0; }
/* La corde descend du haut de la page jusque dans le puits, et le seau plonge quand on commence à descendre. */
.puits-corde { position: absolute; z-index: 2; left: 50%; top: -70vh; bottom: 77%; width: 5px; margin-left: -2.5px; pointer-events: none; background: repeating-linear-gradient(-55deg, var(--sisal) 0 5px, #9c7e45 5px 7px); border: 1px solid rgba(21, 25, 27, 0.5); }
.puits-corde::after { content: ""; position: absolute; left: 50%; top: 100%; width: 30px; height: 24px; translate: -50% 0; background: var(--rebord); border: 2px solid var(--encre); clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); }
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.puits-corde { animation: plonger linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
		@keyframes plonger { to { transform: translateY(9cqh); } }
	}
}
.puits h1 .eau { color: var(--turquoise); display: block; }
.margelle-texte { grid-area: texte; }
.margelle-lead { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.5; max-width: 32rem; margin-bottom: 1.5rem; }
.margelle-texte .seau { margin-top: 0.25rem; }
.margelle-photo { grid-area: photo; margin: 0; justify-self: start; width: min(100%, 22rem); background: var(--chaux); padding: 0.55rem 0.55rem 0.4rem; rotate: 1.5deg; box-shadow: var(--ombre); }
.margelle-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.margelle-photo figcaption { color: var(--encre-2); font-size: 0.85rem; padding-top: 0.4rem; line-height: 1.35; }
.descendre { position: absolute; left: 50%; bottom: 1.1rem; translate: -50% 0; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--chaux); font-family: var(--peint); font-weight: 800; text-transform: uppercase; text-decoration: none; font-size: 1rem; letter-spacing: 0.04em; }
.descendre:hover { color: var(--turquoise); }
@media (max-width: 60rem) {
	.margelle-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "puits" "texte" "photo"; }
	.puits { width: min(100%, 30rem); }
	.margelle-photo { justify-self: center; rotate: -1deg; }
	.descendre { display: none; }
	.margelle { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); }
}

/* ---------- Les pancartes pratiques ---------- */
.pancartes { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; max-width: 32rem; }
.pancartes li { background: var(--chaux); color: var(--encre); padding: 0.7rem 0.9rem 0.75rem; border: 2px solid var(--encre); box-shadow: 0 8px 14px -10px rgba(30, 12, 4, 0.6); display: flex; flex-direction: column; gap: 0.15rem; }
.p-titre { font-family: var(--peint); font-weight: 900; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.03em; color: var(--laterite-fonce); }
.p-note { font-size: 0.85rem; color: var(--encre-2); font-style: italic; }
.p-valeur { font-size: 1rem; line-height: 1.35; color: var(--encre); font-weight: 700; }
a.p-valeur { color: var(--bleu); }
@media (max-width: 26rem) { .pancartes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Les paliers du puits (assises de pierre sombre) ---------- */
.palier { position: relative; color: var(--chaux); padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); background-image: repeating-linear-gradient(180deg, transparent 0 62px, rgba(0, 0, 0, 0.22) 62px 64px), var(--grain); }
.palier-1 { background-color: var(--pierre-1); }
.palier-2 { background-color: var(--pierre-2); }
.palier-3 { background-color: var(--pierre-3); }
.palier h2, .palier h3 { color: var(--chaux); }
.palier .eau { color: var(--turquoise); }
.palier a { color: var(--turquoise); }
.palier a:hover { color: var(--chaux); }
.palier-musee { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.palier-texte p { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); max-width: 36rem; }
.promoteur { margin: 0; position: relative; }
.promoteur img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border: 8px solid var(--chaux); box-shadow: var(--ombre); }
.promoteur blockquote { margin: -2.5rem 0 0 clamp(1rem, 6%, 3rem); position: relative; background: var(--chaux); color: var(--encre); padding: 1.1rem 1.25rem 1rem; border: 2px solid var(--encre); box-shadow: var(--ombre); }
.promoteur blockquote p { font-family: var(--affiche); font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.05; margin: 0 0 0.5rem; }
.promoteur blockquote footer { font-size: 0.92rem; color: var(--encre-2); }
@media (max-width: 52rem) { .palier-musee { grid-template-columns: minmax(0, 1fr); } }

/* La descente : quatre espaces du musée, posés en marches */
.descente { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0; padding: 0; display: flex; flex-direction: column; gap: clamp(1.75rem, 3vw, 2.5rem); }
.pierre { --decal: 0%; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; margin-left: var(--decal); width: min(100% - var(--decal), 60rem); }
.pierre:nth-child(2) { --decal: 8%; }
.pierre:nth-child(3) { --decal: 16%; }
.pierre:nth-child(4) { --decal: 24%; }
.pierre-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid var(--chaux); box-shadow: var(--ombre); }
.pierre-texte h3 { margin-bottom: 0.4rem; }
.pierre-texte p { margin: 0; color: #d9e4e6; }
@media (max-width: 52rem) {
	.pierre, .pierre:nth-child(n) { --decal: 0%; grid-template-columns: minmax(0, 1fr); }
}

/* Actualités qui défilent */
.palier-actus-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 1.5rem; }
.palier-actus-tete h2 { margin: 0; }
.defile { overflow: hidden; padding-block: 0.5rem 1.5rem; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.defile-piste { display: flex; width: max-content; }
.cartes-defile { list-style: none; margin: 0; padding: 0; display: flex; }
.cartes-defile > li { width: clamp(15rem, 13rem + 8vw, 20rem); margin-right: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
	.defile-piste { animation: defile 70s linear infinite; }
	.defile:hover .defile-piste, .defile:focus-within .defile-piste { animation-play-state: paused; }
	@keyframes defile { to { transform: translateX(-33.3333%); } }
}
@media (prefers-reduced-motion: reduce) {
	.defile { overflow-x: auto; mask-image: none; }
	.cartes-defile[aria-hidden="true"] { display: none; }
}

/* Une actualité : un objet complet */
.cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.carte { height: 100%; }
.carte-lien { display: flex; flex-direction: column; height: 100%; background: var(--chaux); color: var(--encre); text-decoration: none; border: 2px solid var(--encre); box-shadow: 0 14px 24px -16px rgba(8, 26, 32, 0.7); transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.carte-lien:hover { translate: 0 -4px; box-shadow: 0 20px 30px -18px rgba(8, 26, 32, 0.8); color: var(--encre); }
.carte-photo { display: block; border-bottom: 2px solid var(--encre); }
.carte-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carte-date { display: block; font-family: var(--peint); font-weight: 800; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.03em; color: var(--laterite-fonce); padding: 0.8rem 1rem 0.2rem; }
.carte-titre { display: block; font-weight: 700; line-height: 1.3; padding: 0 1rem 1.1rem; font-size: 1.02rem; }
.palier .carte-lien { color: var(--encre); }

/* ---------- Le fond du puits : l'eau, l'action ---------- */
.fond-puits { position: relative; background: var(--turquoise); color: var(--encre); text-align: center; padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); border-top: 3px solid var(--encre); }
.fond-puits .wrap { position: relative; max-width: 46rem; }
.devise { font-family: var(--peint); font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.15; color: #0c3f45; margin: 2rem 0 0; }
.fond-puits h2 { color: var(--encre); }
.fond-puits p { font-size: 1.1rem; }
.fond-puits .seau-fond { background: var(--chaux); }
.fond-puits .seau:hover .seau-fond { background: #fff; }

/* ---------- Pied de page : la latérite ---------- */
.site-footer { background: var(--laterite-fonce) var(--grain); color: var(--chaux); padding-top: clamp(2.5rem, 2rem + 3vw, 4rem); font-size: 1rem; }
.site-footer a { color: var(--chaux); }
.site-footer a:hover { color: var(--turquoise); }
.site-footer .eau { color: var(--turquoise); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem clamp(1.5rem, 4vw, 4rem); align-items: start; }
.footer-nom { font-family: var(--peint); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; margin-bottom: 0.4rem; }
.footer-statut { font-size: 0.88rem; color: #f0d6c4; max-width: 26rem; }
.site-footer h2 { font-size: 1.35rem; margin-bottom: 0.8rem; color: var(--chaux); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-contact li { display: flex; gap: 0.55rem; align-items: flex-start; }
.footer-contact .icon { margin-top: 0.25em; color: var(--turquoise); }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid rgba(245, 241, 232, 0.25); padding-block: 1rem; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- En-tête des pages intérieures : pancarte sur la latérite ---------- */
.page-head { background: var(--laterite) var(--grain); padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-head.has-photo .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.pancarte { background: var(--chaux); color: var(--encre); border: 3px solid var(--encre); padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3.5vw, 2.5rem); box-shadow: var(--ombre); rotate: -0.6deg; max-width: 52rem; }
.pancarte h1 { margin-bottom: 0.3em; }
.pancarte .lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); margin: 0; color: var(--encre-2); max-width: 44rem; }
.pancarte .lead a { color: var(--laterite-fonce); }
.page-head-photo { rotate: 1.2deg; background: var(--chaux); padding: 0.5rem; box-shadow: var(--ombre); }
.page-head-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 52rem) { .page-head.has-photo .wrap { grid-template-columns: minmax(0, 1fr); } .page-head-photo { rotate: 0deg; } }

/* ---------- Contenu clair (lecture) ---------- */
.contenu { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.prose { max-width: 44rem; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 44rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--rebord); }
.prose strong { font-weight: 700; }
.prose blockquote, .prose .wp-block-quote { margin: 1.75rem 0; background: #fff; border: 2px solid var(--encre); padding: 1.1rem 1.4rem; box-shadow: 0 12px 20px -16px rgba(30, 12, 4, 0.55); }
.prose blockquote p { font-family: var(--affiche); font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); line-height: 1.12; margin-bottom: 0.6rem; }
.prose blockquote cite { font-style: normal; font-size: 0.92rem; color: var(--laterite-fonce); font-weight: 700; }
.duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.promoteur-clair { margin-top: 0.5rem; }
@media (max-width: 52rem) { .duo { grid-template-columns: minmax(0, 1fr); } }
.missions { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; }
.missions li { font-family: var(--affiche); font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); line-height: 1.05; padding-bottom: 1rem; border-bottom: 1px solid rgba(245, 241, 232, 0.25); max-width: 54rem; }
.retour { margin-top: 2.5rem; }
.titre-section { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); margin-top: 0; }

/* ---------- Visiter et contact ---------- */
.visite-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.visite-infos .pancartes { max-width: none; }
.boite-form { background: #fff; border: 3px solid var(--encre); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--ombre); }
.boite-form h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); }
@media (max-width: 56rem) { .visite-grid { grid-template-columns: minmax(0, 1fr); } }
.canaux { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.canaux li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: start; }
.canaux .icon { grid-row: 1 / 4; width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; color: var(--laterite); }
.c-titre { font-family: var(--peint); font-weight: 900; text-transform: uppercase; font-size: 1.05rem; color: var(--laterite-fonce); }

/* Formulaires */
.me-form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 36rem) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label { font-weight: 700; font-size: 1rem; }
.req { color: var(--rouge); }
.field input, .field select, .field textarea { font: inherit; font-size: 1.02rem; color: var(--encre); background: var(--chaux); border: 2px solid var(--encre); border-radius: 0; padding: 0.65rem 0.75rem; min-height: 2.9rem; width: 100%; accent-color: var(--rebord); caret-color: var(--laterite); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5c6366; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--rebord); outline-offset: 1px; background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--rouge); }
.error { color: var(--rouge); font-weight: 700; font-size: 0.95rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.95rem; }
.consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--laterite); }
.me-form .btn { justify-self: start; background: var(--encre); color: var(--chaux); }
.me-form .btn:hover { background: var(--laterite-fonce); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 3px solid var(--encre); padding: 1rem 1.25rem; margin-bottom: 1.25rem; background: var(--turquoise); }
.notice[role="alert"] { background: #fde8e6; border-color: var(--rouge); }
.notice h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.notice p { margin: 0; }

/* ---------- Galerie ---------- */
.videos { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.videos video { width: 100%; aspect-ratio: 4 / 3; background: var(--fond); border: 6px solid var(--chaux); object-fit: contain; }
.videos p { margin: 0.7rem 0 0; color: #d9e4e6; }
.mosaique { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.mosaique a { display: block; border: 2px solid var(--encre); }
.mosaique img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: filter 0.25s var(--ease); }
.mosaique a:hover img { filter: saturate(1.15) brightness(1.04); }
.legende { display: block; font-size: 0.88rem; line-height: 1.35; color: var(--encre-2); margin-top: 0.45rem; }

/* ---------- Actualités ---------- */
.rubriques { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.rubriques a { font-family: var(--peint); font-weight: 800; text-transform: uppercase; font-size: 1.02rem; letter-spacing: 0.02em; text-decoration: none; color: var(--encre); border: 2px solid var(--encre); padding: 0.4rem 0.8rem; }
.rubriques a:hover { background: var(--chaux-2); }
.rubriques a[aria-current="page"] { background: var(--encre); color: var(--chaux); }
.pager { margin-top: 2.5rem; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pager .page-numbers { font-family: var(--peint); font-weight: 800; text-transform: uppercase; text-decoration: none; color: var(--encre); border: 2px solid var(--encre); padding: 0.35rem 0.75rem; }
.pager .current { background: var(--encre); color: var(--chaux); }
.article-body { font-size: clamp(1.08rem, 1rem + 0.3vw, 1.22rem); }
