/* ==========================================================================
   M·COACHING - theme stylesheet
   Every value below is copied from the prototype source (inline styles of
   reference/source/MCoaching.dc.html) or from tokens/tokens.css. Do not round.
   All selectors are prefixed with .mc / .mc- and target native blocks.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
	--mc-vert-nuit: #282F1B;
	--mc-vert-profond: #1F2615;
	--mc-vert-abysse: #1A200F;
	--mc-vert-carte: #28331C;
	--mc-vert-mousse: #34401F;
	--mc-vert-astragale: #2E3A1D;
	--mc-vert-foret: #3B5123;
	--mc-sauge: #A9BC96;
	--mc-vert-tendre: #8FBE79;
	--mc-orange: #BA4B1E;
	--mc-jaune: #DBC62C;
	--mc-creme: #F5F1DD;
	--mc-creme-2: #E3E6CF;
	--mc-creme-3: #D6DCC0;
	--mc-creme-4: #CFD8BE;
	--mc-peche: #E8A07E;

	--mc-f-titre: 'Bricolage Grotesque', sans-serif;
	--mc-f-pilier: 'Young Serif', serif;
	--mc-f-texte: Inter, sans-serif;
	--mc-f-mono: 'JetBrains Mono', monospace;

	--mc-gutter: clamp(20px, 4vw, 48px);
	--mc-ease: cubic-bezier(.2, .8, .2, 1);
}

/* -------------------------------------------------------------------------
   2. Keyframes (prefixed to avoid clashes with plugins)
   ------------------------------------------------------------------------- */
@keyframes mc-fl { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@keyframes mc-dash { to { stroke-dashoffset: -22 } }
@keyframes mc-blink { 0%, 100% { opacity: .35 } 50% { opacity: 1 } }
@keyframes mc-ring { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.045) } }
@keyframes mc-spin { to { transform: rotate(360deg) } }
@keyframes mc-carup { from { transform: translateY(0) } to { transform: translateY(calc(-50% - 3px)) } }
@keyframes mc-avisy { to { transform: translateY(calc(-50% - 9px)) } }
@keyframes mc-avisx { to { transform: translateX(calc(-50% - 9px)) } }
@keyframes mc-marq { to { transform: translateX(-50%) } }
@keyframes mc-slidein { from { transform: translateX(40px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes mc-pop { from { transform: translateY(18px) scale(.985); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes mc-fadein { from { opacity: 0 } to { opacity: 1 } }
@keyframes mc-rise { from { transform: translateY(22px); opacity: 0 } to { transform: none; opacity: 1 } }

/* -------------------------------------------------------------------------
   3. Base / page shell
   ------------------------------------------------------------------------- */
body {
	margin: 0;
	background: var(--mc-vert-nuit);
	-webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }

/* Prototype root: radial glow fixed to the viewport, full height column. */
.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: radial-gradient(90% 70% at 50% 60%, #3a501e 0%, #282F1B 65%) fixed, #282F1B;
	color: var(--mc-creme);
	font-family: var(--mc-f-texte);
	padding: 0;
}

/* Core puts the global block gap between header and main: the prototype has none. */
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Inside our sections, spacing is explicit: neutralise the flow-layout gap. */
body :where([class*="mc-"]).is-layout-flow > *,
body :where([class*="mc-"]).is-layout-constrained > *,
body :where(.mc-content).is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Parent theme sets text-wrap: pretty on paragraphs; the prototype wraps normally
   unless a rule below asks for "pretty" explicitly. */
.wp-site-blocks :is(p, h1, h2, h3, h4, h5, h6) { text-wrap: wrap; }

.mc-main {
	flex: 1;
	width: 100%;
}

/* -------------------------------------------------------------------------
   4. Header (template part "header")
   ------------------------------------------------------------------------- */
.mc-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .mc-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .mc-site-header { top: 0; } }

.mc-header.wp-block-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 20px var(--mc-gutter);
	background: linear-gradient(#282F1B, rgba(40, 47, 27, .85));
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-family: var(--mc-f-texte);
	line-height: normal;
}

/* Brand "M·COACHING" (core/site-title, the · becomes the orange dot). */
.mc-header .mc-brand {
	margin: 0;
	padding: 0;
	font-family: var(--mc-f-titre);
	font-weight: 700;
	font-size: 23px;
	line-height: normal;
	letter-spacing: .02em;
	text-transform: none;
}
.mc-header .mc-brand a {
	display: flex;
	align-items: flex-end;
	color: var(--mc-creme);
	text-decoration: none;
}
.mc-header .mc-brand a:hover,
.mc-header .mc-brand a:focus { color: var(--mc-creme); text-decoration: none; }
.mc-brand__dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mc-orange);
	margin: 0 5px 7px;
}

/* Navigation */
.mc-header .mc-nav,
.mc-header .mc-nav .wp-block-navigation__container {
	gap: 6px;
	flex-wrap: wrap;
}
.mc-header .mc-nav .wp-block-navigation-item {
	position: relative;
}
.mc-header .mc-nav .wp-block-navigation-item__content {
	position: relative;
	display: block;
	color: var(--mc-creme-4);
	font-family: var(--mc-f-texte);
	font-size: 13.5px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: normal;
	padding: 8px 12px;
	border-radius: 999px;
	text-decoration: none;
	transition: color .2s, background .2s;
}
.mc-header .mc-nav .wp-block-navigation-item__content:hover,
.mc-header .mc-nav .wp-block-navigation-item__content:focus-visible {
	color: var(--mc-jaune);
	background: rgba(245, 241, 221, .05);
	text-decoration: none;
}
.mc-header .mc-nav .current-menu-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: var(--mc-jaune);
}

/* Contact button */
.mc-header .mc-header__actions { gap: 0; margin: 0; }
.mc-header .mc-btn-contact .wp-block-button__link {
	cursor: pointer;
	color: var(--mc-creme);
	background: transparent;
	font-family: var(--mc-f-texte);
	font-size: 13px;
	font-weight: 600;
	line-height: normal;
	border: 1px solid rgba(186, 75, 30, .7);
	border-radius: 999px;
	padding: 9px 18px;
	transition: background .2s;
}
.mc-header .mc-btn-contact .wp-block-button__link:hover,
.mc-header .mc-btn-contact .wp-block-button__link:focus-visible {
	background: var(--mc-orange);
	color: var(--mc-creme);
}

/* -------------------------------------------------------------------------
   5. Shared components
   ------------------------------------------------------------------------- */

/* Eyebrow (surtitre). --live adds the blinking yellow dot of the home page. */
body .mc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 12.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--mc-sauge);
	line-height: normal;
}
.mc-eyebrow--live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mc-jaune);
	box-shadow: 0 0 12px var(--mc-jaune);
	animation: mc-blink 2.4s ease-in-out infinite;
}

/* Animated pillar logo (block mcoaching/logo) */
.mc-logo {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
}
/* Editor: ServerSideRender wraps the markup in an extra div. */
.wp-block-mcoaching-logo:not(.mc-logo) > div,
.wp-block-mcoaching-logo:not(.mc-logo) .mc-logo { width: 100%; height: 100%; }
.mc-logo svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}

/* Placeholder used by pages not built yet */
body .mc-placeholder {
	max-width: 1180px;
	margin: 80px auto;
	padding: 0 20px;
	text-align: center;
	color: var(--mc-sauge);
}

/* -------------------------------------------------------------------------
   6. Home page
   ------------------------------------------------------------------------- */
.mc-main--home {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 20px 110px;
	animation: mc-fadein .5s ease;
}
.mc-main--home > .mc-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 6.1 Hero */
body .mc-home-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}
body .mc-home-hero__heading {
	animation: mc-rise .7s ease;
	margin-top: 20px;
	text-align: center;
	font-family: var(--mc-f-titre);
	line-height: .98;
}
body .mc-home-hero__title {
	font-family: var(--mc-f-titre);
	font-weight: 600;
	font-size: clamp(44px, 6.4vw, 82px);
	line-height: .98;
	letter-spacing: -.04em;
	margin: 0;
	text-align: center;
	color: var(--mc-creme);
}
/* Prototype: <span> inside the h1 at .5em -> half of the h1 clamp. */
body .mc-home-hero__subtitle {
	font-family: var(--mc-f-titre);
	font-size: calc(clamp(44px, 6.4vw, 82px) * .5);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.02em;
	margin: 14px 0 0;
	color: var(--mc-jaune);
	text-align: center;
}
body .mc-home-hero__intro {
	max-width: 54ch;
	margin: 22px auto 0;
	color: var(--mc-creme-4);
	font-size: 17px;
	line-height: 1.55;
	text-align: center;
	text-wrap: pretty;
}

/* 6.2 Pillar tiles */
body .mc-tiles {
	position: relative;
	width: 100%;
	max-width: 1180px;
	margin-top: 40px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 20px;
	align-items: start;
}

/* Waves between the icons (one undulation each). Only meaningful on 3 columns. */
.mc-tiles > .mc-waves {
	position: absolute;
	inset: 0;
	pointer-events: none;
	margin: 0;
}
.mc-wave {
	position: absolute;
	top: 149px;
	width: calc(33.33% - 196px);
	height: 44px;
	overflow: visible;
	pointer-events: none;
}
.mc-wave--1 { left: calc(16.67% + 58px); }
.mc-wave--2 { left: calc(50% + 138px); }
.mc-wave path { animation: mc-dash 1.4s linear infinite; }
/* 3 columns need 3 x 260px + 2 x 20px = 820px of grid, i.e. a 860px viewport. */
@media (max-width: 859.98px) { .mc-tiles > .mc-waves { display: none; } }

