/* ==========================================================================
   Raymond Martin — styles du site
   Transcription fidèle de la maquette Claude Design « Portfolio Raymond Martin ».
   Toutes les valeurs (couleurs, tailles, espacements) sont reprises telles quelles.
   ========================================================================== */

:root {
	--rm-bg: #0c0c0b;
	--rm-bg-2: #161614;
	--rm-ink: #edeae2;
	--rm-gold: #c8b391;
	--rm-mute: #b3aea2;
	--rm-mute-2: #8d887c;
	--rm-mute-3: #5d594f;
	--rm-mute-4: #3d3a33;
	--rm-card: #e8e4db;
	--rm-line: rgba(237, 234, 226, 0.08);
	--rm-line-2: rgba(237, 234, 226, 0.1);
	--rm-line-3: rgba(237, 234, 226, 0.14);
	--rm-line-4: rgba(237, 234, 226, 0.22);
	--rm-sans: 'Archivo', system-ui, sans-serif;
	--rm-serif: 'Instrument Serif', Georgia, serif;
}

/* --- Base ---------------------------------------------------------------- */
html, body { margin: 0; padding: 0; background: var(--rm-bg); }
/* « clip » plutôt que « hidden » : n'empêche pas l'en-tête et la barre de filtres de rester collés en haut. */
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
* { box-sizing: border-box; }
body.rm-body {
	color: var(--rm-ink);
	font-family: var(--rm-sans);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}
.rm-body a { color: var(--rm-gold); text-decoration: none; }
.rm-body a:hover { color: var(--rm-ink); }
.rm-body img, .rm-body video { display: block; }
::selection { background: var(--rm-gold); color: var(--rm-bg); }
::-webkit-scrollbar { height: 6px; width: 6px; }
::-webkit-scrollbar-thumb { background: #2a2925; }
@keyframes mFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.rm-serif { font-family: var(--rm-serif); font-style: italic; font-weight: 400; }
.rm-gold { color: var(--rm-gold); }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* Boutons « pilule » ------------------------------------------------------ */
.rm-btn {
	display: inline-block;
	font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
	padding: 15px 26px; border-radius: 999px; cursor: pointer; line-height: normal;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.rm-body .rm-btn--solid { background: var(--rm-ink); color: var(--rm-bg); font-weight: 500; }
.rm-body .rm-btn--solid:hover { background: var(--rm-gold); color: var(--rm-bg); }
.rm-body .rm-btn--ghost { border: 1px solid var(--rm-line-4); color: var(--rm-ink); }
.rm-body .rm-btn--ghost:hover { border-color: var(--rm-gold); color: var(--rm-gold); }
.rm-body .rm-btn--ghost-invert { border: 1px solid var(--rm-line-4); color: var(--rm-ink); align-self: flex-start; }
.rm-body .rm-btn--ghost-invert:hover { background: var(--rm-ink); color: var(--rm-bg); }

/* --- En-tête ------------------------------------------------------------- */
.rm-header {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 20px 40px;
	background: rgba(12, 12, 11, 0.72);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--rm-line);
}
.admin-bar .rm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rm-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .rm-header { top: 0; } }

.rm-body .rm-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; color: inherit; }
.rm-brand__logo { height: 30px; width: auto; object-fit: contain; filter: invert(1); opacity: 0.92; }
.rm-brand__text { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rm-mute-2); line-height: 1.5; }
.rm-brand__text span { color: var(--rm-mute-3); }

.rm-burger {
	display: none;
	width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
	cursor: pointer; border: 1px solid var(--rm-line-3); border-radius: 999px;
	background: transparent; padding: 0;
}
.rm-burger span { display: block; width: 16px; height: 1px; background: var(--rm-ink); }

.rm-nav { display: flex; align-items: center; border: 1px solid var(--rm-line-2); border-radius: 999px; padding: 5px; }
.rm-nav ul { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rm-nav li { margin: 0; padding: 0; }
.rm-body .rm-nav a {
	display: block;
	font-size: 11.5px; letter-spacing: 0.02em; padding: 9px 16px; border-radius: 999px;
	color: var(--rm-mute); background: transparent;
	transition: background 0.25s ease, color 0.25s ease;
}
.rm-body .rm-nav a:hover { background: rgba(237, 234, 226, 0.08); color: var(--rm-ink); }
.rm-body .rm-nav .current-menu-item > a,
.rm-body .rm-nav .current_page_item > a,
.rm-body .rm-nav .is-active > a { background: rgba(237, 234, 226, 0.1); color: var(--rm-ink); }

.rm-body .rm-header__cta {
	font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
	padding: 11px 20px; border-radius: 999px; background: var(--rm-ink); color: var(--rm-bg);
	font-weight: 500; transition: background 0.25s ease;
}
.rm-body .rm-header__cta:hover { background: var(--rm-gold); color: var(--rm-bg); }

/* --- Hero ---------------------------------------------------------------- */
.rm-hero { position: relative; width: 100%; height: 92vh; min-height: 620px; overflow: hidden; background: var(--rm-bg); }
.rm-hero__media {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.28); opacity: 0.72; filter: grayscale(0.25) contrast(1.05);
}
.rm-hero__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,12,11,0.96) 4%, rgba(12,12,11,0.35) 55%, rgba(12,12,11,0.7)); }
.rm-hero__content {
	position: relative; height: 100%;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 0 40px 54px; animation: mFade 1s ease both;
}
.rm-kicker { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--rm-gold); margin-bottom: 26px; }
.rm-hero__title {
	font-size: clamp(56px, 9.2vw, 152px); line-height: 0.9; letter-spacing: -0.045em; font-weight: 500;
	margin: 0 0 26px; max-width: 16ch; color: var(--rm-ink);
}
.rm-hero__title .rm-serif { letter-spacing: -0.01em; }
.rm-hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.rm-hero__lead { font-size: 15px; line-height: 1.75; font-weight: 300; color: var(--rm-mute); max-width: 52ch; margin: 0; }
.rm-hero__actions { display: flex; gap: 12px; }

/* --- Chiffres clés ------------------------------------------------------- */
.rm-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rm-line); }
.rm-stat { padding: 34px 32px; border-right: 1px solid var(--rm-line); }
.rm-stat:last-child { border-right: 0; }
.rm-stat__value { font-size: 34px; font-weight: 400; letter-spacing: -0.02em; }
.rm-stat__label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rm-mute-2); margin-top: 8px; }

/* --- Sélection d'œuvres -------------------------------------------------- */
.rm-section-head { padding: 96px 40px 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.rm-h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 500; letter-spacing: -0.035em; margin: 0; line-height: 1; color: var(--rm-ink); }
.rm-body .rm-link-more {
	font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rm-mute-2);
	display: flex; gap: 10px; align-items: center;
}
.rm-body .rm-link-more:hover { color: var(--rm-ink); }

