/* =========================================================================
   myGoods Réplique
   Chargée après assets/css/main.css du parent. Tout est rangé sous .mgr
   (classe posée par header.php) : les pages autonomes du prélancement, qui
   n'appellent pas get_header(), ne sont pas touchées.

   ⚠️ --font-display n'est JAMAIS redéfinie : l'aperçu de l'éditeur
   (.creator__text) s'en sert pour montrer la police de la presse. La changer
   ferait mentir l'aperçu sur l'impression.
   ========================================================================= */

/* Trois voix, trois polices :
   - Archivo large (wdth 125, graisse 800) : la voix de l'usine. Les titres,
     en capitales, comme le marquage au pochoir sur une caisse d'expédition.
   - Anton (--font-display, déjà chargée par le parent) : la voix du t-shirt.
     Les répliques affichées sont dans la police de la presse.
   - Martian Mono : l'étiquette. Numéros, prix, petites mentions. */
@font-face {
	font-family: 'MGR Archivo';
	src: url('../fonts/archivo.woff2') format('woff2-variations'), url('../fonts/archivo.woff2') format('woff2');
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'MGR Archivo';
	src: url('../fonts/archivo-italic.woff2') format('woff2-variations'), url('../fonts/archivo-italic.woff2') format('woff2');
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'MGR Martian Mono';
	src: url('../fonts/martian-mono.woff2') format('woff2-variations'), url('../fonts/martian-mono.woff2') format('woff2');
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
	/* Ses capitales sont hautes : ramenées à la taille d'une étiquette. */
	size-adjust: 86%;
}

/* ---------- Jetons ------------------------------------------------------- */

.mgr {
	/* Palette du thème myGoods d'origine (encre, papier, acide, chaleur). */
	--c-ink: #0b0b0c;
	--c-ink-2: #17171a;
	--c-ink-3: #232327;
	--c-paper: #f7f6f1;
	--c-paper-2: #efece2;
	--c-white: #fcfbf7;
	--c-brand: #ff4a26;
	--c-brand-dark: #d9381a;
	--c-brand-soft: #d8ff3d;
	--c-acid: #d8ff3d;
	--c-muted: #6b6b70;
	--c-line: rgba(11, 11, 12, 0.12);
	--c-line-light: rgba(247, 246, 241, 0.16);
	--c-on-dark: #f7f6f1;
	--c-on-dark-muted: rgba(247, 246, 241, 0.62);

	--disp: 'MGR Archivo', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
	--sans: 'MGR Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--mono: 'MGR Martian Mono', ui-monospace, Menlo, Consolas, monospace;
	/* La police de la presse, celle du parent. Lue, jamais redéfinie. */
	--print: var(--font-display);

	--ease: cubic-bezier(0.12, 0.23, 0.17, 0.99);
	--ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
	--r: 20px;
	--shell: min(100% - 40px, 1440px);
	--header-h: 84px;

	/* Jetons du parent, rhabillés (couleurs et coins seulement). */
	--ink: var(--c-ink);
	--ink-soft: var(--c-ink-2);
	--paper: var(--c-paper);
	--paper-warm: var(--c-paper-2);
	--acid: var(--c-brand-soft);
	--heat: var(--c-brand);
	--line: var(--c-line);
	--muted: var(--c-muted);
	--font-body: var(--sans);
	--radius: 14px;

	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--sans);
}

.mgr ::selection {
	background: var(--c-brand);
	color: var(--c-white);
}

html.is-locked,
html.is-locked body {
	overflow: hidden;
}

.mgr .t-shell {
	width: var(--shell);
	margin-inline: auto;
}

.mgr .t-main {
	display: block;
	overflow-x: clip;
}

/* Grain de pellicule sur tout le site, à peine visible. */
.mgr .t-grain {
	position: fixed;
	inset: 0;
	z-index: 200;
	pointer-events: none;
	opacity: 0.05;
	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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hors de l'écran, les boucles s'arrêtent : le processeur ne travaille que
   pour ce qu'on voit. replique.js pose .is-off sur les [data-anim] cachés. */
.mgr .is-off,
.mgr .is-off * { animation-play-state: paused !important; }

/* ---------- Typographie -------------------------------------------------- */

.mgr h1,
.mgr h2,
.mgr h3,
.mgr h4 {
	font-family: var(--disp);
	font-weight: 800;
	font-stretch: 125%;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 0.92;
	text-wrap: balance;
}

/* L'accent d'un titre : même graisse, penchée, à l'encre de couleur. */
.mgr em { font-style: italic; }

.mgr .t-nobr { white-space: nowrap; }

.mgr .t-kicker {
	margin: 0 0 1rem;
	font-family: var(--mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-brand);
}

.mgr .t-kicker--light { color: var(--c-brand-soft); }

.mgr .t-h2 {
	margin: 0;
	font-size: clamp(2rem, 4.6vw, 4.4rem);
	line-height: 0.92;
	letter-spacing: -0.015em;
}

.mgr .t-h2 em { color: var(--c-brand); }
.mgr .t-h2--light { color: var(--c-on-dark); }
.mgr .t-h2--light em { color: var(--c-brand-soft); }

.mgr .t-head {
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.mgr .t-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 4rem;
}

.mgr .t-head--center { text-align: center; }

.mgr .t-head__note {
	max-width: 30rem;
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--c-muted);
}

.mgr .t-head__note--light { color: var(--c-on-dark-muted); }

.mgr .t-lead {
	font-family: var(--sans);
	font-size: clamp(1.2rem, 1.9vw, 1.55rem);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

/* ---------- Boutons ------------------------------------------------------ */

.mgr .t-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 52px;
	padding: 0 1.6rem;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-family: var(--sans);
	font-size: 0.8rem;
	font-weight: 700;
	font-stretch: 112%;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

/* Le fond monte du bas au survol. */
.mgr .t-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--c-ink);
	transform: translateY(101%);
	transition: transform 0.45s var(--ease);
	border-radius: inherit;
}

.mgr .t-btn:hover::before,
.mgr .t-btn:focus-visible::before { transform: translateY(0); }
.mgr .t-btn:hover,
.mgr .t-btn:focus-visible { color: var(--c-white); border-color: var(--c-ink); }

.mgr .t-btn:active,
.mgr .t-dock__item:active,
.mgr .t-swatch:active,
.mgr .t-chev:active {
	transform: scale(0.96);
	transition-duration: 90ms;
}

.mgr .t-btn--brand {
	background: var(--c-acid);
	border-color: var(--c-ink);
	color: var(--c-ink);
}

.mgr .t-btn--brand:hover,
.mgr .t-btn--brand:focus-visible { color: var(--c-acid); }

.mgr .t-hero .t-btn--brand,
.mgr .t-closing .t-btn--brand,
.mgr .t-atelier .t-btn--brand { border-color: var(--c-acid); }

.mgr .t-btn--ghost {
	color: var(--c-on-dark);
	border-color: var(--c-line-light);
}

.mgr .t-btn--ghost::before { background: var(--c-on-dark); }
.mgr .t-btn--ghost:hover,
.mgr .t-btn--ghost:focus-visible { color: var(--c-ink); border-color: var(--c-on-dark); }

.mgr .t-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	color: inherit;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px;
	padding-bottom: 3px;
	transition: background-size 0.45s var(--ease);
}

.mgr .t-link:hover { background-size: 100% 1.5px; }
.mgr .t-link .t-icon { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.mgr .t-link:hover .t-icon { transform: translateX(4px); }

.mgr .t-icon {
	width: 22px;
	height: 22px;
	flex: none;
}

/* Boutons de WooCommerce, mêmes gestes. */
.mgr .woocommerce a.button,
.mgr .woocommerce button.button,
.mgr .woocommerce input.button,
.mgr button.single_add_to_cart_button,
.mgr .wp-block-button__link,
.mgr .btn {
	border-radius: 999px;
	font-family: var(--sans);
	letter-spacing: 0.1em;
	min-height: 50px;
	transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.mgr .woocommerce button.button.alt,
.mgr .woocommerce a.button.alt,
.mgr button.single_add_to_cart_button {
	background: var(--c-acid);
	border: 1.5px solid var(--c-ink);
	color: var(--c-ink);
}

.mgr .woocommerce a.button:hover,
.mgr .woocommerce button.button:hover,
.mgr .btn:hover {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-white);
	transform: translateY(-2px);
}

.mgr .woocommerce button.button.alt:hover,
.mgr button.single_add_to_cart_button:hover {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-acid);
	transform: translateY(-2px);
}

