/*
 * Binoom — styles du thème.
 * Bureau d'abord, puis : ≤ 1100px (tablette, petit ordinateur) et ≤ 760px (téléphone).
 */

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
	--blue: #1d63ef;
	--blue-dark: #1450c8;
	--blue-ink: #0d2b6b;
	--yellow: #ffe45e;
	--pink: #fe1178;
	--green: #01bf76;
	--p-blue: #eaf1fe;
	--p-yellow: #fff8d6;
	--p-pink: #ffe6f0;
	--bg: #fff;
	--sand: #f3f6fb;
	--ink: #16213a;
	--muted: #5d6880;
	--line: #e7ebf2;
	--white: #fff;

	--font: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-title: "Fredoka", "Fredoka Fallback", var(--font);

	--r-sm: 14px;
	--r: 22px;
	--r-lg: 32px;
	--pill: 999px;
	--sh: 0 6px 20px rgb(22 33 58 / 0.08);
	--sh-lg: 0 18px 50px rgb(22 33 58 / 0.15);
	--gutter: clamp(16px, 3vw, 40px);
	--max: 1280px;
	--reading: 46rem;
	--top-h: 180px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--top-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px / 1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

/* Le gras dans un titre garde la graisse du titre : une seule graisse Fredoka (600) à télécharger. */
:is(h1, h2, h3, h4) :is(strong, b) { font-weight: inherit; }
h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	font-family: var(--font-title);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
p, ul, ol, figure, blockquote { margin: 0 0 1em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
ul[class]:not(.wp-block-list), ol[class]:not(.wp-block-list) { list-style: none; padding: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap {
	width: 100%;
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.ic {
	width: 22px;
	height: 22px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ic .fill { fill: currentColor; stroke: none; }

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 10px 18px;
	border-radius: var(--pill);
	background: var(--blue);
	color: var(--white);
	font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Les formes décoratives peuvent dépasser sans créer de défilement horizontal. */
.site-main { overflow-x: clip; }

/* Lien qui rend toute une carte cliquable. */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
/* Cartes entièrement cliquables : le lien étiré couvre la carte ; les autres liens restent au-dessus. */
.persona,
.review,
.post,
.split,
.lieux .empty { position: relative; }
.post .pills { position: relative; z-index: 2; pointer-events: none; }
.post .pills a { pointer-events: auto; }
.contrib .stretched:hover,
.split .stretched:hover,
.lieux .empty .stretched:hover { transform: none; }
.btn.stretched::after { border-radius: 0; }
.persona:hover,
.review:hover { border-color: #c9d8fb; box-shadow: var(--sh); }
.persona,
.review { transition: border-color 0.2s, box-shadow 0.2s; }
/* Navigation au clavier uniquement : un contour discret sur la carte (rien après un clic souris). */
.persona:has(.stretched:focus-visible),
.review:has(.stretched:focus-visible),
.post:has(.stretched:focus-visible),
.rub:has(.stretched:focus-visible),
.contrib:has(.stretched:focus-visible),
.split:has(.stretched:focus-visible),
.lieux .empty:has(.stretched:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.stretched:focus-visible { outline: none; }
.stretched:focus:not(:focus-visible) { outline: none; }

/* ==========================================================================
   Boutons, liens, pastilles
   ========================================================================== */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--pill);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-y { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 20px rgb(255 228 94 / 0.5); }
.btn-b { background: var(--blue); color: var(--white); }
.btn-b:hover { background: var(--blue-dark); }
.btn-o { background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); }
.link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
	white-space: nowrap;
}
.link .ic { width: 18px; height: 18px; transition: transform 0.2s; }
.link:hover { color: var(--blue); }
.link:hover .ic { transform: translateX(3px); }

.pill {
	display: inline-block;
	padding: 6px 14px;
	border-radius: var(--pill);
	background: var(--p-blue);
	color: var(--blue);
	font-size: 13px;
	font-weight: 700;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pills a {
	position: relative;
	z-index: 2;
	padding: 6px 16px;
	border-radius: var(--pill);
	background: var(--p-blue);
	color: var(--blue-ink);
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.2s, color 0.2s;
}
.pills a:hover { background: var(--blue); color: var(--white); }

.mark { color: var(--blue); }
.emo {
	display: inline-grid;
	place-items: center;
	width: 1.7em;
	height: 1.05em;
	margin: 0 0.1em;
	border-radius: var(--pill);
	background: var(--p-blue);
	color: var(--blue);
	vertical-align: -0.05em;
}
.emo .ic { width: 0.62em; height: 0.62em; stroke-width: 2.2; }

.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}
.meta .ic { width: 16px; height: 16px; }
.meta > span { display: inline-flex; align-items: center; gap: 6px; }
.meta__rating { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.top {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(255 255 255 / 0.94);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .top { top: 32px; }
.bar { display: flex; align-items: center; gap: 24px; height: 92px; }
.logo { flex: none; }
.logo img { width: auto; height: 34px; }

.searchbar {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1;
	max-width: 560px;
	height: 60px;
	margin: 0 auto;
	padding: 0 7px 0 26px;
	border: 1px solid var(--line);
	border-radius: var(--pill);
	background: var(--white);
	box-shadow: var(--sh);
	transition: box-shadow 0.2s, border-color 0.2s;
}
.searchbar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgb(29 99 239 / 0.15), var(--sh); }
.searchbar label { flex: 1; min-width: 0; cursor: text; }
.searchbar__label { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.searchbar input {
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	outline: none;
}
.searchbar input::placeholder { color: var(--muted); }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchbar button {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
}
.searchbar button:hover { background: var(--blue-dark); }
.searchbar button .ic { width: 20px; height: 20px; }

.ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	height: 46px;
	padding: 0 20px;
	border: 1.5px solid var(--line);
	border-radius: var(--pill);
	font-weight: 700;
	font-size: 14px;
	transition: border-color 0.2s;
}
.ghost:hover { border-color: var(--ink); }
.ghost .ic { width: 18px; height: 18px; }

.cats { display: flex; justify-content: center; gap: 8px; padding: 2px 0 12px; }
.cat {
	display: grid;
	flex: none; /* les rubriques défilent sur mobile au lieu de se chevaucher */
	justify-items: center;
	gap: 4px;
	min-width: 116px;
	padding: 10px 16px 9px;
	border-radius: 20px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}
.cat .ic { width: 26px; height: 26px; stroke-width: 1.9; }
.cat:hover { background: var(--sand); color: var(--ink); }
.cat.on { background: var(--blue); color: var(--white); box-shadow: 0 6px 16px rgb(29 99 239 / 0.25); }

/* ==========================================================================
   Sections
   ========================================================================== */
.s { padding-block: 72px; }
.head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}
.head h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); color: var(--blue-ink); }
.head p { margin: 6px 0 0; color: var(--muted); }

.crumb { padding-top: 18px; font-size: 14px; }
.crumb ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.crumb li:not(:last-child)::after { content: "›"; margin: 0 8px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue); text-decoration: underline; }
.crumb [aria-current] { font-weight: 600; }

/* ==========================================================================
   Accueil
   ========================================================================== */
.hero {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 56px;
	align-items: center;
	padding: 56px 0 40px;
}
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 16px 8px 8px;
	border-radius: var(--pill);
	background: var(--white);
	box-shadow: var(--sh);
	color: var(--blue);
	font-size: 13px;
	font-weight: 700;
}
.kicker__dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--p-pink); color: var(--pink); }
.kicker__dot .ic { width: 14px; height: 14px; fill: currentColor; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(40px, 5.2vw, 72px); color: var(--blue-ink); }
.underline { position: relative; white-space: nowrap; color: var(--blue); }
.underline svg { position: absolute; left: -2%; bottom: -0.18em; width: 104%; height: 0.42em; overflow: visible; }
.underline path { fill: none; stroke: var(--yellow); stroke-width: 7; stroke-linecap: round; }
.lead { max-width: 30rem; color: var(--muted); font-size: 19px; }
.proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.faces { display: flex; flex: none; }
.faces img { width: 40px; height: 40px; margin-left: -12px; border: 3px solid var(--bg); border-radius: 50%; object-fit: cover; }
.faces img:first-child { margin-left: 0; }
.proof strong { color: var(--ink); }

.visual { position: relative; isolation: isolate; }
.visual > img { width: 100%; aspect-ratio: 1.05; border-radius: 44px; object-fit: cover; object-position: 60% 40%; box-shadow: var(--sh-lg); }
.blob {
	position: absolute;
	top: -30px;
	right: -40px;
	z-index: -1;
	width: 62%;
	aspect-ratio: 1;
	border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%;
	background: var(--yellow);
}
.float {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px 12px 12px;
	border-radius: var(--r);
	background: var(--white);
	box-shadow: var(--sh-lg);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	transition: transform 0.2s;
}
.float:hover { transform: translateY(-3px); }
.float small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float .dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--p-blue); color: var(--blue); }
.f1 { bottom: 56px; left: -36px; }
.f2 { top: 28px; right: 24px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 0; }
.trust li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
}
.trust small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.trust__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 16px; background: var(--p-blue); color: var(--blue); }
.trust__ic--pink { background: var(--p-pink); color: var(--pink); }