body .mc-tile {
	position: relative;
	cursor: pointer;
	color: var(--mc-creme);
	background: transparent;
	border: 1px solid transparent;
	border-radius: 26px;
	padding: 16px 16px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-family: var(--mc-f-texte);
	line-height: normal;
	transition: opacity .4s, transform .4s, background .4s, border-color .4s;
}
body .mc-tile > .wp-block-mcoaching-logo {
	width: 190px;
	height: 190px;
	margin-top: 60px;
	animation: mc-fl 7.4s ease-in-out infinite;
	filter: drop-shadow(0 0 22px rgba(101, 145, 84, .5));
}
body .mc-tile--main > .wp-block-mcoaching-logo {
	width: 310px;
	height: 310px;
	margin-top: 0;
}
body .mc-tile__name {
	font-family: var(--mc-f-pilier);
	font-weight: 400;
	text-transform: none;
	font-size: 27px;
	line-height: normal;
	letter-spacing: -.03em;
	margin: 14px 0 0;
	color: inherit;
}
body .mc-tile--main .mc-tile__name { font-size: 40px; }
body .mc-tile--atelier .mc-tile__name { margin-top: 40px; }
body .mc-tile__label {
	font-size: 12.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mc-jaune);
	font-weight: 600;
	margin: 6px 0 0;
	line-height: normal;
}
body .mc-tile__reveal {
	opacity: 0;
	transition: opacity .4s;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* 0,2,1: must beat core ":root :where(.is-layout-flow) > :first-child" (0,2,0). */
body .mc-tile .mc-tile__desc {
	margin: 12px auto 14px;
	max-width: 30ch;
	color: var(--mc-creme-3);
	font-size: 15px;
	line-height: 1.55;
}
body .mc-tile__actions { margin: 0; gap: 0; justify-content: center; }
body .mc-tile__cta { position: static; }
body .mc-tile__cta .wp-block-button__link {
	position: static;
	font-family: var(--mc-f-texte);
	font-weight: 600;
	font-size: 14.5px;
	line-height: normal;
	background: var(--mc-orange);
	color: var(--mc-creme);
	padding: 10px 20px;
	border-radius: 999px;
}
/* The whole tile is the link (prototype: the tile is a button). */
body .mc-tile__cta .wp-block-button__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 26px;
}
body .mc-tile__cta .wp-block-button__link:focus-visible { outline: none; }
body .mc-tile:has(.wp-block-button__link:focus-visible) {
	outline: 2px solid var(--mc-jaune);
	outline-offset: 2px;
}

/* Hover / focus: active tile grows, the others dim. */
body .mc-tile:hover,
body .mc-tile:focus-within {
	background: rgba(186, 75, 30, .07);
	border-color: rgba(186, 75, 30, .35);
	transform: scale(1.03);
}
body .mc-tile:hover .mc-tile__reveal,
body .mc-tile:focus-within .mc-tile__reveal { opacity: 1; }
body .mc-tiles:has(.mc-tile:hover) .mc-tile:not(:hover),
body .mc-tiles:has(.mc-tile:focus-within) .mc-tile:not(:focus-within) {
	opacity: .4;
	transform: scale(.95);
}

/* -------------------------------------------------------------------------
   7. Pillar pages (shared)
   ------------------------------------------------------------------------- */
.mc-main--pillar {
	padding: 0 4px 110px;
	animation: mc-fadein .5s ease;
}

/* Section titles (H2 34px) */
body .mc-h2 {
	font-family: var(--mc-f-titre);
	font-weight: 600;
	font-size: 34px;
	line-height: normal;
	letter-spacing: -.02em;
	margin: 0;
	color: var(--mc-creme);
}
body .mc-section-title { margin: 56px var(--mc-section-x, clamp(16px, 4vw, 44px)) 22px; }

/* Pillar names (Young Serif) */
body .mc-pillar-title {
	font-family: var(--mc-f-pilier);
	font-weight: 400;
	text-transform: none;
	font-size: clamp(56px, 8.5vw, 120px);
	line-height: .88;
	letter-spacing: -.03em;
	margin: 10px 0 20px;
	color: var(--mc-creme);
}

/* "← Retour" */
body .mc-back {
	margin: 0;
	padding-bottom: 22px;
	font-size: 16px;
	line-height: normal;
}
body .mc-back a {
	font-size: 14px;
	color: var(--mc-creme-4);
	text-decoration: none;
}
body .mc-back a:hover,
body .mc-back a:focus-visible { color: var(--mc-jaune); }

/* CTA buttons (pill). --tilt: hover lift + -2deg; --jaune: yellow variant */
body .mc-btn .wp-block-button__link {
	display: inline-block;
	background: var(--mc-orange);
	color: var(--mc-creme);
	padding: 13px 24px;
	border-radius: 999px;
	border: 0;
	font-family: var(--mc-f-texte);
	font-weight: 600;
	font-size: 15px;
	line-height: normal;
	letter-spacing: normal;
	text-decoration: none;
	transition: transform .2s;
}
body .mc-btn .wp-block-button__link:hover,
body .mc-btn .wp-block-button__link:focus-visible {
	color: var(--mc-creme);
	transform: translateY(-2px);
}
body .mc-btn--tilt .wp-block-button__link:hover,
body .mc-btn--tilt .wp-block-button__link:focus-visible { transform: translateY(-2px) rotate(-2deg); }
body .mc-btn--jaune .wp-block-button__link,
body .mc-btn--jaune .wp-block-button__link:hover,
body .mc-btn--jaune .wp-block-button__link:focus-visible {
	background: var(--mc-jaune);
	color: var(--mc-vert-nuit);
	font-family: var(--mc-f-titre);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .01em;
}

/* Images that fill their box */
body :is(.mc-pyr-hero__photo, .mc-person__photo, .mc-band__photo) { margin: 0; }
body :is(.mc-pyr-hero__photo, .mc-person__photo, .mc-band__photo) img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 50%;
}

/* -------------------------------------------------------------------------
   8. Pyrenesens
   ------------------------------------------------------------------------- */

/* 8.1 Hero */
body .mc-pyr-hero {
	position: relative;
	height: min(76vh, 720px);
	min-height: 560px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--mc-vert-abysse);
}
body .mc-pyr-hero__photo {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 40%;
	z-index: 0;
}
body .mc-pyr-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, #1A200F 0%, #1A200F 40%, rgba(26, 32, 15, .55) 52%, rgba(26, 32, 15, 0) 70%),
		linear-gradient(0deg, rgba(20, 24, 12, .6) 0%, transparent 35%);
}
body .mc-pyr-hero__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0 clamp(20px, 4vw, 48px) 44px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
	pointer-events: none;
}
body .mc-pyr-hero__text {
	max-width: 640px;
	pointer-events: auto;
	animation: mc-rise .6s ease;
}
body .mc-pyr-hero__intro {
	color: var(--mc-creme-2);
	font-size: 17px;
	line-height: 1.6;
	margin: 0;
	text-wrap: pretty;
}
body .mc-pyr-hero__actions {
	display: flex;
	gap: 12px;
	margin: 26px 0 0;
	flex-wrap: wrap;
	align-items: center;
}
body .mc-pyr-hero__logo {
	width: 170px;
	height: 160px;
	flex: none;
	animation: mc-fl 7s ease-in-out infinite;
	filter: drop-shadow(0 0 20px rgba(20, 24, 12, .8));
}

/* 8.2 Team + testimonials band */
body .mc-team-band {
	max-width: 1320px;
	margin: 44px auto 0;
	padding: 0 clamp(16px, 4vw, 44px);
}
body .mc-team-band__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 28px 48px;
	align-items: stretch;
}
body .mc-team .mc-team__title,
body .mc-ast-team .mc-team__title { margin-bottom: 18px; }
body .mc-team__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 14px;
}
body .mc-person {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--mc-vert-carte);
	border: 1px solid rgba(101, 145, 84, .35);
	border-radius: 18px;
	padding: 16px 18px;
	transition: border-color .25s, transform .25s;
}
body .mc-person:hover { border-color: var(--mc-orange); transform: translateY(-3px); }
body .mc-person .mc-person__photo {
	position: relative;
	width: 68px;
	height: 68px;
	flex: none;
	border-radius: 50%;
	overflow: hidden;
	background: var(--mc-vert-mousse);
	border: 2px solid rgba(186, 75, 30, .6);
}
body .mc-person__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: left;
	color: var(--mc-creme);
	line-height: normal;
}
body .mc-person__name {
	font-family: var(--mc-f-titre);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.1;
	margin: 0;
}
body .mc-person__role {
	font-size: 13.5px;
	color: var(--mc-sauge);
	line-height: 1.4;
	margin: 0;
}

body .mc-avis { display: flex; flex-direction: column; }
body .mc-avis__head { display: flex; flex-direction: column; gap: 8px; }
body .mc-avis__lead { margin: 0; color: #C9D2B8; font-size: 16px; line-height: 1.5; }
body .mc-avis .mc-avis__viewport {
	margin-top: 14px;
	flex: 1;
	/* 260px under 980px of viewport, 0 above: the column then matches the team cards. */
	min-height: clamp(0px, calc((980px - 100vw) * 100), 260px);
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
body .mc-avis__track {
	cursor: grab;
	touch-action: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	animation: mc-avisy 50s linear infinite;
	--mc-loop-ref: 3;
}
body .mc-avis__viewport:hover .mc-avis__track { animation-play-state: paused; }
body .mc-avis__item {
	margin: 0;
	flex: none;
	width: 100%;
	background: var(--mc-vert-carte);
	border: 1px solid rgba(101, 145, 84, .35);
	border-radius: 18px;
	padding: 18px 20px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	line-height: normal;
}
body .mc-avis__item::before {
	content: "\201C";
	display: block;
	font-family: var(--mc-f-titre);
	font-size: 40px;
	line-height: .6;
	color: var(--mc-orange);
	height: 16px;
}
body .mc-avis__quote {
	margin: 0;
	flex: 1;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mc-creme-2);
	font-style: italic;
	text-wrap: pretty;
}
body .mc-avis__cite {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-top: 1px solid rgba(101, 145, 84, .3);
	padding-top: 10px;
}
body .mc-avis__name { margin: 0; font-family: var(--mc-f-titre); font-weight: 600; font-size: 16px; line-height: normal; }
body .mc-avis__context { margin: 0; font-size: 13px; color: var(--mc-jaune); line-height: normal; }

/* 8.3 Expanding photo bands */
body .mc-bands {
	display: flex;
	gap: 4px;
	height: 500px;
}
body .mc-band {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	border-radius: 8px;
	background: var(--mc-vert-abysse);
	transition: flex .7s cubic-bezier(.2, .8, .2, 1);
	color: var(--mc-creme);
	line-height: normal;
}
body .mc-band:hover,
body .mc-band:focus-within { flex-grow: 1.8; }
body .mc-band .mc-band__photo {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: calc(100% - 190px);
}
body .mc-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(20, 24, 12, .5) 0%, rgba(20, 24, 12, 0) 25%, rgba(20, 24, 12, 0) calc(100% - 330px), #1A200F calc(100% - 190px), #1A200F 100%);
}
body .mc-band__top {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 2;
	padding: 20px 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	pointer-events: none;
}
/* Empty first slot, as in the prototype: the pill is pushed right, and starts
   after the gap when the band is too narrow. */