.mgr .woocommerce a.button:active,
.mgr .woocommerce button.button:active,
.mgr button.single_add_to_cart_button:active { transform: scale(0.97); transition-duration: 90ms; }

.mgr button.is-busy { opacity: 0.6; pointer-events: none; }

/* ---------- En-tête ------------------------------------------------------ */

.mgr .t-header {
	--seal: 74px;
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
	color: var(--c-on-dark);
	transition: color 0.2s linear;
}

.admin-bar.mgr .t-header { top: 32px; }

@media (max-width: 782px) {
	.admin-bar.mgr .t-header { top: 46px; }
}

.mgr .t-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(247, 246, 241, 0.94);
	box-shadow: 0 10px 40px -18px rgba(11, 11, 12, 0.35);
	opacity: 0;
	transition: opacity 0.38s var(--ease);
}

.mgr .t-header.is-scrolled {
	--seal: 52px;
	color: var(--c-ink);
}

.mgr .t-header.is-scrolled::before {
	opacity: 1;
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.mgr .t-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
	width: var(--shell);
	min-height: var(--header-h);
	margin-inline: auto;
	transition: min-height 0.42s var(--ease);
}

.mgr .t-header.is-scrolled .t-header__inner { min-height: 64px; }

.mgr .t-header__brand {
	display: block;
	width: var(--seal);
	height: var(--seal);
	color: inherit;
	transition: width 0.42s var(--ease), height 0.42s var(--ease);
}

.mgr .t-seal {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.mgr .t-seal__disc { fill: var(--c-ink); }
.mgr .t-seal__line { fill: none; stroke: var(--c-brand-soft); stroke-width: 0.8; opacity: 0.5; }
.mgr .t-seal__text {
	fill: var(--c-paper);
	font-family: var(--mono);
	font-size: 8.6px;
	font-weight: 500;
	letter-spacing: 0.08em;
}
.mgr .t-seal__ring {
	transform-origin: 60px 60px;
	animation: t-spin 28s linear infinite;
}
.mgr .t-seal__mono {
	fill: var(--c-paper);
	font-family: var(--disp);
	font-size: 31px;
	font-weight: 900;
	font-stretch: 125%;
	letter-spacing: -0.03em;
}
.mgr .t-seal__mono tspan { fill: var(--c-brand-soft); }

.mgr .t-header__brand:hover .t-seal__ring { animation-duration: 6s; }

@keyframes t-spin {
	to { transform: rotate(360deg); }
}

.mgr .t-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.mgr .t-nav ul {
	display: flex;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mgr .t-nav li { position: relative; }

.mgr .t-nav a,
.mgr .t-tools a {
	position: relative;
	color: inherit;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

/* Le trait sous le lien se déroule de gauche à droite. */
.mgr .t-nav a::after,
.mgr .t-tools > a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1.5px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.28s var(--ease);
}

.mgr .t-nav a:hover::after,
.mgr .t-tools > a:hover::after,
.mgr .t-nav .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.mgr .t-nav .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: -1rem;
	display: grid;
	gap: 0.6rem;
	min-width: 200px;
	padding: 1rem;
	border-radius: 14px;
	background: var(--c-white);
	color: var(--c-ink);
	box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.mgr .t-nav li:hover > .sub-menu,
.mgr .t-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mgr .t-nav__create { display: none; }

.mgr .t-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.4rem;
}

.mgr .t-tools .account-link {
	color: inherit;
	font-size: 0.92rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.mgr .t-tools .lang-switch,
.mgr .t-tools .lang-switch a {
	color: inherit;
	font-family: var(--mono);
	font-size: 0.74rem;
	letter-spacing: 0.08em;
}

.mgr .t-tools .lang-switch .trp-ls-shortcode-current-language a,
.mgr .t-tools .lang-switch a:hover { color: var(--c-brand); }

/* Sélecteur de langue de TranslatePress : ses couleurs arrivent en style en
   ligne (fond noir carré). On les rhabille en pastille. */
.mgr .t-tools .trp-shortcode-switcher__wrapper {
	--bg: rgba(11, 11, 12, 0.88) !important;
	--bg-hover: var(--c-brand) !important;
	--text: var(--c-paper) !important;
	--text-hover: #fff !important;
	--border: 1px solid rgba(247, 246, 241, 0.22) !important;
	--border-color: rgba(247, 246, 241, 0.22) !important;
	--border-radius: 999px !important;
	--font-size: 12px !important;
}

.mgr .t-tools .trp-flag-image {
	display: block !important;
	width: 18px !important;
	height: 13.5px !important;
	max-width: none !important;
	border-radius: 2px !important;
}

/* Le tiroir du thème remplace le bouton flottant de WPC Fly Cart : deux
   paniers à l'écran, c'est un de trop. */
.mgr #woofc-count { display: none !important; }

.mgr .t-tools .cart-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.mgr .t-tools .cart-link:hover {
	background: var(--c-brand);
	border-color: var(--c-brand);
	color: var(--c-white);
}

.mgr .cart-link__count {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	height: 26px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--c-brand);
	color: var(--c-white);
	font-size: 0.75rem;
	font-weight: 700;
	animation: t-pop 0.5s var(--ease);
}

@keyframes t-pop {
	0% { transform: scale(0.4); }
	60% { transform: scale(1.18); }
	100% { transform: scale(1); }
}

.mgr .t-burger {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.mgr .t-burger__bars,
.mgr .t-burger__bars::before,
.mgr .t-burger__bars::after {
	display: block;
	width: 22px;
	height: 1.5px;
	margin-inline: auto;
	background: currentColor;
	transition: transform 0.4s var(--ease), opacity 0.2s;
}

.mgr .t-burger__bars { position: relative; }
.mgr .t-burger__bars::before,
.mgr .t-burger__bars::after {
	content: '';
	position: absolute;
	left: 0;
}
.mgr .t-burger__bars::before { top: -7px; }
.mgr .t-burger__bars::after { top: 7px; }

.mgr .t-burger[aria-expanded='true'] .t-burger__bars { background: transparent; }
.mgr .t-burger[aria-expanded='true'] .t-burger__bars::before { transform: translateY(7px) rotate(45deg); }
.mgr .t-burger[aria-expanded='true'] .t-burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.mgr { --header-h: 68px; }
	.mgr .t-header { --seal: 54px; }
	.mgr .t-header.is-scrolled { --seal: 44px; }
	.mgr .t-header__inner {
		grid-template-columns: auto 1fr auto;
		gap: 0.75rem;
	}
	.mgr .t-header__brand { order: -1; }
	.mgr .t-tools { gap: 0.9rem; }
	.mgr .t-tools .account-link,
	.mgr .t-tools__create { display: none; }
	.mgr .t-burger { display: grid; place-items: center; }

	/* Le menu mobile : un rideau qui descend. */
	.mgr .t-nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2rem;
		padding: 6rem 2rem 8rem;
		background: var(--c-ink);
		color: var(--c-on-dark);
		clip-path: inset(0 0 100% 0);
		transition: clip-path 0.6s var(--ease);
	}
	.mgr .t-nav.is-open { clip-path: inset(0 0 0 0); }
	.mgr .t-nav ul { flex-direction: column; gap: 1.1rem; }
	.mgr .t-nav a {
		font-family: var(--disp);
		font-size: clamp(1.7rem, 7.4vw, 2.7rem);
		font-weight: 800;
		font-stretch: 125%;
		text-transform: uppercase;
		letter-spacing: -0.01em;
	}
	.mgr .t-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0.5rem 0 0 1rem; color: inherit; }
	.mgr .t-nav .sub-menu a { font-size: 1.4rem; }
	.mgr .t-nav__create {
		display: inline-flex;
		margin-top: 1rem;
		font-family: var(--sans) !important;
		font-size: 0.85rem !important;
		letter-spacing: 0.12em !important;
		text-transform: uppercase;
		padding: 1rem 1.5rem;
		border-radius: 999px;
		background: var(--c-acid);
		color: var(--c-ink) !important;
	}
	.mgr .t-nav.is-open ~ .t-burger,
	.mgr .t-header:has(.t-nav.is-open) { color: var(--c-on-dark); }
	.mgr .t-header:has(.t-nav.is-open)::before { opacity: 0; }
}

/* ---------- Barre du bas (mobile) --------------------------------------- */

.mgr .t-dock { display: none; }

