/* ==========================================================================
   ODE Events — charte graphique
   Inspiration : maquettes du cahier des charges V1 (bleu nuit, fuchsia, cyan,
   titres serif) + la clarté et l'air des interfaces type Qonto.
   ========================================================================== */


:root {
	--ode-navy: #0e1a33;
	--ode-navy-2: #17284c;
	--ode-ink: #0e1a33;
	--ode-text: #2a3247;
	--ode-muted: #5a6173;
	--ode-pink: #d6136f;
	--ode-pink-hover: #b80f5f;
	--ode-pink-soft: #fde7f1;
	--ode-cyan: #35c6d6;
	--ode-cyan-soft: #e3f7f9;
	--ode-cream: #f7f3ee;
	--ode-tint: #eef1f7;
	--ode-line: #e2ddd5;
	--ode-line-cool: #d7dcea;
	--ode-white: #ffffff;
	--ode-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--ode-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ode-max: 1200px;
	--ode-gutter: clamp(20px, 5vw, 48px);
	--ode-pad: max(var(--ode-gutter), calc((100% - var(--ode-max)) / 2));
	--ode-pad-vw: max(var(--ode-gutter), calc((var(--ode-vw, 100vw) - var(--ode-max)) / 2));
	--ode-radius: 18px;
	--ode-radius-sm: 10px;
	--ode-shadow: 0 1px 2px rgba(14, 26, 51, .05), 0 12px 32px -12px rgba(14, 26, 51, .14);
	--ode-header-h: 76px;
	--ode-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ode-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.ode-body {
	margin: 0; background: var(--ode-white); color: var(--ode-text);
	font: 400 17px/1.6 var(--ode-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.ode-body.ode-lock { overflow: hidden; }
.ode-body *, .ode-body *::before, .ode-body *::after { box-sizing: border-box; }
.ode-body img { max-width: 100%; height: auto; display: block; }
.ode-body a { color: inherit; }
.ode-body p { margin: 0 0 1em; }
.ode-body h1, .ode-body h2, .ode-body h3, .ode-body h4 {
	font-family: var(--ode-serif); font-weight: 400; color: var(--ode-ink); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance;
}
.ode-body h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.ode-body h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.ode-body h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; }
.ode-body h1 em, .ode-body h2 em, .ode-body h3 em { font-style: normal; color: var(--ode-pink); }
.ode-body strong { font-weight: 700; color: var(--ode-ink); }
.ode-body :focus-visible { outline: 3px solid var(--ode-pink); outline-offset: 3px; border-radius: 4px; }
.ode-body ::selection { background: var(--ode-pink); color: #fff; }
.ode-main { display: block; outline: none; }
.ode-body .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ode-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ode-pink); color: #fff !important; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.ode-skip:focus { top: 12px; }

/* Blocs WordPress : on neutralise les marges par défaut */
.ode-body .wp-block-group, .ode-body .wp-block-buttons, .ode-body figure { margin: 0; }
.ode-body .is-layout-flow > * { margin-block-start: 0; }

/* ---------- Boutons ---------- */
.ode-btn, .ode-body .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 12px 26px;
	border-radius: 999px; border: 2px solid var(--ode-pink); background: var(--ode-pink); color: #fff !important;
	font: 700 1rem/1.2 var(--ode-sans); text-decoration: none; cursor: pointer; letter-spacing: .005em;
	transition: background .2s var(--ode-ease), border-color .2s var(--ode-ease), transform .2s var(--ode-ease), box-shadow .2s var(--ode-ease);
	box-shadow: 0 8px 20px -10px rgba(214, 19, 111, .6);
}
.ode-body .wp-block-button__link::after {
	content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
	transition: transform .2s var(--ode-ease);
}
.ode-btn:hover, .ode-body .wp-block-button__link:hover { background: var(--ode-pink-hover); border-color: var(--ode-pink-hover); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(214, 19, 111, .7); }
.ode-btn:hover svg, .ode-body .wp-block-button__link:hover::after { transform: translateX(3px); }
.ode-btn:active, .ode-body .wp-block-button__link:active { transform: translateY(0); box-shadow: none; }
.ode-btn svg { flex: none; transition: transform .2s var(--ode-ease); }
.ode-btn[disabled], .ode-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.ode-btn--lg { min-height: 56px; padding: 14px 34px; font-size: 1.05rem; }
.ode-body .is-style-outline .wp-block-button__link { background: transparent; color: var(--ode-ink) !important; border-color: var(--ode-line-cool); box-shadow: none; }
.ode-body .is-style-outline .wp-block-button__link:hover { border-color: var(--ode-ink); background: transparent; }
.ode-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lien texte avec flèche */
.ode-link { margin: 0; }
.ode-link a, .ode-body a.ode-link {
	display: inline-flex; align-items: center; gap: .45em; color: var(--ode-pink); font-weight: 700; text-decoration: none;
	padding: 6px 0; min-height: 44px; border-bottom: 1.5px solid transparent;
}
.ode-link a::after {
	content: "↗"; font-size: .95em; transition: transform .2s var(--ode-ease);
}
.ode-link--down a::after { content: "↓"; }
.ode-link a:hover { border-bottom-color: currentColor; }
.ode-link a:hover::after { transform: translate(2px, -2px); }
.ode-link--down a:hover::after { transform: translateY(2px); }

/* ---------- En-tête ---------- */
.ode-header { position: sticky; top: 0; z-index: 100; background: rgba(14, 26, 51, .96); color: #fff; transition: box-shadow .25s var(--ode-ease), background .25s; }
/* Béta 1.22 : flou porté par un pseudo-élément — un backdrop-filter sur .ode-header
   créait un bloc conteneur qui écrasait le menu mobile (.ode-nav en position fixed). */
@supports (backdrop-filter: blur(8px)) {
	.ode-header { background: transparent; }
	.ode-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(14, 26, 51, .88); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
}
.ode-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.admin-bar .ode-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ode-header { top: 46px; } }
.ode-header__inner { display: flex; align-items: center; gap: 24px; height: var(--ode-header-h); padding-inline: var(--ode-pad); }
.ode-logo { display: inline-flex; gap: .38em; align-items: baseline; text-decoration: none; color: #fff !important; font: 400 1.5rem/1 var(--ode-serif); letter-spacing: .16em; white-space: nowrap; margin-right: auto; padding: 8px 0; }
.ode-logo__word--light { color: rgba(255, 255, 255, .72); }
.ode-nav { display: flex; align-items: center; gap: 8px; }
.ode-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ode-nav__item { position: relative; }
.ode-nav__link {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
	background: none; border: 0; color: rgba(255, 255, 255, .86); font: 500 .95rem/1 var(--ode-sans); text-decoration: none; cursor: pointer;
	transition: color .2s, background .2s;
}
.ode-nav__link:hover, .ode-nav__item.is-active > .ode-nav__link { color: #fff; background: rgba(255, 255, 255, .08); }
.ode-nav__link[aria-current="page"], .ode-nav__link[aria-current="page"]:hover { color: #fff; background: none; box-shadow: inset 0 -2px 0 var(--ode-pink); border-radius: 0; }
.ode-nav__link svg { transition: transform .2s var(--ode-ease); }
.ode-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.ode-dd {
	position: absolute; top: calc(100% + 10px); left: -8px; min-width: 330px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(14, 26, 51, .45); opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s var(--ode-ease), transform .18s var(--ode-ease), visibility .18s;
}
.ode-dd::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.ode-nav__item--dd.is-open .ode-dd { opacity: 1; visibility: visible; transform: none; }
.ode-dd a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ode-ink) !important; }
.ode-dd a:hover, .ode-dd a[aria-current="page"] { background: var(--ode-cream); }
.ode-dd__title { font-weight: 700; }
.ode-dd__desc { font-size: .88rem; color: var(--ode-muted); }
.ode-nav__cta { display: none; }
.ode-header__cta { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.ode-header__cta-short { display: none; }
.ode-burger { display: none; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none; cursor: pointer; position: relative; border-radius: 12px; }
.ode-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ode-ease), opacity .2s; }
.ode-burger span:nth-child(1) { top: 16px; } .ode-burger span:nth-child(2) { top: 23px; } .ode-burger span:nth-child(3) { top: 30px; }
.ode-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ode-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ode-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.ode-header__cta-long { display: none; }
	.ode-header__cta-short { display: inline; }
}
@media (max-width: 960px) {
	:root { --ode-header-h: 64px; }
	.ode-burger { display: block; }
	.ode-header__inner { gap: 10px; }
	.ode-logo { font-size: 1.3rem; }
	.ode-header__cta { padding: 8px 16px; min-height: 44px; box-shadow: none; }
	.ode-header__cta svg { display: none; }
	.ode-nav {
		position: fixed; inset: var(--ode-header-h) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 24px;
		padding: 24px var(--ode-gutter) calc(32px + env(safe-area-inset-bottom)); background: var(--ode-navy); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ode-ease), transform .2s var(--ode-ease), visibility .2s;
	}
	.admin-bar .ode-nav { top: calc(var(--ode-header-h) + 46px); }
	.ode-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.ode-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.ode-nav__item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.ode-nav__link { width: 100%; justify-content: space-between; min-height: 60px; padding: 16px 4px; font: 400 1.6rem/1.1 var(--ode-serif); color: #fff; border-radius: 0; }
	.ode-nav__link:hover, .ode-nav__item.is-active > .ode-nav__link { background: none; }
	.ode-nav__link[aria-current="page"] { box-shadow: none; color: #fff; }
	.ode-nav__link[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ode-pink); }
	.ode-nav__item--dd > .ode-nav__link { display: none; }
	/* Béta 1.23 : visibility héritée — en « visible » forcé, les liens du sous-menu restaient cliquables (invisibles) par-dessus la page quand le menu mobile était fermé */
	.ode-dd { position: static; min-width: 0; padding: 0; background: none; box-shadow: none; opacity: 1; visibility: inherit; transform: none; }
	.ode-dd a { color: #fff !important; padding: 16px 4px; border-radius: 0; }
	.ode-dd li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
	.ode-dd a:hover, .ode-dd a[aria-current="page"] { background: none; }
	.ode-dd__title { font: 400 1.6rem/1.1 var(--ode-serif); }
	.ode-dd__desc { color: rgba(255, 255, 255, .65); }
	.ode-nav__cta { display: inline-flex; width: 100%; }
}
@media (max-width: 380px) { .ode-logo { letter-spacing: .1em; font-size: 1.15rem; } .ode-header__cta { padding: 8px 12px; } }

/* ---------- Sections ---------- */
.ode-section { padding: clamp(64px, 9vw, 120px) var(--ode-pad); position: relative; }
.ode-section--tight { padding-block: clamp(28px, 4vw, 48px); }
.ode-section--cream { background: var(--ode-cream); }
.ode-section--tint { background: var(--ode-tint); }
.ode-section--navy { background: var(--ode-navy); color: rgba(255, 255, 255, .85); }
.ode-section--navy h2, .ode-section--navy h3 { color: #fff; }
.ode-section--navy strong { color: #fff; }
.ode-section > * + * { margin-top: clamp(32px, 4vw, 56px) !important; }
.ode-section > .ode-note, .ode-section > .ode-link { margin-top: 24px !important; }
.ode-eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--ode-pink);
	font: 700 .78rem/1.3 var(--ode-sans); letter-spacing: .16em; text-transform: uppercase;
}
.ode-eyebrow::after { content: ""; width: 40px; height: 1.5px; background: currentColor; opacity: .7; }
.ode-lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ode-text); max-width: 38em; }
.ode-note { font-size: .9rem; color: var(--ode-muted); max-width: 52em; }
.ode-note em { font-style: italic; }
.ode-head { max-width: 760px; }
.ode-head h2 { margin-bottom: 0; }
.ode-head h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--ode-pink); border-radius: 2px; margin-bottom: 22px; }
.ode-head .ode-eyebrow + h2::before { display: none; }
.ode-head__text { margin: 16px 0 0; color: var(--ode-muted); font-size: 1.08rem; }
.ode-head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.ode-head--split .ode-head__text { margin: 0; }
@media (max-width: 760px) { .ode-head--split { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Hero ---------- */
.ode-hero {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; min-height: min(78vh, 720px);
	background: var(--ode-cream); overflow: hidden; isolation: isolate;
}
.ode-hero__text { align-self: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 7vw, 96px) var(--ode-pad-vw); position: relative; z-index: 2; }
.ode-hero__text h1 { margin-bottom: 24px; }
.ode-hero__text .ode-lead { margin-bottom: 32px; }
.ode-hero__text .wp-block-buttons { margin-top: 8px; }
.ode-hero__media { position: relative; min-height: 360px; }
.ode-hero__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.ode-hero__media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 28%; z-index: 1; background: linear-gradient(90deg, var(--ode-cream), rgba(247, 243, 238, 0)); pointer-events: none; }
.ode-hero::after {
	content: ""; position: absolute; top: 28px; right: clamp(16px, 3vw, 40px); width: 64px; height: 110px; z-index: 3; pointer-events: none;
	background: linear-gradient(to top right, transparent calc(50% - 2px), var(--ode-cyan) calc(50% - 2px), var(--ode-cyan) calc(50% + 2px), transparent calc(50% + 2px)) 0 0/34px 88px no-repeat,
	            linear-gradient(to top right, transparent calc(50% - 2px), var(--ode-pink) calc(50% - 2px), var(--ode-pink) calc(50% + 2px), transparent calc(50% + 2px)) 26px 22px/34px 88px no-repeat;
}
.ode-price--hero { font-size: 1.05rem; margin: -12px 0 28px !important; color: var(--ode-muted); }
.ode-price--hero strong { color: var(--ode-pink); font-size: 1.2em; }
.ode-hero--dark { background: var(--ode-navy); color: rgba(255, 255, 255, .85); min-height: 0; grid-template-columns: 1fr; }
.ode-hero--dark h1 { color: #fff; }
.ode-hero--dark .ode-lead { color: rgba(255, 255, 255, .82); }
.ode-hero--dark .ode-eyebrow { color: #ff5aa5; }
.ode-hero--dark h1 em { color: #ff5aa5; }
.ode-hero--dark::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background: radial-gradient(60% 90% at 90% 0%, rgba(53, 198, 214, .18), transparent 60%), radial-gradient(50% 80% at 70% 110%, rgba(214, 19, 111, .22), transparent 60%);
}
.ode-hero--dark::after { width: 90px; height: 150px; top: 50%; transform: translateY(-50%); right: var(--ode-pad-vw); background-size: 46px 120px, 46px 120px; background-position: 0 0, 38px 30px; }
.ode-hero--compact .ode-hero__text { padding-block: clamp(48px, 7vw, 88px); padding-right: calc(var(--ode-pad-vw) + 120px); }
.ode-hero--compact h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.ode-hero--compact .ode-lead:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
	.ode-hero { grid-template-columns: 1fr; min-height: 0; }
	.ode-hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; max-height: 52vh; }
	.ode-hero__media::before { inset: auto 0 0 0; width: auto; height: 30%; background: linear-gradient(0deg, var(--ode-cream), rgba(247, 243, 238, 0)); }
	.ode-hero__text { padding: 8px var(--ode-gutter) 56px; }
	.ode-hero::after { display: none; }
	.ode-hero--dark .ode-hero__text, .ode-hero--compact .ode-hero__text { padding: 48px var(--ode-gutter); }
	.ode-hero .wp-block-buttons, .ode-hero .wp-block-button, .ode-hero .wp-block-button__link { width: 100%; }
}

