/**
 * ST-MAXIMIN — MODULE DÉLIBÉRATIONS & CONSEILS MUNICIPAUX
 * Architecture CSS Moderne & Responsive
 * Version : 1.0.0
 * Direction Artistique : DESIGN.md (Magazine Civique Aéré)
 * Spécialiste : Pazu (Webomatik)
 * Normes : Mobile-first, CSS Grid, Flexbox, Variables CSS, WCAG AAA, zéro surcharge forcée, sans image bitmap
 */

/* ==========================================================================
   1. DESIGN TOKENS & RACINE
   ========================================================================== */
.stmax-delib {
	--c-prune: #38164B;
	--c-jaune: #FFF563;
	--c-jaune-hover: #F5E847;
	--c-jaune-text: #38164B;
	--c-lilas: #EFCBFF;
	--c-lavande-soft: #F7ECFC;
	--c-menthe: #9AFAB3;
	--c-surface: #FFFFFF;
	--c-filter-bg: #FAF8FC;
	--c-border: #EAE4F0;
	--c-input-border: #8E7CA0;
	--c-muted: #5E4B6B;
	--radius-lg: 16px;
	--radius-md: 12px;
	--radius-sm: 10px;
	--font-display: 'TT Ramillas', Georgia, 'Times New Roman', serif;
	--font-sans: 'JUST Sans', 'Just Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--transition-fast: 170ms var(--ease-out);
	--transition-smooth: 240ms var(--ease-out);
	--shadow-subtle: 0 2px 12px rgba(56, 22, 75, 0.04);
	--shadow-hover: 0 8px 22px rgba(56, 22, 75, 0.09);

	font-family: var(--font-sans);
	color: var(--c-prune);
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

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

/* Règle [hidden] haute spécificité par sélecteurs dédiés */
.stmax-delib [hidden],
.stmax-delib ul.stmax-delib-list[hidden],
.stmax-delib li.stmax-delib-item[hidden],
.stmax-delib .stmax-delib-empty[hidden],
.stmax-delib nav.stmax-delib-pagination[hidden],
.stmax-delib button.stmax-delib-search__clear[type="button"][hidden],
.stmax-delib ul.stmax-delib-legacy__list[hidden],
.stmax-delib nav.stmax-delib-legacy__pagination[hidden],
.stmax-delib .stmax-delib-legacy__empty[hidden],
.stmax-delib button.stmax-delib-legacy__search-clear[type="button"][hidden] {
	display: none;
}

.stmax-delib .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   2. BARRE DE RECHERCHE & FILTRES (.stmax-delib-toolbar)
   ========================================================================== */
.stmax-delib search.stmax-delib-toolbar {
	display: block;
	background-color: var(--c-filter-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-subtle);
	padding: 1.125rem;
	margin-block-end: 1.75rem;
}

@media (min-width: 640px) {
	.stmax-delib search.stmax-delib-toolbar {
		padding: 1.25rem 1.375rem;
	}
}

.stmax-delib .stmax-delib-toolbar__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.875rem;
	align-items: end;
}

@media (min-width: 520px) {
	.stmax-delib .stmax-delib-toolbar__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stmax-delib .stmax-delib-field--search,
	.stmax-delib .stmax-delib-field--reset {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.stmax-delib .stmax-delib-toolbar__grid {
		grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.72fr) minmax(145px, 0.52fr) auto;
	}

	.stmax-delib .stmax-delib-field--search,
	.stmax-delib .stmax-delib-field--reset {
		grid-column: auto;
	}
}

.stmax-delib .stmax-delib-field {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	min-width: 0;
}

.stmax-delib label.stmax-delib-label {
	display: inline-block;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--c-prune);
}

/* Champ recherche */
.stmax-delib .stmax-delib-search {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	background-color: var(--c-surface);
	border: 1px solid var(--c-input-border);
	border-radius: var(--radius-sm);
	min-height: 46px;
	padding-inline-start: 0.875rem;
	padding-inline-end: 0.25rem;
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stmax-delib .stmax-delib-search:focus-within {
	border-color: var(--c-prune);
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

.stmax-delib .stmax-delib-search__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--c-muted);
	flex-shrink: 0;
}