/* Rubriques */
.rubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
.rub {
	--c: var(--blue);
	--c-soft: var(--p-blue);
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 210px;
	padding: 28px;
	overflow: hidden;
	border-radius: var(--r-lg);
	background: var(--c-soft);
	transition: transform 0.25s;
}
.rub.tint-yellow { --c: var(--yellow); --c-soft: var(--p-yellow); }
.rub:hover { transform: translateY(-4px); }
.rub h3 { max-width: 60%; margin-bottom: 8px; color: var(--blue-ink); font-size: 26px; }
.rub p { position: relative; flex: 1; max-width: 56%; color: #3e4757; font-size: 14px; }
.rub .count {
	position: relative;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	padding: 8px 14px;
	border-radius: var(--pill);
	background: var(--white);
	font-size: 13px;
	font-weight: 700;
}
.rub .count .ic { width: 15px; height: 15px; }
.rub img { position: absolute; right: -24px; bottom: -24px; width: 46%; aspect-ratio: 1; border: 6px solid var(--c); border-radius: 50%; object-fit: cover; }

/* Près de chez toi */
.tabs { display: inline-flex; gap: 6px; margin-top: 14px; padding: 5px; border-radius: var(--pill); background: var(--white); box-shadow: var(--sh); }
.tabs button { padding: 8px 18px; border: 0; border-radius: var(--pill); background: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.tabs [aria-pressed="true"] { background: var(--ink); color: var(--white); }
.arrows { display: flex; gap: 8px; }
.arrows button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); box-shadow: var(--sh); }
.arrows button:disabled { opacity: 0.4; box-shadow: none; cursor: default; }
.arrows .ic { width: 18px; height: 18px; }
.near {
	display: grid;
	grid-auto-columns: calc((100% - 6 * 4px) / 7);
	grid-auto-flow: column;
	gap: 4px;
	margin: 0;
	padding: 12px;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.near::-webkit-scrollbar { display: none; }
@media (pointer: fine) { .near, .reviews { cursor: grab; } }
.is-dragging { cursor: grabbing !important; scroll-snap-type: none !important; user-select: none; }
.is-dragging a { pointer-events: none; }
.near li { scroll-snap-align: start; }
.place { display: grid; justify-items: center; height: 100%; padding: 14px 8px 18px; border-radius: var(--r); text-align: center; line-height: 1.25; transition: background-color 0.2s; }
.place:hover { background: var(--sand); }
.place > img { width: 92%; aspect-ratio: 1; }
.place small { color: var(--muted); font-size: 13px; font-weight: 600; }
.place b { font-family: var(--font-title); font-weight: 600; font-size: 17px; color: var(--blue-ink); }
.place:hover b { color: var(--blue); }
/* Une couleur par onglet : Concours en bleu, Clubs en vert, Stages en rose (les dessins sont en bleu, on les teinte). */
.place img { transition: filter 0.35s; }
[data-near-type="club"] .place img { filter: hue-rotate(-75deg) saturate(1.2); }
[data-near-type="stage"] .place img { filter: hue-rotate(115deg) saturate(1.1); }
/* Survol : la région se fonce (calque à la forme de la région, en mode « produit »). */
.place__pic { --shade: #a9c2f5; position: relative; display: block; width: 92%; aspect-ratio: 1; }
.place__pic img { display: block; width: 100%; height: 100%; }
.place__pic::after { content: ""; position: absolute; inset: 0; background: var(--shade); -webkit-mask: var(--shape) center / contain no-repeat; mask: var(--shape) center / contain no-repeat; mix-blend-mode: multiply; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.place:hover .place__pic::after { opacity: 1; }
[data-near-type="club"] .place__pic { --shade: #9fdcc2; }
[data-near-type="stage"] .place__pic { --shade: #f5b3cb; }
[data-near-type="club"] .place:hover b { color: #00804f; }
[data-near-type="stage"] .place:hover b { color: var(--pink); }

/* Cartes photo */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { position: relative; }
.card__ph { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card__ph img { transform: scale(1.04); }
.tag:not(body) { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: var(--pill); background: var(--white); font-size: 12px; font-weight: 700; box-shadow: var(--sh); }
.card__title { margin: 14px 0 6px; font-family: var(--font); font-weight: 700; font-size: 17px; line-height: 1.35; }
.card:hover .card__title { color: var(--blue); }

/* Profils */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona { padding: 12px 12px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.persona img { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r); object-fit: cover; }
.persona .lbl { display: inline-flex; align-items: center; gap: 6px; margin: 20px 16px 10px; padding: 6px 14px; border-radius: var(--pill); background: var(--p-blue); color: var(--blue); font-weight: 700; font-size: 13px; }
.persona .lbl .ic { width: 16px; height: 16px; }
.persona h3 { margin: 0 16px 8px; color: var(--blue-ink); font-size: 22px; }
.persona p:not(.lbl) { margin: 0 16px 16px; color: var(--muted); font-size: 15px; }
.persona .link { margin: 0 16px; }

/* Bloc FCI */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px; overflow: hidden; border-radius: 40px; background: var(--blue); color: var(--white); }
.split h2 { font-size: clamp(30px, 3.4vw, 46px); }
.split p { color: rgb(255 255 255 / 0.88); font-size: 17px; }
.split img { width: 100%; aspect-ratio: 4 / 3; border-radius: 28px; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 28px; }
.facts li { padding: 16px; border-radius: 18px; background: rgb(255 255 255 / 0.12); color: rgb(255 255 255 / 0.88); font-size: 13px; line-height: 1.4; }
.facts b { display: block; color: var(--white); font-family: var(--font-title); font-size: 22px; font-weight: 600; white-space: nowrap; }
/* Colonne trop étroite pour 3 cases (tablette, téléphone) : une ligne par chiffre, titre à gauche. */
.split > div:has(> .facts) { container-type: inline-size; }
@container (max-width: 520px) {
	.facts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.facts li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: 13px; }
	.facts b { flex: none; width: 7.2em; font-size: 19px; }
}
@container (max-width: 300px) {
	.facts li { flex-direction: column; align-items: flex-start; gap: 2px; }
	.facts b { width: auto; }
}

/* Témoignages */
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.chip-k { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: var(--pill); background: var(--p-blue); color: var(--blue); font-size: 13px; font-weight: 700; }
.reviews-head h2 { margin: 0; color: var(--blue-ink); font-size: clamp(30px, 3.6vw, 50px); }
.reviews-head h2 span { color: var(--pink); }
.reviews-actions { display: flex; align-items: center; gap: 20px; }
.reviews { display: grid; grid-auto-columns: calc((100% - 3 * 18px) / 3.4); grid-auto-flow: column; gap: 18px; margin: -8px; padding: 8px; overflow-x: auto; scroll-padding-inline: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; }
.review { display: flex; flex-direction: column; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); }
.review .q { height: 26px; color: var(--blue); font-family: var(--font-title); font-size: 54px; line-height: 0.9; }
.review h3 { margin: 12px 0 8px; font-family: var(--font); font-size: 17px; font-weight: 700; }
.review blockquote { flex: 1; margin: 0; color: var(--muted); font-size: 15px; }
.review blockquote p { margin: 0; }
.review h3 a { color: inherit; }
.review h3 a:hover { color: var(--blue); }
.who { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 14px; font-weight: 700; }
.who small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.who__initial { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--p-blue); color: var(--blue-ink); font-family: var(--font-title); font-size: 18px; }

/* Newsletter */
.news { position: relative; padding: 64px 0; overflow: hidden; border-radius: 40px; isolation: isolate; }
.news > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.news::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgb(13 43 107 / 0.92), rgb(29 99 239 / 0.72)); }
.news-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin: 0 48px; padding: 44px 48px; border: 1px solid rgb(255 255 255 / 0.15); border-radius: 28px; background: rgb(255 255 255 / 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); }
.news h2 { font-size: clamp(26px, 2.6vw, 34px); }
.news p { margin: 0; color: rgb(255 255 255 / 0.88); }
.field { display: flex; align-items: center; height: 64px; padding: 6px 6px 6px 26px; border-radius: var(--pill); background: var(--white); }
.field input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.field button { height: 100%; padding: 0 28px; border: 0; border-radius: var(--pill); background: var(--yellow); color: var(--ink); font-weight: 700; }
.news-legal { margin-top: 12px !important; font-size: 12px; text-align: center; }
.news-legal a { color: var(--white); text-decoration: underline; }
.news-done { display: flex; gap: 12px; align-items: center; padding: 18px 22px; border-radius: var(--r); background: var(--white); color: var(--blue-ink) !important; font-weight: 700; }
.news-done .ic { flex: none; width: 26px; height: 26px; color: var(--blue); }
.news-error { margin-bottom: 10px !important; padding: 10px 16px; border-radius: var(--r-sm); background: var(--white); color: #c30d5c !important; font-size: 14px; font-weight: 600; }

/* Contribution */
.contrib { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 56px; overflow: hidden; border-radius: 40px; background: var(--yellow); }
.contrib > div { position: static; }
.contrib h2 { color: var(--blue-ink); font-size: clamp(30px, 3.4vw, 46px); }
.contrib p { max-width: 34rem; margin-bottom: 28px; color: #3d3420; font-size: 17px; }
.contrib .pic { justify-self: center; width: min(100%, 340px); aspect-ratio: 1; overflow: hidden; border: 10px solid var(--white); border-radius: 50%; }
.contrib .pic img { width: 100%; height: 100%; object-fit: cover; }
.bubble { position: absolute; z-index: -1; border-radius: 50%; background: rgb(255 255 255 / 0.28); pointer-events: none; }

/* Texte « Lire plus » */
.about { max-width: 860px; padding-block: 8px 72px; text-align: center; }
.about h2 { color: var(--blue-ink); font-size: clamp(24px, 2.4vw, 30px); }
.about p { color: var(--muted); }
.about summary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1.5px solid var(--ink); border-radius: var(--pill); font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
.about summary::-webkit-details-marker { display: none; }
.about summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.about details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.about details p { margin-top: 16px; }

/* ==========================================================================
   Listes d'articles (blog, rubriques, catégories, recherche)
   ========================================================================== */
.bhero { padding-block: 48px 56px; text-align: center; }
.bhero h1 { max-width: 900px; margin: 0 auto 14px; color: var(--blue-ink); font-size: clamp(32px, 4.4vw, 58px); line-height: 1.22; }
.bhero__intro { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.bhero__intro > :last-child { margin-bottom: 0; }
.bhero__intro a { color: var(--blue); text-decoration: underline; }
.bhero__search { max-width: 560px; margin: 24px auto 0; }
.bhero__search .searchbar { margin: 0; }

.filters { padding: 26px 0; background: var(--p-blue); }
.filters ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.filters a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill); background: var(--white); color: var(--blue); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.filters a:hover { background: var(--blue-ink); color: var(--white); }
.filters a.on { background: var(--blue); color: var(--white); }

.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; padding: 56px 0; }
.bgrid--tight { padding: 0; }
.post { position: relative; }
.cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--p-blue); transition: transform 0.25s; }
.post.tint-yellow .cover { background: var(--p-yellow); }
.post:hover .cover { transform: translateY(-4px); }
.cover strong { position: absolute; top: 50%; left: 24px; z-index: 1; max-width: 50%; color: var(--blue-ink); font-family: var(--font-title); font-weight: 600; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.15; translate: 0 -50%; }
.cover strong em { color: var(--blue); font-style: normal; }
.cover img { position: absolute; top: 50%; right: 18px; width: 38%; aspect-ratio: 1; border: 5px solid var(--white); border-radius: 50%; object-fit: cover; box-shadow: var(--sh); translate: 0 -50%; }
.post__title { margin: 22px 0 14px; font-family: var(--font); font-size: 19px; font-weight: 700; line-height: 1.4; }
.post__title a:hover { color: var(--blue); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-bottom: 24px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: var(--pill); background: var(--white); font-weight: 700; box-shadow: var(--sh); }
.pager a.page-numbers:hover { background: var(--p-blue); }
.pager .current { background: var(--yellow); }
.pager .ic { width: 18px; height: 18px; }

.empty { display: grid; justify-items: center; gap: 16px; margin-block: 56px; padding: 48px 24px; border-radius: var(--r-lg); background: var(--sand); text-align: center; }
.empty p { max-width: 34rem; margin: 0; color: var(--muted); }

.others { padding-block: 16px 24px; }
.others h2 { color: var(--blue-ink); font-size: 24px; }
.others ul,
.others__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.others a,
.others__list a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--pill); font-weight: 600; font-size: 14px; transition: border-color 0.2s, color 0.2s; }
.others a:hover,
.others__list a:hover { border-color: var(--blue); color: var(--blue); }
.others .ic,
.others__list .ic { width: 18px; height: 18px; color: var(--blue); }

/* Régions */
.region-hero img { width: 140px; margin: 0 auto 8px; }
.lieux { padding-block: 48px; }
.lieux section + section { margin-top: 40px; }
.lieux h2 { color: var(--blue-ink); font-size: 28px; }
.lieux__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.lieu { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); }
.lieu h3 { font-family: var(--font); font-size: 17px; font-weight: 700; }
.lieu .meta { margin-bottom: 10px; }
.lieu p:not(.meta) { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Article
   ========================================================================== */
.article__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-block: 32px 48px; }
.article__title { margin: 16px 0 14px; color: var(--blue-ink); font-size: clamp(32px, 4vw, 52px); }
.article__head .lead { margin-bottom: 16px; font-size: 18px; }
.author:not(body) { display: flex; align-items: center; gap: 14px; max-width: 30rem; margin-top: 24px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); }
.author__initial { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--p-blue); color: var(--blue); font-family: var(--font-title); font-size: 22px; font-weight: 600; }
.author__name { margin: 0; font-weight: 700; }
.author__bio { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article__thumb { margin: 0; }
.article__thumb img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); object-fit: cover; box-shadow: var(--sh); }