.ode-keywords { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; padding: 0; }
.ode-keywords li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ode-line); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ode-ink); }

/* ---------- Accueil ---------- */
.ode-orient { border-top: 1px solid var(--ode-ink); }
.ode-orient__row { margin: 0; border-bottom: 1px solid var(--ode-ink); }
.ode-orient__row a {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 20px 4px; text-decoration: none;
	transition: padding .3s var(--ode-ease), background .3s var(--ode-ease);
}
.ode-orient__row strong { font: 400 clamp(1.7rem, 3.4vw, 2.6rem)/1.1 var(--ode-serif); color: var(--ode-ink); }
.ode-orient__row em { font-style: normal; display: inline-flex; align-items: center; gap: 10px; color: var(--ode-muted); font-weight: 500; white-space: nowrap; }
.ode-orient__row em::after { content: "↗"; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ode-pink); color: var(--ode-pink); transition: background .25s, color .25s, transform .25s var(--ode-ease); }
.ode-orient__row a:hover { padding-inline: 20px; background: var(--ode-cream); }
.ode-orient__row a:hover em::after { background: var(--ode-pink); color: #fff; transform: rotate(45deg); }
@media (max-width: 640px) { .ode-orient__row em { font-size: 0; gap: 0; } .ode-orient__row em::after { font-size: 1rem; } }

.ode-promise { text-align: center; }
.ode-promise h2 { max-width: 20em; margin-inline: auto; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.ode-promise .ode-lead { margin: 16px auto 0 !important; }

.ode-method { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.ode-method > * + * { margin-top: 0 !important; }
.ode-method__label { font: 700 .85rem/1.5 var(--ode-sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--ode-ink); padding-top: 18px; border-top: 1.5px solid var(--ode-ink); max-width: 14em; }
.ode-method__list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.ode-method__list li { counter-increment: m; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ode-line-cool); font-size: 1.1rem; color: var(--ode-ink); }
.ode-method__list li::before { content: "0" counter(m); font: 400 1.6rem/1 var(--ode-serif); color: var(--ode-pink); }
@media (max-width: 760px) { .ode-method { grid-template-columns: 1fr; } }

.ode-une { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ode-une__media { display: block; border-radius: var(--ode-radius); overflow: hidden; aspect-ratio: 4 / 3; }
.ode-une__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--ode-ease); }
.ode-une:hover .ode-une__media img { transform: scale(1.03); }
.ode-une__title { font-size: clamp(1.9rem, 3.2vw, 2.8rem) !important; }
.ode-une__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100%/0 1.5px no-repeat; transition: background-size .35s var(--ode-ease); }
.ode-une__title a:hover { background-size: 100% 1.5px; }
@media (max-width: 800px) { .ode-une { grid-template-columns: 1fr; } }