@media (max-width: 760px) {
	.mgr .t-footer { padding-bottom: calc(2rem + 84px + env(safe-area-inset-bottom, 0px)); }

	.mgr .t-dock {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		z-index: 55;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		height: 64px;
		padding: 6px;
		border-radius: 22px;
		background: rgba(11, 11, 12, 0.92);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
		color: var(--c-on-dark);
		transition: transform 0.42s var(--ease), opacity 0.3s var(--ease);
	}

	.mgr .t-dock.is-hidden {
		transform: translateY(calc(100% + 24px));
		opacity: 0;
	}

	.mgr .t-dock__item {
		position: relative;
		display: grid;
		place-items: center;
		align-content: center;
		gap: 3px;
		border-radius: 16px;
		color: inherit;
		font-size: 0.66rem;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-decoration: none;
		transition: transform 0.2s var(--ease);
	}

	.mgr .t-dock__item::after {
		content: '';
		position: absolute;
		inset: 0;
		border-radius: inherit;
		background: currentColor;
		opacity: 0;
		pointer-events: none;
	}

	.mgr .t-dock__item.is-tap::after { animation: t-tap 0.9s ease-in-out; }
	.mgr .t-dock__item.is-here { color: var(--c-brand-soft); }
	.mgr .t-dock__item--key { background: var(--c-acid); color: var(--c-ink); }

	.mgr .t-dock__cart .cart-link {
		position: absolute;
		inset: 0;
		display: grid;
		place-items: end center;
		padding-bottom: 9px;
		color: inherit;
		font-size: 0.66rem;
		font-weight: 600;
		text-decoration: none;
		text-transform: none;
		letter-spacing: 0.04em;
		background: none;
		border: 0;
	}

	.mgr .t-dock__cart .t-icon { margin-bottom: 16px; }

	.mgr .t-dock__cart .cart-link__count {
		position: absolute;
		top: 6px;
		right: calc(50% - 22px);
		min-width: 18px;
		height: 18px;
		font-size: 0.62rem;
	}
}

@keyframes t-tap {
	50% { opacity: 0.12; }
}

@media (max-width: 760px) {
	.mgr .t-tools .cart-link,
	.mgr .t-tools .lang-switch { display: none; }
	/* Le drapeau flottant de TranslatePress passe au-dessus de la barre du bas. */
	.mgr .trp-floating-switcher { bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* =========================================================================
   Apparitions
   Sans JavaScript, rien n'est caché : l'état « avant » n'existe que sous
   html.js-reveal, posé par le script.
   ========================================================================= */

.js-reveal .mgr [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--ease), transform 0.85s var(--ease);
	transition-delay: calc(var(--i, 0) * 70ms);
}

.js-reveal .mgr [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* =========================================================================
   1. L'ouverture
   ========================================================================= */

.mgr .t-hero {
	--p: 0;
	position: relative;
	min-height: 100svh;
	display: grid;
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-on-dark);
	isolation: isolate;
}

.mgr .t-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	transform: scale(calc(1 + 0.07 * var(--p)));
	transform-origin: 50% 40%;
}

.mgr .t-hero__glow { position: absolute; inset: 0; }

.mgr .t-hero__glow i {
	position: absolute;
	width: 60vmax;
	height: 60vmax;
	border-radius: 50%;
	opacity: 0.55;
	mix-blend-mode: screen;
	will-change: transform;
	animation: t-drift 26s var(--ease-soft) infinite alternate;
}

.mgr .t-hero__glow i:nth-child(1) { left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(255, 74, 38, 0.75), transparent 62%); }
.mgr .t-hero__glow i:nth-child(2) { right: -24vmax; top: 6vmax; background: radial-gradient(circle, rgba(216, 255, 61, 0.14), transparent 60%); animation-duration: 32s; animation-delay: -8s; }
.mgr .t-hero__glow i:nth-child(3) { left: 20vmax; bottom: -34vmax; background: radial-gradient(circle, rgba(216, 255, 61, 0.16), transparent 60%); animation-duration: 38s; animation-delay: -14s; }

@keyframes t-drift {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(6vmax, 4vmax) scale(1.12); }
	100% { transform: translate(-4vmax, 7vmax) scale(0.94); }
}

/* L'usine en marche, plein cadre, sous un voile. */
.mgr .t-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.05);
}

.mgr .t-hero__ring {
	position: absolute;
	right: -14vmax;
	bottom: -22vmax;
	width: 70vmax;
	height: 70vmax;
	fill: rgba(247, 246, 241, 0.08);
	font-family: var(--disp);
	font-size: 28px;
	font-weight: 800;
	font-stretch: 125%;
	letter-spacing: 0.04em;
	animation: t-spin 90s linear infinite;
}

.mgr .t-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(70% 60% at 50% 50%, rgba(11, 11, 12, 0.35), rgba(11, 11, 12, 0.75)),
		linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.2) 40%, rgba(11, 11, 12, 0.9) 100%),
		rgba(11, 11, 12, calc(0.34 * var(--p)));
}

.mgr .t-hero__content {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 1.4rem;
	min-height: 100svh;
	width: var(--shell);
	margin-inline: auto;
	padding: calc(var(--header-h) + 2rem) 0 clamp(5rem, 9vw, 7rem);
	text-align: center;
	transform: translateY(calc(var(--p) * -38px));
	opacity: calc(1 - 0.82 * var(--p));
}

.mgr .t-hero__kicker {
	margin: 0;
	font-family: var(--mono);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-on-dark-muted);
}

.mgr .t-hero__title {
	margin: 0;
	font-size: clamp(2.1rem, 9.4vw, 8.8rem);
	line-height: 0.88;
	letter-spacing: -0.02em;
	font-weight: 800;
}

.mgr .t-hero__title em {
	font-weight: 800;
	color: var(--c-brand-soft);
}

/* Chaque ligne monte derrière son masque. */
.mgr .t-line {
	display: block;
	overflow: hidden;
	/* De la place sous la ligne pour la cédille du Ç et la queue du p. */
	padding: 0 0.06em 0.22em;
	margin-bottom: -0.2em;
}

.mgr .t-line > * {
	display: inline-block;
	transform: translateY(105%) rotate(4deg);
	transform-origin: 0 100%;
	transition: transform 1.25s var(--ease);
	transition-delay: calc(0.12s + var(--i, 0) * 0.12s);
}

.is-ready .mgr .t-line > *,
.mgr.no-js .t-line > * { transform: none; }

html:not(.js) .mgr .t-line > * { transform: none; }

.mgr .t-intro {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 1s var(--ease), transform 1s var(--ease);
	transition-delay: calc(0.25s + var(--i, 0) * 0.1s);
}

.is-ready .mgr .t-intro { opacity: 1; transform: none; }
html:not(.js) .mgr .t-intro { opacity: 1; transform: none; }

.mgr .t-hero__typed {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.6rem;
	margin: 0.4rem 0 0;
	padding: 0.55rem 1.1rem;
	border: 1px solid var(--c-line-light);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	font-family: var(--mono);
	font-size: clamp(0.9rem, 1.6vw, 1.05rem);
}

.mgr .t-hero__prompt { color: var(--c-brand); }

.mgr .t-caret {
	width: 0.55em;
	height: 1.1em;
	background: var(--c-brand);
	animation: t-blink 1s steps(1) infinite;
}

@keyframes t-blink {
	50% { opacity: 0; }
}

.mgr .t-hero__sub {
	margin: 0;
	max-width: 34rem;
	color: var(--c-on-dark-muted);
	font-size: 1.05rem;
}

.mgr .t-hero__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	margin-top: 0.6rem;
}

.mgr .t-hero .t-btn--brand::before { background: var(--c-paper); }
.mgr .t-hero .t-btn--brand:hover { color: var(--c-ink); border-color: var(--c-paper); }

.mgr .t-hero__hint {
	position: absolute;
	left: 50%;
	bottom: clamp(1.2rem, 3vw, 2rem);
	transform: translateX(-50%);
	opacity: calc(0.6 * (1 - var(--p)));
	color: var(--c-on-dark);
}

.mgr .t-hero__capsule {
	display: block;
	width: 24px;
	height: 38px;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	position: relative;
}

.mgr .t-hero__capsule span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: currentColor;
	animation: t-descend 2.1s var(--ease) infinite;
}

@keyframes t-descend {
	0% { opacity: 0; transform: translateY(0); }
	18% { opacity: 1; }
	62% { opacity: 1; }
	85%, 100% { opacity: 0; transform: translateY(13px); }
}

/* ---------- Ruban --------------------------------------------------------- */

.mgr .t-ribbon {
	overflow: hidden;
	background: var(--c-brand);
	color: var(--c-white);
	padding: 1rem 0;
	transform: rotate(-1.2deg);
	margin: -0.9rem -2vw 0;
	position: relative;
	z-index: 2;
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.6);
}