body .mc-band__top::before { content: ""; }
body .mc-band .mc-band__price {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: normal;
	background: rgba(20, 24, 12, .6);
	padding: 6px 12px;
	border-radius: 999px;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	white-space: nowrap;
}
body .mc-band__body {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	padding: 24px 22px 26px;
	text-align: left;
}
body .mc-band__title {
	font-family: var(--mc-f-titre);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.05;
	margin: 0;
	color: var(--mc-creme);
}
body .mc-band__desc {
	color: var(--mc-creme-3);
	font-size: 14.5px;
	line-height: 1.5;
	max-width: 34ch;
	margin: 0;
}
body .mc-band .mc-band__cta { margin: 6px 0 0; line-height: normal; }
body .mc-band__cta a {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--mc-creme);
	text-decoration: none;
}
body .mc-band__cta a::before {
	content: "\2192";
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--mc-orange);
	display: grid;
	place-items: center;
}
/* The whole band is the link. */
body .mc-band__cta a::after {
	content: "";
	position: absolute;
	inset: 0;
}
body .mc-band__cta a:hover,
body .mc-band__cta a:focus-visible { color: var(--mc-creme); outline: none; }
body .mc-band:has(.mc-band__cta a:focus-visible) { outline: 2px solid var(--mc-jaune); outline-offset: 2px; }

/* 8.4 Continuous horizontal carousel */
body .mc-marquee {
	margin: 56px -4px 0;
	overflow: hidden;
}
body .mc-marquee__track {
	cursor: grab;
	touch-action: pan-y;
	display: flex;
	gap: 6px;
	width: max-content;
	animation: mc-marq 70s linear infinite;
	--mc-loop-ref: 9; /* photos for 70s: more photos = proportionally longer (mcoaching.js) */
}
body .mc-marquee__track:hover { animation-play-state: paused; }
body .mc-marquee .mc-marquee__track > * {
	flex: none;
	height: clamp(240px, 32vw, 380px);
	border-radius: 6px;
	overflow: hidden;
	background: var(--mc-vert-abysse);
	margin: 0;
}
body .mc-marquee__track > * img {
	display: block;
	height: 100%;
	width: auto;
	max-width: none;
	-webkit-user-drag: none;
	user-select: none;
}

/* -------------------------------------------------------------------------
   9. Fiches (side panels)
   ------------------------------------------------------------------------- */
html.mc-fiche-open { overflow: hidden; }

.mc-fiche-layer {
	position: fixed;
	inset: 0;
	z-index: 200;
	font-family: var(--mc-f-texte);
	color: var(--mc-creme);
	line-height: normal;
}
.admin-bar .mc-fiche-layer { top: var(--wp-admin--admin-bar--height, 32px); }
.mc-fiche-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 19, 9, .72);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: mc-fadein .3s ease;
}
.mc-fiche {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(680px, 100%);
	background: var(--mc-vert-profond);
	border-left: 1px solid rgba(186, 75, 30, .35);
	box-shadow: -40px 0 80px rgba(0, 0, 0, .45);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.mc-fiche.mc-fiche--in { animation: mc-slidein .4s cubic-bezier(.2, .8, .2, 1); }
.mc-fiche--full { width: 100%; }
.mc-fiche__inner {
	padding: 34px clamp(22px, 4vw, 44px) 110px;
	max-width: none;
	margin: 0 auto;
}
.mc-fiche--full .mc-fiche__inner { max-width: 1200px; }
.mc-fiche__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.mc-fiche__sub {
	font-size: 12.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mc-jaune);
	font-weight: 600;
}
.mc-fiche__close {
	cursor: pointer;
	border: 0;
	color: var(--mc-creme);
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	background: rgba(245, 241, 221, .07);
	font: inherit;
	font-size: 20px;
	padding: 0;
	transition: background .2s;
}
.mc-fiche__close:hover,
.mc-fiche__close:focus-visible { background: var(--mc-orange); }
.mc-fiche__close:focus-visible,
.mc-fiche__back:focus-visible { outline: 2px solid var(--mc-jaune); outline-offset: 2px; }
.mc-fiche__avatar {
	position: relative;
	height: clamp(200px, 32vh, 300px);
	margin: 18px calc(-1 * clamp(22px, 4vw, 44px)) 0;
	overflow: hidden;
	background: var(--mc-vert-mousse);
}
.mc-fiche__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--mc-avatar-pos, center 22%);
	display: block;
}
.mc-fiche__avatar::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 40%;
	background: linear-gradient(0deg, #1F2615, rgba(31, 38, 21, 0));
}
.mc-fiche__titlebar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	margin: 14px 0 22px;
}
.mc-fiche__titlebar--spaced { margin-top: 44px; }
.mc-fiche .mc-fiche__title {
	font-family: var(--mc-f-titre);
	font-size: clamp(34px, 5vw, 48px);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1;
	margin: 0;
	color: var(--mc-creme);
	text-wrap: wrap;
}
.mc-fiche__gift {
	margin-left: auto;
	background: var(--mc-orange);
	color: var(--mc-creme);
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	transition: transform .2s;
	text-decoration: none;
}
.mc-fiche__gift:hover,
.mc-fiche__gift:focus-visible { color: var(--mc-creme); transform: translateY(-2px); }
.mc-fiche__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.mc-fiche__body > * { margin: 0; }
.mc-fiche__back {
	align-self: flex-start;
	margin-top: 14px;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 6px 0;
	color: var(--mc-jaune);
	font-family: var(--mc-f-titre);
	font-weight: 600;
	font-size: 17px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: transform .2s;
}
.mc-fiche__back[hidden] { display: none; }
.mc-fiche__back:hover { transform: translateX(-3px); }

/* 9.1 Fiche content blocks (mc-f-*) */
body .mc-f-lead {
	font-family: var(--mc-f-titre);
	font-size: 21px;
	line-height: 1.35;
	color: var(--mc-creme-2);
	margin: 0;
	text-wrap: pretty;
}
body .mc-f-p {
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--mc-creme-3);
	margin: 0;
	text-wrap: pretty;
}
body .mc-f-note {
	font-size: 14px;
	line-height: 1.5;
	color: var(--mc-sauge);
	margin: 0;
}
body .mc-fiche__body .mc-f-h3,
body .mc-f-h3 {
	font-family: var(--mc-f-titre);
	font-size: 24px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: normal;
	color: var(--mc-vert-tendre);
	margin: 14px 0 0;
}
body .mc-f-bio {
	font-family: var(--mc-f-titre);
	font-size: 19px;
	line-height: 1.45;
	color: var(--mc-creme-2);
	margin: 0;
	padding: 22px 24px;
	background: rgba(101, 145, 84, .08);
	border-radius: 18px;
}
body .mc-f-img {
	position: relative;
	height: clamp(220px, 34vh, 320px);
	border-radius: 18px;
	overflow: hidden;
	background: var(--mc-vert-mousse);
	margin: 0;
}
body .mc-f-img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Bulleted lists: orange dots */
body .mc-f-ul,
body .mc-offer__items {
	list-style: none;
	margin: 0;
	padding: 0;
}
body .mc-f-ul { display: flex; flex-direction: column; gap: 9px; }
body .mc-f-ul li {
	display: flex;
	gap: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--mc-creme-3);
	margin: 0;
}
body .mc-f-ul li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mc-orange);
	margin-top: 8px;
	flex: none;
}

/* Diplomas */
body .mc-f-dips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
}
body .mc-f-dips li {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(101, 145, 84, .1);
	border: 1px solid rgba(101, 145, 84, .28);
	border-radius: 14px;
	padding: 13px 15px;
	font-size: 14px;
	line-height: 1.35;
	color: #E7EFE2;
	margin: 0;
}
body .mc-f-dips li::before {
	content: "";
	width: 22px;
	height: 22px;
	flex: none;
	border-radius: 50%;
	border: 2px solid var(--mc-orange);
}

/* Races */
body .mc-f-races { display: flex; flex-direction: column; }
body .mc-f-race {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(245, 241, 221, .08);
	font-size: 14px;
	line-height: 1.4;
}
body .mc-f-race > p { margin: 0; }
body .mc-f-race__year { font-family: var(--mc-f-mono); color: var(--mc-jaune); }
body .mc-f-race__name { color: var(--mc-sauge); }
body .mc-f-race__name strong { font-weight: 600; color: var(--mc-creme); }
body .mc-f-race__rank { color: var(--mc-creme-2); text-align: right; }