.stmax-delib input.stmax-delib-search__input[type="search"] {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	outline: none;
	box-shadow: none;
	flex: 1;
	min-width: 0;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0.5rem 0.25rem;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--c-prune);
}

.stmax-delib input.stmax-delib-search__input[type="search"]::placeholder {
	color: var(--c-muted);
	opacity: 0.88;
}

.stmax-delib input.stmax-delib-search__input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

.stmax-delib input.stmax-delib-search__input[type="search"]:focus-visible {
	outline: none;
}

.stmax-delib button.stmax-delib-search__clear[type="button"] {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	background-color: transparent;
	border: 0;
	border-radius: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--c-muted);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
	transition: color var(--transition-fast), background-color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib button.stmax-delib-search__clear[type="button"]:hover {
		color: var(--c-prune);
		background-color: var(--c-filter-bg);
	}
}

.stmax-delib button.stmax-delib-search__clear[type="button"]:active {
	transform: scale(0.96);
}

.stmax-delib button.stmax-delib-search__clear[type="button"]:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib button.stmax-delib-search__clear[type="button"]:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: -2px;
	color: var(--c-prune);
}

/* Sélecteurs Type & Année */
.stmax-delib select.stmax-delib-select {
	appearance: none;
	-webkit-appearance: none;
	background-color: var(--c-surface);
	border: 1px solid var(--c-input-border);
	border-radius: var(--radius-sm);
	min-height: 46px;
	width: 100%;
	margin: 0;
	padding: 0.5625rem 2.375rem 0.5625rem 0.875rem;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--c-prune);
	cursor: pointer;
	touch-action: manipulation;
	box-shadow: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338164B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	transition: border-color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib select.stmax-delib-select:hover {
		border-color: var(--c-prune);
	}
}

.stmax-delib select.stmax-delib-select:focus:not(:focus-visible) {
	outline: none;
	border-color: var(--c-prune);
}

.stmax-delib select.stmax-delib-select:focus-visible {
	border-color: var(--c-prune);
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

/* Bouton Réinitialiser */
.stmax-delib button.stmax-delib-reset[type="button"] {
	appearance: none;
	-webkit-appearance: none;
	background-color: var(--c-surface);
	color: var(--c-prune);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	min-height: 46px;
	width: 100%;
	padding: 0.5625rem 1rem;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
	text-decoration: none;
	transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

@media (min-width: 1024px) {
	.stmax-delib button.stmax-delib-reset[type="button"] {
		width: auto;
	}
}

.stmax-delib button.stmax-delib-reset[type="button"][aria-disabled="true"] {
	opacity: 0.52;
	color: var(--c-muted);
	background-color: var(--c-filter-bg);
	cursor: default;
}

.stmax-delib button.stmax-delib-reset[type="button"].is-active {
	border-color: var(--c-prune);
	background-color: var(--c-lavande-soft);
	color: var(--c-prune);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib button.stmax-delib-reset[type="button"]:not([aria-disabled="true"]):hover {
		border-color: var(--c-prune);
		background-color: var(--c-lavande);
		color: var(--c-prune);
	}
}

.stmax-delib button.stmax-delib-reset[type="button"]:not([aria-disabled="true"]):active {
	transform: scale(0.98);
}

.stmax-delib button.stmax-delib-reset[type="button"]:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib button.stmax-delib-reset[type="button"]:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

/* ==========================================================================
   3. LAYOUT 2 COLONNES ASYMÉTRIQUE (1fr / 280px >= 1024px)
   ========================================================================== */
.stmax-delib .stmax-delib-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.stmax-delib .stmax-delib-layout:not(.stmax-delib-layout--single) {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 2rem;
	}
}

.stmax-delib .stmax-delib-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* En-tête de section + filet jaune 24×3px */
.stmax-delib .stmax-delib-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	padding-block-end: 0.75rem;
	border-bottom: 1px solid var(--c-border);
}

.stmax-delib h2.stmax-delib-heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(1.45rem, 1.15rem + 1.05vw, 1.95rem);
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--c-prune);
	text-wrap: balance;
}

.stmax-delib h2.stmax-delib-heading::before {
	content: "";
	width: 24px;
	height: 3px;
	border-radius: 2px;
	background-color: var(--c-jaune);
	flex-shrink: 0;
}