/* ---------- Bandeau d'appel final ---------- */
.ode-cta-band {
	position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
	padding: clamp(56px, 7vw, 88px) var(--ode-pad); background: var(--ode-navy); color: #fff;
}
.ode-cta-band h2 { color: #fff; margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); max-width: 16em; }
.ode-cta-band h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--ode-pink); border-radius: 2px; margin-bottom: 20px; }
.ode-cta-band .ode-lead { color: rgba(255, 255, 255, .8); flex-basis: 100%; order: 2; margin: 0; }
.ode-cta-band .wp-block-buttons { position: relative; z-index: 1; }
.ode-cta-band::after {
	content: ""; position: absolute; top: 0; right: 8%; width: 80px; height: 100%; opacity: .9; pointer-events: none;
	background: linear-gradient(to top right, transparent calc(50% - 2px), var(--ode-cyan) calc(50% - 2px), var(--ode-cyan) calc(50% + 2px), transparent calc(50% + 2px)) 0 -20px/36px 110px no-repeat,
	            linear-gradient(to top right, transparent calc(50% - 2px), var(--ode-pink) calc(50% - 2px), var(--ode-pink) calc(50% + 2px), transparent calc(50% + 2px)) 30px -8px/36px 110px no-repeat;
}
@media (max-width: 640px) { .ode-cta-band .wp-block-buttons, .ode-cta-band .wp-block-button, .ode-cta-band .wp-block-button__link { width: 100%; } .ode-cta-band::after { right: 0; } }