/* Contact rows */
body .mc-f-contact { display: flex; flex-direction: column; gap: 10px; }
body .mc-f-contact__row { display: flex; gap: 14px; align-items: baseline; }
body .mc-f-contact__row > p { margin: 0; }
body .mc-f-contact__key {
	font-family: var(--mc-f-mono);
	font-size: 12px;
	color: var(--mc-sauge);
	width: 90px;
	flex: none;
	text-transform: uppercase;
}
body .mc-f-contact__value { font-family: var(--mc-f-titre); font-size: 22px; font-weight: 600; line-height: normal; }
body .mc-f-contact__value a {
	color: var(--mc-creme);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
body .mc-f-contact__value a:hover,
body .mc-f-contact__value a:focus-visible { color: var(--mc-jaune); border-bottom-color: var(--mc-jaune); }

/* Numbered rows (extracts) */
body .mc-f-rows { display: flex; flex-direction: column; border-bottom: 1px solid rgba(245, 241, 221, .15); }
body .mc-f-row {
	cursor: pointer;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	gap: 16px;
	align-items: center;
	padding: 20px 8px;
	border-top: 1px solid rgba(245, 241, 221, .15);
	transition: background .2s;
}
body .mc-f-row:hover { background: rgba(245, 241, 221, .05); }
body .mc-f-row > p { margin: 0; }
body .mc-f-row::after {
	content: "\2192";
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--mc-creme);
	color: var(--mc-vert-nuit);
	display: grid;
	place-items: center;
}
body .mc-f-row__num { font-family: var(--mc-f-mono); font-size: 14px; color: var(--mc-orange); }
body .mc-f-row__title { font-family: var(--mc-f-titre); font-weight: 600; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }

/* CTA (centered, 400px max) and text link */
body .mc-f-cta { justify-content: center; margin: 8px 0 0; gap: 0; }
body .mc-f-cta .wp-block-button { width: min(100%, 400px); }
body .mc-f-cta .wp-block-button__link {
	display: block;
	width: 100%;
	text-align: center;
	padding: 14px 28px;
}
body .mc-f-link { margin: 0; align-self: flex-start; font-size: 14.5px; line-height: normal; }
body .mc-offer .mc-offer__link { font-size: 14px; line-height: normal; }
body .mc-f-link a,
body .mc-offer__link a {
	display: inline-block;
	vertical-align: top;
	color: var(--mc-jaune);
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: none;
	border-bottom: 1px solid rgba(219, 198, 44, .5);
}

/* Offer cards */
body .mc-f-offers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 14px;
}
body .mc-f-offers--stack { grid-template-columns: 1fr; }
body .mc-offer {
	position: relative;
	background: var(--mc-vert-carte);
	border: 1px solid rgba(101, 145, 84, .35);
	border-radius: 18px;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color .2s, background .2s;
	line-height: normal;
}
body .mc-f-offers--stack .mc-offer {
	position: sticky;
	box-shadow: 0 -14px 34px rgba(0, 0, 0, .45);
}
body .mc-offer--stack-0 { top: 18px; }
body .mc-offer--stack-1 { top: 32px; }
body .mc-offer--stack-2 { top: 46px; }
body .mc-offer--stack-3 { top: 60px; }
body .mc-offer--stack-4 { top: 74px; }
body .mc-offer--stack-5 { top: 88px; }
body .mc-offer--stack-6 { top: 102px; }
body .mc-offer--stack-7 { top: 116px; }
body .mc-offer--stack-8 { top: 130px; }
body .mc-offer--stack-9 { top: 144px; }
body .mc-offer--wide { grid-column: 1 / -1; }
body .mc-offer--link { cursor: pointer; }
body .mc-offer--link:hover,
body .mc-offer--link:focus-within { border-color: var(--mc-jaune); background: #2F3B20; }
body .mc-offer--featured::before {
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	width: 14px;
	height: 14px;
	border-radius: 0 18px 0 14px;
	background: var(--mc-orange);
}
body .mc-offer > * { margin: 0; }
body .mc-offer__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}
body .mc-offer__head > p { margin: 0; }
body .mc-offer__title { font-family: var(--mc-f-titre); font-size: 21px; font-weight: 600; line-height: 1.15; }
body .mc-offer__pill {
	flex: none;
	font-size: 13px;
	font-weight: 600;
	background: rgba(245, 241, 221, .08);
	padding: 6px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
body .mc-offer__desc { font-size: 13.5px; color: var(--mc-sauge); line-height: 1.45; }
body .mc-offer__desc--italic { font-style: italic; }
body .mc-offer__body { font-size: 14.5px; color: var(--mc-creme-3); line-height: 1.55; text-wrap: pretty; }
body .mc-offer__price {
	font-family: var(--mc-f-titre);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--mc-jaune);
}
body .mc-offer .mc-offer__items {
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px 22px;
	margin-top: 4px;
}
body .mc-offer--wide .mc-offer__items { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
body .mc-offer__items li {
	display: flex;
	gap: 10px;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--mc-creme-3);
	margin: 0;
}
body .mc-offer__items li::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--mc-orange);
	margin-top: 7px;
	flex: none;
}
body .mc-offer__link { align-self: flex-start; }
body .mc-offer__link a { font-size: 14px; }
/* The whole card is the link. */
body .mc-offer__link a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
/* Card link without a visible label (prototype "c"): the link covers the card. */
body .mc-offer .mc-offer__link--hidden { position: absolute; inset: 0; margin: 0; }
body .mc-offer__link--hidden a { display: block; width: 100%; height: 100%; font-size: 0; border: 0; }

/* Team card with a CV: the whole card opens the fiche */
body .mc-person:has(.mc-person__name a) { cursor: pointer; position: relative; }
body .mc-person__name a { color: inherit; text-decoration: none; }
body .mc-person__name a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }

/* -------------------------------------------------------------------------
   10. Atelier du coureur (light page) + members area
   ------------------------------------------------------------------------- */
.mc-main--clair {
	display: flex;
	flex-direction: column;
	background: repeating-radial-gradient(circle at 88% 8%, transparent 0 26px, rgba(59, 81, 35, .08) 26px 27px), #F5F1DD;
	color: var(--mc-vert-nuit);
	animation: mc-fadein .5s ease;
}
.mc-main--clair > .mc-content { flex: 1; display: flex; flex-direction: column; }
body .mc-atl {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	color: var(--mc-vert-nuit);
}

/* Dark column */
body .mc-atl__aside {
	background: repeating-radial-gradient(circle at 50% 38%, transparent 0 30px, rgba(245, 241, 221, .06) 30px 31px), #282F1B;
	color: var(--mc-creme);
	padding: 36px clamp(24px, 4vw, 48px) 48px;
	display: flex;
	flex-direction: column;
	flex: 1 1 340px;
	max-width: 480px;
	line-height: normal;
}
body .mc-atl__aside .mc-back {
	align-self: flex-start;
	font-size: 14px;
	padding-bottom: 0;
}
body .mc-atl__aside .mc-back a { color: var(--mc-sauge); }
body .mc-atl__aside .mc-back a:hover,
body .mc-atl__aside .mc-back a:focus-visible { color: var(--mc-jaune); }
body .mc-atl__aside .mc-atl__logo {
	width: 240px;
	height: 220px;
	margin: 36px 0 64px;
	animation: mc-fl 7s ease-in-out infinite;
}
body .mc-atl__aside .mc-atl__title {
	font-family: var(--mc-f-pilier);
	font-weight: 400;
	text-transform: none;
	letter-spacing: -.03em;
	color: var(--mc-creme);
	font-size: clamp(48px, 6vw, 76px);
	line-height: .92;
	margin: 12px 0 20px;
}
body .mc-atl__aside .mc-atl__title--membres {
	font-size: clamp(40px, 4.6vw, 60px);
	line-height: .98;
	letter-spacing: -.02em;
}
body .mc-atl__eyebrow {
	font-family: var(--mc-f-mono);
	font-size: 13px;
	color: var(--mc-jaune);
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0;
}
body .mc-atl__intro {
	font-size: 16px;
	line-height: 1.6;
	color: var(--mc-creme-3);
	margin: 0;
	text-wrap: pretty;
}
body .mc-atl__aside .mc-atl__actions {
	margin: 32px 0 0;
	align-self: flex-start;
	gap: 0;
}
body .mc-atl__actions .mc-btn .wp-block-button__link:hover,
body .mc-atl__actions .mc-btn .wp-block-button__link:focus-visible { transform: translateY(-2px); }
body .mc-btn--ghost .wp-block-button__link,
body .mc-btn--ghost .wp-block-button__link:hover,
body .mc-btn--ghost .wp-block-button__link:focus-visible {
	background: transparent;
	color: var(--mc-creme);
	border: 1px solid rgba(245, 241, 221, .4);
	padding: 12px 22px;
	font-size: 14px;
	transform: none;
}
body .mc-btn--ghost .wp-block-button__link:hover,
body .mc-btn--ghost .wp-block-button__link:focus-visible { border-color: var(--mc-creme); }

/* Right column */
body .mc-atl__main {
	padding: 40px clamp(20px, 4vw, 56px) 110px;
	display: flex;
	flex-direction: column;
	flex: 3 1 480px;
	min-width: 0;
}
body .mc-atl-h2 {
	font-family: var(--mc-f-titre);
	font-weight: 700;
	font-size: 34px;
	line-height: normal;
	letter-spacing: -.025em;
	margin: 48px 0 14px;
	color: var(--mc-vert-nuit);
}