.article__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-bottom: 24px; }
.article__aside { position: sticky; top: calc(var(--top-h) + 24px); display: grid; align-content: start; gap: 24px; max-height: calc(100vh - var(--top-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
.admin-bar .article__aside { top: calc(var(--top-h) + 56px); }

.toc { border-radius: var(--r); background: var(--sand); }
.toc summary { padding: 16px 20px; font-family: var(--font-title); font-weight: 600; font-size: 18px; list-style: none; cursor: pointer; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0; padding: 0 20px 18px 38px; font-size: 14px; }
.toc li + li { margin-top: 8px; }
.toc li::marker { color: var(--blue); font-weight: 700; }
.toc a { color: var(--muted); }
.toc a:hover,
.toc a.is-active { color: var(--blue); font-weight: 600; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__title { width: 100%; margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.share__btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.share__btn:hover,
.share__btn.is-done { border-color: var(--blue); background: var(--blue); color: var(--white); }
.share__btn .ic { width: 16px; height: 16px; }

.article__cats { margin-top: 40px; }

/* Contenu éditorial */
.entry-content { max-width: var(--reading); font-size: 18px; line-height: 1.75; }
.page-entry .entry-content { margin-inline: auto; padding-bottom: 48px; }
.page-entry__title { max-width: var(--reading); margin: 24px auto 32px; color: var(--blue-ink); font-size: clamp(32px, 4vw, 52px); }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin: 56px 0 16px; color: var(--blue-ink); font-size: clamp(26px, 2.6vw, 34px); }
.entry-content h3 { margin: 36px 0 12px; font-size: 23px; }
.entry-content h4 { margin: 28px 0 10px; font-family: var(--font); font-size: 18px; font-weight: 700; }
.entry-content a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: 6px; }
.entry-content li::marker { color: var(--blue); }
.entry-content img { border-radius: var(--r); }
.entry-content figure { margin: 32px 0; }
.entry-content figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th,
.entry-content td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--sand); }
.entry-content .wp-block-columns { gap: 24px; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: var(--pill); background: var(--blue); color: var(--white); font-size: 16px; font-weight: 700; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--blue-dark); }
.entry-content .is-style-outline .wp-block-button__link { border: 1.5px solid var(--ink); background: none; color: var(--ink); }
.entry-content hr { margin: 48px 0; border: 0; border-top: 1px solid var(--line); }
.entry-content .is-style-a-retenir { position: relative; margin: 56px 0 40px; padding: 40px 28px 24px; border-radius: var(--r-lg); background: var(--p-yellow); }
.entry-content .is-style-a-retenir::before { content: "À retenir"; position: absolute; top: -18px; left: 24px; padding: 6px 18px; border-radius: var(--pill); background: var(--yellow); font-family: var(--font-title); font-weight: 600; font-size: 18px; }
.entry-content .is-style-a-retenir > :last-child,
.entry-content .is-style-encadre > :last-child { margin-bottom: 0; }
.entry-content .is-style-encadre { margin: 40px 0; padding: 28px; border-radius: var(--r-lg); background: var(--p-blue); }
/* Encadrés de mise en forme (style de bloc « Groupe ») : Astuce du juge, Erreur fréquente, Le mot du vocabulaire. */
.entry-content :is(.is-style-astuce-juge, .is-style-erreur-frequente, .is-style-mot-vocabulaire) { --tone: var(--blue); --soft: var(--p-blue); --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 18h6M10 21h4%22/%3E%3Cpath d=%22M12 3a6 6 0 0 0-3.5 10.9c.6.5 1 1.2 1 2V16h5v-.1c0-.8.4-1.5 1-2A6 6 0 0 0 12 3Z%22/%3E%3C/svg%3E"); position: relative; margin: 40px 0; padding: 22px 26px 24px; border-radius: var(--r-lg); background: var(--soft); }
.entry-content .is-style-erreur-frequente { --tone: var(--blue-ink); --soft: var(--sand); --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230d2b6b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 11v5M12 8v.01%22/%3E%3C/svg%3E"); }
.entry-content .is-style-mot-vocabulaire { --tone: #00804f; --soft: #e3f8ef; --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2300804f%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5z%22/%3E%3Cpath d=%22M4 20.5A2.5 2.5 0 0 0 6.5 23H20%22/%3E%3C/svg%3E"); }
.entry-content :is(.is-style-astuce-juge, .is-style-erreur-frequente, .is-style-mot-vocabulaire)::before { display: flex; align-items: center; min-height: 36px; margin-bottom: 12px; padding-left: 48px; color: var(--tone); font-family: var(--font-title); font-size: 19px; font-weight: 600; }
.entry-content .is-style-astuce-juge::before { content: "Astuce du juge"; }
.entry-content .is-style-erreur-frequente::before { content: "Erreur fréquente"; }
.entry-content .is-style-mot-vocabulaire::before { content: "Le mot du vocabulaire"; }
.entry-content :is(.is-style-astuce-juge, .is-style-erreur-frequente, .is-style-mot-vocabulaire)::after { content: ""; position: absolute; top: 22px; left: 26px; width: 36px; height: 36px; border-radius: 50%; background: var(--white) var(--icon) no-repeat center / 20px 20px; }
.entry-content :is(.is-style-astuce-juge, .is-style-erreur-frequente, .is-style-mot-vocabulaire) > :last-child { margin-bottom: 0; }


/* Rangées de photos (blocs Colonnes ne contenant que des images) :
   compactes, toujours sur une ligne, même sur téléphone ; même format pour toutes les photos. */
.entry-content :is(.is-style-photos-verticales, .is-style-photos-horizontales, .wp-block-columns:not(:has(> .wp-block-column > :not(.wp-block-image)))) { flex-wrap: nowrap !important; gap: 16px; margin: 32px auto; }
.entry-content :is(.is-style-photos-verticales, .is-style-photos-horizontales, .wp-block-columns:not(:has(> .wp-block-column > :not(.wp-block-image)))) > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
.entry-content :is(.is-style-photos-verticales, .is-style-photos-horizontales, .wp-block-columns:not(:has(> .wp-block-column > :not(.wp-block-image)))) .wp-block-image { margin: 0; }
.entry-content :is(.is-style-photos-verticales, .is-style-photos-horizontales, .wp-block-columns:not(:has(> .wp-block-column > :not(.wp-block-image)))) img { width: 100%; height: auto; object-fit: cover; border-radius: var(--r); }
.entry-content .is-style-photos-verticales,
.entry-content .wp-block-columns:not(:has(> .wp-block-column > :not(.wp-block-image))):has(> .wp-block-column:nth-child(3)) { max-width: 600px; }
.entry-content .is-style-photos-verticales:not(:has(> .wp-block-column:nth-child(3))) { max-width: 440px; }
.entry-content .is-style-photos-verticales img { aspect-ratio: 2 / 3; }
.entry-content .is-style-photos-horizontales img { aspect-ratio: 3 / 2; }
/* Photo seule : verticale centrée, ou petite centrée. */
.entry-content .wp-block-image.is-style-verticale { max-width: 340px; margin-inline: auto; }
.entry-content .wp-block-image.is-style-verticale img { aspect-ratio: 2 / 3; object-fit: cover; }
.entry-content .wp-block-image.is-style-petite { max-width: 50%; margin-inline: auto; }
/* Photo à côté d'un texte */
.entry-content .wp-block-media-text { gap: 0; margin: 32px 0; }
.entry-content .wp-block-media-text__media img { border-radius: var(--r); }
@media (max-width: 760px) {
	.entry-content :is(.is-style-photos-verticales, .is-style-photos-horizontales, .wp-block-columns:not(:has(> .wp-block-column > :not(.wp-block-image)))) { gap: 8px; }
	.entry-content :is(.is-style-photos-verticales, .is-style-photos-horizontales, .wp-block-columns:not(:has(> .wp-block-column > :not(.wp-block-image)))) img { border-radius: 14px; }
	.entry-content .wp-block-image.is-style-verticale { max-width: 260px; }
	.entry-content .wp-block-image.is-style-petite { max-width: 70%; }
	.entry-content .wp-block-media-text__content { padding: 16px 0 0; }
}

/* Crédits photo : petite étiquette dans le coin, ou une ligne sous une rangée de photos. */
.split__pic { position: relative; margin: 0; }
.article__thumb,
.entry-content .wp-block-image:has(> .photo-credit) { position: relative; }
.photo-credit { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 3px 10px; border-radius: var(--pill); background: rgb(13 43 107 / 0.5); color: rgb(255 255 255 / 0.92); font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: 0.01em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.visual > .photo-credit { top: 20px; right: 20px; bottom: auto; left: auto; }
.photo-credit-row { max-width: 600px; margin: -20px auto 32px; color: var(--muted); font-size: 12px; text-align: right; }
.photo-credit-inline { color: var(--muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 760px) {
	.photo-credit { left: 8px; bottom: 8px; padding: 2px 8px; font-size: 10px; }
	.photo-credit-row { margin-top: -22px; font-size: 11px; }
}

/* FAQ (style de bloc « Groupe ») : questions séparées, sur fond doux. */
.entry-content .is-style-faq { margin: 48px 0; padding: 32px 28px 12px; border-radius: var(--r-lg); background: var(--sand); }
.entry-content .is-style-faq > h2 { margin-top: 0; }
.entry-content .is-style-faq > h3 { margin: 0; padding: 20px 0 8px; border-top: 1px solid var(--line); font-size: 20px; color: var(--blue-ink); }
.entry-content .is-style-faq > h2 + h3,
.entry-content .is-style-faq > h3:first-child { border-top: 0; padding-top: 4px; }
.entry-content .is-style-faq > p { margin-bottom: 16px; }
@media (max-width: 760px) { .entry-content .is-style-faq { padding: 24px 20px 8px; } }


/* Commentaires */
/* Alignés sur la colonne de texte de l'article (à droite du sommaire). */
.comments > * { max-width: var(--reading); margin-left: calc(260px + 64px); }
.comments__head { margin-bottom: 8px; }
.comments h2 { margin-bottom: 6px; color: var(--blue-ink); font-size: clamp(26px, 2.6vw, 32px); }
.comments__head p { margin: 0; color: var(--muted); }
.comment-list,
.comment-list .children { margin-block: 0; padding: 0; list-style: none; }
.comment-list { margin-top: 24px; }
.comment-list > li + li { border-top: 1px solid var(--line); }
.comment-list .children { margin-left: 26px; margin-right: 0; padding-left: 22px; border-left: 2px solid var(--line); }
.cmt { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; }
.children .cmt { grid-template-columns: 40px 1fr; padding: 14px 0; }
.cmt__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-family: var(--font-title); font-size: 18px; font-weight: 600; }
.children .cmt__avatar { width: 40px; height: 40px; font-size: 15px; }
.cmt__avatar--blue { background: var(--p-blue); color: var(--blue); }
.cmt__avatar--yellow { background: var(--p-yellow); color: #8a6d00; }
.cmt__avatar--pink { background: var(--p-pink); color: #c30d5c; }
.cmt__avatar--green { background: #e3f8ef; color: #00804f; }
.cmt__avatar--team { background: var(--blue); color: var(--white); }
.cmt__avatar .ic { width: 22px; height: 22px; }
.cmt__body { min-width: 0; }
.cmt__head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-bottom: 6px; }
.cmt__name { color: var(--ink); font-size: 16px; }
.cmt__badge { padding: 3px 10px; border-radius: var(--pill); background: var(--p-blue); color: var(--blue); font-size: 12px; font-weight: 700; }
.cmt__date { color: var(--muted); font-size: 13px; }
.cmt__date:hover { color: var(--blue); }
.cmt__text p { margin: 0 0 10px; overflow-wrap: anywhere; }
.cmt__text p:last-child { margin-bottom: 0; }
.cmt__pending { margin: 0 0 8px; padding: 8px 14px; border-radius: var(--r-sm); background: var(--p-yellow); font-size: 14px; }
.cmt__actions { margin: 10px 0 0; }
.comment-reply-link { display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--pill); color: var(--ink); font-size: 13px; font-weight: 700; transition: border-color 0.2s, color 0.2s; }
.comment-reply-link:hover { border-color: var(--blue); color: var(--blue); }
.comments .nav-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-weight: 700; }
.comment-respond { margin-top: 32px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh); }
.comment-list .comment-respond { margin: 8px 0 24px; }
.comment-reply-title { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin-bottom: 4px; color: var(--blue-ink); font-size: 24px; }
.comment-reply-title small { font-family: var(--font); font-size: 14px; }
.comment-reply-title small a { color: var(--muted); text-decoration: underline; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.comment-form > * { grid-column: 1 / -1; }
.comment-form > .comment-form-author,
.comment-form > .comment-form-email { grid-column: auto; }
.comment-form p { margin: 0 0 16px; }
.comment-notes { color: var(--muted); font-size: 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea { width: 100%; padding: 13px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--sand); font: inherit; font-size: 16px; transition: border-color 0.2s, background-color 0.2s; }
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--blue); outline: none; background: var(--white); box-shadow: 0 0 0 4px rgb(29 99 239 / 0.15); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.comment-form-cookies-consent label { margin: 0; color: var(--muted); font-weight: 400; }
.form-submit { margin-bottom: 0 !important; }

/* 404 */
.not-found { display: grid; justify-items: center; gap: 16px; padding-block: 72px; text-align: center; }
.not-found h1 { color: var(--blue-ink); font-size: clamp(28px, 3.4vw, 44px); }
.not-found > p { max-width: 34rem; color: var(--muted); }
.not-found__code { margin: 0; color: var(--blue); font-family: var(--font-title); font-size: clamp(88px, 14vw, 160px); font-weight: 600; line-height: 1; }
.not-found__code span { color: var(--pink); }
.not-found__search { width: 100%; max-width: 560px; }
.not-found__search .searchbar { margin: 0; }
.not-found .others__list { justify-content: center; margin-top: 16px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { margin-top: 24px; padding: 64px 0 40px; border-radius: 48px 48px 0 0; background: var(--blue-ink); color: rgb(255 255 255 / 0.78); font-size: 14px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo img { height: 34px; margin-bottom: 16px; }
.footer__title { margin: 0 0 14px; color: var(--white); font-size: 18px; }
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a:hover { color: var(--yellow); }
.legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 13px; }

.tabbar { display: none; }

/* ==========================================================================
   Tablette et petit ordinateur (≤ 1100px)
   ========================================================================== */
@media (max-width: 1100px) {
	.cats { justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
	.cats::-webkit-scrollbar { display: none; }
	.hero { gap: 40px; }
	.f1 { left: -12px; }
	.rubs { grid-template-columns: repeat(2, 1fr); }
	.near { grid-auto-columns: calc((100% - 3 * 4px) / 4); }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.reviews { grid-auto-columns: calc((100% - 18px) / 2.3); }
	.split { gap: 40px; padding: 40px; }
	.bgrid { grid-template-columns: repeat(2, 1fr); }
	.lieux__list { grid-template-columns: repeat(2, 1fr); }
	.article__head { gap: 40px; }
	.article__layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
	.comments > * { margin-left: calc(220px + 40px); }
	.fgrid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Tablette portrait (≤ 900px)
   ========================================================================== */
@media (max-width: 900px) {
	.article__head { grid-template-columns: minmax(0, 1fr); }
	.article__thumb { order: -1; }
	.article__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.comments > * { margin-left: 0; }
	.article__aside { position: static; max-height: none; overflow: visible; }
	.share__title { width: auto; margin: 0 8px 0 0; }
	.news-box { grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0 24px; padding: 32px; }
}

/* ==========================================================================
   Téléphone (≤ 760px)
   ========================================================================== */
@media (max-width: 760px) {
	.comment-form { grid-template-columns: minmax(0, 1fr); }
	.comment-list .children { margin-left: 12px; padding-left: 14px; }
	:root { --top-h: 150px; }
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.admin-bar .top { top: 0; }

	.bar { flex-wrap: wrap; gap: 14px; height: auto; padding: 18px 0 10px; }
	.logo img { height: 28px; }
	.ghost { display: none; }
	.bar .searchbar { order: 3; flex-basis: 100%; height: 56px; padding-left: 22px; box-shadow: 0 4px 16px rgb(22 33 58 / 0.07); }
	.cats { gap: 4px; }
	.cat { min-width: 0; padding: 8px 12px; font-size: 12px; }
	.cat .ic { width: 22px; height: 22px; }

	.s { padding-block: 48px; }
	.head { flex-direction: column; align-items: flex-start; }
	.head .arrows { display: none; }

	.hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0 8px; }
	.hero h1 { margin-top: 18px; }
	.lead { font-size: 17px; }
	.btn { flex: 1 1 100%; min-height: 54px; }
	.visual { order: -1; }
	.visual > img { aspect-ratio: 4 / 3; border-radius: 32px; }
	.blob { top: -20px; right: -30px; }
	.f1 { bottom: -22px; left: 12px; }
	.f2 { display: none; }

	.trust { display: flex; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.trust li { flex: 0 0 78%; scroll-snap-align: start; }

	.rubs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.rub { min-height: 150px; padding: 22px; }
	.rub h3 { font-size: 22px; }

	.near { grid-auto-columns: 40%; }
	.cards,
	.reviews { display: flex; gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
	.card,
	.review { flex: 0 0 78%; scroll-snap-align: start; }
	/* Le doigt ne fait glisser ces bandeaux que sur un geste nettement horizontal (voir main.js) */
	.cards,
	.reviews { position: relative; touch-action: pan-y; }
	.cards a,
	.reviews a,
	.cards img,
	.reviews img { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }
	.personas { grid-template-columns: minmax(0, 1fr); }
	.reviews-head { flex-direction: column; align-items: flex-start; }
	.reviews-actions .arrows { display: none; }

	.split { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px; border-radius: 32px; }
	.split__pic { order: -1; }

	.news { padding: 16px 0; border-radius: 32px; }
	.news-box { margin: 0 12px; padding: 26px 20px; }
	.news h2 { font-size: 24px; }
	.news p { font-size: 15px; overflow-wrap: anywhere; }
	.field { flex-direction: column; align-items: stretch; gap: 8px; height: auto; padding: 6px; border-radius: 24px; }
	.field input { flex: none; height: 50px; padding: 0 16px; }
	.field button { height: 50px; padding: 0 18px; border-radius: 18px; }

	/* Plus compact : petite photo à côté du titre, texte et bouton en dessous */
	.contrib { grid-template-columns: minmax(0, 1fr) 92px; gap: 14px 16px; padding: 26px 22px; border-radius: 32px; }
	.contrib > div:not(.pic) { display: contents; }
	.contrib h2 { grid-column: 1; grid-row: 1; margin: 0; font-size: 25px; }
	.contrib .pic { grid-column: 2; grid-row: 1; width: 92px; border-width: 5px; }
	.contrib p { grid-column: 1 / -1; margin: 0 0 4px; font-size: 15px; }
	.contrib .btn { grid-column: 1 / -1; }

	.bhero { padding-block: 28px 36px; }
	.bhero__intro { font-size: 16px; }
	.filters { padding: 16px 0; }
	.filters ul { flex-wrap: nowrap; justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
	.bgrid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 36px 0; }
	.lieux__list { grid-template-columns: minmax(0, 1fr); }

	.article__head { padding-block: 20px 32px; }
	.entry-content { font-size: 17px; }
	.entry-content h2 { margin-top: 44px; }

	.footer { border-radius: 32px 32px 0 0; }
	.fgrid { gap: 28px; }
	.fgrid > :first-child { grid-column: 1 / -1; }
	.legal { flex-direction: column; gap: 8px; }

	.tabbar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--line);
		background: rgb(255 255 255 / 0.96);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
	}
	.tabbar a { display: grid; justify-items: center; gap: 2px; color: var(--muted); font-size: 11px; font-weight: 600; }
	.tabbar a.on { color: var(--blue); }
	.tabbar .ic { width: 24px; height: 24px; }
}

/* Écrans tactiles : pas d'effets de survol collants. */
@media (hover: none) {
	.btn:hover,
	.rub:hover,
	.float:hover,
	.post:hover .cover { transform: none; }
	.card:hover .card__ph img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
	.top,
	.tabbar,
	.footer,
	.article__aside,
	.contrib,
	.comments { display: none; }
}

/* Formulaire de contact */
.contact-form { max-width: 36rem; margin: 32px 0; padding: 28px; border-radius: var(--r-lg); background: var(--sand); }
.contact-form p { margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font: inherit; font-size: 16px; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgb(29 99 239 / 0.15); }
.contact-form__trap { position: absolute; left: -9999px; }
.contact-form__legal { color: var(--muted); font-size: 14px; }
.notice { margin: 24px 0; padding: 16px 20px; border-radius: var(--r-sm); font-weight: 600; }
.notice--ok { background: #ddf7ec; color: #046b43; }
.notice--error { background: var(--p-pink); color: #a1004a; }

/* ==========================================================================
   Confort de lecture et de navigation
   ========================================================================== */

/* Barre de progression de lecture (articles) */
.read-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 60; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .read-progress { top: 32px; }

/* Sommaire : partie en cours mise en avant */
.toc ol { padding: 0 12px 14px; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { position: relative; display: block; padding: 6px 10px 6px 34px; border-radius: 12px; line-height: 1.35; transition: background-color 0.2s, color 0.2s; }
.toc a::before { content: counter(toc); position: absolute; top: 6px; left: 8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--white); color: var(--blue); font-size: 11px; font-weight: 700; transition: background-color 0.2s, color 0.2s; }
.toc li + li { margin-top: 2px; }
.toc a.is-active { background: var(--white); color: var(--blue-ink); font-weight: 700; box-shadow: var(--sh); }
.toc a.is-active::before { background: var(--blue); color: var(--white); }
.toc a.is-done::before { background: var(--p-blue); }
.toc__progress { margin: -6px 20px 14px; color: var(--muted); font-size: 12px; font-weight: 600; }

/* Partage */
.share__btn--whatsapp:hover { border-color: #1fa855; background: #1fa855; }
.share-end { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 32px; color: var(--muted); font-size: 13px; font-weight: 600; }
.share-end > span { margin-right: 6px; }
.share-end .share__btn { width: 32px; height: 32px; border-color: transparent; background: var(--sand); color: var(--muted); }
.share-end .share__btn .ic { width: 15px; height: 15px; }
.share-end .share__btn:hover,
.share-end .share__btn.is-done { border-color: var(--blue); background: var(--blue); color: var(--white); }

/* Carte auteur */
.author-card { position: relative; display: flex; gap: 20px; margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.author-card__initial { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--p-blue); color: var(--blue); font-family: var(--font-title); font-size: 30px; font-weight: 600; }
.author-card__kicker { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.author-card__name { margin: 0 0 6px; color: var(--blue-ink); font-family: var(--font-title); font-size: 22px; font-weight: 600; }
.author-card__bio { margin: 0 0 12px; color: var(--muted); font-size: 15px; }

/* Article précédent / suivant */
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pn__card { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s; }
.pn__card--next { flex-direction: row-reverse; text-align: right; }
.pn__card:hover { border-color: #c9d8fb; box-shadow: var(--sh); transform: translateY(-3px); }
.pn__card img { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.pn__card > div { min-width: 0; }
.pn__dir { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--blue); font-size: 13px; font-weight: 700; }
.pn__card--next .pn__dir { justify-content: flex-end; }
.pn__dir .ic { width: 16px; height: 16px; }
.pn__title { display: -webkit-box; overflow: hidden; color: var(--blue-ink); font-family: var(--font-title); font-size: 19px; font-weight: 600; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.author-card:has(.stretched:focus-visible),
.pn__card:has(.stretched:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Recherche instantanée */
.searchbar { position: relative; }
.sugg { position: absolute; top: calc(100% + 10px); right: 0; left: 0; z-index: 70; max-height: min(70vh, 520px); padding: 10px; overflow-y: auto; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--sh-lg); text-align: left; }
.sugg[hidden] { display: none; }
.sugg__group { margin: 8px 12px 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.sugg__item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 18px; color: var(--ink); }
.sugg__item.is-active,
.sugg__item:hover { background: var(--sand); }
.sugg__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 14px; background: var(--p-blue); color: var(--blue); }
.sugg__icon .ic { width: 20px; height: 20px; }
.sugg__icon img { width: 100%; height: 100%; object-fit: cover; }
.sugg__text { min-width: 0; }
.sugg__title { display: block; overflow: hidden; font-weight: 700; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.sugg__title mark { background: none; color: var(--blue); }
.sugg__sub { display: block; color: var(--muted); font-size: 13px; }
.sugg__all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px 4px 2px; padding: 12px; border-radius: 18px; background: var(--p-blue); color: var(--blue); font-weight: 700; font-size: 14px; }
.sugg__all .ic { width: 16px; height: 16px; }
.sugg__empty { margin: 14px 12px; color: var(--muted); font-size: 14px; }

/* En-tête réduit au défilement (ordinateur) */
@media (min-width: 761px) {
	.top .bar { transition: height 0.25s; }
	.top .cats { transition: max-height 0.3s, opacity 0.2s, padding 0.3s; max-height: 120px; overflow-y: clip; }
	.top .searchbar { transition: height 0.25s, box-shadow 0.2s, border-color 0.2s; }
	.top.is-compact .bar { height: 80px; }
	.top.is-compact .searchbar { height: 52px; }
	.top .searchbar button { transition: width 0.25s, height 0.25s; }
	.top.is-compact .searchbar button { width: 40px; height: 40px; }
	.top.is-compact .cats { max-height: 0; padding-block: 0; opacity: 0; }
	.top.is-compact { box-shadow: 0 6px 24px rgb(22 33 58 / 0.06); }
	body:has(.top.is-compact) { --top-h: 81px; }
}

/* Retour en haut */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--blue-ink); box-shadow: var(--sh); opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background-color 0.2s, color 0.2s; }
.to-top.is-visible { opacity: 1; transform: none; visibility: visible; }
.to-top:hover { background: var(--blue); color: var(--white); }
.to-top .ic { width: 20px; height: 20px; }

/* Sommaire sur mobile : petit bouton discret + panneau en bas de l'écran */
.toc-fab { display: none; }
.toc-sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: 560px; max-height: 70vh; margin: 0 auto; padding: 0 0 calc(12px + env(safe-area-inset-bottom)); border: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--white); color: var(--ink); box-shadow: 0 -12px 40px rgb(22 33 58 / 0.18); overflow-y: auto; overscroll-behavior: contain; transform: translateY(100%); transition: transform 0.22s ease; }
.toc-sheet.is-open { transform: none; }
.toc-sheet::backdrop { background: rgb(13 43 107 / 0.25); }
.toc-sheet__head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; background: var(--white); }
.toc-sheet__head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 4px; background: var(--line); }
.toc-sheet__title { margin: 0; font-family: var(--font-title); font-weight: 600; font-size: 18px; color: var(--blue-ink); }
.toc-sheet__close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sand); color: var(--blue-ink); cursor: pointer; }
.toc-sheet__close .ic { width: 16px; height: 16px; }
.toc--sheet { background: none; }
.toc--sheet ol { padding: 0 12px 8px; font-size: 15px; }
.toc--sheet a { padding-block: 10px; }
.toc--sheet a::before { top: 10px; background: var(--sand); }
@media (max-width: 900px) {
	.toc-fab { position: fixed; left: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 55; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: var(--pill); background: rgb(255 255 255 / 0.94); color: var(--blue-ink); font: inherit; font-size: 13px; font-weight: 600; box-shadow: var(--sh); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
	.toc-fab[hidden] { display: none; }
	.toc-fab.is-visible { opacity: 1; transform: none; visibility: visible; }
	.toc-fab .ic { width: 16px; height: 16px; color: var(--blue); }
}
@media (min-width: 761px) and (max-width: 900px) {
	.toc-fab { bottom: 24px; left: 24px; }
}

/* Apparition au défilement (ajoutée en JavaScript, désactivée si l'utilisateur réduit les animations) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* Survol plus vivant des cartes */
.post .cover img,
.card__ph img,
.persona img { transition: transform 0.5s ease; }
.post:hover .cover img { transform: scale(1.06); }
.persona { overflow: hidden; }
.review { transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s; }

@media (max-width: 760px) {
	.pn { grid-template-columns: minmax(0, 1fr); }
	.pn__card img { width: 72px; height: 72px; }
	.author-card { flex-direction: column; gap: 14px; padding: 22px; }
	.to-top { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
	.author-card { flex-direction: row; align-items: flex-start; }
	.author-card__initial { width: 52px; height: 52px; font-size: 22px; }
	/* En-tête réduit : on garde la recherche, les rubriques restent dans la barre du bas */
	.top .cats { max-height: 120px; overflow-y: clip; transition: max-height 0.3s, opacity 0.2s, padding 0.3s; }
	.top.is-compact .cats { max-height: 0; padding-block: 0; opacity: 0; }
	/* En lisant : on ne garde que la recherche, avec de l'air autour */
	.top .logo { max-height: 40px; overflow: hidden; transition: max-height 0.3s, opacity 0.2s; }
	.top.is-compact .logo { max-height: 0; opacity: 0; }
	.top.is-compact .bar { row-gap: 0; padding: 12px 0; }
	.top.is-compact .searchbar { height: 50px; }
	.top.is-compact .searchbar button { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.read-progress { display: none; }
}

/* ==========================================================================
   Survol des cartes : léger et lisible (souris uniquement)
   Les boutons étirés ne bougent pas (transform casserait la zone cliquable) : on joue sur la couleur et l'ombre.
   ========================================================================== */
@media (hover: hover) {
	.rub,
	.persona,
	.review,
	.split,
	.contrib { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.25s; }
	.rub img,
	.split img,
	.contrib .pic img,
	.persona img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }

	/* Rubriques */
	.rub:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgb(29 99 239 / 0.14); }
	.rub.tint-yellow:hover { box-shadow: 0 18px 40px rgb(214 176 0 / 0.18); }
	.rub img { transform-origin: 100% 100%; }
	.rub:hover img { transform: scale(1.06); }
	.rub .count { transition: background-color 0.25s, color 0.25s; }
	.rub .count .ic { transition: transform 0.25s; }
	.rub:hover .count { background: var(--blue-ink); color: var(--white); }
	.rub:hover .count .ic { transform: translateX(3px); }

	/* Tu te reconnais ? */
	.persona:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 18px 40px rgb(22 33 58 / 0.1); }
	.persona:hover img { transform: scale(1.04); }
	.persona:hover .link { color: var(--blue); }
	.persona:hover .link .ic { transform: translateX(3px); }

	/* Avis */
	.review:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 18px 40px rgb(22 33 58 / 0.1); }
	.review:hover h3 a { color: var(--blue); }

	/* Encadré FCI et bloc « Et si tu écrivais » : tout le bloc réagit, le bouton s'illumine */
	.split:hover img { transform: scale(1.03); }
	.split .btn-y { transition: box-shadow 0.3s, background-color 0.3s; }
	.split:hover .btn-y { background: #ffeb85; box-shadow: 0 10px 28px rgb(255 228 94 / 0.65), 0 0 0 6px rgb(255 255 255 / 0.12); }
	.contrib:hover .pic img { transform: scale(1.06); }
	.contrib .btn-b { transition: box-shadow 0.3s, background-color 0.3s; }
	.contrib:hover .btn-b { background: var(--blue-dark); box-shadow: 0 10px 24px rgb(29 99 239 / 0.3); }

	/* Cartes d'articles */
	.post:hover .post__title a { color: var(--blue); }
	.author-card { transition: border-color 0.25s, box-shadow 0.35s; }
	.author-card:hover { border-color: transparent; box-shadow: 0 18px 40px rgb(22 33 58 / 0.1); }
	.author-card:hover .link { color: var(--blue); }
	.author-card:hover .link .ic { transform: translateX(3px); }
}

/* ==========================================================================
   Notes en étoiles
   ========================================================================== */
.stars { position: relative; display: inline-flex; flex: none; line-height: 0; vertical-align: middle; }
.stars svg { width: 15px; height: 15px; }
.stars__bg { display: inline-flex; gap: 1px; fill: #dfe5ef; }
.stars__fg { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 1px; width: var(--fill); overflow: hidden; fill: #f5b301; white-space: nowrap; }
.rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; }
.rating b { font-weight: 700; }
.rating__count { color: var(--muted); }
.rating--empty .stars__bg { fill: #e7ebf2; }
.meta .rating { margin-right: 2px; }
.post__rating { margin: -6px 0 6px; line-height: 1; }
.post__meta { margin: 0 0 14px; }
.card__rating { margin: 2px 0 4px; line-height: 1; }
.card__rating + .meta { margin-top: 0; }
a.rating { text-decoration: none; }
a.rating span { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
a.rating:hover span { color: var(--blue); text-decoration-color: currentColor; }
.article__head .meta .rating .stars svg { width: 17px; height: 17px; }
.cmt__rating .stars svg { width: 14px; height: 14px; }

/* Choix de la note dans le formulaire de commentaire */
.comment-form-rating { margin: 0 0 16px; padding: 0; border: 0; }
.comment-form-rating legend { margin-bottom: 6px; padding: 0; font-weight: 600; font-size: 14px; }
.comment-form-rating legend span { color: var(--muted); font-weight: 400; }
.rate { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 !important; border-radius: 50%; cursor: pointer; transition: transform 0.15s, background-color 0.2s; }
.rate label svg { fill: #dfe5ef; transition: fill 0.15s; }
.rate label:hover,
.rate label:hover ~ label,
.rate input:checked ~ label { background: none; }
.rate label:hover svg,
.rate label:hover ~ label svg,
.rate input:checked ~ label svg { fill: #f5b301; }
.rate label:hover { transform: scale(1.12); }
.rate input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ==========================================================================
   « Pose ta question »
   ========================================================================== */
.search-none { margin: 8px 0 0; color: var(--muted); text-align: center; }
.search-none a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.ask { display: flex; gap: 22px; max-width: 860px; margin: 48px auto 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--p-blue); }
.ask__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: var(--sh); }
.ask__icon .ic { width: 24px; height: 24px; }
.ask__body { flex: 1; min-width: 0; }
.ask h2 { margin: 6px 0 8px; color: var(--blue-ink); font-size: clamp(24px, 2.6vw, 30px); }
.ask p { color: var(--muted); }
.ask__form { display: grid; gap: 12px; margin-top: 16px; }
.ask__form textarea,
.ask__form input[type="email"] { width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font: inherit; font-size: 16px; }
.ask__form textarea { resize: vertical; }
.ask__form textarea:focus,
.ask__form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgb(29 99 239 / 0.15); }
.ask__row { display: flex; gap: 12px; }
.ask__row input { flex: 1; min-width: 0; border-radius: var(--pill) !important; }
.ask__row .btn { flex: none; }
.ask__done { padding: 14px 18px; border-radius: var(--r); background: var(--white); color: var(--blue-ink) !important; font-weight: 600; }
.ask__error { color: #c30d5c !important; font-weight: 600; }
.sugg__ask { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 4px 4px; padding: 10px; border-radius: 18px; color: var(--muted); font-weight: 600; font-size: 13px; }
.sugg__ask .ic { width: 15px; height: 15px; }
.sugg__ask:hover,
.sugg__ask.is-active { background: var(--sand); color: var(--blue); }

@media (max-width: 760px) {
	.ask { flex-direction: column; gap: 14px; }
	.ask__row { flex-direction: column; }
}

/* Bandeau de confiance en défilement automatique (mobile, ajouté en JavaScript) */
@keyframes trust-marquee { to { transform: translateX(calc(-1 * var(--shift, 0px))); } }
@media (max-width: 760px) {
	.trust.is-marquee { overflow: hidden; scroll-snap-type: none; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
	.trust.is-marquee li { flex: 0 0 auto; width: min(78vw, 300px); animation: trust-marquee var(--dur, 20s) linear infinite; }
	.trust.is-marquee:active li { animation-play-state: paused; }
}

/* Complianz : le bouton flottant « Gérer le consentement » masquait le contenu ; les choix restent
   modifiables via le lien « Gestion des cookies » du pied de page. */
body:not(.page-gestion-des-cookies) #cmplz-manage-consent { display: none !important; }
/* Bandeau cookies : liens assez grands pour le doigt. Les liens TCF (« Gérer les options »,
   « Gérer {vendor_count} fournisseurs »…) ne servent pas ici : le bouton « Voir les préférences » suffit. */
.cmplz-cookiebanner .cmplz-links a.cmplz-link { display: inline-block; padding: 6px 4px; }
.cmplz-cookiebanner .cmplz-links.cmplz-information { display: none !important; }
/* Téléphone : le bandeau s'arrête au-dessus de la barre du bas, sans la recouvrir. */
@media (max-width: 760px) {
	.cmplz-cookiebanner { bottom: calc(63px + env(safe-area-inset-bottom)) !important; max-height: calc(100dvh - 80px - env(safe-area-inset-bottom)); overflow-y: auto; }
}
.legal .cmplz-show-banner { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* Formulaire Google intégré */
.entry-content .gform { display: grid; gap: 14px; margin: 32px 0; }
.entry-content .gform__open { justify-self: start; gap: 8px; color: var(--white); text-decoration: none; }
.entry-content .gform__open:hover { color: var(--white); }
.gform__open .ic { width: 16px; height: 16px; }
.gform iframe { display: block; width: 100%; height: min(1400px, 80vh); min-height: 560px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh); }
@media (max-width: 760px) {
	.entry-content .gform__open { justify-self: stretch; justify-content: center; }
	.gform iframe { height: 75vh; border-radius: var(--r); }
}

/* ==========================================================================
   Carte de France cliquable
   ========================================================================== */
.fmap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; margin-block: 24px 56px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--sand); }
.fmap h2 { margin: 0 0 8px; color: var(--blue-ink); font-size: clamp(26px, 3vw, 36px); }
.fmap__intro > p { margin: 0 0 14px; color: var(--muted); }
.fmap__hint { min-height: 1.5em; color: var(--blue-ink) !important; font-family: var(--font-title); font-size: 20px; font-weight: 600; }
.fmap__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fmap__chip { display: inline-block; padding: 7px 14px; border-radius: var(--pill); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.fmap__svg { display: block; width: 100%; max-width: 540px; height: auto; aspect-ratio: 600 / 700; justify-self: center; overflow: visible; }
.fmap__r path { fill: var(--soft); stroke: var(--white); stroke-width: 1.6; stroke-linejoin: round; transition: fill 0.2s; }
.fmap__box { fill: var(--white); }
/* Une seule couleur : régions bleu clair, survol en jaune, région de la page en bleu. */
.fmap { --soft: #d6e3fc; }
.fmap__r { cursor: pointer; }
.fmap__r:hover path,
.fmap__r:focus-visible path,
.fmap__r.is-hot path { fill: var(--yellow); }
.fmap__r.is-current path { fill: var(--blue); }
.fmap__r:focus-visible { outline: none; }
.fmap__chip:hover,
.fmap__chip.is-hot { background: var(--yellow); color: var(--ink); }
.fmap__chip.is-current { background: var(--blue); color: var(--white); }
.fmap--small { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.fmap--small .fmap__svg { max-width: 360px; justify-self: center; }
@media (max-width: 900px) {
	.fmap,
	.fmap--small { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.fmap__svg { order: -1; max-width: 460px; justify-self: center; }
	.fmap__hint { display: none; }
}

/* « En bref » : petit encadré de points clés en haut de l'article */
.tldr { max-width: var(--reading); margin: 0 0 32px; padding: 16px 20px; border-radius: var(--r); background: var(--p-yellow); font-size: 15px; }
.tldr__label { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--blue-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.tldr__label .ic { width: 15px; height: 15px; color: var(--blue); }
.tldr ul { margin: 0; padding-left: 18px; color: var(--ink); line-height: 1.55; }
.tldr li + li { margin-top: 3px; }
.tldr li::marker { color: var(--blue); }

/* 404 : le « 0 » est une photo ronde */
.not-found .not-found__code { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--blue); }
.not-found__dog { display: inline-block; width: clamp(96px, 13vw, 150px); aspect-ratio: 1; overflow: hidden; border: 6px solid var(--yellow); border-radius: 50%; box-shadow: var(--sh); transform: rotate(-6deg); }
.not-found__dog img { width: 100%; height: 100%; object-fit: cover; }

/* Rubrique encore vide */
.soon { display: flex; align-items: center; gap: 32px; margin: 40px 0 8px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--p-blue); }
.soon__pic { flex: none; width: 140px; aspect-ratio: 1; overflow: hidden; border: 6px solid var(--white); border-radius: 50%; box-shadow: var(--sh); }
.soon__pic img { width: 100%; height: 100%; object-fit: cover; }
.soon__body { flex: 1; min-width: 0; }
.soon__kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 5px 12px; border-radius: var(--pill); background: var(--white); color: var(--blue); font-size: 13px; font-weight: 700; }
.soon__kicker .ic { width: 15px; height: 15px; }
.soon h2 { margin: 0 0 8px; color: var(--blue-ink); font-size: clamp(24px, 2.8vw, 32px); }
.soon__body > p:not(.soon__kicker) { margin: 0 0 16px; color: var(--muted); }
.soon__form { display: flex; gap: 10px; max-width: 520px; }
.soon__form input[type="email"] { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); font: inherit; font-size: 16px; }
.soon__form input[type="email"]:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgb(29 99 239 / 0.15); }
.soon__done { margin: 12px 0 0 !important; color: var(--blue-ink) !important; font-weight: 600; }
@media (max-width: 760px) {
	.soon { flex-direction: column; gap: 14px; padding: 28px 20px 24px; text-align: center; }
	.soon__pic { width: 84px; border-width: 4px; }
	.soon__body > p:not(.soon__kicker) { font-size: 15px; }
	.soon__form { flex-direction: column; }
	.soon__form input[type="email"] { flex: none; width: 100%; }
}

/* ==========================================================================
   Harmonie des photos : un même traitement, lumineux et peps
   ========================================================================== */
.hero img,
.visual > img,
.rub img,
.persona img,
.card__ph img,
.cover img,
.article__thumb img,
.split img,
.contrib .pic img,
.news > img,
.pn__card img,
.sugg__icon img,
.soon__pic img,
.not-found__dog img,
.entry-content .wp-block-image img,
.entry-content figure img { filter: saturate(1.14) contrast(1.05) brightness(1.03); }

/* ==========================================================================
   Tableaux et citations dans les articles
   ========================================================================== */
.entry-content .wp-block-table { margin: 32px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content .wp-block-table thead,
.entry-content .wp-block-table tfoot { border: 0; }
.entry-content .wp-block-table table { border: 0; }
.entry-content th,
.entry-content td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th,
.entry-content table tr:first-child th { background: var(--p-blue); color: var(--blue-ink); font-weight: 700; }
.entry-content tbody tr:nth-child(even) { background: var(--sand); }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content .wp-block-table figcaption { padding: 10px 16px; color: var(--muted); font-size: 13px; }

.entry-content blockquote,
.entry-content .wp-block-quote { position: relative; margin: 40px 0; padding: 28px 28px 24px 76px; border: 0; border-radius: var(--r-lg); background: var(--p-blue); color: var(--blue-ink); font-size: 18px; line-height: 1.6; }
.entry-content blockquote::before,
.entry-content .wp-block-quote::before { content: "“"; position: absolute; top: 14px; left: 24px; color: var(--blue); font-family: var(--font-title); font-size: 72px; font-weight: 600; line-height: 1; }
.entry-content blockquote p:last-of-type { margin-bottom: 0; }
.entry-content blockquote cite,
.entry-content .wp-block-quote cite { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; font-style: normal; font-weight: 600; }
.entry-content blockquote cite::before { content: "— "; }
.entry-content .wp-block-pullquote { margin: 48px 0; padding: 32px; border: 0; border-radius: var(--r-lg); background: var(--yellow); text-align: center; }
.entry-content .wp-block-pullquote blockquote { margin: 0; padding: 0; background: none; font-family: var(--font-title); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.35; }
.entry-content .wp-block-pullquote blockquote::before { display: none; }
@media (max-width: 760px) {
	.entry-content blockquote,
	.entry-content .wp-block-quote { padding: 54px 20px 20px; font-size: 17px; }
	.entry-content blockquote::before,
	.entry-content .wp-block-quote::before { top: 8px; left: 18px; font-size: 60px; }
}


/* ==========================================================================
   « Trouver mon concours » (code court [binoom_trouver_concours])
   ========================================================================== */
.cf { margin: 32px 0 48px; font-size: 16px; line-height: 1.5; }
.cf [hidden] { display: none !important; }
.entry-content .cf li + li { margin-top: 0; }
.cf-card { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh); }
.entry-content .cf h3,
.entry-content .cf h4 { margin: 0; }
.cf-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px); overflow: hidden; border-radius: var(--r-lg); background: var(--blue); color: var(--white); box-shadow: var(--sh-lg); }
.cf-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 5px 14px; border-radius: var(--pill); background: var(--yellow); color: var(--blue-ink); font-size: 13px; font-weight: 700; }
.cf-hero__eyebrow .ic { width: 15px; height: 15px; }
.entry-content .cf .cf-hero__title { margin: 0 0 14px; color: var(--white); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; }
.cf-hero__sub { margin: 0 0 22px; color: rgb(255 255 255 / 0.88); font-size: 16px; }
.cf-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.entry-content .cf-hero__stats li { margin: 0; padding: 12px 12px 10px; border-radius: 18px; background: rgb(255 255 255 / 0.12); color: rgb(255 255 255 / 0.85); font-size: 12.5px; line-height: 1.3; }
.cf-hero__stats b { display: block; color: var(--white); font-family: var(--font-title); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.1; }
.cf-hero__cta { min-height: 56px; padding-inline: 28px; font-size: 17px; }
.cf-hero__map { margin: 0; text-align: center; }
.cf-hero__map > svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; overflow: visible; }
.cf-map__r { cursor: pointer; outline: none; }
.cf-map__r path,
.cf-map__r .cf-map__box { fill: rgb(255 255 255 / 0.2); stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; transition: fill 0.2s; }
.cf-map__r .cf-map__box { fill: rgb(255 255 255 / 0.06); }
.cf-map__r:hover path,
.cf-map__r:focus-visible path { fill: var(--yellow); }
.cf-map__r.is-empty { cursor: default; }
.cf-map__r.is-empty path { fill: rgb(255 255 255 / 0.08); }
.cf-hero__map figcaption { min-height: 1.5em; margin-top: 10px; color: rgb(255 255 255 / 0.85); font-size: 13px; font-weight: 600; }
@media (max-width: 760px) {
	.cf-hero { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 28px 22px 24px; }
	.cf-hero__stats { gap: 6px; }
	.cf-hero__stats li { padding: 10px 8px 8px; font-size: 11.5px; }
	.cf-hero__cta { width: 100%; justify-content: center; }
	.cf-hero__map { display: flex; flex-direction: column-reverse; margin-top: 16px; }
	.cf-hero__map figcaption { margin: 0 0 10px; }
	.cf-hero__map > svg { max-width: 320px; }
}
.cf .btn .ic { width: 18px; height: 18px; }