/* ---------- Grilles & cartes ---------- */
.ode-grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.ode-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ode-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ode-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .ode-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ode-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ode-grid--2, .ode-grid--3, .ode-grid--4 { grid-template-columns: 1fr; } }

.ode-card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); background: #fff; border: 1px solid var(--ode-line); border-radius: var(--ode-radius); }
.ode-section--cream .ode-card, .ode-section--tint .ode-card { border-color: transparent; }
.ode-card h3 { margin-bottom: 12px; }
.ode-card p:last-child { margin-bottom: 0; }
.ode-num { font: 400 2.2rem/1 var(--ode-serif); color: var(--ode-pink); margin: 0 0 18px !important; display: flex; align-items: center; gap: 14px; }
.ode-num::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .6; }

/* Carte cliquable : une seule zone interactive (le lien s'étend à toute la carte) */
.ode-card--link { transition: transform .25s var(--ode-ease), box-shadow .25s var(--ode-ease), border-color .25s; cursor: pointer; }
.ode-card--link a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.ode-card--link a:focus-visible { outline: none; }
.ode-card--link:focus-within { outline: 3px solid var(--ode-pink); outline-offset: 3px; }
.ode-card--link:hover { transform: translateY(-4px); box-shadow: var(--ode-shadow); border-color: transparent; }