/* Photo cards */
body .mc-atl-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 14px;
}
body .mc-atl-card {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	height: 340px;
	border-radius: 16px;
	color: var(--mc-creme);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: normal;
	isolation: isolate;
	transition: transform .25s;
}
body .mc-atl-card:hover,
body .mc-atl-card:focus-within { transform: translateY(-3px); }
body .mc-atl-card--outils { background: var(--mc-vert-nuit); gap: 18px; padding: 30px; }
body .mc-atl-card--analyse { background: var(--mc-vert-foret); gap: 14px; padding: 24px; }
body .mc-atl-card .mc-atl-card__photo {
	position: absolute;
	inset: 0;
	z-index: -1;
	margin: 0;
}
body .mc-atl-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
body .mc-atl-card--outils .mc-atl-card__photo img { object-position: center 35%; }
body .mc-atl-card .mc-atl-card__photo::after {
	content: "";
	position: absolute;
	inset: 0;
}
body .mc-atl-card--outils .mc-atl-card__photo::after { background: radial-gradient(75% 65% at 50% 50%, rgba(40, 47, 27, .72) 0%, rgba(40, 47, 27, .35) 75%, rgba(40, 47, 27, .2) 100%); }
body .mc-atl-card--analyse .mc-atl-card__photo::after { background: radial-gradient(70% 60% at 50% 50%, rgba(40, 47, 27, .7) 0%, rgba(40, 47, 27, .25) 70%, rgba(40, 47, 27, .1) 100%); }
body .mc-atl-card > :not(.mc-atl-card__photo) { margin: 0; }
body .mc-atl-card__title {
	font-family: var(--mc-f-titre);
	font-weight: 700;
	color: var(--mc-creme);
	text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
	margin: 0;
}
body .mc-atl-card--outils .mc-atl-card__title {
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.05;
	letter-spacing: -.025em;
	max-width: 16ch;
}
body .mc-atl-card--analyse .mc-atl-card__title {
	font-size: clamp(28px, 2.8vw, 36px);
	line-height: normal;
	letter-spacing: -.02em;
}
body .mc-atl-card__title a { color: inherit; text-decoration: none; }
body .mc-atl-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
body .mc-atl-card:has(.mc-atl-card__title a:focus-visible) { outline: 2px solid var(--mc-jaune); outline-offset: 3px; }
body .mc-atl-card__title a:focus-visible { outline: none; }
body .mc-atl-card__eyebrow {
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--mc-jaune);
}
body .mc-atl-card--analyse .mc-atl-card__eyebrow { max-width: 34ch; line-height: 1.5; }
body .mc-atl-card::after {
	content: "\2192";
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mc-orange);
	color: var(--mc-creme);
	display: grid;
	place-items: center;
	font-family: var(--mc-f-texte);
	font-size: 16px;
	font-weight: 400;
}
body .mc-atl-card--outils::after { margin-top: 6px; }
body .mc-atl-card--analyse::after { margin-top: 4px; }
body .mc-atl-card .mc-atl-card__foot {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 22px;
	font-family: var(--mc-f-titre);
	font-weight: 600;
	font-size: clamp(17px, 1.6vw, 21px);
	text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

/* Numbered link list (01, 02… generated) */
body .mc-numlist {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid rgba(40, 47, 27, .2);
	counter-reset: mc-num;
}
body .mc-numrow {
	position: relative;
	counter-increment: mc-num;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 0 48px;
	gap: 20px;
	align-items: center;
	padding: 24px 16px;
	border-top: 1px solid rgba(40, 47, 27, .2);
	color: var(--mc-vert-nuit);
	cursor: pointer;
	transition: background .2s;
	line-height: normal;
}
body .mc-numrow:hover,
body .mc-numrow:focus-within { background: #EBE5C9; }
body .mc-numrow::before {
	content: counter(mc-num, decimal-leading-zero);
	font-family: var(--mc-f-mono);
	font-size: 14px;
	color: var(--mc-orange);
}
body .mc-numrow::after {
	content: "\2192";
	grid-column: 4;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mc-vert-nuit);
	color: var(--mc-creme);
	display: grid;
	place-items: center;
}
body .mc-numrow .mc-numrow__title {
	/* Prototype: an empty description line (margin-top 4px) sits under the title. */
	margin: 0 0 4px;
	font-family: var(--mc-f-titre);
	font-weight: 600;
	font-size: 24px;
	letter-spacing: -.02em;
}
body .mc-numrow__title a { color: inherit; text-decoration: none; }
body .mc-numrow__title a::after { content: ""; position: absolute; inset: 0; }
body .mc-numrow__title a:focus-visible { outline: none; }
body .mc-numrow:has(a:focus-visible) { outline: 2px solid var(--mc-orange); outline-offset: -2px; }

/* Members: welcome box */
body .mc-welcome {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: repeating-radial-gradient(circle at 92% 10%, transparent 0 26px, rgba(245, 241, 221, .05) 26px 27px), #282F1B;
	color: var(--mc-creme);
	padding: clamp(26px, 3.6vw, 44px);
	line-height: normal;
}
body .mc-welcome .mc-welcome__title {
	font-family: var(--mc-f-titre);
	font-weight: 700;
	font-size: clamp(26px, 2.6vw, 34px);
	letter-spacing: -.025em;
	line-height: 1.1;
	margin: 0 0 6px;
	color: var(--mc-creme);
}
body .mc-welcome .mc-welcome__lead { margin: 0 0 22px; color: var(--mc-creme-3); font-size: 17px; }
body .mc-welcome__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 12px 28px;
}
body .mc-welcome__list li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 15px;
	line-height: 1.5;
	color: var(--mc-creme-2);
	margin: 0;
}
body .mc-welcome__list li::before { content: "\25B6"; color: var(--mc-orange); font-size: 13px; margin-top: 3px; }

/* Members: modules accordion (native details, one open at a time via JS) */
body .mc-modules {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid rgba(40, 47, 27, .2);
	counter-reset: mc-mod;
}
body .mc-module {
	counter-increment: mc-mod;
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(40, 47, 27, .2);
	margin: 0;
	counter-reset: mc-sub;
}
body .mc-module > summary {
	cursor: pointer;
	list-style: none;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 48px;
	gap: 20px;
	align-items: center;
	padding: 24px 16px;
	color: var(--mc-vert-nuit);
	font-family: var(--mc-f-titre);
	font-weight: 600;
	font-size: 24px;
	letter-spacing: -.02em;
	line-height: normal;
	transition: background .2s;
}
body .mc-module > summary::-webkit-details-marker { display: none; }
body .mc-module > summary:hover { background: #EBE5C9; }
body .mc-module > summary:focus-visible { outline: 2px solid var(--mc-orange); outline-offset: -2px; }
body .mc-module > summary::before {
	content: counter(mc-mod, decimal-leading-zero);
	font-family: var(--mc-f-mono);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	color: var(--mc-orange);
}
body .mc-module > summary::after {
	content: "\2192";
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mc-vert-nuit);
	color: var(--mc-creme);
	display: grid;
	place-items: center;
	font-family: var(--mc-f-texte);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: normal;
	transition: transform .3s;
}
body .mc-module[open] > summary::after { transform: rotate(90deg); }
body .mc-module > :not(summary) { margin: 0; animation: mc-fadein .35s ease; }
body .mc-module__subs { display: flex; flex-direction: column; padding: 0 16px 22px 92px; }
body .mc-module__sub {
	counter-increment: mc-sub;
	cursor: pointer;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 36px;
	gap: 14px;
	align-items: center;
	padding: 14px 12px;
	border-top: 1px solid rgba(40, 47, 27, .12);
	border-radius: 10px;
	transition: background .2s;
	line-height: normal;
}
body .mc-module__sub:hover { background: #EBE5C9; }
body .mc-module__sub::before {
	content: counter(mc-mod) "." counter(mc-sub);
	font-family: var(--mc-f-mono);
	font-size: 13px;
	color: var(--mc-vert-foret);
}
body .mc-module__sub::after {
	content: "\2192";
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--mc-orange);
	color: var(--mc-creme);
	display: grid;
	place-items: center;
	font-size: 14px;
}
body .mc-module__sub .mc-module__subtitle { margin: 0; font-size: 17px; font-weight: 600; }
body .mc-module .mc-module__empty {
	margin: 6px 0 0;
	padding: 0 16px 22px 92px;
	color: var(--mc-vert-foret);
	font-size: 15px;
	line-height: normal;
}

/* 10.x Boîte à outils: articles in the accordion (v0.6.0) */
body a.mc-module__sub,
body a.mc-module__sub:hover {
	color: var(--mc-vert-nuit);
	text-decoration: none;
}
body .mc-module__sub::after { transition: transform .3s; }
body a.mc-module__sub:hover::after,
body a.mc-module__sub:focus-visible::after { transform: translateX(3px); }
body a.mc-module__sub:focus-visible,
body .mc-module__grp > summary:focus-visible,
body .mc-outil-row:focus-visible { outline: 2px solid var(--mc-orange); outline-offset: -2px; }
body .mc-module__grp { margin: 0; }
body .mc-module__grp > summary { list-style: none; }
body .mc-module__grp > summary::-webkit-details-marker { display: none; }
body .mc-module__grp[open] > summary::after { transform: rotate(90deg); }
body .mc-module__items {
	display: flex;
	flex-direction: column;
	padding: 2px 0 12px 58px;
	animation: mc-fadein .35s ease;
}
body .mc-outil-row,
body .mc-outil-row:hover {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 12px;
	border-radius: 8px;
	color: var(--mc-vert-nuit);
	text-decoration: none;
	line-height: normal;
	transition: background .2s;
}
body .mc-outil-row:hover { background: #EBE5C9; }
body .mc-outil-row .mc-module__subtitle { margin: 0; font-size: 16px; font-weight: 500; }
body .mc-outil-row::after { content: "\2192"; color: var(--mc-orange); font-size: 15px; }

/* 10.y Boîte à outils: article page */
body .mc-outil-aside .mc-atl__eyebrow { margin-top: 56px; }
body .mc-outil-aside .mc-atl__intro { margin-top: 4px; }
body .mc-outil { max-width: 860px; }
body .mc-outil .mc-outil__image { margin: 0 0 32px; }
body .mc-outil .mc-outil__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}
body .mc-outil__content {
	color: var(--mc-vert-nuit);
	font-size: 17px;
	line-height: 1.7;
}
body .mc-outil__content > * { margin: 0 0 18px; }
body .mc-outil__content > :first-child { margin-top: 0; }
body .mc-outil__content :is(h2, h3, h4) {
	font-family: var(--mc-f-titre);
	color: var(--mc-vert-nuit);
	letter-spacing: -.02em;
	line-height: 1.2;
	margin: 36px 0 12px;
}
body .mc-outil__content h2 { font-size: 30px; font-weight: 700; }
body .mc-outil__content h3 { font-size: 22px; font-weight: 600; }
body .mc-outil__content h4 { font-size: 18px; font-weight: 600; }
body .mc-outil__content a { color: var(--mc-orange); text-decoration: underline; text-underline-offset: .15em; }
body .mc-outil__content :is(ul, ol) { padding-left: 1.3em; }
body .mc-outil__content li { margin: 0 0 6px; }
body .mc-outil__content li::marker { color: var(--mc-orange); }
body .mc-outil__content .wp-block-image img,
body .mc-outil__content .wp-block-embed iframe,
body .mc-outil__content video { border-radius: 12px; }
body .mc-outil__content .wp-block-embed,
body .mc-outil__content .wp-block-image,
body .mc-outil__content .wp-block-video { margin: 28px 0; }
body .mc-outil__content figcaption { font-size: 14px; color: var(--mc-vert-foret); text-align: left; }
body .mc-outil__content blockquote {
	border-left: 3px solid var(--mc-orange);
	padding: 4px 0 4px 18px;
	font-style: normal;
}
body .mc-outil__content .wp-block-file a:not(.wp-block-file__button) { font-weight: 600; }
body .mc-outil__content .wp-block-file__button {
	background: var(--mc-orange);
	color: var(--mc-creme);
	border-radius: 999px;
	padding: 8px 18px;
	text-decoration: none;
}

