/* ==========================================================================
   SSM – CdC des Sources de l'Orne : styles du site (front + éditeur)
   Valeurs reprises de la maquette « Accueil CdC Sources Orne – VF ». Bascule mobile : 1100 px.
   ========================================================================== */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
	font-family: "Outfit";
	src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Jetons de design ---------- */
:root {
	--ssm-ink: #2B2B2F;
	--ssm-green: #144F79;        /* bleu CdC */
	--ssm-green-dark: #0E3C5C;   /* bleu assombri (AA) */
	--ssm-cream: #FFFFFF;
	--ssm-gold: #93BF3C;         /* vert CdC */
	--ssm-sand: #C9E09A;         /* vert éclairci */
	--ssm-beige: #EAF2DC;
	--ssm-line: #E4E4E4;
	--ssm-muted: #3D3D42;
	--ssm-muted2: #4E4D4E;
	--ssm-gold-dark: #4A601E;    /* vert assombri : texte sur blanc (AA) */
	--ssm-font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ssm-script: "Outfit", system-ui, sans-serif;
	--ssm-gutter: clamp(20px, 5vw, 56px);
	--ssm-ease: cubic-bezier(.2, .8, .2, 1);
	/* Kadence : palette et typographie alignées sur la maquette. */
	--global-palette1: #144F79;
	--global-palette2: #2B2B2F;
	--global-palette3: #2B2B2F;
	--global-palette4: #3D3D42;
	--global-palette5: #4E4D4E;
	--global-palette6: #6B6B70;
	--global-palette7: #EAF2DC;
	--global-palette8: #F2F2F2;
	--global-palette9: #FFFFFF;
	--global-body-font-family: var(--ssm-font);
	--global-heading-font-family: var(--ssm-font);
	--global-primary-nav-font-family: var(--ssm-font);
}

html { scroll-behavior: smooth; }
html.ssm-lock { overflow: hidden; }
body.ssm,
.editor-styles-wrapper {
	margin: 0;
	background: var(--ssm-cream);
	color: var(--ssm-ink);
	font-family: var(--ssm-font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.ssm { overflow-x: clip; }
:is(.ssm, .editor-styles-wrapper) *, :is(.ssm, .editor-styles-wrapper) *::before, :is(.ssm, .editor-styles-wrapper) *::after,
.editor-styles-wrapper [class*="ssm-"], .editor-styles-wrapper [class*="ssm-"] * { box-sizing: border-box; }
:is(.ssm, .editor-styles-wrapper) #wrapper, :is(.ssm, .editor-styles-wrapper) .site { background: var(--ssm-cream); }

/* Neutralisation des zones Kadence remplacées par l'extension. */
:is(.ssm, .editor-styles-wrapper) .entry-hero-container-inner,
:is(.ssm, .editor-styles-wrapper) .entry-hero,
:is(.ssm, .editor-styles-wrapper) .page-title.entry-header,
:is(.ssm, .editor-styles-wrapper) .archive-title,
:is(.ssm, .editor-styles-wrapper) .site-header-wrap,
:is(.ssm, .editor-styles-wrapper) #mobile-drawer,
:is(.ssm, .editor-styles-wrapper) .site-footer-wrap { display: none !important; }
.ssm.ssm-is-home .content-area,
.ssm.ssm-has-ph .content-area { margin: 0; }
:is(.ssm, .editor-styles-wrapper) .content-container.site-container { max-width: none; padding: 0; }
.ssm.ssm-is-home .entry-content > * { margin: 0; }
.ssm.ssm-is-home .entry-content-wrap { margin: 0; padding: 0; }
/* Marges Kadence des contenus (.single-content p, h2…) neutralisées dans les composants. */
.ssm .single-content :is(.ssm-hero, .ssm-info, .ssm-terr, .ssm-social, .ssm-tiles-wrap, .ssm-list, .ssm-card) :is(p, h2, h3, ul, ol, figure, form) { margin-top: 0; margin-bottom: 0; }
.ssm .single-content :is(ul, ol)[class*="ssm-"]:not(.ssm-etapes) { padding-left: 0; list-style: none; }
.ssm .single-content :is(ul, ol)[class*="ssm-"]:not(.ssm-etapes) > li { margin: 0; }
.ssm .single-content .ssm-hero .ssm-hero__sub { margin-top: clamp(8px, 1.4vw, 16px); }
.ssm .single-content .ssm-hero .ssm-hero__search { margin-top: clamp(26px, 4vh, 44px); }
.ssm .single-content .ssm-social .ssm-insta { margin-top: clamp(36px, 4vw, 56px); }
.ssm.ssm-is-home .entry.single-entry,
.ssm.ssm-has-ph .entry.single-entry { box-shadow: none; border-radius: 0; background: transparent; }

/* Accessibilité : focus visible partout, mouvement réduit. */
:is(.ssm, .editor-styles-wrapper) :focus { outline: none; }
:is(.ssm, .editor-styles-wrapper) :focus-visible,
.ssm-editor-block :focus-visible {
	outline: 3px solid var(--ssm-gold);
	outline-offset: 2px;
	border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
	:is(.ssm, .editor-styles-wrapper) *, :is(.ssm, .editor-styles-wrapper) *::before, :is(.ssm, .editor-styles-wrapper) *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
:is(.ssm, .editor-styles-wrapper) .screen-reader-text:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Liens et boutons des composants : remise à zéro des styles Kadence. */
.ssm-header a, .ssm-hero a, .ssm-info a, .ssm-terr a, .ssm-social a, .ssm-footer a,
.ssm-rail a, .ssm-dock a, .ssm-search a, .ssm-modal a, .ssm-ph a, .ssm-tiles a, .ssm-list a,
.ssm-drawer a, .ssm-toast a, .ssm-mega a, .ssm-card a {
	text-decoration: none;
	color: inherit;
}
.ssm-header button, .ssm-hero button, .ssm-info button, .ssm-search button, .ssm-modal button,
.ssm-drawer button, .ssm-toast button, .ssm-dots button {
	font-family: inherit;
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
	min-height: 0;
	line-height: inherit;
}
:is(.ssm, .editor-styles-wrapper) a, :is(.ssm, .editor-styles-wrapper) button {
	transition: background-color .3s ease, color .3s ease, transform .45s var(--ssm-ease), box-shadow .45s var(--ssm-ease), opacity .3s ease, gap .3s ease, padding .3s ease, border-color .3s ease;
}

.ssm-wrap {
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--ssm-gutter);
}

/* ---------- Titres de section (accroche manuscrite + capitales) ---------- */
.ssm-title {
	margin: 0;
	font-family: var(--ssm-font);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	color: var(--ssm-ink);
	text-transform: uppercase;
}
.ssm-title__accent {
	display: block;
	font-family: var(--ssm-script);
	font-weight: 400;
	font-size: clamp(24px, 2.3vw, 32px);
	color: var(--ssm-gold-dark);
	text-transform: none;
	line-height: 1;
	transform: rotate(-4deg);
	transform-origin: left bottom;
	margin: 0 0 6px;
}
.ssm-title__main { display: block; }
.ssm-title--xl { font-size: clamp(34px, 3.9vw, 56px); white-space: nowrap; }
.ssm-title--xl .ssm-title__accent { margin-bottom: 8px; }
.ssm-title--md { font-size: clamp(30px, 3.1vw, 44px); text-wrap: balance; }
.ssm-title--green .ssm-title__accent { color: var(--ssm-green); }
.ssm-title--light { color: var(--ssm-cream); }
.ssm-title--light .ssm-title__accent { color: var(--ssm-sand); }

/* ---------- Boutons ---------- */
.ssm-btn,
:is(.ssm, .editor-styles-wrapper) .ssm-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	background: var(--ssm-gold);
	color: var(--ssm-ink);
	border: 0;
	border-radius: 10px;
	padding: 16px 28px;
	font-family: var(--ssm-font);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.55;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}
.ssm-btn:hover, .ssm-btn:focus-visible,
:is(.ssm, .editor-styles-wrapper) .ssm-btn:hover, :is(.ssm, .editor-styles-wrapper) .ssm-btn:focus-visible { background: var(--ssm-green-dark); color: #fff; gap: 14px; }
.ssm-btn:active { transform: translateY(1px); }
.ssm-btn .ssm-ico { flex: none; }
.ssm-btn--sm { padding: 12px 20px; font-size: 17px; margin-top: 8px; }
.ssm-terr .ssm-btn--sm:hover, .ssm-terr .ssm-btn--sm:focus-visible { background: var(--ssm-cream); color: var(--ssm-ink); }
.ssm-btn--green, :is(.ssm, .editor-styles-wrapper) .ssm-btn--green { background: var(--ssm-green-dark); color: #fff; font-size: 16px; padding: 13px 22px; }
.ssm-btn--green:hover, .ssm-btn--green:focus-visible, :is(.ssm, .editor-styles-wrapper) .ssm-btn--green:hover { background: var(--ssm-ink); color: #fff; gap: 10px; }
.ssm-btn--light, :is(.ssm, .editor-styles-wrapper) .ssm-btn--light { background: var(--ssm-beige); color: var(--ssm-ink); font-size: 16px; padding: 13px 20px; }
.ssm-btn--light:hover, .ssm-btn--light:focus-visible, :is(.ssm, .editor-styles-wrapper) .ssm-btn--light:hover { background: var(--ssm-line); color: var(--ssm-ink); gap: 10px; }
.ssm-btn__info { font-weight: 400; font-size: 14px; opacity: .85; }
.ssm-more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--ssm-green-dark) !important;
	text-decoration: none;
}
.ssm-more .ssm-ico { color: var(--ssm-gold); }
.ssm-more:hover, .ssm-more:focus-visible { gap: 14px; color: var(--ssm-ink) !important; }

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.ssm-header { position: static; }
html.ssm-lock .ssm-dock, html.ssm-lock .ssm-toast, html.ssm-lock .ssm-rail, html.ssm-lock .ssm-qm, html.ssm-lock .ssm-qm__open { visibility: hidden; }
.ssm-bar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 30;
	background: rgba(255, 255, 255, 0);
	transition: background-color .35s ease, box-shadow .35s ease;
}
.admin-bar .ssm-bar { top: var(--wp-admin--admin-bar--height, 32px); }
.ssm-bar__in {
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	padding: 22px var(--ssm-gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	transition: padding .35s ease;
}
.ssm-header.is-scrolled .ssm-bar,
.ssm-header.has-mega .ssm-bar {
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 8px 30px rgba(43, 43, 47, .12);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}
.ssm-header.is-scrolled .ssm-bar__in { padding-top: 12px; padding-bottom: 12px; }

/* Logo */
.ssm-logo { display: flex; align-items: center; flex: none; }
.ssm-logo__in { display: grid; }
.ssm-logo img {
	grid-area: 1 / 1;
	height: clamp(30px, 2.6vw, 38px);
	width: auto;
	max-width: none;
	display: block;
	transition: opacity .35s ease;
}
.ssm-logo__d { opacity: 0; }
.ssm-logo__txt { font-weight: 700; font-size: 22px; color: #fff; }
.is-scrolled .ssm-logo__w, .has-mega .ssm-logo__w { opacity: 0; }
.is-scrolled .ssm-logo__d, .has-mega .ssm-logo__d { opacity: 1; }
.is-scrolled .ssm-logo__txt, .has-mega .ssm-logo__txt { color: var(--ssm-ink); }

/* Menu principal */
.ssm-nav { flex: 1 0 auto; display: flex; justify-content: center; }
.ssm-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(2px, .6vw, 10px);
	margin: 0; padding: 0;
	list-style: none;
	font-weight: 500;
}
.ssm-nav__item { position: relative; margin: 0; }
.ssm-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff !important;
	padding: 12px clamp(8px, 1vw, 14px);
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.55;
	white-space: nowrap;
}
.ssm-nav__ul {
	position: absolute;
	left: clamp(8px, 1vw, 14px);
	right: clamp(8px, 1vw, 14px);
	bottom: 6px;
	height: 2px;
	border-radius: 2px;
	background: var(--ssm-gold);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform .4s var(--ssm-ease);
}
.ssm-nav__item:hover .ssm-nav__ul,
.ssm-nav__item.is-open .ssm-nav__ul,
.ssm-nav__item.is-current .ssm-nav__ul,
.ssm-nav__link:focus-visible .ssm-nav__ul { transform: scaleX(1); }
.is-scrolled .ssm-nav__link, .has-mega .ssm-nav__link { color: var(--ssm-ink) !important; }

/* Raccourcis de la barre */
.ssm-tools { flex: none; display: flex; align-items: center; gap: 2px; }
.ssm-tool {
	width: 40px; height: 40px;
	color: #fff !important;
	display: grid;
	place-items: center;
	border-radius: 50%;
}
.ssm-tool:hover, .ssm-tool:focus-visible { color: var(--ssm-sand) !important; transform: translateY(-2px); }
.is-scrolled .ssm-tool, .has-mega .ssm-tool { color: var(--ssm-ink) !important; }
.is-scrolled .ssm-tool:hover, .has-mega .ssm-tool:hover,
.is-scrolled .ssm-tool:focus-visible { color: #B57A0C !important; }
.ssm-tool-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .35); margin: 0 6px; }
.is-scrolled .ssm-tool-sep, .has-mega .ssm-tool-sep { background: rgba(43, 43, 47, .25); }