.stmax-delib .stmax-delib-counter {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	color: var(--c-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.stmax-delib .stmax-delib-counter__count {
	font-weight: 700;
	font-size: 1rem;
	color: var(--c-prune);
}

.stmax-delib .stmax-delib-counter__label {
	font-weight: 400;
}

/* ==========================================================================
   4. LISTE DES DÉLIBÉRATIONS & BADGES SÉMANTIQUES
   ========================================================================== */
.stmax-delib ul.stmax-delib-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.stmax-delib li.stmax-delib-item {
	margin: 0;
	padding: 0;
}

.stmax-delib article.stmax-delib-card {
	background-color: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-subtle);
	padding: 1.125rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

@media (min-width: 720px) {
	.stmax-delib article.stmax-delib-card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
		padding: 1.25rem 1.375rem;
	}
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib article.stmax-delib-card:hover {
		border-color: rgba(56, 22, 75, 0.25);
		box-shadow: var(--shadow-hover);
	}
}

.stmax-delib .stmax-delib-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
	flex: 1;
}

.stmax-delib .stmax-delib-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.875rem;
}

/* Badges par variant */
.stmax-delib .stmax-delib-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.stmax-delib .stmax-delib-badge--prune {
	background-color: var(--c-prune);
	color: #FFFFFF;
}

.stmax-delib .stmax-delib-badge--lilas {
	background-color: var(--c-lilas);
	color: var(--c-prune);
}

.stmax-delib .stmax-delib-badge--jaune {
	background-color: var(--c-jaune);
	color: var(--c-jaune-text);
}

.stmax-delib .stmax-delib-badge--menthe {
	background-color: var(--c-menthe);
	color: var(--c-prune);
}

.stmax-delib .stmax-delib-badge--soft {
	background-color: var(--c-filter-bg);
	border: 1px solid var(--c-border);
	color: var(--c-prune);
}

.stmax-delib .stmax-delib-card__date {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--c-muted);
	font-variant-numeric: tabular-nums;
}

.stmax-delib .stmax-delib-card__date svg {
	color: var(--c-prune);
	flex-shrink: 0;
}

.stmax-delib .stmax-delib-card__ref {
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--c-muted);
	font-variant-numeric: tabular-nums;
}

.stmax-delib h3.stmax-delib-card__title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
	font-weight: 400;
	line-height: 1.38;
	color: var(--c-prune);
	overflow-wrap: anywhere;
}

.stmax-delib .stmax-delib-card__action {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem;
	flex-shrink: 0;
}

@media (min-width: 720px) {
	.stmax-delib .stmax-delib-card__action {
		align-items: flex-end;
	}
}

.stmax-delib a.stmax-delib-btn-pdf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.625rem 1.25rem;
	border-radius: 9999px;
	background-color: var(--c-jaune);
	color: var(--c-jaune-text);
	border: 1px solid rgba(56, 22, 75, 0.08);
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
	transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib a.stmax-delib-btn-pdf:hover {
		background-color: var(--c-jaune-hover);
		color: var(--c-jaune-text);
		text-decoration: none;
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(56, 22, 75, 0.12);
	}
}

.stmax-delib a.stmax-delib-btn-pdf:active {
	transform: scale(0.98);
}

.stmax-delib a.stmax-delib-btn-pdf:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib a.stmax-delib-btn-pdf:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
	color: var(--c-jaune-text);
}

.stmax-delib .stmax-delib-card__size {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--c-muted);
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.stmax-delib .stmax-delib-no-pdf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.5rem 0.9375rem;
	border-radius: var(--radius-sm);
	background-color: var(--c-filter-bg);
	border: 1px solid var(--c-border);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--c-muted);
}

/* ==========================================================================
   5. ÉTATS VIDES & PAGINATION PRINCIPALE
   ========================================================================== */
.stmax-delib .stmax-delib-empty {
	background-color: var(--c-filter-bg);
	border: 1px dashed #D3C6DF;
	border-radius: var(--radius-lg);
	padding: 2.25rem 1.5rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.875rem;
}