/* Login form (fiches "Accès membres") */
.mc-login { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.mc-login__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: var(--mc-sauge);
}
.mc-login__field input {
	background: rgba(245, 241, 221, .06);
	border: 1px solid rgba(245, 241, 221, .16);
	border-radius: 12px;
	padding: 12px 14px;
	color: var(--mc-creme);
	font: inherit;
	font-size: 15px;
	outline: none;
}
.mc-login__field input::placeholder { color: rgba(160, 170, 140, .7); }
.mc-login__field input:focus-visible { border-color: var(--mc-jaune); }
.mc-login__submit {
	align-self: flex-start;
	cursor: pointer;
	border: 0;
	background: var(--mc-orange);
	color: var(--mc-creme);
	padding: 13px 26px;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
}
.mc-login__submit:focus-visible { outline: 2px solid var(--mc-jaune); outline-offset: 2px; }
.mc-login__lost { align-self: flex-start; font-size: 13px; color: var(--mc-sauge); text-decoration: none; }
.mc-login__lost:hover { color: var(--mc-jaune); }
.mc-login__error {
	margin: 0;
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(232, 160, 126, .14);
	border: 1px solid rgba(232, 160, 126, .5);
	color: #F2C3AC;
	font-size: 14px;
}

/* -------------------------------------------------------------------------
   11. L'Astragale
   ------------------------------------------------------------------------- */
.mc-main--plein { padding: 0 0 110px; animation: mc-fadein .5s ease; }

/* Shared */
body .mc-mono-eyebrow {
	font-family: var(--mc-f-mono);
	font-size: 12.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mc-jaune);
	margin: 0;
	line-height: normal;
}
body .mc-ast-h2 {
	font-family: var(--mc-f-titre);
	font-weight: 700;
	font-size: clamp(38px, 4.4vw, 56px);
	line-height: .95;
	letter-spacing: -.04em;
	margin: 0;
	color: var(--mc-creme);
}
body .mc-ast-section { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
body .mc-ast-split { display: grid; align-items: stretch; }
body .mc-ast-split--380 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 18px; }
body .mc-ast-split--400 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 22px; }
body .mc-btn--lift .wp-block-button__link:hover,
body .mc-btn--lift .wp-block-button__link:focus-visible { transform: translateY(-2px); }

/* 11.1 Hero (slides under the sticky header). Doubled class: must beat the core
   ":root :where(.is-layout-flow) > :first-child" margin reset. */
body .mc-ast-hero.mc-ast-hero {
	position: relative;
	min-height: 480px;
	margin-top: -86px;
	padding-top: 86px;
	background: repeating-linear-gradient(135deg, rgba(245, 241, 221, .035) 0 12px, transparent 12px 24px), #2E3A1D;
	border-bottom: 1px solid rgba(186, 75, 30, .3);
	display: flex;
	align-items: center;
}
body .mc-ast-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #282F1B 0%, rgba(40, 47, 27, .85) 45%, rgba(40, 47, 27, .25) 100%), linear-gradient(0deg, #282F1B 0%, transparent 40%);
}
body .mc-ast-hero__inner {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px clamp(20px, 4vw, 48px) 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
body .mc-ast-hero__text { max-width: 620px; animation: mc-rise .6s ease; }
body .mc-ast-hero .mc-back { padding-bottom: 28px; }
body .mc-ast-hero .mc-back a { color: var(--mc-sauge); }
body .mc-ast-hero .mc-back a:hover { color: var(--mc-jaune); }
body .mc-ast-hero .mc-ast-hero__title {
	font-size: clamp(56px, 8vw, 112px);
	line-height: .9;
	margin: 10px 0 22px;
}
body .mc-ast-hero__intro {
	color: var(--mc-creme-3);
	font-size: 17px;
	line-height: 1.6;
	margin: 0;
	text-wrap: pretty;
}
body .mc-ast-hero__actions { margin: 32px 0 0; gap: 0; }
body .mc-ast-hero__actions .wp-block-button__link:hover { transform: translateY(-2px); }
body .mc-ast-hero__logo {
	width: 280px;
	height: 260px;
	flex: none;
	animation: mc-fl 7s ease-in-out infinite;
	filter: drop-shadow(0 0 30px rgba(101, 145, 84, .45));
}

/* 11.2 Professionals */
body .mc-ast-team { max-width: 1320px; margin: 48px auto 0; padding: 0 clamp(20px, 4vw, 48px); }
body .mc-person--kine {
	border: 1px dashed rgba(219, 198, 44, .55);
	position: relative;
	cursor: pointer;
}
body .mc-person--kine:hover { border-color: var(--mc-jaune); }
body .mc-person--kine .mc-person__photo {
	background: #FFFFFF;
	border-color: rgba(219, 198, 44, .6);
	display: grid;
	place-items: center;
}
body .mc-person--kine .mc-person__photo img {
	width: 118%;
	height: 118%;
	object-fit: contain;
	max-width: none;
}

/* 11.3 L'espace sport-santé */
body .mc-ast-espace { padding-top: 64px; }
body .mc-ast-espace__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: center;
	padding: clamp(8px, 2vw, 24px) clamp(0px, 2vw, 20px) clamp(8px, 2vw, 24px) 0;
}
body .mc-ast-espace__p1 { color: var(--mc-creme-3); font-size: 16.5px; line-height: 1.6; margin: 0; text-wrap: pretty; }
body .mc-ast-espace__p2 { color: #C9D2B8; font-size: 15.5px; line-height: 1.6; margin: 0; text-wrap: pretty; }
body .mc-ast-espace__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 8px 0 0; }
body .mc-patch {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: clamp(220px, 24vw, 320px) clamp(120px, 11vw, 160px);
	gap: 8px;
}
body .mc-patch figure { margin: 0; position: relative; overflow: hidden; background: var(--mc-vert-mousse); }
body .mc-patch img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
body .mc-patch .mc-patch__big { grid-column: 1 / -1; border-radius: 20px; border: 1px solid rgba(101, 145, 84, .25); }
body .mc-patch .mc-patch__small { border-radius: 14px; transition: transform .3s; }
body .mc-patch .mc-patch__small:hover { transform: scale(1.03); }

