/**
 * ST-MAXIMIN — SITE CHROME (Recherche globale, Popup Page 36, Page 404, Footer officiel)
 * Architecture CSS Moderne, Responsive & Mobile-First
 * Version : 1.0.0
 * Direction Artistique : Charte Saint-Maximin-la-Sainte-Baume (Pauline Belhamani)
 * Spécialiste : Pazu (Webomatik)
 * Normes : Mobile-first, CSS Grid, Flexbox, Variables CSS, WCAG AAA,
 *          0 !important, 0 fuite #c36 Hello Elementor, cibles tactiles >= 44px
 */

/* ==========================================================================
   1. DESIGN TOKENS OFFICIELS SCOPÉS
   ========================================================================== */
:where(.stmax-search-page, .stmax-search-modal, .stmax-404-page, .stmax-global-footer) {
	--stmax-prune: #38164B;
	--stmax-prune-deep: #240C33;
	--stmax-jaune: #FFF563;
	--stmax-jaune-hover: #F5EA40;
	--stmax-jaune-text: #38164B;
	--stmax-lilas: #EFCBFF;
	--stmax-menthe: #9AFAB3;
	--stmax-cream: #F8F5F0;
	--stmax-bg: #FAF8FC;
	--stmax-surface: #FFFFFF;
	--stmax-ink: #1F1826;
	--stmax-muted: #584E63;
	--stmax-border: #E8E1EE;

	--stmax-font: 'JUST Sans', 'Just Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--stmax-font-display: 'TT Ramillas', Georgia, 'Times New Roman', serif;
	--stmax-radius-sm: 10px;
	--stmax-radius-md: 14px;
	--stmax-radius-lg: 20px;
	--stmax-radius-xl: 24px;
	--stmax-shadow-card: 0 4px 16px rgba(56, 22, 75, 0.05);
	--stmax-shadow-hover: 0 12px 28px rgba(56, 22, 75, 0.11);
	--stmax-shadow-modal: 0 24px 60px rgba(20, 7, 30, 0.36);
	--stmax-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--stmax-fast: 170ms;
	--stmax-smooth: 260ms;
}

/* ==========================================================================
   2. NEUTRALISATION HELLO ELEMENTOR & FONDATIONS COMMUNES
   ========================================================================== */
body main.site-main:has(.stmax-search-page),
body main.site-main:has(.stmax-404-page),
body main.site-main:has(.stmax-search-page) > .page-content,
body main.site-main:has(.stmax-404-page) > .page-content,
body footer.site-footer:has(.stmax-global-footer),
body:not([class*="elementor-page-"]) main.site-main.stmax-search-page,
body:not([class*="elementor-page-"]) main.site-main.stmax-404-page,
body footer.site-footer.stmax-global-footer {
	inline-size: 100%;
	max-inline-size: none;
	margin-inline: 0;
	padding-inline: 0;
	overflow-x: clip;
}

/* Neutralisation du #site-footer vide de Hello Elementor (même avec retours ligne/espaces) */
footer#site-footer.site-footer:empty,
footer#site-footer.site-footer:not(:has(*)),
body:has(> footer.stmax-global-footer) footer#site-footer.site-footer:not(:has(.elementor-location-footer, .footer-inner)) {
	display: none;
	margin-block: 0;
	padding-block: 0;
	block-size: 0;
	min-block-size: 0;
}

body:has(> footer.stmax-global-footer) > main.site-main,
body:has(> footer.stmax-global-footer) > .elementor {
	margin-block-end: 0;
}

footer.stmax-global-footer {
	margin-block-start: 0;
}

/* ==========================================================================
   2b. HEADER PRINCIPAL STICKY (.elementor-location-header)
   ========================================================================== */
.elementor-location-header {
	position: sticky;
	top: var(--stmax-header-sticky-top, 0px);
	z-index: 9990;
	background-color: #FFFFFF;
	box-shadow: 0 2px 12px rgba(56, 22, 75, 0.08);
}

/* WordPress Core : #wpadminbar passe en position: absolute <= 600px (disparaît au scroll -> top: 0),
   reste fixed à 46px entre 601px et 782px, puis 32px >= 783px. */
@media (min-width: 601px) and (max-width: 782px) {
	body.admin-bar:has(#wpadminbar) .elementor-location-header {
		top: var(--stmax-header-sticky-top, 46px);
	}
}

@media (min-width: 783px) {
	body.admin-bar:has(#wpadminbar) .elementor-location-header {
		top: var(--stmax-header-sticky-top, 32px);
	}
}

html:has(.elementor-location-header) {
	scroll-padding-top: 120px;
}

@media (min-width: 601px) and (max-width: 782px) {
	html:has(body.admin-bar #wpadminbar):has(.elementor-location-header) {
		scroll-padding-top: calc(120px + var(--stmax-header-sticky-top, 46px));
	}
}

@media (min-width: 783px) {
	html:has(body.admin-bar #wpadminbar):has(.elementor-location-header) {
		scroll-padding-top: calc(120px + var(--stmax-header-sticky-top, 32px));
	}
}

@media print {
	.elementor-location-header {
		position: static;
		box-shadow: none;
	}
}

.stmax-search-page,
.stmax-search-modal,
.stmax-404-page,
.stmax-global-footer {
	font-family: var(--stmax-font);
	box-sizing: border-box;
	line-height: 1.5;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
}

.stmax-search-page,
.stmax-404-page,
.stmax-global-footer {
	inline-size: 100%;
	max-inline-size: 100%;
	min-inline-size: 0;
	overflow-x: clip;
}

.stmax-search-page *,
.stmax-search-page *::before,
.stmax-search-page *::after,
.stmax-search-modal *,
.stmax-search-modal *::before,
.stmax-search-modal *::after,
.stmax-404-page *,
.stmax-404-page *::before,
.stmax-404-page *::after,
.stmax-global-footer *,
.stmax-global-footer *::before,
.stmax-global-footer *::after {
	box-sizing: border-box;
}

.stmax-search-page [hidden],
.stmax-search-modal [hidden],
.stmax-404-page [hidden],
.stmax-global-footer [hidden],
.stmax-search-modal[hidden] {
	display: none;
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page, .stmax-global-footer) :is(.stmax-sr-only, .screen-reader-text, .visually-hidden) {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) a {
	color: var(--stmax-prune);
	text-decoration: none;
	touch-action: manipulation;
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) a:visited,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) a:active {
	color: var(--stmax-prune);
}

@media (hover: hover) and (pointer: fine) {
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) a:hover {
		color: var(--stmax-prune);
	}
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) :is(button, [role="button"], .stmax-search-filter, .stmax-search-pill, .stmax-search-modal-pill) {
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) :is(a, button, input, select, [tabindex="0"]):focus-visible {
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

:is(.stmax-search-page .stmax-search-hero, .stmax-global-footer) :is(a, button, input, [tabindex="0"]):focus-visible {
	outline: 3px solid var(--stmax-jaune);
	outline-offset: 2px;
	box-shadow: none;
}

/* ==========================================================================
   3. CAPSULE DE RECHERCHE FLEXBOX PARTAGÉE (.stmax-search-form)
   ========================================================================== */
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) form.stmax-search-form,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	inline-size: 100%;
	max-inline-size: 680px;
	min-inline-size: 0;
	padding: 0.375rem 0.375rem 0.375rem 1rem;
	background-color: var(--stmax-surface);
	border: 2px solid var(--stmax-border);
	border-radius: 9999px;
	box-shadow: 0 10px 28px rgba(25, 10, 36, 0.14);
	transition:
		border-color var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease);
}

@media (min-width: 640px) {
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) form.stmax-search-form,
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form {
		padding-inline-start: 1.25rem;
		gap: 0.625rem;
	}
}

.stmax-search-page .stmax-search-hero .stmax-search-form {
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow: 0 14px 34px rgba(17, 5, 26, 0.28);
}

.stmax-search-page .stmax-search-hero .stmax-search-form:focus-within {
	border-color: var(--stmax-jaune);
	box-shadow:
		0 14px 34px rgba(17, 5, 26, 0.28),
		0 0 0 3px rgba(255, 245, 99, 0.45);
}

:is(.stmax-search-modal, .stmax-404-page) .stmax-search-form:focus-within {
	border-color: var(--stmax-prune);
	box-shadow:
		0 10px 28px rgba(56, 22, 75, 0.12),
		0 0 0 3px rgba(56, 22, 75, 0.14);
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form .stmax-search-icon,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form .stmax-search-form-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--stmax-muted);
	flex-shrink: 0;
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-input[type="search"],
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-input[type="text"],
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-input {
	flex: 1 1 0%;
	min-inline-size: 0;
	inline-size: 100%;
	min-block-size: 44px;
	padding: 0.5rem 0.25rem;
	margin: 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	font-family: var(--stmax-font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--stmax-ink);
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-input::placeholder {
	color: var(--stmax-muted);
	opacity: 0.85;
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-input:focus,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-input:focus-visible {
	border: 0;
	outline: none;
	box-shadow: none;
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit[type="submit"],
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-submit[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-inline-size: 44px;
	min-block-size: 44px;
	padding: 0.625rem 1rem;
	margin: 0;
	border: 0;
	border-radius: 9999px;
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(56, 22, 75, 0.14);
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease);
}

@media (min-width: 640px) {
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit[type="submit"],
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit,
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-submit[type="submit"] {
		padding: 0.625rem 1.35rem;
		font-size: 0.9375rem;
	}
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit[type="submit"]:focus,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit:focus,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-submit[type="submit"]:focus {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	border: 0;
}

@media (hover: hover) and (pointer: fine) {
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit[type="submit"]:hover,
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit:hover,
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-submit[type="submit"]:hover {
		background-color: var(--stmax-jaune-hover);
		color: var(--stmax-jaune-text);
		border: 0;
		transform: translateY(-1px);
		box-shadow: 0 6px 16px rgba(56, 22, 75, 0.20);
	}
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit[type="submit"]:active,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit:active,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-submit[type="submit"]:active {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	transform: scale(0.97);
}

:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit[type="submit"]:focus-visible,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit:focus-visible,
:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form input.stmax-search-submit[type="submit"]:focus-visible {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

/* ==========================================================================
   4. PAGE RECHERCHE GLOBALE (.stmax-search-page)
   ========================================================================== */
.stmax-search-page {
	background-color: var(--stmax-bg);
	color: var(--stmax-ink);
}

.stmax-search-page .stmax-search-hero {
	position: relative;
	background-color: var(--stmax-prune, #38164B);
	background-image:
		linear-gradient(135deg, rgba(56, 22, 75, 0.88) 0%, rgba(42, 15, 58, 0.78) 100%),
		url('../img/footer-saint-maximin.jpg');
	background-size: cover;
	background-position: center 42%;
	background-repeat: no-repeat;
	color: #FFFFFF;
	padding-block: clamp(1.375rem, 2.75vw, 2.25rem);
	padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.stmax-search-page .stmax-search-hero-inner,
.stmax-search-page .stmax-search-main,
.stmax-search-page .stmax-search-body,
.stmax-search-page .stmax-search-container {
	inline-size: 100%;
	max-inline-size: 1200px;
	min-inline-size: 0;
	margin-inline: auto;
}

.stmax-search-page .stmax-search-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.875rem;
}

.stmax-search-page .stmax-search-eyebrow,
.stmax-search-page .stmax-search-breadcrumb {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stmax-jaune);
}

.stmax-search-page .stmax-search-breadcrumb a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-search-page .stmax-search-breadcrumb a:hover {
		color: var(--stmax-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

.stmax-search-page .stmax-search-hero h1,
.stmax-search-page .stmax-search-title {
	margin: 0;
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.2vw, 2.65rem);
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #FFFFFF;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.stmax-search-page .stmax-search-title span,
.stmax-search-page .stmax-search-title mark,
.stmax-search-page .stmax-search-query {
	background-color: transparent;
	color: var(--stmax-jaune);
}

.stmax-search-page .stmax-search-subtitle,
.stmax-search-page .stmax-search-hero .stmax-search-count {
	margin: 0;
	max-inline-size: 62ch;
	font-size: clamp(0.95rem, 1.25vw, 1.0625rem);
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.90);
}

.stmax-search-page .stmax-search-hero .stmax-search-form {
	margin-block-start: 0.5rem;
}

/* Zone principale de résultats */
.stmax-search-page .stmax-search-main,
.stmax-search-page .stmax-search-body {
	padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1rem, 3vw, 1.5rem) clamp(3rem, 5vw, 4.5rem);
}

body main.stmax-search-page .stmax-search-toolbar,
.stmax-search-page .stmax-search-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.875rem 1.25rem;
	margin-block-end: 1.5rem;
}

body main.stmax-search-page .stmax-search-toolbar .stmax-search-filters,
.stmax-search-page .stmax-search-toolbar .stmax-search-filters {
	margin-block-end: 0;
}

body main.stmax-search-page .stmax-search-body p.stmax-search-count,
body main.stmax-search-page .stmax-search-toolbar p.stmax-search-count,
.stmax-search-page .stmax-search-count {
	margin: 0;
	max-inline-size: 62ch;
	font-family: var(--stmax-font);
	font-size: clamp(0.95rem, 1.25vw, 1.0625rem);
	font-weight: 500;
	line-height: 1.5;
	color: #5E4B6B;
}

body main.stmax-search-page .stmax-search-body p.stmax-search-count strong,
body main.stmax-search-page .stmax-search-toolbar p.stmax-search-count strong,
.stmax-search-page .stmax-search-count strong {
	font-weight: 800;
	color: #38164B;
}

/* Filtres pilules */
.stmax-search-page .stmax-search-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-block-end: 1.75rem;
}

.stmax-search-page .stmax-search-filters a,
.stmax-search-page .stmax-search-filters button,
.stmax-search-page .stmax-search-filters .stmax-search-filter,
.stmax-search-page .stmax-search-filters .stmax-search-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-block-size: 44px;
	padding: 0.5rem 1rem;
	margin: 0;
	background-color: var(--stmax-surface);
	border: 1px solid var(--stmax-border);
	border-radius: 9999px;
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(56, 22, 75, 0.03);
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease);
}

.stmax-search-page .stmax-search-filters :is(a, button, .stmax-search-filter, .stmax-search-pill):focus {
	background-color: var(--stmax-surface);
	border-color: var(--stmax-border);
	color: var(--stmax-prune);
}

.stmax-search-page .stmax-search-filters :is(a, button, .stmax-search-filter, .stmax-search-pill) :is(.stmax-search-filter-count, .count, span:last-child) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 1.4rem;
	padding: 0.125rem 0.45rem;
	border-radius: 9999px;
	background-color: var(--stmax-cream);
	color: var(--stmax-muted);
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.2;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-search-page .stmax-search-filters :is(a, button, .stmax-search-filter, .stmax-search-pill):hover {
		background-color: var(--stmax-cream);
		border-color: var(--stmax-prune);
		color: var(--stmax-prune);
	}
}

.stmax-search-page .stmax-search-filters :is(a, button, .stmax-search-filter, .stmax-search-pill):is(.is-active, [aria-current="page"], [aria-current="true"], [aria-pressed="true"]),
.stmax-search-page .stmax-search-filters :is(a, button, .stmax-search-filter, .stmax-search-pill):is(.is-active, [aria-current="page"], [aria-current="true"], [aria-pressed="true"]):focus,
.stmax-search-page .stmax-search-filters :is(a, button, .stmax-search-filter, .stmax-search-pill):is(.is-active, [aria-current="page"], [aria-current="true"], [aria-pressed="true"]):hover {
	background-color: var(--stmax-prune);
	border-color: var(--stmax-prune);
	color: #FFFFFF;
}

.stmax-search-page .stmax-search-filters :is(a, button, .stmax-search-filter, .stmax-search-pill):is(.is-active, [aria-current="page"], [aria-current="true"], [aria-pressed="true"]) :is(.stmax-search-filter-count, .count, span:last-child) {
	background-color: rgba(255, 255, 255, 0.18);
	color: var(--stmax-jaune);
}

/* Grille de résultats */
.stmax-search-page .stmax-search-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: stretch;
	inline-size: 100%;
	min-inline-size: 0;
}

@media (min-width: 640px) {
	.stmax-search-page .stmax-search-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.stmax-search-page .stmax-search-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.375rem;
	}
}

/* Cartes résultats (.stmax-search-card) */
.stmax-search-page .stmax-search-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-inline-size: 0;
	background-color: var(--stmax-surface);
	border: 1px solid var(--stmax-border);
	border-radius: var(--stmax-radius-lg);
	overflow: hidden;
	box-shadow: var(--stmax-shadow-card);
	transition:
		transform var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease);
}

.stmax-search-page .stmax-search-card:not(:has(.stmax-search-card-body)) {
	padding: 1.25rem 1.35rem;
	gap: 0.6rem;
}

.stmax-search-page .stmax-search-card .stmax-search-card-media {
	position: relative;
	inline-size: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--stmax-cream);
	flex-shrink: 0;
}

.stmax-search-page .stmax-search-card .stmax-search-card-media img {
	inline-size: 100%;
	block-size: 100%;
	max-inline-size: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transition: transform 300ms var(--stmax-ease);
}

.stmax-search-page .stmax-search-card .stmax-search-card-body {
	padding: 1.25rem 1.35rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55rem;
	flex: 1 1 auto;
	min-inline-size: 0;
}

.stmax-search-page .stmax-search-card .stmax-search-card-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	inline-size: 100%;
}

/* Badges de type (.stmax-search-badge) */
.stmax-search-page .stmax-search-card .stmax-search-badge,
.stmax-search-page .stmax-search-badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 0.25rem 0.7rem;
	border-radius: 9999px;
	background-color: var(--stmax-lilas);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.stmax-search-page .stmax-search-badge--page,
.stmax-search-page .stmax-search-badge--service {
	background-color: var(--stmax-cream);
	border: 1px solid var(--stmax-border);
	color: var(--stmax-prune);
}

.stmax-search-page .stmax-search-badge--actu,
.stmax-search-page .stmax-search-badge--actualite,
.stmax-search-page .stmax-search-badge--post {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
}

.stmax-search-page .stmax-search-badge--agenda,
.stmax-search-page .stmax-search-badge--event {
	background-color: var(--stmax-menthe);
	color: var(--stmax-prune);
}

.stmax-search-page .stmax-search-badge--arrete,
.stmax-search-page .stmax-search-badge--document {
	background-color: var(--stmax-lilas);
	color: var(--stmax-prune);
}

.stmax-search-page .stmax-search-badge--asso,
.stmax-search-page .stmax-search-badge--annuaire,
.stmax-search-page .stmax-search-badge--elus {
	background-color: var(--stmax-prune);
	color: #FFFFFF;
}

.stmax-search-page .stmax-search-card .stmax-search-card-date {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--stmax-muted);
}

.stmax-search-page .stmax-search-card .stmax-search-card-title,
.stmax-search-page .stmax-search-card h2,
.stmax-search-page .stmax-search-card h3 {
	margin: 0;
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: 1.075rem;
	line-height: 1.32;
	color: var(--stmax-prune);
	text-wrap: pretty;
	overflow-wrap: break-word;
}

.stmax-search-page .stmax-search-card .stmax-search-card-title a,
.stmax-search-page .stmax-search-card h2 a,
.stmax-search-page .stmax-search-card h3 a {
	color: var(--stmax-prune);
	text-decoration: none;
}

.stmax-search-page .stmax-search-card .stmax-search-card-title a::after,
.stmax-search-page .stmax-search-card h2 a::after,
.stmax-search-page .stmax-search-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: var(--stmax-radius-lg);
}