.mgr .t-ribbon__track {
	display: flex;
	align-items: center;
	gap: 2rem;
	width: max-content;
	animation: t-marquee 38s linear infinite;
	font-family: var(--disp);
	font-size: clamp(1rem, 1.8vw, 1.4rem);
	font-weight: 800;
	font-stretch: 125%;
	text-transform: uppercase;
	white-space: nowrap;
}

.mgr .t-ribbon__track b { font-weight: 400; font-size: 0.8em; }

@keyframes t-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-33.333%); }
}

/* =========================================================================
   2. L'atelier (éditeur du parent)
   ========================================================================= */

.mgr .t-atelier .hero {
	background: var(--c-ink);
	padding-top: clamp(4.5rem, 9vw, 7rem);
}

.mgr .t-atelier__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem 4rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
	text-align: left;
}

.mgr .t-steps {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--c-on-dark-muted);
	font-size: 0.98rem;
}

.mgr .t-steps li { display: flex; gap: 1rem; align-items: baseline; }
.mgr .t-steps b { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; color: var(--c-brand-soft); }

/* =========================================================================
   3. Les phrases : vitrine horizontale
   ========================================================================= */

.mgr .t-show {
	padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
	background: var(--c-paper);
}

.mgr .t-show__ruban {
	position: relative;
}

.mgr .t-show__piste {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	touch-action: pan-x pan-y;
	cursor: grab;
}

.mgr .t-show__piste::-webkit-scrollbar { display: none; }
.mgr .t-show__piste:focus-visible { outline: 3px solid var(--c-brand); outline-offset: -3px; }
.mgr .t-show__piste.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.mgr .t-show__piste.is-dragging * { pointer-events: none; }

.mgr .t-vedette {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
	padding: 0 max(20px, (100vw - 1440px) / 2);
	padding-inline: calc((100% - min(100% - 40px, 1440px)) / 2);
}

.mgr .t-vedette[data-flip] { grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr); }
.mgr .t-vedette[data-flip] .t-vedette__media { order: 2; }

.mgr .t-vedette__media {
	display: grid;
	justify-items: center;
	gap: 1.2rem;
	min-width: 0;
}

.mgr .t-vedette__stage {
	position: relative;
	display: block;
	width: 100%;
	max-width: 640px;
	aspect-ratio: 0.92;
	border-radius: var(--r);
	background: var(--c-white);
	overflow: hidden;
	cursor: zoom-in;
	box-shadow: 0 50px 80px -60px rgba(11, 11, 12, 0.5);
}

.mgr .t-vedette__halo {
	position: absolute;
	inset: 12% 10% 6%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 74, 38, 0.12), transparent);
	transition: transform 0.8s var(--ease);
}

.mgr .t-layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: clamp(10px, 2vw, 28px);
	opacity: 0;
	transition: opacity 0.55s cubic-bezier(0.37, 0, 0.63, 1), transform 0.5s var(--ease);
}

.mgr .t-layer.is-on { opacity: 1; }
.mgr .t-vedette__stage:hover .t-layer { transform: scale(1.035); }
.mgr .t-vedette__stage:hover .t-vedette__halo { transform: scale(1.15); }

.mgr .t-swatches {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
}

.mgr .t-swatch {
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sw);
	box-shadow: inset 0 0 0 1px rgba(11, 11, 12, 0.22);
	cursor: pointer;
	transition: box-shadow 0.2s var(--ease), transform 0.16s var(--ease);
}

.mgr .t-swatch[aria-checked='true'] {
	box-shadow: inset 0 0 0 1px rgba(11, 11, 12, 0.22), 0 0 0 3px var(--c-paper), 0 0 0 5px var(--c-ink);
}

.mgr .t-swatch:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 5px; }

.mgr .t-vedette__copy { min-width: 0; }

.mgr .t-vedette__count {
	margin: 0 0 1.4rem;
	font-family: var(--mono);
	font-size: 0.8rem;
	color: var(--c-brand);
}

.mgr .t-vedette__count span { color: var(--c-muted); }

.mgr .t-vedette__kinds {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 1.2rem;
}

.mgr .t-vedette__kinds a,
.mgr .t-sheet__kinds a {
	padding: 0.38rem 0.8rem;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	color: var(--c-ink);
	font-size: 0.78rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.mgr .t-vedette__kinds a:hover,
.mgr .t-sheet__kinds a:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }

/* Le nom d'un t-shirt, c'est sa réplique : dans la police de la presse,
   telle qu'elle sera imprimée. */
.mgr .t-vedette__name {
	margin: 0 0 1.2rem;
	font-family: var(--print);
	font-size: clamp(3rem, 7vw, 7.4rem);
	font-weight: 400;
	font-stretch: normal;
	text-transform: none;
	line-height: 0.92;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.mgr .t-vedette__name.is-long { font-size: clamp(2.4rem, 5vw, 5.2rem); }

.mgr .t-vedette__name a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(var(--c-brand), var(--c-brand)) no-repeat 0 92% / 0 0.06em;
	transition: background-size 0.6s var(--ease);
}

.mgr .t-vedette__name a:hover { background-size: 100% 0.06em; }

.mgr .t-vedette__desc {
	max-width: 30rem;
	margin: 0 0 2rem;
	color: var(--c-muted);
	font-size: 1.02rem;
}

.mgr .t-vedette__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.6rem;
}

.mgr .t-vedette__price {
	font-family: var(--mono);
	font-size: 1.35rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Les chevrons, de part et d'autre de la vitrine. */
.mgr .t-chev {
	position: absolute;
	top: 42%;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 62px;
	height: 108px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-brand);
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), color 0.2s;
}

.mgr .t-chev .t-icon { width: 34px; height: 62px; stroke-width: 1.4; }
.mgr .t-chev--prev { left: max(0px, (100vw - 1560px) / 2); }
.mgr .t-chev--next { right: max(0px, (100vw - 1560px) / 2); }
.mgr .t-chev--prev:hover:not(:disabled) { transform: translate(-4px, -50%); color: var(--c-brand-dark); }
.mgr .t-chev--next:hover:not(:disabled) { transform: translate(4px, -50%); color: var(--c-brand-dark); }
.mgr .t-chev:disabled { opacity: 0.16; cursor: default; }
.mgr .t-chev:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 2px; }

.mgr .t-show__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: clamp(2rem, 4vw, 3rem);
}

.mgr .t-show__bar {
	flex: 1;
	max-width: 420px;
	height: 2px;
	background: var(--c-line);
	overflow: hidden;
}

.mgr .t-show__bar span {
	display: block;
	height: 100%;
	background: var(--c-ink);
	transition: transform 0.2s linear;
}

.mgr .t-empty {
	display: grid;
	justify-items: start;
	gap: 1rem;
	padding: clamp(2rem, 5vw, 4rem);
	border: 1px dashed var(--c-line);
	border-radius: var(--r);
}

.mgr .t-empty__big {
	margin: 0;
	font-family: var(--disp);
	font-size: clamp(1.5rem, 3.4vw, 2.7rem);
	font-weight: 800;
	font-stretch: 125%;
	text-transform: uppercase;
	line-height: 0.95;
}

@media (max-width: 900px) {
	.mgr .t-vedette,
	.mgr .t-vedette[data-flip] { grid-template-columns: 1fr; gap: 1.6rem; }
	.mgr .t-vedette[data-flip] .t-vedette__media { order: 0; }
	.mgr .t-vedette__stage { max-width: 420px; }
	.mgr .t-vedette__name { font-size: clamp(2.4rem, 11vw, 3.8rem); }
	.mgr .t-chev { top: min(42vw, 210px); width: 44px; height: 44px; }
	.mgr .t-chev .t-icon { width: 18px; height: 32px; stroke-width: 1.8; }
	.mgr .t-chev--prev { left: 4px; }
	.mgr .t-chev--next { right: 4px; }
}

/* =========================================================================
   La chaîne : les étapes suivent la vidéo
   ========================================================================= */

.mgr .t-chaine {
	padding: clamp(5rem, 10vw, 9rem) 0;
	background: var(--c-paper-2);
}

.mgr .t-chaine__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
}

.mgr .t-chaine__steps {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--c-line);
}

.mgr .t-chaine__steps li { border-bottom: 1px solid var(--c-line); }

.mgr .t-chaine__step {
	position: relative;
	display: grid;
	grid-template-columns: 3rem 1fr;
	align-items: baseline;
	gap: 0.2rem 1rem;
	width: 100%;
	padding: 1.05rem 0;
	border: 0;
	background: none;
	color: var(--c-muted);
	font: inherit;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	transition: color 0.4s var(--ease);
}