/* 11.4 Offers */
body .mc-ast-offres { padding-top: 72px; }
body .mc-ast-offres .mc-ast-offres__title { margin-bottom: 28px; }
body .mc-ast-offers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 16px;
}
body .mc-ast-offer-col { display: flex; flex-direction: column; gap: 12px; }
body .mc-ast-offer {
	position: relative;
	flex: 1;
	cursor: pointer;
	text-align: left;
	color: var(--mc-creme);
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: rgba(101, 145, 84, .08);
	border: 1px solid rgba(101, 145, 84, .25);
	border-radius: 22px;
	padding: 26px;
	min-height: 250px;
	line-height: normal;
	transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
}
body .mc-ast-offer:hover,
body .mc-ast-offer:focus-within {
	transform: translateY(-6px);
	border-color: var(--mc-orange);
	background: rgba(101, 145, 84, .16);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .3);
}
body .mc-ast-offer > * { margin: 0; }
body .mc-ast-offer__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 30px; }
body .mc-ast-offer__top > p { margin: 0; }
body .mc-ast-offer__tag {
	font-family: var(--mc-f-mono);
	font-size: 11.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mc-jaune);
}
body .mc-ast-offer__price {
	font-size: 13px;
	font-weight: 600;
	background: rgba(245, 241, 221, .08);
	padding: 6px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
body .mc-ast-offer .mc-ast-offer__title {
	font-family: var(--mc-f-titre);
	font-size: 25px;
	font-weight: 600;
	margin: 2px 0 0;
	letter-spacing: -.02em;
	line-height: 1.08;
}
body .mc-ast-offer__title a { color: var(--mc-creme); text-decoration: none; }
body .mc-ast-offer__title a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
body .mc-ast-offer__title a:focus-visible { outline: none; }
body .mc-ast-offer:has(a:focus-visible) { outline: 2px solid var(--mc-jaune); outline-offset: 2px; }
body .mc-ast-offer__desc { color: #C9D2B8; font-size: 15px; line-height: 1.5; flex: 1; }
body .mc-ast-offer .mc-ast-offer__more {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 6px;
	font-weight: 600;
	font-size: 14.5px;
}
body .mc-ast-offer__more::after {
	content: "\2192";
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--mc-orange);
	display: grid;
	place-items: center;
	font-weight: 400;
	font-size: 16px;
}
body .mc-ast-offer__book { margin: 0; gap: 0; }
body .mc-ast-offer__book .wp-block-button { width: 100%; }
body .mc-btn--outline .wp-block-button__link {
	display: block;
	width: 100%;
	text-align: center;
	border: 1px solid rgba(245, 241, 221, .35);
	background: transparent;
	color: var(--mc-creme);
	padding: 14px 22px;
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
	transition: background .2s, border-color .2s;
}
body .mc-btn--outline .wp-block-button__link:hover,
body .mc-btn--outline .wp-block-button__link:focus-visible {
	background: var(--mc-orange);
	border-color: var(--mc-orange);
	transform: none;
}

/* 11.5 Around L'Astragale */
body .mc-ast-autour { padding-top: 80px; }
body .mc-vcar {
	position: relative;
	min-height: clamp(420px, 46vw, 620px);
	border-radius: 26px;
	overflow: hidden;
	background: var(--mc-vert-abysse);
	border: 1px solid rgba(101, 145, 84, .25);
}
body .mc-vcar::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(20, 24, 12, .55) 0%, rgba(20, 24, 12, 0) 18%, rgba(20, 24, 12, 0) 70%, rgba(20, 24, 12, .6) 100%);
}
body .mc-vcar__track {
	cursor: grab;
	touch-action: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	animation: mc-carup 28s linear infinite;
	--mc-loop-ref: 4;
}
body .mc-vcar:hover .mc-vcar__track { animation-play-state: paused; }
body .mc-vcar .mc-vcar__track > * { flex: none; height: clamp(280px, 30vw, 400px); overflow: hidden; margin: 0; }
body .mc-vcar__track > * img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; -webkit-user-drag: none; user-select: none; }
body .mc-ast-autour__text { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
body .mc-ast-autour__lead { color: var(--mc-creme-3); font-size: 17px; line-height: 1.6; margin: 0 0 10px; text-wrap: pretty; }
body .mc-routes { display: flex; flex-direction: column; border-top: 1px solid rgba(101, 145, 84, .3); }
body .mc-route {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 16px;
	align-items: center;
	padding: 18px 6px;
	border-bottom: 1px solid rgba(101, 145, 84, .3);
	color: var(--mc-creme);
	transition: background .2s, padding .2s;
	line-height: normal;
}
body .mc-route:hover,
body .mc-route:focus-within { background: rgba(101, 145, 84, .1); padding-left: 14px; }
body .mc-route > p { margin: 0; grid-column: 1; }
body .mc-route::after {
	content: "\2197";
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(245, 241, 221, .35);
	display: grid;
	place-items: center;
}
body .mc-route__name { font-family: var(--mc-f-titre); font-size: 21px; font-weight: 600; }
body .mc-route__name a { color: var(--mc-creme); text-decoration: none; }
body .mc-route__name a::after { content: ""; position: absolute; inset: 0; }
body .mc-route__info { font-size: 14px; color: var(--mc-sauge); }

/* -------------------------------------------------------------------------
   12. L'Astragale: booking (members area)
   ------------------------------------------------------------------------- */
.mc-main--reservation {
	padding: 0 0 110px;
	animation: mc-fadein .5s ease;
	background: repeating-linear-gradient(135deg, rgba(245, 241, 221, .03) 0 12px, transparent 12px 24px), #282F1B;
}
body .mc-am { max-width: 1360px; margin: 0 auto; padding: 30px clamp(20px, 4vw, 48px) 0; line-height: normal; }
body .mc-am .mc-back a { color: var(--mc-sauge); }
body .mc-am .mc-back { padding-bottom: 0; }
body .mc-am .mc-am__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: 22px 0 30px;
}
body .mc-am__intro { max-width: 640px; }
body .mc-am__eyebrow { font-family: var(--mc-f-mono); font-size: 13px; color: var(--mc-jaune); letter-spacing: .08em; text-transform: uppercase; margin: 0; }
body .mc-am .mc-am__title {
	font-family: var(--mc-f-pilier);
	font-weight: 400;
	font-size: clamp(40px, 5vw, 64px);
	line-height: .98;
	letter-spacing: -.02em;
	margin: 12px 0 14px;
	color: var(--mc-creme);
}
body .mc-am__lead { margin: 0; color: var(--mc-creme-3); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.mc-am__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mc-am__admin,
.mc-am__logout {
	cursor: pointer;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	line-height: normal;
}
.mc-am__admin { background: transparent; color: var(--mc-jaune); border: 1px solid var(--mc-jaune); padding: 12px 20px; }
.mc-am__admin.is-on { background: var(--mc-jaune); color: var(--mc-vert-nuit); }
.mc-am__logout { background: transparent; color: var(--mc-creme); border: 1px solid rgba(245, 241, 221, .4); padding: 12px 22px; }
.mc-am__logout:hover,
.mc-am__logout:focus-visible { border-color: var(--mc-creme); color: var(--mc-creme); }

.mc-booking { color: var(--mc-creme); font-family: var(--mc-f-texte); line-height: normal; }
:where(.mc-booking) button { font: inherit; }
.mc-booking :focus-visible { outline: 2px solid var(--mc-jaune); outline-offset: 2px; }
.mc-booking__loading { color: var(--mc-sauge); }
:where(.mc-booking) input {
	background: rgba(245, 241, 221, .06);
	border: 1px solid rgba(245, 241, 221, .2);
	border-radius: 12px;
	padding: 11px 13px;
	color: var(--mc-creme);
	font-size: 15px; /* prototype: browser default family for these fields */
	outline: none;
	min-width: 0;
	color-scheme: dark;
}
.mc-booking input.is-error { border-color: var(--mc-peche); }
.mc-booking input::placeholder { color: rgba(160, 170, 140, .7); }

/* Manager panel */
.mc-am-admin {
	margin-bottom: 20px;
	padding: 22px clamp(18px, 2.4vw, 28px);
	border-radius: 20px;
	background: var(--mc-vert-mousse);
	border: 1px solid var(--mc-jaune);
	animation: mc-fadein .3s ease;
}
.mc-am-admin__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.mc-am-admin__intro { max-width: 520px; }
.mc-am-admin__title { font-family: var(--mc-f-titre); font-weight: 700; font-size: 22px; }
.mc-am-admin__intro p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--mc-creme-3); }
.mc-am-admin__form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.mc-am-admin__form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mc-sauge); }
.mc-am-admin__label { width: 170px; }
.mc-am-admin__add { cursor: pointer; border: 0; background: var(--mc-jaune); color: var(--mc-vert-nuit); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.mc-am-admin__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.mc-am-admin__none { font-size: 13px; color: var(--mc-sauge); }
.mc-am-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 999px; background: #141809; font-size: 13px; }
.mc-am-chip button { cursor: pointer; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(245, 241, 221, .12); color: var(--mc-creme); font-size: 12px; padding: 0; }

/* Manager panel v0.7.0: always shown to managers, two blocks */
.mc-am-admin__head { margin-bottom: 16px; }
.mc-am-admin__head p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--mc-creme-3); }
.mc-am-admin__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; align-items: start; }
.mc-am-admin__block { padding: 16px; border-radius: 14px; background: rgba(20, 24, 9, .45); border: 1px solid rgba(219, 198, 44, .25); min-width: 0; }
.mc-am-admin__sub { font-family: var(--mc-f-titre); font-weight: 700; font-size: 17px; margin-bottom: 8px; color: var(--mc-jaune); }
.mc-am-admin__hint { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--mc-creme-3); }
.mc-am-admin__block .mc-am-admin__form { margin-top: 10px; }
.mc-am-admin__what { align-self: center; min-width: 64px; font-family: var(--mc-f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mc-sauge); }
.mc-am-admin__count { font-size: 13px; color: var(--mc-sauge); margin-bottom: 8px; }
:where(.mc-booking) select {
	background: rgba(245, 241, 221, .06);
	border: 1px solid rgba(245, 241, 221, .2);
	border-radius: 12px;
	padding: 10px 12px;
	color: var(--mc-creme);
	font-size: 15px;
	color-scheme: dark;
}
.mc-am-blist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow: auto; }
.mc-am-blist__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	grid-template-areas: "when status cancel" "who status cancel";
	gap: 2px 12px;
	align-items: center;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(245, 241, 221, .05);
	font-size: 14px;
}
.mc-am-blist__when { grid-area: when; }
.mc-am-blist__when strong { font-weight: 600; }
.mc-am-blist__who { grid-area: who; font-size: 13px; color: var(--mc-creme-3); overflow-wrap: anywhere; }
.mc-am-blist__who a { color: var(--mc-sauge); }
.mc-am-blist__status { grid-area: status; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(245, 241, 221, .12); white-space: nowrap; }
.mc-am-blist__row.is-ok .mc-am-blist__status { background: var(--mc-jaune); color: var(--mc-vert-nuit); }
.mc-am-blist button { grid-area: cancel; cursor: pointer; background: none; border: 0; color: var(--mc-sauge); font-size: 12.5px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.mc-am-blist button:hover { color: var(--mc-peche); }
.mc-am-day.is-manager { cursor: pointer; }
.mc-am-day.is-manager:not(.is-closed) { background: rgba(219, 198, 44, .08); }
.mc-am-day.is-manager:hover { outline: 1px dashed var(--mc-jaune); outline-offset: -3px; }
.mc-am-side__list { display: flex; flex-direction: column; gap: 10px; }

/* Layout */
.mc-am-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; align-items: start; }
.mc-am-side { display: flex; flex-direction: column; gap: 10px; max-width: 340px; width: 100%; }
.mc-am-side__title { font-family: var(--mc-f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mc-sauge); margin-bottom: 4px; }
.mc-am-machine {
	cursor: pointer;
	text-align: left;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 22px;
	gap: 14px;
	align-items: center;
	padding: 12px 16px;
	border-radius: 16px;
	border: 1px solid rgba(101, 145, 84, .35);
	background: var(--mc-vert-profond);
	color: var(--mc-creme);
	transition: background .2s, border-color .2s;
}
.mc-am-machine:hover { border-color: var(--mc-jaune); }
.mc-am-machine.is-on { background: var(--mc-vert-mousse); border-color: var(--mc-jaune); }
.mc-am-machine__code {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(245, 241, 221, .08);
	color: var(--mc-creme);
	display: grid;
	place-items: center;
	font-family: var(--mc-f-mono);
	font-size: 13px;
	font-weight: 600;
}
.mc-am-machine.is-on .mc-am-machine__code { background: var(--mc-jaune); color: var(--mc-vert-nuit); }
.mc-am-machine__name { display: block; font-family: var(--mc-f-titre); font-weight: 600; font-size: 17px; }
.mc-am-machine__info { display: block; font-size: 12.5px; color: var(--mc-sauge); margin-top: 2px; }
.mc-am-machine__tick {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	border: 1.5px solid rgba(101, 145, 84, .35);
	color: var(--mc-vert-nuit);
	display: grid;
	place-items: center;
	font-size: 13px;
	font-weight: 700;
}
.mc-am-machine.is-on .mc-am-machine__tick { border-color: var(--mc-jaune); background: var(--mc-jaune); }