.cf-progress { display: flex; align-items: center; max-width: 360px; margin: 0 auto 20px; }
.cf-dot { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--muted); font-weight: 700; font-size: 14px; transition: background-color 0.2s, color 0.2s; }
.cf-dot.is-active { background: var(--blue); color: var(--white); }
.cf-dot.is-done { background: var(--p-blue); color: var(--blue); }
.cf-line { flex: 1; height: 2px; margin: 0 8px; border-radius: 2px; background: var(--line); }

.cf-step__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 6px; }
.entry-content .cf-question { display: flex; align-items: center; gap: 10px; color: var(--blue-ink); font-size: clamp(20px, 2.2vw, 24px); }
.cf-question .ic { width: 22px; height: 22px; color: var(--blue); }
.cf-hint { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.cf-skip { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cf-skip:hover { color: var(--blue); }

.cf-search { position: relative; }
.cf-search > .ic { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.cf-search input { width: 100%; height: 54px; padding: 0 20px 0 48px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--sand); color: var(--ink); font: inherit; font-size: 16px; }
.cf-search input:focus { border-color: var(--blue); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgb(29 99 239 / 0.12); }
.cf-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; max-height: 280px; margin: 0; padding: 6px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--sh-lg, var(--sh)); list-style: none; }
.cf-dropdown li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; cursor: pointer; }
.cf-dropdown li small { color: var(--muted); font-weight: 500; white-space: nowrap; }
.cf-dropdown li.is-hi,
.cf-dropdown li[data-dept]:hover { background: var(--p-blue); color: var(--blue-ink); }
.cf-dropdown .cf-dropdown__empty { color: var(--muted); font-weight: 500; cursor: default; }

