/* ==========================================================================
   Révélation Motion — design system
   Béton #DCDCDA · Encre #0D0E12 · Signal #E5432D · Papier #F2F2F0
   Titres : Unbounded · Texte : Manrope
   --------------------------------------------------------------------------
   Classes utilisables dans Elementor (onglet Avancé > Classes CSS) :
   Conteneurs : rm-sec--beton | rm-sec--encre | rm-sec--noir | rm-sec--signal | rm-crosses
   Titres     : rm-h-xl | rm-h-lg | rm-h-md | rm-kicker | rm-eyebrow | rm-outline
   Texte      : rm-lead | rm-muted
   Boutons    : rm-btn | rm-btn--signal | rm-btn--contour | rm-btn--clair
   Animation  : rm-reveal (apparition au scroll) | rm-reveal--gauche | rm-reveal--zoom
   ========================================================================== */

:root {
	--rm-beton: #DCDCDA;
	--rm-beton-2: #CFCFCC;
	--rm-encre: #0D0E12;
	--rm-encre-2: #16181F;
	--rm-noir: #000000;
	--rm-papier: #F2F2F0;
	--rm-signal: #E5432D;
	--rm-signal-fonce: #C23520;
	--rm-gris: #4A4A4A;
	--rm-gris-clair: #B9B9B7;
	--rm-trait: #BDBDBA;

	--rm-font-display: 'Unbounded', 'Arial Black', sans-serif;
	--rm-font-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--rm-wrap: 1280px;
	--rm-gutter: clamp(16px, 4vw, 40px);
	--rm-radius: 22px;
	--rm-ease: cubic-bezier(.2, .8, .2, 1);
	--rm-ease-back: cubic-bezier(.34, 1.56, .64, 1);
	--rm-header-h: 76px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--rm-header-h); }