.stmax-delib .stmax-delib-empty__icon {
	color: var(--c-muted);
	opacity: 0.75;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.stmax-delib .stmax-delib-empty__text {
	margin: 0;
	max-width: 54ch;
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.55;
	color: var(--c-prune);
	text-wrap: pretty;
}

.stmax-delib button.stmax-delib-empty__reset[type="button"] {
	appearance: none;
	-webkit-appearance: none;
	min-height: 44px;
	padding: 0.5625rem 1.25rem;
	border-radius: 9999px;
	border: 1px solid var(--c-prune);
	background-color: var(--c-surface);
	color: var(--c-prune);
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	box-shadow: none;
	transition: background-color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib button.stmax-delib-empty__reset[type="button"]:hover {
		background-color: var(--c-lavande-soft);
		color: var(--c-prune);
	}
}

.stmax-delib button.stmax-delib-empty__reset[type="button"]:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

/* Pagination principale */
.stmax-delib nav.stmax-delib-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-block-start: 0.5rem;
}

.stmax-delib button.stmax-delib-page-btn[type="button"] {
	appearance: none;
	-webkit-appearance: none;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.625rem;
	margin: 0;
	border-radius: 9999px;
	background-color: var(--c-surface);
	border: 1px solid var(--c-border);
	color: var(--c-prune);
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
	transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.stmax-delib button.stmax-delib-page-btn[type="button"][aria-disabled="true"] {
	opacity: 0.42;
	color: var(--c-muted);
	cursor: not-allowed;
}

.stmax-delib button.stmax-delib-page-btn[type="button"].is-active,
.stmax-delib button.stmax-delib-page-btn[type="button"][aria-current="page"] {
	background-color: var(--c-prune);
	color: #FFFFFF;
	border-color: var(--c-prune);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib button.stmax-delib-page-btn[type="button"]:not(.is-active):not([aria-disabled="true"]):hover {
		border-color: var(--c-prune);
		background-color: var(--c-lavande-soft);
		color: var(--c-prune);
	}
}

.stmax-delib button.stmax-delib-page-btn[type="button"]:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib button.stmax-delib-page-btn[type="button"]:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

.stmax-delib .stmax-delib-page-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 44px;
	color: var(--c-muted);
	font-weight: 700;
}

/* ==========================================================================
   6. ACCORDÉON DISCRET ARCHIVES PRÉ-25/11/2026 (.stmax-delib-legacy)
   ========================================================================== */
.stmax-delib details.stmax-delib-legacy {
	margin-block-start: 0.75rem;
	background-color: var(--c-filter-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	color: var(--c-prune);
	overflow: hidden;
}

.stmax-delib summary.stmax-delib-legacy__summary {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.9375rem 1.125rem;
	min-height: 56px;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	background-color: transparent;
	transition: background-color var(--transition-fast);
}

.stmax-delib summary.stmax-delib-legacy__summary::-webkit-details-marker {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib summary.stmax-delib-legacy__summary:hover {
		background-color: var(--c-lavande-soft);
	}
}

.stmax-delib summary.stmax-delib-legacy__summary:active {
	background-color: #EFE7F7;
}

.stmax-delib summary.stmax-delib-legacy__summary:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib summary.stmax-delib-legacy__summary:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: -3px;
	border-radius: var(--radius-md);
}

.stmax-delib .stmax-delib-legacy__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background-color: var(--c-surface);
	border: 1px solid var(--c-border);
	color: var(--c-muted);
}

.stmax-delib .stmax-delib-legacy__summary-text {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	flex: 1;
	min-width: 0;
}

.stmax-delib .stmax-delib-legacy__title {
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--c-prune);
}

.stmax-delib .stmax-delib-legacy__subtitle {
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--c-muted);
}

.stmax-delib .stmax-delib-legacy__chevron {
	margin-inline-start: auto;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--c-muted);
	transition: transform var(--transition-fast), color var(--transition-fast);
}

.stmax-delib details.stmax-delib-legacy[open] > summary.stmax-delib-legacy__summary .stmax-delib-legacy__chevron {
	transform: rotate(180deg);
	color: var(--c-prune);
}