.ode-offer .ode-price { margin-top: auto !important; padding-top: 20px; border-top: 1px solid var(--ode-line); color: var(--ode-muted); margin-bottom: 8px; }
.ode-offer .ode-price strong { color: var(--ode-pink); font-size: 1.2rem; }
.ode-offer .ode-link { margin-top: 4px; }
.ode-offer .ode-link a { border: 0; }
.ode-card--link:hover .ode-link a { border-bottom-color: currentColor; }
.ode-offer h3 a { text-decoration: none; color: var(--ode-ink); }
.ode-offer.ode-ico .ode-price { display: flex; align-items: center; gap: .35em; }
.ode-offer.ode-ico .ode-price::after { content: "→"; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--ode-pink-soft); color: var(--ode-pink); font-size: 1.1rem; margin-left: auto; transition: background .25s, color .25s, transform .25s var(--ode-ease); }
.ode-offer.ode-ico:hover .ode-price::after { background: var(--ode-pink); color: #fff; transform: translateX(3px); }

/* Pictogrammes (CSS, sans image) */
.ode-ico::before {
	content: ""; display: block; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--ode-cyan-soft);
	-webkit-mask: none; mask: none;
}
.ode-ico { --ode-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.ode-ico > h3::before, .ode-benefit.ode-ico::after {
	content: ""; position: absolute; top: clamp(24px, 2.6vw, 34px); left: clamp(24px, 2.6vw, 34px); width: 48px; height: 48px; background: var(--ode-navy);
	-webkit-mask: var(--ode-ico) center/24px 24px no-repeat; mask: var(--ode-ico) center/24px 24px no-repeat;
}
.ode-ico--compass { --ode-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15.5 8.5-2 5-5 2 2-5z'/%3E%3C/svg%3E"); }
.ode-ico--gear { --ode-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M12 2.8v2.6M12 18.6v2.6M21.2 12h-2.6M5.4 12H2.8M18.5 5.5l-1.8 1.8M7.3 16.7l-1.8 1.8M18.5 18.5l-1.8-1.8M7.3 7.3 5.5 5.5'/%3E%3C/svg%3E"); }
.ode-ico--people { --ode-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 19.5c.6-3.3 3-5 6-5s5.4 1.7 6 5'/%3E%3Ccircle cx='17' cy='9' r='2.4'/%3E%3Cpath d='M16.5 14.2c2.4.2 4 1.6 4.5 4.3'/%3E%3C/svg%3E"); }
.ode-ico--person { --ode-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M4.5 20c.8-3.8 3.6-6 7.5-6s6.7 2.2 7.5 6'/%3E%3C/svg%3E"); }
.ode-ico--calendar { --ode-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h2M14 14h2M8 17h2'/%3E%3C/svg%3E"); }
.ode-ico--doc { --ode-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 15.5h6M9 9h2'/%3E%3C/svg%3E"); }
.ode-ico--compass::before, .ode-ico--people::before { background: var(--ode-pink-soft); }

.ode-benefits { gap: 16px; }
.ode-benefit { position: relative; display: flex; align-items: center; gap: 16px; min-height: 96px; margin: 0; padding: 20px 24px 20px 92px; border-radius: var(--ode-radius); background: var(--ode-cream); color: var(--ode-ink); font-weight: 500; }
.ode-benefit.ode-ico::before { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); margin: 0; background: #fff; }
.ode-benefit.ode-ico::after { top: 50%; left: 24px; transform: translateY(-50%); }

/* Cartes photo */
.ode-card--photo { padding: 0; overflow: hidden; border: 0; background: transparent; }
.ode-card--photo .ode-card__media { aspect-ratio: 4 / 3; border-radius: var(--ode-radius); overflow: hidden; margin-bottom: 24px !important; background: var(--ode-tint); }
.ode-card--photo .ode-card__media img { width: 100%; height: 100% !important; object-fit: cover; }
.ode-card--photo .ode-num { font-size: 1.8rem; margin-bottom: 12px !important; }
.ode-card--photo p { color: var(--ode-muted); }
.ode-section--cream .ode-card--photo { background: transparent; }

/* Situations (accompagnement à distance) */
.ode-situation h3 { font-size: 1.35rem; min-height: 2.4em; }
.ode-ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ode-ticks li { position: relative; padding: 6px 0 6px 28px; }
.ode-ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 2px; background: var(--ode-pink); border-radius: 2px; }
.ode-situation .ode-ticks li { color: var(--ode-muted); font-size: .98rem; }
.ode-situation a { color: var(--ode-pink); font-weight: 500; }

/* Engagements (Particuliers) */
.ode-engage { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.ode-engage > * + * { margin-top: 0 !important; }
.ode-engage__intro h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--ode-pink); border-radius: 2px; margin-bottom: 22px; }
.ode-engage__intro p:not(.ode-link) { color: var(--ode-muted); }
.ode-engage__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ode-line); }
.ode-engage__list li { display: flex; align-items: center; gap: 18px; padding: 26px 8px; border-bottom: 1px solid var(--ode-line); font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--ode-serif); color: var(--ode-ink); }
.ode-engage__list li:nth-child(odd) { border-right: 1px solid var(--ode-line); }
.ode-engage__list li:nth-child(even) { padding-left: 28px; }
.ode-engage__list li::before { content: ""; width: 3px; height: 26px; flex: none; background: var(--ode-pink); transform: skewX(-22deg); border-radius: 2px; }
@media (max-width: 860px) { .ode-engage { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ode-engage__list { grid-template-columns: 1fr; } .ode-engage__list li:nth-child(odd) { border-right: 0; } .ode-engage__list li:nth-child(even) { padding-left: 8px; } }

/* Parcours en étapes */
.ode-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.ode-path li { counter-increment: s; position: relative; padding: 24px; background: #fff; border-radius: var(--ode-radius); color: var(--ode-muted); font-size: .98rem; }
.ode-path li::before { content: "0" counter(s); display: block; font: 400 1.9rem/1 var(--ode-serif); color: var(--ode-pink); margin-bottom: 16px; }
.ode-path li strong { display: block; font: 400 1.35rem/1.2 var(--ode-serif); color: var(--ode-ink); margin-bottom: 6px; }
.ode-path li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 26px; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ode-pink); color: #fff; font-size: .9rem; }
.ode-path:has(li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
	.ode-path, .ode-path:has(li:nth-child(3):last-child) { grid-template-columns: 1fr; }
	.ode-path li:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -14px; }
}

/* Image + texte */
.ode-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.ode-split > * + * { margin-top: 0 !important; }
.ode-split__media { border-radius: var(--ode-radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--ode-tint); }
.ode-split__media img { width: 100%; height: 100% !important; object-fit: cover; }
.ode-split__text h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--ode-pink); border-radius: 2px; margin-bottom: 22px; }
.ode-split__text > p:not(.ode-note) { font-size: 1.08rem; }
.ode-split--reverse .ode-split__media { order: 2; }
@media (max-width: 860px) { .ode-split { grid-template-columns: 1fr; } .ode-split--reverse .ode-split__media { order: -1; } .ode-split__media { order: -1; } }

.ode-numlist { list-style: none; margin: 8px 0 24px; padding: 0; counter-reset: n; }
.ode-numlist li { counter-increment: n; display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--ode-line); font: 400 1.35rem/1.25 var(--ode-serif); color: var(--ode-ink); }
.ode-numlist li::before { content: "0" counter(n); color: var(--ode-pink); font-size: 1.1em; min-width: 1.6em; }