.stmax-search-page .stmax-search-card .stmax-search-card-excerpt,
.stmax-search-page .stmax-search-card p {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--stmax-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

.stmax-search-page .stmax-search-card .stmax-search-card-meta,
.stmax-search-page .stmax-search-card .stmax-search-card-footer {
	margin-block-start: auto;
	padding-block-start: 0.65rem;
	border-block-start: 1px solid var(--stmax-border);
	inline-size: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 800;
	color: var(--stmax-prune);
}

.stmax-search-page .stmax-search-card .stmax-search-card-url {
	font-weight: 400;
	color: var(--stmax-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stmax-search-page .stmax-search-card .stmax-search-card-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 32px;
	block-size: 32px;
	border-radius: 9999px;
	background-color: var(--stmax-cream);
	color: var(--stmax-prune);
	flex-shrink: 0;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-search-page .stmax-search-card:hover {
		transform: translateY(-2px);
		border-color: var(--stmax-prune);
		box-shadow: var(--stmax-shadow-hover);
	}

	.stmax-search-page .stmax-search-card:hover .stmax-search-card-media img {
		transform: scale(1.03);
	}

	.stmax-search-page .stmax-search-card:hover .stmax-search-card-arrow {
		background-color: var(--stmax-jaune);
		transform: translateX(2px);
	}
}

.stmax-search-page .stmax-search-card:has(a:focus-visible) {
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
}

.stmax-search-page .stmax-search-card a:focus-visible {
	outline: none;
}

/* Pagination recherche */
.stmax-search-page .stmax-search-pagination,
.stmax-search-page .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin-block-start: 2.25rem;
}

.stmax-search-page :is(.stmax-search-pagination, .nav-links) :is(a, span.page-numbers) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 44px;
	min-block-size: 44px;
	padding: 0.5rem 0.9rem;
	border-radius: 9999px;
	border: 1px solid var(--stmax-border);
	background-color: var(--stmax-surface);
	color: var(--stmax-prune);
	font-weight: 800;
	font-size: 0.875rem;
	text-decoration: none;
}

.stmax-search-page :is(.stmax-search-pagination, .nav-links) .current {
	background-color: var(--stmax-jaune);
	border-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-search-page :is(.stmax-search-pagination, .nav-links) a:hover {
		background-color: var(--stmax-prune);
		border-color: var(--stmax-prune);
		color: #FFFFFF;
	}
}

/* État vide (.stmax-search-empty) & Accès populaires (.stmax-search-popular) */
.stmax-search-page .stmax-search-empty {
	max-inline-size: 720px;
	margin-inline: auto;
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem);
	background-color: var(--stmax-surface);
	border: 1px solid var(--stmax-border);
	border-radius: var(--stmax-radius-lg);
	box-shadow: var(--stmax-shadow-card);
	text-align: center;
}

.stmax-search-page .stmax-search-empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 56px;
	block-size: 56px;
	margin-block-end: 1rem;
	border-radius: 9999px;
	background-color: var(--stmax-cream);
	color: var(--stmax-prune);
}

.stmax-search-page .stmax-search-empty h2,
.stmax-search-page .stmax-search-empty-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 800;
	color: var(--stmax-prune);
}

.stmax-search-page .stmax-search-empty p {
	margin: 0 auto;
	max-inline-size: 48ch;
	font-size: 0.95rem;
	color: var(--stmax-muted);
}

.stmax-search-page .stmax-search-popular {
	margin-block-start: 2rem;
	padding-block-start: 1.5rem;
	border-block-start: 1px solid var(--stmax-border);
	text-align: center;
}

.stmax-search-page .stmax-search-popular-title,
.stmax-search-page .stmax-search-popular h2,
.stmax-search-page .stmax-search-popular h3 {
	margin: 0 0 0.9rem;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--stmax-muted);
}

.stmax-search-page .stmax-search-popular-list,
.stmax-search-page .stmax-search-popular-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.stmax-search-page .stmax-search-popular a,
.stmax-search-page .stmax-search-popular button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-block-size: 44px;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	background-color: var(--stmax-surface);
	border: 1px solid var(--stmax-border);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

.stmax-search-page .stmax-search-popular button:focus {
	background-color: var(--stmax-surface);
	border-color: var(--stmax-border);
	color: var(--stmax-prune);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-search-page .stmax-search-popular a:hover,
	.stmax-search-page .stmax-search-popular button:hover {
		background-color: var(--stmax-jaune);
		border-color: var(--stmax-jaune);
		color: var(--stmax-jaune-text);
		transform: translateY(-1px);
	}
}

/* ==========================================================================
   5. POPUP RECHERCHE GLOBALE — MAQUETTE PAGE 36 (.stmax-search-modal)
   ========================================================================== */
.stmax-search-modal[hidden],
dialog.stmax-search-modal:not([open]) {
	display: none;
}

.stmax-search-modal,
dialog.stmax-search-modal[open] {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	inline-size: 100%;
	max-inline-size: none;
	max-block-size: none;
	min-block-size: 100dvh;
	margin: 0;
	border: 0;
	padding:
		max(1rem, env(safe-area-inset-top))
		max(1rem, env(safe-area-inset-right))
		max(1.5rem, env(safe-area-inset-bottom))
		max(1rem, env(safe-area-inset-left));
	background: rgba(25, 10, 36, 0.72);
	backdrop-filter: blur(6px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

dialog.stmax-search-modal::backdrop {
	background: rgba(25, 10, 36, 0.72);
	backdrop-filter: blur(6px);
	overflow: hidden;
	overscroll-behavior: contain;
}

@media (min-width: 640px) {
	.stmax-search-modal,
	dialog.stmax-search-modal[open] {
		padding-block-start: clamp(3rem, 9vh, 6rem);
	}
}

.stmax-search-modal .stmax-search-modal-dialog {
	position: relative;
	inline-size: 100%;
	max-inline-size: 720px;
	margin-inline: auto;
	padding: clamp(1.35rem, 3.5vw, 2.25rem);
	border-radius: var(--stmax-radius-xl);
	background-color: var(--stmax-surface);
	border: 1px solid var(--stmax-border);
	color: var(--stmax-ink);
	box-shadow: var(--stmax-shadow-modal);
	transition:
		opacity var(--stmax-smooth) var(--stmax-ease),
		transform var(--stmax-smooth) var(--stmax-ease);
}

@media (prefers-reduced-motion: no-preference) {
	@starting-style {
		.stmax-search-modal:not([hidden]) .stmax-search-modal-dialog,
		dialog.stmax-search-modal[open] .stmax-search-modal-dialog {
			opacity: 0;
			transform: translateY(-10px) scale(0.985);
		}
	}
}

.stmax-search-modal .stmax-search-modal-header {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding-inline-end: 3.25rem;
}

.stmax-search-modal .stmax-search-modal-kicker {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stmax-muted);
}

.stmax-search-modal .stmax-search-modal-title,
.stmax-search-modal .stmax-search-modal-dialog h1,
.stmax-search-modal .stmax-search-modal-dialog h2 {
	margin: 0;
	padding-inline-end: 3.25rem;
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	line-height: 1.2;
	color: var(--stmax-prune);
	text-wrap: balance;
}

.stmax-search-modal .stmax-search-modal-header .stmax-search-modal-title,
.stmax-search-modal .stmax-search-modal-header h1,
.stmax-search-modal .stmax-search-modal-header h2 {
	padding-inline-end: 0;
}

.stmax-search-modal .stmax-search-modal-sub {
	margin: 0.35rem 0 0;
	font-size: 0.9375rem;
	color: var(--stmax-muted);
}

.stmax-search-modal button.stmax-search-modal-close[type="button"],
.stmax-search-modal button.stmax-search-modal-close,
.stmax-search-modal .stmax-search-modal-close {
	position: absolute;
	inset-block-start: clamp(1rem, 2.5vw, 1.5rem);
	inset-inline-end: clamp(1rem, 2.5vw, 1.5rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	min-inline-size: 44px;
	min-block-size: 44px;
	padding: 0;
	margin: 0;
	border-radius: 9999px;
	border: 1px solid var(--stmax-border);
	background-color: var(--stmax-cream);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

.stmax-search-modal button.stmax-search-modal-close[type="button"]:focus,
.stmax-search-modal button.stmax-search-modal-close:focus {
	background-color: var(--stmax-cream);
	border-color: var(--stmax-border);
	color: var(--stmax-prune);
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-search-modal button.stmax-search-modal-close[type="button"]:hover,
	.stmax-search-modal button.stmax-search-modal-close:hover {
		background-color: var(--stmax-jaune);
		border-color: var(--stmax-jaune);
		color: var(--stmax-jaune-text);
		transform: rotate(90deg);
	}
}

.stmax-search-modal button.stmax-search-modal-close[type="button"]:active,
.stmax-search-modal button.stmax-search-modal-close:active {
	background-color: var(--stmax-jaune);
	border-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	transform: scale(0.95);
}

.stmax-search-modal button.stmax-search-modal-close[type="button"]:focus-visible,
.stmax-search-modal button.stmax-search-modal-close:focus-visible {
	background-color: var(--stmax-jaune);
	border-color: var(--stmax-prune);
	color: var(--stmax-prune);
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
}

.stmax-search-modal .stmax-search-modal-dialog .stmax-search-form {
	max-inline-size: 100%;
	margin-block: 1.25rem 1.35rem;
}

.stmax-search-modal .stmax-search-modal-pills-wrap {
	padding-block-start: 1.125rem;
	border-block-start: 1px solid var(--stmax-border);
}

.stmax-search-modal .stmax-search-modal-pills-title,
.stmax-search-modal .stmax-search-modal-pills-label {
	margin: 0 0 0.65rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--stmax-muted);
}

.stmax-search-modal .stmax-search-modal-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.stmax-search-modal .stmax-search-modal-pills a,
.stmax-search-modal .stmax-search-modal-pills button,
.stmax-search-modal .stmax-search-modal-pills .stmax-search-modal-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-block-size: 44px;
	padding: 0.5rem 0.95rem;
	margin: 0;
	border-radius: 9999px;
	background-color: var(--stmax-cream);
	border: 1px solid var(--stmax-border);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

.stmax-search-modal .stmax-search-modal-pills button:focus {
	background-color: var(--stmax-cream);
	border-color: var(--stmax-border);
	color: var(--stmax-prune);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-search-modal .stmax-search-modal-pills a:hover,
	.stmax-search-modal .stmax-search-modal-pills button:hover,
	.stmax-search-modal .stmax-search-modal-pills .stmax-search-modal-pill:hover {
		background-color: var(--stmax-jaune);
		border-color: var(--stmax-jaune);
		color: var(--stmax-jaune-text);
		transform: translateY(-1px);
	}
}

.stmax-search-modal .stmax-search-modal-hint {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
	color: var(--stmax-muted);
}

/* ==========================================================================
   6. PAGE 404 OFFICIELLE (.stmax-404-page)
   ========================================================================== */
.stmax-404-page {
	background-color: var(--stmax-surface);
	color: var(--stmax-ink);
}

.stmax-404-page .stmax-404-hero {
	background-color: var(--stmax-cream);
	border-block-end: 1px solid var(--stmax-border);
	padding-block: clamp(1.625rem, 3.5vw, 2.75rem);
	padding-inline: clamp(1rem, 3vw, 1.5rem);
	text-align: center;
}

.stmax-404-page .stmax-404-hero-inner {
	inline-size: 100%;
	max-inline-size: 760px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.stmax-404-page .stmax-404-code,
.stmax-404-page .stmax-404-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.3rem 1.5rem;
	margin-block-end: 1.25rem;
	border-radius: 28px;
	background-color: var(--stmax-lilas);
	border: 2px solid rgba(56, 22, 75, 0.12);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: clamp(4.25rem, 11vw, 7.5rem);
	line-height: 0.95;
	letter-spacing: -0.04em;
	box-shadow: 0 10px 26px rgba(56, 22, 75, 0.08);
	user-select: none;
}

.stmax-404-page .stmax-404-hero h1,
.stmax-404-page .stmax-404-title {
	margin: 0 0 0.75rem;
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	line-height: 1.18;
	letter-spacing: -0.015em;
	color: var(--stmax-prune);
	text-wrap: balance;
}

.stmax-404-page .stmax-404-lead,
.stmax-404-page .stmax-404-desc,
.stmax-404-page .stmax-404-hero p {
	margin: 0 auto 1.5rem;
	max-inline-size: 56ch;
	font-size: clamp(0.95rem, 1.3vw, 1.075rem);
	line-height: 1.6;
	color: var(--stmax-muted);
	text-wrap: pretty;
}

.stmax-404-page .stmax-404-hero .stmax-search-form {
	max-inline-size: 580px;
	margin-inline: auto;
}

.stmax-404-page .stmax-404-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-block-start: 1.5rem;
}

.stmax-404-page .stmax-404-actions a.stmax-404-btn-home,
.stmax-404-page .stmax-404-actions a.stmax-404-btn-primary,
.stmax-404-page .stmax-404-actions a.stmax-404-btn--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-block-size: 46px;
	padding: 0.75rem 1.5rem;
	border-radius: 9999px;
	border: 1px solid var(--stmax-jaune);
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: 0.9375rem;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(56, 22, 75, 0.12);
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-404-page .stmax-404-actions a.stmax-404-btn-home:hover,
	.stmax-404-page .stmax-404-actions a.stmax-404-btn-primary:hover,
	.stmax-404-page .stmax-404-actions a.stmax-404-btn--primary:hover {
		background-color: var(--stmax-jaune-hover);
		border-color: var(--stmax-jaune-hover);
		color: var(--stmax-jaune-text);
		transform: translateY(-1px);
		box-shadow: 0 8px 20px rgba(56, 22, 75, 0.16);
	}
}

.stmax-404-page .stmax-404-actions a.stmax-404-btn-sitemap,
.stmax-404-page .stmax-404-actions a.stmax-404-btn-secondary,
.stmax-404-page .stmax-404-actions a.stmax-404-btn--secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-block-size: 46px;
	padding: 0.75rem 1.5rem;
	border-radius: 9999px;
	border: 1.5px solid var(--stmax-prune);
	background-color: var(--stmax-surface);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: 0.9375rem;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-404-page .stmax-404-actions a.stmax-404-btn-sitemap:hover,
	.stmax-404-page .stmax-404-actions a.stmax-404-btn-secondary:hover,
	.stmax-404-page .stmax-404-actions a.stmax-404-btn--secondary:hover {
		background-color: var(--stmax-prune);
		color: #FFFFFF;
		transform: translateY(-1px);
	}
}

/* Grille des 4 piliers officiels (.stmax-404-pillars) */
.stmax-404-page .stmax-404-section,
.stmax-404-page .stmax-404-pillars-wrap {
	inline-size: 100%;
	max-inline-size: 1200px;
	margin-inline: auto;
	padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1rem, 3vw, 1.5rem);
}

.stmax-404-page .stmax-404-pillars-heading,
.stmax-404-page .stmax-404-pillars-title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 800;
	color: var(--stmax-prune);
	text-align: center;
}

.stmax-404-page .stmax-404-pillars {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: stretch;
	inline-size: 100%;
	min-inline-size: 0;
}

@media (min-width: 640px) {
	.stmax-404-page .stmax-404-pillars {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.stmax-404-page .stmax-404-pillars {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.stmax-404-page .stmax-404-pillars a.stmax-404-pillar-card,
.stmax-404-page .stmax-404-pillars .stmax-404-pillar-card,
.stmax-404-page .stmax-404-pillars > a,
.stmax-404-page .stmax-404-pillars > article {
	position: relative;
	display: flex;
	flex-direction: column;
	min-inline-size: 0;
	padding: 1.35rem;
	gap: 0.6rem;
	background-color: var(--stmax-surface);
	border: 1px solid var(--stmax-border);
	border-radius: var(--stmax-radius-lg);
	box-shadow: var(--stmax-shadow-card);
	color: var(--stmax-ink);
	text-decoration: none;
	transition:
		transform var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease);
}

.stmax-404-page .stmax-404-pillar-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	border-radius: 12px;
	background-color: var(--stmax-jaune);
	color: var(--stmax-prune);
	flex-shrink: 0;
	margin-block-end: 0.25rem;
}

.stmax-404-page .stmax-404-pillars > :nth-child(2) .stmax-404-pillar-icon {
	background-color: var(--stmax-lilas);
}

.stmax-404-page .stmax-404-pillars > :nth-child(3) .stmax-404-pillar-icon {
	background-color: var(--stmax-menthe);
}

.stmax-404-page .stmax-404-pillars > :nth-child(4) .stmax-404-pillar-icon {
	background-color: var(--stmax-cream);
	border: 1px solid var(--stmax-border);
}

.stmax-404-page .stmax-404-pillars :is(h2, h3, .stmax-404-pillar-title) {
	margin: 0;
	font-size: 1.075rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--stmax-prune);
}

.stmax-404-page .stmax-404-pillars :is(p, .stmax-404-pillar-desc) {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--stmax-muted);
}

.stmax-404-page .stmax-404-pillar-link,
.stmax-404-page .stmax-404-pillar-cta {
	margin-block-start: auto;
	padding-block-start: 0.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 800;
	color: var(--stmax-prune);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-404-page .stmax-404-pillars a.stmax-404-pillar-card:hover,
	.stmax-404-page .stmax-404-pillars .stmax-404-pillar-card:hover,
	.stmax-404-page .stmax-404-pillars > a:hover,
	.stmax-404-page .stmax-404-pillars > article:hover {
		transform: translateY(-2px);
		border-color: var(--stmax-prune);
		box-shadow: var(--stmax-shadow-hover);
		color: var(--stmax-ink);
	}
}

/* ==========================================================================
   7. FOOTER OFFICIEL COMPLET (.stmax-global-footer)
   ========================================================================== */
.stmax-global-footer {
	background-color: var(--stmax-prune);
	color: #FFFFFF;
}

.stmax-global-footer a,
.stmax-global-footer a:visited,
.stmax-global-footer a:active {
	color: #FFFFFF;
	text-decoration: none;
	touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-global-footer a:hover {
		color: var(--stmax-jaune);
	}
}

.stmax-global-footer :is(button, a) {
	touch-action: manipulation;
}

/* Bandeau supérieur Appli Mobile + Newsletter (.stmax-footer-top) */
.stmax-global-footer .stmax-footer-top {
	background-color: rgba(255, 255, 255, 0.04);
	border-block-end: 1px solid rgba(255, 255, 255, 0.14);
	padding-block: clamp(1.5rem, 3.5vw, 2.25rem);
	padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.stmax-global-footer .stmax-footer-top-inner {
	inline-size: 100%;
	max-inline-size: 1200px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.stmax-global-footer .stmax-footer-top-inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		gap: 2.25rem;
	}
}

.stmax-global-footer .stmax-footer-app,
.stmax-global-footer .stmax-footer-newsletter {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	inline-size: 100%;
	min-inline-size: 0;
}

.stmax-global-footer .stmax-footer-newsletter {
	container-type: inline-size;
}

.stmax-global-footer .stmax-footer-top :is(h2, h3, .stmax-footer-top-title) {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.25;
	color: #FFFFFF;
}

.stmax-global-footer .stmax-footer-top p,
.stmax-global-footer .stmax-footer-col p:not(.stmax-footer-org),
.stmax-global-footer .stmax-footer-app-desc,
.stmax-global-footer .stmax-footer-newsletter-desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.88);
}

.stmax-global-footer .stmax-footer-app-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
}

.stmax-global-footer a.stmax-footer-store-btn,
.stmax-global-footer a.stmax-footer-app-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-block-size: 44px;
	padding: 0.55rem 1rem;
	border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.11);
	border: 1px solid rgba(255, 255, 255, 0.24);
	color: #FFFFFF;
	font-family: var(--stmax-font);
	font-weight: 700;
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-global-footer a.stmax-footer-store-btn:hover,
	.stmax-global-footer a.stmax-footer-app-btn:hover {
		background-color: var(--stmax-jaune);
		border-color: var(--stmax-jaune);
		color: var(--stmax-jaune-text);
		transform: translateY(-1px);
	}
}

.stmax-global-footer form.stmax-footer-newsletter-form,
.stmax-global-footer .stmax-footer-newsletter-form {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	inline-size: 100%;
	max-inline-size: 520px;
	min-inline-size: 0;
	padding: 0.3rem 0.3rem 0.3rem 1rem;
	border-radius: 9999px;
	background-color: var(--stmax-surface);
	border: 2px solid transparent;
	transition: border-color var(--stmax-fast) var(--stmax-ease);
}

.stmax-global-footer .stmax-footer-newsletter-form:focus-within {
	border-color: var(--stmax-jaune);
	box-shadow: 0 0 0 3px rgba(255, 245, 99, 0.35);
}