.mgr .t-chaine__num { font-family: var(--mono); font-size: 0.75rem; }

.mgr .t-chaine__name {
	font-family: var(--disp);
	font-size: clamp(1.05rem, 1.8vw, 1.55rem);
	font-weight: 800;
	font-stretch: 125%;
	text-transform: uppercase;
	letter-spacing: -0.005em;
	line-height: 1;
	transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}

.mgr .t-chaine__text {
	grid-column: 2;
	max-height: 0;
	opacity: 0;
	font-size: 0.95rem;
	transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.6s var(--ease);
}

/* Le trait du bas se remplit pendant que l'étape passe à l'écran. */
.mgr .t-chaine__fill {
	position: absolute;
	left: 0;
	bottom: -1px;
	height: 2px;
	width: 100%;
	background: var(--c-brand);
	transform: scaleX(var(--k, 0));
	transform-origin: left;
}

.mgr .t-chaine__step:hover { color: var(--c-ink); }

.mgr .t-chaine__step.is-on { color: var(--c-ink); }
.mgr .t-chaine__step.is-on .t-chaine__num { color: var(--c-brand); }
.mgr .t-chaine__step.is-on .t-chaine__name {
	transform: translateX(10px);
	font-style: italic;
}
.mgr .t-chaine__step.is-on .t-chaine__text { max-height: 4rem; opacity: 1; margin-top: 0.3rem; }

.mgr .t-chaine__note {
	margin: 1.8rem 0 0;
	max-width: 30rem;
	font-family: var(--sans);
	font-size: 1.12rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--c-ink);
}

.mgr .t-chaine__frame {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
	justify-self: center;
	width: min(100%, 420px);
	aspect-ratio: 9 / 16;
	border-radius: 28px;
	overflow: hidden;
	background: var(--c-ink);
	box-shadow: 0 60px 90px -50px rgba(11, 11, 12, 0.6);
}

.mgr .t-chaine__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mgr .t-chaine__live {
	position: absolute;
	left: 16px;
	bottom: 26px;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	background: rgba(11, 11, 12, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--c-paper);
	font-family: var(--mono);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mgr .t-chaine__live span[data-chaine-label] { display: inline-block; animation: t-rise 0.5s var(--ease); }

.mgr .t-chaine__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-brand);
	animation: t-blink 1.2s steps(1) infinite;
}

.mgr .t-chaine__bar {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 12px;
	height: 3px;
	border-radius: 3px;
	background: rgba(247, 246, 241, 0.25);
	overflow: hidden;
}

.mgr .t-chaine__bar span {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--c-paper);
	transform: scaleX(0);
	transform-origin: left;
}

@media (max-width: 860px) {
	.mgr .t-chaine__grid { grid-template-columns: 1fr; }
	.mgr .t-chaine__frame { position: relative; top: 0; width: min(100%, 340px); order: -1; }
}

/* =========================================================================
   4. Les thèmes
   ========================================================================= */

.mgr .t-themes {
	position: relative;
	padding: clamp(5rem, 10vw, 9rem) 0;
	background: var(--c-ink);
	color: var(--c-on-dark);
}

.mgr .t-themes__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--c-line-light);
}

.mgr .t-themes__list li { border-bottom: 1px solid var(--c-line-light); }

.mgr .t-themes__row {
	position: relative;
	display: grid;
	grid-template-columns: 3.5rem 1fr auto 2.5rem;
	align-items: center;
	gap: 1.5rem;
	padding: clamp(1.1rem, 2.4vw, 1.8rem) 0;
	color: inherit;
	text-decoration: none;
	isolation: isolate;
}

/* Au survol, la rangée se remplit d'acide, de gauche à droite. */
.mgr .t-themes__row::before {
	content: '';
	position: absolute;
	inset: 0 -20px;
	z-index: -1;
	background: var(--c-acid);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.6s var(--ease);
}

.mgr .t-themes__row { transition: color 0.35s var(--ease); }
.mgr .t-themes__row:hover,
.mgr .t-themes__row:focus-visible { color: var(--c-ink); }

.mgr .t-themes__row:hover::before,
.mgr .t-themes__row:focus-visible::before { transform: scaleX(1); transform-origin: left; }

.mgr .t-themes__num { font-family: var(--mono); font-size: 0.78rem; color: var(--c-on-dark-muted); }

.mgr .t-themes__name {
	font-family: var(--disp);
	font-size: clamp(1.4rem, 3.2vw, 2.8rem);
	font-weight: 800;
	font-stretch: 125%;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1;
	transition: transform 0.6s var(--ease);
}

.mgr .t-themes__row:hover .t-themes__name {
	transform: translateX(14px);
	font-style: italic;
}

.mgr .t-themes__count { font-family: var(--mono); font-size: 0.8rem; color: var(--c-on-dark-muted); white-space: nowrap; }
.mgr .t-themes__row:hover .t-themes__count,
.mgr .t-themes__row:hover .t-themes__num { color: var(--c-ink); }

.mgr .t-themes__go { transition: transform 0.5s var(--ease); }
.mgr .t-themes__row:hover .t-themes__go { transform: translateX(6px) rotate(-45deg); }

.mgr .t-themes__preview {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 40;
	width: 240px;
	height: 240px;
	pointer-events: none;
	border-radius: 18px;
	overflow: hidden;
	background: var(--c-paper);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
	opacity: 0;
	scale: 0.6;
	rotate: -6deg;
	transition: opacity 0.3s var(--ease), scale 0.45s var(--ease), rotate 0.45s var(--ease);
}

.mgr .t-themes__preview.is-on { opacity: 1; scale: 1; rotate: 3deg; }
.mgr .t-themes__preview img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 640px) {
	.mgr .t-themes__row { grid-template-columns: 2.2rem 1fr auto; gap: 0.8rem; }
	.mgr .t-themes__go { display: none; }
	.mgr .t-themes__preview { display: none; }
}

/* =========================================================================
   5. Pourquoi
   ========================================================================= */

.mgr .t-pourquoi {
	padding: clamp(5rem, 10vw, 9rem) 0;
	background: var(--c-white);
}

.mgr .t-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 3vw, 2.5rem);
	margin-bottom: clamp(3rem, 7vw, 6rem);
}

.mgr .t-stat {
	--p: 1;
	display: grid;
	align-content: start;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1.5px solid var(--c-ink);
}

.mgr .t-stat b {
	display: block;
	font-family: var(--disp);
	font-weight: 800;
	font-stretch: 112%;
	font-size: clamp(4rem, 10vw, 8.5rem);
	line-height: 0.82;
	letter-spacing: -0.03em;
	color: var(--c-brand);
	transform: scale(calc(0.82 + 0.18 * var(--p)));
	transform-origin: 0 100%;
	font-variant-numeric: tabular-nums;
}

.mgr .t-stat span { max-width: 22rem; color: var(--c-muted); }