body.rm-site {
	margin: 0;
	background: var(--rm-beton);
	color: var(--rm-encre);
	font-family: var(--rm-font-text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.rm-site h1, .rm-site h2, .rm-site h3, .rm-site h4,
.rm-site .elementor-heading-title {
	font-family: var(--rm-font-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: inherit;
}
:where(.rm-site) a { color: inherit; }
:where(.rm-site) img { max-width: 100%; height: auto; }
.rm-site ::selection { background: var(--rm-signal); color: var(--rm-encre); }
.rm-site :focus-visible { outline: 3px solid var(--rm-signal); outline-offset: 3px; }

.rm-wrap { max-width: var(--rm-wrap); margin-inline: auto; padding-inline: var(--rm-gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.rm-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--rm-encre); color: var(--rm-papier) !important;
	padding: 12px 18px; border-radius: 999px; text-decoration: none;
	transition: top .2s;
}
.rm-skip:focus { top: 12px; }
.rm-content:focus { outline: none; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.rm-header {
	position: sticky; top: 0; z-index: 900;
	background: color-mix(in srgb, var(--rm-beton) 88%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rm-trait);
	transition: box-shadow .3s var(--rm-ease);
}
.admin-bar .rm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rm-header { top: 46px; } }
.rm-header.is-scrolled { box-shadow: 0 8px 30px rgba(13, 14, 18, .08); }
.rm-header__inner {
	max-width: var(--rm-wrap); margin: 0 auto; padding: 14px var(--rm-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: var(--rm-header-h); box-sizing: border-box;
}
.rm-header__brand { display: flex; align-items: center; flex-shrink: 0; }
.rm-site .rm-header__logo { height: 44px; width: auto; max-width: 240px; display: block; object-fit: contain; }
@media (max-width: 600px) { .rm-site .rm-header__logo { height: 36px; } }
.rm-nav { display: flex; align-items: center; gap: 28px; }
.rm-nav__list, .rm-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.rm-nav a:not(.rm-button) {
	font-family: var(--rm-font-display); font-size: 12px; letter-spacing: .08em;
	text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0;
}
.rm-nav a:not(.rm-button)::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--rm-signal); transform: scaleX(0); transform-origin: left;
	transition: transform .35s var(--rm-ease);
}
.rm-nav a:not(.rm-button):hover::after,
.rm-nav .current-menu-item > a::after { transform: scaleX(1); }

.rm-header__toggle {
	display: none; width: 48px; height: 48px; border: 0; border-radius: 999px;
	background: var(--rm-encre); cursor: pointer; position: relative; padding: 0;
}
.rm-header__toggle-bar,
.rm-header__toggle-bar::before,
.rm-header__toggle-bar::after {
	position: absolute; left: 14px; width: 20px; height: 2px; background: var(--rm-papier);
	transition: transform .3s var(--rm-ease), opacity .2s;
}
.rm-header__toggle-bar { top: 23px; }
.rm-header__toggle-bar::before { content: ""; left: 0; top: -6px; }
.rm-header__toggle-bar::after { content: ""; left: 0; top: 6px; }
.rm-header__toggle[aria-expanded="true"] .rm-header__toggle-bar { background: transparent; }
.rm-header__toggle[aria-expanded="true"] .rm-header__toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.rm-header__toggle[aria-expanded="true"] .rm-header__toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
	.rm-header__toggle { display: block; }
	.rm-nav {
		position: fixed; inset: var(--rm-header-h) 0 auto 0; z-index: 899;
		flex-direction: column; align-items: stretch; gap: 24px;
		background: var(--rm-encre); color: var(--rm-papier);
		padding: 32px var(--rm-gutter) 40px;
		transform: translateY(-110%); visibility: hidden;
		transition: transform .45s var(--rm-ease), visibility 0s .45s;
	}
	.rm-nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--rm-ease); }
	.rm-nav__list, .rm-nav ul { flex-direction: column; gap: 18px; }
	.rm-nav a:not(.rm-button) { font-size: 22px; font-weight: 800; }
	.rm-header__cta { align-self: flex-start; background: var(--rm-signal) !important; color: var(--rm-encre) !important; }
	body.rm-menu-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Boutons (thème + widget Bouton Elementor via classes)
   -------------------------------------------------------------------------- */
.rm-button,
.rm-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--rm-font-display); font-size: 12px; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase; text-decoration: none; line-height: 1;
	background: var(--rm-encre); color: var(--rm-papier);
	transition: transform .3s var(--rm-ease-back), background .25s, color .25s, border-color .25s;
	cursor: pointer;
}
.rm-button:hover, .rm-btn .elementor-button:hover { transform: translateY(-2px); background: var(--rm-signal); color: var(--rm-encre); }
.rm-button--ink { background: var(--rm-encre); color: var(--rm-papier); }
.rm-button--signal, .rm-btn--signal .elementor-button { background: var(--rm-signal); color: var(--rm-encre); }
.rm-button--signal:hover, .rm-btn--signal .elementor-button:hover { background: var(--rm-encre); color: var(--rm-papier); }
.rm-btn--contour .elementor-button { background: transparent; color: currentColor; border-color: currentColor; }
.rm-btn--contour .elementor-button:hover { background: var(--rm-encre); color: var(--rm-papier); border-color: var(--rm-encre); }
.rm-btn--clair .elementor-button { background: var(--rm-papier); color: var(--rm-encre); }
.rm-btn--clair .elementor-button:hover { background: var(--rm-signal); color: var(--rm-encre); }