/* Loupe : pastille ronde translucide au survol (pas de zoom), picto toujours au premier plan. */
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search,
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search:hover,
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search:focus,
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search:active {
	background-image: none !important;
	transform: none !important;
	transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search .ssm-ico { position: relative; z-index: 1; }
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search:hover,
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search:active {
	color: #fff !important;
	background-color: rgba(255, 255, 255, .18) !important;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 50%; color: #fff !important; }
:is(.ssm, .editor-styles-wrapper) .is-scrolled .ssm-tool--search:hover,
:is(.ssm, .editor-styles-wrapper) .has-mega .ssm-tool--search:hover,
:is(.ssm, .editor-styles-wrapper) .is-scrolled .ssm-tool--search:active {
	color: var(--ssm-ink) !important;
	background-color: rgba(43, 43, 47, .08) !important;
	box-shadow: 0 0 0 1px rgba(43, 43, 47, .08);
}
:is(.ssm, .editor-styles-wrapper) .is-scrolled .ssm-tool--search:focus-visible { outline-color: var(--ssm-ink); color: var(--ssm-ink) !important; }

/* Bouton menu mobile */
:is(.ssm, .editor-styles-wrapper) .ssm-burger {
	display: none;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	place-items: center;
}
:is(.ssm, .editor-styles-wrapper) .ssm-burger:hover, :is(.ssm, .editor-styles-wrapper) .ssm-burger:focus-visible { background: rgba(255, 255, 255, .15); color: #fff; }
:is(.ssm, .editor-styles-wrapper) .is-scrolled .ssm-burger { color: var(--ssm-ink); }
:is(.ssm, .editor-styles-wrapper) .is-scrolled .ssm-burger:hover { background: rgba(43, 43, 47, .08); color: var(--ssm-ink); }

/* Deux lignes entre 1100 et 1239 px (menu sous le logo, comme la maquette). */
@media (min-width: 1100px) and (max-width: 1239.98px) {
	.ssm-nav { flex: 1 0 100%; order: 3; }
	.ssm-logo { margin-right: auto; }
}

/* Mobile < 1100 px : menu replié dans le tiroir. */
@media (max-width: 1099.98px) {
	.ssm-nav, .ssm-megas { display: none !important; }
	:is(.ssm, .editor-styles-wrapper) .ssm-burger { display: grid; }
	.ssm-logo { margin-right: auto; }
	.ssm-tools { order: 3; flex: 0 0 auto; }
	:is(.ssm, .editor-styles-wrapper) .ssm-burger { order: 4; }
	.ssm-bar__in { gap: 10px 12px; }
	:is(.ssm, .editor-styles-wrapper) .ssm-tool--search { width: 44px; height: 44px; }
	:is(.ssm, .editor-styles-wrapper) .ssm-tool--search:hover, :is(.ssm, .editor-styles-wrapper) .ssm-tool--search:active {
		background-color: transparent !important;
		box-shadow: inset 0 0 0 2px #fff;
	}
	:is(.ssm, .editor-styles-wrapper) .is-scrolled .ssm-tool--search:hover { box-shadow: inset 0 0 0 2px var(--ssm-ink); background-color: transparent !important; }
}
@media (max-width: 479.98px) {
	.ssm-tools { order: 3; flex: 1 0 100%; }
	:is(.ssm, .editor-styles-wrapper) .ssm-burger { order: 4; position: absolute; right: calc(var(--ssm-gutter) - 2px); bottom: 20px; }
	.ssm-bar__in { position: relative; }
	.is-scrolled .ssm-bar__in .ssm-burger { bottom: 10px; }
}

/* ---------- Méga-menu ---------- */
.ssm-megas { position: absolute; left: 0; right: 0; top: 100%; }
.ssm-mega {
	position: absolute;
	left: 0; right: 0; top: 0;
	z-index: 35;
	padding: 6px var(--ssm-gutter) 0;
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
	transition: opacity .35s ease, transform .45s var(--ssm-ease);
}
.ssm-mega.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ssm-mega.is-swap { transition: none; }
.ssm-mega__in > * { opacity: 0; transition: opacity .35s ease .06s; }
.ssm-mega.is-open .ssm-mega__in > * { opacity: 1; }
.ssm-mega__in {
	max-width: 1208px;
	margin: 0 auto;
	background: var(--ssm-cream);
	color: var(--ssm-ink);
	border-radius: 18px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, .28);
	padding: clamp(20px, 2.4vw, 30px);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr);
	gap: clamp(24px, 3vw, 44px);
	max-height: calc(100vh - 130px);
	overflow: auto;
}
/* Carte photo de la rubrique */
.ssm-mega__card {
	position: relative;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	min-height: 300px;
	color: #fff !important;
	isolation: isolate;
}
.ssm-mega__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ssm-ease); }
.ssm-mega__card:hover .ssm-mega__bg, .ssm-mega__card:focus-visible .ssm-mega__bg { transform: scale(1.04); }
.ssm-mega__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 42, 63, .05) 30%, rgba(13, 42, 63, .8) 100%); }
.ssm-mega__cardtxt { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.ssm-mega__accent { font-family: var(--ssm-script); font-size: 24px; color: var(--ssm-sand); line-height: 1; }
.ssm-mega__label { font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.ssm-mega__intro { font-size: 15px; opacity: .92; text-wrap: pretty; margin: 0; line-height: 1.55; }
.ssm-mega__body { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; min-width: 0; }
.ssm-mega__links { display: grid; grid-template-columns: repeat(var(--ssm-cols, 2), minmax(0, 1fr)); gap: 4px 28px; }
.ssm-mega--carte .ssm-mega__link {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 12px;
	border-radius: 12px;
	color: var(--ssm-ink) !important;
}
.ssm-mega--carte .ssm-mega__link:hover,
.ssm-mega--carte .ssm-mega__link:focus-visible,
.ssm-mega--carte .ssm-mega__link[aria-current] { background: var(--ssm-beige); }
.ssm-mega__thumb { flex: none; width: 58px; height: 58px; border-radius: 10px; background: var(--ssm-line); overflow: hidden; }
.ssm-mega__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ssm-mega__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ssm-mega--carte .ssm-mega__t { font-size: 17px; font-weight: 700; line-height: 1.2; }
.ssm-mega__d { font-size: 14px; color: var(--ssm-muted2); line-height: 1.35; text-wrap: pretty; }
.ssm-mega__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: 12px;
	font-weight: 600;
	color: var(--ssm-green-dark) !important;
}
.ssm-mega__cta .ssm-ico { color: var(--ssm-gold); }
.ssm-mega__cta:hover, .ssm-mega__cta:focus-visible { gap: 14px; color: var(--ssm-ink) !important; }

/* Mises en page « Photo sous le titre » et « Titre | liens | photo » */
.ssm-mega--photo_sous_titre .ssm-mega__in { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); }
.ssm-mega--titre_liens_photo .ssm-mega__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.2fr); }
.ssm-mega__head { display: flex; flex-direction: column; gap: 10px; }
.ssm-mega__head .ssm-mega__label { color: var(--ssm-ink) !important; font-size: 28px; }
.ssm-mega__head .ssm-mega__label:hover { color: var(--ssm-green-dark) !important; }
.ssm-mega__head .ssm-mega__accent { color: var(--ssm-gold-dark); }
.ssm-mega__head .ssm-mega__intro { color: var(--ssm-muted); opacity: 1; }
.ssm-mega__photo { margin: 6px 0 0; border-radius: 14px; overflow: hidden; position: relative; }
.ssm-mega__photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ssm-mega--titre_liens_photo .ssm-mega__photo { margin: 0; min-height: 260px; }
.ssm-mega--titre_liens_photo .ssm-mega__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.ssm-mega__photo figcaption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 24px 14px 10px;
	font-size: 13px; color: #fff;
	background: linear-gradient(180deg, rgba(13, 42, 63, 0), rgba(13, 42, 63, .75));
}
.ssm-mega--photo_sous_titre .ssm-mega__link,
.ssm-mega--titre_liens_photo .ssm-mega__link,
.ssm-mega__group .ssm-mega__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 4px;
	border-bottom: 1px solid var(--ssm-line);
	font-family: var(--ssm-font);
	text-transform: uppercase;
	font-weight: 600;
	font-size: max(13px, 16px);
	letter-spacing: .06em;
	line-height: 1.3;
	color: var(--ssm-ink) !important;
}
.ssm-mega--photo_sous_titre .ssm-mega__link .ssm-ico,
.ssm-mega--titre_liens_photo .ssm-mega__link .ssm-ico,
.ssm-mega__group .ssm-mega__link .ssm-ico { flex: none; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .3s var(--ssm-ease); color: var(--ssm-gold); }
.ssm-mega--photo_sous_titre .ssm-mega__link:hover, .ssm-mega--titre_liens_photo .ssm-mega__link:hover,
.ssm-mega--photo_sous_titre .ssm-mega__link:focus-visible, .ssm-mega--titre_liens_photo .ssm-mega__link:focus-visible,
.ssm-mega__group .ssm-mega__link:hover { color: var(--ssm-green-dark) !important; }
.ssm-mega--photo_sous_titre .ssm-mega__link:hover .ssm-ico, .ssm-mega--titre_liens_photo .ssm-mega__link:hover .ssm-ico,
.ssm-mega--photo_sous_titre .ssm-mega__link:focus-visible .ssm-ico, .ssm-mega--titre_liens_photo .ssm-mega__link:focus-visible .ssm-ico,
.ssm-mega__group .ssm-mega__link:hover .ssm-ico { opacity: 1; transform: none; }
.ssm-mega__group { display: flex; flex-direction: column; }
.ssm-mega__gt { font-weight: 700; font-size: 18px; padding: 10px 4px; color: var(--ssm-green-dark) !important; }
.ssm-mega__gt:hover { color: var(--ssm-ink) !important; }

/* ==========================================================================
   ACCUEIL – BANDEAU
   ========================================================================== */