.rm-rail { padding: 0 40px 96px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
.rm-body .rm-work { flex: 0 0 auto; width: 340px; cursor: pointer; scroll-snap-align: start; color: var(--rm-ink); }
.rm-body .rm-work:hover { color: var(--rm-ink); }
.rm-work__frame {
	background: var(--rm-card); border: 1px solid rgba(237,234,226,0.07); border-radius: 2px;
	height: 440px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 30px;
	transition: border-color 0.35s ease;
}
.rm-work:hover .rm-work__frame { border-color: rgba(200,179,145,0.5); }
.rm-work__frame img {
	max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0.94;
	transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rm-work:hover .rm-work__frame img { transform: scale(1.05); }
.rm-work__placeholder { font-family: var(--rm-serif); font-style: italic; font-size: 22px; color: #8d887c; text-align: center; }
.rm-work__meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 14px; align-items: baseline; }
.rm-work__title { font-size: 18px; font-weight: 400; letter-spacing: -0.015em; }
.rm-work__year { font-size: 11px; letter-spacing: 0.1em; color: var(--rm-mute-2); }
.rm-work__material { font-size: 11px; letter-spacing: 0.06em; color: var(--rm-mute-3); margin-top: 5px; }

/* --- Bloc Association ---------------------------------------------------- */
.rm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rm-line); }
.rm-split__media { position: relative; min-height: 560px; overflow: hidden; background: var(--rm-bg-2); }
.rm-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.rm-split__caption {
	position: absolute; bottom: 22px; left: 24px;
	font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rm-ink);
	background: rgba(12,12,11,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 8px 12px;
}
.rm-split__body { padding: 88px 56px; display: flex; flex-direction: column; justify-content: center; }
.rm-kicker--split { margin-bottom: 24px; }
.rm-split__title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 22px; color: var(--rm-ink); }
.rm-split__text { font-size: 14.5px; line-height: 1.85; font-weight: 300; color: var(--rm-mute); max-width: 50ch; margin: 0 0 34px; }

/* --- Citation ------------------------------------------------------------ */
.rm-quote { padding: 130px 40px; text-align: center; border-top: 1px solid var(--rm-line); }
.rm-quote__text {
	font-family: var(--rm-serif); font-style: italic; font-weight: 400;
	font-size: clamp(28px, 4.4vw, 58px); line-height: 1.25; letter-spacing: -0.02em;
	max-width: 22ch; margin: 0 auto 26px; text-wrap: pretty; color: var(--rm-ink);
}
.rm-quote__author { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rm-mute-2); }

/* --- Pied de page -------------------------------------------------------- */
.rm-footer { border-top: 1px solid var(--rm-line); padding: 60px 40px 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.rm-footer__logo { width: 230px; max-width: 100%; height: auto; filter: invert(1); opacity: 0.85; margin-bottom: 22px; }
.rm-footer__about { font-size: 12px; line-height: 1.9; font-weight: 300; color: var(--rm-mute-2); max-width: 40ch; }
.rm-footer__col { display: flex; flex-direction: column; gap: 11px; }
.rm-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.rm-footer__head { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rm-mute-3); margin-bottom: 6px; }
.rm-body .rm-footer__link, .rm-body .rm-footer__col a { font-size: 12.5px; font-weight: 300; color: var(--rm-mute); }
.rm-body .rm-footer__col a:hover { color: var(--rm-ink); }
.rm-footer__copy { font-size: 11px; font-weight: 300; color: var(--rm-mute-4); margin-top: 16px; }

/* --- Pages génériques (en attendant leur intégration) -------------------- */
.rm-page { padding: 88px 40px 96px; max-width: 1200px; animation: mFade 0.55s ease both; }
.rm-page__title { font-size: clamp(44px, 7.4vw, 116px); font-weight: 500; letter-spacing: -0.045em; line-height: 0.92; margin: 0 0 30px; color: var(--rm-ink); }
.rm-page__content { font-size: 15px; line-height: 1.8; font-weight: 300; color: var(--rm-mute); max-width: 64ch; }

/* --- Page Association ---------------------------------------------------- */
.rm-fade { animation: mFade 0.55s ease both; }
.rm-page-head { padding: 88px 40px 60px; }
.rm-page__title--asso { max-width: 18ch; }
.rm-page-head__intro { font-size: 15px; line-height: 1.8; font-weight: 300; color: var(--rm-mute); max-width: 64ch; margin: 0; }

