/* ==========================================================================
   Accueil « Immersion » : valeurs reprises à l'identique de la maquette C v2
   (bandeau défilant, bienvenue, actualités, agenda, rideau + carte, balades,
   application, pied de page, dock). Chargé uniquement sur la page d'accueil.
   ========================================================================== */
@font-face {
	font-family: 'Material Symbols Outlined';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('../fonts/material-symbols-subset.woff2') format('woff2');
}

body.ssm-is-home {
	--cb-pad: clamp(18px, 4vw, 56px);
	--cb-blue: #8A4A2E;
	--cb-ink: #2A2522;
	--cb-cream: #F6F2EC;
	--cb-paper: #FBF8F4;
	--cb-green: #D9966E;
	--cb-terra: #9A5333;
	background: var(--cb-cream);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
/* La maquette est en box-sizing: content-box (défaut navigateur) : on le reproduit dans les sections d'accueil. */
body.ssm-is-home :is(.cb-hero, .cb-welcome, .cb-act, .cb-ag, .cb-cur, .cb-mapblock, .cb-bal, .cb-app, .cb-foot, .cb-dock, .cb-modal, .cb-prof),
body.ssm-is-home :is(.cb-hero, .cb-welcome, .cb-act, .cb-ag, .cb-cur, .cb-mapblock, .cb-bal, .cb-app, .cb-foot, .cb-dock, .cb-modal, .cb-prof) :is(*, *::before, *::after) { box-sizing: content-box; }
body.ssm-is-home :is(.cb-hero, .cb-welcome, .cb-act, .cb-ag, .cb-cur, .cb-mapblock, .cb-bal, .cb-app, .cb-foot, .cb-dock, .cb-modal, .cb-prof) :is(button, select, input[type="submit"], input[type="button"]) { box-sizing: border-box; }
:where(body.ssm-is-home) :is(.cb-hero, .cb-welcome, .cb-act, .cb-ag, .cb-cur, .cb-mapblock, .cb-bal, .cb-app, .cb-foot, .cb-dock, .cb-modal, .cb-prof, .ssm-bar) :is(h1, h2, h3, p, ul, li, figure) { margin: 0; padding: 0; font-family: Mulish, system-ui, sans-serif; }
:where(body.ssm-is-home) :is(.cb-hero, .cb-welcome, .cb-act, .cb-ag, .cb-cur, .cb-mapblock, .cb-bal, .cb-app, .cb-foot, .cb-dock, .cb-modal, .cb-prof, .ssm-bar) a { text-decoration: none; }
:where(body.ssm-is-home) button[class*="cb-"] { box-shadow: none; text-transform: none; letter-spacing: normal; min-height: 0; margin: 0; font-family: Mulish, system-ui, sans-serif; line-height: normal; }
:where(body.ssm-is-home) input[class*="cb-"], :where(body.ssm-is-home) .cb-search input { box-shadow: none; }
.ssm-is-home ::selection { background: var(--cb-green); color: #fff; }
.cb-i {
	font-family: 'Material Symbols Outlined';
	font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
	letter-spacing: normal; text-transform: none; display: inline-block;
	white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; flex: none;
}
.cb-ico {
	display: block; flex: none; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: var(--cb-ico) center / contain no-repeat; mask: var(--cb-ico) center / contain no-repeat;
}
@keyframes cbUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes cbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cbDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes cbBounce { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }

/* Pas de cadre d'éditeur autour des sections pleine largeur. */
.ssm-is-home .entry-content > .cb-hero, .ssm-is-home .entry-content > .cb-welcome { max-width: none; }

/* ---------- En-tête (accueil) ---------- */
.ssm-is-home .ssm-bar { z-index: 50; }
.ssm-is-home .ssm-bar__in { max-width: none; height: 84px; padding: 0 var(--cb-pad); flex-wrap: nowrap; gap: 16px; }
.ssm-is-home .ssm-header.is-scrolled .ssm-bar__in { padding: 0 var(--cb-pad); }
.ssm-is-home .ssm-header.is-scrolled .ssm-bar,
.ssm-is-home .ssm-header.has-mega .ssm-bar {
	background: rgba(251, 248, 244, .97); box-shadow: 0 1px 0 rgba(42, 37, 34, .1);
	-webkit-backdrop-filter: none; backdrop-filter: none;
}
.ssm-is-home .ssm-logo { margin-right: 0; }
.ssm-is-home .ssm-logo img { height: clamp(22px, 2.4vw, 30px); width: auto; border-radius: 2px; }
.ssm-is-home .ssm-nav { flex: none; order: 1; justify-content: flex-start; margin-left: clamp(12px, 3vw, 48px); }
.ssm-is-home .ssm-nav__list { gap: 2px; }
.ssm-is-home .ssm-nav__link {
	display: block; padding: 12px 14px; font: 700 15px/normal Mulish, system-ui, sans-serif; color: #fff;
	background: none; border-radius: 0; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .25s, color .25s;
}
.ssm-is-home .ssm-nav__ul { display: none; }
.ssm-is-home .ssm-nav__link:hover, .ssm-is-home .ssm-nav__link:focus-visible,
.ssm-is-home .ssm-nav__link[aria-expanded="true"], .ssm-is-home .is-current > .ssm-nav__link { box-shadow: inset 0 -2px 0 var(--cb-green); color: #fff; }
.ssm-is-home .is-scrolled .ssm-nav__link, .ssm-is-home .has-mega .ssm-nav__link { color: var(--cb-ink); }
.ssm-is-home .ssm-tools { order: 2; margin-left: auto; display: flex; align-items: center; gap: 16px; flex: none; }
.ssm-is-home .ssm-tools .ssm-tool:not(.ssm-tool--fb), .ssm-is-home .ssm-tool-sep { display: none; }
.ssm-is-home .ssm-tool--fb {
	display: flex; align-items: center; justify-content: center; box-sizing: content-box; width: 44px; height: 44px; padding: 0; margin: 0;
	border: 1px solid rgba(255, 255, 255, .55); border-radius: 2px; color: #fff; background: transparent; transition: background .25s;
}
.ssm-is-home .ssm-tool--fb svg { width: 20px; height: 20px; display: block; }
.ssm-is-home .ssm-tool--fb:hover, .ssm-is-home .ssm-tool--fb:focus-visible { background: rgba(217, 150, 110, .2); color: #fff; }
.ssm-is-home .is-scrolled .ssm-tool--fb { border-color: rgba(42, 37, 34, .25); color: var(--cb-ink); }
.ssm-is-home .is-scrolled .ssm-tool--fb:hover { color: var(--cb-ink); }
.ssm-is-home .cb-profbtn {
	display: flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer; padding: 11px 16px; border-radius: 2px;
	font: 700 15px/normal Mulish, system-ui, sans-serif; color: #2A2522; background: var(--cb-green); border: 1px solid var(--cb-green); transition: background .25s;
}
.ssm-is-home .cb-profbtn:hover, .ssm-is-home .cb-profbtn:focus-visible { background: #E8BFA2; color: #2A2522; border-color: #E8BFA2; }
.ssm-is-home .cb-profbtn .cb-i { font-size: 20px; }
body.ssm-is-home .ssm-burger { order: 3; display: none; position: static; right: auto; bottom: auto; width: 48px; height: 48px; border-radius: 0; color: #fff; background: transparent; }
body.ssm-is-home .ssm-bar__in { position: static; }
.ssm-is-home .ssm-tools { flex: none; }
body.ssm-is-home .is-scrolled .ssm-burger { color: var(--cb-ink); }
@media (min-width: 1150px) {
	.ssm-is-home .ssm-nav { display: flex !important; }
	.ssm-is-home .ssm-megas { display: block !important; }
}
@media (max-width: 1149.98px) {
	.ssm-is-home .ssm-nav, .ssm-is-home .ssm-megas { display: none !important; }
	body.ssm-is-home .ssm-burger { display: grid; }
	.ssm-is-home .cb-profbtn__t { display: none; }
	.ssm-is-home .ssm-header.is-scrolled .ssm-bar, .ssm-is-home .ssm-header.has-mega .ssm-bar { background: rgba(251, 248, 244, .97); }
}

/* « Je suis, je veux » */
.cb-prof { position: fixed; inset: 84px 0 0 0; z-index: 49; background: rgba(42, 37, 34, .42); animation: cbFade .3s ease; }
.cb-prof[hidden] { display: none; }
.admin-bar .cb-prof { top: calc(84px + var(--wp-admin--admin-bar--height, 32px)); }
.cb-prof__in {
	position: absolute; top: 0; left: 0; right: 0; max-height: calc(100vh - 84px); overflow: auto; background: var(--cb-paper);
	box-shadow: 0 30px 60px -20px rgba(42, 37, 34, .35); animation: cbDrop .38s cubic-bezier(.2, .7, .2, 1);
	display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 3.5vw, 48px) var(--cb-pad);
}
.cb-prof__l { display: flex; flex-direction: column; gap: 6px; }
.cb-prof h2, .cb-prof h3 { font: 300 38px/1.05 Mulish, system-ui, sans-serif; letter-spacing: -.02em; color: var(--cb-blue); margin: 0 0 14px; }
.cb-prof h3 { color: #8A4A2E; }
.cb-prof__p {
	display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; border: 0; padding: 14px 16px; border-radius: 2px;
	background: transparent; color: var(--cb-ink); font: 600 16px/normal Mulish, system-ui, sans-serif; transition: background .25s;
}
.cb-prof__p.is-on { background: var(--cb-blue); color: #fff; }
.cb-prof__links { display: flex; flex-direction: column; }
.cb-prof__links[hidden] { display: none; }
.cb-prof__links a {
	display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(42, 37, 34, .1);
	font: 600 18px Mulish, system-ui, sans-serif; color: var(--cb-ink); transition: padding .3s;
}
.cb-prof__links a:hover, .cb-prof__links a:focus-visible { padding-left: 10px; color: var(--cb-blue); }
.cb-prof__links .cb-i { font-size: 22px; color: var(--cb-green); }
@media (max-width: 1149.98px) {
	.cb-prof { inset: 0; background: var(--cb-blue); overflow: auto; }
	.admin-bar .cb-prof { top: var(--wp-admin--admin-bar--height, 32px); }
	.cb-prof__in {
		position: static; max-height: none; overflow: visible; background: transparent; box-shadow: none; color: #fff; animation: none;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(32px, 5vw, 80px); padding: 120px clamp(20px, 5vw, 72px) 140px;
	}
	.cb-prof h2, .cb-prof h3 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -.03em; color: #fff; margin-bottom: 18px; }
	.cb-prof h3 { color: #F3DCC8; }
	.cb-prof__l { gap: 4px; }
	.cb-prof__p { color: #fff; font-weight: 700; font-size: 17px; }
	.cb-prof__p.is-on { background: #fff; color: var(--cb-blue); }
	.cb-prof__links a { color: #fff; border-bottom-color: rgba(255, 255, 255, .14); }
	.cb-prof__links a:hover { color: #fff; }
	.cb-prof__links .cb-i { color: #F3DCC8; }
}

/* ---------- Bandeau ---------- */
.cb-hero { position: relative; height: 190vh; background: var(--cb-cream); }
.cb-hero__stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.cb-hero__vid { position: absolute; inset: 0; overflow: hidden; background: var(--cb-blue); will-change: clip-path; }
.cb-hero__img, .cb-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cb-hero__shade { position: absolute; inset: 0; background: rgba(42, 37, 34, .28); }
.cb-hero__title {
	position: absolute; left: 0; right: 0; bottom: clamp(110px, 16vh, 180px); padding: 0 var(--cb-pad); color: #fff;
	display: flex; flex-direction: column; gap: 18px; will-change: transform, opacity;
}
.ssm-is-home .cb-hero__title h1 {
	margin: 0; font: 300 clamp(46px, 7.6vw, 124px)/.9 Mulish, system-ui, sans-serif; letter-spacing: -.04em; color: #fff;
	animation: cbUp 1.2s cubic-bezier(.2, .7, .2, 1);
}
.cb-hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; animation: cbUp 1.2s .2s cubic-bezier(.2, .7, .2, 1) both; }
.cb-hero__row p { margin: 0; font: 400 clamp(17px, 1.5vw, 22px)/1.45 Mulish, system-ui, sans-serif; max-width: 560px; color: #fff; }
.ssm-is-home .cb-play {
	display: flex; align-items: center; gap: 12px; background: #fff; border: 0; color: var(--cb-blue); cursor: pointer; border-radius: 2px;
	font: 700 15px/normal Mulish, system-ui, sans-serif; padding: 14px 20px; transition: transform .3s;
}
.ssm-is-home .cb-play:hover, .ssm-is-home .cb-play:focus-visible { transform: translateY(-2px); background: #fff; color: var(--cb-blue); }
.ssm-is-home .cb-cue {
	position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
	background: rgba(42, 37, 34, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 2px; color: #fff; padding: 11px 14px 11px 18px; font: 700 14px/normal Mulish, system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: background .25s;
}
.ssm-is-home .cb-cue:hover, .ssm-is-home .cb-cue:focus-visible { background: rgba(42, 37, 34, .75); color: #fff; }
.cb-cue .cb-i { font-size: 22px; animation: cbBounce 1.5s ease-in-out infinite; }

/* ---------- Bienvenue ---------- */
.cb-welcome { position: relative; z-index: 3; padding: 0 clamp(14px, 4vw, 56px); }
.ssm.ssm-is-home .cb-welcome { margin-top: -62vh; }
.cb-welcome__card {
	max-width: 1180px; margin: 0 auto; background: var(--cb-paper); box-shadow: 0 40px 90px -40px rgba(42, 37, 34, .5);
	padding: clamp(26px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; border-radius: 2px;
}
.cb-welcome__bg {
	position: absolute; right: -50px; bottom: -40px; width: min(520px, 60%); aspect-ratio: 896 / 647; background: var(--cb-green); opacity: .24;
	-webkit-mask: url('../img/home/deco-bienvenue.svg') center / contain no-repeat; mask: url('../img/home/deco-bienvenue.svg') center / contain no-repeat; pointer-events: none;
}
.cb-col { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cb-col--txt { gap: 20px; }
.ssm-is-home .cb-welcome h2 { font: 300 clamp(34px, 4vw, 54px)/1.05 Mulish, system-ui, sans-serif; letter-spacing: -.03em; color: var(--cb-blue); text-wrap: balance; margin: 0; }
.ssm-is-home .cb-welcome .cb-col--txt p { font: 400 17px/1.65 Mulish, system-ui, sans-serif; color: #5A4E48; max-width: 500px; text-wrap: pretty; margin: 0; }
.cb-search-wrap { position: relative; }
.cb-search {
	display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--cb-blue); padding: 0 6px 0 16px; height: 60px; border-radius: 2px; margin: 0;
}
.cb-search .cb-i { font-size: 26px; color: var(--cb-blue); }
.ssm-is-home .cb-search input[type="search"] {
	flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 1px 2px; height: auto; box-shadow: none; border-radius: 0;
	font: 500 18px Mulish, system-ui, sans-serif; color: var(--cb-ink);
}
.cb-search input::placeholder { color: #8C7062; }
.cb-search input:focus-visible { outline: 0; }
.cb-search:focus-within { box-shadow: 0 0 0 3px rgba(217, 150, 110, .55); }
.ssm-is-home .cb-search button {
	flex: none; border: 0; background: var(--cb-blue); color: #fff; height: 46px; padding: 0 18px; font: 700 15px Mulish, system-ui, sans-serif; cursor: pointer; border-radius: 2px; transition: background .25s;
}
.ssm-is-home .cb-search button:hover, .ssm-is-home .cb-search button:focus-visible { background: var(--cb-terra); color: #fff; }
.cb-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.ssm-is-home .cb-q {
	display: flex; align-items: center; gap: 10px; border: 0; background: #EEE8E1; padding: 14px; cursor: pointer; color: var(--cb-ink);
	font: 700 14px/normal Mulish, system-ui, sans-serif; text-align: left; transition: background .25s, color .25s; border-radius: 2px;
}
.ssm-is-home .cb-q:hover, .ssm-is-home .cb-q:focus-visible { background: var(--cb-blue); color: #fff; }
.cb-q .cb-ico { color: #8A4A2E; }

/* ---------- Bandeaux de section (titres + boutons) ---------- */
.cb-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 0 var(--cb-pad) 36px; }
.cb-head__l { display: flex; flex-direction: column; gap: 14px; }
.cb-head__l--ag { gap: 16px; }
.cb-head__btn { display: flex; }
.cb-head__r { display: flex; align-items: center; gap: 10px; }
.ssm-is-home .cb-head h2 { margin: 0; font: 300 clamp(44px, 6vw, 92px)/.95 Mulish, system-ui, sans-serif; letter-spacing: -.04em; }
.ssm-is-home .cb-btn {
	display: flex; align-items: center; gap: 8px; background: #fff; color: var(--cb-blue); font: 700 15px/normal Mulish, system-ui, sans-serif; padding: 14px 20px;
	white-space: nowrap; transition: background .25s; border-radius: 2px; border: 0;
}
.ssm-is-home .cb-btn:hover, .ssm-is-home .cb-btn:focus-visible { background: #F6F2EC; color: var(--cb-blue); }
.ssm-is-home .cb-btn .cb-i { font-size: 20px; }
.ssm-is-home .cb-btn--blue { background: var(--cb-blue); color: #fff; }
.ssm-is-home .cb-btn--blue:hover, .ssm-is-home .cb-btn--blue:focus-visible { background: #8A4A2E; color: #fff; }
.ssm-is-home .cb-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .6); padding: 13px 20px; }
.ssm-is-home .cb-btn--ghost:hover, .ssm-is-home .cb-btn--ghost:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.ssm-is-home .cb-arrow { width: 54px; height: 54px; padding: 0; cursor: pointer; border-radius: 2px; display: grid; place-items: center; transition: background .25s; }
.cb-arrow .cb-i { font-size: 24px; }
.ssm-is-home .cb-arrow--ghost { border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; }
.ssm-is-home .cb-arrow--ghost:hover, .ssm-is-home .cb-arrow--ghost:focus-visible { background: rgba(255, 255, 255, .15); color: #fff; }
.ssm-is-home .cb-arrow--solid { border: 0; background: #fff; color: var(--cb-blue); }
.ssm-is-home .cb-arrow--solid:hover, .ssm-is-home .cb-arrow--solid:focus-visible { background: #F6F2EC; color: var(--cb-blue); }
.ssm-is-home .cb-arrow--line { border: 1px solid rgba(138, 74, 46, .35); background: transparent; color: var(--cb-blue); }
.ssm-is-home .cb-arrow--line:hover, .ssm-is-home .cb-arrow--line:focus-visible { background: #fff; color: var(--cb-blue); }
.ssm-is-home .cb-arrow--blue { border: 0; background: var(--cb-blue); color: #fff; }
.ssm-is-home .cb-arrow--blue:hover, .ssm-is-home .cb-arrow--blue:focus-visible { background: #8A4A2E; color: #fff; }
.cb-count { font: 700 15px Mulish, system-ui, sans-serif; min-width: 54px; text-align: right; }
.cb-wide--inline { display: contents; }
.cb-narrow { display: none; }
@media (max-width: 1149.98px) {
	.cb-wide, .cb-wide--inline { display: none !important; }
	.cb-narrow { display: flex; }
}

/* Piste défilante (flèches ≥ 1150 px, défilement tactile en dessous). */
.cb-scroller {
	position: relative; container-type: inline-size; overflow-x: hidden; overflow-y: hidden; scroll-snap-type: x mandatory;
	scroll-padding: 0 var(--cb-pad); scrollbar-width: none; padding: 0 var(--cb-pad);
}
.cb-scroller::-webkit-scrollbar { display: none; }
.cb-track { display: flex; gap: 24px; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.cb-track--ag { gap: 28px; }
@media (max-width: 1149.98px) { .cb-scroller { overflow-x: auto; } .cb-track { transform: none !important; } }
.cb-dots { position: relative; justify-content: center; gap: 4px; padding: 14px 0 0; }
.ssm-is-home .cb-dots button { border: 0; background: none; padding: 10px 3px; cursor: pointer; display: flex; border-radius: 0; }
.cb-dots button span { display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(138, 74, 46, .22); transition: width .3s, background .3s; }
.cb-dots button.is-on span { width: 22px; background: var(--cb-terra); }
.cb-dots--light button span { background: rgba(255, 255, 255, .35); }
.cb-dots--light button.is-on span { background: #fff; }
.cb-empty { margin: 0; padding: 48px 0; font: 500 17px/1.5 Mulish, system-ui, sans-serif; color: #5A4E48; }
.cb-empty[hidden] { display: none; }
.cb-empty--light { color: #fff; }

/* ---------- Actualités ---------- */
.ssm.ssm-is-home .cb-act { margin-top: clamp(70px, 9vw, 130px); }
.cb-act { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; background: var(--cb-blue); color: #fff; }
.cb-act__bg { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; opacity: .22; border-radius: 2px; }
.cb-act__deco { position: absolute; right: -1%; top: 6px; width: min(770px, 68%); height: auto; opacity: .55; pointer-events: none; }
.cb-act .cb-head h2 { color: #fff; }
.cb-card {
	flex: none; scroll-snap-align: start; width: calc((100cqw - 48px) / 3); background: var(--cb-paper); color: var(--cb-ink); position: relative;
	display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); transition: opacity .6s; border-radius: 2px;
}
.cb-card.is-dim { opacity: .35; }
.cb-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; }
.cb-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.cb-card:hover .cb-card__img img { transform: scale(1.05); }
.cb-card__tag { position: absolute; left: 0; top: 0; background: var(--cb-blue); color: #fff; font: 700 13px Mulish, system-ui, sans-serif; padding: 6px 12px; border-radius: 2px; }
.cb-card__tag.is-une { background: var(--cb-terra); }
.cb-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.cb-card__date { font: 600 13.5px Mulish, system-ui, sans-serif; color: #8C7062; }
.ssm-is-home .cb-card h3 { margin: 0; font: 700 19px/1.3 Mulish, system-ui, sans-serif; text-wrap: pretty; }
.ssm-is-home .cb-card h3 a, .ssm-is-home .cb-ev h3 a { color: inherit; }
.ssm-is-home .cb-card h3 a::after, .ssm-is-home .cb-ev h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ssm-is-home .cb-card h3 a:focus-visible, .ssm-is-home .cb-ev h3 a:focus-visible { outline: 0; }
.cb-card:focus-within, .cb-ev:focus-within { outline: 3px solid var(--cb-green); outline-offset: 3px; }
.ssm-is-home .cb-card__body p { margin: 0; font: 400 15px/1.55 Mulish, system-ui, sans-serif; color: #5A4E48; }
@media (max-width: 1149.98px) { .cb-card { width: calc((100cqw - 24px) / 2.15); } .cb-card.is-dim { opacity: 1; } }
@media (max-width: 699.98px) { .cb-card { width: calc(100cqw * .86); } }

/* ---------- Agenda ---------- */
.cb-ag { position: relative; background: var(--cb-cream); padding: clamp(64px, 8vw, 110px) 0; overflow: hidden; }
.cb-ag__deco { position: absolute; right: 0; top: -46px; width: min(300px, 40%); height: auto; opacity: .4; pointer-events: none; }
.cb-ag .cb-head h2 { color: var(--cb-blue); }
.cb-chips, .cb-periods__l { display: flex; flex-wrap: wrap; gap: 6px; }
.ssm-is-home .cb-chip {
	border: 1px solid var(--cb-blue); background: transparent; color: var(--cb-blue); font: 700 14px/normal Mulish, system-ui, sans-serif; padding: 9px 16px;
	cursor: pointer; transition: background .25s, color .25s; border-radius: 2px;
}
.ssm-is-home .cb-chip.is-on { background: var(--cb-blue); color: #fff; }
.ssm-is-home .cb-chip:hover:not(.is-on), .ssm-is-home .cb-chip:focus-visible:not(.is-on) { background: rgba(138, 74, 46, .08); color: var(--cb-blue); }
.ssm-is-home .cb-chip--red { border-color: var(--cb-terra); color: var(--cb-terra); font-weight: 600; }
.ssm-is-home .cb-chip--red.is-on { background: var(--cb-terra); color: #fff; }
.ssm-is-home .cb-chip--red:hover:not(.is-on) { background: rgba(154, 83, 51, .08); color: var(--cb-terra); }
.cb-prog { width: 140px; height: 2px; background: rgba(138, 74, 46, .15); position: relative; display: block; }
.cb-prog span { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--cb-terra); transition: width .6s cubic-bezier(.2, .7, .2, 1); border-radius: 2px; }
.cb-ev {
	flex: none; scroll-snap-align: start; width: calc((100cqw - 112px) / 5); position: relative; display: flex; flex-direction: column; gap: 12px; animation: cbFade .5s ease;
}
.cb-ev[hidden] { display: none; }
.cb-ev__img { position: relative; aspect-ratio: 210 / 297; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(42, 37, 34, .55); border-radius: 2px; }
.cb-ev__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2, .7, .2, 1); border-radius: 2px; }
.cb-ev:hover .cb-ev__img img { transform: scale(1.06); }
.cb-ev__date { position: absolute; left: 12px; top: 12px; background: var(--cb-paper); padding: 8px 10px; display: flex; align-items: baseline; gap: 6px; border-radius: 2px; }
.cb-ev__date b { font: 800 24px/1 Mulish, system-ui, sans-serif; color: var(--cb-terra); }
.cb-ev__date span { font: 700 13px Mulish, system-ui, sans-serif; color: var(--cb-ink); }
.ssm-is-home .cb-ev h3 { margin: 0; font: 700 17px/1.3 Mulish, system-ui, sans-serif; text-wrap: pretty; color: var(--cb-ink); }
.cb-ev__meta { font: 400 14px Mulish, system-ui, sans-serif; color: #6E5548; }
.cb-periods { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 28px var(--cb-pad) 0; }
.cb-periods > span { font: 600 14px Mulish, system-ui, sans-serif; color: #6E5548; }
@media (max-width: 1199.98px) { .cb-ev { width: calc((100cqw - 84px) / 4); } }
@media (max-width: 899.98px) { .cb-ev { width: calc((100cqw - 56px) / 3); } }
@media (max-width: 599.98px) { .cb-ev { width: calc((100cqw - 28px) / 1.6); } }

/* ---------- Patrimoine + carte (rideau) ---------- */
.cb-cur { position: relative; height: 200vh; }
.cb-cur__stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.cb-cur__clip { position: absolute; inset: 0; clip-path: inset(18% 22%); will-change: clip-path; }
.cb-cur__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cb-cur__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 37, 34, .72) 0%, rgba(42, 37, 34, .4) 50%, rgba(42, 37, 34, .55) 100%); }
.cb-cur__in {
	position: absolute; inset: 84px var(--cb-pad) clamp(90px, 13vh, 120px); display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(24px, 4vw, 64px);
}
.cb-cur__txt { display: flex; flex-direction: column; gap: 20px; max-width: 540px; color: #fff; }
html.cb-js .cb-cur__txt, html.cb-js .cb-cur__map { opacity: 0; }
.ssm-is-home .cb-cur__txt h2 { margin: 0; font: 300 clamp(40px, 5.6vw, 84px)/.98 Mulish, system-ui, sans-serif; letter-spacing: -.04em; text-wrap: balance; color: #fff; }
.ssm-is-home .cb-cur__txt p { margin: 0; font: 400 17px/1.6 Mulish, system-ui, sans-serif; color: #fff; }
.cb-labels { display: flex; align-items: center; gap: 14px; }
.cb-label { display: block; border-radius: 2px; }
.cb-label--box { background: #fff; padding: 6px; }
.cb-label__img { height: 64px; width: auto; display: block; border-radius: 2px; max-width: none; }
.cb-cur__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-cur__map { flex: none; width: min(50vw, calc((100vh - 250px) * 1.25), 780px); will-change: transform, opacity; }
.cb-cur__map iframe { display: block; width: 100%; aspect-ratio: 5 / 4; border: 0; background: transparent; }
.cb-mapblock { display: none; position: relative; z-index: 2; background: var(--cb-blue); padding: 36px 14px 44px; flex-direction: column; gap: 14px; }
.cb-mapblock iframe { display: block; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 1; border: 0; background: transparent; }
.cb-mapblock span { font: 700 17px Mulish, system-ui, sans-serif; color: #fff; text-align: center; }
@media not all and (min-width: 900px) and (min-height: 500px) {
	.cb-cur__map { display: none; }
	.cb-mapblock { display: flex; }
}

/* ---------- Balades ---------- */
.cb-bal { position: relative; z-index: 2; background: var(--cb-cream); padding: clamp(70px, 9vw, 130px) var(--cb-pad); }
.cb-bal__grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cb-bal__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 12px; }
.cb-bal__tt { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 22px; }
.ssm-is-home .cb-bal h2 { margin: 0; font: 300 clamp(36px, 4.4vw, 62px)/1 Mulish, system-ui, sans-serif; letter-spacing: -.03em; color: var(--cb-blue); }
.cb-bal__tt img { width: 150px; height: auto; display: block; margin-bottom: -6px; pointer-events: none; }
.cb-bal__head > span { font: 500 16px Mulish, system-ui, sans-serif; color: #5A4E48; max-width: 420px; }
.cb-bal__a { position: relative; overflow: hidden; color: #fff; display: block; border-radius: 2px; min-width: 0; }
.cb-bal__a:hover, .cb-bal__a:focus-visible { color: #fff; }
.cb-bal__a--big { grid-column: span 7; aspect-ratio: 4 / 3; }
.cb-bal__col { grid-column: span 5; display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px); margin-top: clamp(40px, 8vw, 120px); min-width: 0; }
.cb-bal__a--wide { aspect-ratio: 1040 / 450; }
.cb-bal__a--sq { aspect-ratio: 540 / 500; width: 78%; margin-left: -22%; box-shadow: 0 0 0 10px var(--cb-cream); }
.cb-bal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.cb-bal__a:hover .cb-bal__img { transform: scale(1.04); }
.cb-bal__wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; opacity: .9; pointer-events: none; }
.cb-bal__cap { position: absolute; left: 20px; bottom: 18px; font: 700 20px Mulish, system-ui, sans-serif; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.cb-bal__cap--s { left: 18px; bottom: 14px; font-size: 18px; }

/* ---------- Application ---------- */
.cb-app { position: relative; z-index: 2; background: var(--cb-green); color: #2A2522; overflow: hidden; padding: clamp(64px, 8vw, 110px) var(--cb-pad); }
.cb-app__deco { position: absolute; left: -1%; bottom: 0; width: min(700px, 64%); height: auto; opacity: .6; pointer-events: none; }
.cb-app__in { position: relative; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.cb-app__txt { display: flex; flex-direction: column; gap: 20px; max-width: 480px; }
.ssm-is-home .cb-app h2 { margin: 0; font: 300 clamp(40px, 4.6vw, 68px)/1 Mulish, system-ui, sans-serif; letter-spacing: -.04em; text-wrap: balance; color: #2A2522; }
.ssm-is-home .cb-app__txt > p { margin: 0; font: 400 17px/1.6 Mulish, system-ui, sans-serif; color: #3A2D28; text-wrap: pretty; }
.ssm-is-home .cb-app__list { list-style: none; display: flex; flex-direction: column; gap: 2px; font: 600 16px Mulish, system-ui, sans-serif; margin: 0; padding: 0; }
.cb-app__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; margin: 0; }
.cb-app__list .cb-i { font-size: 22px; color: var(--cb-blue); }
.cb-app__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ssm-is-home .cb-app__btn {
	display: flex; align-items: center; gap: 8px; background: #fff; color: #3A2D28; font: 700 15px/normal Mulish, system-ui, sans-serif; padding: 13px 18px; border-radius: 2px; border: 0;
}
.ssm-is-home a.cb-app__btn:hover, .ssm-is-home a.cb-app__btn:focus-visible { background: #EEE8E1; color: #3A2D28; }
.ssm-is-home .cb-app__btn--line { background: transparent; border: 1px solid rgba(42, 37, 34, .55); color: #2A2522; padding: 12px 18px; }
.ssm-is-home a.cb-app__btn--line:hover, .ssm-is-home a.cb-app__btn--line:focus-visible { background: rgba(255, 255, 255, .3); color: #2A2522; }
.cb-app__btn .cb-i { font-size: 20px; }
.cb-app__ph { position: relative; height: clamp(460px, 46vw, 600px); }
.cb-phone { position: absolute; aspect-ratio: 316 / 650; overflow: hidden; background: #fff; display: block; box-sizing: content-box; }
.cb-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: 2px; }
.cb-phone--l { left: 4%; top: 12%; width: 38%; max-width: 220px; border: 8px solid #2A2522; border-radius: 30px; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6); transform: rotate(-6deg); }
.cb-phone--r { right: 4%; top: 14%; width: 38%; max-width: 220px; border: 8px solid #2A2522; border-radius: 30px; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6); transform: rotate(6deg); }
.cb-phone--c { left: 50%; top: 0; width: 44%; max-width: 260px; transform: translateX(-50%); border: 9px solid #2A2522; border-radius: 34px; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .7); }

/* ---------- Pied de page ---------- */
.cb-foot { position: relative; z-index: 2; background: var(--cb-blue); padding: clamp(28px, 4vw, 48px) var(--cb-pad) 130px; color: #E4DBD1; overflow: hidden; }
.cb-foot__bg {
	position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); width: min(1100px, 110%); aspect-ratio: 1148 / 492; background: #fff; opacity: .05;
	-webkit-mask: url('../img/home/deco-carte.svg') center / contain no-repeat; mask: url('../img/home/deco-carte.svg') center / contain no-repeat; pointer-events: none;
}
.cb-foot__in { position: relative; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.cb-foot__deco { display: block; width: min(940px, 100%); height: auto; margin: 0 auto; opacity: .45; pointer-events: none; }
.cb-foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cb-foot__id { display: flex; flex-direction: column; gap: 14px; }
.cb-foot__logo { width: 230px; height: auto; display: block; border-radius: 2px; }
.cb-foot__addr { font: 400 15px/1.6 Mulish, system-ui, sans-serif; }
.cb-foot__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.ssm-is-home .cb-foot__tel { color: #fff; font: 800 19px Mulish, system-ui, sans-serif; }
.ssm-is-home .cb-foot__mail { color: #F3DCC8; font: 600 15px Mulish, system-ui, sans-serif; }
.cb-foot .cb-labels .cb-label__img { }
.cb-foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cb-foot__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 600 14px Mulish, system-ui, sans-serif; }
.ssm-is-home .cb-foot__nav a { color: #E4DBD1; }
.ssm-is-home .cb-foot__nav a.is-first { color: #fff; }
.ssm-is-home .cb-foot__nav a:hover, .ssm-is-home .cb-foot__nav a:focus-visible { color: #fff; text-decoration: underline; }
.ssm-is-home .cb-foot__fb { display: flex; align-items: center; gap: 8px; color: #fff; font: 700 14px Mulish, system-ui, sans-serif; }
.cb-foot__nav .cb-foot__credit { font: 400 13px Mulish, system-ui, sans-serif; color: #D3C3B4; margin: 0; }

/* ---------- Dock d'accès rapides ---------- */
.cb-dock {
	position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(140%); z-index: 56; border-radius: 2px; display: flex; align-items: stretch;
	max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; background: rgba(251, 248, 244, .96);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 50px -18px rgba(42, 37, 34, .45); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.cb-dock::-webkit-scrollbar { display: none; }
.cb-dock.is-on { transform: translateX(-50%) translateY(0); }
html.ssm-lock .cb-dock { visibility: hidden; }
.ssm-is-home .cb-dock__a {
	flex: none; min-width: 82px; background: none; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 8px;
	color: var(--cb-blue); font: 700 11px/normal Mulish, system-ui, sans-serif; text-align: center; transition: background .25s;
}
.ssm-is-home .cb-dock__a:hover, .ssm-is-home .cb-dock__a:focus-visible { background: #F6F2EC; color: var(--cb-blue); }
.cb-dock__a .cb-ico { width: 24px; height: 24px; }
.ssm-is-home .ssm-rail, .ssm-is-home .ssm-dock { display: none !important; }

/* ---------- Film plein écran ---------- */
.cb-modal { position: fixed; inset: 0; z-index: 95; background: rgba(26, 22, 20, .94); display: flex; align-items: center; justify-content: center; padding: 4vw; animation: cbFade .3s ease; }
.cb-modal[hidden] { display: none; }
.cb-modal video { width: 100%; max-width: 1400px; max-height: 86vh; background: #000; }
.ssm-is-home .cb-modal__x {
	position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .4); background: none; color: #fff; cursor: pointer; border-radius: 2px; padding: 0; display: grid; place-items: center;
}
.cb-modal__x .cb-i { font-size: 26px; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	.cb-cue .cb-i, .cb-hero__title h1, .cb-hero__row, .cb-ev { animation: none !important; }
	.cb-track, .cb-card, .cb-dock { transition: none; }
}

/* Panneau « Je suis, je veux » ouvert sur mobile : barre transparente, logo blanc. */
@media (max-width: 1149.98px) {
	body.cb-prof-open .ssm-bar { background: transparent !important; box-shadow: none !important; }
	body.cb-prof-open .ssm-logo__w { opacity: 1 !important; }
	body.cb-prof-open .ssm-logo__d { opacity: 0 !important; }
	body.cb-prof-open.ssm-is-home .ssm-tool--fb, body.cb-prof-open.ssm-is-home .ssm-burger { color: #fff; border-color: rgba(255, 255, 255, .55); }
}