.ssm-hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 620px;
	display: flex;
	flex-direction: column;
	color: #fff;
	isolation: isolate;
	background: var(--ssm-green);
}
.ssm-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.ssm-hero__img, .ssm-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ssm-hero__video { opacity: 0; transition: opacity .8s ease; }
.ssm-hero__video.is-playing { opacity: 1; }
.ssm-hero__shade {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(13, 42, 63, .55) 0%, rgba(13, 42, 63, .08) 30%, rgba(13, 42, 63, .15) 55%, rgba(13, 42, 63, .62) 100%);
}
.ssm-hero__in {
	flex: 1;
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	padding: calc(84px + 20px) var(--ssm-gutter) clamp(70px, 10vh, 120px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
:is(.ssm, .editor-styles-wrapper) .ssm-pill {
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	background: var(--ssm-gold);
	color: var(--ssm-ink);
	border: 0;
	border-radius: 999px;
	padding: 7px 18px 7px 7px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 26px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
	cursor: pointer;
	text-align: left;
}
:is(.ssm, .editor-styles-wrapper) .ssm-pill:hover, :is(.ssm, .editor-styles-wrapper) .ssm-pill:focus-visible { background: var(--ssm-gold); color: var(--ssm-ink); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0, 0, 0, .24); }
:is(.ssm, .editor-styles-wrapper) .ssm-pill:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 999px; }
:is(.ssm, .editor-styles-wrapper) .ssm-pill--urgence { background: #F7C9D7; }
:is(.ssm, .editor-styles-wrapper) .ssm-pill--urgence:hover { background: #F7C9D7; }
.ssm-pill__ico {
	flex: none; width: 30px; height: 30px; border-radius: 50%;
	background: var(--ssm-ink); color: var(--ssm-gold);
	display: grid; place-items: center;
}
.ssm-pill__txt { min-width: 0; text-wrap: pretty; }
.ssm-pill > .ssm-ico { flex: none; }
:is(.ssm, .editor-styles-wrapper) .ssm-hero__title {
	margin: 0;
	font-family: var(--ssm-font);
	font-size: clamp(42px, 7vw, 108px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
	text-wrap: balance;
	text-transform: uppercase;
}
.ssm-hero__sub {
	margin: clamp(8px, 1.4vw, 16px) 0 0;
	font-family: var(--ssm-script);
	font-size: clamp(24px, 2.8vw, 40px);
	line-height: 1.15;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.ssm-hero__search {
	margin-top: clamp(26px, 4vh, 44px);
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 600px;
	text-align: left;
	background: rgba(255, 255, 255, .2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 999px;
	padding: 6px 6px 6px 26px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}
.ssm-hero__search:focus-within { border-color: #fff; }
:is(.ssm, .editor-styles-wrapper) .ssm-hero__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-size: 17px;
	color: #fff;
	padding: 12px 0;
	margin: 0;
	border-radius: 0;
}
:is(.ssm, .editor-styles-wrapper) .ssm-hero__search input::placeholder { color: rgba(255, 255, 255, .88); opacity: 1; }
:is(.ssm, .editor-styles-wrapper) .ssm-hero__search input::-webkit-search-cancel-button { display: none; }
:is(.ssm, .editor-styles-wrapper) .ssm-hero__go {
	flex: none;
	width: 50px; height: 50px;
	border: 0;
	border-radius: 50%;
	background: var(--ssm-gold);
	color: var(--ssm-ink);
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	box-shadow: none;
}
:is(.ssm, .editor-styles-wrapper) .ssm-hero__go:hover, :is(.ssm, .editor-styles-wrapper) .ssm-hero__go:focus-visible { background: var(--ssm-cream); color: var(--ssm-ink); transform: scale(1.06); }
.ssm-hero__scroll {
	position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
	width: 28px; height: 44px;
	border: 2px solid rgba(255, 255, 255, .85);
	border-radius: 16px;
	display: flex; justify-content: center; padding-top: 8px;
}
.ssm-hero__scroll > span[aria-hidden] { width: 4px; height: 9px; border-radius: 2px; background: #fff; }
.ssm-hero__scroll:hover { border-color: #fff; }
@media (max-width: 1099.98px) {
	.ssm-hero__scroll { bottom: 92px; }
}

/* ==========================================================================
   ACCUEIL – RESTEZ INFORMÉ
   ========================================================================== */
.ssm-info { background: var(--ssm-cream); position: relative; padding: clamp(70px, 7vw, 100px) 0 clamp(40px, 4vw, 60px); scroll-margin-top: 80px; }
.ssm-info__in { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 6vw, 100px); }
.ssm-info__col { flex: 1 1 380px; max-width: 540px; display: flex; flex-direction: column; gap: 28px; }
.ssm-tabs {
	position: relative;
	align-self: flex-start;
	width: max-content;
	display: flex;
	align-items: flex-end;
	gap: clamp(18px, 2vw, 30px);
	padding-bottom: 22px;
}
.ssm-tabs__swap { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: clamp(44px, 3.6vw, 56px); height: auto; overflow: visible; pointer-events: none; }
:is(.ssm, .editor-styles-wrapper) .ssm-tab {
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	width: clamp(118px, 10.5vw, 150px);
	transform: scale(.82);
	opacity: .6;
	transition: transform .5s var(--ssm-ease), opacity .35s ease;
	border-radius: 50%;
	color: inherit;
}
:is(.ssm, .editor-styles-wrapper) .ssm-tab svg { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--ssm-font); }
:is(.ssm, .editor-styles-wrapper) .ssm-tab:hover { background: transparent; transform: scale(.88); opacity: .8; }
:is(.ssm, .editor-styles-wrapper) .ssm-tab[aria-selected="true"] { transform: scale(1); opacity: 1; }
:is(.ssm, .editor-styles-wrapper) .ssm-tab[aria-selected="true"]:hover { transform: scale(1.03); }
:is(.ssm, .editor-styles-wrapper) .ssm-tab:focus-visible { outline-offset: -4px; }
.ssm-info__text { margin: 0; color: var(--ssm-muted); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; text-wrap: pretty; }
.ssm-info__col .ssm-btn { margin-top: 10px; }

.ssm-info__slider {
	flex: 999 1 520px;
	min-width: 0;
	position: relative;
	align-self: flex-start;
	margin-right: calc(-1 * max(0px, (100vw - 1320px) / 2) - var(--ssm-gutter));
}
.ssm-info__band {
	position: absolute;
	left: clamp(-40px, -3vw, -20px);
	right: 0;
	top: calc(-1 * clamp(70px, 7vw, 100px));
	height: calc(64% + clamp(70px, 7vw, 100px));
	background: var(--ssm-green);
	border-radius: 0 0 0 20px;
}
.ssm-info__arrows { position: relative; display: flex; justify-content: flex-end; gap: 10px; padding: 0 var(--ssm-gutter) 26px 0; }
:is(.ssm, .editor-styles-wrapper) .ssm-arrow {
	width: 50px; height: 50px;
	border-radius: 50%;
	border: 0;
	background: var(--ssm-cream);
	color: var(--ssm-green);
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
:is(.ssm, .editor-styles-wrapper) .ssm-arrow:hover, :is(.ssm, .editor-styles-wrapper) .ssm-arrow:focus-visible { background: var(--ssm-gold); color: var(--ssm-ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
:is(.ssm, .editor-styles-wrapper) .ssm-arrow[data-ssm-prev]:hover { transform: translateX(-3px); }
:is(.ssm, .editor-styles-wrapper) .ssm-arrow[data-ssm-next]:hover { transform: translateX(3px); }
:is(.ssm, .editor-styles-wrapper) .ssm-arrow:focus-visible { outline-color: #fff; border-radius: 50%; }
.ssm-info__panels { position: relative; transition: opacity .3s ease, transform .45s var(--ssm-ease); }
.ssm-info__panels.is-fading { opacity: 0; transform: translateY(14px); }
.ssm-info__empty { position: relative; color: var(--ssm-cream); padding: 40px 0 120px; margin: 0; font-size: 19px; }

.ssm-track {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 0;
	scrollbar-width: none;
	padding: 16px 40px 56px 0;
	margin: -16px 0 -56px 0;
	list-style: none;
}
.ssm-track::-webkit-scrollbar { display: none; }
.ssm-track:focus-visible { outline-offset: -3px; }
.ssm-track > .ssm-card { flex: 0 0 clamp(290px, 28vw, 410px); }

/* Cartes 3/4 (actualités et événements) */
.ssm-card {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: 14px;
	overflow: hidden;
	scroll-snap-align: start;
	color: #fff;
	isolation: isolate;
	background: var(--ssm-green);
	box-shadow: 0 14px 34px rgba(43, 43, 47, .16);
	transition: transform .45s var(--ssm-ease), box-shadow .45s var(--ssm-ease);
	margin: 0;
}
.ssm-card:hover, .ssm-card:focus-within { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(43, 43, 47, .28); }
.ssm-card:focus-within { outline: 3px solid var(--ssm-gold); outline-offset: 3px; }
.ssm-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; display: block; }
.ssm-card__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(13, 42, 63, 0) 35%, rgba(13, 42, 63, .82) 100%); }
.ssm-card__tag {
	position: absolute; top: 14px; left: 14px;
	background: var(--ssm-cream); color: var(--ssm-ink);
	border-radius: 8px; padding: 6px 11px;
	font-size: 14px; font-weight: 600; line-height: 1.55;
	pointer-events: none;
}
.ssm-card__date {
	position: absolute; top: 16px; left: 16px;
	display: flex; flex-direction: column; align-items: center;
	min-width: 84px;
	background: var(--ssm-gold); color: var(--ssm-ink);
	border-radius: 12px; padding: 10px 12px 12px;
	line-height: 1;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
	pointer-events: none;
}
.ssm-card__wd { font-size: 14px; font-weight: 600; }
.ssm-card__day { font-size: 46px; font-weight: 700; margin: 4px 0 2px; }
.ssm-card__mon { font-size: 16px; font-weight: 700; text-transform: uppercase; }
.ssm-card__txt {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: clamp(22px, 2.2vw, 32px);
	display: flex; flex-direction: column; gap: 10px;
}
.ssm-card__meta { font-size: 15px; opacity: .92; line-height: 1.55; }
:is(.ssm, .editor-styles-wrapper) .ssm-card__title {
	margin: 0;
	font-family: var(--ssm-font);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	color: #fff;
	text-wrap: pretty;
	text-transform: none;
}
:is(.ssm, .editor-styles-wrapper) .ssm-card__link { color: #fff !important; text-decoration: none; }
:is(.ssm, .editor-styles-wrapper) .ssm-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
:is(.ssm, .editor-styles-wrapper) .ssm-card__link:focus-visible { outline: none; }

/* Points de pagination (mobile) */
.ssm-dots { display: none; position: relative; justify-content: center; gap: 8px; padding: 72px 0 0; }
:is(.ssm, .editor-styles-wrapper) .ssm-dot { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .45); transition: width .3s ease, background-color .3s ease; min-height: 0; }
:is(.ssm, .editor-styles-wrapper) .ssm-dot.is-on { width: 24px; background: var(--ssm-gold); }
:is(.ssm, .editor-styles-wrapper) .ssm-dot:hover { background: var(--ssm-sand); }

@media (max-width: 999.98px) {
	.ssm-info__slider { margin-top: 70px; }
	.ssm-info__band { top: -30px; height: 64%; border-radius: 20px 0 0 20px; }
}
@media (max-width: 899.98px) {
	.ssm-info__col { max-width: none; }
}
@media (max-width: 699.98px) {
	.ssm-info__arrows { display: none; }
	.ssm-track { gap: 14px; }
	.ssm-track > .ssm-card { flex-basis: 82vw; }
	.ssm-dots { display: flex; }
}

/* ==========================================================================
   ACCUEIL – CARTE DU TERRITOIRE
   ========================================================================== */
.ssm-terr { background: var(--ssm-cream); padding: clamp(20px, 3vw, 40px) 0 0; position: relative; }
.ssm-terr .ssm-wrap { position: relative; z-index: 2; }
.ssm-terr__box {
	background: var(--ssm-sand);
	border-radius: 20px;
	padding: clamp(28px, 4vw, 56px);
	display: flex;
	flex-wrap: wrap;
	gap: clamp(30px, 5vw, 64px);
	align-items: stretch;
	margin-bottom: clamp(-200px, -14vw, -110px);
	box-shadow: 0 24px 60px rgba(43, 43, 47, .16);
}
.ssm-terr__photos {
	flex: 1 1 340px;
	min-width: 0;
	min-height: clamp(400px, 40vw, 560px);
	position: relative;
	margin-left: calc(-1 * (clamp(28px, 4vw, 56px) + clamp(16px, 3vw, 48px)));
	border-radius: 14px;
	overflow: hidden;
	background: var(--ssm-green);
	box-shadow: 0 30px 60px rgba(43, 43, 47, .3);
	isolation: isolate;
}
.ssm-terr__slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.ssm-terr__slide.is-on { opacity: 1; pointer-events: auto; }
.ssm-terr__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ssm-terr__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(13, 42, 63, 0) 30%, rgba(13, 42, 63, .86) 100%); }
.ssm-terr__txt {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: clamp(22px, 3vw, 36px);
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
	color: var(--ssm-cream);
}
.ssm-terr__acc { font-family: var(--ssm-script); font-size: clamp(22px, 2vw, 28px); color: var(--ssm-sand); line-height: 1; transform: rotate(-4deg); transform-origin: left bottom; }
:is(.ssm, .editor-styles-wrapper) .ssm-terr__name { margin: 0; font-family: var(--ssm-font); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: uppercase; text-wrap: balance; color: var(--ssm-cream); }
.ssm-terr__txt p { margin: 0; font-size: 16px; line-height: 1.45; max-width: 42ch; text-wrap: pretty; }
.ssm-terr__col { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ssm-terr__text { margin: 0; color: #3D3D42; text-wrap: pretty; }
.ssm-map { background: var(--ssm-cream); border-radius: 14px; overflow: hidden; }
.ssm-map svg { width: 100%; height: auto; display: block; font-family: var(--ssm-font); }
.ssm-map svg text { font-family: var(--ssm-font); }
.ssm-map__commune { transition: fill .3s ease; }
.ssm-map__commune.is-on { fill: #DCEBB8; }
.ssm-pin { cursor: pointer; outline: none; }
.ssm-pin__line { fill: none; stroke: #9A9AA0; stroke-width: .8; stroke-dasharray: 2 2.5; transition: stroke .3s ease; }
.ssm-pin__dot { r: 2.5px; fill: var(--ssm-green); stroke: var(--ssm-cream); stroke-width: 1; transition: r .3s ease, fill .3s ease; }
.ssm-pin text { fill: var(--ssm-ink); font-size: 7.2px; font-weight: 500; paint-order: stroke; stroke: var(--ssm-cream); stroke-width: 2; stroke-linejoin: round; }
.ssm-pin.is-on .ssm-pin__line { stroke: var(--ssm-green); stroke-width: 1.3; }
.ssm-pin.is-on .ssm-pin__dot { r: 3.8px; fill: var(--ssm-gold); stroke-width: 1.6; }
.ssm-pin.is-on text { font-weight: 800; }
.ssm-pin:focus-visible .ssm-pin__dot { stroke: var(--ssm-ink); stroke-width: 1.6; }
.ssm-pin:focus-visible text { text-decoration: underline; }
.ssm-pin__halo { r: 7.5px; fill: var(--ssm-green); fill-opacity: .16; transition: r .3s ease; }
.ssm-pin--home.is-on .ssm-pin__halo { r: 10px; }
.ssm-pin text.ssm-pin__home { font-size: 9.4px; font-weight: 800; stroke-width: 3; }
/* Lieux hors du cadre : flèche en bordure */
.ssm-pin__arrow { fill: var(--ssm-green); stroke: var(--ssm-cream); stroke-width: 1.2; stroke-linejoin: round; transition: fill .3s ease, transform .3s ease; transform-box: fill-box; transform-origin: center; }
.ssm-pin--out:hover .ssm-pin__arrow, .ssm-pin--out:focus-visible .ssm-pin__arrow { transform: scale(1.2); }
.ssm-pin--out.is-on .ssm-pin__arrow { fill: var(--ssm-gold); transform: scale(1.3); }
.ssm-pin--out:focus-visible .ssm-pin__arrow { stroke: var(--ssm-ink); }
.ssm-pin text .ssm-pin__km { font-size: 6px; font-weight: 500; fill: #5B5B60; }
@media (prefers-reduced-motion: reduce) { .ssm-pin__arrow { transition: none; } }

/* ==========================================================================
   ACCUEIL – RÉSEAUX SOCIAUX
   ========================================================================== */
.ssm-social { background: var(--ssm-green-dark); color: var(--ssm-cream); padding-top: clamp(250px, 22vw, 340px); position: relative; z-index: 1; }
.ssm-social__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.ssm-social__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ssm-pillbtn {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, .12);
	color: var(--ssm-cream) !important;
	padding: 12px 18px; border-radius: 10px;
	font-weight: 600; font-size: 15px; line-height: 1.55;
}
.ssm-pillbtn:hover, .ssm-pillbtn:focus-visible { background: rgba(255, 255, 255, .22); color: #fff !important; }
.ssm-insta {
	display: flex; gap: 0;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none;
}
.ssm-insta::-webkit-scrollbar { display: none; }
.ssm-insta__item { flex: 0 0 max(200px, calc(100% / 6)); aspect-ratio: 1; overflow: hidden; position: relative; scroll-snap-align: start; margin: 0; }
.ssm-insta__item a { display: block; width: 100%; height: 100%; }
.ssm-insta__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s ease, transform .6s var(--ssm-ease); }
.ssm-insta__item a:hover img, .ssm-insta__item a:focus-visible img { opacity: .85; }
.ssm-insta__item a:focus-visible { outline-offset: -4px; }
.ssm-dots--light { padding: 18px 0 22px; }
@media (max-width: 699.98px) {
	.ssm-insta__item { flex-basis: 80%; }
}

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.ssm-footer { background: var(--global-palette1); color: #E3EDF4; position: relative; font-size: 17px; line-height: 1.55; }
.ssm-footer > .ssm-wrap { padding-top: clamp(60px, 7vw, 90px); }
.ssm-partners {
	background: #fff; border-radius: 16px;
	padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 40px);
	display: flex; flex-direction: column; gap: 22px; margin-bottom: 10px;
}
:is(.ssm, .editor-styles-wrapper) .ssm-partners__t { margin: 0; font-family: var(--ssm-font); font-size: 18px; font-weight: 700; color: var(--ssm-ink); line-height: 1.55; letter-spacing: 0; text-transform: none; }
.ssm-partners__list { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: clamp(10px, 2.2vw, 36px); margin: 0; padding: 0; list-style: none; }
.ssm-partners__list li { display: flex; align-items: center; justify-content: center; height: clamp(28px, 4.4vw, 64px); flex: 0 1 auto; min-width: 0; margin: 0; }
.ssm-partners__list a { display: flex; height: 100%; align-items: center; }
.ssm-partners__list a:hover, .ssm-partners__list a:focus-visible { opacity: .75; }
.ssm-partners__list img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.ssm-fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 40px; padding: 50px 0; }
.ssm-fcol { display: flex; flex-direction: column; gap: 8px; }
.ssm-fcol p { margin: 0; }
.ssm-fcol ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ssm-fcol li { margin: 0; }
.ssm-fcol:first-child { gap: 12px; }
:is(.ssm, .editor-styles-wrapper) .ssm-fcol__name { margin: 0; font-family: var(--ssm-font); font-size: 22px; font-weight: 700; color: #fff; line-height: 1; letter-spacing: 0; text-transform: none; }
:is(.ssm, .editor-styles-wrapper) .ssm-fcol__t { margin: 0; font-family: var(--ssm-font); font-weight: 700; color: #fff; font-size: 19px; line-height: 1.55; letter-spacing: 0; text-transform: none; }
.ssm-fcol__tel { color: #fff !important; font-weight: 600; }
.ssm-fcol__mail { color: #D5E6B1 !important; }
.ssm-fcol__mail:hover, .ssm-fcol__mail:focus-visible { color: #fff !important; }
.ssm-fcol nav a, .ssm-fcol ul a { color: #E3EDF4 !important; }
.ssm-fcol ul a:hover, .ssm-fcol ul a:focus-visible { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.ssm-legal {
	display: flex; flex-wrap: wrap; gap: 10px 24px;
	padding: 22px 0 84px;
	border-top: 1px solid rgba(234, 242, 220, .15);
	font-size: 14px; color: #C5D9E8;
}
.ssm-legal ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto; }
.ssm-legal li { margin: 0; }
.ssm-legal a { color: #C5D9E8 !important; }
.ssm-legal a:hover, .ssm-legal a:focus-visible { color: #fff !important; }
.ssm-footer :focus-visible { outline-color: var(--ssm-sand); }

/* ==========================================================================
   ACCÈS RAPIDES
   ========================================================================== */
.ssm-qa-ico {
	display: inline-block;
	width: var(--ssm-ico-s, 23px);
	height: var(--ssm-ico-s, 23px);
	background-color: currentColor;
	-webkit-mask: var(--ssm-ico) center / contain no-repeat;
	mask: var(--ssm-ico) center / contain no-repeat;
	flex: none;
}
.ssm-qa-ico--vide { -webkit-mask: none; mask: none; border-radius: 50%; width: 10px; height: 10px; }
.ssm-rail {
	position: fixed; left: 0; top: 50%; transform: translateY(-50%);
	z-index: 40;
	width: 60px;
	transition: width .45s var(--ssm-ease), box-shadow .3s ease;
	background: rgba(43, 43, 47, .84);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	backdrop-filter: blur(18px) saturate(1.2);
	border: 1px solid rgba(255, 255, 255, .16);
	border-left: 0;
	border-radius: 0 16px 16px 0;
	overflow: hidden;
	box-shadow: 6px 14px 34px rgba(43, 43, 47, .22);
	color: var(--ssm-cream);
}
.ssm-rail:hover, .ssm-rail:focus-within { width: 236px; box-shadow: 20px 30px 70px rgba(43, 43, 47, .35); }
.ssm-rail__head { display: flex; align-items: center; height: 46px; background: var(--ssm-gold); color: var(--ssm-ink); white-space: nowrap; }
.ssm-rail__one { flex: none; width: 60px; display: flex; flex-direction: column; align-items: center; line-height: .85; font-size: 12px; font-weight: 700; }
.ssm-rail__one b { font-size: 20px; font-weight: 800; }
.ssm-rail__lbl { font-size: 15px; font-weight: 700; opacity: 0; transition: opacity .25s ease; }
.ssm-rail__list { display: flex; flex-direction: column; padding: 6px 0; margin: 0; list-style: none; }
.ssm-rail__list li { margin: 0; }
.ssm-rail__a { display: flex; align-items: center; height: 50px; padding-right: 22px; color: var(--ssm-cream) !important; font-size: 15px; font-weight: 600; white-space: nowrap; line-height: 1.2; }
.ssm-rail__a:hover, .ssm-rail__a:focus-visible { background: rgba(255, 255, 255, .12); color: var(--ssm-sand) !important; }
.ssm-rail__a:focus-visible { outline-offset: -3px; border-radius: 0; }
.ssm-rail__ico { flex: none; width: 60px; display: grid; place-items: center; }
.ssm-rail__t { opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .4s var(--ssm-ease); }
.ssm-rail:hover .ssm-rail__lbl, .ssm-rail:focus-within .ssm-rail__lbl,
.ssm-rail:hover .ssm-rail__t, .ssm-rail:focus-within .ssm-rail__t { opacity: 1; transform: none; }
.ssm-dock { display: none; }
@media (max-width: 1099.98px) {
	.ssm-rail { display: none; }
	.ssm-dock {
		display: block;
		position: fixed; left: 0; right: 0; bottom: 0;
		z-index: 40;
		pointer-events: none;
	}
	.ssm-dock ul {
		display: flex; gap: 8px;
		padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
		margin: 0; list-style: none;
		overflow-x: auto; scrollbar-width: none;
		justify-content: center;
	}
	.ssm-dock ul::-webkit-scrollbar { display: none; }
	.ssm-dock li { margin: 0; flex: none; }
	.ssm-dock__a {
		pointer-events: auto;
		min-height: 44px;
		display: inline-flex; align-items: center; gap: 7px;
		padding: 0 15px 0 12px;
		border-radius: 999px;
		background: rgba(43, 43, 47, .72);
		-webkit-backdrop-filter: blur(16px) saturate(1.3);
		backdrop-filter: blur(16px) saturate(1.3);
		border: 1px solid rgba(255, 255, 255, .22);
		color: var(--ssm-cream) !important;
		font-size: 14px; font-weight: 600; line-height: 1;
		white-space: nowrap;
		box-shadow: 0 8px 24px rgba(13, 42, 63, .25);
	}
	.ssm-dock__a:hover, .ssm-dock__a:focus-visible, .ssm-dock__a:active { background: var(--ssm-gold); color: var(--ssm-ink) !important; }
	.ssm-dock__a:focus-visible { outline-color: #fff; border-radius: 999px; }
}
@media (max-width: 439.98px) {
	.ssm-dock ul { justify-content: flex-start; }
}

/* ==========================================================================
   FENÊTRES : ALERTE, RECHERCHE, TIROIR, TOAST
   ========================================================================== */
.ssm-modal, .ssm-search {
	position: fixed; inset: 0;
	z-index: 95;
	background: rgba(13, 42, 63, .6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	display: grid;
	place-items: center;
	padding: 16px;
	opacity: 0;
	transition: opacity .25s ease;
}
.ssm-modal[hidden], .ssm-search[hidden], .ssm-drawer[hidden], .ssm-toast[hidden] { display: none !important; }
.ssm-modal.is-open, .ssm-search.is-open { opacity: 1; }
.ssm-alert__box {
	position: relative; width: 100%; max-width: 560px;
	max-height: calc(100dvh - 40px); overflow: auto;
	background: var(--ssm-cream); color: var(--ssm-ink);
	border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, .3);
}
.ssm-alert__head { background: #FF5F15; padding: 22px clamp(22px, 3vw, 34px); display: flex; align-items: center; gap: 14px; }
.ssm-alert--urgence .ssm-alert__head { background: #F7C9D7; }
.ssm-alert__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ssm-ink); color: #FF5F15; display: grid; place-items: center; }
.ssm-alert__lbl { display: flex; flex-direction: column; line-height: 1.1; }
.ssm-alert__script { font-family: var(--ssm-script); font-size: 22px; }
.ssm-alert__date { font-size: 14px; font-weight: 600; }
:is(.ssm, .editor-styles-wrapper) .ssm-alert__x {
	margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
	background: rgba(43, 43, 47, .12); color: var(--ssm-ink); cursor: pointer; display: grid; place-items: center;
}
:is(.ssm, .editor-styles-wrapper) .ssm-alert__x:hover, :is(.ssm, .editor-styles-wrapper) .ssm-alert__x:focus-visible { background: rgba(43, 43, 47, .22); color: var(--ssm-ink); }
.ssm-alert__body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
:is(.ssm, .editor-styles-wrapper) .ssm-alert__body h2 { margin: 0; font-family: var(--ssm-font); font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.15; text-wrap: balance; color: var(--ssm-ink); letter-spacing: 0; text-transform: none; }
.ssm-alert__msg { color: var(--ssm-muted); line-height: 1.6; display: flex; flex-direction: column; gap: 16px; }
.ssm-alert__msg p { margin: 0; text-wrap: pretty; }
.ssm-alert__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* Recherche : centrée verticalement à toutes les largeurs */
.ssm-search { place-items: center; align-items: center; }
.ssm-search__box {
	width: 100%; max-width: 680px;
	max-height: calc(100dvh - 32px);
	display: flex; flex-direction: column;
	background: var(--ssm-cream);
	border-radius: 16px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, .3);
	overflow: hidden;
}
.ssm-search__form { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 22px; border-bottom: 1px solid var(--ssm-line); flex: none; margin: 0; }
.ssm-search__form > .ssm-ico { color: var(--ssm-green); flex: none; }
:is(.ssm, .editor-styles-wrapper) .ssm-search__input {
	flex: 1; min-width: 0;
	border: 0; outline: 0; background: transparent; box-shadow: none; border-radius: 0;
	font: inherit; font-size: 19px; color: var(--ssm-ink);
	padding: 14px 0; margin: 0;
}
:is(.ssm, .editor-styles-wrapper) .ssm-search__input:focus { border: 0; box-shadow: none; outline: 0; }
:is(.ssm, .editor-styles-wrapper) .ssm-search__input::-webkit-search-cancel-button { display: none; }
:is(.ssm, .editor-styles-wrapper) .ssm-search__input::placeholder { color: #6B6B70; opacity: 1; }
.ssm-search__form:focus-within { box-shadow: inset 0 -2px 0 var(--ssm-gold); }
:is(.ssm, .editor-styles-wrapper) .ssm-search__close {
	flex: none; width: 44px; height: 44px; border-radius: 10px; border: 0; padding: 0;
	background: var(--ssm-line); color: var(--ssm-ink); cursor: pointer; display: grid; place-items: center;
}
:is(.ssm, .editor-styles-wrapper) .ssm-search__close:hover, :is(.ssm, .editor-styles-wrapper) .ssm-search__close:focus-visible { background: #D9D9D9; color: var(--ssm-ink); }
.ssm-search__body { padding: 14px 14px 18px; overflow: auto; flex: 1 1 auto; min-height: 0; }
.ssm-search__results { display: flex; flex-direction: column; }
.ssm-search__res { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px; border-radius: 10px; color: var(--ssm-ink) !important; }
.ssm-search__res:hover, .ssm-search__res.is-active, .ssm-search__res:focus-visible { background: var(--ssm-beige); }
.ssm-search__rt { min-width: 0; font-size: 17px; }
.ssm-search__rt strong { font-weight: 700; color: var(--ssm-green-dark); }
.ssm-search__rc { flex: none; font-size: 14px; color: var(--ssm-muted2); }
.ssm-search__empty { margin: 8px 12px; color: var(--ssm-muted); }
:is(.ssm, .editor-styles-wrapper) .ssm-linkbtn { border: 0; background: none; padding: 0; color: var(--ssm-green-dark); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
:is(.ssm, .editor-styles-wrapper) .ssm-linkbtn:hover { background: none; color: var(--ssm-ink); }
.ssm-search__h { margin: 6px 12px 12px; font-size: 15px; font-weight: 600; color: var(--ssm-muted); }
.ssm-search__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px; margin-bottom: 14px; }
:is(.ssm, .editor-styles-wrapper) .ssm-chip {
	border: 0; border-radius: 10px; background: var(--ssm-beige); color: var(--ssm-ink);
	font: inherit; font-size: 15px; font-weight: 500; padding: 10px 14px; cursor: pointer; line-height: 1.3; min-height: 44px;
}
:is(.ssm, .editor-styles-wrapper) .ssm-chip:hover, :is(.ssm, .editor-styles-wrapper) .ssm-chip:focus-visible { background: var(--ssm-line); color: var(--ssm-ink); }
.ssm-search__qagrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; padding: 0 12px; }
.ssm-search__qaitem { display: flex; align-items: center; gap: 10px; padding: 12px; min-height: 44px; border-radius: 10px; background: var(--ssm-green-dark); color: var(--ssm-cream) !important; font-weight: 600; font-size: 15px; }
.ssm-search__qaitem:hover, .ssm-search__qaitem:focus-visible { background: var(--ssm-ink); color: var(--ssm-sand) !important; }
.ssm-search__keys { margin: 0; padding: 10px 22px; border-top: 1px solid var(--ssm-line); font-size: 13px; color: var(--ssm-muted2); flex: none; }
.ssm-search__keys kbd { font-family: inherit; font-size: 12px; background: var(--ssm-beige); border-radius: 4px; padding: 1px 6px; margin-right: 2px; }
@media (max-width: 1099.98px) {
	.ssm-search__qa { display: none; }
	.ssm-search__keys { display: none; }
}

/* Tiroir mobile */
.ssm-drawer {
	position: fixed; inset: 0; z-index: 60;
	background: var(--ssm-ink); color: #fff;
	padding: 24px var(--ssm-gutter) 120px;
	display: flex; flex-direction: column; gap: 8px;
	overflow: auto;
	opacity: 0; transition: opacity .25s ease;
}
.ssm-drawer.is-open { opacity: 1; }
.admin-bar .ssm-drawer { top: var(--wp-admin--admin-bar--height, 46px); }
.ssm-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
:is(.ssm, .editor-styles-wrapper) .ssm-drawer__close {
	width: 48px; height: 48px; border-radius: 12px; border: 0; padding: 0;
	background: var(--ssm-cream); color: var(--ssm-ink); cursor: pointer; display: grid; place-items: center;
}
:is(.ssm, .editor-styles-wrapper) .ssm-drawer__close:hover, :is(.ssm, .editor-styles-wrapper) .ssm-drawer__close:focus-visible { background: var(--ssm-gold); color: var(--ssm-ink); }
.ssm-drawer__list { margin: 0; padding: 0; list-style: none; }
.ssm-drawer__item { margin: 0; border-bottom: 1px solid rgba(234, 242, 220, .12); }
:is(.ssm, .editor-styles-wrapper) .ssm-drawer__toggle {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
	color: #fff !important; font-family: var(--ssm-font); font-size: 30px; font-weight: 700; line-height: 1.2;
	padding: 12px 0; background: none; border: 0; cursor: pointer; text-align: left;
}
:is(.ssm, .editor-styles-wrapper) .ssm-drawer__toggle:hover { background: none; color: var(--ssm-sand) !important; }
.ssm-drawer__toggle .ssm-ico { transition: transform .3s var(--ssm-ease); flex: none; }
.ssm-drawer__toggle[aria-expanded="true"] .ssm-ico { transform: rotate(180deg); }
.ssm-drawer__sub { margin: 0 0 14px; padding: 0; list-style: none; }
.ssm-drawer__sub a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 18px; color: #E3EDF4 !important; }
.ssm-drawer__sub a:hover, .ssm-drawer__sub a[aria-current] { color: var(--ssm-sand) !important; }
.ssm-drawer__all { font-weight: 600; color: var(--ssm-sand) !important; }
.ssm-drawer__l3 a { padding-left: 18px; font-size: 16px; }
.ssm-drawer__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ssm-drawer__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff !important; font-weight: 600; }
.ssm-drawer__contact a:hover { background: var(--ssm-gold); color: var(--ssm-ink) !important; }
.ssm-drawer .ssm-logo img.ssm-logo__d { display: none; }
.ssm-drawer .ssm-logo img.ssm-logo__w { opacity: 1; }

/* Toast d'alerte (pages intérieures), au-dessus du dock mobile */
.ssm-toast {
	position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
	z-index: 45;
	display: flex; align-items: center; gap: 10px;
	width: max-content; max-width: calc(100% - 24px);
	background: #FF5F15; color: var(--ssm-ink);
	border-radius: 999px; padding: 6px 6px 6px 7px;
	box-shadow: 0 14px 40px rgba(13, 42, 63, .3);
}
.ssm-toast > .ssm-pill__ico{
    color: #FF5F15;
}
.ssm-toast--urgence { background: #F7C9D7; }
:is(.ssm, .editor-styles-wrapper) .ssm-toast__txt { border: 0; background: none; padding: 6px 4px; color: var(--ssm-ink); font-size: 15px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; min-height: 44px; }
:is(.ssm, .editor-styles-wrapper) .ssm-toast__txt:hover { background: none; color: var(--ssm-ink); text-decoration: underline; }
:is(.ssm, .editor-styles-wrapper) .ssm-toast__x { flex: none; width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; background: rgba(43, 43, 47, .12); color: var(--ssm-ink); cursor: pointer; display: grid; place-items: center; }
:is(.ssm, .editor-styles-wrapper) .ssm-toast__x:hover, :is(.ssm, .editor-styles-wrapper) .ssm-toast__x:focus-visible { background: rgba(43, 43, 47, .22); color: var(--ssm-ink); }
@media (max-width: 1099.98px) {
	.ssm-toast { bottom: calc(76px + env(safe-area-inset-bottom)); border-radius: 18px; }
}

/* ==========================================================================
   PAGES INTÉRIEURES
   ========================================================================== */
.ssm-ph {
	position: relative;
	isolation: isolate;
	min-height: clamp(380px, 46vh, 520px);
	display: flex;
	align-items: flex-end;
	color: #fff;
	background: var(--ssm-green);
	padding: 170px 0 clamp(40px, 5vw, 64px);
}
.ssm-ph__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; display: block; }
.ssm-ph__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 42, 63, .6) 0%, rgba(13, 42, 63, .25) 40%, rgba(13, 42, 63, .78) 100%); }
.ssm-ph__in { position: relative; display: flex; flex-direction: column; gap: 16px; }
.ssm-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.ssm-crumbs li { display: inline-flex; align-items: center; margin: 0; color: rgba(255, 255, 255, .92); }
.ssm-crumbs li + li::before { content: "›"; margin: 0 10px; opacity: .7; }
.ssm-crumbs a { color: #fff !important; text-decoration: underline !important; text-decoration-color: rgba(255, 255, 255, .45) !important; text-underline-offset: 3px; }
.ssm-crumbs a:hover, .ssm-crumbs a:focus-visible { text-decoration-color: var(--ssm-gold) !important; }
.ssm-crumbs a:focus-visible { outline-color: #fff; }
:is(.ssm, .editor-styles-wrapper) .ssm-ph__title {
	margin: 0;
	font-family: var(--ssm-font);
	font-size: clamp(36px, 5.2vw, 76px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
	text-wrap: balance;
	max-width: 20ch;
}
.ssm-ph__title .ssm-title__accent { color: var(--ssm-sand); margin-bottom: 10px; font-size: clamp(26px, 2.6vw, 38px); }
.ssm-ph__main { display: block; }
.ssm-h1__script { font-family: var(--ssm-script); font-weight: 400; text-transform: none; color: var(--ssm-sand); font-size: 1.08em; line-height: .9; }
.ssm-ph__lead { margin: 0; max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .95); text-wrap: pretty; }
.ssm-ph__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 16px; }
.ssm-ph__tag { background: var(--ssm-gold); color: var(--ssm-ink); border-radius: 8px; padding: 4px 10px; font-weight: 600; font-size: 15px; }

/* Colonne de lecture */
.ssm.ssm-has-ph .entry-content-wrap { padding: 0; }
.ssm.ssm-has-ph .entry-content {
	padding: clamp(40px, 5vw, 72px) var(--ssm-gutter) clamp(70px, 8vw, 110px);
	margin: 0;
	font-size: 18px;
	line-height: 1.7;
	color: #3D3D42;
}
.ssm.ssm-has-ph .entry-content > * { max-width: 1208px; margin-left: auto; margin-right: auto; }
.ssm.ssm-has-ph .entry-content > .alignwide,
.ssm.ssm-has-ph .entry-content > .ssm-tiles-wrap,
.ssm.ssm-has-ph .entry-content > .ssm-list,
.ssm.ssm-has-ph .entry-content > .ssm-plan,
.ssm.ssm-has-ph .entry-content > .ssm-coord,
.ssm.ssm-has-ph .entry-content > .ssm-bul { max-width: 1208px; }
.ssm.ssm-has-ph .entry-content > .alignfull { max-width: none; margin-left: calc(-1 * var(--ssm-gutter)); margin-right: calc(-1 * var(--ssm-gutter)); }
.ssm.ssm-has-ph .entry-content h2 { font-family: var(--ssm-font); font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.15; color: var(--ssm-ink); margin-top: 1.6em; margin-bottom: .6em; }
.ssm.ssm-has-ph .entry-content h3 { font-family: var(--ssm-font); font-size: clamp(21px, 1.8vw, 25px); font-weight: 700; line-height: 1.2; color: var(--ssm-green); margin-top: 1.4em; margin-bottom: .5em; }
.ssm.ssm-has-ph .entry-content a:not([class]) { color: var(--ssm-green-dark); text-decoration: underline; text-decoration-color: var(--ssm-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ssm.ssm-has-ph .entry-content a:not([class]):hover { color: var(--ssm-ink); }
.ssm-encadre { background: var(--ssm-beige); border-left: 5px solid var(--ssm-gold); border-radius: 0 14px 14px 0; padding: 24px 28px; }
.ssm-encadre > :first-child { margin-top: 0; }
.ssm-encadre > :last-child { margin-bottom: 0; }

/* Vignettes des sous-pages */
.ssm-tiles-wrap { margin-top: clamp(40px, 5vw, 64px); }
.ssm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 959.98px) { .ssm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .ssm-tiles { grid-template-columns: 1fr; } }
.ssm-tile {
	position: relative;
	aspect-ratio: 1;
	border-radius: 3px;
	overflow: hidden;
	isolation: isolate;
	container-type: inline-size;
	background: var(--ssm-green);
	margin: 0;
}
.ssm-tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ssm-ease); }
.ssm-tile__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 43, 47, 0) 38%, rgba(43, 43, 47, .88) 100%); transition: background-color .4s ease; }
:is(.ssm, .editor-styles-wrapper) .ssm-tile__title,
.ssm.ssm-has-ph .entry-content .ssm-tile__title {
	position: absolute; left: 0; right: 0; bottom: 0;
	margin: 0 !important;
	padding: 0 8% 9%;
	text-align: center;
	color: #fff !important;
	font-family: var(--ssm-font) !important;
	font-size: clamp(24px, 8.5cqi, 54px) !important;
	font-weight: 700 !important;
	line-height: 1.05 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	font-variant: normal !important;
	text-wrap: balance;
	overflow-wrap: anywhere;
	hyphens: auto;
}
:is(.ssm, .editor-styles-wrapper) .ssm-tile__link { color: #fff !important; text-decoration: none !important; }
:is(.ssm, .editor-styles-wrapper) .ssm-tile__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
:is(.ssm, .editor-styles-wrapper) .ssm-tile__link:focus-visible { outline: none; }
.ssm-tile:hover .ssm-tile__img, .ssm-tile:focus-within .ssm-tile__img { transform: scale(1.04); }
.ssm-tile:hover .ssm-tile__shade, .ssm-tile:focus-within .ssm-tile__shade { background-color: rgba(147, 191, 60, .28); }
.ssm-tile:focus-within { outline: 3px solid var(--ssm-gold); outline-offset: 3px; }

/* Listes (agenda, actualités, bulletins) */
.ssm-list__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 32px; }
.ssm-filters ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ssm-filters li { margin: 0; }
.ssm-filters a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
	background: var(--ssm-beige); color: var(--ssm-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none !important;
}
.ssm-filters a:hover, .ssm-filters a:focus-visible { background: var(--ssm-line); }
.ssm-filters a[aria-current] { background: var(--ssm-green-dark); color: #fff !important; }
.ssm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.ssm-list__empty { font-size: 19px; color: var(--ssm-muted); padding: 30px; background: var(--ssm-beige); border-radius: 14px; text-align: center; }
.ssm-pager ul { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; padding: 0; list-style: none; }
.ssm-pager a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 10px; background: var(--ssm-beige); color: var(--ssm-ink) !important; font-weight: 600; text-decoration: none !important; }
.ssm-pager a[aria-current], .ssm-pager a:hover { background: var(--ssm-green-dark); color: #fff !important; }
.ssm-pubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.ssm-pub { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.ssm-pub__cover { display: grid; place-items: center; aspect-ratio: 210 / 297; border-radius: 10px; overflow: hidden; background: var(--ssm-beige); color: var(--ssm-green); box-shadow: 0 14px 34px rgba(43, 43, 47, .16); transition: transform .45s var(--ssm-ease); }
.ssm-pub__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ssm-pub:hover .ssm-pub__cover, .ssm-pub:focus-within .ssm-pub__cover { transform: translateY(-6px); }
.ssm-pub:focus-within .ssm-pub__cover { outline: 3px solid var(--ssm-gold); outline-offset: 3px; }
.ssm-pub__txt { display: flex; flex-direction: column; gap: 4px; }
.ssm-pub__col { font-size: 14px; font-weight: 600; color: var(--ssm-gold-dark); text-transform: uppercase; letter-spacing: .04em; }
:is(.ssm, .editor-styles-wrapper) .ssm-pub__title, .ssm.ssm-has-ph .entry-content .ssm-pub__title { margin: 0; font-size: 20px; line-height: 1.2; color: var(--ssm-ink); }
:is(.ssm, .editor-styles-wrapper) .ssm-pub__link { color: var(--ssm-ink) !important; text-decoration: none !important; }
:is(.ssm, .editor-styles-wrapper) .ssm-pub__link::after { content: ""; position: absolute; inset: 0; }
:is(.ssm, .editor-styles-wrapper) .ssm-pub__link:focus-visible { outline: none; }
.ssm-pub__date { font-size: 15px; color: var(--ssm-muted2); }

/* Encadré événement, bulletin, coordonnées, plan du site */
.ssm-box { background: #fff; border-radius: 16px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 14px 34px rgba(43, 43, 47, .08); margin-bottom: 36px; display: flex; flex-direction: column; gap: 20px; }
.ssm-box dl { margin: 0; display: grid; gap: 14px; }
.ssm-box__row { display: grid; grid-template-columns: 24px 140px 1fr; gap: 10px; align-items: start; }
.ssm-box__row .ssm-ico { color: var(--ssm-gold-dark); margin-top: 4px; }
.ssm-box dt { font-weight: 700; color: var(--ssm-ink); }
.ssm-box dd { margin: 0; }
@media (max-width: 599.98px) { .ssm-box__row { grid-template-columns: 24px 1fr; } .ssm-box dd { grid-column: 2; } }
.ssm-bul { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 30px; }
.ssm-bul__cover { width: 260px; max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 34px rgba(43, 43, 47, .16); }
.ssm-bul__txt { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ssm-bul__txt h2 { margin-top: 0 !important; }
.ssm-coord { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.ssm-coord__card { background: #fff; border-radius: 16px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 14px 34px rgba(43, 43, 47, .08); }
.ssm-coord__card h2 { margin-top: 0 !important; }
.ssm-coord__card ul { padding-left: 1.1em; }
.ssm-coord__card a { display: inline-flex; align-items: center; gap: 10px; color: var(--ssm-green-dark) !important; font-weight: 600; }
.ssm-coord__big { font-size: 22px; }
.ssm-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px 40px; }
.ssm-plan h2 { margin-top: 0 !important; font-size: 22px !important; }
.ssm-plan a { color: var(--ssm-green-dark) !important; }
.ssm-plan ul { padding-left: 1.1em; margin: 0; }
.ssm-etapes { counter-reset: e; list-style: none; padding: 0; }
.ssm-etapes li { counter-increment: e; position: relative; padding: 4px 0 18px 58px; }
.ssm-etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ssm-gold); color: var(--ssm-ink); font-weight: 700; display: grid; place-items: center; }

/* Pages intérieures : espace pour le dock mobile. */
@media (max-width: 1099.98px) {
	.ssm-ph { padding-top: 150px; }
}

/* ---------- Éditeur ---------- */
.ssm-editor-block { position: relative; }
.ssm-editor-block__label { position: absolute; z-index: 50; top: 8px; right: 8px; background: var(--ssm-ink); color: #fff; font: 600 12px/1.4 var(--ssm-font); padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.editor-styles-wrapper .ssm-hero { height: 720px; min-height: 0; }
.editor-styles-wrapper .ssm-info__slider { margin-right: 0; }

/* ---------- Surcouche CdC des Sources de l'Orne ---------- */
/* Pas de manuscrite dans la charte : accroches en Outfit semi-gras, sans rotation. */
.ssm-mega__accent, .ssm-terr__acc, .ssm-alert__script, .ssm-h1__script { font-weight: 600; transform: none; letter-spacing: -.01em; }
.ssm-h1__script { font-size: 1em; line-height: 1; }
.ssm-mega__accent, .ssm-terr__acc { font-size: 18px; letter-spacing: .04em; }
.ssm-title__accent { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transform: none; color: #2E7F92; margin: 0 0 10px; }
.ssm-title__main { font-weight: 700; letter-spacing: -.02em; }
a:hover { color: #6A892C; }

/* ==========================================================================
   ACCUEIL CdC (Lot 2) : reproduction de la maquette
   ========================================================================== */
.ssm .ssm-h { position: relative; font-family: var(--ssm-font); line-height: normal; color: #2B2B2F; }
.ssm .ssm-h :where(p) { margin: 0; }
.ssm.ssm-is-home .entry-content > .ssm-h-hero { margin-top: 96px; }
.ssm.ssm-is-home .entry-content > .ssm-h-pub { margin-bottom: clamp(20px, 3vw, 40px); }
.ssm .ssm-h a { text-decoration: none; }
.ssm .ssm-h-h2 { margin: 0; font-family: var(--ssm-font); font-weight: 700; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.02em; color: #2B2B2F; text-wrap: balance; }
.ssm .ssm-h-h2--xl { font-size: clamp(38px, 4vw, 58px); line-height: 1; }
.ssm .ssm-h-btn { display: inline-block; background: #93BF3C; color: #2B2B2F !important; font-weight: 600; font-size: 15px; line-height: normal; padding: 14px 26px; border-radius: 999px; transition: background .45s var(--ssm-ease), color .45s var(--ssm-ease), transform .45s var(--ssm-ease); }
.ssm .ssm-h-btn:hover, .ssm .ssm-h-btn:focus-visible { background: #6A892C; color: #fff !important; transform: translateY(-2px); }
.ssm .ssm-h-arrow { --s: 44px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; border: 1.5px solid #144F79; background: #fff; color: #144F79; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: background .45s var(--ssm-ease), color .45s var(--ssm-ease); }
.ssm .ssm-h-arrow:hover, .ssm .ssm-h-arrow:focus-visible { background: #144F79; color: #fff; }
.ssm .ssm-h-tag { position: absolute; left: 18px; bottom: -14px; background: var(--bg); color: var(--fg); font-size: 13px; font-weight: 600; line-height: normal; padding: 7px 16px; border-radius: 999px; }
.ssm .ssm-h-tag--sm { left: 14px; bottom: -13px; font-size: 12.5px; padding: 6px 14px; }
.ssm .ssm-h-meta { margin-top: 8px; font-size: 13.5px; display: flex; gap: 6px; align-items: center; }
.ssm .ssm-h-meta::before { content: "›"; color: #6A892C; font-weight: 700; }
.ssm .ssm-h-meta--lg { margin-top: 10px; font-size: 14px; }
.ssm .ssm-h-stretch { color: inherit !important; }
.ssm .ssm-h-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ssm .ssm-h-stretch:focus-visible { outline: none; }
.ssm .ssm-h-stretch:focus-visible::after { outline: 3px solid #144F79; outline-offset: 4px; border-radius: 14px; }
.ssm .ssm-h-empty { color: #3D3D42; padding: 20px 0; }

/* En-tête de l'accueil : barre blanche de 96 px (76 px au défilement). */
.ssm.ssm-is-home .ssm-bar { background: #fff; box-shadow: 0 6px 24px rgba(20, 79, 121, .10); }
.ssm.ssm-is-home .ssm-bar__in { max-width: 1440px; height: 96px; padding: 0 clamp(16px, 3vw, 48px); flex-wrap: nowrap; justify-content: space-between; gap: 24px; transition: height .5s var(--ssm-ease); }
.ssm.ssm-is-home .ssm-header.is-scrolled .ssm-bar__in { height: 76px; padding-top: 0; padding-bottom: 0; }
.ssm.ssm-is-home .ssm-logo img { height: 58px; transition: height .5s var(--ssm-ease), opacity .35s ease; }
.ssm.ssm-is-home .ssm-header.is-scrolled .ssm-logo img { height: 46px; }
.ssm.ssm-is-home .ssm-logo__w { opacity: 0; }
.ssm.ssm-is-home .ssm-logo__d { opacity: 1; }
.ssm.ssm-is-home .ssm-nav { flex: 0 1 auto; }
.ssm.ssm-is-home .ssm-nav__list { gap: 4px; }
.ssm.ssm-is-home .ssm-nav__link { color: #2B2B2F !important; font-size: 15px; font-weight: 500; line-height: normal; padding: 11px 18px; border-radius: 999px; transition: background .45s var(--ssm-ease), color .45s var(--ssm-ease); }
.ssm.ssm-is-home .ssm-nav__ul { display: none; }
.ssm.ssm-is-home .ssm-nav__item:first-child .ssm-nav__link { background: #93BF3C; }
.ssm.ssm-is-home .ssm-nav__item:not(:first-child).is-open .ssm-nav__link,
.ssm.ssm-is-home .ssm-nav__item:not(:first-child):hover .ssm-nav__link { background: #144F79; color: #fff !important; }
.ssm.ssm-is-home .ssm-tool, .ssm.ssm-is-home .ssm-burger { color: #2B2B2F; }

/* Accès rapide (maquette, variante « Accès rapide ») : panneau bleu à droite ≥ 760 px, barre en bas en dessous. */
.ssm .ssm-rail { left: auto; right: clamp(10px, 1.4vw, 22px); width: 104px; max-height: calc(100vh - 228px); overflow-y: auto; scrollbar-width: none; background: #144F79; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 30px; padding: 16px 8px 12px; box-shadow: 0 20px 50px rgba(8, 30, 46, .35); }
.ssm .ssm-rail:hover, .ssm .ssm-rail:focus-within { width: 104px; box-shadow: 0 20px 50px rgba(8, 30, 46, .35); }
.ssm .ssm-rail__head { height: auto; background: none; justify-content: center; padding: 0 4px 6px; }
.ssm .ssm-rail__one { display: none; }
.ssm .ssm-rail__lbl { opacity: 1; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6CC2D6; }
.ssm .ssm-rail__list { padding: 0; gap: 4px; }
.ssm .ssm-rail__a { height: auto; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 20px; text-align: center; white-space: normal; font-size: 12.5px; font-weight: 500; line-height: 1.2; color: #fff !important; }
.ssm .ssm-rail__a:hover, .ssm .ssm-rail__a:focus-visible { background: #93BF3C; color: #2B2B2F !important; }
.ssm .ssm-rail__ico { width: auto; }
.ssm .ssm-rail__ico .ssm-qa-ico { --ssm-ico-s: 26px; }
.ssm .ssm-rail__t { opacity: 1; transform: none; }
@media (min-width: 760px) and (max-width: 1099.98px) {
	.ssm .ssm-rail { display: block; }
	.ssm .ssm-dock { display: none; }
}
@media (max-width: 759.98px) {
	.ssm .ssm-dock { left: 10px; right: 10px; bottom: 10px; background: #144F79; border-radius: 24px; box-shadow: 0 14px 40px rgba(8, 30, 46, .35); padding: 8px; pointer-events: auto; }
	.ssm .ssm-dock ul { padding: 0; gap: 2px; justify-content: flex-start; }
	.ssm .ssm-dock__a { flex-direction: column; width: 76px; min-height: 0; gap: 4px; padding: 8px 4px; border: 0; border-radius: 16px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; font-size: 12px; font-weight: 400; line-height: 1.15; text-align: center; white-space: normal; }
	.ssm .ssm-dock__a .ssm-qa-ico { --ssm-ico-s: 22px; }
}

/* Bandeau */
.ssm .ssm-h-hero { margin-top: 96px; height: calc(100vh - 96px); min-height: 480px; overflow: hidden; background: #0D2A3F; color: #fff; isolation: isolate; }
.ssm .ssm-h-hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.ssm .ssm-h-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1.02); transition: opacity 2.2s cubic-bezier(.4, 0, .2, 1), transform 9s linear; }
.ssm .ssm-h-hero__img.is-on { opacity: 1; }
.ssm .ssm-h-hero__img.is-kb { transform: scale(1.13); }
.ssm .ssm-h-hero .ssm-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ssm .ssm-h-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(8, 30, 46, .62) 0%, rgba(8, 30, 46, .25) 45%, rgba(8, 30, 46, 0) 70%), linear-gradient(0deg, rgba(8, 30, 46, .55) 0%, rgba(8, 30, 46, 0) 45%); }
.ssm .ssm-h-hero__in { position: relative; z-index: 2; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 96px) clamp(40px, 7vh, 84px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.ssm .ssm-h-hero__in > * { align-self: stretch; }
.ssm .ssm-h-hero__in > .ssm-pill { align-self: flex-start; margin-bottom: 20px;background: #FF5F15; }
.ssm .ssm-h-hero__in > .ssm-pill > .ssm-pill__ico{color: #FF5F15;}
.ssm .ssm-h-hero__kick { font-weight: 300; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .005em; color: #fff; }
.ssm .ssm-h-hero .ssm-hero__title { margin: 6px 0 0; padding: 0; font-family: var(--ssm-font); font-weight: 700; font-size: clamp(38px, 5.4vw, 78px); line-height: 1; letter-spacing: -.02em; max-width: 920px; color: #fff; text-wrap: balance; text-shadow: none; }
.ssm .ssm-h-hero__ctl { display: flex; align-items: center; gap: 18px; margin-top: clamp(24px, 4vh, 40px); flex-wrap: wrap; }
.ssm .ssm-h-hero__bars { display: flex; gap: 8px; align-items: center; }
.ssm .ssm-h-hero__bar { width: 46px; height: 18px; border: 0; background: none; padding: 7px 0; cursor: pointer; display: block; }
.ssm .ssm-h-hero__bar::before { content: ""; display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.ssm .ssm-h-hero__fill { display: block; height: 4px; margin-top: -4px; border-radius: 4px; background: #F2A617; width: 0; }
.ssm .ssm-h-hero__bar.is-done .ssm-h-hero__fill { width: 100%; }
.ssm .ssm-h-hero__bar.is-run .ssm-h-hero__fill { width: 100%; transition: width 7s linear; }
.ssm .ssm-h-hero__pause { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(8, 30, 46, .25); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.ssm .ssm-h-hero__cap { font-size: 13px; opacity: .85; }
@media (max-width: 759.98px) { .ssm .ssm-h-hero { height: 78vh; } }
@media (prefers-reduced-motion: reduce) { .ssm .ssm-h-hero__img { transition: none; transform: none !important; } }

/* Actualités */
.ssm .ssm-h-info { padding: clamp(56px, 7vw, 110px) 0 clamp(56px, 7vw, 100px); scroll-margin-top: 80px; }
.ssm .ssm-h-info__band { position: absolute; left: 0; right: clamp(0px, 6vw, 90px); top: 38%; bottom: 0; background: #EAF2DC; border-radius: 0 0 80px 0; -webkit-mask: url("../img/home/mask-actu.png") top / 100% 100% no-repeat; mask: url("../img/home/mask-actu.png") top / 100% 100% no-repeat; }
.ssm .ssm-h-info__grid { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 0 0 clamp(20px, 5vw, 96px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.ssm .ssm-h-info__grid.is-single { grid-template-columns: minmax(0, 1fr); }
.ssm .ssm-h-feat { position: relative; display: flex; flex-direction: column; color: #2B2B2F; width: 100%; }
.ssm .ssm-h-feat__fig { position: relative; }
.ssm .ssm-h-feat__img { border-radius: 14px; overflow: hidden; aspect-ratio: 494 / 575; box-shadow: 0 18px 44px rgba(20, 79, 121, .16); background: #F2F2F2; }
.ssm .ssm-h-feat__img img, .ssm .ssm-h-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ssm-ease); }
.ssm .ssm-h-feat:hover .ssm-h-feat__img img { transform: scale(1.04); }
.ssm .ssm-h-feat__title { margin: 32px 0 0; font-family: var(--ssm-font); font-weight: 600; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; text-wrap: pretty; color: #2B2B2F; }
.ssm .ssm-h-info__main { min-width: 0; }
.ssm .ssm-h-info__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-right: clamp(20px, 5vw, 96px); }
.ssm .ssm-h-info__text { margin-top: 14px; max-width: 440px; font-size: 15px; line-height: 1.6; color: #3D3D42; text-wrap: pretty; }
.ssm .ssm-h-info__ctl { display: flex; align-items: center; gap: 14px; }
.ssm .ssm-h-track { display: flex; gap: clamp(18px, 2vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: clamp(28px, 3vw, 44px) 0 0; padding: 6px clamp(20px, 5vw, 96px) 24px 6px; }
.ssm .ssm-h-track::-webkit-scrollbar { display: none; }
.ssm .ssm-h-card { position: relative; flex: 0 0 clamp(230px, 22vw, 300px); scroll-snap-align: start; display: flex; flex-direction: column; color: #2B2B2F; }
.ssm .ssm-h-card__fig { position: relative; }
.ssm .ssm-h-card__img { border-radius: 12px; overflow: hidden; aspect-ratio: 340 / 405; background: #F2F2F2; box-shadow: 0 10px 26px rgba(20, 79, 121, .12); transition: box-shadow .5s var(--ssm-ease); }
.ssm .ssm-h-card__img img { object-position: top; }
.ssm .ssm-h-card:hover .ssm-h-card__img { box-shadow: 0 22px 44px rgba(20, 79, 121, .22); }
.ssm .ssm-h-card:hover .ssm-h-card__img img { transform: scale(1.05); }
.ssm .ssm-h-card__title { margin: 28px 0 0; font-family: var(--ssm-font); font-weight: 600; font-size: 17px; line-height: 1.3; text-wrap: pretty; color: #2B2B2F; }
@media (max-width: 979.98px) {
	.ssm .ssm-h-info__grid { grid-template-columns: minmax(0, 1fr); }
	.ssm .ssm-h-feat { max-width: 420px; margin-right: clamp(20px, 5vw, 96px); }
}

/* Territoire */
.ssm .ssm-h-terr { padding: clamp(56px, 7vw, 110px) 0 clamp(40px, 5vw, 80px); }
.ssm .ssm-h-terr__in { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 96px); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ssm .ssm-h-terr__mapcol { flex: 1.1 1 440px; min-width: 0; position: relative; }
.ssm .ssm-h-terr__orne { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: #6CC2D6; margin: 0 0 4px 22% !important; }
.ssm .ssm-h-terr__map { position: relative; width: 100%; aspect-ratio: 1735 / 1412; }
.ssm .ssm-h-terr__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ssm .ssm-h-commune { position: absolute; width: 9%; height: 6%; transform: translate(-50%, -50%); border: 0; background: transparent; cursor: pointer; padding: 0; border-radius: 10px; }
.ssm .ssm-h-commune:focus-visible { outline: 3px solid #144F79; outline-offset: 0; }
.ssm .ssm-h-pin { position: absolute; transform: translate(-50%, -100%); pointer-events: none; transition: left .75s var(--ssm-ease), top .75s var(--ssm-ease); display: flex; flex-direction: column; align-items: center; }
.ssm .ssm-h-pin__name { background: #144F79; color: #fff; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 12px; white-space: nowrap; box-shadow: 0 10px 24px rgba(20, 79, 121, .3); }
.ssm .ssm-h-pin__tip { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid #144F79; }
.ssm .ssm-h-pin__dot { width: 14px; height: 14px; border-radius: 50%; background: #E74375; border: 3px solid #fff; margin-top: 2px; box-shadow: 0 0 0 6px rgba(231, 67, 117, .25); animation: ssmPulse 2.4s var(--ssm-ease) infinite; }
@keyframes ssmPulse { 0% { box-shadow: 0 0 0 0 rgba(231, 67, 117, .45); } 70% { box-shadow: 0 0 0 12px rgba(231, 67, 117, 0); } 100% { box-shadow: 0 0 0 0 rgba(231, 67, 117, 0); } }
.ssm .ssm-h-terr__hint { margin-top: 10px; font-size: 13px; color: #4E4D4E; }
.ssm .ssm-h-terr__col { flex: 1 1 400px; min-width: 0; }
.ssm .ssm-h-terr__text { margin-top: 22px !important; max-width: 540px; font-size: 15.5px; line-height: 1.7; color: #3D3D42; text-wrap: pretty; }
.ssm .ssm-h-terr__act { position: relative; margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.ssm .ssm-h-terr__act .ssm-h-btn { position: relative; }
.ssm .ssm-terr__card { position: relative; flex: 0 1 330px; border-radius: 14px; overflow: hidden; background: #144F79; color: #fff !important; box-shadow: 0 20px 44px rgba(20, 79, 121, .25); display: flex; flex-direction: column; transition: transform .5s var(--ssm-ease); }
.ssm .ssm-terr__card:hover, .ssm .ssm-terr__card:focus-visible { transform: translateY(-4px); color: #fff !important; }
.ssm .ssm-terr__fig { position: relative; display: block; aspect-ratio: 392 / 170; background: #EAF2DC; overflow: hidden; }
.ssm .ssm-terr__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ssm .ssm-terr__nophoto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #4A601E; font-size: 13px; font-weight: 500; }
.ssm .ssm-terr__ico { width: 46px; height: 46px; background: #6A892C; -webkit-mask: url("../img/home/ico-photo.png") center / contain no-repeat; mask: url("../img/home/ico-photo.png") center / contain no-repeat; }
.ssm .ssm-terr__fig [hidden] { display: none; }
.ssm .ssm-terr__body { display: block; padding: 18px 22px 20px; }
.ssm .ssm-terr__name { display: block; font-weight: 700; font-size: 24px; }
.ssm .ssm-terr__pop { display: block; font-size: 14.5px; margin-top: 2px; opacity: .9; }
.ssm .ssm-terr__pop[hidden] { display: none; }
.ssm .ssm-terr__more { margin-top: 12px; font-weight: 600; font-style: italic; font-size: 15px; display: inline-block; border-bottom: 2px solid #93BF3C; padding-bottom: 2px; }

/* Publications et application */
.ssm .ssm-h-pub { padding: clamp(56px, 7vw, 100px) 0; margin-bottom: clamp(20px, 3vw, 40px); }
.ssm .ssm-h-pub__bg { position: absolute; left: 0; top: 0; bottom: 0; width: 48%; background: #EAF2DC; -webkit-mask: url("../img/home/mask-pub.png") left top / 100% 100% no-repeat; mask: url("../img/home/mask-pub.png") left top / 100% 100% no-repeat; transform: scaleX(-1); }
.ssm .ssm-h-pub__in { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 96px); display: flex; flex-wrap: wrap; gap: clamp(48px, 6vw, 110px); }
.ssm .ssm-h-pub__col { flex: 1 1 440px; min-width: 0; }
.ssm .ssm-h-pub__row { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 40px); align-items: center; margin-top: clamp(28px, 3vw, 44px); }
.ssm .ssm-h-pub__txt { flex: 1 1 200px; padding-left: clamp(0px, 1.4vw, 18px); }
.ssm .ssm-h-pub__view[hidden] { display: none; }
.ssm .ssm-h-pub__title { margin: 0; font-family: var(--ssm-font); font-weight: 600; font-size: 24px; line-height: 1.2; color: #2B2B2F; }
.ssm .ssm-h-pub__sub { font-size: 13.5px; color: #4E4D4E; margin-top: 6px !important; }
.ssm .ssm-h-pub__links { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ssm .ssm-h-pub__links li { margin: 0; }
.ssm .ssm-h-pub__links a { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: #2B2B2F !important; }
.ssm .ssm-h-pub__ico { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #144F79; display: flex; align-items: center; justify-content: center; }
.ssm .ssm-h-pub__arrows { display: flex; gap: 12px; margin-top: 26px; }
.ssm .ssm-h-pub__arrows .ssm-h-arrow { background: transparent; }
.ssm .ssm-h-pub__arrows .ssm-h-arrow:hover, .ssm .ssm-h-pub__arrows .ssm-h-arrow:focus-visible { background: #144F79; }
.ssm .ssm-h-pub__txt .ssm-h-btn { margin-top: 26px; }
.ssm .ssm-h-pub__cover { flex: 0 1 230px; position: relative; margin: 0 auto; }
.ssm .ssm-h-pub__under { position: absolute; inset: 0; background: #4E4D4E; border-radius: 4px; transform: rotate(-3deg) translate(-8px, 6px); opacity: .55; }
.ssm .ssm-h-pub__paper { position: relative; display: block; width: 100%; aspect-ratio: 210 / 297; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); transform: rotate(1.5deg); }
.ssm .ssm-h-pub__paper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ssm .ssm-h-pub__paper img[hidden] { display: none; }
.ssm .ssm-h-pub__view.is-in, .ssm .ssm-h-pub__paper img.is-in { animation: ssm-pub-in .45s var(--ssm-ease, ease) both; }
@keyframes ssm-pub-in { from { opacity: 0; transform: translateX(var(--ssm-dx, 0px)); } to { opacity: 1; transform: none; } }
.ssm .ssm-h-pub__fb[hidden] { display: none !important; }
@property --ssm-fl { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --ssm-fr { syntax: '<length>'; inherits: false; initial-value: 0px; }
.ssm [data-ssm-carousel] [data-ssm-track] {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--ssm-fl), #000 calc(100% - var(--ssm-fr)), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 var(--ssm-fl), #000 calc(100% - var(--ssm-fr)), transparent 100%);
	transition: --ssm-fl .35s ease, --ssm-fr .35s ease;
}
.ssm [data-ssm-carousel] [data-ssm-track].has-fl { --ssm-fl: 64px; }
.ssm [data-ssm-carousel] [data-ssm-track].has-fr { --ssm-fr: 64px; }
.ssm .ssm-h-app { flex: 1 1 440px; min-width: 0; display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 40px); align-items: center; }
.ssm .ssm-h-app__txt { flex: 1 1 240px; position: relative; }
.ssm .ssm-h-app__txt .ssm-h-h2 { position: relative; }
.ssm .ssm-h-app__p { margin-top: 22px !important; font-size: 15px; line-height: 1.7; color: #3D3D42; text-wrap: pretty; }
.ssm .ssm-h-app__txt .ssm-h-btn { margin-top: 26px; }
.ssm .ssm-h-app__img { flex: 0 1 200px; margin: 0 auto; }
.ssm .ssm-h-app__img img { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .18)); }
@media (max-width: 979.98px) { .ssm .ssm-h-pub__bg { width: 100%; } }

/* ==========================================================================
   PAGES INTÉRIEURES CdC (Lot 3)
   ========================================================================== */
/* En-tête : même barre blanche de 96 px (76 px au défilement) que l'accueil. */
.ssm.ssm-is-inner .ssm-bar { background: #fff; box-shadow: 0 6px 24px rgba(20, 79, 121, .10); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ssm.ssm-is-inner .ssm-bar__in { max-width: 1440px; height: 96px; padding: 0 clamp(16px, 3vw, 48px); flex-wrap: nowrap; justify-content: space-between; gap: 24px; transition: height .5s var(--ssm-ease); }
.ssm.ssm-is-inner .ssm-header.is-scrolled .ssm-bar__in { height: 76px; padding-top: 0; padding-bottom: 0; }
.ssm.ssm-is-inner .ssm-logo img { height: 58px; transition: height .5s var(--ssm-ease), opacity .35s ease; }
.ssm.ssm-is-inner .ssm-header.is-scrolled .ssm-logo img { height: 46px; }
.ssm.ssm-is-inner .ssm-logo__w { opacity: 0; }
.ssm.ssm-is-inner .ssm-logo__d { opacity: 1; }
.ssm.ssm-is-inner .ssm-nav { flex: 0 1 auto; }
.ssm.ssm-is-inner .ssm-nav__list { gap: 4px; }
.ssm.ssm-is-inner .ssm-nav__link { color: #2B2B2F !important; font-size: 15px; font-weight: 500; line-height: normal; padding: 11px 18px; border-radius: 999px; transition: background .45s var(--ssm-ease), color .45s var(--ssm-ease); }
.ssm.ssm-is-inner .ssm-nav__ul { display: none; }
.ssm.ssm-is-inner .ssm-nav__item.is-current .ssm-nav__link { background: #93BF3C; }
.ssm.ssm-is-inner .ssm-nav__item:not(.is-current).is-open .ssm-nav__link,
.ssm.ssm-is-inner .ssm-nav__item:not(.is-current):hover .ssm-nav__link,
.ssm.ssm-is-inner .ssm-nav__item.is-current.is-open .ssm-nav__link { background: #144F79; color: #fff !important; }
.ssm.ssm-is-inner .ssm-tool, .ssm.ssm-is-inner .ssm-burger { color: #2B2B2F; }

/* Bandeau de page : sous la barre blanche, titre sobre (pas de capitales). */
.ssm-ph { padding: 140px 0 clamp(36px, 4.5vw, 56px); min-height: clamp(340px, 38vh, 440px); }
.ssm-ph__shade { background: linear-gradient(180deg, rgba(13, 42, 63, .35) 0%, rgba(13, 42, 63, .3) 40%, rgba(13, 42, 63, .8) 100%); }
:is(.ssm, .editor-styles-wrapper) .ssm-ph__title { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.02em; text-transform: none; max-width: 22ch; }
.ssm-ph__title .ssm-h1__script { color: var(--ssm-sand); }
.ssm-ph__lead { max-width: 64ch; }
@media (max-width: 1099.98px) { .ssm-ph { padding-top: 132px; } }
@media (max-width: 599.98px) { .ssm-ph__meta { font-size: 15px; } }

/* L'accès rapide (≥ 760 px) ne recouvre plus le contenu. */
@media (min-width: 760px) {
	.ssm.ssm-has-ph .entry-content { padding-right: max(var(--ssm-gutter), 140px); }
	.ssm-ph__in { padding-right: 140px; }
}
/* Vignettes des sous-pages */
.ssm-tile { border-radius: 14px; }
.ssm-tile:hover .ssm-tile__shade, .ssm-tile:focus-within .ssm-tile__shade { background-color: rgba(147, 191, 60, .3); }
.ssm-tile:focus-within { outline-color: #144F79; }
/* Listes */
.ssm-filters a { background: #EAF2DC; }
.ssm-filters a:hover, .ssm-filters a:focus-visible { background: #C9E09A; }
.ssm-filters a[aria-current] { background: #144F79; }
.ssm-pager a[aria-current], .ssm-pager a:hover { background: #144F79; }
.ssm-list__empty { border-radius: 14px; }
.ssm-pub__col { color: #4A601E; }
.ssm-pub__cover { box-shadow: 0 10px 28px rgba(20, 79, 121, .14); }
/* Fiche événement / bulletin / actualité */
.ssm-box, .ssm-coord__card { border: 1px solid #E4E4E4; box-shadow: 0 10px 28px rgba(20, 79, 121, .08); }
.ssm-box__row .ssm-ico { color: #144F79; }
.ssm-back { margin: 40px auto 0 !important; }
.ssm-back a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: #0E3C5C !important; text-decoration: none !important; }
.ssm-back a:hover, .ssm-back a:focus-visible { color: #2B2B2F !important; }
.ssm-back .ssm-ico { transform: rotate(180deg); }
.ssm.ssm-has-ph .entry-content > .ssm-back { max-width: 860px; }
/* Recherche et 404 (gabarits Kadence) */
:is(.search, .error404).ssm #primary { padding: clamp(40px, 5vw, 72px) max(var(--ssm-gutter), 0px); }
@media (min-width: 760px) { :is(.search, .error404).ssm #primary { padding-right: max(var(--ssm-gutter), 140px); } }
:is(.search, .error404).ssm .content-container, :is(.search, .error404).ssm .site-container { max-width: 1208px; }
.search.ssm article.entry { background: #fff; border: 1px solid #E4E4E4; border-radius: 14px; box-shadow: none; padding: 0; margin-bottom: 20px; overflow: hidden; }
.search.ssm article.entry .entry-content-wrap { padding: 22px 26px; }
.search.ssm article.entry .entry-title { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.search.ssm article.entry .entry-title a { color: #0E3C5C; text-decoration: none; }
.search.ssm article.entry .entry-title a:hover, .search.ssm article.entry .entry-title a:focus-visible { text-decoration: underline; text-decoration-color: #93BF3C; text-underline-offset: 4px; }
.search.ssm article.entry .entry-summary p { margin: 0; color: #3D3D42; }
.search.ssm .post-thumbnail { margin: 0; }
.search.ssm .post-more-link, .search.ssm .entry-footer { display: none; }
.error404.ssm .page-title { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); color: #0E3C5C; text-transform: none; }
.error404.ssm .page-content p { font-size: 18px; }
.error404.ssm .page-content a { color: #0E3C5C; text-decoration: underline; text-decoration-color: #93BF3C; }
:is(.search, .error404).ssm .search-form { display: flex; gap: 10px; max-width: 560px; margin-top: 20px; }
:is(.search, .error404).ssm .search-form input[type="search"] { flex: 1; min-height: 48px; border: 1.5px solid #144F79; border-radius: 999px; padding: 0 20px; font: inherit; }
:is(.search, .error404).ssm .search-form .search-submit, :is(.search, .error404).ssm .search-form button { min-height: 48px; border-radius: 999px; padding: 0 24px; background: #93BF3C; color: #2B2B2F; font-weight: 600; border: 0; }
:is(.search, .error404).ssm .search-form .search-submit { flex: none; white-space: nowrap; width: auto; }
:is(.search, .error404).ssm .search-form .search-submit:hover { background: #144F79; color: #fff; }

/* ==========================================================================
   EN-TÊTE ET PIED DE PAGE : alignement sur la maquette (Lot 6)
   ========================================================================== */
body.ssm .ssm-nav__link { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
body.ssm .ssm-nav__chev { width: 10px; height: 10px; flex: none; transition: transform .45s var(--ssm-ease); }
body.ssm .ssm-nav__item.is-open .ssm-nav__chev { transform: rotate(180deg); }
body.ssm.ssm-is-home .ssm-nav__item:first-child .ssm-nav__link,
body.ssm.ssm-is-inner .ssm-nav__item.is-current .ssm-nav__link { color: #fff !important; }
@media (min-width: 1100px) {
	body.ssm .ssm-nav { flex: 0 1 auto !important; order: 0 !important; }
	body.ssm .ssm-logo { margin-right: 0; }
}
body.ssm .ssm-tools { flex: none; gap: 10px; }
body.ssm .ssm-socs { display: flex; align-items: center; gap: 8px; }
body.ssm .ssm-soc { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .45s var(--ssm-ease); }
body.ssm .ssm-soc:hover, body.ssm .ssm-soc:focus-visible { transform: translateY(-2px); }
body.ssm .ssm-soc--ig,
body.ssm .ssm-soc--fb,
body.ssm .ssm-soc--pp { background: #93BF3C; }
body.ssm .ssm-soc--pp svg { width: 28px; height: 28px; }
body.ssm .ssm-sbtn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #93BF3C; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .45s var(--ssm-ease); }
body.ssm .ssm-sbtn:hover, body.ssm .ssm-sbtn:focus-visible { background: #6A892C; }
body.ssm .ssm-soc:focus-visible, body.ssm .ssm-sbtn:focus-visible, body.ssm .ssm-burger:focus-visible { outline: 3px solid #144F79; outline-offset: 2px; }
body.ssm .ssm-header .ssm-burger { width: 46px; height: 46px; border-radius: 50%; background: #144F79 !important; color: #fff !important; box-shadow: none; }
body.ssm .ssm-header .ssm-burger:hover { background: #0D3A5A !important; }
@media (max-width: 1099.98px) {
	body.ssm .ssm-socs { display: none; }
	body.ssm .ssm-tools { order: 3; flex: 0 0 auto; }
	body.ssm .ssm-header .ssm-burger { order: 4; position: static; }
	body.ssm .ssm-bar__in { gap: 10px; }
}

/* Pied de page */
body.ssm .ssm-f2 { background: #fff; color: #2B2B2F; border-top: 1px solid #E4E4E4; margin-top: clamp(20px, 3vw, 40px); padding: 0; font-family: var(--ssm-font); }
body.ssm.ssm-is-home .ssm-f2 { margin-top: 0; }
body.ssm .ssm-f2__top { max-width: 1440px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 96px) 28px; display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); justify-content: space-between; box-sizing: border-box; }
body.ssm .ssm-f2__c1 { flex: 1 1 240px; max-width: 300px; }
body.ssm .ssm-f2__c2 { flex: 1 1 260px; max-width: 340px; }
body.ssm .ssm-f2__c3 { flex: 1 1 180px; max-width: 240px; }
body.ssm .ssm-f2__c4 { flex: 0 1 220px; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
body.ssm .ssm-f2__c1 > img { width: 200px; height: auto; display: block; }
body.ssm .ssm-f2__c4 > img { width: 170px; height: auto; display: block; }
body.ssm .ssm-f2__ot { display: block; }
body.ssm .ssm-f2__ot img { width: 180px; height: auto; display: block; border-radius: 4px; }
body.ssm .ssm-f2__h { margin: 0; font-family: var(--ssm-font); font-weight: 600; font-size: 19px; line-height: normal; letter-spacing: 0; text-transform: none; color: #2B2B2F; }
body.ssm .ssm-f2__p { margin: 18px 0 0; font-size: 13.5px; line-height: 1.6; color: #2B2B2F; }
body.ssm .ssm-f2__c1 > .ssm-f2__p { margin-top: 18px; }
body.ssm .ssm-f2__p--s { margin-top: 10px; }
body.ssm .ssm-f2__p--l { line-height: 1.7; }
body.ssm .ssm-f2__p a { color: #144F79; }
body.ssm .ssm-f2__p a:hover { color: #6A892C; }
body.ssm .ssm-f2__p a.ssm-f2__tel { color: inherit; }
body.ssm .ssm-f2__p a.ssm-f2__u { text-decoration: underline; }
body.ssm .ssm-f2__h--s { margin-top: 24px; font-size: 15px; }
body.ssm .ssm-f2__ct { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
body.ssm .ssm-f2__ct li { margin: 0; display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.5; color: #2B2B2F; }
body.ssm .ssm-f2__lbl { font-weight: 600; }
body.ssm .ssm-f2__ct a { color: #144F79; overflow-wrap: anywhere; }
body.ssm .ssm-f2__ct a.ssm-f2__tel { color: inherit; }
body.ssm .ssm-f2__ct a:hover, body.ssm .ssm-f2__ct a:focus-visible { color: #6A892C; }
body.ssm .ssm-f2__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body.ssm .ssm-f2__list li { margin: 0; }
body.ssm .ssm-f2__list a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.6; color: #2B2B2F; text-decoration: none; }
body.ssm .ssm-f2__list a:hover, body.ssm .ssm-f2__list a:focus-visible { color: #6A892C; }
body.ssm .ssm-f2__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #93BF3C; }
body.ssm .ssm-f2__bar { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 96px) 32px; box-sizing: border-box; }
body.ssm .ssm-f2__legal { border-top: 1px solid #4E4D4E; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 12.5px; line-height: normal; color: #2B2B2F; }
body.ssm .ssm-f2__legal a { color: inherit; text-decoration: none; }
body.ssm .ssm-f2__legal a:hover, body.ssm .ssm-f2__legal a:focus-visible { color: #6A892C; }
@media (max-width: 759.98px) { body.ssm .ssm-f2__bar { padding-bottom: 130px; } }

/* ==========================================================================
   ACCÈS RAPIDES « JE VEUX / JE SUIS » (maquette)
   ========================================================================== */
body.ssm .ssm-qm { font-family: var(--ssm-font); }
body.ssm .ssm-qm--side { position: fixed; right: clamp(10px, 1.4vw, 22px); top: 50%; z-index: 55; transform: translateY(-50%); transition: transform .7s var(--ssm-ease); }
body.ssm .ssm-qm--side.is-closed { transform: translateY(-50%) translateX(calc(100% + 40px)); }
body.ssm .ssm-qm__x { position: absolute; z-index: 2; top: -10px; right: -6px; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: #144F79; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
body.ssm .ssm-qm__box { position: relative; width: 128px; max-height: calc(100vh - 228px); overflow-y: auto; scrollbar-width: none; background: #144F79; border-radius: 30px; padding: 16px 8px 12px; box-shadow: 0 20px 50px rgba(8, 30, 46, .35); display: flex; flex-direction: column; align-items: stretch; gap: 4px; box-sizing: border-box; }
body.ssm .ssm-qm__box::-webkit-scrollbar { display: none; }
body.ssm .ssm-qm--side.is-scrolled .ssm-qm__box { max-height: calc(100vh - 188px); }
body.ssm .ssm-qm__tabs { display: flex; background: #0E3C5C; border-radius: 999px; padding: 3px; margin: 0 2px 8px; }
body.ssm .ssm-qm__tab { flex: 1; border: 0; border-radius: 999px; padding: 7px 0; font-family: var(--ssm-font); font-size: 12.5px; font-weight: 600; line-height: normal; cursor: pointer; background: transparent; color: #fff; transition: background .45s var(--ssm-ease); }
body.ssm .ssm-qm__tab.is-on { background: #93BF3C; }
body.ssm .ssm-qm__tab:focus-visible, body.ssm .ssm-qm__a:focus-visible, body.ssm .ssm-qm__x:focus-visible, body.ssm .ssm-qm__open:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
body.ssm .ssm-qm__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
body.ssm .ssm-qm__list[hidden] { display: none; }
body.ssm .ssm-qm__list li { margin: 0; }
body.ssm .ssm-qm__a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; min-height: 82px; border-radius: 20px; color: #fff !important; text-align: center; font-size: 12.5px; font-weight: 500; line-height: 1.2; text-decoration: none; opacity: 0; transform: translateX(14px); transition: background .45s var(--ssm-ease), opacity .45s var(--ssm-ease), transform .6s var(--ssm-ease); }
body.ssm .ssm-qm.is-ready .ssm-qm__box:not(.is-fade) .ssm-qm__a { opacity: 1; transform: none; transition-delay: 0ms, calc(60ms + var(--i, 0) * 55ms), calc(60ms + var(--i, 0) * 55ms); }
body.ssm .ssm-qm__box.is-fade .ssm-qm__a { opacity: 0; transform: translateX(14px); transition-delay: 0ms; }
body.ssm .ssm-qm__a:hover, body.ssm .ssm-qm__a:focus-visible { background: #93BF3C; color: #fff !important; }
body.ssm .ssm-qm__a .ssm-qa-ico { --ssm-ico-s: 26px; }
body.ssm .ssm-qm__open { position: fixed; right: 0; top: 50%; z-index: 54; transform: translateY(-50%) translateX(100%); border: 0; background: #144F79; color: #fff; border-radius: 16px 0 0 16px; padding: 18px 10px; cursor: pointer; writing-mode: vertical-rl; font-family: var(--ssm-font); font-weight: 600; font-size: 13px; letter-spacing: .04em; line-height: normal; box-shadow: 0 10px 30px rgba(8, 30, 46, .3); transition: transform .7s var(--ssm-ease); }
body.ssm .ssm-qm__open.is-on { transform: translateY(-50%) translateX(0); }
body.ssm .ssm-qm--dock { display: none; }
@media (max-height: 759.98px) {
	body.ssm .ssm-qm__list { gap: 3px; }
	body.ssm .ssm-qm__a { padding: 6px; min-height: 72px; }
}
@media (max-width: 759.98px) {
	body.ssm .ssm-qm--side, body.ssm .ssm-qm__open { display: none; }
	body.ssm .ssm-qm--dock { display: block; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 55; }
	body.ssm .ssm-qm--dock .ssm-qm__box { width: auto; max-height: none; overflow: visible; background: #144F79; border-radius: 24px; box-shadow: 0 14px 40px rgba(8, 30, 46, .35); padding: 8px; gap: 6px; }
	body.ssm .ssm-qm--dock .ssm-qm__tabs { margin: 0; }
	body.ssm .ssm-qm--dock .ssm-qm__tab { padding: 6px 0; font-size: 12px; }
	body.ssm .ssm-qm--dock .ssm-qm__list { flex-direction: row; overflow-x: auto; gap: 2px; scrollbar-width: none; }
	body.ssm .ssm-qm--dock .ssm-qm__list li { flex: 0 0 76px; }
	body.ssm .ssm-qm--dock .ssm-qm__a { gap: 4px; padding: 8px 4px; min-height: 0; border-radius: 16px; font-size: 11px; line-height: 1.15; }
}
@media (prefers-reduced-motion: reduce) { body.ssm .ssm-qm__a { transition: none !important; opacity: 1; transform: none; } }

/* ==========================================================================
   ACCUEIL – CARTE DU TERRITOIRE (tracés IGN des 23 communes)
   ========================================================================== */
.ssm-h-terr .ssm-carte { position: relative; width: 100%; height: auto; aspect-ratio: 1000 / 799; }
.ssm-carte__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.ssm-carte__communes { filter: drop-shadow(0 10px 14px rgba(20, 79, 121, .16)); }
.ssm-carte__c { fill: var(--ssm-gold); stroke: #fff; stroke-width: 2.6; stroke-linejoin: round; cursor: pointer; transition: fill .45s var(--ssm-ease); }
.ssm-carte__c:hover { fill: #6A892C; }
.ssm-carte__c.is-on { fill: var(--ssm-green); }
.ssm-carte__orne { fill: none; stroke: #6CC2D6; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.ssm-carte__flux { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 16; opacity: .85; pointer-events: none; animation: ssmOrneFlux 2.8s linear infinite; }
@keyframes ssmOrneFlux { to { stroke-dashoffset: -38; } }
.ssm-carte__src { fill: #fff; stroke: #6CC2D6; stroke-width: 4; }
.ssm-carte__orne-lbl { font-family: var(--ssm-font); font-style: italic; font-weight: 700; font-size: 21px; letter-spacing: .06em; fill: #1F7A92; pointer-events: none; }

.ssm-h-terr .ssm-carte .ssm-h-commune {
	position: absolute; z-index: 1; transform: translate(-50%, -50%);
	width: auto; height: auto; min-width: 0; min-height: 0; margin: 0; padding: 2px 4px;
	border: 0; border-radius: 4px; background: none; box-shadow: none; opacity: 1;
	font-family: var(--ssm-font); font-size: clamp(8.5px, .9vw, 12.5px); font-weight: 600; line-height: 1.1;
	color: var(--ssm-green-dark); text-align: center; white-space: nowrap; cursor: pointer;
	text-shadow: 0 1.5px 0 var(--ssm-gold), 0 -1.5px 0 var(--ssm-gold), 1.5px 0 0 var(--ssm-gold), -1.5px 0 0 var(--ssm-gold), 1.1px 1.1px 0 var(--ssm-gold), -1.1px 1.1px 0 var(--ssm-gold), 1.1px -1.1px 0 var(--ssm-gold), -1.1px -1.1px 0 var(--ssm-gold);
	transition: color .45s var(--ssm-ease);
}
.ssm-h-terr .ssm-carte .ssm-h-commune::before,
.ssm-h-terr .ssm-carte .ssm-h-commune::after { display: none; }
.ssm-h-terr .ssm-carte .ssm-h-commune.is-static { cursor: default; }
.ssm-h-terr .ssm-carte .ssm-h-commune[aria-pressed="true"] {
	color: #fff; font-weight: 700;
	text-shadow: 0 1.5px 0 var(--ssm-green), 0 -1.5px 0 var(--ssm-green), 1.5px 0 0 var(--ssm-green), -1.5px 0 0 var(--ssm-green), 1.1px 1.1px 0 var(--ssm-green), -1.1px 1.1px 0 var(--ssm-green), 1.1px -1.1px 0 var(--ssm-green), -1.1px -1.1px 0 var(--ssm-green);
}
.ssm-h-terr .ssm-carte .ssm-h-commune:focus-visible { outline: 2px solid var(--ssm-green); outline-offset: 2px; }
.ssm-h-terr .ssm-h-pin { display: none; }

.ssm-carte__source { position: absolute; left: 81.2%; top: 56.57%; z-index: 3; transform: translate(-14px, -50%); display: flex; align-items: center; gap: 6px; pointer-events: none; }
.ssm-carte__source-ico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 6px 14px rgba(20, 79, 121, .2); display: flex; align-items: center; justify-content: center; }
.ssm-carte__source-ico svg { width: 16px; height: 16px; fill: none; stroke: #1F7A92; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ssm-carte__source-txt { background: #fff; color: #1F7A92; font-family: var(--ssm-font); font-style: italic; font-weight: 600; font-size: 12.5px; line-height: 1.3; padding: 4px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(20, 79, 121, .15); }

.ssm-carte__siege { position: absolute; left: 64%; top: 55.82%; z-index: 4; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.ssm-carte__siege-lbl { display: flex; align-items: center; gap: 6px; background: var(--ssm-green); color: #fff; font-family: var(--ssm-font); font-weight: 600; font-size: 12.5px; line-height: 1.2; padding: 6px 11px 6px 7px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 24px rgba(20, 79, 121, .3); }
.ssm-carte__siege-ico { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.ssm-carte__siege-ico svg { width: 12px; height: 12px; fill: none; stroke: var(--ssm-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ssm-carte__siege-tip { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid var(--ssm-green); }
.ssm-carte__siege-dot { width: 12px; height: 12px; margin-top: 1px; border-radius: 50%; background: #E74375; border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(231, 67, 117, .22); }

/* Pas de décors derrière la carte (rond, pointillés, trames de points) */
.ssm-h-terr .ssm-h-terr__mapcol::before,
.ssm-h-terr .ssm-h-terr__mapcol::after,
.ssm-h-terr .ssm-h-terr__map::before,
.ssm-h-terr .ssm-h-terr__map::after { content: none; display: none; }

/* Fiche commune : hauteurs fixes pour que la carte ne bouge pas */
.ssm-h-terr .ssm-terr__name { display: flex; align-items: flex-end; height: 2.3em; line-height: 1.15; overflow: hidden; }
.ssm-h-terr .ssm-terr__pop { display: block; height: 20px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssm-h-terr .ssm-terr__pop[hidden] { display: block; visibility: hidden; }

@media (max-width: 600px) {
	.ssm-carte__orne-lbl { font-size: 26px; }
	.ssm-carte__siege-lbl { font-size: 10.5px; padding: 3px 8px 3px 4px; gap: 4px; }
	.ssm-carte__siege-ico { width: 15px; height: 15px; }
	.ssm-carte__siege-ico svg { width: 9px; height: 9px; }
	.ssm-carte__siege-dot { width: 10px; height: 10px; border-width: 2px; }
	.ssm-carte__source { transform: translate(-10px, -50%); gap: 3px; }
	.ssm-carte__source-ico { width: 20px; height: 20px; }
	.ssm-carte__source-ico svg { width: 12px; height: 12px; }
	.ssm-carte__source-txt { font-size: 0; padding: 2px 6px; }
	.ssm-carte__source-txt::after { content: "Source"; font-size: 9.5px; }
	.ssm-h-terr .ssm-carte .ssm-h-commune[data-shape="aunousurorne"] { margin-top: 9px; }
}
@media (prefers-reduced-motion: reduce) { .ssm-carte__flux { animation: none; } }