.stmax-delib .stmax-delib-legacy__body {
	border-top: 1px solid var(--c-border);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

@media (min-width: 640px) {
	.stmax-delib .stmax-delib-legacy__body {
		padding: 1.25rem 1.375rem;
	}
}

/* Pilules d'années */
.stmax-delib .stmax-delib-legacy__years {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.stmax-delib button.stmax-delib-legacy__year-pill[type="button"] {
	appearance: none;
	-webkit-appearance: none;
	background-color: var(--c-surface);
	color: var(--c-prune);
	border: 1px solid var(--c-border);
	border-radius: 9999px;
	min-height: 44px;
	padding: 0.5rem 0.9375rem;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
	text-decoration: none;
	transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.stmax-delib .stmax-delib-legacy__year-count {
	font-weight: 400;
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	opacity: 0.85;
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib button.stmax-delib-legacy__year-pill[type="button"]:not(.is-active):not([aria-pressed="true"]):hover {
		border-color: var(--c-prune);
		background-color: var(--c-surface);
		color: var(--c-prune);
	}
}

.stmax-delib button.stmax-delib-legacy__year-pill[type="button"]:active {
	transform: scale(0.98);
}

.stmax-delib button.stmax-delib-legacy__year-pill[type="button"].is-active,
.stmax-delib button.stmax-delib-legacy__year-pill[type="button"][aria-pressed="true"] {
	background-color: var(--c-prune);
	color: #FFFFFF;
	border-color: var(--c-prune);
}

.stmax-delib button.stmax-delib-legacy__year-pill[type="button"]:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib button.stmax-delib-legacy__year-pill[type="button"]:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

/* Recherche interne archives (<search>) */
.stmax-delib search.stmax-delib-legacy__controls {
	display: block;
	width: 100%;
}

.stmax-delib .stmax-delib-legacy__search-wrap {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	background-color: var(--c-surface);
	border: 1px solid var(--c-input-border);
	border-radius: var(--radius-sm);
	min-height: 46px;
	padding-inline-start: 0.875rem;
	padding-inline-end: 0.25rem;
	transition: border-color var(--transition-fast);
}

.stmax-delib .stmax-delib-legacy__search-wrap:focus-within {
	border-color: var(--c-prune);
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

.stmax-delib .stmax-delib-legacy__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--c-muted);
	flex-shrink: 0;
}

.stmax-delib input.stmax-delib-legacy__search-input[type="search"] {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	background-color: transparent;
	border: 0;
	outline: none;
	box-shadow: none;
	flex: 1;
	min-width: 0;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0.5rem 0.25rem;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--c-prune);
}

.stmax-delib input.stmax-delib-legacy__search-input[type="search"]::placeholder {
	color: var(--c-muted);
	opacity: 0.88;
}

.stmax-delib input.stmax-delib-legacy__search-input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

.stmax-delib input.stmax-delib-legacy__search-input[type="search"]:focus-visible {
	outline: none;
}

.stmax-delib button.stmax-delib-legacy__search-clear[type="button"] {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	background-color: transparent;
	border: 0;
	border-radius: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--c-muted);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
	transition: color var(--transition-fast), background-color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib button.stmax-delib-legacy__search-clear[type="button"]:hover {
		color: var(--c-prune);
		background-color: var(--c-filter-bg);
	}
}

.stmax-delib button.stmax-delib-legacy__search-clear[type="button"]:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: -2px;
	color: var(--c-prune);
}

.stmax-delib .stmax-delib-legacy__status {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--c-muted);
	font-variant-numeric: tabular-nums;
}

.stmax-delib ul.stmax-delib-legacy__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.stmax-delib .stmax-delib-legacy__item {
	margin: 0;
	padding: 0;
}