.mgr .t-compare table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.mgr .t-compare th,
.mgr .t-compare td {
	padding: 1.1rem 1rem;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

.mgr .t-compare thead th {
	font-family: var(--mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.mgr .t-compare tbody th {
	font-family: var(--sans);
	font-weight: 700;
	font-size: 1.1rem;
	width: 28%;
}

.mgr .t-compare .is-us {
	background: rgba(255, 74, 38, 0.06);
	color: var(--c-ink);
	font-weight: 600;
}

.mgr .t-compare thead .is-us { color: var(--c-brand); }
.mgr .t-compare td:last-child { color: var(--c-muted); }

@media (max-width: 760px) {
	.mgr .t-stats { grid-template-columns: 1fr; }
	.mgr .t-compare { overflow-x: auto; }
	.mgr .t-compare th,
	.mgr .t-compare td { padding: 0.9rem 0.55rem; font-size: 0.9rem; }
	.mgr .t-compare tbody th { font-size: 1.02rem; }
}

/* =========================================================================
   6. Le mur en relief
   ========================================================================= */

.mgr .t-mur {
	position: relative;
	padding: clamp(5rem, 10vw, 8rem) 0 0;
	background: var(--c-brand);
	color: var(--c-white);
	overflow: hidden;
}

.mgr .t-mur .t-kicker--light { color: var(--c-ink); }
.mgr .t-mur .t-h2--light em { color: var(--c-ink); }

.mgr .t-mur__scene {
	--mx: 0;
	--my: 0;
	position: relative;
	height: clamp(460px, 62vw, 760px);
	perspective: 1250px;
	perspective-origin: 50% 40%;
	overflow: hidden;
	mask-image: radial-gradient(80% 84% at 50% 46%, #000 42%, transparent 100%);
	-webkit-mask-image: radial-gradient(80% 84% at 50% 46%, #000 42%, transparent 100%);
}

.mgr .t-mur__piste {
	position: absolute;
	inset: -6% -20%;
	display: grid;
	align-content: center;
	gap: 22px;
	transform-style: preserve-3d;
	transform: rotateX(calc(26deg + var(--my) * -8deg)) rotateY(calc(var(--mx) * 10deg)) rotateZ(-7deg);
	will-change: transform;
}

.mgr .t-mur__row { overflow: visible; transform-style: preserve-3d; }

.mgr .t-mur__track {
	display: flex;
	gap: 22px;
	width: max-content;
	transform-style: preserve-3d;
	animation: t-mur var(--dur, 70s) linear infinite;
}

.mgr .t-mur__row[data-reverse] .t-mur__track { animation-direction: reverse; }
.mgr .t-mur__scene:hover .t-mur__track { animation-play-state: paused; }

@keyframes t-mur {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.mgr .t-tile {
	--t-dim: 0.86;
	position: relative;
	display: block;
	width: clamp(150px, 17vw, 230px);
	aspect-ratio: 1;
	color: var(--c-ink);
	text-decoration: none;
	transform-style: preserve-3d;
}

.mgr .t-tile__in {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: var(--c-paper);
	overflow: hidden;
	opacity: var(--t-dim);
	transform: translateZ(0);
	transition: transform 0.42s var(--ease-soft), opacity 0.42s var(--ease-soft), box-shadow 0.42s var(--ease-soft);
}

.mgr .t-tile img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8%;
	transition: filter 0.42s var(--ease-soft);
}

.mgr .t-tile__cap {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	padding: 0.35rem 0.6rem;
	border-radius: 10px;
	background: var(--c-ink);
	color: var(--c-paper);
	font-size: 0.72rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mgr .t-tile--type .t-tile__in { padding: 1rem; text-align: center; }
.mgr .t-tile--1 .t-tile__in { background: var(--c-ink); color: var(--c-paper); }
.mgr .t-tile--2 .t-tile__in { background: var(--c-brand-soft); }

.mgr .t-tile__words {
	font-family: var(--print);
	font-size: clamp(1.25rem, 2vw, 1.9rem);
	line-height: 1;
	letter-spacing: 0;
}

.mgr .t-mur__scene:hover .t-tile { --t-dim: 0.62; }

.mgr .t-tile:hover,
.mgr .t-tile:focus-visible { --t-dim: 1 !important; z-index: 2; }

.mgr .t-tile:hover .t-tile__in,
.mgr .t-tile:focus-visible .t-tile__in {
	transform: translateZ(90px);
	box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
}

.mgr .t-tile:hover .t-tile__cap { opacity: 1; transform: none; }

/* =========================================================================
   7. L'histoire
   ========================================================================= */

.mgr .t-histoire {
	--p: 1;
	padding: clamp(5rem, 10vw, 9rem) 0;
	background: var(--c-paper);
}

.mgr .t-histoire__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
}

.mgr .t-histoire blockquote { margin: 0; }

.mgr .t-histoire blockquote p {
	margin: 0;
	font-family: var(--disp);
	font-size: clamp(1.9rem, 4.2vw, 4.1rem);
	font-weight: 800;
	font-stretch: 125%;
	text-transform: uppercase;
	line-height: 0.94;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.mgr .t-histoire blockquote em { color: var(--c-brand); }

/* Le trait de crayon se dessine au rythme du défilement. */
.mgr .t-scribble {
	width: min(320px, 70%);
	margin-top: 1.2rem;
	fill: none;
	stroke: var(--c-brand);
	stroke-width: 3;
	stroke-linecap: round;
}

.mgr .t-scribble path {
	stroke-dasharray: 1;
	stroke-dashoffset: calc(1 - var(--p));
}

.mgr .t-histoire__text { color: var(--c-muted); font-size: 1.05rem; }
.mgr .t-histoire__text .t-lead { color: var(--c-ink); margin-top: 0; }
.mgr .t-histoire__text .t-link { color: var(--c-ink); margin-top: 0.5rem; }

@media (max-width: 860px) {
	.mgr .t-histoire__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   8. La sortie
   ========================================================================= */

.mgr .t-closing {
	position: relative;
	padding: clamp(7rem, 16vw, 13rem) 0;
	background:
		radial-gradient(120% 80% at 50% 120%, rgba(255, 74, 38, 0.45), transparent 60%),
		var(--c-ink);
	color: var(--c-on-dark);
	text-align: center;
	overflow: hidden;
}

.mgr .t-closing__content { position: relative; z-index: 2; display: grid; justify-items: center; }

.mgr .t-closing__title {
	margin: 0 0 2.2rem;
	font-size: clamp(2.2rem, 6.6vw, 6.4rem);
	line-height: 0.9;
	letter-spacing: -0.02em;
}

.mgr .t-closing__title em { color: var(--c-brand-soft); }
.mgr .t-closing .t-btn--brand::before { background: var(--c-paper); }
.mgr .t-closing .t-btn--brand:hover { color: var(--c-ink); border-color: var(--c-paper); }

/* Des répliques traversent le ciel, de droite à gauche. */
.mgr .t-closing__sky { position: absolute; inset: 0; pointer-events: none; }

.mgr .t-bubble {
	position: absolute;
	top: var(--y, 20%);
	left: 0;
	padding: 0.55rem 1rem;
	border-radius: 18px 18px 18px 4px;
	background: rgba(247, 246, 241, 0.1);
	border: 1px solid var(--c-line-light);
	color: var(--c-on-dark-muted);
	font-family: var(--print);
	font-size: clamp(1rem, 1.7vw, 1.3rem);
	letter-spacing: 0.01em;
	white-space: nowrap;
	opacity: 0;
	animation: t-cross 34s linear infinite;
	animation-delay: var(--d, 0s);
}

@keyframes t-cross {
	0% { opacity: 0; transform: translate(106vw, 0); }
	6% { opacity: 1; transform: translate(90vw, -6px); }
	32% { opacity: 1; transform: translate(6vw, -40px); }
	38% { opacity: 0; transform: translate(-30vw, -48px); }
	100% { opacity: 0; transform: translate(-30vw, -48px); }
}

/* =========================================================================
   Pied de page
   ========================================================================= */

.mgr .t-footer {
	position: relative;
	background: #050506;
	color: var(--c-on-dark);
	padding-bottom: 2rem;
	overflow: hidden;
}

.mgr .t-footer__band {
	--p: 1;
	position: relative;
	display: block;
	padding-top: clamp(2rem, 5vw, 4rem);
	text-align: center;
	transform: translateY(calc((1 - var(--p)) * 26px));
	opacity: calc(0.35 + 0.65 * var(--p));
	border-bottom: 1px solid var(--c-line-light);
	overflow: hidden;
}

.mgr .t-footer__word {
	display: block;
	font-family: var(--disp);
	font-size: clamp(3.4rem, 15.5vw, 16rem);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 0.8;
	letter-spacing: -0.04em;
	white-space: nowrap;
	color: rgba(247, 246, 241, 0.08);
	transform: translateY(0.2em);
}

.mgr .t-footer__word em { color: rgba(255, 74, 38, 0.35); }

/* Une réplique traverse le pied de page, de temps en temps. */
.mgr .t-footer__flyer {
	position: absolute;
	left: 0;
	top: 30%;
	padding: 0.4rem 0.9rem;
	border-radius: 14px 14px 14px 3px;
	background: var(--c-brand);
	color: var(--c-white);
	font-family: var(--print);
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	white-space: nowrap;
	opacity: 0;
	animation: t-flyer 38s linear infinite;
}

@keyframes t-flyer {
	0% { opacity: 0; transform: translate(106vw, 22px); }
	3% { opacity: 1; }
	26% { opacity: 1; }
	29%, 100% { opacity: 0; transform: translate(-12vw, -68px); }
}

.mgr .t-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: 2.5rem;
	padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.mgr .t-footer__brand { display: grid; align-content: start; gap: 1.2rem; }
.mgr .t-seal--footer { width: 96px; height: 96px; }
.mgr .t-footer__pitch { margin: 0; max-width: 24rem; color: var(--c-on-dark-muted); }
.mgr .t-footer__ship { margin: 0; font-family: var(--mono); font-size: 0.78rem; color: var(--c-brand-soft); }

.mgr .t-footer__h {
	margin: 0 0 1.1rem;
	font-family: var(--mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-on-dark-muted);
}

.mgr .t-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.mgr .t-footer ul + ul { margin-top: 0.65rem; }

.mgr .t-footer__col a {
	color: var(--c-on-dark);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.mgr .t-footer__col a:hover { border-color: currentColor; color: var(--c-brand-soft); }

.mgr .t-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--c-line-light);
	font-size: 0.82rem;
	color: var(--c-on-dark-muted);
}

@media (max-width: 860px) {
	.mgr .t-footer__grid { grid-template-columns: 1fr 1fr; }
	.mgr .t-footer__brand { grid-column: 1 / -1; }
}

/* =========================================================================
   Fenêtres : fiche en panneau, tiroir, avis
   Même partition que la référence : fond en fondu (.22 s), panneau qui monte
   (.24 s) ou glisse de la droite (.26 s) ; sur mobile, tout vient du bas.
   ========================================================================= */

.mgr .t-sheet,
.mgr .t-drawer {
	position: fixed;
	inset: 0;
	z-index: 90;
}

.mgr .t-sheet[hidden],
.mgr .t-drawer[hidden],
.mgr .t-toast[hidden] { display: none; }

.mgr .t-sheet__fond,
.mgr .t-drawer__fond {
	position: absolute;
	inset: 0;
	background: rgba(11, 11, 12, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.22s var(--ease);
}

.mgr .is-open .t-sheet__fond,
.mgr .is-open .t-drawer__fond { opacity: 1; }

.mgr .t-sheet {
	display: grid;
	place-items: center;
	padding: 20px;
}

.mgr .t-sheet__panel {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: min(96vw, 980px);
	max-height: 88svh;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-radius: var(--r);
	background: var(--c-paper);
	box-shadow: 0 40px 100px rgba(11, 11, 12, 0.4);
	opacity: 0;
	transform: translateY(24px) scale(0.98);
	transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.mgr .t-sheet.is-open .t-sheet__panel { opacity: 1; transform: none; }

.mgr .t-sheet__media {
	position: relative;
	min-height: 420px;
	background: var(--c-white);
}

.mgr .t-sheet__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6%;
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

.mgr .t-sheet__media img.is-on { opacity: 1; }

.mgr .t-sheet__body {
	display: grid;
	align-content: start;
	gap: 0.9rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.mgr .t-sheet__kinds { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; }
.mgr .t-sheet__kinds:empty { display: none; }

.mgr .t-sheet__title {
	margin: 0;
	font-family: var(--print);
	font-size: clamp(2.2rem, 4.4vw, 3.8rem);
	font-weight: 400;
	font-stretch: normal;
	text-transform: none;
	line-height: 0.95;
	letter-spacing: 0;
}

.mgr .t-sheet__price { margin: 0; font-family: var(--mono); font-size: 1.2rem; font-weight: 600; }
.mgr .t-sheet__price del { opacity: 0.45; }

.mgr .t-sheet__wait {
	margin: 0;
	padding: 1.2rem 0;
	color: var(--c-muted);
	font-family: var(--mono);
	font-size: 0.82rem;
	animation: t-blink 1.2s steps(2) infinite;
}

.mgr .t-sheet__form form.cart { margin: 0; }
.mgr .t-sheet__form table.variations { width: 100%; border: 0; margin-bottom: 0.8rem; }
.mgr .t-sheet__form table.variations th,
.mgr .t-sheet__form table.variations td { display: block; padding: 0 0 0.4rem; text-align: left; border: 0; }
.mgr .t-sheet__form table.variations label { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.mgr .t-sheet__form select {
	width: 100%;
	min-height: 48px;
	padding: 0 1rem;
	border: 1.5px solid var(--c-line);
	border-radius: 12px;
	background: var(--c-white);
	font: inherit;
}
.mgr .t-sheet__form .reset_variations { font-size: 0.8rem; color: var(--c-muted); }
.mgr .t-sheet__form .woocommerce-variation-add-to-cart,
.mgr .t-sheet__form form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.mgr .t-sheet__form .single_add_to_cart_button { flex: 1; min-height: 54px; border-radius: 999px; }
.mgr .t-sheet__form .quantity input.qty {
	width: 84px;
	min-height: 54px;
	padding: 0 0.8rem;
	border: 1.5px solid var(--c-line);
	border-radius: 999px;
	background: var(--c-white);
	font: inherit;
	text-align: center;
}
.mgr .t-sheet__more { justify-self: start; color: var(--c-ink); margin-top: 0.4rem; }

.mgr .t-x {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--c-ink);
	color: var(--c-white);
	cursor: pointer;
	transition: transform 0.35s var(--ease), background-color 0.2s;
}

.mgr .t-x span,
.mgr .t-x span::before {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 1.5px;
	margin: -0.75px 0 0 -8px;
	background: currentColor;
	transform: rotate(45deg);
}

.mgr .t-x span::before { content: ''; left: 0; top: 0; margin: 0; transform: rotate(90deg); }
.mgr .t-x:hover { transform: rotate(90deg); background: var(--c-brand); }

/* Tiroir du panier */
.mgr .t-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	background: var(--c-paper);
	box-shadow: -18px 0 60px rgba(11, 11, 12, 0.22);
	transform: translateX(100%);
	transition: transform 0.26s var(--ease);
}

.mgr .t-drawer.is-open .t-drawer__panel { transform: none; }

.mgr .t-drawer__head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1.6rem 1.5rem 1.2rem;
	border-bottom: 1px solid var(--c-line);
}

.mgr .t-drawer__head .t-x { position: relative; top: auto; right: auto; margin-left: auto; flex: none; }
.mgr .t-drawer__title { margin: 0; font-size: 1.55rem; letter-spacing: -0.01em; }
.mgr .t-drawer__title em { color: var(--c-brand); }

.mgr .t-drawer__count {
	display: grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--c-brand);
	color: var(--c-white);
	font-size: 0.8rem;
	font-weight: 700;
}

.mgr .t-drawer__body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1rem 1.5rem 1.5rem;
}

.mgr .t-drawer .woocommerce-mini-cart {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mgr .t-drawer .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 76px 1fr;
	column-gap: 1rem;
	padding: 1rem 2.2rem 1rem 0;
	border-bottom: 1px solid var(--c-line);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mgr .t-drawer .woocommerce-mini-cart-item.is-leaving { opacity: 0.3; transform: translateX(16px); }

.mgr .t-drawer .woocommerce-mini-cart-item a:not(.remove) {
	display: contents;
	color: var(--c-ink);
	font-family: var(--print);
	font-size: 1.2rem;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.mgr .t-drawer .woocommerce-mini-cart-item img {
	grid-row: span 3;
	width: 76px;
	height: 76px;
	object-fit: contain;
	border-radius: 12px;
	background: var(--c-white);
	margin: 0;
	float: none;
}

.mgr .t-drawer .woocommerce-mini-cart-item .quantity,
.mgr .t-drawer .woocommerce-mini-cart-item dl { grid-column: 2; margin: 0.3rem 0 0; font-size: 0.85rem; color: var(--c-muted); }
.mgr .t-drawer .woocommerce-mini-cart-item dl dt,
.mgr .t-drawer .woocommerce-mini-cart-item dl dd { display: inline; margin: 0; }
.mgr .t-drawer .woocommerce-mini-cart-item dl dd p { display: inline; margin: 0; }

.mgr .t-drawer .remove_from_cart_button {
	position: absolute;
	top: 1rem;
	right: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--c-muted) !important;
	background: transparent;
	font-size: 1.3rem;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.mgr .t-drawer .remove_from_cart_button:hover { background: var(--c-ink); color: var(--c-white) !important; }

.mgr .t-drawer .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 1.2rem 0;
	font-family: var(--mono);
	font-size: 1.05rem;
	font-weight: 600;
}

.mgr .t-drawer .woocommerce-mini-cart__buttons { display: grid; gap: 0.6rem; margin: 0; }

.mgr .t-drawer .woocommerce-mini-cart__buttons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	margin: 0;
	border: 1.5px solid var(--c-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--c-ink);
	font-family: var(--sans);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.mgr .t-drawer .woocommerce-mini-cart__buttons a:hover { background: var(--c-ink); color: var(--c-white); }
.mgr .t-drawer .woocommerce-mini-cart__buttons a:active { transform: scale(0.97); transition-duration: 90ms; }
.mgr .t-drawer .woocommerce-mini-cart__buttons .checkout { background: var(--c-acid); border-color: var(--c-ink); color: var(--c-ink); }
.mgr .t-drawer .woocommerce-mini-cart__buttons .checkout:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-acid); }
.mgr .t-drawer .woocommerce-mini-cart__empty-message { padding: 3rem 0; font-family: var(--disp); font-size: 1.15rem; font-weight: 800; font-stretch: 125%; text-transform: uppercase; color: var(--c-muted); text-align: center; }

/* Avis d'ajout */
.mgr .t-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 95;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	max-width: calc(100vw - 32px);
	padding: 0.8rem 1rem 0.8rem 1.1rem;
	border-radius: 999px;
	background: var(--c-ink);
	color: var(--c-paper);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
	font-size: 0.9rem;
	opacity: 0;
	transform: translate(-50%, 14px);
	transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.mgr .t-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.mgr .t-toast__text { white-space: nowrap; }
.mgr .t-toast__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); animation: t-pop 0.5s var(--ease); }
.mgr .t-toast__link { color: var(--c-brand-soft); font-weight: 600; text-decoration: none; white-space: nowrap; }
.mgr .t-toast__link:hover { text-decoration: underline; }

@media (max-width: 760px) {
	.mgr .t-sheet { place-items: end stretch; padding: 0; }
	.mgr .t-sheet__panel {
		grid-template-columns: 1fr;
		width: 100%;
		max-height: 92svh;
		border-radius: var(--r) var(--r) 0 0;
		opacity: 1;
		transform: translateY(100%);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.mgr .t-sheet.is-open .t-sheet__panel { transform: none; }
	.mgr .t-sheet__media { min-height: 300px; }

	.mgr .t-drawer__panel {
		top: auto;
		left: 0;
		width: 100%;
		max-height: min(88svh, 88dvh);
		border-radius: var(--r) var(--r) 0 0;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		transform: translateY(100%);
	}

	.mgr .t-toast {
		top: calc(var(--header-h) + 10px);
		bottom: auto;
		transform: translate(-50%, -14px);
		font-size: 0.85rem;
	}
}

/* =========================================================================
   Pages intérieures
   ========================================================================= */

.mgr .t-pagehero {
	position: relative;
	padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(3rem, 6vw, 5rem);
	background: var(--c-ink);
	color: var(--c-on-dark);
	overflow: hidden;
	isolation: isolate;
}

.mgr .t-pagehero--compact { padding-bottom: clamp(2rem, 4vw, 3rem); }

.mgr .t-pagehero__glow {
	position: absolute;
	inset: -40% -10% auto auto;
	z-index: -1;
	width: 70vmax;
	height: 70vmax;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 74, 38, 0.38), rgba(255, 74, 38, 0.12) 35%, transparent 65%);
	animation: t-drift 30s var(--ease-soft) infinite alternate;
}

.mgr .t-pagehero__title {
	margin: 0;
	max-width: 18ch;
	font-size: clamp(2.1rem, 5.6vw, 5.2rem);
	line-height: 0.92;
	letter-spacing: -0.015em;
	animation: t-rise 1.1s var(--ease) both;
}

.mgr .t-pagehero--compact .t-pagehero__title { font-size: clamp(1.8rem, 4vw, 3.4rem); max-width: 24ch; }
.mgr .t-pagehero__title em { color: var(--c-brand-soft); }

@keyframes t-rise {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: none; }
}