/* Décision du client (Organisation complète) */
.ode-decide { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ode-decide > * + * { margin-top: 0 !important; }
.ode-decide > .ode-note { grid-column: 1 / -1; }
.ode-decide__intro p { color: var(--ode-muted); }
.ode-mark { padding: 0 0 0 24px; border-left: 1.5px solid var(--ode-line-cool); }
.ode-mark .ode-num { font-size: 1.6rem; }
.ode-mark .ode-num::after { display: none; }
.ode-mark p:last-child { color: var(--ode-muted); font-size: .98rem; }
@media (max-width: 860px) { .ode-decide { grid-template-columns: 1fr; } }

/* Méthode O-D-E */
.ode-letters { text-align: center; }
.ode-letter { padding: 12px 24px; }
.ode-letter + .ode-letter { border-left: 1px solid var(--ode-line); }
.ode-letter__big { font: 400 clamp(5rem, 9vw, 7.5rem)/.9 var(--ode-serif) !important; color: var(--ode-pink); margin: 0 0 12px !important; }
.ode-letter--cyan .ode-letter__big { color: #1ea5b5; }
.ode-letter p:last-child { color: var(--ode-muted); max-width: 18em; margin-inline: auto; }
@media (max-width: 900px) { .ode-letters { grid-template-columns: 1fr !important; } .ode-letter + .ode-letter { border-left: 0; border-top: 1px solid var(--ode-line); padding-top: 32px; } }

/* Huit engagements */
.ode-engagements .ode-eyebrow { color: #ff5aa5; }
.ode-engagements h2 em { color: #ff5aa5; }
.ode-eight { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--ode-radius); overflow: hidden; counter-reset: e; }
.ode-eight li { counter-increment: e; padding: 28px 24px; background: var(--ode-navy); color: rgba(255, 255, 255, .9); font-size: 1.02rem; line-height: 1.45; }
.ode-eight li::before { content: "0" counter(e); display: block; margin-bottom: 14px; font: 400 1.7rem/1 var(--ode-serif); color: var(--ode-cyan); }
@media (max-width: 1000px) { .ode-eight { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ode-eight { grid-template-columns: 1fr; } }

/* Zone d'intervention */
.ode-zone { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ode-zone > * + * { margin-top: 0 !important; }
.ode-zone__text > p:not(.ode-eyebrow):not(.ode-note) { font-size: 1.1rem; }
@media (max-width: 900px) { .ode-zone { grid-template-columns: 1fr; } }
.ode-map { margin: 0; padding: clamp(16px, 2.5vw, 28px); background: #fff; border-radius: var(--ode-radius); }
.ode-map svg { display: block; width: 100%; height: auto; }
.ode-map__zone { stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.ode-map__zone--out { fill: url(#ode-hatch); }
.ode-map__out-bg { fill: #eceae6; }
.ode-map__hatch { stroke: #dcd8d2; stroke-width: 3; }
.ode-map__zone--in { fill: var(--ode-pink); }
.ode-map__zone--paris { fill: var(--ode-pink); stroke: var(--ode-navy); stroke-width: 2; }
.ode-map__zone--home { fill: var(--ode-cyan); }
.ode-map__labels text { font: 500 13px var(--ode-sans); fill: #7b7f8c; text-anchor: middle; }
.ode-map__labels .is-strong { font: 700 15px var(--ode-sans); fill: var(--ode-navy); }
.ode-map__labels .is-light { fill: #fff; }
.ode-map__labels .is-left { text-anchor: start; }
.ode-map__lead { stroke: var(--ode-navy); stroke-width: 1.5; }
.ode-map__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 8px; padding: 0; font-size: .9rem; color: var(--ode-text); }
.ode-map__legend li { display: flex; align-items: center; gap: 8px; }
.ode-map__key { width: 16px; height: 16px; border-radius: 4px; }
.ode-map__key--home { background: var(--ode-cyan); }
.ode-map__key--in { background: var(--ode-pink); }
.ode-map__key--out { background: repeating-linear-gradient(45deg, #eceae6 0 3px, #dcd8d2 3px 5px); }
.ode-map__note { margin: 0; font-size: .85rem; color: var(--ode-muted); }

/* Qui sommes-nous */
.ode-split--reverse .ode-split__text > p { color: var(--ode-text); }

/* ---------- Le Fil d'ODE ---------- */
.ode-section--fil { padding-top: 0; }
.ode-filters { position: sticky; top: var(--ode-header-h); z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; margin: 0 calc(-1 * var(--ode-pad-vw)); padding: 14px var(--ode-pad-vw); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ode-line); }
.admin-bar .ode-filters { top: calc(var(--ode-header-h) + 32px); }
.ode-filter { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ode-line-cool); background: #fff; color: var(--ode-ink); font: 500 .95rem/1 var(--ode-sans); cursor: pointer; transition: all .2s var(--ode-ease); }
.ode-filter:hover { border-color: var(--ode-ink); }
.ode-filter[aria-pressed="true"] { background: var(--ode-navy); border-color: var(--ode-navy); color: #fff; }
.ode-filter[aria-pressed="true"]::before { content: "✓ "; }
.ode-articles { margin-top: clamp(24px, 4vw, 48px); }
.ode-article { padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--ode-line); scroll-margin-top: calc(var(--ode-header-h) + 90px); }
.ode-article[hidden] { display: none; }
.ode-article__intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ode-article:nth-child(even) .ode-article__media { order: -1; }
.ode-article__num { font: 400 clamp(3rem, 6vw, 4.8rem)/.9 var(--ode-serif); color: var(--ode-line-cool); margin: 0 0 12px; }
.ode-article.is-open .ode-article__num { color: var(--ode-pink); }
.ode-article__cat { font: 700 .76rem/1.4 var(--ode-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ode-pink); margin-bottom: 12px; }
.ode-article__title { font-size: clamp(1.9rem, 3.2vw, 2.7rem) !important; }
.ode-article__subtitle { font-size: 1.15rem; color: var(--ode-ink); }
.ode-article__excerpt { color: var(--ode-muted); }
.ode-article__media { border-radius: var(--ode-radius); overflow: hidden; aspect-ratio: 4 / 3; margin: 0; background: var(--ode-tint); }
.ode-article__media img { width: 100%; height: 100% !important; object-fit: cover; }
.ode-article__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; margin-top: 8px; border: 0; background: none; color: var(--ode-pink); font: 700 1rem/1 var(--ode-sans); cursor: pointer; border-bottom: 1.5px solid transparent; }
.ode-article__toggle:hover { border-bottom-color: currentColor; }
.ode-article__toggle svg { transition: transform .3s var(--ode-ease); }
.ode-article__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.ode-article__body { overflow: hidden; }
.ode-article__content { max-width: 760px; padding-top: clamp(28px, 4vw, 44px); font-size: 1.1rem; line-height: 1.75; }
.ode-article__content h3 { margin-top: 1.4em; }
.ode-article__content a { color: var(--ode-pink); font-weight: 500; }
.ode-article__content ul { padding-left: 1.2em; }
.ode-article__content li { margin-bottom: .5em; }
.ode-article.is-open { background: linear-gradient(var(--ode-cream), var(--ode-cream)) center/100vw 100% no-repeat; border-bottom-color: transparent; }
@media (max-width: 860px) { .ode-article__intro { grid-template-columns: 1fr; } .ode-article__media, .ode-article:nth-child(even) .ode-article__media { order: -1; } }
.ode-empty { color: var(--ode-muted); text-align: center; padding: 48px 0; }

/* ---------- Formulaire ---------- */
.ode-section--form { padding-top: clamp(32px, 4vw, 56px); background: #fff; }
.ode-form-wrap { max-width: 920px; margin: 0 auto; }
.ode-form { counter-reset: step; }
.ode-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ode-profile { border: 0; margin: 0 0 40px; padding: 0; text-align: center; }
.ode-profile__legend { display: block; width: 100%; font-weight: 700; color: var(--ode-ink); margin-bottom: 14px; }
.ode-seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: var(--ode-tint); border: 1px solid var(--ode-line-cool); max-width: 100%; }
.ode-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ode-seg label { display: grid; place-items: center; min-height: 48px; padding: 10px clamp(14px, 3vw, 32px); border-radius: 12px; font-weight: 700; color: var(--ode-ink); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; text-align: center; line-height: 1.2; }
.ode-seg input:checked + label { background: var(--ode-navy); color: #fff; box-shadow: 0 6px 16px -8px rgba(14, 26, 51, .6); }
.ode-seg input:focus-visible + label { outline: 3px solid var(--ode-pink); outline-offset: 2px; }
.ode-profile__hint { margin: 14px 0 0; color: var(--ode-muted); font-size: .95rem; }
.ode-step { counter-increment: step; position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 0 24px; padding: 36px 0; border-top: 1px solid var(--ode-line-cool); }
.ode-step[hidden] { display: none; }
.ode-step::before { content: "0" counter(step); grid-row: 1 / span 2; font: 400 clamp(3rem, 5vw, 4.2rem)/.9 var(--ode-serif); color: #b9c0d6; position: relative; }
.ode-step::after { content: ""; position: absolute; left: 76px; top: 44px; width: 2px; height: 44px; background: var(--ode-pink); transform: rotate(28deg); border-radius: 2px; }
.ode-step__title { grid-column: 2; font-size: clamp(1.7rem, 2.6vw, 2.1rem) !important; margin: 4px 0 20px !important; }
.ode-step .ode-grid { grid-column: 2; }
.ode-step .ode-grid { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.ode-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.ode-field[hidden] { display: none; }
.ode-field--full { grid-column: 1 / -1; }
.ode-field > label, .ode-field > legend { font-weight: 500; color: var(--ode-ink); font-size: .98rem; padding: 0; }
.ode-req { color: var(--ode-pink); font-weight: 700; }
.ode-field input:not([type="radio"]):not([type="checkbox"]), .ode-field select, .ode-field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--ode-line-cool); border-radius: 12px; background: #fff; color: var(--ode-ink);
	font: 400 1rem/1.4 var(--ode-sans); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.ode-field textarea { min-height: 130px; resize: vertical; }
.ode-field input::placeholder, .ode-field textarea::placeholder { color: #8a90a2; }
.ode-field input:hover, .ode-field select:hover, .ode-field textarea:hover { border-color: #aeb6cc; }
.ode-field input:focus, .ode-field select:focus, .ode-field textarea:focus { outline: none; border-color: var(--ode-navy); box-shadow: 0 0 0 4px rgba(14, 26, 51, .1); }
.ode-select { position: relative; }
.ode-select select { padding-right: 44px; cursor: pointer; }
.ode-select svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ode-ink); }
.ode-field--radios { border: 0; padding: 0; }
.ode-field--radios legend { margin-bottom: 8px; }
.ode-radio, .ode-check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; color: var(--ode-ink); }
.ode-radio input, .ode-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ode-pink); flex: none; }
.ode-field--check { grid-column: 1 / -1; margin-top: -8px; }
.ode-help { margin: 0; font-size: .86rem; color: var(--ode-muted); }
.ode-count { margin: 0; font-size: .82rem; color: var(--ode-muted); text-align: right; }
.ode-error { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: .9rem; font-weight: 500; color: #b3123e; }
.ode-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #b3123e; color: #fff; font-size: .72rem; font-weight: 700; }
.ode-error[hidden] { display: none; }
.ode-field.has-error input, .ode-field.has-error select, .ode-field.has-error textarea { border-color: #b3123e; background: #fff8fa; }
.ode-form__footer { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 32px; border-top: 1px solid var(--ode-line-cool); text-align: center; }
.ode-form__legal { margin: 0; font-size: .88rem; color: var(--ode-muted); max-width: 46em; }
.ode-form__legal a { color: var(--ode-ink); }
.ode-form__status { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fff0f4; color: #b3123e; font-weight: 500; }
.ode-btn__loading { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: ode-spin .7s linear infinite; }
.ode-btn.is-loading .ode-btn__loading { display: inline-block; }
.ode-btn.is-loading svg { display: none; }
.ode-btn.is-loading { cursor: progress; }
@keyframes ode-spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
	.ode-step { grid-template-columns: 1fr; padding: 28px 0; }
	.ode-step::before { grid-row: auto; font-size: 2.6rem; margin-bottom: 4px; }
	.ode-step::after { left: 50px; top: 30px; height: 34px; }
	.ode-step__title, .ode-step .ode-grid { grid-column: 1; }
	.ode-step .ode-grid { grid-template-columns: 1fr; }
	.ode-seg { display: grid; width: 100%; }
	.ode-form__footer .ode-btn { width: 100%; }
}

/* ---------- Pages légales ---------- */
.ode-legal { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--ode-gutter); }
.ode-legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 32px; }
.ode-legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.ode-legal h3 { font-size: 1.25rem; margin-top: 1.4em; }
.ode-legal a { color: var(--ode-pink); }

/* ---------- Pied de page ---------- */
.ode-footer { position: relative; overflow: hidden; background: var(--ode-navy); color: rgba(255, 255, 255, .78); padding: 56px var(--ode-pad) 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ode-footer__inner { position: relative; z-index: 1; }
.ode-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ode-logo--footer { margin-right: 0; }
.ode-footer__nav { flex: 1 1 420px; }
.ode-footer__heading { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ode-footer__nav ul { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.ode-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; border-radius: 8px; }
.ode-footer__nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ode-footer__social { display: flex; gap: 6px; }
.ode-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .2s, border-color .2s; }
.ode-footer__social a:hover { background: var(--ode-pink); border-color: var(--ode-pink); }
.ode-footer__tagline { margin: 0; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .2); font: 400 1.05rem/1.3 var(--ode-serif); color: #fff; }
.ode-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 18px; font-size: .86rem; }
.ode-footer__bottom p { margin: 0; }
.ode-footer__legal { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 0 4px; }
.ode-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: rgba(255, 255, 255, .78); text-decoration: none; }
.ode-footer__legal a:hover { color: #fff; text-decoration: underline; }
.ode-slashes--footer { position: absolute; right: 4%; top: -10px; width: 90px; height: 130px; opacity: .8; pointer-events: none;
	background: linear-gradient(to top right, transparent calc(50% - 2px), var(--ode-cyan) calc(50% - 2px), var(--ode-cyan) calc(50% + 2px), transparent calc(50% + 2px)) 0 0/40px 100px no-repeat,
	            linear-gradient(to top right, transparent calc(50% - 2px), var(--ode-pink) calc(50% - 2px), var(--ode-pink) calc(50% + 2px), transparent calc(50% + 2px)) 34px 18px/40px 100px no-repeat; }
.ode-slashes--footer { display: none; }
.ode-section--navy + .ode-cta-band { border-top: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 760px) {
	.ode-footer__top { flex-direction: column; align-items: flex-start; }
	.ode-footer__nav { flex-basis: auto; }
	.ode-footer__nav ul { flex-direction: column; }
	.ode-footer__nav a { padding: 0; }
	.ode-footer__tagline { padding-left: 0; border-left: 0; }
	.ode-footer__bottom { flex-direction: column; align-items: flex-start; }
	.ode-footer__legal a { padding: 0 12px 0 0; }
}

/* ---------- Apparition douce ---------- */
.ode-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ode-ease), transform .7s var(--ode-ease); }
.ode-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ode-body *, .ode-body *::before, .ode-body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.ode-reveal { opacity: 1; transform: none; }
}

/* Bannière cookies Complianz : harmonisation légère */
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background-color: var(--ode-navy) !important; border-color: var(--ode-navy) !important; }


/* ==========================================================================
   Béta 1.24 — corrections mobile (numéros, tirets, colonnes)
   Préfixe « html » : l'emporte sur le CSS additionnel du thème (Béta 1.09).
   ========================================================================== */
@media (max-width: 900px) {
	/* Particuliers + Accompagnement à distance : plus de séparateurs verticaux ni de retrait sur les cartes empilées */
	html .ode-page-particuliers .ode-grid .ode-card:not(.ode-card--photo),
	html .ode-page-accompagnement-a-distance .ode-grid .ode-card:not(.ode-card--photo) { padding-left: 0; padding-right: 0; }
	html .ode-page-particuliers .ode-grid .ode-card:not(.ode-card--photo):not(:first-child)::before,
	html .ode-page-accompagnement-a-distance .ode-grid .ode-card:not(.ode-card--photo):not(:first-child)::before { display: none; }

	/* Cartes empilées : chaque numéro respire au lieu de coller au texte précédent */
	html .ode-grid { row-gap: 44px; }

	/* « Comment démarrer ? » : les pastilles flèche ne chevauchent plus les numéros */
	html .ode-page-particuliers .ode-path li:not(:last-child)::after { display: none; }

	/* Accueil — « Notre méthode, simplement » : titre au-dessus, étapes pleine largeur, tiret aligné sur la 1re ligne */
	html .ode-page-accueil .ode-method { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
	html .ode-page-accueil .ode-method h2.ode-method__label { border-right: 0; padding: 0 0 4px; }
	html .ode-page-accueil .ode-method__list { padding-left: 0; }
	html .ode-page-accueil .ode-method__list li { grid-template-columns: 40px minmax(0, 1fr); }
	html .ode-page-accueil .ode-method__list li::before { align-self: start; margin-top: .8em; }

	/* Le Fil d'ODE : filtres plus compacts (barre moins haute) */
	html .ode-page-le-fil-d-ode .ode-filters { gap: 4px 18px; }
	html .ode-page-le-fil-d-ode .ode-filter { font-size: .95rem; padding: 6px 0; }
}