.stmax-delib a.stmax-delib-legacy__link {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	width: 100%;
	min-height: 44px;
	padding: 0.75rem 0.9375rem;
	background-color: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	color: var(--c-prune);
	text-decoration: none;
	box-shadow: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

@media (min-width: 640px) {
	.stmax-delib a.stmax-delib-legacy__link {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.75rem 1rem;
	}
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib a.stmax-delib-legacy__link:hover {
		border-color: rgba(56, 22, 75, 0.35);
		background-color: var(--c-surface);
		color: var(--c-prune);
		text-decoration: none;
	}

	.stmax-delib a.stmax-delib-legacy__link:hover .stmax-delib-legacy__action {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

.stmax-delib a.stmax-delib-legacy__link:active {
	background-color: var(--c-lavande-soft);
}

.stmax-delib a.stmax-delib-legacy__link:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib a.stmax-delib-legacy__link:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

.stmax-delib .stmax-delib-legacy__item-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.625rem;
	min-width: 0;
	flex: 1;
}

.stmax-delib .stmax-delib-legacy__badge {
	flex-shrink: 0;
	font-size: 0.6875rem;
	padding: 0.1875rem 0.625rem;
}

.stmax-delib .stmax-delib-legacy__name {
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--c-prune);
	line-height: 1.38;
	overflow-wrap: anywhere;
	flex: 1 1 220px;
}

.stmax-delib .stmax-delib-legacy__item-meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-shrink: 0;
}

.stmax-delib .stmax-delib-legacy__action {
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--c-prune);
	white-space: nowrap;
}

/* Pagination archives */
.stmax-delib nav.stmax-delib-legacy__pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding-block-start: 0.375rem;
}

.stmax-delib button.stmax-delib-legacy__page-btn[type="button"] {
	appearance: none;
	-webkit-appearance: none;
	background-color: var(--c-surface);
	color: var(--c-prune);
	border: 1px solid var(--c-border);
	border-radius: 9999px;
	min-height: 44px;
	padding: 0.5rem 1rem;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.stmax-delib button.stmax-delib-legacy__page-btn[type="button"][aria-disabled="true"] {
	opacity: 0.42;
	cursor: not-allowed;
	color: var(--c-muted);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib button.stmax-delib-legacy__page-btn[type="button"]:not([aria-disabled="true"]):hover {
		border-color: var(--c-prune);
		background-color: var(--c-lavande-soft);
	}
}

.stmax-delib button.stmax-delib-legacy__page-btn[type="button"]:not([aria-disabled="true"]):active {
	transform: scale(0.98);
}

.stmax-delib button.stmax-delib-legacy__page-btn[type="button"]:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib button.stmax-delib-legacy__page-btn[type="button"]:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

.stmax-delib .stmax-delib-legacy__page-info {
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--c-muted);
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.stmax-delib .stmax-delib-legacy__loading,
.stmax-delib .stmax-delib-legacy__empty,
.stmax-delib .stmax-delib-legacy__error-text {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--c-muted);
	line-height: 1.5;
}

.stmax-delib .stmax-delib-legacy__error {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}

.stmax-delib button.stmax-delib-legacy__retry[type="button"] {
	appearance: none;
	-webkit-appearance: none;
	min-height: 44px;
	padding: 0.5rem 1.125rem;
	border-radius: 9999px;
	border: 1px solid var(--c-prune);
	background-color: var(--c-surface);
	color: var(--c-prune);
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
}

.stmax-delib button.stmax-delib-legacy__retry[type="button"]:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

/* ==========================================================================
   7. COLONNE DROITE STICKY (.stmax-delib-sidebar)
   ========================================================================== */
.stmax-delib aside.stmax-delib-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-width: 0;
}

@media (min-width: 1024px) {
	.stmax-delib aside.stmax-delib-sidebar {
		position: sticky;
		top: calc(1.5rem + var(--wp-admin--admin-bar--height, 0px));
		align-self: start;
	}
}

/* Carte Accès rapide */
.stmax-delib .stmax-delib-sidecard {
	background-color: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-subtle);
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.stmax-delib h2.stmax-delib-sidecard__title {
	margin: 0;
	padding-block-end: 0.625rem;
	border-bottom: 1px solid var(--c-border);
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--c-prune);
}

.stmax-delib ul.stmax-delib-quicklinks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.stmax-delib .stmax-delib-quicklinks__item {
	margin: 0;
	padding: 0;
}

.stmax-delib .stmax-delib-quicklinks__item:not(:last-child) {
	border-bottom: 1px solid var(--c-border);
}

.stmax-delib a.stmax-delib-quicklinks__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: 44px;
	padding: 0.5rem 0.375rem;
	border-radius: 8px;
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--c-prune);
	text-decoration: none;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--transition-fast);
}