.mgr .t-pagehero .t-crumbs,
.mgr .t-pagehero .woocommerce-breadcrumb {
	margin: 0 0 1.2rem;
	font-family: var(--mono);
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-on-dark-muted);
	animation: t-rise 0.9s var(--ease) both;
}

.mgr .t-pagehero a { color: var(--c-brand-soft); text-decoration: none; }
.mgr .t-pagehero a:hover { text-decoration: underline; }

.mgr .site-main,
.mgr .t-page {
	padding: clamp(3rem, 7vw, 6rem) 0;
}

.mgr .t-prose {
	max-width: 46rem;
	margin-inline: auto;
	font-size: 1.08rem;
	line-height: 1.7;
}

.mgr .t-prose h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 2.5rem 0 1rem; }
.mgr .t-prose h3 { font-size: 1.15rem; margin: 2rem 0 0.8rem; }
.mgr .t-prose a { color: var(--c-brand); }
.mgr .t-prose--wide { max-width: none; }

.mgr .t-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.mgr .t-list li { border-bottom: 1px solid var(--c-line); }
.mgr .t-list a { display: block; padding: 1.5rem 0; color: inherit; text-decoration: none; }
.mgr .t-list h2 { margin: 0 0 0.4rem; font-size: clamp(1.25rem, 2.2vw, 1.8rem); transition: transform 0.5s var(--ease); }
.mgr .t-list a:hover h2 { transform: translateX(10px); font-style: italic; }
.mgr .t-list p { margin: 0; color: var(--c-muted); }

