/* =============================================================================
   FIVE.CLUB - Les trois univers (FiveClub, Serena, MOYB)
   1. Utilitaires (masques de logos, texte masqué)
   2. Sélecteur d'univers du header
   3. Header : mise en page commune, habillages Serena et MOYB
   4. Menu mobile : habillages et cartes des univers
   5. Loader, curseur et rail aux couleurs de l'univers
   6. Pied de page MOYB (celui de Serena vit dans serena.css)
   7. Transition entre univers (assets/js/univers.js)
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. Utilitaires
   -------------------------------------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Logo affiché en masque : sa couleur est celle du fond (currentColor par
   défaut), ce qui permet de le teinter selon la section survolée. */
.fc-umask {
	display: block;
	aspect-ratio: var(--ratio, 1);
	background: currentColor;
	-webkit-mask: var(--src) center / contain no-repeat;
	mask: var(--src) center / contain no-repeat;
}

/* -----------------------------------------------------------------------------
   2. Sélecteur d'univers
   -------------------------------------------------------------------------- */

.fc-header__brand {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.fc-uswitch {
	--sw-ink: var(--fc-dark);
	--sw-pill: rgba(242, 241, 237, 0.55);
	--sw-line: rgba(9, 0, 27, 0.08);
	position: relative;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 4px;
	border-radius: var(--r-pill);
	background: var(--sw-pill);
	border: 1px solid var(--sw-line);
	backdrop-filter: blur(20px) saturate(1.5);
	-webkit-backdrop-filter: blur(20px) saturate(1.5);
	box-shadow: 0 6px 30px rgba(9, 0, 27, 0.07);
	transition: background-color 0.4s, border-color 0.4s;
}

body.fc-head-dark .fc-uswitch {
	--sw-ink: var(--fc-bg);
	--sw-pill: rgba(9, 0, 27, 0.35);
	--sw-line: rgba(242, 241, 237, 0.14);
}

.fc-uswitch__item {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	border-radius: 50%;
	color: var(--sw-ink);
	outline-offset: 2px;
	transition: color 0.3s;
}

/* Les marques n'ont pas la même silhouette : chacune a sa hauteur optique. */
.fc-uswitch__mark { height: 15px; transition: background 0.35s, transform 0.45s var(--ease-out); }
.fc-uswitch__item--serena .fc-uswitch__mark { height: 21px; }
.fc-uswitch__item--moyb .fc-uswitch__mark { height: 14px; }

/* Sans JavaScript : la pastille de l'univers courant est posée sur l'item. */
.fc-uswitch__item.is-current { background: var(--u-bg); }
.fc-uswitch__item.is-current .fc-uswitch__mark { background: var(--u-fill); }

/* Avec JavaScript : un « portail » glisse sous l'univers survolé et prend sa
   couleur ; la marque survolée se colore dans sa propre identité. */
.fc-uswitch__glider {
	position: absolute;
	top: 4px; left: 0;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--glider-bg, var(--fc-dark));
	box-shadow: 0 0 0 1px rgba(150, 140, 130, 0.45), 0 6px 16px rgba(9, 0, 27, 0.18);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.5s var(--ease-out), background-color 0.4s, opacity 0.3s;
}
.fc-uswitch.is-ready .fc-uswitch__glider { opacity: 1; }
.fc-uswitch.is-ready .fc-uswitch__item.is-current { background: transparent; }
.fc-uswitch.is-ready .fc-uswitch__item.is-current .fc-uswitch__mark { background: var(--sw-ink); }
.fc-uswitch.is-ready .fc-uswitch__item.is-lit .fc-uswitch__mark { background: var(--u-fill); }
.fc-uswitch__item:hover .fc-uswitch__mark,
.fc-uswitch__item:focus-visible .fc-uswitch__mark { transform: scale(1.08); }