.stmax-delib .stmax-delib-quicklinks__arrow {
	color: var(--c-muted);
	flex-shrink: 0;
	transition: transform var(--transition-fast), color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib a.stmax-delib-quicklinks__link:hover {
		background-color: var(--c-filter-bg);
		color: var(--c-prune);
		text-decoration: none;
	}

	.stmax-delib a.stmax-delib-quicklinks__link:hover .stmax-delib-quicklinks__arrow {
		color: var(--c-prune);
		transform: translateX(3px);
	}
}

.stmax-delib a.stmax-delib-quicklinks__link:active {
	background-color: var(--c-lavande-soft);
}

.stmax-delib a.stmax-delib-quicklinks__link:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib a.stmax-delib-quicklinks__link:focus-visible {
	outline: 3px solid var(--c-prune);
	outline-offset: 2px;
}

/* Carte info Prune Conseil municipal */
.stmax-delib .stmax-delib-darkcard {
	background-color: var(--c-prune);
	color: #FFFFFF;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-subtle);
	padding: 1.375rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.875rem;
}

.stmax-delib .stmax-delib-darkcard__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
}

.stmax-delib .stmax-delib-darkcard__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-md);
	border: 1.5px solid rgba(255, 245, 99, 0.6);
	background-color: rgba(255, 255, 255, 0.06);
	color: var(--c-jaune);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.stmax-delib h2.stmax-delib-darkcard__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #FFFFFF;
}

.stmax-delib .stmax-delib-darkcard__text {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
	text-wrap: pretty;
}

.stmax-delib a.stmax-delib-darkcard__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 44px;
	width: 100%;
	padding: 0.625rem 1.125rem;
	border-radius: 9999px;
	background-color: var(--c-jaune);
	color: var(--c-jaune-text);
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--transition-fast), transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
	.stmax-delib a.stmax-delib-darkcard__cta:hover {
		background-color: var(--c-jaune-hover);
		color: var(--c-jaune-text);
		text-decoration: none;
		transform: translateY(-1px);
	}
}

.stmax-delib a.stmax-delib-darkcard__cta:active {
	transform: scale(0.98);
}

.stmax-delib a.stmax-delib-darkcard__cta:focus:not(:focus-visible) {
	outline: none;
}

.stmax-delib a.stmax-delib-darkcard__cta:focus-visible {
	outline: 3px solid var(--c-jaune);
	outline-offset: 2px;
	color: var(--c-jaune-text);
}

/* ==========================================================================
   8. HERO PANORAMIQUE (/deliberations/ — HTML & Elementor natif)
   ========================================================================== */
:where(body, .elementor) .e-con.stmax-delib-hero {
	--padding-top: clamp(28px, 4vw, 44px);
	--padding-right: 0px;
	--padding-bottom: clamp(28px, 4vw, 44px);
	--padding-left: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--flex-direction: column;
	--align-items: stretch;
	--width: 100%;
}

:where(body, .elementor) .stmax-delib-hero:not(.e-con) {
	padding-block: clamp(28px, 4vw, 44px);
}

:where(body, .elementor) .stmax-delib-hero {
	position: relative;
	width: 100%;
	background-color: #38164B;
	background-image:
		linear-gradient(135deg, rgba(56, 22, 75, 0.88) 0%, rgba(42, 15, 58, 0.78) 100%),
		url('../../../stmax-site-chrome/assets/img/footer-saint-maximin.jpg');
	background-size: cover;
	background-position: center 42%;
	background-repeat: no-repeat;
	border-bottom: none;
	color: #FFFFFF;
	overflow: hidden;
	box-sizing: border-box;
	font-family: 'JUST Sans', 'Just Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.stmax-delib-hero *,
.stmax-delib-hero *::before,
.stmax-delib-hero *::after {
	box-sizing: border-box;
}

:where(.stmax-delib-hero) .elementor-widget-container {
	height: auto;
}

:where(.e-con.stmax-delib-hero, .e-con.stmax-delib-hero__inner) > :where(.elementor-widget:not(:last-child)) {
	margin-block-end: 0;
	margin-bottom: 0;
}

:where(.stmax-delib-hero) .e-con.stmax-delib-hero__inner {
	--padding-top: 0px;
	--padding-right: clamp(16px, 3vw, 24px);
	--padding-bottom: 0px;
	--padding-left: clamp(16px, 3vw, 24px);
	--margin-top: 0px;
	--margin-right: auto;
	--margin-bottom: 0px;
	--margin-left: auto;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--flex-direction: column;
	--align-items: flex-start;
	--width: 1240px;
}

:where(.stmax-delib-hero) .stmax-delib-hero__inner:not(.e-con) {
	padding-inline: clamp(16px, 3vw, 24px);
}

:where(.stmax-delib-hero) .stmax-delib-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
}