.mgr .t-404 {
	display: grid;
	justify-items: start;
	gap: 1.4rem;
}

.mgr .t-404__num {
	font-family: var(--disp);
	font-size: clamp(5rem, 18vw, 13rem);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 0.8;
	letter-spacing: -0.03em;
	color: var(--c-brand);
}

/* =========================================================================
   WooCommerce : la grille de la boutique et la fiche
   ========================================================================= */

.mgr ul.products { gap: clamp(1rem, 2.4vw, 2rem) !important; }

.mgr ul.products li.product {
	padding: 0.7rem 0.7rem 1.1rem !important;
	border-radius: var(--r);
	background: var(--c-white);
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.mgr ul.products li.product:hover {
	transform: translateY(-6px);
	box-shadow: 0 40px 60px -40px rgba(11, 11, 12, 0.4);
}

.mgr ul.products li.product a img {
	border-radius: 14px;
	background: var(--c-paper);
	object-fit: contain;
	transition: transform 0.6s var(--ease);
}

.mgr ul.products li.product:hover a img { transform: scale(1.04); }

.mgr ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--print) !important;
	font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
	font-weight: 400 !important;
	font-stretch: normal;
	text-transform: none !important;
	letter-spacing: 0;
	line-height: 1.02 !important;
	padding: 0 0.3rem !important;
}

.mgr ul.products li.product .price {
	padding: 0 0.3rem;
	font-family: var(--sans) !important;
	font-weight: 500 !important;
	color: var(--c-muted) !important;
}

.mgr ul.products li.product .button { margin: 0 0.3rem; }

.mgr .woocommerce span.onsale,
.mgr ul.products li.product span.onsale { background: var(--c-brand); }

.mgr.single-product div.product .product_title { display: none; }

.mgr.single-product div.product .woocommerce-product-gallery {
	border-radius: var(--r);
	overflow: hidden;
	background: var(--c-white);
}

.mgr.single-product div.product .summary .price {
	font-family: var(--mono);
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--c-ink);
}

.mgr.single-product div.product .woocommerce-product-details__short-description {
	font-size: 1.05rem;
	color: var(--c-muted);
}

.mgr .woocommerce-tabs ul.tabs li a { font-family: var(--sans); }

.mgr .woocommerce-message,
.mgr .woocommerce-info,
.mgr .woocommerce-error {
	border-radius: 14px;
	border-top-color: var(--c-brand);
	background: var(--c-white);
	animation: t-rise 0.6s var(--ease) both;
}

.mgr .woocommerce form .form-row input.input-text,
.mgr .woocommerce form .form-row textarea,
.mgr .woocommerce form .form-row select,
.mgr .woocommerce .quantity input.qty {
	border-radius: 12px;
	border: 1.5px solid var(--c-line);
	background: var(--c-white);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mgr .woocommerce form .form-row input.input-text:focus,
.mgr .woocommerce form .form-row textarea:focus {
	border-color: var(--c-ink);
	box-shadow: 0 0 0 4px rgba(255, 74, 38, 0.12);
	outline: 0;
}

/* L'éditeur, partout où il est : coins et couleurs suivent les jetons. */
.mgr .creator__submit { border-radius: 999px; }

/* =========================================================================
   Moins d'animations, sur demande
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
	.mgr *,
	.mgr *::before,
	.mgr *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.mgr .t-grain,
	.mgr .t-bubble,
	.mgr .t-footer__flyer { display: none; }
	.mgr .t-mur__track { animation: none !important; flex-wrap: wrap; width: auto; }
	.mgr .t-mur__piste { transform: none; }
	.mgr .t-hero__video { display: none; }
	.mgr .t-line > *,
	.mgr .t-intro { transform: none !important; opacity: 1 !important; }
}