.rm-link {
	font-family: var(--rm-font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none; border-bottom: 2px solid var(--rm-signal); padding-bottom: 4px;
}
.rm-link:hover { color: var(--rm-signal); }

/* --------------------------------------------------------------------------
   Sections (conteneurs Elementor)
   -------------------------------------------------------------------------- */
.rm-sec--beton { background: var(--rm-beton); color: var(--rm-encre); }
.rm-sec--encre { background: var(--rm-encre); color: var(--rm-papier); }
.rm-sec--noir { background: var(--rm-noir); color: var(--rm-papier); }
.rm-sec--signal { background: var(--rm-signal); color: var(--rm-encre); }
.rm-sec--encre .elementor-widget-text-editor, .rm-sec--noir .elementor-widget-text-editor { color: #D4D4D2; }

/* Croix « + » aux quatre coins */
.rm-crosses { position: relative; }
.rm-crosses::before {
	content: ""; position: absolute; inset: 18px; pointer-events: none; z-index: 0;
	--c: var(--rm-gris);
	background:
		linear-gradient(var(--c), var(--c)) left 0 top 6px / 13px 1px,
		linear-gradient(var(--c), var(--c)) left 6px top 0 / 1px 13px,
		linear-gradient(var(--c), var(--c)) right 0 top 6px / 13px 1px,
		linear-gradient(var(--c), var(--c)) right 6px top 0 / 1px 13px,
		linear-gradient(var(--c), var(--c)) left 0 bottom 6px / 13px 1px,
		linear-gradient(var(--c), var(--c)) left 6px bottom 0 / 1px 13px,
		linear-gradient(var(--c), var(--c)) right 0 bottom 6px / 13px 1px,
		linear-gradient(var(--c), var(--c)) right 6px bottom 0 / 1px 13px;
	background-repeat: no-repeat;
	opacity: .7;
}
.rm-crosses--dark::before, .rm-sec--encre.rm-crosses::before, .rm-sec--noir.rm-crosses::before { --c: #5A5A5A; }

/* --------------------------------------------------------------------------
   Typographie (widgets Titre / Éditeur de texte via classes)
   -------------------------------------------------------------------------- */
.rm-h-xl .elementor-heading-title, h1.rm-h-xl, h2.rm-h-xl { font-size: clamp(44px, 9vw, 132px); line-height: .92; letter-spacing: -0.02em; text-transform: uppercase; }
.rm-h-lg .elementor-heading-title, h2.rm-h-lg { font-size: clamp(34px, 5.5vw, 72px); line-height: .98; text-transform: uppercase; }
.rm-h-md .elementor-heading-title, h3.rm-h-md { font-size: clamp(22px, 2.6vw, 32px); }
.rm-outline .elementor-heading-title, .rm-outline.rm-outline--text {
	color: transparent !important; -webkit-text-stroke: 1.5px currentColor;
}
.rm-sec--encre .rm-outline .elementor-heading-title, .rm-sec--noir .rm-outline .elementor-heading-title { -webkit-text-stroke-color: var(--rm-papier); }
.rm-outline .elementor-heading-title { -webkit-text-stroke-color: var(--rm-encre); }

.rm-kicker .elementor-heading-title, .rm-kicker-text {
	font-size: clamp(20px, 2.2vw, 26px); text-transform: uppercase; color: var(--rm-signal);
}
.rm-kicker .elementor-heading-title::before, .rm-kicker-text::before { content: "▸ "; }

.rm-eyebrow, .rm-eyebrow .elementor-heading-title, .rm-eyebrow p {
	font-family: var(--rm-font-display); font-weight: 400; font-size: 11px !important;
	letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px;
}
.rm-lead, .rm-lead p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.rm-muted, .rm-muted p { color: var(--rm-gris); }
.rm-sec--encre .rm-muted, .rm-sec--encre .rm-muted p { color: var(--rm-gris-clair); }

/* --------------------------------------------------------------------------
   [rm_hero]
   -------------------------------------------------------------------------- */
.rm-hero {
	position: relative; overflow: hidden;
	max-width: var(--rm-wrap); margin: 0 auto;
	padding: clamp(56px, 9vw, 110px) var(--rm-gutter) clamp(40px, 6vw, 64px);
	box-sizing: border-box;
}
.rm-hero__block {
	position: absolute; left: 50%; top: 40px; bottom: 90px; width: min(260px, 30%);
	transform: translateX(-50%); background: var(--rm-signal); z-index: 0;
}
.rm-hero__inner { position: relative; z-index: 1; }
.rm-hero__kicker {
	margin: 0; font-family: var(--rm-font-display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(14px, 1.6vw, 20px); line-height: 1.15; max-width: 8em;
}
.rm-hero__stack { position: relative; margin-top: calc(clamp(42px, 10.2vw, 148px) * .5 + clamp(16px, 2vw, 28px)); }
.rm-hero__echo, .rm-hero__title {
	display: block; font-family: var(--rm-font-display); font-weight: 800;
	font-size: clamp(42px, 10.2vw, 148px); line-height: .92; letter-spacing: -0.03em;
	margin: 0; white-space: nowrap;
}
.rm-hero__echo {
	color: transparent; -webkit-text-stroke: 1.5px var(--rm-encre);
	transform: skewX(-8deg) translateY(-0.45em); position: absolute; left: 0; top: 0; z-index: 0;
}
.rm-hero__title { position: relative; transform: translateY(.18em); }
.rm-hero__sub {
	margin: clamp(28px, 3vw, 40px) 0 0; text-align: right;
	font-family: var(--rm-font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(18px, 2.6vw, 34px);
}
.rm-hero__meta {
	position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 64px);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
	font-family: var(--rm-font-display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   [rm_cartes] — éventail
   -------------------------------------------------------------------------- */
.rm-fan {
	display: flex; justify-content: center; align-items: center; flex-wrap: nowrap;
	padding: 40px 16px 90px; perspective: 1200px;
}
.rm-fan__card {
	--o: 0;
	flex: 0 0 auto; width: clamp(150px, 17vw, 230px); aspect-ratio: 3 / 4;
	margin: 0 clamp(-26px, -1.8vw, -12px);
	border-radius: var(--rm-radius); padding: 22px; box-sizing: border-box;
	display: flex; flex-direction: column; justify-content: space-between;
	text-decoration: none; box-shadow: 0 24px 50px rgba(0, 0, 0, .22);
	transform: rotate(calc(var(--o) * 7deg)) translateY(calc(abs(var(--o)) * 18px));
	transition: transform .5s var(--rm-ease-back), box-shadow .3s;
	position: relative; z-index: calc(10 - abs(var(--o)));
}
@supports not (top: abs(1px)) {
	.rm-fan__card { transform: rotate(calc(var(--o) * 7deg)); }
}
.rm-fan__card:hover, .rm-fan__card:focus-visible {
	transform: rotate(0deg) translateY(-18px) scale(1.04); z-index: 20;
	box-shadow: 0 34px 70px rgba(0, 0, 0, .3);
}
.rm-fan__card--ink { background: var(--rm-encre); color: var(--rm-papier); }
.rm-fan__card--signal { background: var(--rm-signal); color: var(--rm-encre); }
.rm-fan__card--paper { background: var(--rm-papier); color: var(--rm-encre); }
.rm-fan__num { font-family: var(--rm-font-display); font-size: 11px; letter-spacing: .12em; }
.rm-fan__label {
	font-family: var(--rm-font-display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(14px, 1.6vw, 21px); line-height: 1.08; hyphens: auto;
}
@media (max-width: 760px) {
	.rm-fan { flex-wrap: wrap; gap: 14px; padding-bottom: 40px; }
	.rm-fan__card { margin: 0; width: calc(50% - 8px); transform: none; }
	.rm-fan__card:hover { transform: translateY(-6px); }
}

/* --------------------------------------------------------------------------
   [rm_defilant]
   -------------------------------------------------------------------------- */
.rm-marquee { overflow: hidden; padding: 22px 0; }
.rm-marquee--encre { background: var(--rm-encre); color: var(--rm-papier); }
.rm-marquee--signal { background: var(--rm-signal); color: var(--rm-encre); }
.rm-marquee--beton { background: var(--rm-beton); color: var(--rm-encre); border-block: 1px solid var(--rm-trait); }
.rm-marquee__track { display: flex; width: max-content; animation: rmMarquee var(--speed, 30s) linear infinite; }
.rm-marquee:hover .rm-marquee__track { animation-play-state: paused; }
.rm-marquee__row { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.rm-marquee__row span {
	font-family: var(--rm-font-display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(22px, 3.4vw, 44px); white-space: nowrap;
}
.rm-marquee__row span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.2px currentColor; }
.rm-marquee--encre .rm-marquee__row span:nth-child(4n+3) { -webkit-text-stroke-color: var(--rm-papier); }
.rm-marquee__sep { color: var(--rm-signal); font-size: .6em !important; }
.rm-marquee--signal .rm-marquee__sep { color: var(--rm-encre); }
@keyframes rmMarquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   [rm_showreel]
   -------------------------------------------------------------------------- */
.rm-reel {
	background: var(--rm-noir); color: var(--rm-papier);
	padding: clamp(64px, 9vw, 110px) var(--rm-gutter);
	display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.rm-reel__title {
	margin: 0; font-size: clamp(40px, 8vw, 116px) !important; letter-spacing: -0.02em; line-height: 1;
}
.rm-reel__frame {
	position: relative; width: 100%; max-width: 1040px; aspect-ratio: 16 / 9;
	border-radius: var(--rm-radius); overflow: hidden;
	background: var(--rm-encre-2) center / cover no-repeat;
	display: flex; align-items: center; justify-content: center;
}
.rm-reel__frame iframe, .rm-reel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rm-reel__play {
	width: 92px; height: 92px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--rm-signal); color: var(--rm-encre);
	display: flex; align-items: center; justify-content: center; padding-left: 4px;
	transition: transform .35s var(--rm-ease-back);
	box-shadow: 0 0 0 0 rgba(229, 67, 45, .6); animation: rmPulse 2.4s infinite;
}
.rm-reel__play:hover { transform: scale(1.1); }
.rm-reel__empty { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0; color: var(--rm-gris-clair); font-size: 13px; padding: 0 16px; text-align: center; }
.rm-reel__mark { width: 96px; height: 96px; opacity: .9; }
/* Showreel dans une colonne (page Services) : sans fond noir ni grand padding. */
.elementor-column .rm-reel { padding: 0; background: transparent; }
.elementor-column .rm-reel.rm-crosses::before { display: none; }

/* --------------------------------------------------------------------------
   FAQ (widget Bascule / Toggle Elementor avec la classe rm-faq)
   -------------------------------------------------------------------------- */
.rm-faq .elementor-toggle-item { border-bottom: 1px solid #34363E; }
.rm-faq .elementor-tab-title {
	border: 0 !important; padding: 22px 0 !important;
	font-family: var(--rm-font-display); font-weight: 600; font-size: clamp(15px, 1.6vw, 19px);
}
.rm-faq .elementor-tab-title a, .rm-faq .elementor-toggle-icon { color: inherit !important; }
.rm-faq .elementor-tab-title.elementor-active .elementor-toggle-icon { color: var(--rm-signal) !important; }
.rm-faq .elementor-tab-content { border: 0 !important; padding: 0 0 24px !important; color: #D4D4D2; max-width: 760px; }
@keyframes rmPulse { 70% { box-shadow: 0 0 0 26px rgba(229, 67, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 67, 45, 0); } }

/* --------------------------------------------------------------------------
   [rm_projets] — rangées alternées & grille
   -------------------------------------------------------------------------- */
.rm-work__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 380px; }
.rm-work__row.is-flipped .rm-work__text { order: 2; }
.rm-work__text { padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.rm-work__meta { margin: 0; font-family: var(--rm-font-display); font-size: 11px; letter-spacing: .14em; color: var(--rm-gris); text-transform: uppercase; }
.rm-work__title { margin: 0; font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; }
.rm-work__title a { text-decoration: none; }
.rm-work__client { margin: 0; font-weight: 600; }
.rm-work__excerpt { max-width: 460px; color: #2E2E2E; }
.rm-work__text .rm-link { align-self: flex-start; margin-top: 8px; }
.rm-work__media { display: block; overflow: hidden; background: var(--rm-encre); position: relative; min-height: 320px; }
.rm-work__row:nth-child(4n+2) .rm-work__media { background: var(--rm-signal); }
.rm-work__media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; transition: transform .8s var(--rm-ease); }
.rm-work__row:hover .rm-work__media img { transform: scale(1.05); }
@media (max-width: 760px) {
	.rm-work__row { grid-template-columns: 1fr; }
	.rm-work__row.is-flipped .rm-work__text { order: 0; }
	.rm-work__media { min-height: 240px; }
}

.rm-work-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(16px, 2vw, 28px); padding-block: clamp(40px, 5vw, 64px);
}
.rm-work-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.rm-work-card__media {
	display: block; aspect-ratio: 3 / 4; border-radius: var(--rm-radius); overflow: hidden;
	background: var(--rm-encre); position: relative;
}
.rm-work-card:nth-child(3n+2) .rm-work-card__media { background: var(--rm-signal); }
.rm-work-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--rm-ease); }
.rm-work-card:hover .rm-work-card__media img { transform: scale(1.06); }
.rm-work-card__meta { font-family: var(--rm-font-display); font-size: 11px; letter-spacing: .14em; color: var(--rm-gris); text-transform: uppercase; }
.rm-work-card__title { font-family: var(--rm-font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; }
.rm-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--rm-gris-clair); font-size: 13px; }
.rm-empty { padding: 40px 0; color: var(--rm-gris); }

/* --------------------------------------------------------------------------
   [rm_pastilles] [rm_etapes] [rm_contact]
   -------------------------------------------------------------------------- */
.rm-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rm-pills li, .rm-pills a {
	border: 1px solid #4A4A4A; border-radius: 999px; padding: 8px 16px; font-size: 14px; text-decoration: none; display: inline-block;
}
.rm-pills--light li { border: 0; padding: 0; }
.rm-pills--light a, .rm-pills--light li:not(:has(a)) { border: 1px solid var(--rm-encre); padding: 8px 16px; border-radius: 999px; }
.rm-pills--light a[aria-current="page"], .rm-pills--light a:hover { background: var(--rm-encre); color: var(--rm-papier); }

.rm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.rm-steps__item { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid currentColor; padding-top: 16px; }
.rm-sec--encre .rm-steps__item { border-color: #34363E; }
.rm-steps__num { font-family: var(--rm-font-display); font-size: 12px; color: var(--rm-signal); }
.rm-steps__title { font-size: 17px; }
.rm-steps__text { font-size: 15px; opacity: .78; }

.rm-contact-card { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.rm-contact-card__list { margin: 0; display: grid; gap: 16px; }
.rm-contact-card__list dt { font-family: var(--rm-font-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.rm-contact-card__list dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.rm-contact-card__list a { text-decoration: none; border-bottom: 2px solid currentColor; }

/* --------------------------------------------------------------------------
   Formulaire Contact Form 7
   -------------------------------------------------------------------------- */
.rm-site .wpcf7 form { display: grid; gap: 18px; }
.rm-site .wpcf7 label { font-family: var(--rm-font-display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; display: grid; gap: 8px; }
.rm-site .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.rm-site .wpcf7 select,
.rm-site .wpcf7 textarea {
	width: 100%; box-sizing: border-box; font: 500 16px/1.4 var(--rm-font-text); color: var(--rm-encre);
	background: var(--rm-papier); border: 2px solid transparent; border-radius: 14px; padding: 14px 16px;
	text-transform: none; letter-spacing: 0;
}
.rm-site .wpcf7 input:focus, .rm-site .wpcf7 select:focus, .rm-site .wpcf7 textarea:focus { border-color: var(--rm-encre); outline: none; }
.rm-site .wpcf7 input[type="submit"] {
	justify-self: start; min-height: 52px; padding: 16px 30px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--rm-encre); color: var(--rm-papier);
	font: 600 13px/1 var(--rm-font-display); letter-spacing: .06em; text-transform: uppercase;
}
.rm-site .wpcf7 input[type="submit"]:hover { background: var(--rm-signal); color: var(--rm-encre); }
.rm-site .wpcf7-not-valid-tip { font-size: 13px; color: var(--rm-signal-fonce); text-transform: none; letter-spacing: 0; font-family: var(--rm-font-text); }
.rm-site .wpcf7 form .wpcf7-response-output { margin: 0; border-radius: 14px; }

/* --------------------------------------------------------------------------
   Fiche réalisation / archive
   -------------------------------------------------------------------------- */
.rm-single__head, .rm-archive__head { padding: clamp(56px, 8vw, 100px) 0 clamp(32px, 4vw, 48px); }
.rm-single__title, .rm-archive__title { margin: 0; font-size: clamp(36px, 6.5vw, 96px); text-transform: uppercase; letter-spacing: -0.02em; }
.rm-archive__head .rm-filter { margin-top: 28px; }
.rm-single__facts { display: flex; flex-wrap: wrap; gap: 32px; margin: 32px 0 0; }
.rm-single__facts dt { font-family: var(--rm-font-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-gris); }
.rm-single__facts dd { margin: 4px 0 0; font-weight: 700; }
.rm-single__cover img { width: 100%; display: block; }
.rm-single__body { padding-block: clamp(40px, 6vw, 80px); max-width: 820px; }
.rm-prose > * + * { margin-top: 1em; }
.rm-single__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-bottom: 64px; }
.rm-single__nav a { font-family: var(--rm-font-display); font-size: 12px; text-transform: uppercase; text-decoration: none; }
.rm-archive .nav-links { display: flex; gap: 10px; padding-bottom: 64px; }
.rm-archive .page-numbers { padding: 8px 14px; border: 1px solid var(--rm-encre); border-radius: 999px; text-decoration: none; }
.rm-archive .page-numbers.current { background: var(--rm-encre); color: var(--rm-papier); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.rm-footer { background: var(--rm-encre); color: var(--rm-gris-clair); }
.rm-footer__inner {
	max-width: var(--rm-wrap); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--rm-gutter) 40px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px;
}
.rm-footer__brand img { display: block; margin-bottom: 16px; }
.rm-footer__brand p { margin: 0; font-size: 14px; max-width: 280px; }
.rm-footer__title { margin: 0 0 14px; font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-signal); }
.rm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.rm-footer a { text-decoration: none; color: var(--rm-papier); }
.rm-footer a:hover { color: var(--rm-signal); }
.rm-footer__bottom {
	max-width: var(--rm-wrap); margin: 0 auto; padding: 20px var(--rm-gutter) 28px;
	border-top: 1px solid #262830; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px;
}

/* --------------------------------------------------------------------------
   Animations d'apparition
   (masquées seulement si le JS est actif — repli automatique après 3,5 s)
   -------------------------------------------------------------------------- */
.rm-js .rm-reveal, .rm-js [data-rm-reveal] {
	opacity: 0; transform: translateY(32px);
	transition: opacity .9s var(--rm-ease), transform .9s var(--rm-ease);
	transition-delay: var(--rm-delay, 0s);
}
.rm-js .rm-reveal--gauche { transform: translateX(-40px); }
.rm-js .rm-reveal--zoom { transform: scale(.92); }
.rm-js .rm-reveal.is-in, .rm-js [data-rm-reveal].is-in,
.rm-failsafe .rm-reveal, .rm-failsafe [data-rm-reveal] { opacity: 1; transform: none; }

/* Mouvement réduit : tout est visible, rien ne bouge. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.rm-marquee__track { animation: none; }
}