/* My bookings */
.mc-am-mine { margin-top: 14px; padding: 18px; border-radius: 16px; background: var(--mc-vert-profond); border: 1px solid rgba(101, 145, 84, .3); }
.mc-am-mine__title { font-family: var(--mc-f-titre); font-weight: 600; font-size: 18px; margin-bottom: 10px; }
.mc-am-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mc-sauge); margin-bottom: 10px; }
.mc-am-mine__none { margin: 0; font-size: 14px; color: var(--mc-sauge); }
.mc-am-mine__list { display: flex; flex-direction: column; gap: 8px; }
.mc-am-res {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border-radius: 14px;
	background: rgba(245, 241, 221, .04);
	border: 1px solid rgba(245, 241, 221, .08);
}
.mc-am-res__date {
	height: 54px;
	border-radius: 10px;
	background: var(--mc-vert-mousse);
	color: var(--mc-creme);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.mc-am-res.is-ok .mc-am-res__date { background: var(--mc-jaune); color: var(--mc-vert-nuit); }
.mc-am-res__date span:first-child { font-family: var(--mc-f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.mc-am-res__date strong { font-family: var(--mc-f-titre); font-weight: 700; font-size: 20px; margin: 2px 0; }
.mc-am-res__date span:last-child { font-size: 10px; }
.mc-am-res__what { min-width: 0; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.mc-am-res__time { font-size: 13px; color: var(--mc-sauge); margin-top: 3px; font-weight: 400; line-height: normal; }
.mc-am-res__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mc-am-res__status { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: rgba(245, 241, 221, .12); color: var(--mc-creme-2); }
.mc-am-res.is-ok .mc-am-res__status { background: var(--mc-jaune); color: var(--mc-vert-nuit); }
.mc-am-res__side button { cursor: pointer; background: none; border: 0; color: var(--mc-sauge); font-size: 12.5px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.mc-am-res__side button:hover { color: var(--mc-jaune); }
.mc-am-validate { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(245, 241, 221, .1); }
.mc-am-validate .mc-am-field { margin-bottom: 0; }
.mc-am-validate__err { font-size: 13px; color: var(--mc-peche); }
.mc-am-validate__btn { cursor: pointer; border: 0; background: var(--mc-orange); color: var(--mc-creme); padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s; }
.mc-am-validate__btn:hover { transform: translateY(-2px); }
.mc-am-sent { margin-top: 14px; padding: 16px; border-radius: 14px; background: rgba(219, 198, 44, .12); border: 1px solid rgba(219, 198, 44, .45); animation: mc-fadein .4s ease; }
.mc-am-sent__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--mc-jaune); }
.mc-am-sent__title span { width: 26px; height: 26px; border-radius: 50%; background: var(--mc-jaune); color: var(--mc-vert-nuit); display: grid; place-items: center; font-size: 14px; }
.mc-am-sent > p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--mc-creme-2); }
.mc-am-sent strong { font-weight: 600; }
.mc-am-sent__mail { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--mc-creme); color: var(--mc-vert-nuit); font-size: 13px; line-height: 1.55; }
.mc-am-sent__subject { font-weight: 700; }
.mc-am-sent__hello,
.mc-am-sent__bye { margin-top: 6px; }

/* Calendar */
.mc-am-cal { grid-column: span 2; min-width: 0; border-radius: 20px; background: var(--mc-vert-profond); border: 1px solid rgba(101, 145, 84, .3); padding: clamp(16px, 2.4vw, 26px); }
.mc-am-cal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.mc-am-cal__titles { min-width: 0; }
/* v0.7.1: the tools stay on the right whatever the machine name (it wraps under itself). */
@media (min-width: 700px) {
	.mc-am-cal__head { flex-wrap: nowrap; }
	.mc-am-cal__titles { flex: 1 1 auto; }
	.mc-am-cal__tools { flex: none; }
}
.mc-am-cal__month { font-family: var(--mc-f-pilier); font-size: clamp(30px, 3.2vw, 42px); line-height: 1; color: var(--mc-jaune); letter-spacing: -.01em; }
.mc-am-cal__current { font-family: var(--mc-f-titre); font-weight: 600; font-size: 17px; margin-top: 10px; }
.mc-am-cal__current span { font-weight: 400; color: var(--mc-sauge); font-size: 14px; }
.mc-am-cal__tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mc-am-durs { display: flex; padding: 4px; border-radius: 999px; background: #141809; gap: 2px; }
.mc-am-durs button { cursor: pointer; border: 0; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; background: transparent; color: var(--mc-creme-3); }
.mc-am-durs button.is-on { background: var(--mc-orange); color: var(--mc-creme); }
.mc-am-nav { display: flex; gap: 8px; }
.mc-am-nav button { cursor: pointer; width: 42px; height: 42px; border-radius: 50%; color: var(--mc-creme); padding: 0; }
.mc-am-nav__prev { border: 1px solid rgba(245, 241, 221, .3); background: transparent; }
.mc-am-nav__next { border: 0; background: var(--mc-orange); }
.mc-am-nav button:disabled { opacity: .35; cursor: default; }
.mc-am-msg { margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(232, 160, 126, .14); border: 1px solid rgba(232, 160, 126, .5); color: #F2C3AC; font-size: 14px; }
.mc-am-scroll { overflow-x: auto; }
.mc-am-table { min-width: 780px; display: grid; grid-template-columns: 62px repeat(7, minmax(0, 1fr)); gap: 4px; }
.mc-am-day { cursor: default; border: 0; border-radius: 10px; background: transparent; color: var(--mc-creme); text-align: center; padding: 6px 0 8px; }
.mc-am-table.is-admin .mc-am-day { cursor: pointer; background: rgba(219, 198, 44, .08); }
.mc-am-day.is-closed,
.mc-am-table.is-admin .mc-am-day.is-closed { background: #0F1307; }
.mc-am-day__dow { font-family: var(--mc-f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mc-sauge); }
.mc-am-day__num { font-family: var(--mc-f-titre); font-weight: 600; font-size: 20px; color: var(--mc-creme); }
.mc-am-day.is-today .mc-am-day__num { color: var(--mc-jaune); }
.mc-am-day__tag { font-size: 10.5px; color: var(--mc-peche); min-height: 13px; }
.mc-am-hour { font-family: var(--mc-f-mono); font-size: 11.5px; color: var(--mc-sauge); display: flex; align-items: center; }
.mc-am-hour.is-half { color: #6E7A5E; }
.mc-am-hour--end { height: 22px; }
.mc-am-cell {
	cursor: default;
	height: 30px;
	min-width: 0;
	border-radius: 8px;
	border: 1px solid transparent;
	font-size: 11.5px;
	font-weight: 600;
	text-align: left;
	padding: 0 7px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: background .15s;
}
.mc-am-cell.is-free { cursor: pointer; background: rgba(101, 145, 84, .15); border-color: rgba(101, 145, 84, .45); color: var(--mc-creme); }
.mc-am-cell.is-free:hover { background: rgba(219, 198, 44, .25); border-color: var(--mc-jaune); }
.mc-am-cell.is-mine { cursor: pointer; background: var(--mc-orange); border-color: var(--mc-orange); color: var(--mc-creme); }
.mc-am-cell.is-mine:hover { background: #842D1B; }
.mc-am-cell.is-taken { cursor: not-allowed; background: #3A4528; color: var(--mc-creme-3); }
.mc-am-cell.is-past { background: repeating-linear-gradient(135deg, rgba(245, 241, 221, .05) 0 6px, transparent 6px 12px); color: var(--mc-sauge); }
.mc-am-cell.is-closed { background: #0F1307; border-color: #3A2418; color: #B5765A; }
.mc-am-cell.is-adm-open { cursor: pointer; background: rgba(101, 145, 84, .1); border-color: rgba(101, 145, 84, .35); color: var(--mc-peche); }
.mc-am-cell.is-adm-closed { cursor: pointer; background: #0F1307; border-color: #4A2A1E; color: var(--mc-peche); }
.mc-am-cell.is-adm-open:hover,
.mc-am-cell.is-adm-closed:hover { border-color: var(--mc-jaune); }
.mc-am-close-line { grid-column: span 7; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #6E7A5E; }
.mc-am-close-line span { flex: 1; height: 1px; background: rgba(232, 160, 126, .35); }
.mc-am-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--mc-sauge); }
.mc-am-legend span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mc-am-legend i { width: 14px; height: 14px; border-radius: 4px; }
.mc-am-legend .is-free { border: 1px solid rgba(101, 145, 84, .6); background: rgba(101, 145, 84, .15); }
.mc-am-legend .is-taken { background: #3A4528; }
.mc-am-legend .is-mine { background: var(--mc-orange); }
.mc-am-legend .is-closed { background: #0F1307; border: 1px solid #4A2A1E; }

/* ==========================================================================
   12b. Focus rings
   Twenty Twenty-Five draws a solid outline in the text colour (cream, so it
   looks white) on every :focus, mouse clicks included. Here: no ring after a
   mouse or touch click, a yellow ring for keyboard navigation only.
   ========================================================================== */
body :focus:not(:focus-visible),
html.mc-pointer body :focus {
	outline: none !important;
}
body :focus-visible {
	outline-color: var(--mc-jaune);
}

/* -------------------------------------------------------------------------
   13. Accessibility: reduced motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.wp-site-blocks *,
	.wp-site-blocks *::before,
	.wp-site-blocks *::after {
		animation: none !important;
		transition: none !important;
	}
}