.rm-missions { padding: 0 40px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rm-mission {
	background: var(--rm-bg-2); border: 1px solid rgba(237,234,226,0.07); padding: 40px 32px; min-height: 270px;
	display: flex; flex-direction: column; justify-content: space-between;
}
.rm-mission__num { font-size: 11px; letter-spacing: 0.14em; color: var(--rm-gold); }
.rm-mission__title { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; margin: 0 0 12px; color: var(--rm-ink); }
.rm-mission__text { font-size: 13.5px; line-height: 1.8; font-weight: 300; color: var(--rm-mute-2); margin: 0; }

.rm-support { padding: 0 40px 100px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.rm-support__media { position: relative; background: var(--rm-bg-2); border: 1px solid rgba(237,234,226,0.07); overflow: hidden; min-height: 420px; }
.rm-support__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.rm-support__panel { background: var(--rm-ink); color: var(--rm-bg); padding: 56px 44px; display: flex; flex-direction: column; justify-content: center; }
.rm-support__kicker { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: #7a6a4f; margin-bottom: 22px; }
.rm-support__title { font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 18px; color: var(--rm-bg); }
.rm-support__text { font-size: 14px; line-height: 1.85; font-weight: 300; color: var(--rm-mute-4); max-width: 44ch; margin: 0 0 30px; }
.rm-body .rm-btn--dark { background: var(--rm-bg); color: var(--rm-ink); font-weight: 500; align-self: flex-start; }
.rm-body .rm-btn--dark:hover { background: #7a6a4f; color: var(--rm-ink); }

/* --- Listes (Distinctions, Expositions) & Biographie --------------------- */
.rm-liste { padding: 20px 40px 110px; }
.rm-liste__row {
	display: grid; gap: 28px; align-items: center;
	border-top: 1px solid var(--rm-line-2); transition: padding-left 0.3s ease;
}
.rm-liste__row:hover { padding-left: 14px; }
.rm-liste--dist .rm-liste__row { grid-template-columns: 80px 1fr 300px; padding: 28px 0; }
.rm-liste--exp .rm-liste__row { grid-template-columns: 110px 1fr 1fr; padding: 24px 0; }
.rm-liste__year { font-size: 12px; letter-spacing: 0.1em; color: var(--rm-gold); }
.rm-liste--dist .rm-liste__title { font-size: clamp(20px, 2.4vw, 32px); font-weight: 400; letter-spacing: -0.03em; }
.rm-liste--exp .rm-liste__title { font-size: clamp(16px, 1.7vw, 22px); font-weight: 400; letter-spacing: -0.025em; }
.rm-liste__meta { font-size: 12.5px; line-height: 1.7; font-weight: 300; color: var(--rm-mute-2); }

.rm-bio-head { padding: 88px 40px 50px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; }
.rm-bio-head__intro { font-size: 14.5px; line-height: 1.85; font-weight: 300; color: var(--rm-mute); margin: 0; }
.rm-bio { padding: 30px 40px 40px; display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: start; }
.rm-bio__texte p { font-size: 15px; line-height: 1.9; font-weight: 300; color: var(--rm-mute); margin: 0 0 22px; max-width: 62ch; }
.rm-bio__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.rm-bio__image { background: var(--rm-bg-2); border: 1px solid rgba(237,234,226,0.07); overflow: hidden; }
.rm-bio__image img { width: 100%; height: auto; object-fit: cover; }
.rm-bio__legende { font-size: 11px; line-height: 1.8; font-weight: 300; color: var(--rm-mute-3); }
.rm-chrono { margin-top: 10px; }
.rm-chrono__row { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--rm-line-2); }
.rm-chrono__year { font-size: 12px; letter-spacing: 0.1em; color: var(--rm-gold); }
.rm-chrono__title { font-size: 13.5px; line-height: 1.7; font-weight: 300; color: var(--rm-mute); }
.rm-bio-fin { padding: 30px 40px 110px; column-count: 2; column-gap: 56px; }
.rm-bio-fin p { font-size: 14.5px; line-height: 1.9; font-weight: 300; color: var(--rm-mute-2); margin: 0 0 22px; break-inside: avoid; }

/* --- Menu déroulant (Œuvres › catalogue, espace public…) ----------------- */
.rm-nav .has-sub { position: relative; }
.rm-body .rm-nav .has-sub > a { display: flex; align-items: center; gap: 7px; }
.rm-nav__caret {
	width: 5px; height: 5px; margin-top: -3px;
	border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
	transform: rotate(45deg); opacity: 0.7; transition: transform 0.25s ease;
}
.rm-nav .has-sub:hover .rm-nav__caret,
.rm-nav .has-sub.is-open .rm-nav__caret { transform: rotate(225deg); margin-top: 3px; }
.rm-nav ul.rm-nav__sub {
	position: absolute; top: calc(100% + 12px); left: 50%; z-index: 60;
	flex-direction: column; align-items: stretch; gap: 2px;
	min-width: 230px; padding: 6px;
	background: rgba(18, 18, 16, 0.97); border: 1px solid var(--rm-line-2); border-radius: 16px;
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
	opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.rm-nav ul.rm-nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.rm-nav .has-sub:hover > .rm-nav__sub,
.rm-nav .has-sub:focus-within > .rm-nav__sub,
.rm-nav .has-sub.is-open > .rm-nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.rm-body .rm-nav .rm-nav__sub a { border-radius: 11px; padding: 11px 16px; white-space: nowrap; }
.rm-footer .rm-nav__caret { display: none; }
.rm-footer__col ul.rm-nav__sub { padding: 11px 0 0 14px; border-left: 1px solid var(--rm-line-2); margin-left: 2px; }

/* --- Chiffres clés : nombre de cases variable --------------------------- */
.rm-stats { grid-template-columns: repeat(var(--rm-stats, 4), 1fr); }

/* --- Œuvres dans l'espace public ---------------------------------------- */
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.rm-ep-head__title { max-width: 14ch; }
.rm-ep-head__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: end; }
.rm-ep-head__count { border-left: 1px solid var(--rm-line-2); padding: 4px 0 4px 32px; min-width: 230px; }
.rm-ep-head__num { font-size: clamp(48px, 5.6vw, 84px); font-weight: 400; line-height: 0.95; letter-spacing: -0.035em; }
.rm-ep-head__count .rm-stat__label { max-width: 22ch; line-height: 1.7; }

.rm-ep-focus .rm-split__media { min-height: 620px; }
.rm-ep-focus__text { margin: 0 0 30px; }
.rm-ep-focus__text p { font-size: 14.5px; line-height: 1.85; font-weight: 300; color: var(--rm-mute); max-width: 52ch; margin: 0 0 16px; }
.rm-ep-focus__text p:last-child { margin-bottom: 0; }
.rm-ep__lieu { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rm-mute-2); line-height: 1.8; }
.rm-ep-focus__lieu { padding-top: 18px; border-top: 1px solid var(--rm-line-2); max-width: 52ch; }

.rm-ep-listhead { flex-wrap: wrap; row-gap: 22px; }
.rm-ep-index { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; max-width: 780px; }
.rm-body .rm-ep-index a {
	font-size: 11px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
	padding: 7px 11px; border-radius: 999px; color: var(--rm-mute-2);
	transition: background 0.25s ease, color 0.25s ease;
}
.rm-body .rm-ep-index a:hover { background: rgba(237, 234, 226, 0.08); color: var(--rm-ink); }

.rm-ep-list { padding: 0 40px 30px; }
.rm-ep {
	display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 80px; align-items: center;
	padding: 72px 0; border-top: 1px solid var(--rm-line);
}
.rm-ep--reverse .rm-ep__media { order: 2; }
.rm-ep--reverse .rm-ep__body { justify-self: end; }
.rm-ep__media {
	position: relative; margin: 0; width: 100%; max-width: 520px; justify-self: center;
	aspect-ratio: 4 / 5; overflow: hidden;
	background: var(--rm-bg-2); border: 1px solid rgba(237, 234, 226, 0.07);
	transition: border-color 0.35s ease;
}
.rm-ep__media--landscape { aspect-ratio: 5 / 4; max-width: 620px; }
.rm-ep__media--cutout { background: var(--rm-card); }
.rm-ep:hover .rm-ep__media { border-color: rgba(200, 179, 145, 0.45); }
.rm-ep__mat { position: absolute; inset: 28px; }
.rm-body .rm-ep__img, .rm-body .rm-ep__mono { position: absolute; inset: 0; margin: auto; }
.rm-body .rm-ep__img {
	width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 50%; min-height: 50%;
	transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rm-ep:hover .rm-ep__img { transform: scale(1.03); }
.rm-ep__media--cutout .rm-ep__img { opacity: 0.94; }
.rm-body .rm-ep__mono { width: 34%; height: auto; filter: invert(1); opacity: 0.1; }
.rm-ep__body { max-width: 58ch; }
.rm-ep__year {
	font-family: var(--rm-serif); font-style: italic; font-weight: 400;
	font-size: clamp(52px, 5.6vw, 88px); line-height: 0.9; letter-spacing: -0.02em;
	color: var(--rm-gold); margin: 0 0 22px;
}
.rm-ep__body .rm-ep__lieu { margin: 0 0 14px; }
.rm-ep__title { font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 20px; color: var(--rm-ink); }
.rm-ep__text p { font-size: 14.5px; line-height: 1.85; font-weight: 300; color: var(--rm-mute); margin: 0 0 16px; }
.rm-ep__text p:last-child { margin-bottom: 0; }

.rm-ep-cta { padding: 110px 40px 130px; }
.rm-ep-cta__text { font-size: clamp(26px, 3.3vw, 44px); max-width: 26ch; margin-bottom: 18px; }
.rm-ep-cta__sub { font-size: 14px; line-height: 1.8; font-weight: 300; color: var(--rm-mute-2); max-width: 48ch; margin: 0 auto 32px; }

/* --- Les dessins --------------------------------------------------------- */
.rm-dz-head__intro { font-size: 16px; line-height: 1.85; }
.rm-dz-split .rm-split__media { min-height: 640px; }
.rm-dz-split .rm-split__media img { opacity: 0.88; }
.rm-dz-split__text p { font-size: 15px; line-height: 1.95; font-weight: 300; color: var(--rm-mute); max-width: 50ch; margin: 0 0 22px; }
.rm-dz-split__text p:last-child { margin-bottom: 0; }
.rm-dz-split__text p:first-child::first-letter {
	float: left; font-family: var(--rm-serif); font-style: italic; font-size: 4.2em; line-height: 0.82;
	padding: 6px 12px 0 0; color: var(--rm-gold);
}

.rm-dz-hint { margin: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rm-mute-3); }
.rm-dz-gallery { padding: 0 40px 100px; column-count: 3; column-gap: 28px; }
.rm-dz-item { margin: 0 0 34px; break-inside: avoid; }
.rm-body .rm-dz-item__mat {
	position: relative; display: block; overflow: hidden; cursor: zoom-in;
	padding: 26px; background: var(--rm-card);
	border: 1px solid rgba(237, 234, 226, 0.07); transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.rm-body .rm-dz-item__mat:hover { border-color: rgba(200, 179, 145, 0.55); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.rm-body .rm-dz-item__img { display: block; width: 100%; height: auto; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rm-dz-item__mat:hover .rm-dz-item__img { transform: scale(1.025); }
.rm-dz-item__zoom {
	position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 999px;
	background: rgba(12, 12, 11, 0.78); opacity: 0; transform: scale(0.85); transition: opacity 0.3s ease, transform 0.3s ease;
}
.rm-dz-item__zoom::before, .rm-dz-item__zoom::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--rm-ink); transform: translate(-50%, -50%); }
.rm-dz-item__zoom::before { width: 12px; height: 1px; }
.rm-dz-item__zoom::after { width: 1px; height: 12px; }
.rm-dz-item__mat:hover .rm-dz-item__zoom, .rm-dz-item__mat:focus-visible .rm-dz-item__zoom { opacity: 1; transform: scale(1); }
.rm-dz-item__meta { display: flex; gap: 14px; align-items: baseline; margin-top: 12px; }
.rm-dz-item__num { font-size: 11px; letter-spacing: 0.12em; color: var(--rm-gold); font-variant-numeric: tabular-nums; }
.rm-dz-item__cap { font-size: 12px; line-height: 1.6; font-weight: 300; color: var(--rm-mute-2); }

/* Visionneuse (dessins agrandis) */
html.rm-lb-open { overflow: hidden; }
.rm-lb {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center; padding: 64px 96px 72px;
	background: rgba(8, 8, 7, 0.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	opacity: 0; transition: opacity 0.3s ease;
}
.rm-lb[hidden] { display: none; }
.rm-lb.is-open { opacity: 1; }
.rm-lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.rm-body .rm-lb__img {
	display: block; width: auto; height: auto; max-width: min(1100px, 100%); max-height: calc(100vh - 170px);
	padding: 18px; background: var(--rm-card); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.rm-lb__cap { font-size: 12px; line-height: 1.6; letter-spacing: 0.04em; font-weight: 300; color: var(--rm-mute); text-align: center; max-width: 60ch; }
.rm-lb__cap:empty { display: none; }
.rm-lb__btn {
	position: absolute; width: 46px; height: 46px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--rm-line-3); background: rgba(12, 12, 11, 0.55); color: var(--rm-ink);
	font: 300 20px/1 var(--rm-sans); display: flex; align-items: center; justify-content: center;
	transition: border-color 0.25s ease, color 0.25s ease;
}
.rm-lb__btn:hover, .rm-lb__btn:focus-visible { border-color: var(--rm-gold); color: var(--rm-gold); outline: none; }
.rm-lb__close { top: 20px; right: 24px; }
.rm-lb__prev { left: 28px; top: 50%; transform: translateY(-50%); }
.rm-lb__next { right: 28px; top: 50%; transform: translateY(-50%); }
.rm-lb__count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: 0.24em; color: var(--rm-mute-2); font-variant-numeric: tabular-nums; }
.rm-lb--single .rm-lb__prev, .rm-lb--single .rm-lb__next, .rm-lb--single .rm-lb__count { display: none; }
.rm-body .rm-lb__img { transition: opacity 0.3s ease; }
.rm-body .rm-lb__img.is-loading { opacity: 0; }
.rm-body .rm-lb--bare .rm-lb__img { padding: 0; background: transparent; }
.rm-lb.has-title .rm-lb__img { max-height: calc(100vh - 210px); }
.rm-lb__title, .rm-lb__meta { display: block; }
.rm-lb__title:empty, .rm-lb__meta:empty { display: none; }
.rm-lb__title { font-family: var(--rm-serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; color: var(--rm-ink); }
.rm-lb.has-title .rm-lb__meta { margin-top: 6px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rm-gold); }

@media (max-width: 900px) {
	.rm-dz-split .rm-split__media { min-height: 460px; }
	.rm-dz-gallery { column-count: 2; column-gap: 18px; padding-left: 20px; padding-right: 20px; }
	.rm-body .rm-dz-item__mat { padding: 18px; }
	.rm-lb { padding: 64px 14px 96px; }
	.rm-lb__prev, .rm-lb__next { top: auto; bottom: 18px; transform: none; }
	.rm-lb__prev { left: 16px; } .rm-lb__next { right: 16px; }
	.rm-body .rm-lb__img { max-height: calc(100vh - 200px); padding: 10px; }
}
@media (max-width: 560px) {
	.rm-dz-gallery { column-count: 1; padding-left: 16px; padding-right: 16px; }
	.rm-dz-hint { display: none; }
}
@media (hover: none) {
	.rm-dz-item__zoom { opacity: 1; transform: none; }
}

/* Apparition douce au défilement (active seulement si le JS tourne). */
.rm-js .rm-ep { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.rm-js .rm-ep.is-in { opacity: 1; transform: none; }

/* --- Responsive (reprend les points de rupture de la maquette) ----------- */
@media (max-width: 900px) {
	.rm-nav.is-open ul.rm-nav__sub {
		position: static; opacity: 1; visibility: visible; transform: none;
		min-width: 0; padding: 0 0 6px 16px; background: none; border: 0; border-radius: 0; box-shadow: none;
	}
	.rm-nav.is-open .rm-nav__sub::before { display: none; }
	.rm-nav.is-open .rm-nav__caret { display: none; }
	.rm-body .rm-nav.is-open .rm-nav__sub a { padding: 11px 4px; color: var(--rm-mute-2); }

	.rm-ep-head__row { grid-template-columns: 1fr; gap: 28px; }
	.rm-ep-head__count { border-left: 0; border-top: 1px solid var(--rm-line-2); padding: 22px 0 0; }
	.rm-ep-focus .rm-split__media { min-height: 380px; }
	.rm-ep-index { justify-content: flex-start; }
	.rm-ep { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
	.rm-ep--reverse .rm-ep__media { order: 0; }
	.rm-ep--reverse .rm-ep__body { justify-self: start; }
	.rm-ep__media, .rm-ep__media--landscape { max-width: 100%; }
	.rm-ep__mat { inset: 20px; }
	.rm-ep-list, .rm-ep-cta { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
	.rm-ep-list, .rm-ep-cta { padding-left: 16px; padding-right: 16px; }
	.rm-ep-cta { padding-top: 80px; padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
	.rm-js .rm-ep { opacity: 1; transform: none; transition: none; }
	.rm-ep__img { transition: none; }
}

@media (max-width: 900px) {
	.rm-burger { display: flex; }
	.rm-header { flex-wrap: wrap; padding: 12px 18px; gap: 10px; }
	.rm-nav { display: none; order: 4; width: 100%; }
	.rm-nav.is-open {
		display: flex; flex-direction: column; align-items: stretch;
		border: 0; border-top: 1px solid var(--rm-line-2); border-radius: 0; margin-top: 8px; padding: 6px 0;
	}
	.rm-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
	.rm-body .rm-nav.is-open a { padding: 14px 4px; border-radius: 0; }
	.rm-header__cta { display: none; }

	.rm-stats, .rm-split, .rm-footer, .rm-missions, .rm-support, .rm-bio-head, .rm-bio { grid-template-columns: 1fr; }
	.rm-bio__aside { position: static; }
	.rm-bio-fin { column-count: 1; }
	.rm-liste--dist .rm-liste__row, .rm-liste--exp .rm-liste__row { grid-template-columns: 80px 1fr; gap: 6px 18px; }
	.rm-liste__meta { grid-column: 2; }
	.rm-stat { border-right: 1px solid var(--rm-line); }
	.rm-hero__title, .rm-page__title { font-size: 40px; }
	.rm-hero { height: 78vh; min-height: 480px; }
	.rm-hero__content, .rm-stat, .rm-section-head, .rm-rail, .rm-split__body, .rm-quote, .rm-footer, .rm-page, .rm-page-head, .rm-missions, .rm-support, .rm-liste, .rm-bio-head, .rm-bio, .rm-bio-fin {
		padding-left: 20px; padding-right: 20px;
	}
	.rm-work { width: 78vw; }
}
@media (max-width: 560px) {
	.rm-hero__content, .rm-stat, .rm-section-head, .rm-rail, .rm-split__body, .rm-quote, .rm-footer, .rm-page, .rm-page-head, .rm-missions, .rm-support, .rm-liste, .rm-bio-head, .rm-bio, .rm-bio-fin {
		padding-left: 16px; padding-right: 16px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.rm-hero__content, .rm-page { animation: none; }
	.rm-work__frame img { transition: none; }
}

/* ==========================================================================
   Page Œuvres — vitrine, filtres, mur d'images (rangées justifiées)
   ========================================================================== */
.rm-cat-head__title { max-width: 14ch; }

/* Vitrine : une œuvre sous un halo de lumière, cartel à droite. */
.rm-vitrine {
	display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	border-top: 1px solid var(--rm-line); border-bottom: 1px solid var(--rm-line);
}
.rm-vitrine__stage {
	position: relative; overflow: hidden; min-height: 78vh;
	display: flex; align-items: center; justify-content: center; padding: 64px 48px 92px;
	background:
		radial-gradient(ellipse 58% 52% at 50% 40%, rgba(237, 234, 226, 0.10), rgba(237, 234, 226, 0) 70%),
		linear-gradient(to bottom, var(--rm-bg-2), #0f0f0d);
}
.rm-vitrine__stage::after {
	content: ''; position: absolute; left: 10%; right: 10%; bottom: 54px; height: 1px;
	background: linear-gradient(to right, transparent, rgba(200, 179, 145, 0.38), transparent);
}
.rm-vitrine__stage--cutout { background: radial-gradient(ellipse 62% 56% at 50% 42%, #f2efe8, var(--rm-card) 76%); }
.rm-vitrine__stage--cutout::after { background: linear-gradient(to right, transparent, rgba(12, 12, 11, 0.18), transparent); }
.rm-body .rm-vitrine__link { position: relative; z-index: 1; display: block; cursor: zoom-in; }
.rm-body .rm-vitrine__img {
	display: block; width: auto; height: auto; max-width: 100%; max-height: calc(78vh - 156px);
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
	transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rm-vitrine__link:hover .rm-vitrine__img { transform: scale(1.015); }
.rm-vitrine__stage--cutout .rm-vitrine__img { box-shadow: none; }
.rm-vitrine__cartel {
	padding: 88px 56px; display: flex; flex-direction: column; justify-content: center;
	border-left: 1px solid var(--rm-line);
}
.rm-vitrine__title {
	font-family: var(--rm-serif); font-style: italic; font-weight: 400;
	font-size: clamp(40px, 4.6vw, 72px); line-height: 0.98; letter-spacing: -0.02em;
	margin: 0 0 24px; color: var(--rm-ink); text-wrap: balance;
}
.rm-vitrine__meta { margin: 0 0 32px; padding-top: 18px; border-top: 1px solid var(--rm-line-2); max-width: 40ch; }
.rm-vitrine__text { margin: -8px 0 32px; }
.rm-vitrine__text p { font-size: 14.5px; line-height: 1.85; font-weight: 300; color: var(--rm-mute); max-width: 46ch; margin: 0 0 16px; }
.rm-vitrine__btn { align-self: flex-start; }

/* Barre de filtres, collée sous l'en-tête. */
.rm-cat-bar {
	position: sticky; top: var(--rm-head-h, 84px); z-index: 40;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	margin: 72px 0 30px; padding: 14px 40px;
	background: rgba(12, 12, 11, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-top: 1px solid var(--rm-line); border-bottom: 1px solid var(--rm-line);
}
.admin-bar .rm-cat-bar { top: calc(var(--rm-head-h, 84px) + 32px); }
@media (max-width: 782px) { .admin-bar .rm-cat-bar { top: calc(var(--rm-head-h, 64px) + 46px); } }
@media (max-width: 600px) { .admin-bar .rm-cat-bar { top: var(--rm-head-h, 64px); } }
.rm-cat-bar[hidden] { display: none; }
.rm-cat-bar__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rm-cat-bar__chips::-webkit-scrollbar { display: none; }
.rm-cat-chip {
	flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 9px;
	font: 400 11.5px/1 var(--rm-sans); letter-spacing: 0.02em; color: var(--rm-mute);
	padding: 11px 18px; border-radius: 999px; border: 1px solid var(--rm-line-2); background: transparent; cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.rm-cat-chip:hover { color: var(--rm-ink); border-color: var(--rm-line-4); }
.rm-cat-chip:focus-visible { outline: 1px solid var(--rm-gold); outline-offset: 2px; }
.rm-cat-chip[aria-pressed="true"] { background: var(--rm-ink); border-color: var(--rm-ink); color: var(--rm-bg); }
.rm-cat-chip__n { font-size: 10px; letter-spacing: 0.08em; color: var(--rm-gold); font-variant-numeric: tabular-nums; }
.rm-cat-chip[aria-pressed="true"] .rm-cat-chip__n { color: #7a6a4f; }
.rm-cat-bar__hint { flex: 0 0 auto; }

/* Mur : rangées justifiées, chaque vignette garde les proportions de la photo. */
.rm-cat-wall {
	--rm-row: 320px; --rm-gap: 14px;
	display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--rm-gap);
	padding: 0 40px 40px; transition: opacity 0.22s ease;
}
.rm-cat-wall.is-switching { opacity: 0; }
.rm-cat-wall::after { content: ''; flex: 999 1 0px; }
.rm-cat-item {
	position: relative; margin: 0; min-width: 0;
	flex: var(--r) 1 calc(var(--r) * var(--rm-row)); aspect-ratio: var(--r);
}
.rm-cat-item[hidden] { display: none; }
.rm-body .rm-cat-item__link {
	position: absolute; inset: 0; display: block; overflow: hidden; cursor: zoom-in;
	background: var(--rm-bg-2); color: var(--rm-ink); outline: none;
}
.rm-cat-item__link::after {
	content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	border: 1px solid rgba(237, 234, 226, 0.06); transition: border-color 0.35s ease;
}
.rm-cat-item__link:hover::after, .rm-cat-item__link:focus-visible::after, .rm-cat-item.is-target .rm-cat-item__link::after { border-color: rgba(200, 179, 145, 0.6); }
.rm-body .rm-cat-item__img {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
	filter: brightness(0.93);
	transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}
.rm-cat-item__link:hover .rm-cat-item__img, .rm-cat-item__link:focus-visible .rm-cat-item__img { transform: scale(1.045); filter: none; }
.rm-cat-item__veil {
	position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 0.45s ease;
	background: linear-gradient(to top, rgba(12, 12, 11, 0.9) 0%, rgba(12, 12, 11, 0.35) 40%, rgba(12, 12, 11, 0) 66%);
}
.rm-cat-item__cap {
	position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
	display: flex; flex-direction: column; gap: 7px;
	opacity: 0; transform: translateY(10px);
	transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rm-cat-item__title { font-size: 17px; font-weight: 400; line-height: 1.2; letter-spacing: -0.015em; color: var(--rm-ink); }
.rm-cat-item__meta { font-size: 9.5px; line-height: 1.6; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rm-gold); }
.rm-cat-item__link:hover .rm-cat-item__veil, .rm-cat-item__link:focus-visible .rm-cat-item__veil { opacity: 1; }
.rm-cat-item__link:hover .rm-cat-item__cap, .rm-cat-item__link:focus-visible .rm-cat-item__cap { opacity: 1; transform: none; }
.rm-cat-item__zoom { z-index: 2; }
.rm-cat-item__link:hover .rm-cat-item__zoom, .rm-cat-item__link:focus-visible .rm-cat-item__zoom { opacity: 1; transform: scale(1); }

/* Sculptures détourées : sur fond clair, comme sur un socle. */
.rm-body .rm-cat-item--cutout .rm-cat-item__link { background: radial-gradient(ellipse 70% 60% at 50% 42%, #f2efe8, var(--rm-card) 78%); }
.rm-body .rm-cat-item--cutout .rm-cat-item__img { top: 7%; left: 9%; width: 82%; height: 86%; object-fit: contain; filter: none; }
/* Photos de petite taille : présentées dans un passe-partout, jamais agrandies. */
.rm-body .rm-cat-item--small .rm-cat-item__img { top: 16px; left: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: scale-down; filter: none; }

/* Poursuivre la visite */
.rm-cat-next { padding: 0 40px 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rm-body .rm-cat-next__card {
	position: relative; display: block; min-height: 440px; overflow: hidden;
	background: var(--rm-bg-2); border: 1px solid rgba(237, 234, 226, 0.07); color: var(--rm-ink);
	transition: border-color 0.35s ease;
}
.rm-body .rm-cat-next__card:hover { border-color: rgba(200, 179, 145, 0.5); color: var(--rm-ink); }
.rm-body .rm-cat-next__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
	transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
}
.rm-cat-next__card:hover .rm-cat-next__img { transform: scale(1.04); opacity: 0.75; }
.rm-cat-next__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 12, 11, 0.94) 6%, rgba(12, 12, 11, 0.25) 62%, rgba(12, 12, 11, 0.1)); }
.rm-cat-next__body { position: absolute; left: 40px; right: 40px; bottom: 36px; display: flex; flex-direction: column; }
.rm-cat-next__body .rm-kicker { margin-bottom: 14px; }
.rm-cat-next__title { font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 20px; max-width: 18ch; }
.rm-cat-next__card:hover .rm-cat-next__more { color: var(--rm-ink); }

/* Apparition au défilement (si le JS tourne). */
.rm-js .rm-cat-item, .rm-js .rm-cat-next__card { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease; }
.rm-js .rm-cat-item.is-in, .rm-js .rm-cat-next__card.is-in { opacity: 1; transform: none; }

@media (min-width: 1500px) { .rm-cat-wall { --rm-row: 360px; } }

/* ==========================================================================
   Bandeau de photos (Biographie, Expositions) & photo d'en-tête (Distinctions)
   ========================================================================== */
.rm-photos { padding: 0 40px 88px; }
.rm-photos__row { display: flex; gap: 18px; align-items: flex-start; max-width: 1180px; margin: 0 auto; }
.rm-photos__item { flex: var(--r) 1 0px; margin: 0; min-width: 0; }
.rm-body .rm-photos__link, .rm-body .rm-head-photo__link {
	position: relative; display: block; overflow: hidden; cursor: zoom-in; background: var(--rm-bg-2);
}
.rm-body .rm-photos__link { aspect-ratio: var(--r); }
.rm-photos__link::after, .rm-head-photo__link::after {
	content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	border: 1px solid rgba(237, 234, 226, 0.07); transition: border-color 0.35s ease;
}
.rm-photos__link:hover::after, .rm-photos__link:focus-visible::after,
.rm-head-photo__link:hover::after, .rm-head-photo__link:focus-visible::after { border-color: rgba(200, 179, 145, 0.55); }
.rm-body .rm-photos__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rm-body .rm-head-photo__img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rm-photos__link:hover .rm-photos__img, .rm-head-photo__link:hover .rm-head-photo__img { transform: scale(1.03); }
.rm-photos__zoom { z-index: 2; }
.rm-photos__link:hover .rm-photos__zoom, .rm-photos__link:focus-visible .rm-photos__zoom,
.rm-head-photo__link:hover .rm-photos__zoom, .rm-head-photo__link:focus-visible .rm-photos__zoom { opacity: 1; transform: scale(1); }
.rm-photos__cap, .rm-photos__legende { font-size: 11.5px; line-height: 1.7; font-weight: 300; color: var(--rm-mute-2); }
.rm-photos__cap { margin-top: 12px; }
.rm-photos__legende { max-width: 1180px; margin: 14px auto 0; }
.rm-photos--bio .rm-photos__row, .rm-photos--bio .rm-photos__legende { max-width: 1040px; }
.rm-photos--exp { padding-bottom: 40px; }
.rm-photos--exp .rm-photos__row, .rm-photos--exp .rm-photos__legende { max-width: 1400px; }

.rm-head-photo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.rm-head-photo__media { margin: 0; }

/* ==========================================================================
   Association : photos des missions, texte de l'appel
   ========================================================================== */
.rm-mission--media { justify-content: flex-start; padding-top: 0; overflow: hidden; }
.rm-mission__media { margin: 0 -32px 30px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rm-bg); }
.rm-body .rm-mission__img {
	width: 100%; height: 100%; object-fit: cover; opacity: 0.86; filter: grayscale(0.15);
	transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease, filter 0.5s ease;
}
.rm-mission:hover .rm-mission__img { transform: scale(1.04); opacity: 1; filter: none; }
.rm-mission--media .rm-mission__num { margin-bottom: 20px; }
.rm-support__title { font-size: clamp(24px, 2.6vw, 34px); }
.rm-support__text p { margin: 0 0 12px; }
.rm-support__text p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Biographie : lecture linéaire
   ========================================================================== */
.rm-bio2-head__title { max-width: 16ch; }
.rm-bio2-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; font-weight: 300; color: var(--rm-ink); opacity: 0.86; max-width: 60ch; margin: 0; }
.rm-bio2-reperes { padding: 10px 40px 0; }
.rm-bio2-reperes__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
	border-top: 1px solid var(--rm-line-3); border-bottom: 1px solid var(--rm-line);
}
.rm-bio2-repere { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 34px 28px 34px 0; }
.rm-bio2-repere::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--rm-gold); }
.rm-bio2-repere__year { font-family: var(--rm-serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--rm-gold); }
.rm-bio2-repere__title { font-size: 13px; line-height: 1.65; font-weight: 300; color: var(--rm-mute); max-width: 26ch; }
.rm-bio2-read { padding: 0 40px 72px; }
.rm-bio2-read--first { padding-top: 88px; }
.rm-bio2-read--end { padding-top: 0; padding-bottom: 110px; }
.rm-bio2-col { max-width: 680px; margin: 0 auto; }
.rm-bio2-col p { font-size: 16.5px; line-height: 1.95; font-weight: 300; color: var(--rm-mute); margin: 0 0 24px; }
.rm-bio2-col p:last-child { margin-bottom: 0; }
.rm-bio2-read--first .rm-bio2-col > p:first-child::first-letter {
	float: left; font-family: var(--rm-serif); font-style: italic; font-size: 4.2em; line-height: 0.82;
	padding: 6px 12px 0 0; color: var(--rm-gold);
}

/* ==========================================================================
   Contact & pages de texte (Mentions légales)
   ========================================================================== */
button.rm-btn { font-family: var(--rm-sans); background: transparent; font-weight: 400; }
.rm-contact { padding-bottom: 120px; }
.rm-contact__mail { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--rm-line-2); }
.rm-body .rm-contact__address {
	display: inline-block; font-family: var(--rm-serif); font-style: italic; font-weight: 400;
	font-size: clamp(28px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -0.01em; color: var(--rm-ink); overflow-wrap: anywhere;
}
.rm-body .rm-contact__address:hover { color: var(--rm-gold); }
.rm-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rm-contact__copy[hidden] { display: none; }
.rm-contact__infos { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 56px; }
.rm-contact__infos p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.8; font-weight: 300; color: var(--rm-mute); }

.rm-page__title--text { font-size: clamp(40px, 6vw, 88px); }
.rm-prose { padding: 0 40px 110px; max-width: 820px; }
.rm-prose h2 {
	font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; color: var(--rm-ink);
	margin: 52px 0 16px; padding-top: 22px; border-top: 1px solid var(--rm-line-2);
}
.rm-prose > h2:first-child { margin-top: 0; }
.rm-prose h3 { font-size: 17px; font-weight: 500; color: var(--rm-ink); margin: 32px 0 12px; }
.rm-prose p, .rm-prose li { font-size: 15px; line-height: 1.85; font-weight: 300; color: var(--rm-mute); }
.rm-prose p { margin: 0 0 16px; }
.rm-prose ul, .rm-prose ol { margin: 0 0 16px; padding-left: 20px; }
.rm-prose strong { font-weight: 500; color: var(--rm-ink); }
.rm-body .rm-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(200, 179, 145, 0.45); }

@media (max-width: 900px) {
	.rm-photos { padding: 0 20px 64px; }
	.rm-photos__row { gap: 10px; }
	.rm-head-photo { grid-template-columns: 1fr; gap: 36px; }
	.rm-bio2-reperes, .rm-bio2-read, .rm-prose { padding-left: 20px; padding-right: 20px; }
	.rm-bio2-reperes__list { grid-template-columns: 1fr; border-bottom: 0; border-top: 0; }
	.rm-bio2-repere { flex-direction: row; align-items: baseline; gap: 18px; padding: 16px 0; border-top: 1px solid var(--rm-line-2); }
	.rm-bio2-repere::before { display: none; }
	.rm-bio2-repere__year { font-size: 26px; min-width: 64px; }
	.rm-bio2-repere__title { max-width: none; }
	.rm-bio2-read--first { padding-top: 56px; }
}
@media (max-width: 560px) {
	.rm-photos { padding: 0 16px 56px; }
	.rm-photos__row { flex-direction: column; gap: 22px; }
	.rm-photos__item { flex: none; width: 100%; }
	.rm-bio2-reperes, .rm-bio2-read, .rm-prose { padding-left: 16px; padding-right: 16px; }
	.rm-bio2-col p { font-size: 15.5px; }
	.rm-mission__media { margin-left: -32px; margin-right: -32px; }
}
@media (prefers-reduced-motion: reduce) {
	.rm-photos__img, .rm-head-photo__img, .rm-mission__img { transition: none; }
}
@media (max-width: 900px) {
	.rm-vitrine { grid-template-columns: 1fr; }
	.rm-vitrine__stage { min-height: 0; padding: 40px 20px 64px; }
	.rm-vitrine__stage::after { bottom: 34px; }
	.rm-body .rm-vitrine__img { max-height: 62vh; }
	.rm-vitrine__cartel { border-left: 0; border-top: 1px solid var(--rm-line); padding: 44px 20px 56px; }
	.rm-cat-bar { margin-top: 48px; padding: 12px 20px; }
	.rm-cat-bar__hint { display: none; }
	.rm-cat-wall { --rm-row: 220px; --rm-gap: 10px; padding: 0 20px 32px; }
	.rm-cat-next { grid-template-columns: 1fr; padding: 0 20px 80px; }
	.rm-body .rm-cat-next__card { min-height: 340px; }
	.rm-cat-next__body { left: 24px; right: 24px; bottom: 26px; }
}
@media (max-width: 560px) {
	.rm-cat-bar { padding: 10px 16px; }
	.rm-cat-wall { --rm-row: 150px; --rm-gap: 8px; padding: 0 16px 28px; }
	.rm-cat-next { padding: 0 16px 64px; }
	.rm-cat-item__cap, .rm-cat-item__veil, .rm-cat-item__zoom { display: none; }
	.rm-body .rm-cat-item--small .rm-cat-item__img { top: 8px; left: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
}
/* ==========================================================================
   Lisibilité (octobre 2026) — échelle typographique relevée d'environ 10 %.
   Les grands titres ne bougent pas ; textes courants, légendes, libellés,
   navigation et boutons gagnent 1 à 2 px. Les petits textes (< 15 px) passent
   en graisse 400 pour ne pas paraître trop fins sur fond noir.
   Ce bloc prime sur les tailles définies plus haut.
   ========================================================================== */
:root { --rm-mute-3: #7a756b; } /* gris le plus clair des libellés secondaires : un peu plus contrasté */

/* En-tête, navigation, boutons */
.rm-brand__text { font-size: 11px; }
.rm-body .rm-nav a { font-size: 12.5px; }
.rm-body .rm-header__cta { font-size: 12px; }
.rm-btn { font-size: 12px; }
.rm-body .rm-link-more { font-size: 12px; }

/* Surtitres et libellés en capitales */
.rm-kicker { font-size: 11.5px; }
.rm-stat__label { font-size: 11.5px; }
.rm-quote__author { font-size: 11.5px; }
.rm-support__kicker { font-size: 11.5px; }
.rm-ep__lieu { font-size: 11.5px; }
.rm-split__caption { font-size: 11px; }
.rm-footer__head { font-size: 11px; }
.rm-dz-hint { font-size: 12px; }
.rm-mission__num, .rm-dz-item__num { font-size: 12px; }
.rm-liste__year { font-size: 13px; }
.rm-body .rm-ep-index a { font-size: 12.5px; }
.rm-cat-chip { font-size: 13px; }
.rm-cat-chip__n { font-size: 11px; }
.rm-cat-item__meta { font-size: 10.5px; }
.rm-lb__count { font-size: 11px; }
.rm-lb.has-title .rm-lb__meta { font-size: 11px; }

/* Textes courants */
.rm-hero__lead { font-size: 17px; }
.rm-page-head__intro { font-size: 17px; }
.rm-page__content { font-size: 16.5px; }
.rm-split__text { font-size: 16.5px; }
/* Cartes « Redécouvrir / Préserver / Partager » (page Association) : texte plus grand et plus clair. */
.rm-mission__text { font-size: 17px; line-height: 1.75; color: var(--rm-mute); }
.rm-mission__title { font-size: 30px; margin-bottom: 14px; }
.rm-mission__num { font-size: 13px; }
.rm-support__text { font-size: 15.5px; }
.rm-bio-head__intro { font-size: 16.5px; }
.rm-dz-head__intro { font-size: 17.5px; }
.rm-dz-split__text p { font-size: 17px; }
.rm-ep-focus__text p, .rm-ep__text p, .rm-vitrine__text p { font-size: 16.5px; }
.rm-ep-cta__sub { font-size: 16px; }
.rm-bio2-lead { font-size: clamp(18px, 1.6vw, 21px); }
.rm-bio2-col p { font-size: 17.5px; }
.rm-bio2-repere__title { font-size: 14.5px; }
.rm-prose p, .rm-prose li { font-size: 16.5px; }
.rm-prose h3 { font-size: 18px; }
.rm-contact__infos p { font-size: 16px; }
.rm-liste--exp .rm-liste__title { font-size: clamp(17px, 1.8vw, 23px); }

/* Légendes, cartels, pied de page (petits textes : graisse 400) */
.rm-work__title { font-size: 19px; }
.rm-work__year, .rm-work__material { font-size: 12.5px; }
.rm-cat-item__title { font-size: 18px; }
.rm-liste__meta { font-size: 14px; font-weight: 400; }
.rm-dz-item__cap { font-size: 13.5px; font-weight: 400; }
.rm-photos__cap, .rm-photos__legende { font-size: 13px; font-weight: 400; }
.rm-bio__legende { font-size: 12.5px; font-weight: 400; }
.rm-lb__cap { font-size: 13.5px; }
.rm-lb__title { font-size: 28px; }
.rm-footer__about { font-size: 13.5px; }
.rm-body .rm-footer__link, .rm-body .rm-footer__col a { font-size: 14px; font-weight: 400; }
.rm-footer__copy { font-size: 12.5px; color: var(--rm-mute-3); }

/* Le menu, un peu plus large, reste sur une ligne : marges réduites, puis menu
   « burger » sous 1100 px (avant, il débordait sur les écrans de 900 à 1080 px). */
@media (max-width: 1240px) {
	.rm-body .rm-nav a { padding: 9px 12px; }
	.rm-nav ul { gap: 4px; }
}
@media (max-width: 1100px) {
	.rm-burger { display: flex; }
	.rm-header { flex-wrap: wrap; padding: 12px 18px; gap: 10px; }
	.rm-nav { display: none; order: 4; width: 100%; }
	.rm-nav.is-open {
		display: flex; flex-direction: column; align-items: stretch;
		border: 0; border-top: 1px solid var(--rm-line-2); border-radius: 0; margin-top: 8px; padding: 6px 0;
	}
	.rm-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
	.rm-body .rm-nav.is-open a { padding: 14px 4px; border-radius: 0; font-size: 14px; }
	.rm-nav.is-open ul.rm-nav__sub {
		position: static; opacity: 1; visibility: visible; transform: none;
		min-width: 0; padding: 0 0 6px 16px; background: none; border: 0; border-radius: 0; box-shadow: none;
	}
	.rm-nav.is-open .rm-nav__sub::before, .rm-nav.is-open .rm-nav__caret { display: none; }
	.rm-body .rm-nav.is-open .rm-nav__sub a { padding: 11px 4px; color: var(--rm-mute-2); }
	.rm-header__cta { display: none; }
	/* Menu ouvert : le bouton « Nous contacter » apparaît sous la liste. */
	.rm-body .rm-nav.is-open ~ .rm-header__cta { display: block; order: 5; width: 100%; text-align: center; margin: 2px 0 10px; padding: 14px 20px; }
}
@media (max-width: 560px) {
	.rm-bio2-col p { font-size: 16.5px; }
	.rm-hero__lead, .rm-page-head__intro { font-size: 16.5px; }
}

@media (hover: none) and (min-width: 561px) {
	.rm-cat-item__veil { opacity: 1; background: linear-gradient(to top, rgba(12, 12, 11, 0.82), rgba(12, 12, 11, 0) 46%); }
	.rm-cat-item__cap { opacity: 1; transform: none; }
	.rm-cat-item__zoom { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rm-js .rm-cat-item, .rm-js .rm-cat-next__card { opacity: 1; transform: none; transition: none; }
	.rm-cat-item__img, .rm-vitrine__img, .rm-cat-next__img, .rm-cat-wall { transition: none; }
}