.stmax-global-footer .stmax-footer-newsletter-form input[type="email"],
.stmax-global-footer .stmax-footer-newsletter-form input[type="text"] {
	flex: 1 1 0%;
	min-inline-size: 0;
	inline-size: 100%;
	min-block-size: 42px;
	padding: 0.45rem 0.25rem;
	margin: 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	font-family: var(--stmax-font);
	font-size: 1rem;
	color: var(--stmax-ink);
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.stmax-global-footer .stmax-footer-newsletter-form input::placeholder {
	color: var(--stmax-muted);
	opacity: 0.85;
}

.stmax-global-footer .stmax-footer-newsletter-form input:focus,
.stmax-global-footer .stmax-footer-newsletter-form input:focus-visible {
	border: 0;
	outline: none;
	box-shadow: none;
}

@container (max-width: 319px) {
	.stmax-global-footer form.stmax-footer-newsletter-form,
	.stmax-global-footer .stmax-footer-newsletter-form {
		flex-direction: column;
		align-items: stretch;
		gap: 0.45rem;
		padding: 0.45rem;
		border-radius: 16px;
	}

	.stmax-global-footer .stmax-footer-newsletter-form input[type="email"],
	.stmax-global-footer .stmax-footer-newsletter-form input[type="text"] {
		padding: 0.45rem 0.6rem;
	}

	.stmax-global-footer .stmax-footer-newsletter-form button[type="submit"] {
		inline-size: 100%;
	}
}

.stmax-global-footer .stmax-footer-newsletter-form button[type="submit"],
.stmax-global-footer a.stmax-footer-newsletter-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-block-size: 44px;
	padding: 0.55rem 1.2rem;
	margin: 0;
	border: 0;
	border-radius: 9999px;
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	font-family: var(--stmax-font);
	font-weight: 800;
	font-size: 0.875rem;
	line-height: 1.2;
	white-space: nowrap;
	flex-shrink: 0;
	cursor: pointer;
	text-decoration: none;
	box-shadow: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

.stmax-global-footer .stmax-footer-newsletter-form button[type="submit"]:focus {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	border: 0;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-global-footer .stmax-footer-newsletter-form button[type="submit"]:hover,
	.stmax-global-footer a.stmax-footer-newsletter-cta:hover {
		background-color: var(--stmax-jaune-hover);
		color: var(--stmax-jaune-text);
		border: 0;
		transform: translateY(-1px);
	}
}

.stmax-global-footer .stmax-footer-newsletter-form button[type="submit"]:focus-visible,
.stmax-global-footer a.stmax-footer-newsletter-cta:focus-visible {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	outline: 3px solid var(--stmax-jaune);
	outline-offset: 2px;
}

/* Grille 4 colonnes desktop / 2 tablette / 1 mobile (.stmax-footer-grid) */
.stmax-global-footer .stmax-footer-grid {
	inline-size: 100%;
	max-inline-size: 1200px;
	margin-inline: auto;
	padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1rem, 3vw, 1.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

@media (min-width: 640px) {
	.stmax-global-footer .stmax-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 1.75rem;
	}
}

@media (min-width: 1024px) {
	.stmax-global-footer .stmax-footer-grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 2.25rem;
	}
}

.stmax-global-footer .stmax-footer-col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-inline-size: 0;
}

.stmax-global-footer .stmax-footer-col-title,
.stmax-global-footer .stmax-footer-heading,
.stmax-global-footer .stmax-footer-col h2,
.stmax-global-footer .stmax-footer-col h3 {
	margin: 0 0 0.25rem;
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stmax-jaune);
}

.stmax-global-footer .stmax-footer-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-block-end: 0.25rem;
}

.stmax-global-footer .stmax-footer-logo,
.stmax-global-footer .stmax-footer-brand img {
	display: block;
	max-block-size: 52px;
	inline-size: auto;
	block-size: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.stmax-global-footer .stmax-footer-org {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
	color: #FFFFFF;
}

.stmax-global-footer .stmax-footer-address,
.stmax-global-footer .stmax-footer-hours,
.stmax-global-footer .stmax-footer-meta {
	margin: 0;
	font-style: normal;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.stmax-global-footer .stmax-footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.stmax-global-footer .stmax-footer-contact-list a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-block-size: 36px;
	font-size: 0.9rem;
	font-weight: 700;
	color: #FFFFFF;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-global-footer .stmax-footer-contact-list a:hover {
		color: var(--stmax-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* Réseaux sociaux */
.stmax-global-footer .stmax-footer-socials,
.stmax-global-footer .stmax-footer-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin-block-start: 0.35rem;
}

.stmax-global-footer :is(.stmax-footer-socials, .stmax-footer-social) a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	min-inline-size: 44px;
	min-block-size: 44px;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.24);
	color: #FFFFFF;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-global-footer :is(.stmax-footer-socials, .stmax-footer-social) a:hover {
		background-color: var(--stmax-jaune);
		border-color: var(--stmax-jaune);
		color: var(--stmax-jaune-text);
		transform: translateY(-2px);
	}
}

