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

/* ---------- Polices auto-hébergées ---------- */
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/instrument-sans-latin-wght-normal-v2.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin-wght-normal-v2.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- Jetons de design ---------- */
:root {
	--ssm-ink: #27394A;
	--ssm-green: #14507A;        /* DS : vert (Kadence palette2) */
	--ssm-green-dark: #0E3350;   /* DS vert assombri : fonds avec texte + liens (contraste AA) */
	--ssm-cream: #F5F9EF;
	--ssm-gold: #93BE3D;         /* DS : jaune (Kadence palette10) */
	--ssm-sand: #B9DD76;         /* DS jaune éclairci */
	--ssm-beige: #EDF1EE;
	--ssm-line: #E4EBE6;
	--ssm-muted: #3C4D5C;
	--ssm-muted2: #4A5A67;
	--ssm-gold-dark: #6B892C;    /* DS jaune assombri : texte sur crème (AA) */
	--ssm-font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ssm-head: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
	--ssm-script: "Bricolage Grotesque", "Instrument Sans", sans-serif;
	--ssm-orange: #E58B65;
	--ssm-cyan: #6DC1D5;
	--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: #0E3350;
	--global-palette2: #27394A;
	--global-palette3: #27394A;
	--global-palette4: #0E3350;
	--global-palette5: #3C4D5C;
	--global-palette6: #4A5A67;
	--global-palette7: #EDF1EE;
	--global-palette8: #F5F9EF;
	--global-palette9: #FFFFFF;
	--global-body-font-family: var(--ssm-font);
	--global-heading-font-family: var(--ssm-head);
	--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-style: italic;
	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 { visibility: hidden; }
.ssm-bar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 30;
	background: rgba(245, 249, 239, 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(245, 249, 239, .96);
	box-shadow: 0 8px 30px rgba(39, 57, 74, .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: #E58B65 !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(39, 57, 74, .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(39, 57, 74, .08) !important;
	box-shadow: 0 0 0 1px rgba(39, 57, 74, .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(39, 57, 74, .08); color: var(--ssm-ink); }

/* Deux lignes entre 1100 et 1239 px (menu sous le logo, comme la maquette). */


/* Mobile < 1100 px : menu replié dans le tiroir. */
@media (max-width: 899.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 .3s ease, transform .45s var(--ssm-ease);
}
.ssm-mega.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.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(18, 28, 21, .05) 30%, rgba(18, 28, 21, .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-style: italic; 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(18, 28, 21, 0), rgba(18, 28, 21, .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 – 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(39, 57, 74, .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(39, 57, 74, .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(18, 28, 21, 0) 35%, rgba(18, 28, 21, .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(245, 249, 239, .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; }
}

/* ==========================================================================
   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(39, 57, 74, .84);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	backdrop-filter: blur(18px) saturate(1.2);
	border: 1px solid rgba(245, 249, 239, .16);
	border-left: 0;
	border-radius: 0 16px 16px 0;
	overflow: hidden;
	box-shadow: 6px 14px 34px rgba(39, 57, 74, .22);
	color: var(--ssm-cream);
}
.ssm-rail:hover, .ssm-rail:focus-within { width: 236px; box-shadow: 20px 30px 70px rgba(39, 57, 74, .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(245, 249, 239, .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: 899.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(39, 57, 74, .72);
		-webkit-backdrop-filter: blur(16px) saturate(1.3);
		backdrop-filter: blur(16px) saturate(1.3);
		border: 1px solid rgba(245, 249, 239, .22);
		color: var(--ssm-cream) !important;
		font-size: 14px; font-weight: 600; line-height: 1;
		white-space: nowrap;
		box-shadow: 0 8px 24px rgba(18, 28, 21, .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(18, 28, 21, .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: var(--ssm-gold); padding: 22px clamp(22px, 3vw, 34px); display: flex; align-items: center; gap: 14px; }
.ssm-alert--urgence .ssm-alert__head { background: #F2C7B4; }
.ssm-alert__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ssm-ink); color: var(--ssm-gold); 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-style: italic; 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(39, 57, 74, .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(39, 57, 74, .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: #4A5A67; 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: #DFE8E3; 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(214, 235, 223, .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: #EEF6F8 !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(245, 249, 239, .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: var(--ssm-gold); color: var(--ssm-ink);
	border-radius: 999px; padding: 6px 6px 6px 7px;
	box-shadow: 0 14px 40px rgba(18, 28, 21, .3);
}
.ssm-toast--urgence { background: #F2C7B4; }
: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(39, 57, 74, .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(39, 57, 74, .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(18, 28, 21, .6) 0%, rgba(18, 28, 21, .25) 40%, rgba(18, 28, 21, .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-style: italic; font-weight: 500; 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: #0E3350;
}
.ssm.ssm-has-ph .entry-content > * { max-width: 860px; 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(39, 57, 74, 0) 38%, rgba(39, 57, 74, .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(20, 80, 122, .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(39, 57, 74, .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(39, 57, 74, .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(39, 57, 74, .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(39, 57, 74, .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; }

/* ---------- OT Sources de l'Orne : titres en Bricolage Grotesque, accents manuscrits en italique 500 ---------- */
:is(.ssm, .editor-styles-wrapper) :is(h1, h2, h3, h4, [class*="ssm-title"], .ssm-hero__title, .ssm-terr__name, .ssm-fcol__name, .ssm-fcol__t, .ssm-partners__t, .ssm-mega__title) { font-family: var(--ssm-head) !important; }
:is(.ssm, .editor-styles-wrapper) :is(.ssm-mega__accent, .ssm-terr__acc, .ssm-alert__script, .ssm-h1__script, [class*="__acc"], [class*="script"]) { font-weight: 500; }

/* ==========================================================================
   OT SOURCES DE L'ORNE – ACCUEIL (maquette « Accueil OT Sources Orne VF »)
   Préfixe #ot : priorité sur les styles de contenu Kadence.
   Bascule mobile unique : 900 px.
   ========================================================================== */
body.ssm.ssm-is-home, .ssm-is-home #wrapper, .ssm-is-home .site { background: #fff; }
#ot { font-family: var(--ssm-font); font-size: 16px; line-height: normal; color: var(--ssm-ink); }
#ot :is(p, h1, h2, h3, ul, ol, li, form, figure) { margin: 0; padding: 0; }
#ot :is(ul, ol) { list-style: none; }
#ot a { text-decoration: none; color: inherit; }
#ot button { font-family: inherit; box-shadow: none; text-transform: none; letter-spacing: 0; min-height: 0; line-height: normal; border: 0; cursor: pointer; }
#ot img { max-width: none; }
#ot .ot-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ssm-ease); }
#ot :is(.ot-track, .ot-quick__list) { scrollbar-width: none; }
#ot :is(.ot-track, .ot-quick__list)::-webkit-scrollbar { display: none; }

/* Surtitres, titres, chapôs */
#ot .ot-kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ssm-gold-dark); margin-bottom: 20px; }
#ot .ot-kicker__dash { width: 44px; height: 7px; flex: 0 0 auto; }
#ot .ot-kicker--blue { color: #14507A; }
#ot .ot-kicker--cyan { color: #6DC1D5; }
#ot .ot-kicker--hero { margin-bottom: 18px; color: #fff; }
#ot .ot-h2 { font-family: var(--ssm-head); font-weight: 600; font-size: calc(clamp(44px, 5.6vw, 80px) * .82); line-height: .95; color: #14507A; text-wrap: balance; letter-spacing: 0; text-transform: none; }
#ot .ot-h2 em { font-style: italic; font-weight: 500; color: var(--ssm-gold-dark); }
#ot .ot-lead { margin-top: 26px; font-size: 17px; line-height: 1.7; color: #3C4D5C; text-wrap: pretty; }

/* Boutons */
#ot .ot-btn { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; line-height: normal; padding: 15px 18px 15px 26px; border-radius: 999px; }
#ot .ot-btn--white { background: #fff; color: #14507A; }
#ot .ot-btn--blue { background: #14507A; color: #fff; }
#ot .ot-btn--blue:hover { background: #0E3350; }
#ot .ot-btn--plain { gap: 10px; padding: 15px 24px; }
#ot .ot-btn--line { gap: 10px; padding: 14px 22px; border: 1.5px solid #14507A; color: #14507A; background: transparent; }
#ot .ot-btn--green { background: #93BE3D; color: #0E3350; padding: 13px 22px; }
#ot .ot-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; padding: 12px 22px; }
#ot .ot-go { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #93BE3D; color: #0E3350; font-size: 15px; font-weight: 700; transition: transform .35s var(--ssm-ease); }
#ot .ot-go--blue { background: #14507A; color: #fff; }
#ot .ot-go--white { width: 36px; height: 36px; background: #fff; color: #14507A; font-size: 16px; }
#ot a:hover .ot-go { transform: translateX(3px); }

/* Pastilles */
#ot .ot-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#ot .ot-chips li { font-size: 14px; font-weight: 600; line-height: normal; background: #fff; padding: 8px 14px; border-radius: 999px; border: 1px solid #D3E7ED; color: #14507A; }
#ot .ot-chips--green li { color: #3F5A2A; border-color: #DFE9CF; }

/* ---------- Bandeau ---------- */
#ot .ssm-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 980px; overflow: hidden; background: #0E3350; color: #fff; display: block; isolation: auto; }
#ot .ssm-hero__media { position: absolute; inset: 0; }
#ot .ot-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1); transition: opacity 1.4s ease, transform 7s ease-out; }
#ot .ot-hero__img.is-on { opacity: 1; transform: scale(1.06); }
#ot .ot-hero__shade { position: absolute; inset: 0; background: linear-gradient(rgba(8, 30, 48, .55) 0%, rgba(8, 30, 48, 0) 26%, rgba(8, 30, 48, 0) 45%, rgba(8, 30, 48, .78) 100%); }
#ot .ot-hero__in { position: absolute; left: 0; right: 0; bottom: 0; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px) clamp(96px, 12vh, 150px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
#ot .ot-hero__txt { max-width: 760px; }
#ot .ssm-hero__title { margin: 0; font-family: var(--ssm-head); font-weight: 600; font-size: calc(clamp(52px, 8.4vw, 124px) * .82); line-height: .92; letter-spacing: -.02em; color: #fff; text-wrap: balance; text-transform: none; }
#ot .ssm-hero__sub { margin: 22px 0 30px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 520px; color: rgba(255, 255, 255, .92); text-wrap: pretty; }
#ot .ot-hero__dots { display: flex; gap: 14px; }
#ot .ot-hero__dot { background: none; padding: 8px 0; display: flex; flex-direction: column; gap: 8px; width: clamp(44px, 5vw, 72px); text-align: left; color: #fff; border-radius: 0; }
#ot .ot-hero__num { font-size: 12px; font-weight: 700; letter-spacing: .1em; opacity: .6; }
#ot .ot-hero__dot.is-on .ot-hero__num { opacity: 1; }
#ot .ot-hero__bar { height: 2px; width: 100%; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; display: block; }
#ot .ot-hero__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #93BE3D; }
#ot .ot-hero__dot.is-on .ot-hero__bar span { width: 100%; }
#ot .is-playing .ot-hero__dot.is-on .ot-hero__bar span { animation: otBar 6.5s linear; }
@keyframes otBar { from { width: 0; } to { width: 100%; } }

/* Accès rapides */
#ot .ot-quick { position: relative; z-index: 5; max-width: 1320px; margin: -52px auto 0; padding: 0 clamp(12px, 4vw, 56px); }
#ot .ot-quick__list { background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(14, 51, 80, .14); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
#ot .ot-quick__list li { flex: 1 0 auto; min-width: 170px; scroll-snap-align: start; border-right: 1px solid #EDF1EE; }
#ot .ot-quick__a { padding: 18px 22px; display: flex; align-items: center; gap: 14px; color: #14507A; height: 100%; }
#ot .ot-quick__a:hover { background: #F4F8EE; }
#ot .ot-quick__ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: #F2F7EA; color: #6B892C; display: flex; align-items: center; justify-content: center; }
#ot .ot-quick__ico svg { display: block; }
#ot .ot-quick__t { font-size: 15px; font-weight: 700; white-space: nowrap; }

/* ---------- Incontournables ---------- */
#ot .ot-must { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 7.5vw, 112px) clamp(20px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 110px); align-items: flex-start; scroll-margin-top: 60px; }
#ot .ot-must__intro { flex: 1 1 320px; max-width: 470px; position: sticky; top: 130px; }
#ot .ot-must__cta { margin-top: 34px; }
#ot .ot-must__list { flex: 1 1 440px; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 44px); max-width: 640px; margin-left: auto; }
#ot .ot-must__card { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.6; color: #fff; background: #DFE8E3; }
#ot .ot-must__card:hover .ot-cover { transform: scale(1.04); }
#ot .ot-must__lab { position: absolute; left: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); max-width: 380px; background: #14507A; border-radius: 12px; padding: 18px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
#ot .ot-must__lab--green { background: #6B892C; }
#ot .ot-must__k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
#ot .ot-must__t { display: block; font-family: var(--ssm-head); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.08; }

/* ---------- Territoire ---------- */
#ot .ssm-terr { position: relative; overflow: hidden; background: #EEF6F8; scroll-margin-top: 60px; color: var(--ssm-ink); }
#ot .ot-terr__in { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: clamp(60px, 7vw, 104px) clamp(20px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: center; }
#ot .ot-terr__txt { flex: 1 1 340px; max-width: 500px; }
#ot .ssm-terr .ot-h2 em { color: inherit; }
#ot .ssm-terr .ot-chips { margin-top: 28px; }
#ot .ot-terr__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
#ot .ot-terr__map { flex: 1 1 420px; position: relative; }
#ot .ssm-terr__box { position: relative; background: #fff; border-radius: 24px; padding: clamp(14px, 2vw, 24px); box-shadow: 0 24px 60px rgba(20, 80, 122, .1); }
#ot .ot-map { position: relative; width: 100%; aspect-ratio: 1800 / 1915; }
#ot .ot-map__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 16px; }
#ot .ot-pin { position: absolute; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%); }
#ot .ot-pin span { position: absolute; right: 2%; top: 2%; width: 13px; height: 13px; border-radius: 50%; background: var(--c); border: 2px solid #fff; animation: otPing 2.6s cubic-bezier(.16, 1, .3, 1) var(--d) infinite; }
@keyframes otPing { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .9), 0 2px 6px rgba(0, 0, 0, .25); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 2px 6px rgba(0, 0, 0, .25); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 2px 6px rgba(0, 0, 0, .25); } }

/* ---------- Activités ---------- */
#ot .ot-act { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 7.5vw, 112px) clamp(20px, 5vw, 64px); scroll-margin-top: 60px; }
#ot .ot-act__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 4vw, 56px); }
#ot .ot-act__head .ot-kicker { display: inline-flex; }
#ot .ot-act__head .ot-lead { margin: 22px auto 0; max-width: 560px; }
#ot .ot-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 18vw, 260px); gap: clamp(10px, 1.4vw, 18px); }
#ot .ot-tile { position: relative; overflow: hidden; border-radius: 16px; background: #DFEAF0; }
#ot .ot-tile--big { grid-area: span 2 / span 2; background: #DFE8E3; }
#ot .ot-tile--wide { grid-area: span 1 / span 2; }
#ot .ot-tile--small { grid-area: span 1 / span 1; }
#ot .ot-tile:nth-child(2) { background: #DFE8E3; }
#ot .ot-tile:nth-child(3) { background: #2A2A22; }
#ot .ot-tile--all { background: #6B892C; }
#ot .ot-tile__a { position: relative; height: 100%; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(16px, 2vw, 26px); }
#ot .ot-tile__a:hover .ot-cover { transform: scale(1.05); }
#ot .ot-tile__shade { position: absolute; inset: 0; background: linear-gradient(rgba(8, 30, 48, 0) 45%, rgba(8, 30, 48, .7) 100%); }
#ot .ot-tile__row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
#ot .ot-tile__k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .9; margin-bottom: 6px; }
#ot .ot-tile__t { display: block; font-family: var(--ssm-head); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.02; text-wrap: balance; }
#ot :is(.ot-tile--big, .ot-tile--all) .ot-tile__t { font-size: clamp(32px, 3.4vw, 48px); }
#ot .ot-tile .ot-go { width: 38px; height: 38px; background: #fff; color: #0E3350; font-size: 16px; }
#ot .ot-tile .ot-go--green { background: #93BE3D; }

/* ---------- Actualité & agenda ---------- */
#ot .ot-agenda { position: relative; background: #F4F8EE; overflow: hidden; scroll-margin-top: 60px; }
#ot .ot-agenda__in { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: clamp(60px, 7vw, 104px) clamp(20px, 5vw, 64px); }
#ot .ot-agenda__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(32px, 4vw, 52px); }
#ot .ot-agenda__intro { max-width: 620px; }
#ot .ot-agenda__intro .ot-lead { margin-top: 20px; }
#ot .ot-seg { position: static; align-self: auto; width: auto; gap: 0; align-items: stretch; display: flex; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 6px 20px rgba(20, 80, 122, .08); }
#ot .ot-seg__b { font: 700 15px var(--ssm-font); line-height: normal; padding: 13px 24px; border-radius: 999px; background: transparent; color: #14507A; }
#ot .ot-seg__b[aria-selected="true"] { background: #14507A; color: #fff; }
#ot .ot-agenda__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
#ot .ot-arrows { display: flex; gap: 10px; }
#ot .ot-arrow { width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid #14507A; background: transparent; color: #14507A; font-size: 18px; }
#ot .ot-arrow--fill { border: 0; background: #14507A; color: #fff; }
#ot .ot-panels { transition: opacity .28s ease; }
#ot .ot-panels.is-fading { opacity: 0; }
#ot .ot-track { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; margin: -18px calc(-1 * (max(0px, 50vw - 660px) + clamp(20px, 5vw, 64px))) -44px -32px; padding: 40px calc(max(0px, 50vw - 660px) + clamp(20px, 5vw, 64px)) 72px 32px; scroll-padding-left: 32px; }
#ot .ot-empty { padding: 40px 0; font-size: 17px; color: #3C4D5C; }
#ot .ot-news { position: relative; flex: 0 0 clamp(280px, 26vw, 340px); scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: #27394A; box-shadow: 0 1px 2px rgba(20, 80, 122, .06); transition: transform .45s var(--ssm-ease), box-shadow .45s var(--ssm-ease); }
#ot .ot-news:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 80, 122, .14); }
#ot .ot-news__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #E6EEE0; }
#ot .ot-news__tag { position: absolute; top: 14px; left: 14px; background: #fff; color: #14507A; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
#ot .ot-news__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 0%; }
#ot .ot-news__meta { font-size: 13px; font-weight: 600; color: #6B892C; display: flex; align-items: center; gap: 6px; }
#ot .ot-news__meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #93BE3D; }
#ot .ot-news__t { font-family: var(--ssm-head); font-weight: 600; font-size: 26px; line-height: 1.08; color: #14507A; text-transform: none; letter-spacing: 0; }
#ot .ot-news__t a::after { content: ""; position: absolute; inset: 0; }
#ot .ot-news__ex { font-size: 15px; line-height: 1.55; color: #4A5A67; }
#ot .ot-agenda__foot { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Préparer votre venue ---------- */
#ot .ot-venue { position: relative; overflow: hidden; background: #14507A; color: #fff; scroll-margin-top: 60px; }
#ot .ot-venue__in { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: clamp(60px, 7vw, 104px) clamp(20px, 5vw, 64px); }
#ot .ot-venue__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
#ot .ot-venue__intro { max-width: 640px; }
#ot .ot-venue .ot-h2 { color: #fff; }
#ot .ot-venue .ot-h2 em { color: #B9DD76; }
#ot .ot-venue__lead { max-width: 420px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .85); text-wrap: pretty; }
#ot .ot-venue__grid { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 28px); }
#ot .ot-bro { flex: 1 1 420px; background: #fff; color: #27394A; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
#ot .ot-bro__img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
#ot .ot-bro__body { padding: clamp(22px, 3vw, 36px); }
#ot .ot-bro__t { font-family: var(--ssm-head); font-weight: 600; font-size: 32px; color: #14507A; line-height: 1; text-transform: none; letter-spacing: 0; }
#ot .ot-bro__list { margin-top: 18px; display: flex; flex-direction: column; }
#ot .ot-bro__a { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-top: 1px solid #E8EEE9; color: #14507A; }
#ot .ot-bro__a:hover .ot-bro__n { text-decoration: underline; }
#ot .ot-bro__pdf { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; background: #EEF6F8; display: flex; align-items: center; justify-content: center; font: 700 10px var(--ssm-font); letter-spacing: .06em; color: #14507A; }
#ot .ot-bro__txt { flex: 1 1 0%; display: flex; flex-direction: column; gap: 2px; }
#ot .ot-bro__n { font-size: 16px; font-weight: 700; }
#ot .ot-bro__m { font-size: 13px; color: #6A7B87; }
#ot .ot-bro__dl { flex: 0 0 auto; font-size: 18px; }
#ot .ot-venue__side { flex: 1 1 380px; display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); }
#ot .ot-office { background: #0F4468; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: clamp(22px, 3vw, 36px); }
#ot .ot-office__k { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #6DC1D5; }
#ot .ot-office__t { font-family: var(--ssm-head); font-weight: 600; font-size: 32px; line-height: 1.05; margin-top: 10px; color: #fff; text-transform: none; letter-spacing: 0; }
#ot .ot-office__adr { margin-top: 14px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .88); }
#ot .ot-office__hours { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
#ot .ot-office__s { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #B9DD76; }
#ot .ot-office__h { margin-top: 6px; font-size: 15px; line-height: 1.55; }
#ot .ot-office__btns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
#ot .ot-office__btns .ot-btn { gap: 0; }
#ot .ot-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
#ot .ot-infos__a { background: #fff; color: #14507A; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
#ot .ot-infos__bar { width: 30px; height: 3px; border-radius: 2px; background: #93BE3D; }
#ot .ot-infos__bar--c { background: #6DC1D5; }
#ot .ot-infos__t { font-size: 17px; font-weight: 700; }
#ot .ot-infos__d { font-size: 14px; line-height: 1.5; color: #4A5A67; }

/* ---------- Contact ---------- */
#ot .ot-contact { padding: clamp(56px, 6vw, 96px) clamp(20px, 5vw, 64px); text-align: center; }
#ot .ot-h2--sm { max-width: 720px; margin: 0 auto; font-size: calc(clamp(40px, 5vw, 68px) * .82); line-height: 1; }
#ot .ot-contact .ot-lead { margin: 20px auto 32px; max-width: 520px; }
#ot .ot-nl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 540px; margin: 0 auto; }
#ot .ot-nl input { flex: 1 1 260px; min-height: 54px; height: auto; border: 1.5px solid #CFDDE5; border-radius: 999px; padding: 0 24px; font: 500 16px var(--ssm-font); color: #14507A; background: #fff; box-shadow: none; margin: 0; }
#ot .ot-nl input:focus { border-color: #14507A; }
#ot .ot-nl button { flex: 0 0 auto; min-height: 54px; border-radius: 999px; background: #14507A; color: #fff; font: 700 15px var(--ssm-font); padding: 0 28px; }
#ot .ot-nl button:hover { background: #0E3350; }
#ot .ot-soc { margin-top: 36px; display: flex; justify-content: center; gap: 12px; }
#ot .ot-soc a { width: 48px; height: 48px; border-radius: 50%; background: #EEF6F8; color: #14507A; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
#ot .ot-soc a:hover { background: #14507A; color: #fff; }

/* ---------- En-tête (maquette OT) ---------- */
.ssm-bar { z-index: 50; }
.ssm-is-home .ssm-header:not(.is-scrolled):not(.has-mega) .ssm-bar { background: linear-gradient(rgba(8, 30, 48, .45), rgba(8, 30, 48, 0)); }
.ssm-bar__in { max-width: 1440px; height: 92px; padding: 0 clamp(18px, 4vw, 56px); flex-wrap: nowrap; justify-content: space-between; gap: 24px; }
.ssm-header.is-scrolled .ssm-bar__in { padding-top: 0; padding-bottom: 0; height: 76px; }
.ssm-logo img { height: 54px; }
.ssm-header.is-scrolled .ssm-logo img { height: 44px; }
.ssm-nav { flex: 0 1 auto; }
.ssm-nav__list { gap: clamp(18px, 2.2vw, 36px); font-weight: 600; line-height: normal; }
.ssm-nav__item { line-height: normal; }
.ssm-nav__link { padding: 0; font-size: 17px; font-weight: 600; letter-spacing: .01em; line-height: normal; }
.ssm-nav__ul { left: 0; right: 0; bottom: -8px; }
.ssm-tools { gap: 10px; }
:is(.ssm, .editor-styles-wrapper) .ssm-tool--search { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .45); }
:is(.ssm, .editor-styles-wrapper) .is-scrolled .ssm-tool--search, :is(.ssm, .editor-styles-wrapper) .has-mega .ssm-tool--search { border-color: rgba(39, 57, 74, .3); }
.ssm-tool--search .ssm-ico { width: 18px; height: 18px; }
.ssm-lang { font-size: 13px; font-weight: 700; letter-spacing: .08em; padding: 0 6px; color: #fff; line-height: normal; }
.is-scrolled .ssm-lang, .has-mega .ssm-lang { color: var(--ssm-ink); }
.ssm-header a.ssm-cta { display: flex; align-items: center; gap: 10px; background: #93BE3D; color: #0E3350; font-weight: 700; font-size: 14px; line-height: normal; padding: 13px 22px; border-radius: 999px; white-space: nowrap; }
.ssm-header a.ssm-cta:hover { background: #fff; color: #0E3350; }

/* ---------- Pied de page (maquette OT) ---------- */
.ssm-footer { background: #F4F8EE; padding: clamp(56px, 7vw, 90px) clamp(20px, 5vw, 64px) 40px; font-family: var(--ssm-font); line-height: normal; color: var(--ssm-ink); }
.ssm-footer :is(p, h2, ul, li) { margin: 0; padding: 0; list-style: none; }
.ssm-footer a { color: #14507A; text-decoration: none; }
.ssm-footer a:hover { color: #6B892C; }
.ot-foot { max-width: 1320px; margin: 0 auto; }
.ot-foot__top { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); justify-content: space-between; }
.ot-foot__id { flex: 1 1 260px; max-width: 320px; }
.ot-foot__logo { height: 56px; width: auto; max-width: none; display: block; }
.ssm-footer .ot-foot__adr { margin-top: 20px; font-size: 15px; line-height: 1.65; color: #4A5A67; }
.ot-foot__cols { flex: 3 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.ot-foot__col ul { display: flex; flex-direction: column; gap: 10px; }
.ssm-footer .ot-foot__t { font-family: var(--ssm-font); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6B892C; margin-bottom: 14px; line-height: normal; }
.ot-foot__col a { font-size: 15px; }
.ot-foot__bot { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid #DDE7D2; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13px; color: #5B6B76; }
.ot-foot__bot ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Mobile (< 900 px) ---------- */
@media (max-width: 899.98px) {
	.ssm-bar__in { height: 68px; gap: 10px; }
	.ssm-header.is-scrolled .ssm-bar__in { height: 64px; }
	.ssm-logo img, .ssm-header.is-scrolled .ssm-logo img { height: 38px; }
	.ssm-lang, .ssm-header a.ssm-cta { display: none; }
	.ssm-tools { order: 3; flex: 0 0 auto; }
	:is(.ssm, .editor-styles-wrapper) .ssm-burger { order: 4; position: static; background: rgba(255, 255, 255, .95); color: #14507A; }
	:is(.ssm, .editor-styles-wrapper) .ssm-burger:hover, :is(.ssm, .editor-styles-wrapper) .is-scrolled .ssm-burger { background: #fff; color: #14507A; }
	#ot .ot-must__card { aspect-ratio: 4 / 4.4; }
	#ot .ot-must__intro { position: static; }
	#ot .ot-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
	#ot .ot-news { flex: 0 0 80%; }
	.ssm-dock.ot-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; pointer-events: auto; }
	.ssm-dock.ot-dock ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; background: #14507A; border-radius: 18px; box-shadow: 0 12px 30px rgba(14, 51, 80, .3); overflow: visible; }
	.ot-dock__a { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #fff !important; font-size: 12px; font-weight: 600; line-height: normal; }
	.ot-dock__dot { width: 6px; height: 6px; border-radius: 50%; background: #93BE3D; }
	.ot-dock__dot--c { background: #6DC1D5; }
}
@media (min-width: 900px) { .ot-dock { display: none !important; } }

/* ==========================================================================
   OT SOURCES DE L'ORNE – PAGES INTÉRIEURES, LISTES, SINGLES, RECHERCHE, 404
   ========================================================================== */
body.ssm .ssm-ph { min-height: clamp(380px, 44vh, 500px); padding: 176px 0 clamp(40px, 5vw, 72px); background: #14507A; }
@media (max-width: 1099.98px) { body.ssm .ssm-ph { padding-top: 140px; min-height: 340px; } }
body.ssm .ssm-ph__shade { background: linear-gradient(180deg, rgba(14, 51, 80, .62) 0%, rgba(14, 51, 80, .2) 42%, rgba(14, 51, 80, .82) 100%); }
body.ssm .ssm-ph__in { max-width: 1208px; gap: 14px; }
body.ssm .ssm-ph .ssm-ph__title { font-family: var(--ssm-head) !important; font-weight: 600; font-size: clamp(38px, 5vw, 68px); line-height: 1; text-transform: none; max-width: 22ch; text-wrap: balance; overflow-wrap: anywhere; }
body.ssm .ssm-ph__title .ssm-title__accent { font-family: var(--ssm-head); font-style: italic; font-weight: 500; text-transform: none; display: block; line-height: 1; }
body.ssm .ssm-h1__script { font-size: 1em; line-height: 1; }
body.ssm .ssm-crumbs li:last-child { min-width: 0; }
body.ssm .ssm-crumbs li:last-child > span { display: block; max-width: min(56ch, 70vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ssm .ssm-ph__tag { border-radius: 999px; padding: 5px 14px; }

/* Texte courant */
.ssm.ssm-has-ph .entry-content h2 { font-weight: 600; color: #14507A; line-height: 1.05; }
.ssm.ssm-has-ph .entry-content > .ssm-bul { max-width: 860px; }
.ssm.ssm-has-ph .entry-content > .ssm-box { max-width: 860px; }

/* Vignettes des sous-pages : étiquette bleue en bas, lien étiré sur toute la vignette */
body.ssm .ssm-tiles { gap: clamp(16px, 2vw, 28px); }
body.ssm .ssm-tile { display: flex; align-items: flex-end; padding: clamp(12px, 1.4vw, 18px); aspect-ratio: 4 / 4.4; border-radius: 18px; background: #DFE8E3; }
body.ssm .ssm-tiles .ssm-tile .ssm-tile__title {
	position: static !important; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin: 0 !important; padding: 16px 18px !important; border-radius: 12px; background: #14507A; text-align: left;
	font-family: var(--ssm-head) !important; font-size: clamp(20px, 1.7vw, 24px) !important; font-weight: 700 !important; line-height: 1.05 !important; hyphens: manual;
	transition: background-color .3s ease;
}
body.ssm .ssm-tile:nth-child(3n+2) .ssm-tile__title { background: #6B892C; }
body.ssm .ssm-tile:hover .ssm-tile__title, body.ssm .ssm-tile:focus-within .ssm-tile__title { background: #0E3350; }
body.ssm .ssm-tile__go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; transition: transform .3s var(--ssm-ease); }
body.ssm .ssm-tile:hover .ssm-tile__go, body.ssm .ssm-tile:focus-within .ssm-tile__go { transform: translateX(4px); }
body.ssm .ssm-tile__shade { background: linear-gradient(180deg, rgba(14, 51, 80, 0) 45%, rgba(14, 51, 80, .45) 100%); }

/* Listes, filtres, pagination, publications */
body.ssm .ssm-filters a[aria-current] { background: #14507A; }
body.ssm .ssm-filters a { border: 2px solid transparent; }
body.ssm .ssm-filters a:focus-visible { outline: 3px solid var(--ssm-gold); outline-offset: 2px; }
body.ssm .ssm-list__empty { border-radius: 18px; }
body.ssm .ssm-pager a { border-radius: 999px; }
body.ssm .ssm-pager a[aria-current], body.ssm .ssm-pager a:hover { background: #14507A; }
body.ssm .ssm-pub__cover { border-radius: 14px; }
body.ssm .ssm-pub__title { font-family: var(--ssm-head) !important; font-weight: 600; }
body.ssm .ssm-box, body.ssm .ssm-coord__card { border-radius: 18px; }
body.ssm .ssm-box dt { font-weight: 700; color: #14507A; }
body.ssm .ssm-bul__cover { border-radius: 14px; }

/* Recherche, 404, archives : colonne de contenu (hors singles) */
body.ssm.ssm-lst .content-area { margin: 0; }
body.ssm.ssm-lst .content-container.site-container { max-width: 1208px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--ssm-gutter) clamp(70px, 8vw, 110px); }
body.ssm.ssm-lst ul.content-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; max-width: 860px; }
body.ssm.ssm-lst .entry-list-item { margin: 0; padding: 0; list-style: none; }
body.ssm.ssm-lst .entry-list-item article.entry { background: #fff; border-radius: 18px; box-shadow: 0 14px 34px rgba(39, 57, 74, .08); overflow: hidden; margin: 0; }
body.ssm.ssm-lst .entry-list-item .entry-content-wrap { padding: clamp(22px, 3vw, 32px); }
body.ssm.ssm-lst .entry-title { margin: 0 0 6px; font-family: var(--ssm-head); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
body.ssm.ssm-lst .entry-title a { color: #14507A !important; text-decoration: none; }
body.ssm.ssm-lst .entry-title a:hover, body.ssm.ssm-lst .entry-title a:focus-visible { text-decoration: underline; text-decoration-color: var(--ssm-gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
body.ssm.ssm-lst .entry-meta { font-size: 15px; color: var(--ssm-muted2); margin: 0 0 10px; }
body.ssm.ssm-lst .entry-summary p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ssm-ink); }
body.ssm.ssm-lst .post-more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: #0E3350 !important; text-decoration: underline; text-decoration-color: var(--ssm-gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
body.ssm.ssm-lst .navigation.pagination { margin-top: 36px; }
body.ssm.ssm-lst .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; margin-right: 6px; border-radius: 999px; background: var(--ssm-beige); color: var(--ssm-ink); font-weight: 600; text-decoration: none; }
body.ssm.ssm-lst .page-numbers.current, body.ssm.ssm-lst a.page-numbers:hover { background: #14507A; color: #fff; }
body.ssm.ssm-lst section.error { max-width: 860px; }
body.ssm.ssm-lst section.error p { margin: 0 0 24px; font-size: 19px; line-height: 1.6; color: var(--ssm-ink); }
body.ssm.ssm-lst .search-form { max-width: 560px; }
body.ssm.ssm-lst .search-form .search-field { width: 100%; min-height: 54px; border: 2px solid var(--ssm-line); border-radius: 999px; padding: 0 56px 0 24px; background: #fff; color: var(--ssm-ink); font: inherit; }
body.ssm.ssm-lst .search-form .search-field:focus { border-color: #14507A; outline: 3px solid var(--ssm-gold); outline-offset: 2px; }

/* ---------- Lot 5 : corrections de recette ---------- */
#ot :is(.ot-must__k, .ot-tile__k, .ot-news__tag) { font-size: 12px; }
@media (min-width: 900px) and (max-width: 1019.98px) { .ssm-header a.ssm-cta { display: none; } }

/* ---------- Carte : loupe sur les points ---------- */
#ot .ot-pin { border: 0; background: transparent; padding: 0; cursor: pointer; z-index: 2; }
#ot .ot-pin:focus-visible { outline: 3px solid #14507A; outline-offset: -6px; border-radius: 50%; }
#ot .ot-pin span { transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .45s cubic-bezier(.16, 1, .3, 1); }
#ot .ot-map.has-on .ot-pin span { opacity: .45; }
#ot .ot-map.has-on .ot-pin.is-on span { opacity: 1; transform: scale(1.4); }
#ot .ot-lens { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; z-index: 3; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: left .6s cubic-bezier(.16, 1, .3, 1), top .6s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1), opacity .35s cubic-bezier(.16, 1, .3, 1); }
#ot .ot-lens.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#ot .ot-lens__glass { position: absolute; inset: 0; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 18px 44px rgba(14, 51, 80, .38); background-image: var(--map); background-repeat: no-repeat; transition: background-position .6s cubic-bezier(.16, 1, .3, 1); }
#ot .ot-lens__card { position: absolute; width: max(230px, 170%); background: #fff; border-radius: 14px; padding: 12px 15px 13px; box-shadow: 0 16px 40px rgba(14, 51, 80, .22); text-align: left; }
#ot .ot-lens__cat { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
#ot .ot-lens__cat span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
#ot .ot-lens__cat em { font-style: normal; }
#ot .ot-lens__name { font-family: var(--ssm-head); font-weight: 700; font-size: 16px; color: #0E3350; margin-top: 5px; line-height: 1.2; }
#ot .ot-lens__place { font-size: 13px; font-weight: 600; color: #14507A; margin-top: 3px; }
#ot .ot-lens__desc { font-size: 13px; color: #4a5a68; margin-top: 3px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { #ot .ot-lens, #ot .ot-lens__glass, #ot .ot-pin span { transition: none; } }