/* Carte d'aperçu : le logo de l'univers sur son propre fond */
.fc-uswitch__tip {
	--u-text: rgba(242, 241, 237, 0.62);
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	display: grid;
	justify-items: center;
	gap: 7px;
	padding: 14px 18px 11px;
	border-radius: 16px;
	background: var(--u-bg);
	box-shadow: 0 18px 40px -12px rgba(9, 0, 27, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, -6px) scale(0.96);
	transform-origin: top center;
	pointer-events: none;
	transition: opacity 0.28s, transform 0.4s var(--ease-out);
}
.fc-uswitch__tip::before {
	content: "";
	position: absolute;
	top: -5px; left: 50%;
	width: 10px; height: 10px;
	background: var(--u-bg);
	transform: translateX(-50%) rotate(45deg);
	border-radius: 2px;
}
.fc-uswitch__item--serena .fc-uswitch__tip { --u-text: #8A6A51; }
.fc-uswitch__item--moyb .fc-uswitch__tip { --u-text: #B9B2A6; }

.fc-uswitch__word { height: 15px; background: var(--u-fill); }
.fc-uswitch__item--serena .fc-uswitch__word { height: 13px; }
.fc-uswitch__tip small {
	font-family: var(--font-body);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--u-text);
}

/* Au survol (souris) ou au clavier : jamais au doigt, où l'état :hover
   resterait collé après le toucher. */
.fc-uswitch__item:focus-visible .fc-uswitch__tip {
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
}
@media (hover: hover) {
	.fc-uswitch__item:hover .fc-uswitch__tip {
		opacity: 1;
		transform: translate(-50%, 0) scale(1);
	}
}

/* -----------------------------------------------------------------------------
   3. Header : mise en page commune
   -------------------------------------------------------------------------- */

/* La place du sélecteur : le bouton Application passe en pastille ronde
   dès que la largeur se resserre (son libellé reste lu par les lecteurs
   d'écran via aria-label). */
@media (max-width: 1440px) {
	.fc-header__app { padding: 0; width: 50px; height: 50px; justify-content: center; }
	.fc-header__app .fc-btn__txt { display: none; }
}

/* Sous 1100 px (1200 px pour les 7 entrées de FiveClub), la nav passe dans
   le menu : avec le sélecteur, elle ne tiendrait plus sur une ligne. */
.fc-nav__link { white-space: nowrap; }
@media (max-width: 1199px) {
	.fc-u-fiveclub .fc-nav { display: none; }
	.fc-u-fiveclub .fc-burger { display: block; }
}
@media (max-width: 1099px) {
	.fc-nav { display: none; }
	.fc-burger { display: block; }
}

@media (max-width: 1023px) {
	.fc-header__brand { gap: 10px; }
}

@media (max-width: 420px) {
	.fc-header__brand { gap: 8px; }
	.fc-uswitch { padding: 3px; }
	.fc-uswitch__item, .fc-uswitch__glider { width: 32px; height: 32px; }
	.fc-uswitch__glider { top: 3px; }
	.fc-header__logo-img { height: 21px; }
}

/* Le menu mobile ouvert garde le sélecteur visible au-dessus de lui. */
body.menu-open .fc-uswitch { --sw-ink: var(--fc-bg); --sw-pill: rgba(242, 241, 237, 0.08); --sw-line: rgba(242, 241, 237, 0.14); }

/* Logos en masque (Serena, MOYB) */
.fc-header__logo--mask { color: var(--hd-logo, var(--fc-dark)); transition: color 0.4s; }
body.fc-head-dark .fc-header__logo--mask,
body.menu-open .fc-header__logo--mask { color: var(--hd-logo-dark, var(--fc-bg)); }
.fc-header__umark { height: 30px; }

/* ---- Habillage Serena ------------------------------------------------------ */

.fc-u-serena {
	--hd-logo: #8A6A51;
	--hd-logo-dark: #F5F1E6;
}
.fc-u-serena .fc-header__umark { height: 31px; }

.fc-u-serena .fc-uswitch { --sw-ink: #69533E; --sw-pill: rgba(245, 241, 230, 0.72); --sw-line: rgba(138, 106, 81, 0.18); box-shadow: 0 10px 30px -14px rgba(105, 83, 62, 0.35); }
body.fc-u-serena.fc-head-dark .fc-uswitch,
body.fc-u-serena.menu-open .fc-uswitch { --sw-ink: #F5F1E6; --sw-pill: rgba(105, 83, 62, 0.4); --sw-line: rgba(245, 241, 230, 0.16); }

.fc-u-serena .fc-nav__pill-track {
	background: rgba(245, 241, 230, 0.72);
	border-color: rgba(138, 106, 81, 0.18);
	box-shadow: 0 10px 30px -14px rgba(105, 83, 62, 0.35);
}
body.fc-u-serena.fc-head-dark .fc-nav__pill-track { background: rgba(105, 83, 62, 0.4); border-color: rgba(245, 241, 230, 0.16); }
.fc-u-serena .fc-nav__link {
	padding: 11px 18px 9px;
	white-space: nowrap;
	font-family: "Josefin Sans", var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #69533E;
}
body.fc-u-serena.fc-head-dark .fc-nav__link { color: #F5F1E6; }
.fc-u-serena .fc-nav__blob { background: #69533E; }
body.fc-u-serena.fc-head-dark .fc-nav__blob { background: #F5F1E6; }
.fc-u-serena .fc-nav__link.is-blob-on { color: #F5F1E6; }
body.fc-u-serena.fc-head-dark .fc-nav__link.is-blob-on { color: #69533E; }
.fc-u-serena .fc-nav__link.is-active:not(.is-blob-on) { background: rgba(227, 184, 111, 0.22); color: #69533E; }
body.fc-u-serena.fc-head-dark .fc-nav__link.is-active:not(.is-blob-on) { background: rgba(245, 241, 230, 0.16); color: #F5F1E6; }

.fc-header__cta--serena {
	padding: 16px 26px 14px;
	background: #69533E;
	color: #F5F1E6;
	font-family: "Josefin Sans", var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.fc-header__cta--serena:hover { background: #8A6A51; box-shadow: 0 16px 36px -16px rgba(105, 83, 62, 0.7); }
.fc-header__cta--serena .fc-btn__arrow { font-size: 1rem; letter-spacing: 0; }
.fc-header__cta--serena:hover .fc-btn__arrow { transform: translate(3px, -3px); }
body.fc-u-serena.fc-head-dark .fc-header__cta--serena { background: #F5F1E6; color: #69533E; }

/* Deux actions : la séance d'essai (pleine) devant l'achat d'un pack (contour) */
.fc-cta-short { display: none; }
.fc-header__cta--ghost,
body.fc-u-serena.fc-head-dark .fc-header__cta--ghost { background: transparent; color: #69533E; box-shadow: inset 0 0 0 1.5px rgba(138, 106, 81, 0.45); }
.fc-header__cta--ghost:hover { background: rgba(233, 220, 203, 0.7); box-shadow: inset 0 0 0 1.5px #8A6A51; }
body.fc-u-serena.fc-head-dark .fc-header__cta--ghost { color: #F5F1E6; box-shadow: inset 0 0 0 1.5px rgba(245, 241, 230, 0.45); }
@media (max-width: 1599px) {
	.fc-header__cta--serena .fc-cta-long { display: none; }
	.fc-header__cta--serena .fc-cta-short { display: inline; }
}
@media (max-width: 1180px) {
	.fc-header__cta--ghost { display: none; }
}

.fc-u-serena .fc-burger { background: #69533E; }
.fc-u-serena .fc-burger span { background: #F5F1E6; }

/* ---- Habillage MOYB -------------------------------------------------------- */

.fc-u-moyb {
	--hd-logo: #0A0908;
	--hd-logo-dark: #F1ECE3;
}
.fc-u-moyb .fc-header__umark { height: 22px; }

.fc-u-moyb .fc-uswitch { --sw-ink: #0A0908; --sw-pill: rgba(241, 236, 227, 0.7); --sw-line: rgba(10, 9, 8, 0.1); }
body.fc-u-moyb.fc-head-dark .fc-uswitch,
body.fc-u-moyb.menu-open .fc-uswitch { --sw-ink: #F1ECE3; --sw-pill: rgba(10, 9, 8, 0.45); --sw-line: rgba(241, 236, 227, 0.16); }

.fc-u-moyb .fc-nav__pill-track { background: rgba(241, 236, 227, 0.7); border-color: rgba(10, 9, 8, 0.1); }
body.fc-u-moyb.fc-head-dark .fc-nav__pill-track { background: rgba(10, 9, 8, 0.45); border-color: rgba(241, 236, 227, 0.16); }
.fc-u-moyb .fc-nav__link {
	padding: 11px 20px 9px;
	white-space: nowrap;
	font-family: "League Spartan", var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #0A0908;
}
body.fc-u-moyb.fc-head-dark .fc-nav__link { color: #F1ECE3; }
.fc-u-moyb .fc-nav__blob { background: #0A0908; }
body.fc-u-moyb.fc-head-dark .fc-nav__blob { background: #F1ECE3; }
.fc-u-moyb .fc-nav__link.is-blob-on { color: #F1ECE3; }
body.fc-u-moyb.fc-head-dark .fc-nav__link.is-blob-on { color: #0A0908; }

.fc-header__cta--moyb {
	padding: 16px 26px 14px;
	background: #0A0908;
	color: #F1ECE3;
	font-family: "League Spartan", var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.fc-header__cta--moyb:hover { background: #2A2622; }
.fc-header__cta--moyb:hover .fc-btn__arrow { transform: translateY(3px); }
body.fc-u-moyb.fc-head-dark .fc-header__cta--moyb { background: #F1ECE3; color: #0A0908; }

.fc-u-moyb .fc-burger { background: #0A0908; }
.fc-u-moyb .fc-burger span { background: #F1ECE3; }
body.fc-u-moyb.fc-head-dark .fc-burger { background: #F1ECE3; }
body.fc-u-moyb.fc-head-dark .fc-burger span { background: #0A0908; }

@media (max-width: 1280px) {
	.fc-u-serena .fc-nav__link,
	.fc-u-moyb .fc-nav__link { padding: 10px 12px 8px; font-size: 0.72rem; letter-spacing: 0.12em; }
	.fc-header__cta--serena,
	.fc-header__cta--moyb { padding: 15px 20px 13px; font-size: 0.74rem; }
}

@media (max-width: 640px) {
	.fc-header__cta--serena,
	.fc-header__cta--moyb { display: none; }
}

/* -----------------------------------------------------------------------------
   4. Menu mobile
   -------------------------------------------------------------------------- */

.fc-menu-univers {
	position: relative;
	margin-top: 34px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s var(--ease-out) 0.25s, transform 0.6s var(--ease-out) 0.25s;
}
body.menu-open .fc-menu-univers { opacity: 1; transform: none; }

.fc-menu-univers__title {
	margin-bottom: 12px;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--mu-title, var(--fc-lilac));
}

.fc-menu-univers__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	max-width: 520px;
}

.fc-menu-univers__item {
	--u-text: rgba(242, 241, 237, 0.6);
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 8px;
	min-height: 78px;
	padding: 14px 10px 11px;
	border-radius: 18px;
	background: var(--u-bg);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	transition: transform 0.35s var(--ease-out);
}
.fc-menu-univers__item:active { transform: scale(0.97); }
.fc-menu-univers__item.is-current { box-shadow: inset 0 0 0 2px var(--fc-lime); }
.fc-menu-univers__item--serena { --u-text: #8A6A51; }
.fc-menu-univers__item--moyb { --u-text: #B9B2A6; }
.fc-u-serena .fc-menu-univers__item.is-current { box-shadow: inset 0 0 0 2px #E3B86F; }
.fc-u-moyb .fc-menu-univers__item.is-current { box-shadow: inset 0 0 0 2px #F1ECE3; }

.fc-menu-univers__word { width: min(86%, 92px); background: var(--u-fill); }
.fc-menu-univers__item small {
	font-size: 0.56rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--u-text);
}

/* ---- Habillage Serena ------------------------------------------------------ */
.fc-u-serena .fc-menu-overlay__bg { background: rgba(105, 83, 62, 0.95); }
.fc-u-serena .fc-menu-overlay__link {
	font-family: "Libre Caslon Display", Georgia, serif;
	font-stretch: normal;
	font-weight: 400;
	font-size: clamp(2rem, 8vw, 2.8rem);
	line-height: 1.12;
	text-transform: none;
	color: #F5F1E6;
}
.fc-u-serena .fc-menu-overlay__num { font-family: "Josefin Sans", var(--font-body); color: #C3AA8C; }
.fc-u-serena .fc-menu-overlay__link--app {
	font-family: "Josefin Sans", var(--font-body);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	background: #F5F1E6;
	border-color: #F5F1E6;
	color: #69533E;
}
.fc-u-serena .fc-menu-overlay__link--app .fc-menu-overlay__num { background: #E3B86F; color: #69533E; }
.fc-u-serena .fc-menu-overlay__link--ghost { margin-top: 10px; background: transparent; border-color: rgba(245, 241, 230, 0.5); color: #F5F1E6; }
.fc-u-serena .fc-menu-overlay__link--ghost .fc-menu-overlay__num { background: rgba(245, 241, 230, 0.14); color: #F5F1E6; }
.fc-u-serena .fc-menu-overlay__foot { color: #D9C8B2; font-family: "Josefin Sans", var(--font-body); }
.fc-u-serena { --mu-title: #D9C8B2; }

/* ---- Habillage MOYB -------------------------------------------------------- */
.fc-u-moyb .fc-menu-overlay__bg { background: rgba(10, 9, 8, 0.95); }
.fc-u-moyb .fc-menu-overlay__link {
	font-family: "League Spartan", var(--font-display);
	font-stretch: normal;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #F1ECE3;
}
.fc-u-moyb .fc-menu-overlay__num { color: #737373; }
.fc-u-moyb .fc-menu-overlay__foot { color: #B9B2A6; }
.fc-u-moyb { --mu-title: #B9B2A6; }

/* -----------------------------------------------------------------------------
   5. Loader, curseur, rail
   -------------------------------------------------------------------------- */

.fc-loader__mark.fc-umask { width: auto; height: 64px; }

.fc-js-early .fc-u-serena .fc-loader,
.fc-u-serena .fc-loader { background: #F5F1E6; }
.fc-umask--loader-serena { color: #8A6A51; height: 92px !important; }
.fc-u-serena .fc-loader__bar { background: rgba(138, 106, 81, 0.18); }
.fc-u-serena .fc-loader__bar-fill { background: #8A6A51; }
.fc-u-serena .fc-loader__veil--1 { background: #C3AA8C; }
.fc-u-serena .fc-loader__veil--2 { background: rgba(245, 241, 230, 0.35); }

.fc-js-early .fc-u-moyb .fc-loader,
.fc-u-moyb .fc-loader { background: #0A0908; }
.fc-umask--loader-moyb { color: #F1ECE3; height: 56px !important; }
.fc-u-moyb .fc-loader__bar { background: rgba(241, 236, 227, 0.16); }
.fc-u-moyb .fc-loader__bar-fill { background: #F1ECE3; }
.fc-u-moyb .fc-loader__veil--1 { background: #F1ECE3; }
.fc-u-moyb .fc-loader__veil--2 { background: rgba(255, 255, 255, 0.1); }

/* Curseur */
.fc-u-serena .fc-cursor__dot { background: #8A6A51; }
.fc-u-serena .fc-cursor__ring { border-color: rgba(138, 106, 81, 0.5); }
.fc-u-serena .fc-cursor.is-hover .fc-cursor__ring { background: rgba(227, 184, 111, 0.2); border-color: #E3B86F; }
.fc-u-serena .fc-cursor.is-label .fc-cursor__ring { background: #E3B86F; border-color: #E3B86F; }
.fc-u-serena .fc-cursor__label { color: #69533E; font-family: "Josefin Sans", var(--font-body); }

.fc-u-moyb .fc-cursor { mix-blend-mode: difference; }
.fc-u-moyb .fc-cursor__dot { background: #FFFFFF; }
.fc-u-moyb .fc-cursor__ring { border-color: rgba(255, 255, 255, 0.7); }
.fc-u-moyb .fc-cursor.is-hover .fc-cursor__ring { background: rgba(255, 255, 255, 0.14); border-color: #FFFFFF; }

/* Rail */
.fc-u-serena .fc-rail__line-fill,
.fc-u-serena .fc-rail__dot.is-active { background: #8A6A51; }
.fc-u-serena .fc-rail__dot::after { background: #69533E; color: #F5F1E6; font-family: "Josefin Sans", var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; }
.fc-u-serena .fc-rail__scroll-word,
.fc-u-serena .fc-rail__socials a { color: #C3AA8C; font-family: "Josefin Sans", var(--font-body); }
body.fc-u-serena.fc-rail-dark .fc-rail__dot.is-active { background: #E3B86F; }
body.fc-u-serena.fc-rail-dark .fc-rail__dot::after { background: #F5F1E6; color: #69533E; }

.fc-u-moyb .fc-rail__line-fill,
.fc-u-moyb .fc-rail__dot.is-active { background: #0A0908; }
.fc-u-moyb .fc-rail__dot::after { background: #0A0908; color: #F1ECE3; }
body.fc-u-moyb.fc-rail-dark .fc-rail__line-fill,
body.fc-u-moyb.fc-rail-dark .fc-rail__dot.is-active { background: #F1ECE3; }
body.fc-u-moyb.fc-rail-dark .fc-rail__dot::after { background: #F1ECE3; color: #0A0908; }

/* -----------------------------------------------------------------------------
   6. Pied de page MOYB
   -------------------------------------------------------------------------- */

.fc-mfoot {
	position: relative;
	padding: clamp(72px, 9vw, 120px) var(--gutter) 34px;
	background: #0A0908;
	color: #F1ECE3;
	font-family: "League Spartan", var(--font-body);
}
.fc-mfoot__inner { max-width: 1320px; margin-inline: auto; }
.fc-mfoot__top { display: grid; justify-items: start; gap: 18px; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid rgba(241, 236, 227, 0.14); }
.fc-mfoot__logo { width: min(100%, 720px); color: #F1ECE3; }
.fc-mfoot__tag { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.4rem, 3vw, 2.2rem); color: #B9B2A6; }
.fc-mfoot__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 44px; }
.fc-mfoot__col { display: grid; align-content: start; gap: 10px; }
.fc-mfoot__col h3 { margin-bottom: 6px; font-family: "League Spartan", var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #737373; }
.fc-mfoot__col p, .fc-mfoot__col a { font-size: 1rem; color: #F1ECE3; }
.fc-mfoot__col a { justify-self: start; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease-out); }
.fc-mfoot__col a:hover { background-size: 100% 1px; }
.fc-mfoot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 24px; border-top: 1px solid rgba(241, 236, 227, 0.14); font-size: 0.8rem; color: #737373; }
.fc-mfoot__bottom a { color: #B9B2A6; }
.fc-mfoot__bottom a:hover { color: #F1ECE3; }
.fc-mfoot__legal { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 760px) {
	.fc-mfoot__row { grid-template-columns: 1fr; gap: 26px; }
}

/* -----------------------------------------------------------------------------
   7. Transition entre univers
   -------------------------------------------------------------------------- */

/* Couverture d'arrivée : posée dès le premier rendu par le script du <head>,
   identique à l'image de fin de la page précédente (fond + logo). */
html.fc-ux-arrive:not(.fc-ux-live)::before,
html.fc-ux-arrive:not(.fc-ux-live)::after {
	content: "";
	position: fixed;
	pointer-events: none;
	animation: fc-ux-failsafe 0.6s ease 6s forwards;
}
html.fc-ux-arrive:not(.fc-ux-live)::before {
	inset: 0;
	z-index: 2147483646;
	background: var(--fc-ux-bg);
}
html.fc-ux-arrive:not(.fc-ux-live)::after {
	/* 50vw et non 50 % : même centre avec ou sans barre de défilement,
	   sur la page de départ comme sur celle d'arrivée. */
	left: 50vw; top: 50%;
	z-index: 2147483647;
	width: var(--fc-ux-logo-w);
	aspect-ratio: var(--fc-ux-logo-r);
	transform: translate(-50%, -50%);
	background: var(--fc-ux-fill);
	-webkit-mask: var(--fc-ux-logo) center / contain no-repeat;
	mask: var(--fc-ux-logo) center / contain no-repeat;
}
html.fc-ux-arrive.fc-ux-soft:not(.fc-ux-live)::after { display: none; }

/* Garde-fou : si le script ne prend jamais le relais, la page se découvre. */
@keyframes fc-ux-failsafe { to { opacity: 0; visibility: hidden; } }

/* Pendant l'arrivée : pas de loader, et les éléments « à révéler » sont
   montrés dans leur état final (la capture qui sert à l'assemblage doit voir
   la page achevée). Leurs animations tournent quand même en dessous et sont
   terminées quand la page se découvre. */
html.fc-ux-arrive .fc-loader,
html.fc-ux-arrive .fc-app-loader { display: none !important; }
html.fc-ux-arrive [data-reveal],
html.fc-ux-arrive [data-icon-pop] { opacity: 1 !important; transform: none !important; }
html.fc-ux-arrive [data-split-lines] .fc-line-inner { transform: none !important; }

/* Calque de la transition */
.fc-ux {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	overflow: hidden;
	pointer-events: auto;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
}
.fc-ux__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fc-ux__veil {
	position: absolute;
	inset: 0;
	background: var(--fc-ux-bg);
	opacity: 0;
}
.fc-ux__logo {
	position: fixed;
	left: 50vw; top: 50%;
	width: var(--fc-ux-logo-w);
	aspect-ratio: var(--fc-ux-logo-r);
	transform: translate(-50%, -50%);
	background: var(--fc-ux-fill);
	-webkit-mask: var(--fc-ux-logo) center / contain no-repeat;
	mask: var(--fc-ux-logo) center / contain no-repeat;
	opacity: 0;
	pointer-events: none;
}
.fc-ux__skip {
	position: absolute;
	left: 50%;
	bottom: max(26px, env(safe-area-inset-bottom));
	padding: 9px 16px;
	border-radius: var(--r-pill);
	background: rgba(127, 127, 127, 0.16);
	color: var(--fc-ux-ink, #fff);
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity 0.4s;
	cursor: pointer;
}
.fc-ux.is-skippable .fc-ux__skip { opacity: 0.75; }
.fc-ux__skip:hover, .fc-ux__skip:focus-visible { opacity: 1 !important; }

/* Pendant une transition : le site ne réagit plus (ni curseur ni bulle). */
html.fc-ux-busy .fc-cursor,
html.fc-ux-busy .fc-chatbot,
html.fc-ux-busy #fc-chatbot { opacity: 0 !important; transition: opacity 0.2s; }
html.fc-ux-hide-page body > :not(.fc-ux):not(script) { visibility: hidden !important; }
