/* ==========================================================================
   FitMove Builder — styles des blocs (site et éditeur)
   Lit les variables du design system --fm-* (thème FitMove) avec des valeurs
   de secours : les blocs restent utilisables avec un autre thème.
   ========================================================================== */

:where(.fm-section, .fm-grid, .fm-title, .fm-counter, .fm-marquee, .fm-pricing, .fm-price, .fm-testimonial, .fm-acc, .fm-tabs, .fm-countdown, .fm-activity, .fm-coach, .fm-schedule, .fm-info) {
	--_primary: var(--fm-primary, #E1061B);
	--_on-primary: var(--fm-on-primary, #fff);
	--_text: var(--fm-text, currentColor);
	--_muted: var(--fm-muted, #6b7280);
	--_surface: var(--fm-surface, #f4f4f4);
	--_border: var(--fm-border, #e5e5e5);
	--_radius: var(--fm-radius, 16px);
	--_radius-media: var(--fm-radius-media, 16px);
	--_heading: var(--fm-font-heading, inherit);
	box-sizing: border-box;
}

/* Bouton de secours (sans le thème FitMove) */
:where(.fm-btn) { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 14px 26px; border-radius: 999px; background: var(--_primary); color: var(--_on-primary); font-weight: 700; text-decoration: none; }

/* Animations : éléments découpés et effets de survol ------------------------ */

/* Masque de l'apparition ligne par ligne : assez de place au-dessus pour les accents des majuscules (Ê, Ô, É) et en dessous pour les jambages. */
.fm-split .fm-w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .24em .12em; margin-block: -.24em -.12em; }
.fm-split .fm-wi { display: inline-block; will-change: transform; }
.fm-split--letters .fm-w, .fm-split--scramble .fm-w, .fm-split--typewriter .fm-w { overflow: visible; }
.fm-split .fm-c { display: inline-block; white-space: pre; }
.fm-typing .fm-w:last-child::after { content: ""; display: inline-block; width: .06em; height: .9em; margin-left: .05em; background: currentColor; vertical-align: -.05em; animation: fmb-caret .8s steps(1) infinite; }
.fm-scroll { will-change: translate, scale, rotate; }

.fm-h-lift { transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .45s; }
.fm-h-lift:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -12px rgb(0 0 0 / .35); }
.fm-h-zoom { overflow: hidden; }
.fm-h-zoom img { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.fm-h-zoom:hover img { transform: scale(1.08); }
.fm-h-tilt { transform: perspective(900px) rotateX(var(--fm-rx, 0)) rotateY(var(--fm-ry, 0)); transition: transform .5s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.fm-h-tilt:hover { transition-duration: .12s; }
.fm-h-glow { transition: box-shadow .4s; }
.fm-h-glow:hover { box-shadow: 0 0 0 1px rgb(var(--fm-primary-rgb, 225 6 27) / .6), 0 18px 60px -10px rgb(var(--fm-primary-rgb, 225 6 27) / .55); }
.fm-h-magnetic { transition: translate .4s cubic-bezier(.34,1.56,.64,1); }
.fm-h-shine { position: relative; overflow: hidden; }
.fm-h-shine::after { content: ""; position: absolute; inset: -30% auto -30% -50%; width: 35%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .35), transparent); transform: skewX(-20deg); opacity: 0; pointer-events: none; }
.fm-h-shine:hover::after { opacity: 1; animation: fmb-shine .9s ease forwards; }

/* Section ------------------------------------------------------------------ */

.fm-section {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	background: var(--fm-s-bg, transparent);
	color: var(--fm-s-fg, inherit);
	overflow: hidden;
	overflow: clip; /* clip : n'empêche pas les blocs « collants » (visite, défilement horizontal) */
	margin-block: 0;
}
.fm-section--tone-surface { --fm-s-bg: var(--_surface); }
.fm-section--tone-alt { --fm-s-bg: var(--fm-alt-bg, #111); --fm-s-fg: var(--fm-alt-text, #fff); }
.fm-section--tone-primary { --fm-s-bg: var(--_primary); --fm-s-fg: var(--_on-primary); }
.fm-section--tone-dark { --fm-s-bg: #0a0a0a; --fm-s-fg: #fff; }
.fm-section--tone-light { --fm-s-bg: #fff; --fm-s-fg: #0a0a0a; }
.fm-section--tone-gradient { background: var(--fm-gradient, linear-gradient(120deg, #E1061B, #FF5A36)); --fm-s-fg: var(--_on-primary); }
.fm-section--tone-primary :is(.fm-btn, .wp-block-button__link), .fm-section--tone-gradient :is(.fm-btn, .wp-block-button__link) { --_bg: var(--_on-primary); --_fg: var(--_primary); --_bd: var(--_on-primary); --_hbg: #000; --_hfg: #fff; --_hbd: #000; }
.fm-section--tone-primary .is-style-fm-outline > .wp-block-button__link, .fm-section--tone-gradient .is-style-fm-outline > .wp-block-button__link { --_bg: transparent; --_fg: var(--_on-primary); --_bd: var(--_on-primary); --_hbg: var(--_on-primary); --_hfg: var(--_primary); }
/* Boutons « dégradé » du thème posés sur une section rouge ou en dégradé : bouton clair plein, sinon rouge sur rouge. */
:is(.fm-section--tone-primary, .fm-section--tone-gradient) :is(.fm-btn--gradient, .is-style-fm-gradient > .wp-block-button__link),
.fm-btn-gradient :is(.fm-section--tone-primary, .fm-section--tone-gradient) .wp-block-button:not([class*="is-style-"]) > .wp-block-button__link { background: var(--_bg); }
:is(.fm-section--tone-primary, .fm-section--tone-gradient) :is(.fm-btn--gradient, .is-style-fm-gradient > .wp-block-button__link):hover,
.fm-btn-gradient :is(.fm-section--tone-primary, .fm-section--tone-gradient) .wp-block-button:not([class*="is-style-"]) > .wp-block-button__link:hover { background: var(--_hbg); color: var(--_hfg); }
.fm-section--tone-dark { --fm-text: var(--fm-s-fg); --fm-text-rgb: 255 255 255; --_muted: rgb(255 255 255 / .68); }
/* Section « contrastée » : claire ou sombre selon le thème (couleurs de Styles globaux). */
.fm-section--tone-alt { --fm-text: var(--fm-s-fg); --fm-text-rgb: var(--fm-alt-text-rgb, 255 255 255); --_muted: var(--fm-alt-muted, rgb(255 255 255 / .68)); }
.fm-section--tone-light { --fm-text: #0a0a0a; --fm-text-rgb: 0 0 0; --_muted: #555; }
.fm-section :where(h1, h2, h3, h4, h5, h6) { color: inherit; }
.fm-section--pad-none { padding-block: 0; }
.fm-section--pad-s { padding-block: calc(var(--fm-section, 96px) * .4); }
.fm-section--pad-m { padding-block: calc(var(--fm-section, 96px) * .7); }
.fm-section--pad-l { padding-block: var(--fm-section, 96px); }
.fm-section--pad-xl { padding-block: calc(var(--fm-section, 96px) * 1.45); }
.fm-section--h-50 { min-height: 50vh; min-height: 50svh; }
.fm-section--h-75 { min-height: 75vh; min-height: 75svh; }
.fm-section--h-100 { min-height: 100vh; min-height: 100svh; }
.fm-section--h-hero { min-height: calc(100vh - var(--fm-header-real, 120px)); min-height: calc(100svh - var(--fm-header-real, 120px)); }
.fm-has-transparent-header .fm-main > .wp-block-post-content > .fm-section:first-child { padding-top: calc(var(--fm-header-real, 100px) + var(--fm-section, 96px) * .5); }
.fm-has-transparent-header .fm-main > .wp-block-post-content > .fm-section--h-hero:first-child { min-height: 100vh; min-height: 100svh; }
.fm-section--v-top { justify-content: flex-start; }
.fm-section--v-center { justify-content: center; }
.fm-section--v-bottom { justify-content: flex-end; }
.fm-section--ta-center { text-align: center; }
.fm-section--ta-center .wp-block-buttons { justify-content: center; }
.fm-section--ta-right { text-align: right; }

.fm-section__inner { position: relative; z-index: 2; width: 100%; margin-inline: auto; padding-inline: var(--fm-gutter, 24px); }
.fm-section__inner > * { margin-block: 0; }
.fm-section__inner > * + * { margin-block-start: var(--fm-flow, 1.5rem); }
.fm-section__inner > .fm-heading-block + * { margin-block-start: 1.25rem; }
.fm-w-content { max-width: calc(var(--fm-content, 1200px) + 2 * var(--fm-gutter, 24px)); }
.fm-w-wide { max-width: calc(var(--fm-wide, 1400px) + 2 * var(--fm-gutter, 24px)); }
.fm-w-full { max-width: none; }

.fm-section__media { position: absolute; inset: 0; z-index: -2; }
.fm-section__img, .fm-section__video { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.fm-section__overlay { position: absolute; inset: 0; z-index: -1; background: var(--fm-s-ov, #000); opacity: var(--fm-s-ovo, .5); }
.fm-section__overlay--bottom { background: linear-gradient(0deg, var(--fm-s-ov, #000) 0%, transparent 85%); }
.fm-section__overlay--left { background: linear-gradient(90deg, var(--fm-s-ov, #000) 0%, transparent 85%); }
.fm-section__overlay--radial { background: radial-gradient(ellipse at 30% 50%, transparent 0%, var(--fm-s-ov, #000) 80%); }
.fm-section.has-media { --fm-s-fg: #fff; --fm-text-rgb: 255 255 255; }
@media (max-width: 767px) {
	.fm-section__overlay--left { background: linear-gradient(0deg, var(--fm-s-ov, #000) 10%, transparent 95%); }
	.fm-decor--pulse svg { height: 70px; bottom: 0; opacity: .6; }
}

.fm-section__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fm-decor--pulse svg { position: absolute; left: 0; bottom: 2%; width: 100%; height: 140px; overflow: visible; }
.fm-decor--pulse path { fill: none; stroke: var(--_primary); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: fmb-draw 2.4s .3s cubic-bezier(.65,0,.35,1) forwards; }
.fm-decor--grid { background-image: linear-gradient(rgb(var(--fm-text-rgb, 0 0 0) / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--fm-text-rgb, 0 0 0) / .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.fm-decor--glow::before { content: ""; position: absolute; width: 60vmax; height: 60vmax; left: 50%; top: 10%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgb(var(--fm-primary-rgb, 225 6 27) / .45), transparent 60%); filter: blur(30px); animation: fmb-float 12s ease-in-out infinite alternate; }
.fm-decor--grain { opacity: .14; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.fm-section__divider { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); z-index: 3; fill: var(--fm-bg, #fff); }

/* Grille ------------------------------------------------------------------- */

.fm-grid { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: var(--_gap, 24px); align-items: stretch; }
.fm-grid > * { margin: 0 !important; min-width: 0; }
.fm-grid--gap-none { --_gap: 0; }
.fm-grid--gap-s { --_gap: 12px; }
.fm-grid--gap-m { --_gap: clamp(16px, 2vw, 24px); }
.fm-grid--gap-l { --_gap: clamp(20px, 3vw, 40px); }
.fm-grid--gap-xl { --_gap: clamp(28px, 5vw, 72px); }
.fm-grid--align-start { align-items: start; }
.fm-grid--align-center { align-items: center; }
.fm-grid--align-end { align-items: end; }
@media (max-width: 1024px) { .fm-grid { grid-template-columns: repeat(var(--ct, 2), minmax(0, 1fr)); } }
@media (max-width: 767px) { .fm-grid { grid-template-columns: repeat(var(--cm, 1), minmax(0, 1fr)); } }

/* Titre avancé ------------------------------------------------------------- */

.fm-heading-block { margin-block: 0; }
.fm-heading-block.has-text-align-center { text-align: center; margin-inline: auto; }
.fm-heading-block.has-text-align-right { text-align: right; margin-left: auto; }
.fm-mw-narrow { max-width: 14ch; }
.fm-mw-medium { max-width: 22ch; }
.fm-mw-narrow .fm-title, .fm-mw-medium .fm-title { max-width: none; }
.fm-heading-block .fm-title { margin: 0; color: var(--fm-title-color, inherit); }
.fm-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 .9em; font-size: 15px; font-weight: 600; color: var(--fm-primary-text, var(--_primary)); letter-spacing: .01em; }
.fm-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.has-text-align-center .fm-kicker { justify-content: center; }
.fm-section--tone-primary .fm-kicker, .fm-section--tone-gradient .fm-kicker { color: inherit; }
.fm-section--tone-dark :is(.fm-kicker, .fm-counter__suffix, .fm-counter__prefix, .fm-coach__role) { color: var(--fm-primary-on-dark, #E84252); }
.fm-title--s { font-size: var(--fm-h4, 26px); }
.fm-title--m { font-size: var(--fm-h3, 36px); }
.fm-title--l { font-size: var(--fm-h2, 64px); }
.fm-title--xl { font-size: var(--fm-h1, 110px); }
.fm-title--xxl { font-size: calc(var(--fm-h1, 60px) * 1.15); }
.fm-title { overflow-wrap: break-word; max-width: 100%; }
.fm-title--mega { font-size: calc(var(--fm-h1, 60px) * 1.3); letter-spacing: -.01em; }
.fm-title--fx-gradient { background: var(--fm-gradient, linear-gradient(120deg, #E1061B, #FF5A36)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fm-title--fx-gradient .fm-wi { background: inherit; -webkit-background-clip: text; background-clip: text; }
.fm-title--fx-outline { color: transparent; -webkit-text-stroke: max(1.5px, .018em) var(--fm-title-color, var(--fm-s-fg, var(--fm-text, #000))); }
.fm-title--fx-outline-fill { --_c: var(--fm-title-color, var(--fm-s-fg, var(--fm-text, #000))); -webkit-text-stroke: max(1.5px, .018em) var(--_c); color: transparent; background: linear-gradient(var(--_c), var(--_c)) 0 100% / 100% 0 no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-size .8s cubic-bezier(.7,0,.2,1); }
.fm-title--fx-outline-fill:hover, .is-in .fm-title--fx-outline-fill { background-size: 100% 100%; }
.fm-title--fx-shadow { text-shadow: .045em .045em 0 var(--_primary); }
.fm-title--fx-stripe { background: repeating-linear-gradient(-45deg, var(--fm-title-color, var(--fm-s-fg, var(--fm-text, #000))) 0 2px, transparent 2px 7px); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fm-title--fx-glow { text-shadow: 0 0 .25em rgb(var(--fm-primary-rgb, 225 6 27) / .9), 0 0 .8em rgb(var(--fm-primary-rgb, 225 6 27) / .5); }

/* Compteur ----------------------------------------------------------------- */

.fm-counter__num { margin: 0; font-family: var(--_heading); font-weight: var(--fm-heading-weight, 800); font-stretch: var(--fm-heading-stretch, 100%); font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fm-counter__num { white-space: nowrap; }
.fm-counter__prefix, .fm-counter__suffix { color: var(--fm-primary-text, var(--_primary)); font-size: .5em; letter-spacing: 0; vertical-align: .08em; }
.fm-counter__label { margin: .5em 0 0; color: var(--_muted); font-size: 16px; }
.fm-counter.has-text-align-center { text-align: center; }
.fm-counter--card { padding: clamp(20px, 3vw, 36px); border-radius: var(--_radius); background: var(--_surface); }
.fm-counter--outline { padding: clamp(20px, 3vw, 36px); border-radius: var(--_radius); border: var(--fm-border-width, 1px) solid var(--_border); }
.fm-section--tone-primary .fm-counter__prefix, .fm-section--tone-primary .fm-counter__suffix { color: inherit; opacity: .8; }

/* Texte défilant ----------------------------------------------------------- */

.fm-marquee { --_mq-fg: var(--fm-s-fg, var(--fm-text, #000)); --_fs: clamp(32px, 5vw, 72px); color: var(--_mq-fg); overflow: hidden; padding-block: .35em; rotate: var(--fm-mq-tilt, 0deg); margin-inline: -2%; width: 104%; max-width: none; font-family: var(--_heading); font-weight: var(--fm-heading-weight, 800); font-stretch: var(--fm-heading-stretch, 100%); font-style: var(--fm-heading-style, normal); text-transform: var(--fm-heading-case, none); line-height: 1; font-size: var(--_fs); }
.fm-marquee--s { --_fs: clamp(18px, 2vw, 26px); }
.fm-marquee--m { --_fs: clamp(24px, 3.2vw, 44px); }
.fm-marquee--xl { --_fs: clamp(48px, 8vw, 120px); }
.fm-marquee--mega { --_fs: clamp(72px, 14vw, 220px); }
.fm-marquee--tone-dark { background: #0a0a0a; --_mq-fg: #fff; }
.fm-marquee--tone-primary { background: var(--_primary); --_mq-fg: var(--_on-primary); }
.fm-marquee--tone-light { background: #fff; --_mq-fg: #0a0a0a; }
.fm-marquee__track { display: flex; width: max-content; animation: fmb-marquee var(--fm-mq-dur, 30s) linear infinite; }
.fm-marquee--reverse .fm-marquee__track { animation-direction: reverse; }
.fm-marquee--pause:hover .fm-marquee__track { animation-play-state: paused; }
.fm-marquee__group { display: flex; align-items: center; flex-shrink: 0; margin: 0; padding: 0; list-style: none; }
.fm-marquee__item { padding-inline: .45em; white-space: nowrap; }
.fm-marquee--outline .fm-marquee__item { color: transparent; -webkit-text-stroke: max(1.5px, .022em) var(--_mq-fg); }
.fm-marquee--mixed .fm-marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: max(1.5px, .022em) var(--_mq-fg); }
.fm-marquee__sep { display: inline-flex; align-items: center; color: var(--_primary); }
.fm-marquee--tone-primary .fm-marquee__sep { color: inherit; opacity: .7; }
.fm-marquee__sep svg { width: 1.2em; height: .6em; fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; overflow: visible; }
.fm-marquee__sep svg[viewBox="0 0 24 24"] { width: .5em; height: .5em; fill: currentColor; stroke: none; }
.fm-marquee__dot { width: .22em; height: .22em; border-radius: 50%; background: currentColor; }
.fm-marquee__slash { font-weight: 300; opacity: .6; }

/* Tarifs ------------------------------------------------------------------- */

.fm-pricing { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.fm-pricing > * { margin: 0 !important; }
@media (max-width: 1024px) { .fm-pricing { grid-template-columns: repeat(min(var(--c, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 680px) { .fm-pricing { grid-template-columns: 1fr; } }
.fm-price { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--_radius); background: var(--_surface); border: var(--fm-border-width, 1px) solid var(--_border); box-shadow: var(--fm-shadow, none); color: var(--_text); text-align: left; }
.fm-price__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fm-price__name { margin: 0; font-size: clamp(22px, 2.2vw, 30px); }
.fm-price__badge { padding: 5px 11px; border-radius: 999px; background: var(--_primary); color: var(--_on-primary); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.fm-price__amount { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.fm-price__value { font-family: var(--_heading); font-weight: var(--fm-heading-weight, 800); font-stretch: var(--fm-heading-stretch, 100%); font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.fm-price__period { color: var(--_muted); font-weight: 500; }
.fm-price__features { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--_border); display: grid; gap: 10px; }
.fm-price__features li { position: relative; padding-left: 28px; }
.fm-price__features li::before { content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%; background: var(--_primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.fm-price__note { margin: 0; color: var(--_muted); font-size: 14px; }
.fm-price__cta { margin-top: auto; padding-top: 8px; }
.fm-price__cta .fm-btn { width: 100%; }
.fm-price.is-highlight { background: var(--fm-alt-bg, #0a0a0a); color: var(--fm-alt-text, #fff); border-color: transparent; --_muted: var(--fm-alt-text, #fff); --_border: color-mix(in srgb, var(--fm-alt-text, #fff) 18%, transparent); transform: translateY(-8px); }
.is-style-fm-outline.fm-pricing .fm-price { background: transparent; border-width: 2px; border-color: currentColor; }
.is-style-fm-bold.fm-pricing { gap: 0; border: 3px solid currentColor; }
.is-style-fm-bold.fm-pricing .fm-price { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.is-style-fm-bold.fm-pricing .fm-price + .fm-price { border-left: 3px solid currentColor; }
.is-style-fm-bold.fm-pricing .fm-price.is-highlight { background: var(--_primary); color: var(--_on-primary); transform: none; --_muted: color-mix(in srgb, var(--_on-primary) 88%, transparent); }
.is-style-fm-bold.fm-pricing .fm-price.is-highlight .fm-btn { --_bg: var(--_on-primary); --_fg: var(--_primary); --_bd: var(--_on-primary); }
@media (max-width: 680px) { .is-style-fm-bold.fm-pricing .fm-price + .fm-price { border-left: 0; border-top: 3px solid currentColor; } }

/* Témoignage --------------------------------------------------------------- */

.fm-testimonial { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: clamp(24px, 3vw, 34px); border-radius: var(--_radius); background: var(--_surface); border: var(--fm-border-width, 1px) solid var(--_border); }
.fm-testimonial__quote { margin: 0; padding: 0; border: 0; }
.fm-testimonial__quote p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.fm-testimonial__quote p::before { content: "“"; display: block; height: .55em; margin-bottom: .1em; font-family: var(--_heading); font-size: 3.4em; line-height: 1; color: var(--_primary); }
.fm-testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.fm-testimonial__author > span { display: grid; }
.fm-testimonial__detail { color: var(--_muted); font-size: 14px; }
.fm-testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.fm-stars { margin: 0; display: flex; gap: 2px; font-size: 18px; color: color-mix(in srgb, var(--_text) 20%, transparent); }
.fm-stars .is-on { color: #FFB400; }
.is-style-fm-big.fm-testimonial { background: none; border: 0; padding: 0; }
.is-style-fm-big .fm-testimonial__quote p { font-family: var(--_heading); font-weight: var(--fm-heading-weight, 800); font-stretch: var(--fm-heading-stretch, 100%); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.01em; font-style: var(--fm-heading-style, normal); text-transform: var(--fm-heading-case, none); }
.is-style-fm-minimal.fm-testimonial { background: none; border: 0; border-left: 3px solid var(--_primary); border-radius: 0; padding: 4px 0 4px 22px; }

/* FAQ / accordéon ---------------------------------------------------------- */

.fm-acc { display: grid; gap: 0; border-top: 1px solid var(--_border); }
.fm-acc__item { border-bottom: 1px solid var(--_border); margin: 0 !important; }
.fm-acc__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--_heading); font-weight: var(--fm-heading-weight, 700); font-stretch: var(--fm-heading-stretch, 100%); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.2; font-style: var(--fm-heading-style, normal); text-transform: var(--fm-heading-case, none); }
.fm-acc__q::-webkit-details-marker { display: none; }
.fm-acc__q:hover .fm-acc__title { color: var(--fm-primary-text, var(--_primary)); }
.fm-acc__icon { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .45s cubic-bezier(.34,1.56,.64,1), background-color .3s, color .3s; }
.fm-acc__icon::before, .fm-acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; translate: -50% -50%; transition: rotate .4s; }
.fm-acc__icon::after { rotate: 90deg; }
.fm-acc__item[open] .fm-acc__icon { background: var(--_primary); border-color: var(--_primary); color: var(--_on-primary); }
.fm-acc__item[open] .fm-acc__icon::after { rotate: 0deg; }
.fm-acc--icon-chevron .fm-acc__icon { border: 0; }
.fm-acc--icon-chevron .fm-acc__icon::before { width: 10px; rotate: 45deg; translate: -85% -50%; }
.fm-acc--icon-chevron .fm-acc__icon::after { width: 10px; rotate: -45deg; translate: -15% -50%; }
.fm-acc--icon-chevron .fm-acc__item[open] .fm-acc__icon { background: none; color: var(--_primary); transform: rotate(180deg); }
.fm-acc__a { overflow: hidden; }
.fm-acc__inner { padding: 0 4px 24px; color: var(--_muted); max-width: 70ch; }
.fm-acc__inner > :first-child { margin-top: 0; }
.fm-acc__inner > :last-child { margin-bottom: 0; }
.is-style-fm-cards.fm-acc { border: 0; gap: 10px; }
.is-style-fm-cards .fm-acc__item { border: 1px solid var(--_border); border-radius: var(--_radius); background: var(--_surface); padding-inline: 18px; }

/* Onglets ------------------------------------------------------------------ */

.fm-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.fm-tabs--align-center .fm-tabs__list { justify-content: center; }
.fm-tabs__tab { min-height: 44px; padding: 10px 20px; border: 1.5px solid var(--_border); border-radius: 999px; background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.fm-tabs__tab:hover { border-color: currentColor; }
.fm-tabs__tab[aria-selected="true"] { background: var(--_primary); border-color: var(--_primary); color: var(--_on-primary); }
.fm-tabs--underline .fm-tabs__list { gap: 28px; border-bottom: 1px solid var(--_border); }
.fm-tabs--underline .fm-tabs__tab { border: 0; border-radius: 0; padding-inline: 0; box-shadow: inset 0 -3px 0 transparent; }
.fm-tabs--underline .fm-tabs__tab[aria-selected="true"] { background: none; color: var(--fm-primary-text, var(--_primary)); box-shadow: inset 0 -3px 0 var(--_primary); }
.fm-tabs--cards .fm-tabs__tab { border-radius: var(--_radius); }
.fm-tabs__panel { animation: fmb-fadein .45s ease; }
.fm-tabs__panel > :first-child { margin-top: 0; }

/* Compte à rebours --------------------------------------------------------- */

.fm-countdown__units { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.has-text-align-center .fm-countdown__units { justify-content: center; }
.fm-countdown__unit { display: grid; justify-items: center; min-width: 92px; }
.fm-countdown__num { font-family: var(--_heading); font-weight: var(--fm-heading-weight, 800); font-stretch: var(--fm-heading-stretch, 100%); font-size: clamp(40px, 5vw, 72px); line-height: 1; font-variant-numeric: tabular-nums; }
.fm-countdown__label { margin-top: 6px; color: var(--_muted); font-size: 13px; font-weight: 600; }
.fm-countdown--boxes .fm-countdown__unit { padding: 18px 14px; border-radius: var(--_radius); background: var(--_surface); border: 1px solid var(--_border); }
.fm-countdown--inline .fm-countdown__unit { min-width: 0; display: inline-flex; align-items: baseline; gap: 6px; }
.fm-countdown--inline .fm-countdown__num { font-size: clamp(28px, 3vw, 40px); }
.fm-countdown--big .fm-countdown__num { font-size: clamp(48px, 6vw, 88px); }
.fm-countdown__end { margin: 0; font-family: var(--_heading); font-weight: var(--fm-heading-weight, 800); font-size: clamp(28px, 4vw, 56px); }

/* Carte d'activité --------------------------------------------------------- */

.fm-activity { position: relative; display: flex; flex-direction: column; border-radius: var(--_radius-media); overflow: hidden; background: var(--_surface); color: var(--_text); isolation: isolate; }
.fm-activity__media { overflow: hidden; aspect-ratio: 4 / 5; background: color-mix(in srgb, var(--_text) 8%, transparent); }
.fm-activity__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.fm-activity:hover .fm-activity__img { transform: scale(1.06); }
.fm-activity__body { display: grid; gap: 8px; padding: 22px; }
.fm-activity__tag { margin: 0; justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--_primary); color: var(--_on-primary); font-size: 12.5px; font-weight: 700; }
.fm-activity__title { margin: 0; font-size: clamp(24px, 2.4vw, 34px); }
.fm-activity__link { color: inherit; text-decoration: none; }
.fm-activity__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.fm-activity__link:focus-visible { outline: none; }
.fm-activity:has(.fm-activity__link:focus-visible) { outline: 3px solid var(--fm-focus, #FFC93C); outline-offset: 3px; }
.fm-activity__text { margin: 0; color: var(--_muted); }
.fm-activity__meta { display: flex; align-items: center; gap: 16px; margin: 4px 0 0; font-size: 14px; color: var(--_muted); }
.fm-activity__level { display: inline-flex; gap: 3px; }
.fm-activity__level i { width: 14px; height: 6px; border-radius: 3px; background: color-mix(in srgb, currentColor 30%, transparent); }
.fm-activity__level i.is-on { background: var(--_primary); }
.fm-activity__dur { display: inline-flex; align-items: center; gap: 5px; }
.fm-activity--overlay .fm-activity__media { aspect-ratio: 3 / 4; }
.fm-activity--overlay .fm-activity__body { position: absolute; inset: auto 0 0; z-index: 2; color: #fff; padding: 24px; background: linear-gradient(0deg, rgb(0 0 0 / .85), rgb(0 0 0 / .3) 70%, transparent); --_muted: rgb(255 255 255 / .8); }
.fm-activity--overlay .fm-activity__text { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.fm-activity--overlay:hover .fm-activity__text, .fm-activity--overlay:focus-within .fm-activity__text { max-height: 8em; opacity: 1; }
@media (hover: none) { .fm-activity--overlay .fm-activity__text { max-height: none; opacity: 1; } }
.fm-activity--minimal { background: none; border-radius: 0; }
.fm-activity--minimal .fm-activity__media { border-radius: var(--_radius-media); aspect-ratio: 4 / 3; }
.fm-activity--minimal .fm-activity__body { padding: 16px 0 0; }
.fm-activity.no-media .fm-activity__media { display: none; }
.fm-activity--overlay.no-media .fm-activity__body { position: static; background: none; color: inherit; --_muted: var(--fm-muted, #6b7280); }

/* Coach -------------------------------------------------------------------- */

.fm-coach { display: flex; flex-direction: column; gap: 18px; color: var(--_text); }
.fm-coach__media { position: relative; overflow: hidden; border-radius: var(--_radius-media); aspect-ratio: 4 / 5; background: color-mix(in srgb, var(--_text) 8%, transparent); }
.fm-coach__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .6s; }
.fm-coach:hover .fm-coach__img { transform: scale(1.04); }
.fm-coach__social { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #000; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.fm-coach__social:hover { transform: scale(1.1); }
.fm-coach__body { display: grid; gap: 6px; }
.fm-coach__name { margin: 0; font-size: clamp(26px, 2.6vw, 38px); }
.fm-coach__role { margin: 0; color: var(--fm-primary-text, var(--_primary)); font-weight: 700; }
.fm-coach__bio { margin: 4px 0 0; color: var(--_muted); }
.fm-coach__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; }
.fm-coach__tags li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--_border); font-size: 13px; font-weight: 600; }
.fm-coach--card { padding: 14px; border-radius: calc(var(--_radius) + 6px); background: var(--_surface); border: 1px solid var(--_border); }
.fm-coach--card .fm-coach__body { padding: 0 8px 10px; }
.fm-coach--round { align-items: center; text-align: center; }
.fm-coach--round .fm-coach__media { width: min(220px, 70%); aspect-ratio: 1; border-radius: 50%; }
.fm-coach--round .fm-coach__tags { justify-content: center; }

/* Planning ----------------------------------------------------------------- */

.fm-schedule__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fm-chip-btn { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--_border); background: none; color: inherit; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.fm-chip-btn:hover { border-color: currentColor; }
.fm-chip-btn[aria-pressed="true"] { background: var(--_text); border-color: var(--_text); color: var(--fm-bg, #fff); }
.fm-schedule__tabs { display: none; }
.fm-schedule__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.fm-schedule__day { min-width: 0; padding: 14px; border-radius: var(--_radius); background: var(--_surface); border: 1px solid var(--_border); }
.fm-schedule__day.is-today { border-color: var(--_primary); box-shadow: 0 0 0 1px var(--_primary); }
.fm-schedule__dayname { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 18px; }
.fm-schedule__badge { padding: 2px 8px; border-radius: 999px; background: var(--_primary); color: var(--_on-primary); font-family: var(--fm-font-body, inherit); font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.fm-schedule__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fm-session { display: grid; gap: 2px; padding: 10px 12px; border-radius: calc(var(--_radius) / 2); background: var(--fm-bg, #fff); border-left: 4px solid var(--c, var(--_primary)); transition: opacity .3s, transform .3s; }
.fm-session[hidden] { display: none; }
.fm-session__time { font-size: 12.5px; font-weight: 700; color: var(--_muted); font-variant-numeric: tabular-nums; }
.fm-session__course { font-size: 15px; line-height: 1.2; }
.fm-session__coach, .fm-session__note { font-size: 12.5px; color: var(--_muted); }
.fm-schedule__empty { margin: 0; color: var(--_muted); font-size: 14px; }
@media (max-width: 1100px) { .fm-schedule__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.fm-schedule.is-enhanced .fm-schedule__tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 4px; scrollbar-width: none; }
	.fm-schedule__tab { flex: 1 0 auto; min-width: 46px; min-height: 44px; border: 1.5px solid var(--_border); border-radius: 12px; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
	.fm-schedule__tab[aria-selected="true"] { background: var(--_primary); border-color: var(--_primary); color: var(--_on-primary); }
	.fm-schedule__grid { grid-template-columns: 1fr; }
	.fm-schedule.is-enhanced .fm-schedule__day:not(.is-active) { display: none; }
}

/* Infos pratiques ---------------------------------------------------------- */

.fm-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.fm-info__item { display: grid; align-content: start; gap: 8px; padding: clamp(22px, 3vw, 32px); border-radius: var(--_radius); background: var(--_surface); border: 1px solid var(--_border); }
.fm-info__item p { margin: 0; }
.fm-info__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--_primary); color: var(--_on-primary); margin-bottom: 6px; }
.fm-info__title { margin: 0; font-size: clamp(22px, 2vw, 28px); }
.fm-info__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: inherit; }
.fm-info__big { font-family: var(--_heading); font-weight: var(--fm-heading-weight, 800); font-size: clamp(22px, 2.2vw, 30px); text-decoration: none; color: inherit; }
.fm-info__hours { margin: 0; display: grid; gap: 6px; }
.fm-info__hours div { display: flex; justify-content: space-between; gap: 12px; }
.fm-info__hours dt { color: var(--_muted); }
.fm-info__hours dd { margin: 0; font-weight: 700; }
.fm-info__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.fm-info__dot { width: 10px; height: 10px; border-radius: 50%; background: #9CA3AF; }
.fm-info__status.is-open .fm-info__dot { background: #16A34A; box-shadow: 0 0 0 0 rgb(22 163 74 / .6); animation: fmb-ping 2s infinite; }
.fm-info__status.is-open { color: #166534; }
.fm-section--tone-dark .fm-info__status.is-open { color: #4ADE80; }
.fm-info--list { grid-template-columns: 1fr; gap: 0; }
.fm-info--list .fm-info__item { grid-template-columns: 56px 1fr; column-gap: 18px; background: none; border: 0; border-bottom: 1px solid var(--_border); border-radius: 0; padding-inline: 0; }
.fm-info--list .fm-info__icon { grid-row: span 4; }
.fm-info--band .fm-info__item { background: none; border: 0; border-left: 1px solid var(--_border); border-radius: 0; padding-block: 8px; }
.fm-info--band .fm-info__item:first-child { border-left: 0; }

/* Keyframes ---------------------------------------------------------------- */

@keyframes fmb-marquee { to { transform: translateX(-50%); } }
@keyframes fmb-draw { to { stroke-dashoffset: 0; } }
@keyframes fmb-float { to { translate: -30% -40%; } }
@keyframes fmb-caret { 50% { opacity: 0; } }
@keyframes fmb-shine { from { transform: translateX(0) skewX(-20deg); } to { transform: translateX(450%) skewX(-20deg); } }
@keyframes fmb-fadein { from { opacity: 0; transform: translateY(8px); } }
@keyframes fmb-ping { 70% { box-shadow: 0 0 0 8px rgb(22 163 74 / 0); } 100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0); } }

@media (prefers-reduced-motion: reduce) {
	.fm-marquee__track { animation: none; }
	.fm-marquee { overflow-x: auto; scrollbar-width: none; }
	.fm-marquee__group[aria-hidden] { display: none; }
	.fm-decor--pulse path { animation: none; stroke-dashoffset: 0; }
	.fm-decor--glow::before { animation: none; }
	.fm-h-lift:hover, .fm-h-tilt { transform: none; }
}
.fm-no-motion .fm-marquee__track { animation: none; }

.fm-section.has-media .fm-kicker { color: #fff; }

/* Coachs : nom à la bonne taille, interview au clic */
.fm-coach__name { font-size: var(--fm-h3, 24px); }
.fm-coach.has-interview { position: relative; }
.fm-coach__open { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: inherit; }
.fm-coach__open:focus-visible { outline: 3px solid var(--fm-focus, var(--fm-primary, #E1061B)); outline-offset: 3px; }
.fm-coach__badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: rgb(255 255 255 / .94); color: #0a0a0a; font: 700 13px/1 var(--fm-font-body, system-ui); box-shadow: 0 8px 20px -8px rgb(0 0 0 / .4); transition: transform .3s cubic-bezier(.3,1.4,.5,1), background-color .2s; }
.fm-coach__badge svg { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--fm-primary, #E1061B); color: #fff; }
.fm-coach.has-interview:hover .fm-coach__badge { transform: scale(1.06); }
.fm-coach.has-interview:hover .fm-coach__img { transform: scale(1.05); }
.fm-coach__social { z-index: 3; }
.fm-cdialog { width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: calc(var(--fm-radius, 12px) + 6px); background: var(--fm-bg, #fff); color: var(--fm-text, #0a0a0a); box-shadow: 0 40px 100px -30px rgb(0 0 0 / .6); overflow: hidden; }
.fm-cdialog::backdrop { background: rgb(10 10 12 / .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fm-cdialog__box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-height: calc(100dvh - 32px); }
.fm-cdialog.has-video.is-portrait .fm-cdialog__box { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
.fm-cdialog__media { background: #000; display: grid; place-items: center; }
.fm-cdialog.is-portrait .fm-cdialog__media { aspect-ratio: 9 / 16; max-height: calc(100dvh - 32px); }
.fm-cdialog.is-landscape .fm-cdialog__media { aspect-ratio: 16 / 9; }
.fm-cdialog__video, .fm-cdialog__frame { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.fm-cdialog__body { overflow-y: auto; padding: clamp(24px, 3.4vw, 44px); }
.fm-cdialog.is-portrait.has-video .fm-cdialog__body { max-height: min(calc(100dvh - 32px), 676px); }
.fm-cdialog__kicker { margin: 0 0 8px; color: var(--fm-primary, #E1061B); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fm-cdialog__name { margin: 0; font-family: var(--fm-font-heading, inherit); font-weight: var(--fm-heading-weight, 800); font-style: var(--fm-heading-style, normal); text-transform: var(--fm-heading-case, none); font-size: var(--fm-h2, 42px); line-height: 1; }
.fm-cdialog__role { margin: 8px 0 0; font-weight: 700; color: color-mix(in srgb, currentColor 65%, transparent); }
.fm-cdialog__quote { margin: 20px 0 0; padding: 0 0 0 16px; border-left: 3px solid var(--fm-primary, #E1061B); font-size: 19px; line-height: 1.45; font-weight: 600; }
.fm-cdialog__bio { margin: 16px 0 0; color: color-mix(in srgb, currentColor 72%, transparent); }
.fm-cdialog .fm-coach__tags { margin-top: 16px; }
.fm-cdialog__list { margin: 24px 0 0; display: grid; gap: 18px; }
.fm-cdialog__qa { padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
.fm-cdialog__qa dt { font-weight: 800; font-size: 15.5px; }
.fm-cdialog__qa dd { margin: 6px 0 0; line-height: 1.6; color: color-mix(in srgb, currentColor 78%, transparent); }
.fm-cdialog__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #0a0a0a; cursor: pointer; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .35); }
.fm-cdialog__close:hover { transform: rotate(90deg); transition: transform .3s; }
html.fm-modal-open { overflow: hidden; }
@media (max-width: 760px) {
	.fm-cdialog { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
	.fm-cdialog__box, .fm-cdialog.has-video.is-portrait .fm-cdialog__box { grid-template-columns: minmax(0, 1fr); max-height: 100dvh; height: 100dvh; overflow-y: auto; }
	.fm-cdialog.is-portrait .fm-cdialog__media { aspect-ratio: auto; height: 68dvh; max-height: none; }
	.fm-cdialog__body, .fm-cdialog.is-portrait.has-video .fm-cdialog__body { max-height: none; overflow: visible; }
}

/* Lisibilité : rouge éclairci sur fond sombre (surtitres, compteurs, statut) */
.fm-section--tone-alt :is(.fm-kicker, .fm-counter__suffix, .fm-counter__prefix, .fm-coach__role) { color: var(--fm-primary-on-alt, var(--_primary)); }
.fm-scheme-dark .fm-info__status.is-open { color: #4ADE80; }
/* Mots composés gardés sur une ligne (ex. Arcs-sur-Argens), sauf sur très petit écran */
.fm-nowrap { white-space: nowrap; }
@media (max-width: 379px) { .fm-nowrap { white-space: normal; } }

/* Formule : frais d'adhésion sous le prix, option coaching sous le bouton. */
.fm-price__fee { margin: -6px 0 0; color: var(--_muted); font-size: 13.5px; font-weight: 600; }
.fm-price__upsell { margin: -2px 0 0; }

/* Planning Sportigo en direct (module « Réservation en ligne ») ; planning du site en secours. */
.fm-sportigo { position: relative; color-scheme: light; }
.fm-sportigo__mount { min-height: 260px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding: clamp(10px, 2vw, 20px); border-radius: var(--fm-radius, 14px); background: #fff; color: #1c1c1e; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 32px -20px rgb(0 0 0 / .18); }
.fm-sportigo.is-ready .fm-sportigo__mount { min-height: 0; }
.fm-sportigo.is-fallback .fm-sportigo__mount { display: none; }
.fm-sportigo__loading { position: absolute; inset: 0 0 auto; height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 0; color: #6b6b6b; font-size: 15px; font-weight: 600; pointer-events: none; }
.fm-sportigo__loading::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgb(0 0 0 / .1); border-top-color: var(--fm-primary, #E1061B); animation: fm-spin .9s linear infinite; }
.fm-sportigo.is-ready .fm-sportigo__loading, .fm-sportigo.is-fallback .fm-sportigo__loading { display: none; }
.fm-sportigo__note { margin: 0 0 16px; font-size: 14.5px; opacity: .8; }
@keyframes fm-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fm-sportigo__loading::before { animation: none; } }
.fm-sportigo__empty { display: grid; justify-items: center; gap: 16px; padding: clamp(28px, 5vw, 48px) 20px; border-radius: var(--fm-radius, 14px); background: #fff; color: #1c1c1e; text-align: center; }
.fm-sportigo__empty p { max-width: 52ch; margin: 0; }
.fm-sportigo__account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 16px; padding: 14px 16px 14px 20px; border: 1px solid color-mix(in srgb, currentColor 16%, transparent); border-radius: var(--fm-radius, 14px); background: color-mix(in srgb, currentColor 4%, transparent); }
.fm-sportigo__account p { flex: 1 1 320px; margin: 0; font-weight: 600; line-height: 1.45; }
.fm-sportigo__account-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-sportigo__steps { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.fm-sportigo__steps li { display: flex; align-items: center; gap: 9px; }
.fm-sportigo__steps span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fm-primary, #E1061B); color: var(--fm-on-primary, #fff); font-size: 12.5px; font-weight: 800; }
@media (max-width: 600px) { .fm-sportigo__steps { flex-direction: column; gap: 8px; } }
.fm-sportigo__account .fm-btn { white-space: nowrap; }
@media (max-width: 600px) { .fm-sportigo__account { padding: 14px; } .fm-sportigo__account-btns, .fm-sportigo__account .fm-btn { width: 100%; } .fm-sportigo__account .fm-btn { justify-content: center; } }

/* Offres spéciales en cartes larges : présentation à gauche, prix et inscription à droite.
 * Les « choix » (engagement 12 mois / 3 mois) ont chacun leur prix et leur bouton. */
.fm-pricing.fm-pricing--wide { grid-template-columns: minmax(0, 1fr) !important; max-width: 1060px; margin-inline: auto; gap: clamp(18px, 2.4vw, 28px); }
.fm-price--wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.8vw, 48px); }
.fm-price--wide.is-highlight { transform: none; border: 2px solid var(--_primary); box-shadow: 0 24px 60px -36px rgb(0 0 0 / .45); }
.fm-price__main, .fm-price__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fm-price--wide .fm-price__head { justify-content: flex-start; flex-wrap: wrap; gap: 10px 14px; }
.fm-price--wide .fm-price__name { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.fm-price__text { margin: 0; max-width: 46ch; color: var(--_muted); font-size: 16.5px; line-height: 1.55; }
.fm-price--wide .fm-price__features { padding-top: 16px; }
.fm-price--wide .fm-price__side { align-self: stretch; justify-content: center; padding: clamp(20px, 2.6vw, 30px); border-radius: calc(var(--_radius) - 4px); background: color-mix(in srgb, currentColor 4%, transparent); border: 1px solid var(--_border); }
.fm-price--wide .fm-price__cta { margin-top: 4px; padding-top: 0; }
.fm-price--wide .fm-price__fee { margin: -4px 0 0; }
.fm-price--wide .fm-price__upsell { margin: 2px 0 0; }
.fm-price--wide.has-options { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); }
.fm-price__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.fm-popt { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-radius: calc(var(--_radius) - 6px); background: var(--fm-bg, #fff); border: 1px solid var(--_border); }
.fm-popt.is-featured { border-color: var(--_primary); box-shadow: inset 0 0 0 1px var(--_primary); }
.fm-popt__label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fm-popt__amount { margin: 2px 0 0; row-gap: 0; }
.fm-popt__amount .fm-price__value { font-size: clamp(30px, 3.2vw, 40px); }
.fm-popt__detail { margin: 0; color: var(--_muted); font-size: 13.5px; font-weight: 600; }
.fm-popt__btn { width: 100%; justify-content: center; margin-top: 8px; }
@media (max-width: 780px) {
	.fm-price--wide, .fm-price--wide.has-options { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px 20px; }
	.fm-price--wide .fm-price__side { padding: 18px 16px; }
	.fm-price--wide .fm-price__name { font-size: 28px; }
	.fm-price__text { font-size: 16px; }
}
/* « Sans abonnement » : un peu d'air entre le pass 1 mois et les séances. */
.fm-sessions-title { margin-top: clamp(44px, 6vw, 72px) !important; }
/* Promo sur les frais d'adhésion (Studio › Promotions) : frais réduits ou offerts, ancien montant barré. */
.fm-price__fee.is-promo { display: inline-flex; align-items: center; gap: 7px; width: fit-content; max-width: 100%; margin-top: -2px; padding: 6px 12px 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--fm-primary, #E1061B) 13%, transparent); color: inherit; }
.fm-price__fee.is-promo svg { flex: none; color: var(--fm-primary, #E1061B); }
.fm-price.is-highlight .fm-price__fee.is-promo svg { color: currentColor; }
.fm-price__fee.is-promo strong { font-weight: 800; }
.fm-price__fee.is-promo s { margin-left: 4px; opacity: .7; }
/* Cartes à choix (Week-end, Pass 1 mois) : frais d'adhésion centrés sous les choix. */
.fm-price.has-options .fm-price__fee { align-self: center; text-align: center; }
.fm-price.has-options .fm-price__fee.is-promo { justify-content: center; }
.fm-price.has-options .fm-price__options + .fm-price__fee { margin-top: 2px; }
.fm-popt__fee { margin: 0; color: var(--_muted); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.fm-popt__fee.is-promo { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 9px; background: color-mix(in srgb, var(--fm-primary, #E1061B) 13%, transparent); color: inherit; }
.fm-popt__fee.is-promo svg { flex: none; color: var(--fm-primary, #E1061B); }
.fm-price.is-highlight .fm-popt__fee.is-promo svg { color: currentColor; }
.fm-popt__fee.is-promo strong { font-weight: 800; }
.fm-popt__fee.is-promo s { margin-left: 3px; opacity: .7; }
/* Séances et cartes : 2 cartes, pas trop larges sur grand écran. */
.fm-pricing.fm-pricing--sessions { max-width: 1060px; }

/* Coach sans photo : silhouette (femme / homme) sur un fond aux couleurs de la salle. */
.fm-coach__ghost { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; background: radial-gradient(120% 80% at 50% 18%, color-mix(in srgb, var(--fm-primary, #E1061B) 70%, #fff) 0%, var(--fm-primary, #E1061B) 42%, color-mix(in srgb, var(--fm-primary, #E1061B) 45%, #000) 100%); color: #fff; }
.fm-coach__ghost-svg { display: block; width: 78%; height: auto; max-height: 86%; opacity: .26; }
.fm-coach--round .fm-coach__ghost-svg { width: 72%; }
.fm-coach.is-ghost:hover .fm-coach__ghost-svg { opacity: .32; transition: opacity .3s; }

/* « Prendre un coaching » : petit bouton sur la carte (au-dessus de la zone cliquable de la fiche). */
.fm-coach__cta { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 10px; padding: 7px 12px; border-radius: 999px; background: var(--fm-primary, #E1061B); color: var(--fm-on-primary, #fff); font-size: 13px; font-weight: 700; line-height: 1.1; text-decoration: none; pointer-events: auto; box-shadow: 0 6px 16px -8px rgb(0 0 0 / .45); transition: transform .2s, box-shadow .2s; }
.fm-coach__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgb(0 0 0 / .5); color: var(--fm-on-primary, #fff); }
.fm-coach__cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px var(--fm-primary, #E1061B); }
.fm-coach--round .fm-coach__cta { margin-inline: auto; }

/* Fiche au clic : photo ou silhouette à gauche quand il n'y a pas de vidéo, galerie, bouton coaching. */
.fm-cdialog.is-photo .fm-cdialog__media { background: none; }
.fm-cdialog.is-photo .fm-cdialog__media .fm-coach__img { width: 100%; height: 100%; object-fit: cover; }
.fm-cdialog.is-photo .fm-cdialog__media .fm-coach__ghost { min-height: 100%; }
.fm-cdialog__soon { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, currentColor 5%, transparent); color: color-mix(in srgb, currentColor 75%, transparent); line-height: 1.55; }
.fm-cdialog__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 8px; margin-top: 22px; }
.fm-cdialog__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.fm-cdialog__cta { margin: 24px 0 0; }
@media (max-width: 760px) {
	.fm-cdialog.is-photo .fm-cdialog__media { height: 38dvh; }
	.fm-cdialog__cta .fm-btn { width: 100%; justify-content: center; }
}
.fm-cdialog { text-align: left; }
.fm-cdialog.is-photo.is-portrait .fm-cdialog__media { aspect-ratio: 4 / 5; }
.fm-coach__cta { white-space: nowrap; }
@media (max-width: 680px) {
	.fm-coach__cta { gap: 0; padding: 7px 10px; font-size: 12.5px; }
	.fm-coach__cta svg { display: none; }
}

/* Planning : cours collectifs ou HYROX, deux plannings séparés */
.fm-plans-switch { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; padding: 4px; border-radius: calc(var(--fm-btn-radius, 10px) + 4px); background: color-mix(in srgb, currentColor 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 14%, transparent); }
.fm-plans-switch button { min-width: 150px; padding: 10px 18px; border: 0; border-radius: var(--fm-btn-radius, 10px); background: none; color: inherit; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800; }
.fm-plans-switch button.is-active { background: var(--fm-primary, #E1061B); color: var(--fm-on-primary, #fff); }
.fm-hxplan { display: grid; gap: 12px; justify-items: start; }
.fm-hxplan .fm-btn { width: auto; }
@media (max-width: 600px) { .fm-plans-switch { display: grid; width: 100%; } .fm-plans-switch button { min-width: 0; padding: 10px 8px; } }

/* Boutique ------------------------------------------------------------------ */
.fm-shop__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.fm-shop__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.fm-shop__item[hidden] { display: none; }
.fm-shop__card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--fm-radius, 14px); background: var(--fm-surface, #f4f4f2); border: 1px solid var(--fm-border, rgb(0 0 0 / .08)); }
.fm-shop__media { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--fm-primary) 22%, var(--fm-surface, #f4f4f2)), color-mix(in srgb, var(--fm-text, #111) 6%, var(--fm-surface, #f4f4f2))); }
.fm-shop__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-shop__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.fm-shop__shape { width: 62%; height: 62%; fill: color-mix(in srgb, var(--fm-primary) 78%, #000); stroke: none; filter: drop-shadow(0 14px 18px rgb(0 0 0 / .18)); }
.fm-shop__shape .l { fill: color-mix(in srgb, #fff 82%, transparent); }
.fm-shop__shape .z { fill: none; stroke: color-mix(in srgb, #fff 85%, transparent); stroke-width: 1.6; stroke-linecap: round; }
.fm-shop__shape .h { fill: none; stroke: color-mix(in srgb, var(--fm-primary) 78%, #000); stroke-width: 3.2; stroke-linecap: round; }
/* Bientôt disponible : l'article légèrement flouté, une étiquette en diagonale. */
.fm-shop__art { width: 80%; height: 80%; filter: drop-shadow(0 16px 20px rgb(0 0 0 / .2)); }
.fm-shop__card.is-soon .fm-shop__ph, .fm-shop__card.is-soon .fm-shop__media img { filter: blur(4px) saturate(.95); transform: scale(1.03); }
.fm-shop__ribbon { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fm-shop__ribbon span { position: absolute; top: 50%; left: 50%; width: 150%; translate: -50% -50%; rotate: -24deg; padding: 9px 0; text-align: center; background: var(--fm-primary); color: var(--fm-on-primary, #fff); font: 800 13px/1 var(--fm-font-body); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 24px rgb(0 0 0 / .22); }
.fm-shop__badge { position: absolute; top: 12px; left: 12px; }
.fm-shop__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.fm-shop__cat { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fm-primary); }
.fm-shop__name { margin: 0; font-size: 18px; line-height: 1.2; }
.fm-shop__desc { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--fm-muted, #555); }
.fm-shop__price { margin: auto 0 0; padding-top: 8px; font-weight: 800; font-size: 18px; }
.fm-shop__price.is-soon { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fm-muted, #555); }
.fm-shop__note { margin: clamp(20px, 3vw, 32px) 0 0; text-align: center; color: var(--fm-muted, #555); }
@media (max-width: 520px) { .fm-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .fm-shop__body { padding: 12px 12px 14px; } .fm-shop__name { font-size: 15.5px; } .fm-shop__desc { display: none; } .fm-shop__ribbon span { font-size: 10.5px; padding: 7px 0; } }

.fm-shop__note-item { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--fm-muted, #555); }
.fm-shop__cta { margin-top: 10px; align-self: flex-start; }
.fm-shop__card:not(.is-soon) .fm-shop__media { background: radial-gradient(110% 90% at 30% 20%, #ffffff, color-mix(in srgb, var(--fm-text, #111) 10%, var(--fm-surface, #f4f4f2))); }

/* HYROX « à venir » : tarifs et planning annoncés, bouton pour être prévenu. */
.fm-hxsoon { display: grid; justify-items: center; gap: 10px; max-width: 640px; margin-inline: auto; padding: clamp(28px, 5vw, 44px) 22px; border-radius: var(--fm-radius, 14px); border: 1px dashed color-mix(in srgb, currentColor 28%, transparent); background: color-mix(in srgb, currentColor 4%, transparent); text-align: center; }
.fm-hxsoon__tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; background: var(--fm-primary, #E1061B); color: var(--fm-on-primary, #fff); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fm-hxsoon__title { margin: 4px 0 0; font-family: var(--fm-font-heading); font-weight: var(--fm-heading-weight, 800); font-style: var(--fm-heading-style, normal); text-transform: var(--fm-heading-case, none); letter-spacing: var(--fm-heading-track, 0); font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.fm-hxsoon__text { max-width: 46ch; margin: 0; opacity: .82; }
.fm-hxsoon .fm-btn { margin-top: 6px; }

/* Cartes empilées (téléphone, petite tablette) : la carte mise en avant ne remonte plus sur la
   précédente (l'écart reste le même entre toutes les cartes). */
@media (max-width: 781px) { .fm-pricing .fm-price.is-highlight { transform: none; } }