:where(.stmax-delib-hero) :is(nav.stmax-delib-hero__breadcrumb, .stmax-delib-hero__breadcrumb) {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.88);
	min-width: 0;
	max-width: 100%;
}

:where(.stmax-delib-hero) :is(nav.stmax-delib-hero__breadcrumb, .stmax-delib-hero__breadcrumb p) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

:where(.stmax-delib-hero) .stmax-delib-hero__breadcrumb > span[aria-hidden="true"] {
	color: rgba(255, 255, 255, 0.62);
}

:where(.stmax-delib-hero) .stmax-delib-hero__breadcrumb a,
:where(.stmax-delib-hero) .stmax-delib-hero__breadcrumb a:visited {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	padding-block: 0.25rem;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
	:where(.stmax-delib-hero) .stmax-delib-hero__breadcrumb a:hover {
		color: #FFF563;
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

:where(.stmax-delib-hero) :is(a, button):focus-visible,
:where(.stmax-delib-hero) .stmax-delib-hero__breadcrumb a:focus-visible {
	outline: 3px solid #FFF563;
	outline-offset: 2px;
	border-radius: 4px;
	color: #FFFFFF;
}

:where(.stmax-delib-hero) .stmax-delib-hero__title {
	margin: 10px 0 12px;
	min-width: 0;
	max-width: 100%;
}

:where(.stmax-delib-hero) :is(h1.stmax-delib-hero__title, .stmax-delib-hero__title:not(.elementor-widget-heading), .stmax-delib-hero__title .elementor-heading-title) {
	font-family: 'TT Ramillas', Georgia, 'Times New Roman', serif;
	font-weight: 400;
	font-size: clamp(2rem, 3.4vw, 2.85rem);
	color: #FFFFFF;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

:where(.stmax-delib-hero) .stmax-delib-hero__title .elementor-heading-title {
	margin: 0;
}

:where(.stmax-delib-hero) .stmax-delib-hero__rule:not(.elementor-widget-divider) {
	width: 44px;
	height: 3px;
	border-radius: 999px;
	background-color: #FFF563;
	margin-bottom: 14px;
}

:where(.stmax-delib-hero) .elementor-widget-divider.stmax-delib-hero__rule {
	width: 44px;
	max-width: 100%;
	height: auto;
	background: transparent;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 0 14px;
	--divider-border-style: solid;
	--divider-border-width: 3px;
	--divider-color: #FFF563;
}

:where(.elementor-widget-divider.stmax-delib-hero__rule) .elementor-divider {
	padding: 0;
	display: flex;
}

:where(.elementor-widget-divider.stmax-delib-hero__rule) .elementor-divider-separator {
	width: 100%;
	border-radius: 999px;
}

:where(.stmax-delib-hero) :is(p.stmax-delib-hero__lead, .stmax-delib-hero__lead) {
	font-family: 'JUST Sans', 'Just Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 400;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.90);
	max-width: 68ch;
	line-height: 1.55;
	margin: 0;
	text-wrap: pretty;
}

:where(.stmax-delib-hero__lead) p {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

:where(.stmax-delib-hero) .stmax-delib-hero__lead a {
	color: #FFF563;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   9. MOUVEMENT RÉDUIT (ACCESSIBILITÉ)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.stmax-delib,
	.stmax-delib *,
	.stmax-delib-hero,
	.stmax-delib-hero * {
		transition: none;
		animation: none;
		scroll-behavior: auto;
	}

	.stmax-delib details.stmax-delib-legacy[open] > summary.stmax-delib-legacy__summary .stmax-delib-legacy__chevron {
		transform: rotate(180deg);
	}
}