.cf-selected { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.cf-selected__label { width: 100%; margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cf-chips { display: contents; margin: 0; padding: 0; list-style: none; }
.cf-chips li { margin: 0; }
.cf-chips button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 14px; border: 0; border-radius: var(--pill); background: var(--blue); color: var(--white); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cf-chips button span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgb(255 255 255 / 0.2); font-size: 15px; line-height: 1; }
.cf-chips button:hover span { background: rgb(255 255 255 / 0.35); }
.cf-clear { padding: 7px 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

.cf-label { margin: 24px 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cf-regions { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-region { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.cf-region small { min-width: 22px; padding: 1px 7px; border-radius: var(--pill); background: var(--sand); color: var(--muted); font-size: 12px; text-align: center; }
.cf-region:hover { border-color: var(--blue); color: var(--blue); }
.cf-region.is-on { border-color: var(--blue); background: var(--blue); color: var(--white); }
.cf-region.is-on small { background: rgb(255 255 255 / 0.2); color: var(--white); }
.cf-region:disabled { opacity: 0.45; cursor: default; }

.cf-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
@media (min-width: 700px) { .cf-choices:not(.cf-choices--2) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cf-choice { min-height: 64px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); font: inherit; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.cf-choice:hover { border-color: var(--blue); color: var(--blue); }
.cf-choice.is-on { border-color: var(--blue); background: var(--p-blue); color: var(--blue-ink); box-shadow: inset 0 0 0 1px var(--blue); }

.cf-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.cf-nav .btn { margin-left: auto; }
.cf-count { margin: 24px 0 0; color: var(--blue-ink); font-size: 14px; font-weight: 600; }
.cf-count + .cf-nav { margin-top: 14px; }
.cf-results__actions { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }
.cf-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.cf-back:hover { color: var(--blue); }
.cf-back .ic { width: 16px; height: 16px; }

.cf-results__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.cf-results__count { margin: 0; color: var(--blue-ink); font-family: var(--font-title); font-size: 24px; font-weight: 600; }
.cf-results__filters { margin: 4px 0 20px; color: var(--muted); font-size: 14px; }
.cf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cf-empty { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.cf-event { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.cf-event p { margin: 0; }
.cf-event__date { color: var(--blue); font-size: 14px; font-weight: 700; }
.entry-content .cf-event__place { margin: 2px 0 8px; color: var(--blue-ink); font-size: 19px; line-height: 1.25; }
.cf-event__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px !important; }
.cf-event__tags span { padding: 2px 10px; border-radius: var(--pill); background: var(--sand); color: var(--muted); font-size: 12px; font-weight: 600; }
.cf-event__tags .is-champ { background: var(--p-yellow); color: var(--blue-ink); }
.cf-event__club { color: var(--ink); font-size: 14px; font-weight: 600; }
.cf-event__meta { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }

@media (max-width: 760px) {
	.cf-card { padding: 22px 18px; }
	.cf-progress { max-width: 260px; }
	.cf-regions { gap: 6px; }
	.cf-region { gap: 6px; padding: 7px 10px 7px 12px; font-size: 13px; }
	.cf-region small { min-width: 0; padding: 0 6px; font-size: 11px; }
	.cf-chips button { padding: 6px 8px 6px 12px; font-size: 13px; }
	.cf-nav .btn { width: 100%; justify-content: center; }
	.cf-nav .cf-back { order: 2; margin: 0 auto; }
}

/* « Trouver mon concours » : retour à la carte, point de départ, distances */
.cf-topbar { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.cf-topbar .cf-back { padding: 4px 0; }
.cf-from { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 16px; margin: 0 0 20px; padding: 18px 20px; border-radius: var(--r); background: var(--p-blue); }
.cf-from__field label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--blue-ink); font-size: 14px; font-weight: 700; }
.cf-from__field label .ic { width: 16px; height: 16px; color: var(--blue); }
.cf-from .cf-search input { height: 48px; background: var(--white); }
.cf-sort { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--white); }
.cf-sort__btn { padding: 8px 14px; border: 0; border-radius: var(--pill); background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cf-sort__btn.is-on { background: var(--blue); color: var(--white); }
.cf-from__note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.cf-event { display: flex; flex-direction: column; }
.cf-event__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.cf-event__km { padding: 3px 10px; border-radius: var(--pill); background: var(--p-yellow); color: var(--blue-ink); font-size: 13px; font-weight: 700; }
.entry-content .cf-event__route { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 14px; border-radius: var(--pill); background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; }
.entry-content .cf-event__route:hover { background: var(--blue-ink); color: var(--white); }
@media (max-width: 760px) {
	.cf-from { grid-template-columns: minmax(0, 1fr); padding: 16px; }
	.cf-sort { justify-self: start; }
}

/* « Trouver mon concours » : étape 1 (régions en menu déroulant) */
.cf-where { max-width: 420px; }
.cf-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cf-select { position: relative; }
.cf-select::after { content: ""; position: absolute; top: 50%; right: 20px; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cf-select select { width: 100%; height: 54px; padding: 0 44px 0 20px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--sand); color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cf-select select:focus { border-color: var(--blue); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgb(29 99 239 / 0.12); }


/* Itinéraire jusqu'à un concours ([binoom_itineraire]) */
.it { display: grid; gap: 18px; margin: 28px 0; padding: 26px; border-radius: var(--r-lg); background: var(--sand); }
.it__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.it__form .cf-search input { background: var(--white); }
.it__form .cf-select select { background: var(--white); }
.it__go { height: 54px; white-space: nowrap; }
.it__go .ic { width: 18px; height: 18px; }
.it__map { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--p-blue); }
.it__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.it__empty, .it__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; }
.it__empty .ic { width: 34px; height: 34px; color: var(--blue); }
.entry-content .it__empty p, .entry-content .it__consent p { max-width: 340px; margin: 0; color: var(--muted); font-size: 15px; }
.it__consent { background: var(--p-blue); }
.it__empty[hidden], .it__consent[hidden], .it__info[hidden] { display: none; }
.it__consent .btn { flex: none; }
.it__info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.entry-content .it__open { flex: none; color: var(--white); text-decoration: none; }
.entry-content .it__open:hover { color: var(--white); }
.it__open .ic { width: 16px; height: 16px; }
@media (max-width: 760px) {
	.it { padding: 18px 16px; }
	.it__form { grid-template-columns: minmax(0, 1fr); }
	.it__map { aspect-ratio: 4 / 5; }
	.entry-content .it__open { width: 100%; justify-content: center; }
}

/* Calendrier par région ([binoom_calendrier_regions]) */
.cr { margin: 28px 0; }
.cr__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 16px; }
.cr__search { flex: 1 1 300px; }
.cr__past { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.cr__past input { width: 18px; height: 18px; accent-color: var(--blue); }
.entry-content .cr__count { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.cr-region { margin: 0 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.cr-region[hidden] { display: none; }
.cr-region > summary { display: flex; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none; }
.cr-region > summary::-webkit-details-marker { display: none; }
.cr-region__name { color: var(--blue-ink); font-family: var(--font-title); font-size: 19px; font-weight: 600; }
.cr-region__count { margin-left: auto; padding: 3px 12px; border-radius: var(--pill); background: var(--p-blue); color: var(--blue); font-size: 13px; font-weight: 700; white-space: nowrap; }
.cr-region__chev { flex: none; width: 18px; height: 18px; color: var(--blue); transform: rotate(90deg); transition: transform 0.2s; }
.cr-region[open] .cr-region__chev { transform: rotate(-90deg); }
.cr-region > summary:hover .cr-region__name { color: var(--blue); }
.entry-content .cr-list { margin: 0; padding: 0 12px 12px; list-style: none; }
.entry-content .cr-list li + li { margin-top: 0; }
.cr-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 10px; border-top: 1px solid var(--line); }
.cr-row[hidden] { display: none; }
.cr-row.is-past { opacity: 0.55; }
.cr-row__date { display: flex; flex-direction: column; align-items: center; padding: 8px 0; border-radius: var(--r-sm); background: var(--sand); color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.2; text-transform: lowercase; }
.cr-row__date b { color: var(--blue-ink); font-family: var(--font-title); font-size: 22px; font-weight: 600; line-height: 1.1; }
.cr-row__main p { margin: 0; }
.entry-content .cr-row__place { color: var(--blue-ink); font-size: 16px; font-weight: 700; }
.cr-row__place span { color: var(--muted); font-weight: 600; }
.entry-content .cr-row__club { color: var(--ink); font-size: 14px; }
.cr-row__club a { color: inherit; }
.entry-content .cr-row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cr-row__tags span { padding: 2px 10px; border-radius: var(--pill); background: var(--sand); color: var(--muted); font-size: 12px; font-weight: 600; }
.cr-row__tags .is-champ { background: var(--p-yellow); color: var(--blue-ink); }
.entry-content .cr-row__meta { margin-top: 6px; color: var(--muted); font-size: 13px; }
.cr-row__go { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.entry-content .cr-row__route { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--pill); background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.entry-content .cr-row__route:hover { background: var(--blue-ink); color: var(--white); }
.entry-content .cr-row__mail { color: var(--blue); font-size: 13px; font-weight: 600; white-space: nowrap; }
.entry-content .cr__none, .entry-content .cr__source { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
	.cr-region > summary { padding: 16px; }
	.cr-region__name { font-size: 17px; }
	.entry-content .cr-list { padding: 0 6px 6px; }
	.cr-row { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
	.cr-row__go { grid-column: 2; flex-direction: row; align-items: center; gap: 14px; }
}
.it .cf-dropdown li[data-nom]:hover { background: var(--p-blue); color: var(--blue-ink); }
.it .cf-dropdown__empty { display: block !important; white-space: normal; }
.entry-content .it__error { margin: 8px 0 0 18px; color: var(--pink); font-size: 13px; font-weight: 600; }
.it__form .cf-field { position: relative; }
.it__form .cf-search { z-index: 3; }
.it .cf-dropdown li { flex-direction: column; gap: 0; line-height: 1.3; }
.it .cf-dropdown li small { white-space: normal; }
.cr__info { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px 18px; border-radius: var(--r); background: var(--p-yellow); }
.cr__info .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue-ink); }
.entry-content .cr__info p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.5; }

/* Bloc « Vous avez des questions ? » (questions à cliquer, réponse dessous) */
.entry-content .qa { margin: 40px 0; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.entry-content .qa__label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 14px; border-radius: var(--pill); background: var(--p-blue); color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.qa__label svg { width: 14px; height: 14px; }
.entry-content .qa__title { margin: 0 0 6px; color: var(--blue-ink); font-family: var(--font-title); font-size: clamp(21px, 2.4vw, 26px); font-weight: 600; line-height: 1.25; }
.entry-content .qa__sub { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.qa__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-content .qa__chip { padding: 10px 16px; border: 0; border-radius: var(--pill); background: var(--sand); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.35; text-align: left; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.entry-content .qa__chip:hover { background: var(--p-blue); color: var(--blue-ink); }
.entry-content .qa__chip[aria-selected="true"] { background: var(--blue); color: var(--white); }
.entry-content .qa__chip:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.entry-content .qa__answer { margin-top: 18px; padding: 20px 24px; border-radius: var(--r); background: var(--p-blue); animation: qa-in 0.25s ease; }
.entry-content .qa__answer[hidden] { display: none; }
.entry-content .qa__q { margin: 0 0 6px; color: var(--blue-ink); font-family: var(--font-title); font-size: 18px; font-weight: 600; }
.entry-content .qa__answer p:last-child { margin-bottom: 0; }
.entry-content .qa__answer p:not(.qa__q) { font-size: 15px; line-height: 1.7; }
@keyframes qa-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .entry-content .qa__answer { animation: none; } }
@media (max-width: 600px) {
	.entry-content .qa__chip { font-size: 13px; padding: 9px 14px; }
	.entry-content .qa__answer { padding: 16px 18px; }
}

/* Cartes à icône (pages et articles) : groupe « cartes-icones » contenant des groupes « carte-icone ic-NOM ».
   Icônes : star, heart, users, trophy, trend, book, paw, pen, bulb. */
.entry-content .cartes-icones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 40px; }
.entry-content .cartes-icones:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .entry-content .cartes-icones:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .entry-content .cartes-icones { grid-template-columns: minmax(0, 1fr); } }
.entry-content .cartes-icones > * { margin: 0; }
.entry-content .carte-icone { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.entry-content .carte-icone::before { content: ""; display: block; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--p-blue) no-repeat center / 24px; background-image: var(--icon); }
.entry-content .carte-icone h3 { margin: 0 0 8px; color: var(--blue-ink); font-size: 19px; line-height: 1.3; }
.entry-content .carte-icone p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.entry-content .carte-icone.ic-star { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9Z%22/%3E%3C/svg%3E"); }
.entry-content .carte-icone.ic-heart { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20s-7-4.4-9.2-9A5 5 0 0 1 12 5.6 5 5 0 0 1 21.2 11C19 15.6 12 20 12 20Z%22/%3E%3C/svg%3E"); }
.entry-content .carte-icone.ic-users { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%229%22 cy=%228%22 r=%223.5%22/%3E%3Cpath d=%22M2.5 20a6.5 6.5 0 0 1 13 0%22/%3E%3Cpath d=%22M16 4.5a3.5 3.5 0 0 1 0 7M18.5 20a6.5 6.5 0 0 0-3-5.5%22/%3E%3C/svg%3E"); }
.entry-content .carte-icone.ic-trophy { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0z%22/%3E%3Cpath d=%22M17 5h3v2a3 3 0 0 1-3 3M7 5H4v2a3 3 0 0 0 3 3%22/%3E%3C/svg%3E"); }
.entry-content .carte-icone.ic-trend { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m3 17 6-6 4 4 8-8%22/%3E%3Cpath d=%22M14 7h7v7%22/%3E%3C/svg%3E"); }
.entry-content .carte-icone.ic-book { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5z%22/%3E%3Cpath d=%22M4 20.5A2.5 2.5 0 0 0 6.5 23H20%22/%3E%3C/svg%3E"); }
.entry-content .carte-icone.ic-paw { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%225.5%22 cy=%2210%22 r=%222%22/%3E%3Ccircle cx=%229.5%22 cy=%225.5%22 r=%222%22/%3E%3Ccircle cx=%2214.5%22 cy=%225.5%22 r=%222%22/%3E%3Ccircle cx=%2218.5%22 cy=%2210%22 r=%222%22/%3E%3Cpath d=%22M12 11c-3 0-6 4.5-6 7a2.5 2.5 0 0 0 3.5 2.3c1.6-.7 3.4-.7 5 0A2.5 2.5 0 0 0 18 18c0-2.5-3-7-6-7Z%22/%3E%3C/svg%3E"); }
.entry-content .carte-icone.ic-pen { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20h9%22/%3E%3Cpath d=%22M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z%22/%3E%3C/svg%3E"); }
.entry-content .carte-icone.ic-bulb { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231d63ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 18h6M10 21h4%22/%3E%3Cpath d=%22M12 3a6 6 0 0 0-3.5 10.9c.6.5 1 1.2 1 2V16h5v-.1c0-.8.4-1.5 1-2A6 6 0 0 0 12 3Z%22/%3E%3C/svg%3E"); }

/* Étapes numérotées : liste numérotée avec la classe « etapes ». */
.entry-content ol.etapes { counter-reset: etape; display: grid; gap: 12px; margin: 20px 0 40px; padding: 0; list-style: none; }
.entry-content ol.etapes > li { counter-increment: etape; position: relative; min-height: 64px; margin: 0; padding: 19px 20px 19px 76px; line-height: 1.5; border-radius: var(--r); background: var(--sand); color: var(--ink); }
.entry-content ol.etapes > li::before { content: counter(etape); position: absolute; left: 16px; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--blue-ink); font-family: var(--font-title); font-size: 19px; font-weight: 600; transform: translateY(-50%); }
.entry-content ol.etapes > li + li { margin-top: 0; }

/* Formulaire Google intégré dans une page. */
.entry-content .formulaire-integre { margin: 20px 0 40px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.entry-content .formulaire-integre iframe { display: block; width: 100%; height: 900px; border: 0; }

/* Cartes à icône et étapes : légère animation (apparition au défilement, carte qui se soulève au survol). */
.entry-content .carte-icone:not(.reveal),
.entry-content .carte-icone.is-in { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; transition-delay: 0s; }
.entry-content .carte-icone:hover { border-color: var(--p-blue); box-shadow: var(--sh); transform: translateY(-4px); }
.entry-content .carte-icone:hover::before { animation: icone-saut 0.5s ease; }
@keyframes icone-saut { 0% { transform: none; } 35% { transform: translateY(-4px) rotate(-8deg) scale(1.08); } 70% { transform: translateY(0) rotate(5deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.entry-content .carte-icone:hover { transform: none; }
	.entry-content .carte-icone:hover::before { animation: none; }
}

/* Bloc trajet : étapes numérotées, fond de carte très discret. */
.it__map { background: var(--p-blue) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 800 450%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E %3Cg stroke=%22%231d63ef%22 stroke-opacity=%22.07%22 stroke-width=%2210%22%3E%3Cpath d=%22M-20 120 C 120 90 220 160 360 130 S 620 60 820 110%22/%3E%3Cpath d=%22M-20 330 C 160 360 260 280 420 310 S 660 400 820 350%22/%3E%3Cpath d=%22M180 -20 C 200 120 150 220 210 320 S 230 420 220 470%22/%3E%3Cpath d=%22M600 -20 C 570 120 640 220 590 330 S 610 420 620 470%22/%3E%3C/g%3E %3Cg stroke=%22%231d63ef%22 stroke-opacity=%22.05%22 stroke-width=%224%22%3E%3Cpath d=%22M-20 220 C 200 240 300 200 420 220 S 680 180 820 230%22/%3E%3Cpath d=%22M400 -20 C 380 100 430 200 400 300 S 420 430 410 470%22/%3E%3Cpath d=%22M60 -20 L 120 470%22/%3E%3Cpath d=%22M720 -20 L 700 470%22/%3E%3C/g%3E %3Cpath d=%22M120 380 C 220 300 300 330 360 250 S 560 170 650 90%22 stroke=%22%231d63ef%22 stroke-opacity=%22.18%22 stroke-width=%224%22 stroke-dasharray=%222 12%22/%3E %3Cg fill=%22%231d63ef%22 fill-opacity=%22.14%22%3E%3Ccircle cx=%22120%22 cy=%22380%22 r=%2210%22/%3E%3Cpath d=%22M650 96c-14-15-22-27-22-38a22 22 0 0 1 44 0c0 11-8 23-22 38z%22/%3E%3C/g%3E %3C/svg%3E") center / cover no-repeat; }
.it__n { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--yellow); color: var(--blue-ink); font-size: 12px; font-weight: 800; letter-spacing: 0; vertical-align: middle; }
.it .cf-field label { display: flex; align-items: center; }
.entry-content .it__empty .it__empty-title { max-width: none; color: var(--blue-ink); font-family: var(--font-title); font-size: 20px; font-weight: 600; }
.entry-content .it__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; text-align: left; }
.entry-content .it__steps li { display: flex; align-items: center; margin: 0; padding: 8px 16px 8px 8px; border-radius: var(--pill); background: rgb(255 255 255 / 0.85); color: var(--ink); font-size: 15px; font-weight: 600; }
.entry-content .it__steps li + li { margin-top: 0; }
.entry-content .it__empty p:last-child { font-size: 14px; }
@media (max-width: 760px) { .entry-content .it__steps li { font-size: 14px; } .it__map:has(.it__empty:not([hidden])) { aspect-ratio: auto; min-height: 340px; } }

/* ==========================================================================
   Petites animations au survol, dans l'esprit de la page « Devenir rédacteur »
   (souris uniquement, rien si l'utilisateur a demandé moins d'animations).
   ========================================================================== */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	/* Encarts de l'accueil (« Par des passionnés »…) et pastilles de la photo d'accueil : l'icône sautille. */
	.trust li { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s, border-color 0.25s; }
	.trust li:hover { border-color: #c9d8fb; box-shadow: var(--sh); transform: translateY(-3px); }
	.trust li:hover .trust__ic,
	.float:hover .dot { animation: icone-saut 0.5s ease; }

	/* Près de chez toi : la région se soulève et sautille. */
	.place { transition: background-color 0.2s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
	.place:hover { transform: translateY(-4px); }
	.place:hover .place__pic { animation: icone-saut 0.5s ease; }

	/* Calendrier par région et résultats de recherche */
	.cr-region { transition: border-color 0.25s, box-shadow 0.3s; }
	.cr-region:hover { border-color: #c9d8fb; box-shadow: var(--sh); }
	.cr-region__chev { transition: transform 0.25s; }
	.cr-region:not([open]) > summary:hover .cr-region__chev { transform: rotate(90deg) translateX(3px); }
	.cr-row { transition: background-color 0.2s; }
	.cr-row:hover { background: var(--sand); border-radius: var(--r-sm); }
	.cr-row:hover .cr-row__date { background: var(--p-blue); }
	.cf-event { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s, border-color 0.25s; }
	.cf-event:hover { border-color: #c9d8fb; box-shadow: var(--sh); transform: translateY(-4px); }
	.entry-content .cr-row__route,
	.entry-content .cf-event__route { transition: background-color 0.2s, transform 0.2s; }
	.entry-content .cr-row__route:hover,
	.entry-content .cf-event__route:hover { transform: translateY(-2px); }

	.cf-event__route:hover .ic { animation: icone-saut 0.5s ease; }

	/* Blocs « questions », trajet, encadrés */
	.entry-content .qa__chip { transition: background-color 0.2s, color 0.2s, transform 0.2s; }
	.entry-content .qa__chip:hover { transform: translateY(-2px); }
	.cr__info:hover .ic,
	.ask:hover .ask__icon { animation: icone-saut 0.5s ease; }
	.facts li { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.25s; }
	.facts li:hover { background: rgb(255 255 255 / 0.18); transform: translateY(-3px); }
	.fmap__chip { transition: background-color 0.2s, color 0.2s, transform 0.2s; }
	.fmap__chip:hover { transform: translateY(-2px); }
	.entry-content :is(.is-style-astuce-juge, .is-style-erreur-frequente, .is-style-mot-vocabulaire) { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s; }
	.entry-content :is(.is-style-astuce-juge, .is-style-erreur-frequente, .is-style-mot-vocabulaire):hover { box-shadow: var(--sh); transform: translateY(-3px); }
}

/* « Agenda » : petit menu Google Agenda / fichier .ics (calendrier par région, résultats de recherche). */
.agenda { position: relative; }
.agenda > summary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); color: var(--blue-ink); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; list-style: none; transition: border-color 0.2s, color 0.2s; }
.agenda > summary::-webkit-details-marker { display: none; }
.agenda > summary .ic { width: 15px; height: 15px; }
.agenda > summary:hover,
.agenda[open] > summary { border-color: var(--blue); color: var(--blue); }
.agenda__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 15; display: grid; min-width: 190px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); box-shadow: var(--sh); }
.entry-content .agenda__menu a { padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.entry-content .agenda__menu a:hover { background: var(--p-blue); color: var(--blue-ink); }
.cf-event__go .agenda { margin-left: auto; }
.cf-event__go .agenda + .cf-event__route { margin-left: 0; }
@media (max-width: 760px) {
	.cr-row__go .agenda__menu { right: auto; left: 0; }
}

/* Bloc trajet : arrivée et infos pratiques, en deux lignes discrètes. */
.entry-content .it__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; flex: 1 1 420px; margin: 0; padding: 0; list-style: none; }
.entry-content .it__facts li { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.entry-content .it__facts li + li { margin-top: 0; }
.it__ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--blue); }
.it__ic .ic { width: 16px; height: 16px; }
.it__facts b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.it__facts small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 760px) { .entry-content .it__facts { grid-template-columns: minmax(0, 1fr); } }
.cr__info .nowrap { white-space: nowrap; }
.entry-content .it__open { padding: 10px 18px; font-size: 14px; }

/* Encadré jaune « conseil » (style de groupe), même esprit que l'encadré du calendrier. */
.entry-content .is-style-conseil { position: relative; margin: 28px 0; padding: 16px 22px 16px 58px; border-radius: var(--r); background: var(--p-yellow); }
.entry-content .is-style-conseil::before { content: ""; position: absolute; left: 20px; top: 18px; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230d2b6b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 18h6M10 21h4%22/%3E%3Cpath d=%22M12 3a6 6 0 0 0-3.5 10.9c.6.5 1 1.2 1 2V16h5v-.1c0-.8.4-1.5 1-2A6 6 0 0 0 12 3Z%22/%3E%3C/svg%3E") center / contain no-repeat; }
.entry-content .is-style-conseil > * { margin-top: 0; margin-bottom: 0; }
.entry-content .is-style-conseil > * + * { margin-top: 8px; }
.entry-content .is-style-conseil p { color: var(--ink); font-size: 15px; line-height: 1.6; }
/* Infos du trajet sur toute la largeur, bouton Google Maps dessous à droite. */
.it__info { flex-direction: column; align-items: stretch; }
.entry-content .it__facts { flex: none; }
.it__facts small { overflow-wrap: break-word; }
.entry-content .it__open { align-self: flex-end; }

/* Badge « Le 1er blog dédié à l'obéissance FCI » : l'étoile sautille à l'arrivée sur la page et au survol. */
@media (prefers-reduced-motion: no-preference) {
	.kicker__dot { animation: icone-saut 0.6s ease 0.6s both; }
	.kicker:hover .kicker__dot { animation: icone-saut-2 0.5s ease; }
	@keyframes icone-saut-2 { 0% { transform: none; } 35% { transform: translateY(-4px) rotate(-8deg) scale(1.08); } 70% { transform: translateY(0) rotate(5deg); } 100% { transform: none; } }
}

/* Toutes les icônes des liens et boutons sautillent au survol (« Devenir rédacteur », « Agenda », « Trajet »…).
   Les flèches et chevrons gardent leur petit glissement. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	:is(a, button, summary):hover .ic:not(.ic-arrow, .ic-arrow-l, .ic-arrow-up, .ic-chevron, .ic-chevron-l, .ic-external) { animation: icone-saut 0.5s ease; }
}

/* Calendrier par région : boutons « Trajet » et « Agenda » légers (icônes en CSS, menu Agenda créé au clic). */
.cr-row__go { position: relative; }
.entry-content .cr-row__route::before,
.entry-content .cr-row__agenda::before { content: ""; flex: none; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.entry-content .cr-row__route { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12Z%22/%3E%3Ccircle cx=%2212%22 cy=%229%22 r=%222.5%22/%3E%3C/svg%3E"); }
.entry-content .cr-row__agenda { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2216%22 rx=%223%22/%3E%3Cpath d=%22M3 10h18M8 3v4M16 3v4%22/%3E%3C/svg%3E"); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); color: var(--blue-ink); font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.entry-content .cr-row__agenda:hover,
.entry-content .cr-row__agenda[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.cr-row__go > .agenda__menu { top: calc(100% + 6px); right: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.entry-content .cr-row__route:hover::before,
	.entry-content .cr-row__agenda:hover::before { animation: icone-saut 0.5s ease; }
}
@media (max-width: 760px) { .cr-row__go > .agenda__menu { right: auto; left: 0; } }
.agenda__menu[hidden] { display: none; }

/* Rubriques du haut sur téléphone : flèche collée au bord droit tant qu'il reste des rubriques à voir. */
.cats-more { display: none; }
@media (max-width: 1100px) {
	.cats-more:not([hidden]) { position: sticky; right: calc(var(--gutter) * -1 + 6px); z-index: 1; display: grid; place-items: center; flex: none; align-self: center; width: 34px; height: 34px; margin-left: -22px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: -14px 0 14px 6px var(--white), var(--sh); cursor: pointer; }
	.cats-more .ic { width: 18px; height: 18px; transition: transform 0.25s; }
	.cats-more.is-back .ic { transform: rotate(180deg); }
	/* Place au bout de la barre : la flèche retournée ne cache pas la dernière rubrique. */
	body:not(.single) .cats .cat:last-of-type,
	.filters li:nth-last-child(2) { margin-right: 34px; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
	.cats-more:not([hidden]):not(.is-back) .ic { animation: cats-pousse 1.4s ease-in-out 0.8s 2; }
	@keyframes cats-pousse { 0%, 100% { transform: none; } 50% { transform: translateX(4px); } }
}

/* Téléphone et tablette (pas de survol) : les icônes qui illustrent un contenu font leur petit saut une fois
   en arrivant à l'écran (voir main.js). Boutons, partage, en-tête et barre du bas restent immobiles. */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
	.hop:not(.carte-icone, .is-style-conseil),
	:is(.carte-icone, .is-style-conseil).hop::before { animation: icone-saut 0.6s ease; }
}

/* Bandeaux qui défilent sur le côté (Près de chez toi, avis…) : flèche sur le bord droit, téléphone uniquement. */
.rail-more { display: none; }
@media (max-width: 760px) {
	.has-rail { position: relative; }
	.rail-more:not([hidden]) { position: absolute; right: 6px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: var(--sh); transform: translateY(-50%); cursor: pointer; }
	.rail-more .ic { width: 18px; height: 18px; transition: transform 0.25s; }
	.rail-more.is-back .ic { transform: rotate(180deg); }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
	.rail-more:not([hidden]):not(.is-back) .ic { animation: cats-pousse 1.4s ease-in-out 0.8s 2; }
}

/* Calendrier par région sur téléphone : les boutons passent à la ligne au lieu de déborder. */
@media (max-width: 760px) {
	.cr-row__go { flex-wrap: wrap; row-gap: 8px; }
}

/* Téléphone : mode recherche (barre agrandie, page assombrie, idées, bouton Annuler). Rien ne change sur ordinateur. */
.search-cancel,
.search-backdrop { display: none; }
.search-ideas[hidden] { display: none; }
@media (max-width: 760px) {
	html.is-searching,
	html.is-searching body { overflow: hidden; }
	html.is-searching .top { z-index: 100; background: var(--white); }
	html.is-searching .search-backdrop { position: fixed; inset: 0; z-index: 90; display: block; background: rgb(13 43 107 / 0.4); animation: recherche-fondu 0.2s ease; }
	html.is-searching .top .bar { flex-wrap: nowrap; padding: 14px 0 12px; }
	html.is-searching .top .bar > .logo,
	html.is-searching .top .bar > .ghost,
	html.is-searching .top .cats { display: none; }
	html.is-searching .top .searchbar { order: 0; flex: 1 1 auto; height: 62px; }
	html.is-searching .top .searchbar { padding-left: 18px; }
	html.is-searching .search-cancel { display: block; flex: none; padding: 8px 2px; border: 0; background: none; color: var(--blue); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
	.search-ideas { padding: 4px 0 18px; animation: recherche-fondu 0.2s ease; }
	.search-ideas__label { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
	.search-ideas__list { display: flex; flex-wrap: wrap; gap: 8px; }
	.search-ideas__list a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--pill); background: var(--sand); color: var(--ink); font-size: 14px; font-weight: 600; }
	.search-ideas__list .ic { width: 16px; height: 16px; color: var(--blue); }
	@keyframes recherche-fondu { from { opacity: 0; } to { opacity: 1; } }
}

/* Filtres des pages d'articles sur téléphone : même flèche « voir la suite » que les rubriques du haut. */
.cats-more-li { display: none; }
@media (max-width: 760px) {
	.cats-more-li:not(.is-off) { position: sticky; right: calc(var(--gutter) * -1 + 6px); z-index: 1; display: flex; align-items: center; flex: none; margin-left: -22px; }
	/* Sur le fond bleu pâle des filtres : flèche discrète, de la couleur du fond, sans halo lumineux. */
	.cats-more-li .cats-more:not([hidden]) { position: static; margin: 0; border-color: rgb(29 99 239 / 0.22); background: var(--p-blue); box-shadow: -16px 0 12px 4px var(--p-blue); }
}

/* Téléphone : texte de la barre de recherche plus grand (et au moins 16 px : l'iPhone ne zoome plus sur la page). */
@media (max-width: 760px) {
	.searchbar input { font-size: 17px; }
	.searchbar__label { font-size: 14px; }
}

/* Téléphone, articles seulement : les 6 rubriques du haut sont toutes visibles (2 lignes de 3).
   Ailleurs, elles restent sur une ligne qui défile, avec la petite flèche. */
@media (max-width: 760px) {
	body.single .cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-inline: 0; padding-inline: 0; overflow: visible; }
	body.single .cats .cat { min-width: 0; padding: 8px 4px; white-space: normal; text-align: center; line-height: 1.2; font-size: 12px; }
	body.single .cats .cat .ic { width: 22px; height: 22px; }
	body.single .cats .cats-more { display: none !important; }
	body.single .top .cats { max-height: 200px; }
	body.single .top.is-compact .cats { max-height: 0; overflow: hidden; visibility: hidden; }
}
/* Tablette : les 6 rubriques sur une ligne, sans défilement. */
@media (min-width: 761px) and (max-width: 1100px) {
	.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
	.cats .cat { min-width: 0; padding: 8px 4px; white-space: normal; text-align: center; line-height: 1.2; }
	.cats .cats-more { display: none !important; }
}

/* Téléphone : l'auteur en haut de l'article, discret (petite pastille, sans cadre). */
@media (max-width: 760px) {
	.author:not(body) { gap: 10px; margin-top: 16px; padding: 0; border: 0; }
	.author__initial { width: 30px; height: 30px; font-size: 14px; }
	.author__name { color: var(--muted); font-size: 14px; font-weight: 600; }
	.author__bio { font-size: 13px; }
}

/* Sommaire : petit bouton « Afficher / Masquer » qui invite à le dérouler. */
.toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toc__toggle { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 14px; border-radius: var(--pill); background: var(--white); color: var(--blue); font-family: var(--font); font-size: 13px; font-weight: 700; box-shadow: var(--sh); }
.toc__toggle .ic { width: 16px; height: 16px; transform: rotate(90deg); transition: transform 0.25s; }
.toc[open] .toc__toggle .ic { transform: rotate(-90deg); }
.toc__hide,
.toc[open] .toc__show { display: none; }
.toc[open] .toc__hide { display: inline; }