/* Listes de navigation du footer */
.stmax-global-footer .stmax-footer-list,
.stmax-global-footer .stmax-footer-links,
.stmax-global-footer .stmax-footer-col ul:not(.stmax-footer-contact-list) {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.stmax-global-footer :is(.stmax-footer-list, .stmax-footer-links) a,
.stmax-global-footer .stmax-footer-col nav a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-block-size: 38px;
	padding-block: 0.25rem;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
	transition:
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

@media (pointer: coarse) {
	.stmax-global-footer :is(.stmax-footer-list, .stmax-footer-links) a,
	.stmax-global-footer .stmax-footer-col nav a,
	.stmax-global-footer .stmax-footer-contact-list a {
		min-block-size: 44px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.stmax-global-footer :is(.stmax-footer-list, .stmax-footer-links) a:hover,
	.stmax-global-footer .stmax-footer-col nav a:hover {
		color: var(--stmax-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
		transform: translateX(2px);
	}
}

/* Barre basse légale (.stmax-footer-bottom) */
.stmax-global-footer .stmax-footer-bottom {
	background-color: var(--stmax-prune-deep);
	border-block-start: 1px solid rgba(255, 255, 255, 0.14);
	padding-block: 1rem max(1rem, env(safe-area-inset-bottom));
	padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.stmax-global-footer .stmax-footer-bottom-inner {
	inline-size: 100%;
	max-inline-size: 1200px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}

@media (min-width: 900px) {
	.stmax-global-footer .stmax-footer-bottom-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
	}
}

.stmax-global-footer .stmax-footer-copy,
.stmax-global-footer .stmax-footer-copyright {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.78);
}

.stmax-global-footer .stmax-footer-legal,
.stmax-global-footer .stmax-footer-legal-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.stmax-global-footer :is(.stmax-footer-legal, .stmax-footer-legal-links) a {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	transition: color var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-global-footer :is(.stmax-footer-legal, .stmax-footer-legal-links) a:hover {
		color: var(--stmax-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* ==========================================================================
   8. RÉDUCTION DES MOUVEMENTS (prefers-reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.stmax-search-modal .stmax-search-modal-dialog {
		transition: none;
	}

	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit:hover,
	:is(.stmax-search-page, .stmax-search-modal, .stmax-404-page) .stmax-search-form button.stmax-search-submit:active,
	.stmax-search-page .stmax-search-card:hover,
	.stmax-search-page .stmax-search-card:hover .stmax-search-card-media img,
	.stmax-search-page .stmax-search-card:hover .stmax-search-card-arrow,
	.stmax-search-page .stmax-search-popular a:hover,
	.stmax-search-page .stmax-search-popular button:hover,
	.stmax-search-modal button.stmax-search-modal-close:hover,
	.stmax-search-modal button.stmax-search-modal-close:active,
	.stmax-search-modal .stmax-search-modal-pills a:hover,
	.stmax-search-modal .stmax-search-modal-pills button:hover,
	.stmax-404-page .stmax-404-actions a:hover,
	.stmax-404-page .stmax-404-pillars a.stmax-404-pillar-card:hover,
	.stmax-404-page .stmax-404-pillars .stmax-404-pillar-card:hover,
	.stmax-404-page .stmax-404-pillars > a:hover,
	.stmax-404-page .stmax-404-pillars > article:hover,
	.stmax-global-footer a.stmax-footer-store-btn:hover,
	.stmax-global-footer a.stmax-footer-app-btn:hover,
	.stmax-global-footer .stmax-footer-newsletter-form button[type="submit"]:hover,
	.stmax-global-footer a.stmax-footer-newsletter-cta:hover,
	.stmax-global-footer :is(.stmax-footer-socials, .stmax-footer-social) a:hover,
	.stmax-global-footer :is(.stmax-footer-list, .stmax-footer-links) a:hover,
	.stmax-global-footer .stmax-footer-col nav a:hover {
		transform: none;
	}
}

/* ==========================================================================
   9. MODALE AGENDA DU WEEK-END — FLUX CHRONOLOGIQUE UNIFIÉ (.stmax-wk-modal)
   ========================================================================== */
.stmax-wk-modal {
	--stmax-prune: #38164B;
	--stmax-prune-deep: #240C33;
	--stmax-jaune: #FFF563;
	--stmax-jaune-hover: #F5EA40;
	--stmax-jaune-text: #38164B;
	--stmax-lilas: #EFCBFF;
	--stmax-lavande-soft: #F7ECFC;
	--stmax-menthe: #9AFAB3;
	--stmax-cream: #FDFBF7;
	--stmax-bg: #FAF5FD;
	--stmax-surface: #FFFFFF;
	--stmax-ink: #1F1826;
	--stmax-muted: #5E4B6B;
	--stmax-muted-disabled: #756582;
	--stmax-border: #EAE4F0;
	--stmax-border-soft: #EAE4F0;
	--stmax-font: 'JUST Sans', 'Just Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--stmax-font-display: 'TT Ramillas', Georgia, 'Times New Roman', serif;
	--stmax-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--stmax-fast: 170ms;
	--stmax-smooth: 260ms;

	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding:
		max(16px, env(safe-area-inset-top))
		max(16px, env(safe-area-inset-right))
		max(16px, env(safe-area-inset-bottom))
		max(16px, env(safe-area-inset-left));
	font-family: var(--stmax-font);
	line-height: 1.5;
	color: var(--stmax-ink);
	box-sizing: border-box;
	overscroll-behavior: contain;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
}

.stmax-wk-modal *,
.stmax-wk-modal *::before,
.stmax-wk-modal *::after {
	box-sizing: border-box;
}

.stmax-wk-modal[hidden],
.stmax-wk-modal [hidden],
.stmax-wk-modal a.stmax-wk-card[hidden],
.stmax-wk-modal .stmax-wk-feed[hidden],
.stmax-wk-modal .stmax-wk-feed-empty[hidden] {
	display: none;
}

.stmax-wk-modal .stmax-wk-sr-only {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.stmax-wk-modal a {
	color: var(--stmax-prune);
	text-decoration: none;
	touch-action: manipulation;
}

.stmax-wk-modal a:visited,
.stmax-wk-modal a:active,
.stmax-wk-modal a:focus {
	color: var(--stmax-prune);
	text-decoration: none;
}

.stmax-wk-modal .stmax-wk-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(25, 10, 36, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	overflow: hidden;
	overscroll-behavior: contain;
}

.stmax-wk-modal .stmax-wk-dialog {
	position: relative;
	z-index: 1;
	inline-size: 100%;
	max-inline-size: 740px;
	min-inline-size: 0;
	min-block-size: 0;
	max-block-size: min(88vh, 780px);
	max-block-size: min(88dvh, 780px);
	display: flex;
	flex-direction: column;
	background: linear-gradient(to bottom, var(--stmax-prune, #38164B) 0 50%, var(--stmax-surface) 50% 100%);
	background-clip: padding-box;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(25, 10, 36, 0.35);
	transition:
		opacity var(--stmax-smooth) var(--stmax-ease),
		transform var(--stmax-smooth) var(--stmax-ease);
}

@media (prefers-reduced-motion: no-preference) {
	@starting-style {
		.stmax-wk-modal:not([hidden]) .stmax-wk-dialog {
			opacity: 0;
			transform: translateY(10px) scale(0.985);
		}
	}
}

/* En-tête Prune */
.stmax-wk-modal .stmax-wk-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-shrink: 0;
	padding: 20px;
	background-color: var(--stmax-prune);
	color: #FFFFFF;
}

@media (min-width: 640px) {
	.stmax-wk-modal .stmax-wk-header {
		padding: 24px 28px;
	}
}

.stmax-wk-modal .stmax-wk-header-left {
	min-inline-size: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.stmax-wk-modal .stmax-wk-eyebrow {
	display: inline-block;
	font-family: var(--stmax-font);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stmax-lilas);
}

#stmax-weekend-modal.stmax-wk-modal .stmax-wk-header h2.stmax-wk-title,
#stmax-weekend-modal .stmax-wk-title,
.stmax-wk-modal .stmax-wk-header h2.stmax-wk-title,
.stmax-wk-modal .stmax-wk-title {
	margin: 0;
	font-family: var(--stmax-font-display, 'TT Ramillas', Georgia, 'Times New Roman', serif);
	font-size: clamp(1.5rem, 1.15rem + 1.1vw, 1.85rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #FFFFFF;
	text-wrap: balance;
}

.stmax-wk-modal .stmax-wk-header-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}

.stmax-wk-modal .stmax-wk-date-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 9999px;
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 800;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.stmax-wk-modal .stmax-wk-total-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #FFFFFF;
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

/* Bouton fermer 44x44px (neutralisation stricte thème Hello Elementor) */
.stmax-wk-modal button.stmax-wk-close[type="button"],
.stmax-wk-modal button.stmax-wk-close,
.stmax-wk-modal .stmax-wk-close {
	flex: 0 0 44px;
	inline-size: 44px;
	block-size: 44px;
	min-inline-size: 44px;
	min-block-size: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.14);
	color: #FFFFFF;
	font-family: var(--stmax-font);
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

.stmax-wk-modal button.stmax-wk-close[type="button"]:focus,
.stmax-wk-modal button.stmax-wk-close:focus,
.stmax-wk-modal button.stmax-wk-close[type="button"]:hover,
.stmax-wk-modal button.stmax-wk-close:hover {
	background-color: rgba(255, 255, 255, 0.14);
	border: 0;
	color: #FFFFFF;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-wk-modal button.stmax-wk-close[type="button"]:hover,
	.stmax-wk-modal button.stmax-wk-close:hover {
		background-color: var(--stmax-jaune);
		border: 0;
		color: var(--stmax-jaune-text);
		transform: rotate(90deg);
	}
}

.stmax-wk-modal button.stmax-wk-close[type="button"]:active,
.stmax-wk-modal button.stmax-wk-close:active {
	background-color: var(--stmax-jaune);
	border: 0;
	color: var(--stmax-jaune-text);
	transform: scale(0.95);
}

.stmax-wk-modal button.stmax-wk-close[type="button"]:focus-visible,
.stmax-wk-modal button.stmax-wk-close:focus-visible {
	background-color: var(--stmax-jaune);
	border: 0;
	color: var(--stmax-jaune-text);
	outline: 3px solid var(--stmax-jaune);
	outline-offset: 2px;
	box-shadow: none;
}

/* Mini-barre de statut & filtres 3 jours sur 1 seule ligne */
.stmax-wk-modal .stmax-wk-daybar {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 10px 16px;
	background-color: var(--stmax-surface);
	border-block-end: 1px solid var(--stmax-border-soft);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	touch-action: pan-x pan-y;
}

.stmax-wk-modal .stmax-wk-daybar::-webkit-scrollbar {
	display: none;
}

@media (min-width: 560px) {
	.stmax-wk-modal .stmax-wk-daybar {
		flex-wrap: wrap;
		overflow-x: visible;
		gap: 8px;
	}
}

@media (min-width: 640px) {
	.stmax-wk-modal .stmax-wk-daybar {
		padding: 12px 28px;
	}
}

.stmax-wk-modal button.stmax-wk-daypill[type="button"],
.stmax-wk-modal button.stmax-wk-daypill,
.stmax-wk-modal .stmax-wk-daypill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-block-size: 44px;
	padding: 8px 12px;
	margin: 0;
	border: 1px solid var(--stmax-border);
	border-radius: 9999px;
	background-color: var(--stmax-bg);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

@media (min-width: 640px) {
	.stmax-wk-modal button.stmax-wk-daypill[type="button"],
	.stmax-wk-modal button.stmax-wk-daypill,
	.stmax-wk-modal .stmax-wk-daypill {
		padding: 8px 14px;
		font-size: 0.875rem;
	}
}

.stmax-wk-modal .stmax-wk-daypill-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 22px;
	block-size: 22px;
	padding-inline: 6px;
	border-radius: 9999px;
	background-color: var(--stmax-lilas);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 0.75rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease);
}

.stmax-wk-modal button.stmax-wk-daypill[type="button"]:focus,
.stmax-wk-modal button.stmax-wk-daypill:focus,
.stmax-wk-modal button.stmax-wk-daypill[type="button"]:hover,
.stmax-wk-modal button.stmax-wk-daypill:hover {
	background-color: var(--stmax-bg);
	border-color: var(--stmax-border);
	color: var(--stmax-prune);
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-wk-modal button.stmax-wk-daypill[type="button"]:not(:disabled):not(.is-empty):not(.is-active):hover,
	.stmax-wk-modal button.stmax-wk-daypill:not(:disabled):not(.is-empty):not(.is-active):hover {
		background-color: var(--stmax-lavande-soft);
		border-color: var(--stmax-prune);
		color: var(--stmax-prune);
	}
}

.stmax-wk-modal button.stmax-wk-daypill[type="button"]:not(:disabled):not(.is-empty):active,
.stmax-wk-modal button.stmax-wk-daypill:not(:disabled):not(.is-empty):active {
	transform: scale(0.97);
}

.stmax-wk-modal button.stmax-wk-daypill[type="button"]:is(.is-active, [aria-pressed="true"]),
.stmax-wk-modal button.stmax-wk-daypill:is(.is-active, [aria-pressed="true"]),
.stmax-wk-modal button.stmax-wk-daypill[type="button"]:is(.is-active, [aria-pressed="true"]):focus,
.stmax-wk-modal button.stmax-wk-daypill:is(.is-active, [aria-pressed="true"]):focus,
.stmax-wk-modal button.stmax-wk-daypill[type="button"]:is(.is-active, [aria-pressed="true"]):hover,
.stmax-wk-modal button.stmax-wk-daypill:is(.is-active, [aria-pressed="true"]):hover {
	background-color: var(--stmax-prune);
	border-color: var(--stmax-prune);
	color: #FFFFFF;
	box-shadow: none;
}

.stmax-wk-modal button.stmax-wk-daypill:is(.is-active, [aria-pressed="true"]) .stmax-wk-daypill-count {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
}

.stmax-wk-modal button.stmax-wk-daypill[type="button"]:is(:disabled, .is-empty),
.stmax-wk-modal button.stmax-wk-daypill:is(:disabled, .is-empty),
.stmax-wk-modal button.stmax-wk-daypill[type="button"]:is(:disabled, .is-empty):hover,
.stmax-wk-modal button.stmax-wk-daypill:is(:disabled, .is-empty):hover,
.stmax-wk-modal button.stmax-wk-daypill[type="button"]:is(:disabled, .is-empty):focus,
.stmax-wk-modal button.stmax-wk-daypill:is(:disabled, .is-empty):focus {
	background-color: #F6F3F9;
	border-color: var(--stmax-border);
	color: var(--stmax-muted-disabled);
	cursor: not-allowed;
	opacity: 1;
	box-shadow: none;
	transform: none;
}

.stmax-wk-modal button.stmax-wk-daypill:is(:disabled, .is-empty) .stmax-wk-daypill-count {
	background-color: var(--stmax-border);
	color: var(--stmax-muted-disabled);
}

.stmax-wk-modal button.stmax-wk-daypill[type="button"]:focus-visible,
.stmax-wk-modal button.stmax-wk-daypill:focus-visible {
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

/* Corps scrollable & Flux chronologique unifié */
.stmax-wk-modal .stmax-wk-body {
	padding: 18px 16px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	flex: 1 1 auto;
	min-block-size: 0;
	background-color: var(--stmax-bg);
}

@media (min-width: 640px) {
	.stmax-wk-modal .stmax-wk-body {
		padding: 22px 28px;
	}
}

.stmax-wk-modal .stmax-wk-feed {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
}

@media (min-width: 720px) {
	.stmax-wk-modal .stmax-wk-feed.stmax-wk-feed--multi {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}
}

/* Cartes événements */
.stmax-wk-modal a.stmax-wk-card {
	display: flex;
	gap: 12px;
	align-items: center;
	min-inline-size: 0;
	max-inline-size: 100%;
	padding: 12px;
	border-radius: 16px;
	border: 1px solid var(--stmax-border);
	background-color: var(--stmax-surface);
	text-decoration: none;
	color: var(--stmax-ink);
	touch-action: manipulation;
	transition:
		border-color var(--stmax-fast) var(--stmax-ease),
		background-color var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

@media (min-width: 560px) {
	.stmax-wk-modal a.stmax-wk-card {
		gap: 16px;
		padding: 14px 16px;
	}

	.stmax-wk-modal .stmax-wk-feed--multi a.stmax-wk-card {
		gap: 12px;
		padding: 12px 14px;
	}
}

.stmax-wk-modal a.stmax-wk-card:visited,
.stmax-wk-modal a.stmax-wk-card:focus,
.stmax-wk-modal a.stmax-wk-card:hover {
	border-color: var(--stmax-border);
	background-color: var(--stmax-surface);
	color: var(--stmax-ink);
	text-decoration: none;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-wk-modal a.stmax-wk-card:hover {
		border-color: var(--stmax-prune);
		background-color: var(--stmax-surface);
		color: var(--stmax-ink);
		text-decoration: none;
		box-shadow: 0 6px 18px rgba(56, 22, 75, 0.08);
	}
}

.stmax-wk-modal a.stmax-wk-card:active {
	border-color: var(--stmax-prune);
	background-color: var(--stmax-lavande-soft);
	color: var(--stmax-ink);
}

.stmax-wk-modal a.stmax-wk-card:focus-visible {
	border-color: var(--stmax-prune);
	background-color: var(--stmax-surface);
	color: var(--stmax-ink);
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

.stmax-wk-modal .stmax-wk-card-thumb {
	inline-size: 84px;
	block-size: 68px;
	flex: 0 0 84px;
	border-radius: 12px;
	overflow: hidden;
	background-color: var(--stmax-prune);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--stmax-jaune);
}

@media (min-width: 560px) {
	.stmax-wk-modal .stmax-wk-card-thumb {
		inline-size: 112px;
		block-size: 80px;
		flex: 0 0 112px;
	}

	.stmax-wk-modal .stmax-wk-feed--multi .stmax-wk-card-thumb {
		inline-size: 96px;
		block-size: 72px;
		flex: 0 0 96px;
	}
}

.stmax-wk-modal .stmax-wk-card-thumb img {
	inline-size: 100%;
	block-size: 100%;
	max-inline-size: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.stmax-wk-modal .stmax-wk-card-thumb svg {
	inline-size: 24px;
	block-size: 24px;
	display: block;
	flex-shrink: 0;
}

.stmax-wk-modal .stmax-wk-card-content {
	min-inline-size: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stmax-wk-modal .stmax-wk-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	align-items: center;
	line-height: 1.3;
}

.stmax-wk-modal .stmax-wk-card-time {
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
}

.stmax-wk-modal .stmax-wk-card-cat {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 9999px;
	background-color: var(--stmax-lilas);
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.25;
}

.stmax-wk-modal .stmax-wk-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.32;
	text-wrap: pretty;
	overflow-wrap: break-word;
}

@media (min-width: 560px) {
	.stmax-wk-modal .stmax-wk-card-title {
		font-size: 1.0625rem;
	}

	.stmax-wk-modal .stmax-wk-feed--multi .stmax-wk-card-title {
		font-size: 1rem;
	}
}

.stmax-wk-modal .stmax-wk-card-place {
	display: block;
	max-inline-size: 100%;
	color: var(--stmax-muted);
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stmax-wk-modal .stmax-wk-card-arrow {
	flex: 0 0 auto;
	color: var(--stmax-prune);
	font-family: var(--stmax-font);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1;
	opacity: 0.65;
	transition:
		transform var(--stmax-fast) var(--stmax-ease),
		opacity var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-wk-modal a.stmax-wk-card:hover .stmax-wk-card-arrow {
		opacity: 1;
		transform: translateX(3px);
	}
}

/* États vides & Prochains rendez-vous */
.stmax-wk-modal .stmax-wk-empty {
	background-color: var(--stmax-surface);
	border: 1px solid var(--stmax-border);
	border-radius: 18px;
	padding: 22px;
	text-align: center;
}

.stmax-wk-modal .stmax-wk-empty h3 {
	margin: 0 0 8px;
	font-family: var(--stmax-font);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--stmax-prune);
}

.stmax-wk-modal .stmax-wk-empty p {
	margin: 0;
	max-inline-size: 54ch;
	margin-inline: auto;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--stmax-muted);
}

.stmax-wk-modal h3.stmax-wk-upcoming-title,
.stmax-wk-modal .stmax-wk-upcoming-title {
	margin: 20px 0 12px;
	font-family: var(--stmax-font);
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--stmax-prune);
}

.stmax-wk-modal .stmax-wk-upcoming-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

/* Pied de modale */
.stmax-wk-modal .stmax-wk-footer {
	flex-shrink: 0;
	padding: 14px 16px;
	background-color: var(--stmax-surface);
	border-block-start: 1px solid var(--stmax-border-soft);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

@media (min-width: 640px) {
	.stmax-wk-modal .stmax-wk-footer {
		padding: 16px 28px;
	}
}

.stmax-wk-modal label.stmax-wk-asso-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-block-size: 44px;
	padding-block: 4px;
	margin: 0;
	font-family: var(--stmax-font);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--stmax-prune);
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}

.stmax-wk-modal label.stmax-wk-asso-toggle input[type="checkbox"] {
	inline-size: 18px;
	block-size: 18px;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	accent-color: var(--stmax-prune);
	cursor: pointer;
}

.stmax-wk-modal label.stmax-wk-asso-toggle input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

.stmax-wk-modal .stmax-wk-footer-note {
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--stmax-muted);
}

.stmax-wk-modal a.stmax-wk-all-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	inline-size: 100%;
	min-block-size: 44px;
	padding: 12px 22px;
	border: 0;
	border-radius: 9999px;
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	font-family: var(--stmax-font);
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	touch-action: manipulation;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

@media (min-width: 520px) {
	.stmax-wk-modal a.stmax-wk-all-btn {
		inline-size: auto;
	}
}

.stmax-wk-modal a.stmax-wk-all-btn :is(span, svg, i) {
	color: inherit;
}

.stmax-wk-modal a.stmax-wk-all-btn svg:not([fill="none"]) {
	fill: currentColor;
}

.stmax-wk-modal a.stmax-wk-all-btn:visited,
.stmax-wk-modal a.stmax-wk-all-btn:focus {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	text-decoration: none;
}

.stmax-wk-modal a.stmax-wk-all-btn:focus-visible {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-wk-modal a.stmax-wk-all-btn:is(:hover, :visited:hover, :focus:hover, :focus-visible:hover) {
		background-color: var(--stmax-prune);
		color: #FFFFFF;
		opacity: 1;
		text-decoration: none;
	}
}

.stmax-wk-modal a.stmax-wk-all-btn:is(:active, :visited:active, :focus:active, :focus-visible:active, :hover:active) {
	background-color: var(--stmax-prune);
	color: #FFFFFF;
	opacity: 1;
	transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
	.stmax-wk-modal .stmax-wk-dialog,
	.stmax-wk-modal button.stmax-wk-close,
	.stmax-wk-modal button.stmax-wk-daypill,
	.stmax-wk-modal .stmax-wk-daypill-count,
	.stmax-wk-modal a.stmax-wk-card,
	.stmax-wk-modal .stmax-wk-card-arrow,
	.stmax-wk-modal a.stmax-wk-all-btn {
		transition: none;
	}

	.stmax-wk-modal button.stmax-wk-close:hover,
	.stmax-wk-modal button.stmax-wk-close:active,
	.stmax-wk-modal button.stmax-wk-daypill:active,
	.stmax-wk-modal a.stmax-wk-card:hover .stmax-wk-card-arrow,
	.stmax-wk-modal a.stmax-wk-all-btn:is(:hover, :visited:hover, :focus:hover, :focus-visible:hover, :active, :visited:active, :focus:active, :focus-visible:active, :hover:active) {
		transform: none;
	}
}

/* ==========================================================================
   9b. MODALE APPLICATION OFFICIELLE (#stmax-app-modal / .stmax-app-modal)
   ========================================================================== */
:is(#stmax-app-modal, .stmax-app-modal) {
	--stmax-prune: #38164B;
	--stmax-prune-light: #491E61;
	--stmax-prune-hover: #4D2166;
	--stmax-prune-active: #2A0F39;
	--stmax-jaune: #FFF563;
	--stmax-surface: #FFFFFF;
	--stmax-ico-bg: #F4F0F8;
	--stmax-notice-bg: #FDFBF7;
	--stmax-notice-hi-bg: #FEF9C3;
	--stmax-ink: #2B1B36;
	--stmax-muted: #5E4B6B;
	--stmax-border-soft: #EAE4F0;
	--stmax-font: 'JUST Sans', 'Just Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--stmax-font-display: 'TT Ramillas', Georgia, 'Times New Roman', serif;
	--stmax-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--stmax-fast: 170ms;
	--stmax-smooth: 260ms;

	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding:
		max(16px, env(safe-area-inset-top))
		max(16px, env(safe-area-inset-right))
		max(16px, env(safe-area-inset-bottom))
		max(16px, env(safe-area-inset-left));
	font-family: var(--stmax-font);
	line-height: 1.5;
	color: var(--stmax-ink);
	box-sizing: border-box;
	overscroll-behavior: contain;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
}

:is(#stmax-app-modal, .stmax-app-modal) *,
:is(#stmax-app-modal, .stmax-app-modal) *::before,
:is(#stmax-app-modal, .stmax-app-modal) *::after {
	box-sizing: border-box;
}

:is(#stmax-app-modal, .stmax-app-modal)[hidden],
:is(#stmax-app-modal, .stmax-app-modal) [hidden] {
	display: none;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(25, 10, 36, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	overflow: hidden;
	overscroll-behavior: contain;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-dialog {
	position: relative;
	z-index: 1;
	inline-size: 100%;
	max-inline-size: 520px;
	min-inline-size: 0;
	min-block-size: 0;
	max-block-size: calc(100vh - max(32px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
	max-block-size: calc(100dvh - max(32px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
	display: flex;
	flex-direction: column;
	background: linear-gradient(to bottom, var(--stmax-prune) 0 50%, var(--stmax-surface) 50% 100%);
	background-clip: padding-box;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(25, 10, 36, 0.35);
	transition:
		opacity var(--stmax-smooth) var(--stmax-ease),
		transform var(--stmax-smooth) var(--stmax-ease);
}

@media (prefers-reduced-motion: no-preference) {
	@starting-style {
		:is(#stmax-app-modal, .stmax-app-modal):not([hidden]) .stmax-app-dialog {
			opacity: 0;
			transform: translateY(10px) scale(0.985);
		}
	}
}

/* En-tête Prune */
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-shrink: 0;
	padding: 20px 20px 18px;
	background-color: var(--stmax-prune);
	background-image: linear-gradient(135deg, var(--stmax-prune) 0%, var(--stmax-prune-light) 100%);
	color: #FFFFFF;
}

@media (min-width: 420px) {
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-header {
		padding: 24px 24px 20px;
	}
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-header-left {
	min-inline-size: 0;
	flex: 1 1 auto;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-eyebrow {
	display: block;
	font-family: var(--stmax-font);
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stmax-jaune);
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-header h2.stmax-app-title,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-title,
#stmax-app-modal .stmax-app-title {
	margin: 4px 0 6px;
	font-family: var(--stmax-font-display, 'TT Ramillas', Georgia, 'Times New Roman', serif);
	font-size: clamp(1.3rem, 1.05rem + 1vw, 1.55rem);
	font-weight: 500;
	line-height: 1.16;
	letter-spacing: -0.015em;
	color: #FFFFFF;
	text-wrap: balance;
}

:is(#stmax-app-modal, .stmax-app-modal) p.stmax-app-sub,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-sub {
	margin: 0;
	font-family: var(--stmax-font);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.85);
	text-wrap: pretty;
}

/* Bouton fermer 40x40px (hitbox >= 48px via ::after, 44px tactile) */
:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close[type="button"],
:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-close {
	position: relative;
	flex: 0 0 40px;
	inline-size: 40px;
	block-size: 40px;
	min-inline-size: 40px;
	min-block-size: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.14);
	color: #FFFFFF;
	line-height: 1;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 9999px;
}

@media (pointer: coarse) {
	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close[type="button"],
	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close,
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-close {
		flex: 0 0 44px;
		inline-size: 44px;
		block-size: 44px;
		min-inline-size: 44px;
		min-block-size: 44px;
	}
}

:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close[type="button"]:focus,
:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:focus,
:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close[type="button"]:hover,
:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:hover {
	background-color: rgba(255, 255, 255, 0.14);
	border: 0;
	color: #FFFFFF;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close[type="button"]:hover,
	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:hover {
		background-color: rgba(255, 255, 255, 0.24);
		border: 0;
		color: #FFFFFF;
	}
}

:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close[type="button"]:active,
:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:active {
	background-color: rgba(255, 255, 255, 0.3);
	border: 0;
	color: #FFFFFF;
	transform: scale(0.95);
}

:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close[type="button"]:focus:not(:focus-visible),
:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:focus:not(:focus-visible) {
	outline: none;
}

:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close[type="button"]:focus-visible,
:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:focus-visible {
	background-color: rgba(255, 255, 255, 0.24);
	border: 0;
	color: #FFFFFF;
	outline: 3px solid var(--stmax-jaune);
	outline-offset: 2px;
	box-shadow: none;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-close svg {
	inline-size: 20px;
	block-size: 20px;
	display: block;
	flex-shrink: 0;
	pointer-events: none;
}

/* Corps blanc & avantages */
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-body {
	padding: 20px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1 1 auto;
	min-block-size: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	background-color: var(--stmax-surface);
}

@media (min-width: 420px) {
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-body {
		padding: 22px 24px 24px;
		gap: 18px;
	}
}

:is(#stmax-app-modal, .stmax-app-modal) ul.stmax-app-features,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

:is(#stmax-app-modal, .stmax-app-modal) li.stmax-app-feature,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-feature {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-family: var(--stmax-font);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--stmax-ink);
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-feature > span:last-child {
	min-inline-size: 0;
	flex: 1 1 auto;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-feature strong {
	color: var(--stmax-prune);
	font-weight: 700;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-feature__ico {
	flex: 0 0 36px;
	inline-size: 36px;
	block-size: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background-color: var(--stmax-ico-bg);
	color: var(--stmax-prune);
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-feature__ico svg {
	inline-size: 18px;
	block-size: 18px;
	display: block;
	flex-shrink: 0;
}

/* Bloc téléchargement (QR code desktop >= 769px + boutons stores iOS & Android) */
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-download {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	align-items: center;
}

:is(#stmax-app-modal, .stmax-app-modal) figure.stmax-app-qr-card,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-qr-card {
	margin: 0;
	padding: 12px;
	border-radius: 14px;
	border: 1px solid var(--stmax-border-soft);
	background-color: var(--stmax-surface);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

:is(#stmax-app-modal, .stmax-app-modal) img.stmax-app-qr-img,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-qr-img {
	display: block;
	inline-size: 160px;
	block-size: 160px;
	max-inline-size: 100%;
	border-radius: 8px;
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-qr-caption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-inline-size: 0;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-qr-title {
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.28;
	color: var(--stmax-prune);
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-qr-sub {
	font-family: var(--stmax-font);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.25;
	color: var(--stmax-muted);
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-stores {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

@media (min-width: 420px) and (max-width: 768px) {
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-stores {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	:is(#stmax-app-modal, .stmax-app-modal) figure.stmax-app-qr-card,
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-qr-card {
		display: none;
	}
}

@media (min-width: 769px) {
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-dialog {
		max-inline-size: 580px;
	}

	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-download {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 18px;
		align-items: center;
		padding: 14px;
		border-radius: 18px;
		background-color: #FAF5FD;
		border: 1px solid var(--stmax-border-soft);
	}

	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-stores {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		align-content: center;
	}
}

:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store,
:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:visited,
:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:focus,
:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:hover {
	display: flex;
	align-items: center;
	gap: 12px;
	inline-size: 100%;
	min-inline-size: 0;
	min-block-size: 54px;
	padding: 10px 14px;
	border: 1px solid transparent;
	border-radius: 14px;
	background-color: var(--stmax-prune);
	color: #FFFFFF;
	font-family: var(--stmax-font);
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(56, 22, 75, 0.14);
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:hover {
		background-color: var(--stmax-prune-hover);
		color: #FFFFFF;
		text-decoration: none;
		transform: translateY(-1px);
		box-shadow: 0 8px 18px rgba(56, 22, 75, 0.22);
	}
}

:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:active {
	background-color: var(--stmax-prune-active);
	color: #FFFFFF;
	text-decoration: none;
	transform: scale(0.98);
	box-shadow: none;
}

:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:focus:not(:focus-visible) {
	outline: none;
}

:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:focus-visible {
	background-color: var(--stmax-prune-hover);
	color: #FFFFFF;
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-store__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 26px;
	block-size: 26px;
	flex-shrink: 0;
	color: var(--stmax-jaune);
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-store__icon svg {
	display: block;
	flex-shrink: 0;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-store__text {
	min-inline-size: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-store__small {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.78);
}

:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-store__name {
	display: block;
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.2;
	color: #FFFFFF;
}

/* Notice de pré-publication */
:is(#stmax-app-modal, .stmax-app-modal) p.stmax-app-notice,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-notice {
	margin: 0;
	padding: 10px 14px;
	border-radius: 10px;
	background-color: var(--stmax-notice-bg);
	border: 1px solid var(--stmax-border-soft);
	color: var(--stmax-muted);
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease);
}

:is(#stmax-app-modal, .stmax-app-modal) p.stmax-app-notice.is-highlighted,
:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-notice.is-highlighted {
	background-color: var(--stmax-notice-hi-bg);
	border-color: var(--stmax-prune);
	color: var(--stmax-prune);
	box-shadow: 0 0 0 2px rgba(56, 22, 75, 0.16);
}

@media (forced-colors: active) {
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-dialog {
		border: 2px solid CanvasText;
	}

	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-header {
		border-block-end: 1px solid CanvasText;
	}

	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close,
	:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store,
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-feature__ico,
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-qr-card,
	:is(#stmax-app-modal, .stmax-app-modal) p.stmax-app-notice {
		border: 1px solid ButtonText;
	}

	:is(#stmax-app-modal, .stmax-app-modal) img.stmax-app-qr-img {
		forced-color-adjust: none;
		background-color: #FFFFFF;
	}

	:is(#stmax-app-modal, .stmax-app-modal) p.stmax-app-notice.is-highlighted {
		border: 2px solid Highlight;
	}

	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:focus-visible,
	:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:focus-visible {
		outline: 3px solid Highlight;
	}
}

@media (prefers-reduced-motion: reduce) {
	:is(#stmax-app-modal, .stmax-app-modal) .stmax-app-dialog,
	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close,
	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:is(:focus, :hover, :active, :focus-visible),
	:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store,
	:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:is(:visited, :focus, :hover, :active, :focus-visible),
	:is(#stmax-app-modal, .stmax-app-modal) p.stmax-app-notice,
	:is(#stmax-app-modal, .stmax-app-modal) p.stmax-app-notice.is-highlighted {
		transition: none;
	}

	:is(#stmax-app-modal, .stmax-app-modal) button.stmax-app-close:active,
	:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:hover,
	:is(#stmax-app-modal, .stmax-app-modal) a.stmax-app-store:active {
		transform: none;
	}
}

@media print {
	:is(#stmax-app-modal, .stmax-app-modal) {
		display: none;
	}
}

/* ==========================================================================
   9c. MODALE NEWSLETTER MUNICIPALE (#stmax-newsletter-modal / .stmax-nl-modal)
   ========================================================================== */
:is(#stmax-newsletter-modal, .stmax-nl-modal) {
	--stmax-prune: #38164B;
	--stmax-prune-light: #491E61;
	--stmax-prune-hover: #4D2166;
	--stmax-prune-active: #2A0F39;
	--stmax-jaune: #FFF563;
	--stmax-jaune-hover: #F5EA40;
	--stmax-jaune-text: #38164B;
	--stmax-jaune-disabled: #FAF299;
	--stmax-menthe: #9AFAB3;
	--stmax-surface: #FFFFFF;
	--stmax-ink: #2B1B36;
	--stmax-muted: #5E4B6B;
	--stmax-border-soft: #EAE4F0;
	--stmax-border-input: #8F809C;
	--stmax-success-bg: #CCFCE0;
	--stmax-success-border: #2D8A4E;
	--stmax-success-accent: #1E6F3C;
	--stmax-success-ink: #0F3A21;
	--stmax-error-bg: #FDECEC;
	--stmax-error-border: #DC5A5A;
	--stmax-error-accent: #B42318;
	--stmax-error-ink: #7A1712;
	--stmax-font: 'JUST Sans', 'Just Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--stmax-font-display: 'TT Ramillas', Georgia, 'Times New Roman', serif;
	--stmax-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--stmax-fast: 170ms;
	--stmax-smooth: 260ms;

	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding:
		max(12px, env(safe-area-inset-top))
		max(12px, env(safe-area-inset-right))
		max(12px, env(safe-area-inset-bottom))
		max(12px, env(safe-area-inset-left));
	font-family: var(--stmax-font);
	line-height: 1.5;
	color: var(--stmax-ink);
	box-sizing: border-box;
	overscroll-behavior: contain;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
}

@media (min-width: 640px) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) {
		padding:
			max(16px, env(safe-area-inset-top))
			max(16px, env(safe-area-inset-right))
			max(16px, env(safe-area-inset-bottom))
			max(16px, env(safe-area-inset-left));
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) *,
:is(#stmax-newsletter-modal, .stmax-nl-modal) *::before,
:is(#stmax-newsletter-modal, .stmax-nl-modal) *::after {
	box-sizing: border-box;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal)[hidden],
:is(#stmax-newsletter-modal, .stmax-nl-modal) [hidden],
:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback[hidden],
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-feedback[hidden] {
	display: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(25, 10, 36, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	overflow: hidden;
	overscroll-behavior: contain;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-dialog {
	position: relative;
	z-index: 1;
	inline-size: 100%;
	max-inline-size: 520px;
	min-inline-size: 0;
	min-block-size: 0;
	max-block-size: calc(100vh - max(24px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
	max-block-size: calc(100dvh - max(24px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
	display: flex;
	flex-direction: column;
	background: linear-gradient(to bottom, var(--stmax-prune) 0 50%, var(--stmax-surface) 50% 100%);
	background-clip: padding-box;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(25, 10, 36, 0.35);
	transition:
		opacity var(--stmax-smooth) var(--stmax-ease),
		transform var(--stmax-smooth) var(--stmax-ease);
}

@media (min-width: 640px) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-dialog {
		max-block-size: calc(100vh - max(32px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
		max-block-size: calc(100dvh - max(32px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
	}
}

@media (prefers-reduced-motion: no-preference) {
	@starting-style {
		:is(#stmax-newsletter-modal, .stmax-nl-modal):not([hidden]) .stmax-nl-dialog {
			opacity: 0;
			transform: translateY(10px) scale(0.985);
		}
	}
}

/* En-tête Prune */
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	flex-shrink: 0;
	padding: 18px 18px 16px;
	background-color: var(--stmax-prune);
	background-image: linear-gradient(135deg, var(--stmax-prune) 0%, var(--stmax-prune-light) 100%);
	color: #FFFFFF;
}

@media (min-width: 640px) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-header {
		gap: 16px;
		padding: 24px 24px 20px;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-header-left {
	min-inline-size: 0;
	flex: 1 1 auto;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-eyebrow {
	display: block;
	font-family: var(--stmax-font);
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stmax-jaune);
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-header h2.stmax-nl-title,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-title {
	margin: 4px 0 6px;
	padding: 0;
	font-family: var(--stmax-font);
	font-size: clamp(1.2rem, 3.8vw, 1.375rem);
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: normal;
	color: #FFFFFF;
	text-wrap: balance;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-sub,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-sub {
	margin: 0;
	padding: 0;
	font-family: var(--stmax-font);
	font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
	text-wrap: pretty;
}

/* Bouton fermer 40x40px (hitbox >= 48px via ::after, 44px tactile) */
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close[type="button"],
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-close {
	position: relative;
	flex: 0 0 40px;
	inline-size: 40px;
	block-size: 40px;
	min-inline-size: 40px;
	min-block-size: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.14);
	color: #FFFFFF;
	line-height: 1;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 9999px;
}

@media (pointer: coarse) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close[type="button"],
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-close {
		flex: 0 0 44px;
		inline-size: 44px;
		block-size: 44px;
		min-inline-size: 44px;
		min-block-size: 44px;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close[type="button"]:focus,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:focus,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close[type="button"]:hover,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:hover {
	background-color: rgba(255, 255, 255, 0.14);
	border: 0;
	color: #FFFFFF;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close[type="button"]:hover,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:hover {
		background-color: rgba(255, 255, 255, 0.24);
		border: 0;
		color: #FFFFFF;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close[type="button"]:active,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:active {
	background-color: rgba(255, 255, 255, 0.3);
	border: 0;
	color: #FFFFFF;
	transform: scale(0.95);
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close[type="button"]:focus:not(:focus-visible),
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:focus:not(:focus-visible) {
	outline: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close[type="button"]:focus-visible,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:focus-visible {
	background-color: rgba(255, 255, 255, 0.24);
	border: 0;
	color: #FFFFFF;
	outline: 3px solid var(--stmax-jaune);
	outline-offset: 2px;
	box-shadow: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-close svg {
	inline-size: 20px;
	block-size: 20px;
	display: block;
	flex-shrink: 0;
	pointer-events: none;
}

/* Corps blanc & formulaire */
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-block-size: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	background-color: var(--stmax-surface);
}

@media (min-width: 640px) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-body {
		padding: 22px 24px 24px;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) form.stmax-nl-form,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-form {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) form.stmax-nl-form,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-form {
		gap: 16px;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	min-inline-size: 0;
	margin: 0;
	padding: 0;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-label,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-label {
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding: 0;
	font-family: var(--stmax-font);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--stmax-prune);
	cursor: pointer;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input[type="email"],
:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-input {
	display: block;
	inline-size: 100%;
	max-inline-size: 100%;
	min-inline-size: 0;
	min-block-size: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid var(--stmax-border-input);
	border-radius: 12px;
	background-color: var(--stmax-surface);
	color: var(--stmax-ink);
	font-family: var(--stmax-font);
	font-size: max(1rem, 1em);
	font-weight: 500;
	line-height: 1.4;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition:
		border-color var(--stmax-fast) var(--stmax-ease),
		background-color var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease);
}

@media (pointer: coarse) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input[type="email"],
	:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-input {
		min-block-size: 52px;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input::placeholder {
	color: #6B5B78;
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input:hover {
		border-color: var(--stmax-prune);
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input:focus {
	border-color: var(--stmax-prune);
	background-color: var(--stmax-surface);
	color: var(--stmax-ink);
	box-shadow: 0 0 0 3px rgba(255, 245, 99, 0.75);
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input:focus:not(:focus-visible) {
	outline: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input:focus-visible {
	border-color: var(--stmax-prune);
	background-color: var(--stmax-surface);
	color: var(--stmax-ink);
	box-shadow: 0 0 0 3px var(--stmax-jaune);
	outline: 3px solid var(--stmax-prune);
	outline-offset: 3px;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input:user-invalid {
	border-color: var(--stmax-error-accent);
	background-color: var(--stmax-error-bg);
}

/* Champ honeypot anti-spam hors flux */
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
}

/* Consentement RGPD */
:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 4px 0;
	min-block-size: 44px;
	font-family: var(--stmax-font);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.48;
	color: var(--stmax-ink);
	cursor: pointer;
	touch-action: manipulation;
}

@media (min-width: 640px) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-consent {
		font-size: 0.84375rem;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent input[type="checkbox"] {
	inline-size: 20px;
	block-size: 20px;
	min-inline-size: 20px;
	min-block-size: 20px;
	margin: 2px 0 0;
	padding: 0;
	flex-shrink: 0;
	accent-color: var(--stmax-prune);
	border-radius: 5px;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-appearance: auto;
	appearance: auto;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent input[type="checkbox"]:focus:not(:focus-visible) {
	outline: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent > span {
	min-inline-size: 0;
	flex: 1 1 auto;
	text-wrap: pretty;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a,
:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a:visited,
:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a:focus,
:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a:active {
	position: relative;
	z-index: 1;
	color: var(--stmax-prune);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	border-radius: 3px;
	background-color: transparent;
	touch-action: manipulation;
	transition:
		color var(--stmax-fast) var(--stmax-ease),
		background-color var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a:hover {
		color: var(--stmax-prune-hover);
		text-decoration: underline;
		text-decoration-thickness: 2px;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a:focus:not(:focus-visible) {
	outline: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a:focus-visible {
	color: var(--stmax-prune);
	background-color: rgba(255, 245, 99, 0.55);
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

/* Bandeau de retour validation / Brevo */
:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-feedback {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--stmax-border-soft);
	border-inline-start-width: 4px;
	background-color: #FAF8FC;
	color: var(--stmax-ink);
	font-family: var(--stmax-font);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.45;
	text-wrap: pretty;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback.is-success,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-feedback.is-success {
	background-color: var(--stmax-success-bg);
	background-color: color-mix(in oklab, var(--stmax-menthe) 52%, #FFFFFF);
	border-color: var(--stmax-success-border);
	border-inline-start-color: var(--stmax-success-accent);
	color: var(--stmax-success-ink);
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback.is-success::before,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-feedback.is-success::before {
	content: "";
	flex: 0 0 12px;
	inline-size: 12px;
	block-size: 7px;
	margin-block-start: 5px;
	border-inline-start: 2.5px solid currentColor;
	border-block-end: 2.5px solid currentColor;
	transform: rotate(-45deg);
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback.is-error,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-feedback.is-error {
	background-color: var(--stmax-error-bg);
	border-color: var(--stmax-error-border);
	border-inline-start-color: var(--stmax-error-accent);
	color: var(--stmax-error-ink);
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback.is-error::before,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-feedback.is-error::before {
	content: "";
	flex: 0 0 12px;
	inline-size: 12px;
	block-size: 12px;
	margin-block-start: 4px;
	background-color: currentColor;
	clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}

/* Bouton CTA principal (#FFF563 / #38164B, WCAG AAA) */
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"],
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit,
:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	inline-size: 100%;
	min-inline-size: 0;
	min-block-size: 48px;
	margin: 2px 0 0;
	padding: 13px 18px;
	border: 1.5px solid transparent;
	border-radius: 14px;
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	font-family: var(--stmax-font);
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(56, 22, 75, 0.12);
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-appearance: none;
	appearance: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		border-color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease),
		box-shadow var(--stmax-fast) var(--stmax-ease);
}

@media (min-width: 640px) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"],
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-submit {
		font-size: 1rem;
		padding: 14px 22px;
	}
}

@media (pointer: coarse) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"],
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-submit {
		min-block-size: 52px;
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"]:focus,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:focus,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"]:hover,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:hover {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	border-color: transparent;
	box-shadow: 0 4px 14px rgba(56, 22, 75, 0.12);
}

@media (hover: hover) and (pointer: fine) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"]:not(:disabled):not(.is-loading):hover,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:not(:disabled):not(.is-loading):hover {
		background-color: var(--stmax-jaune-hover);
		color: var(--stmax-jaune-text);
		border-color: transparent;
		transform: translateY(-1px);
		box-shadow: 0 8px 20px rgba(56, 22, 75, 0.2);
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"]:not(:disabled):not(.is-loading):active,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:not(:disabled):not(.is-loading):active {
	background-color: var(--stmax-jaune-hover);
	color: var(--stmax-jaune-text);
	transform: scale(0.98);
	box-shadow: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"]:focus:not(:focus-visible),
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:focus:not(:focus-visible) {
	outline: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"]:focus-visible,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:focus-visible {
	background-color: var(--stmax-jaune);
	color: var(--stmax-jaune-text);
	outline: 3px solid var(--stmax-prune);
	outline-offset: 2px;
	box-shadow: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"]:disabled,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:disabled {
	background-color: var(--stmax-jaune-disabled);
	color: var(--stmax-jaune-text);
	border-color: #E0D570;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit[type="submit"].is-loading,
:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit.is-loading {
	cursor: wait;
	transform: none;
	box-shadow: none;
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-submit__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 1.1em;
	line-height: 1;
	transition: transform var(--stmax-fast) var(--stmax-ease);
}

@media (hover: hover) and (pointer: fine) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:not(:disabled):not(.is-loading):hover .stmax-nl-submit__arrow {
		transform: translateX(3px);
	}
}

:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit.is-loading .stmax-nl-submit__arrow {
	font-size: 0;
	color: transparent;
	inline-size: 18px;
	block-size: 18px;
	border: 2.5px solid rgba(56, 22, 75, 0.25);
	border-top-color: var(--stmax-prune);
	border-radius: 9999px;
	animation: stmax-nl-spin 0.7s linear infinite;
}

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

@media (forced-colors: active) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-dialog {
		border: 2px solid CanvasText;
	}

	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-header {
		border-block-end: 1px solid CanvasText;
	}

	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback {
		border: 1px solid ButtonText;
	}

	:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback {
		border-inline-start: 4px solid CanvasText;
	}

	:is(#stmax-newsletter-modal, .stmax-nl-modal) p.stmax-nl-feedback.is-error::before {
		clip-path: none;
		border: 2px solid CanvasText;
		border-radius: 9999px;
		background-color: transparent;
	}

	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit.is-loading .stmax-nl-submit__arrow {
		border-color: ButtonText;
		border-top-color: Highlight;
	}

	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:focus-visible,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input:focus-visible,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent input[type="checkbox"]:focus-visible,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a:focus-visible,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:focus-visible {
		outline: 3px solid Highlight;
	}
}

@media (prefers-reduced-motion: reduce) {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-dialog,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:is(:focus, :hover, :active, :focus-visible),
	:is(#stmax-newsletter-modal, .stmax-nl-modal) input.stmax-nl-input,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) label.stmax-nl-consent a,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:is(:focus, :hover, :active, :focus-visible),
	:is(#stmax-newsletter-modal, .stmax-nl-modal) .stmax-nl-submit__arrow {
		transition: none;
	}

	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-close:active,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:hover,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:active,
	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit:hover .stmax-nl-submit__arrow {
		transform: none;
	}

	:is(#stmax-newsletter-modal, .stmax-nl-modal) button.stmax-nl-submit.is-loading .stmax-nl-submit__arrow {
		animation: none;
		border-right-color: var(--stmax-prune);
	}
}

@media print {
	:is(#stmax-newsletter-modal, .stmax-nl-modal) {
		display: none;
	}
}

/* ==========================================================================
   10. BARRE STICKY MOBILE BASSE (.stmax-mobile-bar, <= 1024px)
   ========================================================================== */
nav.stmax-mobile-bar {
	--stmax-prune: #38164B;
	--stmax-jaune: #FFF563;
	--stmax-lilas: #EFCBFF;
	--stmax-surface: #FFFFFF;
	--stmax-muted: #584E63;
	--stmax-border-soft: #EAE4F0;
	--stmax-font: 'JUST Sans', 'Just Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--stmax-font-display: 'TT Ramillas', Georgia, 'Times New Roman', serif;
	--stmax-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--stmax-fast: 170ms;

	position: fixed;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 9990;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: stretch;
	inline-size: 100%;
	max-inline-size: 100%;
	margin: 0;
	padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
	padding-inline: max(4px, env(safe-area-inset-left, 0px)) max(4px, env(safe-area-inset-right, 0px));
	background-color: var(--stmax-surface);
	border-block-start: 1px solid var(--stmax-border-soft);
	box-shadow: 0 -6px 24px rgba(56, 22, 75, 0.12);
	font-family: var(--stmax-font);
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
}

nav.stmax-mobile-bar *,
nav.stmax-mobile-bar *::before,
nav.stmax-mobile-bar *::after {
	box-sizing: border-box;
}

/* Marge de respiration sous le footer global (ou body sans footer) & scroll-padding pour WCAG 2.4.11 */
footer.stmax-global-footer,
.stmax-global-footer,
body:has(nav.stmax-mobile-bar):not(:has(footer.stmax-global-footer)) {
	padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
}

html:has(nav.stmax-mobile-bar) {
	scroll-padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
}

/* Items liens & boutons (neutralisation stricte reset Hello Elementor) */
nav.stmax-mobile-bar a.stmax-mb-item,
nav.stmax-mobile-bar button.stmax-mb-item,
nav.stmax-mobile-bar button.stmax-mb-item[type="button"] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	inline-size: 100%;
	min-inline-size: 0;
	max-inline-size: 100%;
	min-block-size: 52px;
	min-height: 52px;
	margin: 0;
	padding: 4px 2px;
	border: 0;
	border-radius: 12px;
	background-color: transparent;
	color: var(--stmax-muted);
	font-family: var(--stmax-font);
	font-size: clamp(0.625rem, 2.8vw, 0.6875rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: normal;
	text-transform: none;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	box-shadow: none;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-appearance: none;
	appearance: none;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease),
		transform var(--stmax-fast) var(--stmax-ease);
}

nav.stmax-mobile-bar a.stmax-mb-item:visited,
nav.stmax-mobile-bar a.stmax-mb-item:focus,
nav.stmax-mobile-bar a.stmax-mb-item:hover,
nav.stmax-mobile-bar button.stmax-mb-item:focus,
nav.stmax-mobile-bar button.stmax-mb-item:hover,
nav.stmax-mobile-bar button.stmax-mb-item[type="button"]:focus,
nav.stmax-mobile-bar button.stmax-mb-item[type="button"]:hover {
	border: 0;
	background-color: transparent;
	color: var(--stmax-muted);
	text-decoration: none;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	nav.stmax-mobile-bar a.stmax-mb-item:hover,
	nav.stmax-mobile-bar button.stmax-mb-item:hover,
	nav.stmax-mobile-bar button.stmax-mb-item[type="button"]:hover {
		background-color: #FAF8FC;
		color: var(--stmax-prune);
	}
}

nav.stmax-mobile-bar a.stmax-mb-item:active,
nav.stmax-mobile-bar button.stmax-mb-item:active,
nav.stmax-mobile-bar button.stmax-mb-item[type="button"]:active {
	border: 0;
	background-color: rgba(56, 22, 75, 0.06);
	color: var(--stmax-prune);
	transform: scale(0.96);
}

nav.stmax-mobile-bar a.stmax-mb-item:focus-visible,
nav.stmax-mobile-bar button.stmax-mb-item:focus-visible,
nav.stmax-mobile-bar button.stmax-mb-item[type="button"]:focus-visible {
	outline: 2px solid var(--stmax-prune);
	outline-offset: 1px;
	box-shadow: none;
}

/* Icône & libellé */
nav.stmax-mobile-bar .stmax-mb-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 26px;
	border-radius: 9999px;
	transition:
		background-color var(--stmax-fast) var(--stmax-ease),
		color var(--stmax-fast) var(--stmax-ease);
}

nav.stmax-mobile-bar .stmax-mb-icon svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}

nav.stmax-mobile-bar .stmax-mb-label {
	display: block;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* État actif (.is-active / aria-current="page") */
nav.stmax-mobile-bar a.stmax-mb-item:is(.is-active, [aria-current="page"]),
nav.stmax-mobile-bar a.stmax-mb-item:is(.is-active, [aria-current="page"]):visited,
nav.stmax-mobile-bar a.stmax-mb-item:is(.is-active, [aria-current="page"]):focus,
nav.stmax-mobile-bar a.stmax-mb-item:is(.is-active, [aria-current="page"]):hover,
nav.stmax-mobile-bar button.stmax-mb-item:is(.is-active, [aria-current="page"]),
nav.stmax-mobile-bar button.stmax-mb-item:is(.is-active, [aria-current="page"]):focus,
nav.stmax-mobile-bar button.stmax-mb-item:is(.is-active, [aria-current="page"]):hover,
nav.stmax-mobile-bar button.stmax-mb-item[type="button"]:is(.is-active, [aria-current="page"]),
nav.stmax-mobile-bar button.stmax-mb-item[type="button"]:is(.is-active, [aria-current="page"]):focus,
nav.stmax-mobile-bar button.stmax-mb-item[type="button"]:is(.is-active, [aria-current="page"]):hover {
	color: var(--stmax-prune);
	font-weight: 800;
}

nav.stmax-mobile-bar .stmax-mb-item:is(.is-active, [aria-current="page"]) .stmax-mb-icon {
	background-color: var(--stmax-jaune);
	color: var(--stmax-prune);
	border-radius: 9999px;
	padding: 4px 12px;
}

/* Item spécial Menu (.stmax-mb-item--menu) mis en avant */
nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu,
nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu[type="button"],
nav.stmax-mobile-bar .stmax-mb-item.stmax-mb-item--menu,
nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu:focus,
nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu:hover,
nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu[type="button"]:focus,
nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu[type="button"]:hover {
	color: var(--stmax-prune);
	font-weight: 800;
	background-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
	nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu:hover,
	nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu[type="button"]:hover {
		background-color: #FAF8FC;
		color: var(--stmax-prune);
	}
}

nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu:active,
nav.stmax-mobile-bar button.stmax-mb-item.stmax-mb-item--menu[type="button"]:active {
	background-color: rgba(56, 22, 75, 0.06);
	color: var(--stmax-prune);
	transform: scale(0.96);
}

nav.stmax-mobile-bar .stmax-mb-item--menu .stmax-mb-icon {
	background-color: var(--stmax-prune);
	color: var(--stmax-jaune);
	border-radius: 9999px;
	padding: 4px 12px;
}

/* Masquée sur desktop (>= 1025px) */
@media (min-width: 1025px) {
	nav.stmax-mobile-bar {
		display: none;
	}

	footer.stmax-global-footer,
	.stmax-global-footer,
	body:has(nav.stmax-mobile-bar):not(:has(footer.stmax-global-footer)) {
		padding-bottom: 0;
	}

	html:has(nav.stmax-mobile-bar) {
		scroll-padding-bottom: 0;
	}
}

@media (forced-colors: active) {
	nav.stmax-mobile-bar {
		border-block-start: 1px solid CanvasText;
	}

	nav.stmax-mobile-bar .stmax-mb-item:is(.is-active, [aria-current="page"]) .stmax-mb-icon,
	nav.stmax-mobile-bar .stmax-mb-item--menu .stmax-mb-icon {
		outline: 2px solid CanvasText;
		outline-offset: -2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	nav.stmax-mobile-bar .stmax-mb-item,
	nav.stmax-mobile-bar .stmax-mb-icon {
		transition: none;
	}

	nav.stmax-mobile-bar :is(a.stmax-mb-item, button.stmax-mb-item, button.stmax-mb-item.stmax-mb-item--menu[type="button"]):active {
		transform: none;
	}
}

@media print {
	nav.stmax-mobile-bar {
		display: none;
	}
}

/* ==========================================================================
   11. TIROIR PLEIN ÉCRAN MENU MOBILE (#stmax-mobile-menu-drawer / .stmax-mmenu)
   ========================================================================== */
html.stmax-mmenu-open,
body.stmax-mmenu-open {
	overflow: hidden;
}

#stmax-mobile-menu-drawer[hidden],
#stmax-mobile-menu-drawer.stmax-mmenu[hidden],
#stmax-mobile-menu-drawer.stmax-mmenu [hidden] {
	display: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu {
	--stmax-mmenu-prune: #38164B;
	--stmax-mmenu-lavande: #EFCBFF;
	--stmax-mmenu-lavande-hover: #E8BCFC;
	--stmax-mmenu-lavande-active: #E1A8FB;
	--stmax-mmenu-lavande-active-soft: #E4B4FA;
	--stmax-mmenu-lavande-soft: #F7ECFC;
	--stmax-mmenu-lavande-soft-hover: #F1D7FB;
	--stmax-mmenu-lavande-pale: #FAF5FD;
	--stmax-mmenu-jaune: #FFF563;
	--stmax-mmenu-jaune-hover: #F5EA40;
	--stmax-mmenu-jaune-active: #EDE130;
	--stmax-mmenu-muted: #5E4B6B;
	--stmax-mmenu-placeholder: #5E4B6B;
	--stmax-mmenu-border: #EAE4F0;
	--stmax-mmenu-search-border: #E7D8F2;
	--stmax-mmenu-divider: #F0E8F6;
	--stmax-mmenu-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--stmax-mmenu-duration: 240ms;
	--stmax-mmenu-fast: 170ms;
	--stmax-font-display: 'TT Ramillas', Georgia, 'Times New Roman', serif;

	position: fixed;
	inset: 0;
	z-index: 100020;
	display: flex;
	flex-direction: column;
	inline-size: 100%;
	max-inline-size: 100%;
	background: #FFFFFF;
	font-family: 'JUST Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--stmax-mmenu-prune);
	line-height: 1.45;
	box-sizing: border-box;
	overflow: hidden;
	overscroll-behavior: contain;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity var(--stmax-mmenu-duration) var(--stmax-mmenu-ease),
		transform var(--stmax-mmenu-duration) var(--stmax-mmenu-ease);
}

#stmax-mobile-menu-drawer.stmax-mmenu.is-open {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
	@starting-style {
		#stmax-mobile-menu-drawer.stmax-mmenu.is-open {
			opacity: 0;
			transform: translateY(14px);
		}
	}
}

#stmax-mobile-menu-drawer,
#stmax-mobile-menu-drawer *,
#stmax-mobile-menu-drawer *::before,
#stmax-mobile-menu-drawer *::after {
	box-sizing: border-box;
}

/* Immunisation de base contre Hello Elementor (reset.css / kit) sans !important */
#stmax-mobile-menu-drawer.stmax-mmenu :where(a, a:visited, a:hover, a:focus, a:active) {
	color: var(--stmax-mmenu-prune);
	text-decoration: none;
	background-color: transparent;
	box-shadow: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

#stmax-mobile-menu-drawer.stmax-mmenu :where(
	button,
	button[type="button"],
	button[type="submit"],
	button[type="reset"],
	button:hover,
	button:focus,
	button:active,
	button[type="button"]:hover,
	button[type="button"]:focus,
	button[type="button"]:active
) {
	font-family: inherit;
	color: var(--stmax-mmenu-prune);
	background-color: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	white-space: normal;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}

#stmax-mobile-menu-drawer.stmax-mmenu :where(ul, ol) {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* En-tête Prune */
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__header {
	background: var(--stmax-mmenu-prune);
	color: #FFFFFF;
	padding:
		calc(18px + env(safe-area-inset-top, 0px))
		max(20px, env(safe-area-inset-right, 0px))
		20px
		max(20px, env(safe-area-inset-left, 0px));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-shrink: 0;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__header > :first-child {
	min-width: 0;
	flex: 1 1 auto;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__eyebrow {
	display: block;
	margin: 0 0 2px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--stmax-mmenu-lavande);
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link:visited,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link:focus,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link:hover,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link:active {
	display: inline-flex;
	align-items: center;
	vertical-align: top;
	max-width: 100%;
	margin: 0 0 6px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background-color: transparent;
	color: #FFFFFF;
	text-decoration: none;
	box-shadow: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: opacity var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

@media (hover: hover) and (pointer: fine) {
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link:hover {
		opacity: 0.9;
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link:active {
	opacity: 0.82;
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link:focus-visible {
	outline: 3px solid var(--stmax-mmenu-jaune, #FFF563);
	outline-offset: 3px;
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu img.stmax-mmenu__logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 30px;
	max-width: 175px;
	object-fit: contain;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	filter: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__title,
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__header h1,
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__header h2 {
	margin: 0;
	font-family: var(--stmax-font-display, 'TT Ramillas', Georgia, 'Times New Roman', serif);
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #FFFFFF;
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close[type="button"],
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__close {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(239, 203, 255, 0.16);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	transition:
		background-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		transform var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close:hover,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close[type="button"]:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close[type="button"]:hover {
	border: 0;
	background: rgba(239, 203, 255, 0.16);
	color: #FFFFFF;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close[type="button"]:hover {
		background: rgba(239, 203, 255, 0.28);
		color: #FFFFFF;
		transform: rotate(90deg);
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close:active,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close[type="button"]:active {
	border: 0;
	background: rgba(239, 203, 255, 0.28);
	color: #FFFFFF;
	transform: scale(0.94);
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close:focus-visible,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close[type="button"]:focus-visible {
	outline: 3px solid var(--stmax-mmenu-jaune);
	outline-offset: 2px;
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__close svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}

/* Corps rail & vues glissantes (drill-down latéral natif 60 fps) */
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__body {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view {
	position: absolute;
	inset: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding:
		20px
		max(20px, env(safe-area-inset-right, 0px))
		calc(32px + env(safe-area-inset-bottom, 0px))
		max(20px, env(safe-area-inset-left, 0px));
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--root,
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--root.is-active {
	z-index: 1;
	transform: translate3d(0, 0, 0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--root.is-pushed {
	transform: translate3d(-28%, 0, 0);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--sub {
	z-index: 2;
	transform: translate3d(100%, 0, 0);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--sub.is-active {
	z-index: 3;
	transform: translate3d(0, 0, 0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

@media (prefers-reduced-motion: no-preference) {
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view {
		transition:
			transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
			opacity 220ms ease,
			visibility 0s linear 280ms;
	}

	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view.is-active {
		transition:
			transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
			opacity 220ms ease,
			visibility 0s linear 0s;
	}
}

/* Champ de recherche */
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--stmax-mmenu-lavande-pale);
	border: 1px solid var(--stmax-mmenu-search-border);
	border-radius: 12px;
	padding: 0 14px;
	margin: 0 0 20px;
	height: 50px;
	transition:
		border-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		box-shadow var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search:has(:is(.stmax-mmenu__search-input:focus, .stmax-mmenu__search-input:focus-visible)) {
	border-color: var(--stmax-mmenu-prune);
	box-shadow: 0 0 0 3px rgba(239, 203, 255, 0.55);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search-icon {
	width: 20px;
	height: 20px;
	color: var(--stmax-mmenu-prune);
	flex-shrink: 0;
	margin-right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search-icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search-input,
#stmax-mobile-menu-drawer.stmax-mmenu input.stmax-mmenu__search-input[type="search"],
#stmax-mobile-menu-drawer.stmax-mmenu input.stmax-mmenu__search-input[type="text"] {
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--stmax-mmenu-prune);
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search-input:focus,
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search-input:focus-visible,
#stmax-mobile-menu-drawer.stmax-mmenu input.stmax-mmenu__search-input[type="search"]:focus,
#stmax-mobile-menu-drawer.stmax-mmenu input.stmax-mmenu__search-input[type="text"]:focus {
	border: 0;
	outline: none;
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search-input::-webkit-search-decoration {
	-webkit-appearance: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search-input::placeholder {
	color: var(--stmax-mmenu-placeholder);
	opacity: 1;
}

/* Liste des 4 piliers */
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__pillars {
	display: flex;
	flex-direction: column;
	margin: 0 0 24px;
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar[type="button"] {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 16px;
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--stmax-mmenu-divider);
	border-radius: 0;
	background: transparent;
	color: var(--stmax-mmenu-prune);
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
	min-height: 58px;
	box-shadow: none;
	transition:
		background-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		transform var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:hover,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar[type="button"]:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar[type="button"]:hover {
	border: 0;
	border-bottom: 1px solid var(--stmax-mmenu-divider);
	background: transparent;
	color: var(--stmax-mmenu-prune);
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:last-child,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar[type="button"]:last-child,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:last-child:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:last-child:hover {
	border-bottom: 0;
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted[type="button"],
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted:hover,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted[type="button"]:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted[type="button"]:hover {
	background: var(--stmax-mmenu-lavande);
	color: var(--stmax-mmenu-prune);
	border-radius: 14px;
	border-bottom-color: transparent;
	margin-bottom: 4px;
}

@media (hover: hover) and (pointer: fine) {
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar[type="button"]:hover {
		background: var(--stmax-mmenu-lavande-pale);
		color: var(--stmax-mmenu-prune);
	}

	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted[type="button"]:hover {
		background: var(--stmax-mmenu-lavande-hover);
		color: var(--stmax-mmenu-prune);
		border-bottom-color: transparent;
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:active,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar[type="button"]:active {
	background: var(--stmax-mmenu-lavande-soft);
	color: var(--stmax-mmenu-prune);
	transform: scale(0.99);
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted:active,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted[type="button"]:active {
	background: var(--stmax-mmenu-lavande-active);
	color: var(--stmax-mmenu-prune);
	border-bottom-color: transparent;
	transform: scale(0.99);
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:focus-visible,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar[type="button"]:focus-visible {
	outline: 3px solid var(--stmax-mmenu-prune);
	outline-offset: -2px;
	border-radius: 14px;
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__pillar-chev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__pillar-chev svg {
	width: 20px;
	height: 20px;
	color: var(--stmax-mmenu-prune);
	flex-shrink: 0;
	display: block;
}

/* Section Accès rapides (4 capsules tactiles) */
#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick {
	background: var(--stmax-mmenu-lavande-pale);
	border: 1px solid var(--stmax-mmenu-border);
	border-radius: 20px;
	padding: 14px 12px;
}

@media (min-width: 390px) {
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick {
		padding: 16px 14px;
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-kicker {
	margin: 0 0 12px 4px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--stmax-mmenu-muted);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-list > li {
	margin: 0;
	padding: 0;
	min-inline-size: 0;
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link[type="button"] {
	width: 100%;
	inline-size: 100%;
	min-inline-size: 0;
	min-height: 52px;
	min-block-size: 52px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px 8px 8px;
	margin: 0;
	border: 1px solid var(--_quick-border, rgba(56, 22, 75, 0.10));
	border-radius: 999px;
	background-color: var(--_quick-bg, #FFFFFF);
	box-shadow: 0 2px 8px rgba(56, 22, 75, 0.04);
	color: var(--stmax-mmenu-prune);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.28;
	text-decoration: none;
	text-align: left;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-appearance: none;
	appearance: none;
	transition:
		background-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		border-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		box-shadow var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		transform var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

@media (min-width: 380px) {
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link[type="button"] {
		gap: 12px;
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:visited,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:focus,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:hover,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:hover,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link[type="button"]:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link[type="button"]:hover {
	border: 1px solid var(--_quick-border, rgba(56, 22, 75, 0.10));
	background-color: var(--_quick-bg, #FFFFFF);
	color: var(--stmax-mmenu-prune);
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(56, 22, 75, 0.04);
}

@media (hover: hover) and (pointer: fine) {
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link[type="button"]:hover {
		background-color: var(--_quick-bg-hover, var(--stmax-mmenu-lavande-pale));
		border-color: var(--_quick-border-hover, rgba(56, 22, 75, 0.22));
		color: var(--stmax-mmenu-prune);
		box-shadow: 0 6px 14px rgba(56, 22, 75, 0.08);
		transform: translateY(-1px);
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:active,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:active,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link[type="button"]:active {
	background-color: var(--_quick-bg-active, var(--stmax-mmenu-lavande-soft));
	border-color: rgba(56, 22, 75, 0.24);
	color: var(--stmax-mmenu-prune);
	box-shadow: 0 1px 3px rgba(56, 22, 75, 0.05);
	transform: scale(0.985);
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:focus:not(:focus-visible),
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:focus:not(:focus-visible),
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link[type="button"]:focus:not(:focus-visible) {
	outline: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:focus-visible,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:focus-visible,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link[type="button"]:focus-visible {
	outline: 3px solid var(--stmax-mmenu-prune);
	outline-offset: 2px;
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-ico {
	flex: 0 0 36px;
	inline-size: 36px;
	block-size: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background-color: var(--_quick-ico-bg, var(--stmax-mmenu-lavande-soft));
	color: var(--_quick-ico-color, var(--stmax-mmenu-prune));
	box-shadow: var(--_quick-ico-ring, none);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-ico svg {
	width: 18px;
	height: 18px;
	display: block;
	flex-shrink: 0;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-link--alertes {
	--_quick-ico-bg: #FFF799;
	--_quick-ico-color: var(--stmax-mmenu-prune);
	--_quick-ico-ring: inset 0 0 0 1px rgba(56, 22, 75, 0.12);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-link--weekend {
	--_quick-ico-bg: #F3E2FF;
	--_quick-ico-color: var(--stmax-mmenu-prune);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-link--app {
	--_quick-ico-bg: #DCFCE7;
	--_quick-ico-color: var(--stmax-mmenu-prune);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-link--newsletter {
	--_quick-border: rgba(56, 22, 75, 0.24);
	--_quick-border-hover: var(--stmax-mmenu-prune);
	--_quick-bg-hover: #FFFDF0;
	--_quick-bg-active: #FFF9C4;
	--_quick-ico-bg: var(--stmax-mmenu-prune);
	--_quick-ico-color: var(--stmax-mmenu-jaune);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-text {
	flex: 1 1 auto;
	min-inline-size: 0;
	font-family: inherit;
	line-height: 1.28;
	text-wrap: pretty;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-link--newsletter .stmax-mmenu__quick-text {
	font-weight: 700;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-dot {
	width: 11px;
	height: 11px;
	margin-inline-end: 3px;
	border-radius: 999px;
	background: var(--stmax-mmenu-jaune);
	border: 1.5px solid var(--stmax-mmenu-prune);
	flex-shrink: 0;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-chev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--stmax-mmenu-muted);
	transition:
		transform var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-link--newsletter .stmax-mmenu__quick-chev {
	color: var(--stmax-mmenu-prune);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-chev svg {
	width: 18px;
	height: 18px;
	display: block;
}

@media (hover: hover) and (pointer: fine) {
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:hover .stmax-mmenu__quick-chev,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:hover .stmax-mmenu__quick-chev {
		transform: translateX(2px);
		color: var(--stmax-mmenu-prune);
	}
}

/* Vue Niveau 2 (Sous-rubriques du pilier) */
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back[type="button"] {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 14px 8px 8px;
	margin: 0 0 14px;
	border: 1px solid var(--stmax-mmenu-lavande);
	border-radius: 999px;
	background: var(--stmax-mmenu-lavande-soft);
	color: var(--stmax-mmenu-prune);
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition:
		background-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		border-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		transform var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back:hover,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back[type="button"]:focus,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back[type="button"]:hover {
	border: 1px solid var(--stmax-mmenu-lavande);
	background: var(--stmax-mmenu-lavande-soft);
	color: var(--stmax-mmenu-prune);
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back[type="button"]:hover {
		background: var(--stmax-mmenu-lavande-soft-hover);
		border-color: var(--stmax-mmenu-lavande-active-soft);
		color: var(--stmax-mmenu-prune);
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back:active,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back[type="button"]:active {
	background: var(--stmax-mmenu-lavande);
	border-color: var(--stmax-mmenu-lavande-active-soft);
	color: var(--stmax-mmenu-prune);
	transform: scale(0.98);
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back:focus-visible,
#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back[type="button"]:focus-visible {
	outline: 3px solid var(--stmax-mmenu-prune);
	outline-offset: 2px;
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	display: block;
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 13px 16px;
	margin: 0 0 20px;
	border-radius: 12px;
	background: var(--stmax-mmenu-jaune);
	color: var(--stmax-mmenu-prune);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition:
		background-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease),
		transform var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta:visited,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta:focus,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta:hover {
	background: var(--stmax-mmenu-jaune);
	color: var(--stmax-mmenu-prune);
	text-decoration: none;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta:hover {
		background: var(--stmax-mmenu-jaune-hover);
		color: var(--stmax-mmenu-prune);
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta:active {
	background: var(--stmax-mmenu-jaune-active);
	color: var(--stmax-mmenu-prune);
	transform: scale(0.99);
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta:focus-visible {
	outline: 3px solid var(--stmax-mmenu-prune);
	outline-offset: 2px;
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__group {
	margin: 0 0 18px;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__group-heading {
	margin: 0 0 8px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stmax-mmenu-muted);
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__group-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__group-list > li {
	margin: 0;
	padding: 0;
	min-inline-size: 0;
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 10px;
	border-radius: 10px;
	background: transparent;
	color: var(--stmax-mmenu-prune);
	font-family: inherit;
	font-size: 0.96875rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	min-height: 44px;
	border-bottom: 1px solid var(--stmax-mmenu-divider);
	transition: background-color var(--stmax-mmenu-fast) var(--stmax-mmenu-ease);
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink:visited,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink:focus,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink:hover {
	background: transparent;
	color: var(--stmax-mmenu-prune);
	text-decoration: none;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink:hover {
		background: var(--stmax-mmenu-lavande-pale);
		color: var(--stmax-mmenu-prune);
	}
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink:active {
	background: var(--stmax-mmenu-lavande-pale);
	color: var(--stmax-mmenu-prune);
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink:focus-visible {
	outline: 3px solid var(--stmax-mmenu-prune);
	outline-offset: -2px;
	box-shadow: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__sublink-ico {
	flex: 0 0 32px;
	inline-size: 32px;
	block-size: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 10px;
	background-color: #F5EBFC;
	color: var(--stmax-mmenu-prune, #38164B);
	font-size: 14px;
	line-height: 1;
	pointer-events: none;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__sublink-ico i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
	color: inherit;
}

#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__sublink-label {
	flex: 1 1 auto;
	min-width: 0;
	min-inline-size: 0;
	overflow-wrap: break-word;
	text-wrap: pretty;
}

#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink svg.stmax-mmenu__sublink-chev,
#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink > svg {
	width: 18px;
	height: 18px;
	color: var(--stmax-mmenu-muted);
	flex-shrink: 0;
	display: block;
	pointer-events: none;
}

@media (forced-colors: active) {
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__header {
		border-bottom: 1px solid CanvasText;
	}

	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick {
		border: 1px solid CanvasText;
	}

	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar.is-highlighted,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-ico,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__sublink-ico,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta {
		border: 1px solid ButtonText;
	}

	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-dot {
		background: Highlight;
		border: 1.5px solid CanvasText;
	}

	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:focus-visible,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:focus-visible {
		outline: 3px solid Highlight;
	}
}

@media (forced-colors: active) and (prefers-color-scheme: light) {
	#stmax-mobile-menu-drawer.stmax-mmenu img.stmax-mmenu__logo {
		filter: invert(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	#stmax-mobile-menu-drawer.stmax-mmenu,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__logo-link,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view.is-active,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__search,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__quick-chev,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__sublink {
		transition: none;
	}

	#stmax-mobile-menu-drawer.stmax-mmenu,
	#stmax-mobile-menu-drawer.stmax-mmenu.is-open,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--root,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--root.is-active,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--root.is-pushed,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--sub,
	#stmax-mobile-menu-drawer.stmax-mmenu .stmax-mmenu__view--sub.is-active,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__close:active,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__pillar:active,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:hover,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:active,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:active,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__quick-link:hover .stmax-mmenu__quick-chev,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__quick-link:hover .stmax-mmenu__quick-chev,
	#stmax-mobile-menu-drawer.stmax-mmenu button.stmax-mmenu__back:active,
	#stmax-mobile-menu-drawer.stmax-mmenu a.stmax-mmenu__hub-cta:active {
		transform: none;
	}
}

@media print {
	#stmax-mobile-menu-drawer.stmax-mmenu {
		display: none;
	}
}

/* Neutralisation du tiroir déroulant natif EAEL sur mobile/tablette (< 1025px) :
   #stmax-mobile-menu-drawer prend le relais si un événement passait. */
@media (max-width: 1024.98px) {
	html body .elementor-element.elementor-widget-eael-mega-menu nav.eael-mega-menu:is(.eael-mega-menu--mobile, .eael-mega-menu--menu-open) div.eael-mega-menu__container,
	html body .elementor-element.elementor-widget-eael-mega-menu nav.eael-mega-menu div.eael-mega-menu__container.is-open,
	html body .eael-mega-menu:is(.eael-mega-menu--mobile, .eael-mega-menu--menu-open) .eael-mega-menu__container,
	html body .eael-mega-menu .eael-mega-menu__container.is-open {
		display: none;
	}
}

/* ==========================================================================
   11b. HEADER MOBILE & TABLETTE (<= 1024px) — .stmax-mh-actions
   ========================================================================== */
html body .elementor-location-header {
	--stmax-mh-prune: #38164B;
	--stmax-mh-prune-hover: #4A2161;
	--stmax-mh-jaune: #FFF563;
	--stmax-mh-jaune-hover: #F5EA40;
	--stmax-mh-lilas: #EFCBFF;
	--stmax-mh-lilas-hover: #E5B6FA;
	--stmax-mh-app-bg: #F4F0F8;
	--stmax-mh-app-hover: #EAE2F3;
	--stmax-mh-border: #EAE4F0;
	--stmax-mh-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3 boutons carrés arrondis (.stmax-mh-actions : Alertes, Appli, Agenda) — base mobile-first */
html body .elementor-location-header .stmax-mh-actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 8px;
}

html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action,
html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:visited,
html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:focus,
html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:hover,
html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:active {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	gap: 4px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background-color: transparent;
	color: var(--stmax-mh-prune);
	text-decoration: none;
	box-shadow: none;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}

html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:focus:not(:focus-visible) {
	outline: none;
}

html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:focus-visible {
	outline: 3px solid var(--stmax-mh-prune);
	outline-offset: 2px;
	box-shadow: none;
}

html body .elementor-location-header .stmax-mh-actions .stmax-mh-action__box {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--stmax-mh-prune);
	transition:
		background-color 170ms var(--stmax-mh-ease),
		transform 170ms var(--stmax-mh-ease);
}

html body .elementor-location-header .stmax-mh-actions .stmax-mh-action__box svg {
	width: 19px;
	height: 19px;
	display: block;
	flex-shrink: 0;
	color: inherit;
}

html body .elementor-location-header .stmax-mh-actions .stmax-mh-action__label {
	font-family: 'JUST Sans', system-ui, sans-serif;
	font-size: 0.65rem;
	font-weight: 500;
	line-height: 1.15;
	color: var(--stmax-mh-prune);
	white-space: nowrap;
}

/* 1. Infos — Lilas doux #EFCBFF / Prune #38164B / 500 */
html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--infos .stmax-mh-action__box {
	background-color: var(--stmax-mh-lilas);
	color: var(--stmax-mh-prune);
}

html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--infos .stmax-mh-action__label {
	font-weight: 500;
}

/* 2. Alertes — Prune #38164B / Jaune #FFF563 / 600 */
html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--alertes .stmax-mh-action__box,
html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--alertes .stmax-mh-action__box svg {
	color: var(--stmax-mh-jaune);
}

html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--alertes .stmax-mh-action__box {
	background-color: var(--stmax-mh-prune);
}

html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--alertes .stmax-mh-action__label {
	font-weight: 600;
}

/* 3. Appli — Lavande claire #F4F0F8 / Prune #38164B / 500 */
html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--app .stmax-mh-action__box {
	background-color: var(--stmax-mh-app-bg);
	color: var(--stmax-mh-prune);
}

html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--app .stmax-mh-action__label {
	font-weight: 500;
}

/* 4. Agenda — Jaune #FFF563 / Prune #38164B / 700 */
html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--agenda .stmax-mh-action__box {
	background-color: var(--stmax-mh-jaune);
	color: var(--stmax-mh-prune);
}

html body .elementor-location-header .stmax-mh-actions .stmax-mh-action--agenda .stmax-mh-action__label {
	font-weight: 700;
}

html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:active .stmax-mh-action__box {
	transform: scale(0.95);
}

/* Masqués en Desktop (>= 1025px) */
@media (min-width: 1025px) {
	html body .elementor-location-header .stmax-mh-actions,
	.stmax-mh-actions {
		display: none;
	}
}

/* Mobile & Tablette (<= 1024px) : masquage hamburger EAEL & top-bar, barre logo + 3 actions sur 1 ligne */
@media (max-width: 1024px) {
	html body .elementor-location-header :is(
		.elementor-element.elementor-widget-eael-mega-menu .eael-mega-menu button.eael-mega-menu__toggle,
		.eael-mega-menu-wrapper button.eael-mega-menu__toggle,
		.eael-mega-menu__toggle
	) {
		display: none;
	}

	html body .elementor-location-header :is(
		.elementor-element.elementor-widget-eael-mega-menu nav.eael-mega-menu,
		.eael-mega-menu-wrapper nav.eael-mega-menu
	) {
		display: none;
	}

	html body .elementor-location-header :is(
		section.elementor-element.elementor-element-7beca196,
		.elementor-element-7beca196
	) {
		display: none;
	}

	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container > .elementor-element.elementor-element-4237256 {
		display: none;
	}

	html body .elementor-location-header :is(
		section.elementor-element.elementor-element-1459f22d,
		.elementor-element-1459f22d
	) {
		padding: 0;
		border-bottom: 1px solid var(--stmax-mh-border, #EAE4F0);
		box-shadow: 0 2px 10px rgba(56, 22, 75, 0.06);
	}

	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		width: 100%;
		max-width: 100%;
		padding: 8px 12px;
		padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
		box-sizing: border-box;
	}

	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container > .elementor-element.elementor-element-be52c32 {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 > .elementor-widget-wrap {
		padding: 0;
		justify-content: flex-start;
		align-items: center;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 :is(.elementor-widget-theme-site-logo, .elementor-element-20b2d495) {
		width: auto;
		max-width: 100%;
		margin-block-end: 0;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 :is(.elementor-widget-theme-site-logo, .elementor-element-20b2d495) > .elementor-widget-container {
		display: flex;
		align-items: center;
		max-width: 100%;
		min-width: 0;
		line-height: 1;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a,
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:visited,
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:focus,
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:hover,
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:active {
		display: inline-flex;
		align-items: center;
		max-width: 100%;
		color: var(--stmax-mh-prune);
		text-decoration: none;
		border-radius: 6px;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:focus-visible {
		outline: 3px solid var(--stmax-mh-prune);
		outline-offset: 3px;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 :is(.elementor-widget-theme-site-logo, .elementor-element-20b2d495) img {
		display: block;
		max-height: 52px;
		width: auto;
		height: auto;
		max-width: 100%;
		object-fit: contain;
	}

	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container > .elementor-element.elementor-element-6233fad3 {
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
	}

	html body .elementor-location-header .elementor-element.elementor-element-6233fad3 > .elementor-widget-wrap {
		padding: 0;
		justify-content: flex-end;
		align-items: center;
	}

	html body .elementor-location-header .elementor-element.elementor-element-6233fad3 .elementor-element.elementor-element-b4fc646 {
		width: auto;
		max-width: none;
		margin-block-end: 0;
	}
}

/* Très petits écrans (< 360px) : logo contenu à 44px pour éviter tout tassement */
@media (max-width: 359.98px) {
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 :is(.elementor-widget-theme-site-logo, .elementor-element-20b2d495) img {
		max-height: 44px;
	}
}

/* Grands mobiles & tablettes (480px à 1024px) : logo 58px, carrés 44px, icônes 21px */
@media (min-width: 480px) and (max-width: 1024px) {
	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container {
		gap: 10px;
		padding: 8px 14px;
		padding-inline: max(14px, env(safe-area-inset-left, 0px)) max(14px, env(safe-area-inset-right, 0px));
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 :is(.elementor-widget-theme-site-logo, .elementor-element-20b2d495) img {
		max-height: 58px;
	}

	html body .elementor-location-header .stmax-mh-actions {
		gap: 10px;
	}

	html body .elementor-location-header .stmax-mh-actions .stmax-mh-action__box {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}

	html body .elementor-location-header .stmax-mh-actions .stmax-mh-action__box svg {
		width: 21px;
		height: 21px;
	}

	html body .elementor-location-header .stmax-mh-actions .stmax-mh-action__label {
		font-size: 0.72rem;
	}
}

@media (max-width: 1024px) and (hover: hover) and (pointer: fine) {
	html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action--infos:hover .stmax-mh-action__box {
		background-color: var(--stmax-mh-lilas-hover);
		transform: translateY(-1px);
	}

	html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action--alertes:hover .stmax-mh-action__box {
		background-color: var(--stmax-mh-prune-hover);
		transform: translateY(-1px);
	}

	html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action--app:hover .stmax-mh-action__box {
		background-color: var(--stmax-mh-app-hover);
		transform: translateY(-1px);
	}

	html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action--agenda:hover .stmax-mh-action__box {
		background-color: var(--stmax-mh-jaune-hover);
		transform: translateY(-1px);
	}
}

@media (max-width: 1024px) and (forced-colors: active) {
	html body .elementor-location-header :is(
		section.elementor-element.elementor-element-1459f22d,
		.elementor-element-1459f22d
	) {
		border-bottom-color: CanvasText;
	}

	html body .elementor-location-header .stmax-mh-actions .stmax-mh-action__box {
		border: 1px solid ButtonText;
	}

	html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:focus-visible {
		outline: 3px solid Highlight;
	}
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
	html body .elementor-location-header .stmax-mh-actions .stmax-mh-action__box {
		transition: none;
	}

	html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:hover .stmax-mh-action__box,
	html body .elementor-location-header .stmax-mh-actions a.stmax-mh-action:active .stmax-mh-action__box {
		transform: none;
	}
}

@media print {
	html body .elementor-location-header .stmax-mh-actions {
		display: none;
	}
}

/* ==========================================================================
   11c. HEADER DESKTOP UNIFIÉ BLANC (>= 1025px) + PILULE LAVANDE + .stmax-dh-actions
   ========================================================================== */
/* Mobile-first : actions desktop strictement masquées sous <= 1024px */
html body .elementor-location-header .stmax-dh-actions,
.stmax-dh-actions {
	display: none;
}

html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn,
html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search {
	color: #38164B;
	text-decoration: none;
}

@media (min-width: 1025px) {
	html body .elementor-location-header {
		--stmax-dh-prune: #38164B;
		--stmax-dh-prune-soft: #FAF5FD;
		--stmax-dh-lilas: #EFCBFF;
		--stmax-dh-jaune: #FFF563;
		--stmax-dh-jaune-hover: #F4E83B;
		--stmax-dh-border: #EAE4F0;
		--stmax-dh-surface: #FFFFFF;
		--stmax-dh-ease: cubic-bezier(0.16, 1, 0.3, 1);
	}

	/* 1. Suppression visuelle de la top-bar Prune sur Desktop */
	html body .elementor-location-header :is(
		section.elementor-element.elementor-element-7beca196,
		.elementor-element-7beca196
	) {
		display: none;
	}

	/* 2. Barre blanche unique épurée (~82–84px) */
	html body .elementor-location-header :is(
		section.elementor-element.elementor-element-1459f22d,
		.elementor-element-1459f22d
	) {
		background-color: var(--stmax-dh-surface);
		border: 0;
		border-bottom: 1px solid var(--stmax-dh-border);
		box-shadow: 0 4px 20px rgba(56, 22, 75, 0.06);
		padding: 0;
		margin: 0;
	}

	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container {
		max-width: 1540px;
		width: 100%;
		margin-inline: auto;
		padding: 9px clamp(12px, 1.45vw, 24px);
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: clamp(8px, 1.1vw, 18px);
		min-height: 82px;
		box-sizing: border-box;
	}

	/* Colonne gauche : Logo */
	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container > .elementor-element.elementor-element-be52c32 {
		flex: 0 0 auto;
		width: auto;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 > .elementor-widget-wrap {
		padding: 0;
		align-items: center;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 :is(.elementor-widget-theme-site-logo, .elementor-element-20b2d495) {
		width: auto;
		max-width: none;
		margin-block-end: 0;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 :is(.elementor-widget-theme-site-logo, .elementor-element-20b2d495) > .elementor-widget-container {
		display: flex;
		align-items: center;
		line-height: 1;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a,
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:visited,
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:focus,
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:hover,
	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:active {
		display: inline-flex;
		align-items: center;
		color: var(--stmax-dh-prune);
		background-color: transparent;
		text-decoration: none;
		box-shadow: none;
		border-radius: 6px;
		touch-action: manipulation;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:focus:not(:focus-visible) {
		outline: none;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 .elementor-widget-theme-site-logo a:focus-visible {
		outline: 3px solid var(--stmax-dh-prune);
		outline-offset: 3px;
	}

	html body .elementor-location-header .elementor-element.elementor-element-be52c32 :is(.elementor-widget-theme-site-logo, .elementor-element-20b2d495) img {
		display: block;
		height: clamp(44px, 4.3vw, 66px);
		max-height: 66px;
		width: auto;
	}

	/* Colonne centrale : Méga-menu EAEL */
	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container > .elementor-element.elementor-element-6233fad3 {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	html body .elementor-location-header .elementor-element.elementor-element-6233fad3 > .elementor-widget-wrap {
		padding: 0;
		width: 100%;
		justify-content: center;
		align-items: center;
	}

	html body .elementor-location-header .elementor-element.elementor-element-6233fad3 .elementor-element.elementor-element-b4fc646 {
		width: auto;
		max-width: 100%;
		margin-block-end: 0;
	}

	/* Colonne droite : Actions rapides */
	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container > .elementor-element.elementor-element-4237256 {
		flex: 0 0 auto;
		width: auto;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	html body .elementor-location-header .elementor-element.elementor-element-4237256 > .elementor-widget-wrap {
		padding: 0;
		width: auto;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	/* 3. Les 5 rubriques du méga-menu — Pilule Lavande #EFCBFF */
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__list {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: nowrap;
		gap: clamp(1px, 0.35vw, 6px);
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item {
		flex: 0 0 auto;
		border-radius: 999px;
		background-color: transparent;
		transition: background-color 170ms ease, color 170ms ease;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item.eael-mega-menu__item--active,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item.current-menu-item,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item:has(> .eael-mega-menu__link[aria-current="page"]),
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item:has(> .eael-mega-menu__link:focus-visible),
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item:has(> .eael-mega-menu__disclosure:focus-visible) {
		background-color: var(--stmax-dh-lilas);
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link:visited,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link:focus,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link:active,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item--has-submenu > .eael-mega-menu__link {
		font-family: 'JUST Sans', system-ui, sans-serif;
		font-size: clamp(0.6875rem, 0.25rem + 0.68vw, 0.875rem);
		font-weight: 400;
		line-height: 1.2;
		color: var(--stmax-dh-prune);
		background-color: transparent;
		padding: 10px clamp(5px, 0.65vw, 11px);
		border-radius: 999px;
		white-space: nowrap;
		text-decoration: none;
		box-shadow: none;
		touch-action: manipulation;
		transition: background-color 170ms ease, color 170ms ease;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item--has-submenu > .eael-mega-menu__link {
		padding-inline-end: 2px;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link:focus:not(:focus-visible) {
		outline: none;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link:focus-visible,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item.eael-mega-menu__item--active > .eael-mega-menu__link,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item.current-menu-item > .eael-mega-menu__link,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link[aria-current="page"] {
		background-color: var(--stmax-dh-lilas);
		color: var(--stmax-dh-prune);
		border-radius: 999px;
		text-decoration: none;
		box-shadow: none;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link:focus-visible {
		outline: 3px solid var(--stmax-dh-prune);
		outline-offset: 2px;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure[type="button"],
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure:hover,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure:focus,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure:active {
		background-color: transparent;
		background-image: none;
		border: 0;
		border-radius: 999px;
		color: var(--stmax-dh-prune);
		box-shadow: none;
		padding: 10px clamp(5px, 0.5vw, 9px) 10px 1px;
		margin: 0;
		touch-action: manipulation;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure:focus:not(:focus-visible) {
		outline: none;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure:focus-visible {
		outline: 3px solid var(--stmax-dh-prune);
		outline-offset: 2px;
		background-color: transparent;
		color: var(--stmax-dh-prune);
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item-indicator {
		color: var(--stmax-dh-prune);
		font-size: clamp(9.5px, 0.72vw, 11px);
	}

	/* Pont de survol continu vers le panneau déroulant EAEL sous la barre blanche */
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__panel {
		padding-block-start: 19px;
	}

	/* 4. Actions rapides Desktop (.stmax-dh-actions) */
	html body .elementor-location-header .stmax-dh-actions {
		display: inline-flex;
		align-items: center;
		gap: 6px;
	}

	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn,
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:visited,
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:focus,
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:active {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		min-height: 40px;
		padding: 0 10px;
		border-radius: 999px;
		background-color: var(--stmax-dh-prune-soft);
		border: 1px solid var(--stmax-dh-border);
		color: var(--stmax-dh-prune);
		font-family: 'JUST Sans', system-ui, sans-serif;
		font-size: 0.78125rem;
		font-weight: 700;
		line-height: 1;
		text-decoration: none;
		white-space: nowrap;
		box-shadow: none;
		touch-action: manipulation;
		user-select: none;
		-webkit-user-select: none;
		-webkit-tap-highlight-color: transparent;
		transition:
			background-color 170ms var(--stmax-dh-ease),
			border-color 170ms var(--stmax-dh-ease),
			transform 170ms var(--stmax-dh-ease);
	}

	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:active {
		transform: scale(0.97);
	}

	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:focus:not(:focus-visible) {
		outline: none;
	}

	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:focus-visible {
		outline: 3px solid var(--stmax-dh-prune);
		outline-offset: 2px;
		box-shadow: none;
	}

	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn svg {
		width: 18px;
		height: 18px;
		display: block;
		flex-shrink: 0;
		color: inherit;
	}

	/* Bouton loupe signature Jaune #FFF563 */
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search[type="button"],
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search:focus,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search:active,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search[type="button"]:focus,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search[type="button"]:active {
		width: 42px;
		height: 42px;
		min-width: 42px;
		min-height: 42px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background-color: var(--stmax-dh-jaune);
		color: var(--stmax-dh-prune);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		cursor: pointer;
		box-shadow: 0 3px 10px rgba(56, 22, 75, 0.14);
		-webkit-appearance: none;
		appearance: none;
		touch-action: manipulation;
		user-select: none;
		-webkit-user-select: none;
		-webkit-tap-highlight-color: transparent;
		transition:
			background-color 170ms var(--stmax-dh-ease),
			transform 170ms var(--stmax-dh-ease),
			box-shadow 170ms var(--stmax-dh-ease);
	}

	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search:active,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search[type="button"]:active {
		background-color: var(--stmax-dh-jaune-hover);
		color: var(--stmax-dh-prune);
		transform: scale(0.96);
	}

	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search:focus:not(:focus-visible),
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search[type="button"]:focus:not(:focus-visible) {
		outline: none;
	}

	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search:focus-visible,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search[type="button"]:focus-visible {
		outline: 3px solid var(--stmax-dh-prune);
		outline-offset: 2px;
		box-shadow: 0 3px 10px rgba(56, 22, 75, 0.14);
	}

	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search svg {
		width: 18px;
		height: 18px;
		display: block;
		flex-shrink: 0;
		color: inherit;
	}
}

/* Laptop compact (1025px–1149px) : resserrage doux pour 0 chevauchement avec les 5 rubriques */
@media (min-width: 1025px) and (max-width: 1149px) {
	html body .elementor-location-header .elementor-element.elementor-element-1459f22d > .elementor-container {
		padding-inline: 10px;
		gap: 6px;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__list {
		gap: 1px;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item--has-submenu > .eael-mega-menu__link {
		letter-spacing: -0.02em;
		padding: 8px 2px 8px 5px;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure[type="button"] {
		padding: 8px 5px 8px 1px;
	}

	html body .elementor-location-header .stmax-dh-actions {
		gap: 5px;
	}
}

/* Tout Desktop 1025px–1679px : pastilles icônes rondes 40×40px (libellés masqués) pour préserver l'espace des 5 rubriques */
@media (min-width: 1025px) and (max-width: 1679px) {
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn,
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:visited,
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:focus,
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:active {
		width: 40px;
		min-width: 40px;
		height: 40px;
		padding: 0;
		justify-content: center;
	}

	html body .elementor-location-header .stmax-dh-actions .stmax-dh-btn__label {
		display: none;
	}
}

/* Grands écrans (>= 1680px) : libellés Alertes / Week-end / Appli affichés avec calibrage aéré dans max-width 1540px */
@media (min-width: 1680px) {
	html body .elementor-location-header .stmax-dh-actions {
		gap: 5px;
	}

	html body .elementor-location-header .stmax-dh-actions .stmax-dh-btn__label {
		display: inline;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__list {
		gap: 4px;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item--has-submenu > .eael-mega-menu__link {
		padding: 10px 9px;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item--has-submenu > .eael-mega-menu__link {
		padding-inline-end: 2px;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__disclosure[type="button"] {
		padding: 10px 7px 10px 1px;
	}
}

/* Survol bureau uniquement (@media (hover: hover) and (pointer: fine)) */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item:hover {
		background-color: var(--stmax-dh-lilas);
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link:hover,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item:hover > .eael-mega-menu__link {
		background-color: var(--stmax-dh-lilas);
		color: var(--stmax-dh-prune);
		border-radius: 999px;
		text-decoration: none;
		box-shadow: none;
	}

	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:hover {
		background-color: var(--stmax-dh-lilas);
		border-color: var(--stmax-dh-lilas);
		color: var(--stmax-dh-prune);
		transform: translateY(-1px);
	}

	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search:hover,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search[type="button"]:hover {
		background-color: var(--stmax-dh-jaune-hover);
		color: var(--stmax-dh-prune);
		transform: translateY(-1px);
		box-shadow: 0 5px 14px rgba(56, 22, 75, 0.18);
	}
}

@media (min-width: 1025px) and (forced-colors: active) {
	html body .elementor-location-header :is(
		section.elementor-element.elementor-element-1459f22d,
		.elementor-element-1459f22d
	) {
		border-bottom-color: CanvasText;
	}

	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item.eael-mega-menu__item--active,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link[aria-current="page"] {
		outline: 2px solid Highlight;
	}

	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search {
		border: 1px solid ButtonText;
	}

	html body .elementor-location-header :is(
		.stmax-megamenu .eael-mega-menu__link,
		.stmax-megamenu .eael-mega-menu__disclosure,
		.stmax-dh-actions a.stmax-dh-btn,
		.stmax-dh-actions button.stmax-dh-search
	):focus-visible {
		outline: 3px solid Highlight;
	}
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item,
	html body .elementor-location-header .stmax-megamenu.elementor-widget-eael-mega-menu .eael-mega-menu:not(.eael-mega-menu--mobile) .eael-mega-menu__item > .eael-mega-menu__link,
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search {
		transition: none;
	}

	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:hover,
	html body .elementor-location-header .stmax-dh-actions a.stmax-dh-btn:active,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search:hover,
	html body .elementor-location-header .stmax-dh-actions button.stmax-dh-search:active {
		transform: none;
	}
}

@media print {
	html body .elementor-location-header .stmax-dh-actions {
		display: none;
	}
}

/* ==========================================================================
   12. FOOTER V2 ÉDITORIAL AVEC PHOTO PANORAMIQUE (.stmax-ft-v2)
   ========================================================================== */
footer.stmax-global-footer.stmax-ft-v2 {
	--stmax-ft2-prune: #38164B;
	--stmax-ft2-jaune: #FFF563;
	--stmax-ft2-jaune-hover: #F5EA40;
	--stmax-ft2-text: #FFFFFF;
	--stmax-ft2-text-soft: rgba(255, 255, 255, 0.82);
	--stmax-ft2-text-muted: rgba(255, 255, 255, 0.68);
	--stmax-ft2-text-copy: rgba(255, 255, 255, 0.55);
	--stmax-ft2-divider: rgba(255, 255, 255, 0.14);
	--stmax-ft2-font: 'JUST Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--stmax-ft2-font-display: 'TT Ramillas', Georgia, 'Times New Roman', serif;

	background: var(--stmax-ft2-prune);
	color: var(--stmax-ft2-text);
	font-family: var(--stmax-ft2-font);
	padding: 0;
	padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	overflow: hidden;
	border-bottom: 6px solid var(--stmax-ft2-jaune);
}

@media (min-width: 1025px) {
	footer.stmax-global-footer.stmax-ft-v2 {
		padding-bottom: 0;
	}
}

/* Immunisation stricte des liens et boutons contre Hello Elementor / .elementor-kit-* */
footer.stmax-global-footer.stmax-ft-v2 a,
footer.stmax-global-footer.stmax-ft-v2 a:visited,
footer.stmax-global-footer.stmax-ft-v2 a:focus,
footer.stmax-global-footer.stmax-ft-v2 a:active {
	color: var(--stmax-ft2-text);
	background-color: transparent;
	text-decoration: none;
	box-shadow: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 a:hover {
		color: var(--stmax-ft2-jaune);
		background-color: transparent;
		text-decoration: none;
		box-shadow: none;
	}
}

footer.stmax-global-footer.stmax-ft-v2 button,
footer.stmax-global-footer.stmax-ft-v2 button[type="button"],
footer.stmax-global-footer.stmax-ft-v2 button:focus,
footer.stmax-global-footer.stmax-ft-v2 button:hover,
footer.stmax-global-footer.stmax-ft-v2 button:active,
footer.stmax-global-footer.stmax-ft-v2 button[type="button"]:focus,
footer.stmax-global-footer.stmax-ft-v2 button[type="button"]:hover,
footer.stmax-global-footer.stmax-ft-v2 button[type="button"]:active {
	border: 0;
	border-radius: 0;
	background-color: transparent;
	color: var(--stmax-ft2-text);
	font-family: inherit;
	text-transform: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
}

footer.stmax-global-footer.stmax-ft-v2 :is(a, button):focus-visible {
	outline: 3px solid var(--stmax-ft2-jaune);
	outline-offset: 3px;
	box-shadow: none;
}

/* 1. Bandeau photo panoramique */
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-panorama {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
}

@media (min-width: 640px) {
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-panorama {
		height: 300px;
	}
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-panorama-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	border: 0;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-panorama-fade {
	position: absolute;
	inset: 0 0 -1px 0;
	background: linear-gradient(180deg, rgba(56, 22, 75, 0.08) 0%, rgba(56, 22, 75, 0.42) 55%, #38164B 100%);
	pointer-events: none;
}

/* 2. Conteneur principal */
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-container {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding: 8px 20px 32px;
}

/* 3. Ligne haute éditoriale + Suivez-nous (Mobile-first centré) */
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-hero-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 22px;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-brand-lead {
	min-width: 0;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-kicker {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--stmax-ft2-jaune);
	line-height: 1.3;
	margin: 0 0 10px;
}

footer.stmax-global-footer.stmax-ft-v2 h2.stmax-ft2-headline {
	font-family: var(--stmax-ft2-font-display, 'TT Ramillas', Georgia, 'Times New Roman', serif);
	font-size: clamp(2rem, 6vw, 3rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--stmax-ft2-text);
	margin: 0 0 12px;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-sub--desktop {
	display: none;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-sub--mobile {
	display: block;
	margin: 0;
	color: var(--stmax-ft2-text-soft);
	font-size: 1rem;
	line-height: 1.5;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-follow {
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-follow-title {
	display: none;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social:visited,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social:focus {
	width: 52px;
	height: 52px;
	min-width: 52px;
	min-height: 52px;
	border-radius: 999px;
	background-color: var(--stmax-ft2-jaune);
	color: var(--stmax-ft2-prune);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-decoration: none;
	user-select: none;
	-webkit-user-select: none;
	transition: transform 170ms ease, opacity 170ms ease, background-color 170ms ease;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social:hover {
		transform: translateY(-2px);
		opacity: 0.9;
		background-color: var(--stmax-ft2-jaune);
		color: var(--stmax-ft2-prune);
	}
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social:active {
	transform: scale(0.96);
	background-color: var(--stmax-ft2-jaune-hover);
	color: var(--stmax-ft2-prune);
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social svg {
	width: 22px;
	height: 22px;
	display: block;
	flex-shrink: 0;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-actions {
	width: 100%;
	max-width: 380px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:visited,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:focus {
	background-color: rgba(255, 255, 255, 0.12);
	color: var(--stmax-ft2-text);
	border-radius: 12px;
	padding: 15px 20px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.25;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	min-height: 52px;
	user-select: none;
	-webkit-user-select: none;
	transition: background-color 170ms ease, color 170ms ease, transform 170ms ease;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:hover {
		background-color: rgba(255, 255, 255, 0.2);
		color: var(--stmax-ft2-text);
	}
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:active {
	background-color: rgba(255, 255, 255, 0.22);
	color: var(--stmax-ft2-text);
	transform: scale(0.98);
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:visited,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:focus {
	background-color: var(--stmax-ft2-jaune);
	color: var(--stmax-ft2-prune);
	border-radius: 12px;
	padding: 15px 20px;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.25;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	min-height: 52px;
	user-select: none;
	-webkit-user-select: none;
	transition: background-color 170ms ease, color 170ms ease, transform 170ms ease;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:hover {
		background-color: var(--stmax-ft2-jaune-hover);
		color: var(--stmax-ft2-prune);
	}
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:active {
	background-color: var(--stmax-ft2-jaune-hover);
	color: var(--stmax-ft2-prune);
	transform: scale(0.98);
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-arrow {
	flex-shrink: 0;
	line-height: 1;
}

/* 4. Séparateurs */
footer.stmax-global-footer.stmax-ft-v2 hr.stmax-ft2-divider {
	border: 0;
	border-top: 1px solid var(--stmax-ft2-divider);
	margin: 28px 0;
	height: 0;
	width: 100%;
}

/* 5. Ligne du milieu (Mobile centré + liens utiles dépliables) */
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-info-grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-col {
	min-width: 0;
	width: 100%;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-city {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--stmax-ft2-text);
	line-height: 1.15;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-city-sub {
	margin: 2px 0 12px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.3;
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link:visited,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link:focus,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: top;
	max-width: 100%;
	margin-bottom: 14px;
	border-radius: 8px;
	color: var(--stmax-ft2-text);
	background-color: transparent;
	text-decoration: none;
	box-shadow: none;
	transition: opacity 170ms ease;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link:hover {
		color: var(--stmax-ft2-text);
		background-color: transparent;
		text-decoration: none;
		box-shadow: none;
		opacity: 0.9;
	}
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link:focus-visible {
	outline: 3px solid var(--stmax-ft2-jaune, #FFF563);
	outline-offset: 4px;
	box-shadow: none;
}

footer.stmax-global-footer.stmax-ft-v2 img.stmax-ft2-logo {
	display: block;
	width: auto;
	max-width: 210px;
	height: auto;
	max-height: 64px;
	object-fit: contain;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	filter: none;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-address {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--stmax-ft2-text-soft);
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-address strong {
	color: var(--stmax-ft2-text);
	font-weight: 700;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-col-label {
	display: none;
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone:visited,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone:focus,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone:active {
	display: inline-block;
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--stmax-ft2-jaune);
	text-decoration: none;
	letter-spacing: 0.01em;
	margin: 4px 0;
	transition: color 170ms ease;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone:hover {
		color: var(--stmax-ft2-jaune-hover);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-email,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-email:visited,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-email:focus,
footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-email:active {
	display: block;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.96875rem;
	line-height: 1.45;
	margin-bottom: 10px;
	padding-block: 3px;
	transition: color 170ms ease;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-email:hover {
		color: var(--stmax-ft2-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-hours-link {
	display: none;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-mobile-shortcuts {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 6px;
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--stmax-ft2-text);
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-mobile-shortcuts a,
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-mobile-shortcuts a:visited,
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-mobile-shortcuts a:focus,
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-mobile-shortcuts a:active {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 4px;
	color: var(--stmax-ft2-text);
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-mobile-shortcuts a:hover {
		color: var(--stmax-ft2-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

footer.stmax-global-footer.stmax-ft-v2 button.stmax-ft2-useful-toggle,
footer.stmax-global-footer.stmax-ft-v2 button.stmax-ft2-useful-toggle[type="button"],
footer.stmax-global-footer.stmax-ft-v2 button.stmax-ft2-useful-toggle:focus,
footer.stmax-global-footer.stmax-ft-v2 button.stmax-ft2-useful-toggle:hover,
footer.stmax-global-footer.stmax-ft-v2 button.stmax-ft2-useful-toggle:active,
footer.stmax-global-footer.stmax-ft-v2 button.stmax-ft2-useful-toggle[type="button"]:focus,
footer.stmax-global-footer.stmax-ft-v2 button.stmax-ft2-useful-toggle[type="button"]:hover,
footer.stmax-global-footer.stmax-ft-v2 button.stmax-ft2-useful-toggle[type="button"]:active {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	background-color: transparent;
	color: var(--stmax-ft2-text);
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1.2;
	border: 0;
	padding: 6px 4px;
	cursor: pointer;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-col--links {
	display: none;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-col--links.is-open {
	display: block;
	width: 100%;
	padding-top: 10px;
}

footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a,
footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a:visited,
footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a:focus,
footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding-block: 4px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.9375rem;
	line-height: 1.45;
	text-decoration: none;
	transition: color 170ms ease;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a:hover {
		color: var(--stmax-ft2-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* 6. Barre légale (Mobile centré) */
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 10px;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--stmax-ft2-text-muted);
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-legal a,
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-legal a:visited,
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-legal a:focus,
footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-legal a:active {
	color: var(--stmax-ft2-text-muted);
	font-size: 0.8125rem;
	line-height: 1.45;
	text-decoration: none;
	padding-block: 4px;
	transition: color 170ms ease;
}

@media (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-legal a:hover {
		color: var(--stmax-ft2-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-sep {
	color: rgba(255, 255, 255, 0.42);
	user-select: none;
}

footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-copy {
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--stmax-ft2-text-copy);
	margin: 10px 0 0;
}

footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn {
	display: none;
}

/* ==========================================================================
   BREAKPOINT DESKTOP (>= 900px / >= 960px) — FOOTER V2
   ========================================================================== */
@media (min-width: 900px) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link:visited,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link:focus,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link:active {
		justify-content: flex-start;
	}

	footer.stmax-global-footer.stmax-ft-v2 img.stmax-ft2-logo {
		max-width: 230px;
		max-height: 68px;
	}
}

@media (min-width: 960px) {
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-panorama {
		height: 340px;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-container {
		padding: 12px 24px 36px;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-hero-row {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
		align-items: start;
		gap: 48px;
		text-align: left;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-sub--desktop {
		display: block;
		margin: 0;
		color: var(--stmax-ft2-text-soft);
		font-size: 1rem;
		line-height: 1.5;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-sub--mobile {
		display: none;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-follow {
		align-items: flex-start;
		gap: 14px;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-follow-title {
		display: block;
		margin: 0;
		font-size: 1.35rem;
		font-weight: 800;
		line-height: 1.2;
		color: var(--stmax-ft2-text);
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-socials {
		justify-content: flex-start;
		gap: 14px;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social:visited,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social:focus {
		width: 48px;
		height: 48px;
		min-width: 48px;
		min-height: 48px;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-actions {
		width: auto;
		max-width: none;
		gap: 8px;
		margin-top: 4px;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:visited,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:focus,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:active,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:visited,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:focus,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:active {
		background-color: transparent;
		color: var(--stmax-ft2-text);
		border-radius: 6px;
		padding: 4px 0;
		min-height: 0;
		justify-content: flex-start;
		font-size: 0.96875rem;
		font-weight: 600;
		transform: none;
	}

	footer.stmax-global-footer.stmax-ft-v2 hr.stmax-ft2-divider {
		margin: 34px 0;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-info-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px;
		text-align: left;
		align-items: start;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-col-label {
		display: block;
		font-size: 0.9375rem;
		font-weight: 700;
		line-height: 1.3;
		color: var(--stmax-ft2-jaune);
		margin: 0 0 10px;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone:visited,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone:focus,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone:active {
		color: var(--stmax-ft2-text);
		font-size: 1.85rem;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-hours-link,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-hours-link:visited,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-hours-link:focus,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-hours-link:active {
		display: inline-flex;
		align-items: center;
		color: var(--stmax-ft2-jaune);
		font-weight: 700;
		font-size: 0.9375rem;
		line-height: 1.4;
		text-decoration: none;
		gap: 6px;
		padding-block: 2px;
		transition: opacity 170ms ease;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-mobile-shortcuts {
		display: none;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-col--links,
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-col--links.is-open {
		display: block;
		width: auto;
		padding-top: 0;
	}

	footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a,
	footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a:visited,
	footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a:focus,
	footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a:active {
		justify-content: flex-start;
		min-height: 0;
		padding-block: 2px;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-bottom {
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 24px;
		text-align: left;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-legal {
		justify-content: flex-start;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn:visited,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn:focus,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn:active {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		color: var(--stmax-ft2-text);
		font-weight: 700;
		font-size: 0.875rem;
		line-height: 1.3;
		text-decoration: none;
		white-space: nowrap;
		flex-shrink: 0;
		padding-block: 4px;
		transition: color 170ms ease, transform 170ms ease;
	}
}

@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:hover,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:hover {
		background-color: transparent;
		color: var(--stmax-ft2-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone:hover {
		color: var(--stmax-ft2-jaune);
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-hours-link:hover {
		color: var(--stmax-ft2-jaune);
		opacity: 0.9;
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn:hover {
		color: var(--stmax-ft2-jaune);
		transform: translateY(-1px);
	}
}

@media (forced-colors: active) {
	footer.stmax-global-footer.stmax-ft-v2 {
		border-top: 1px solid CanvasText;
		border-bottom: 6px solid Highlight;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter {
		border: 1px solid ButtonText;
	}

	footer.stmax-global-footer.stmax-ft-v2 hr.stmax-ft2-divider {
		border-top-color: CanvasText;
	}
}

@media (forced-colors: active) and (prefers-color-scheme: light) {
	footer.stmax-global-footer.stmax-ft-v2 img.stmax-ft2-logo {
		filter: invert(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-logo-link,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-phone,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-email,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-hours-link,
	footer.stmax-global-footer.stmax-ft-v2 ul.stmax-ft2-links a,
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-legal a,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn {
		transition: none;
	}

	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social:hover,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-social:active,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--app:active,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-action--newsletter:active,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn:hover {
		transform: none;
	}
}

@media print {
	footer.stmax-global-footer.stmax-ft-v2 {
		padding-bottom: 0;
	}

	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-panorama,
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-socials,
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-actions,
	footer.stmax-global-footer.stmax-ft-v2 .stmax-ft2-mobile-shortcuts,
	footer.stmax-global-footer.stmax-ft-v2 a.stmax-ft2-top-btn {
		display: none;
	}

	footer.stmax-global-footer.stmax-ft-v2 img.stmax-ft2-logo {
		filter: invert(1);
	}
}
