/*
 * Gogner – design « fanzine » (v3).
 * Couleurs : palette du thème (Apparence → Éditeur → Styles → Couleurs).
 * Police d'affiche : Réglages BD → Police d'affiche (sinon la police des titres du thème).
 */
:root {
	--g-encre: var(--wp--preset--color--encre, #0a020f);
	--g-creme: var(--wp--preset--color--creme, #fff6ec);
	--g-violet: var(--wp--preset--color--violet, #715ca7);
	--g-nuit: var(--wp--preset--color--nuit, #2a1f45);
	--g-peche: var(--wp--preset--color--peche, #ffc8b0);
	--g-menthe: var(--wp--preset--color--menthe, #8fe3be);
	--g-papier: var(--wp--preset--color--papier, #e9dfd3);
	--g-doux: var(--wp--preset--color--doux, #4a3b5c);
	--g-trait: 3px solid var(--g-encre);
	--g-titre: var(--g-affiche, var(--wp--preset--font-family--titre, sans-serif));
}

/* =========================================================================
 * Éléments communs
 * ====================================================================== */
.fz-int {
	max-width: 1280px;
	margin: 0 auto;
	box-sizing: border-box;
}
.fz-btn,
.g-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 24px;
	box-sizing: border-box;
	border: var(--g-trait);
	border-radius: 0;
	box-shadow: 5px 5px 0 var(--g-encre);
	background: var(--g-creme);
	color: var(--g-encre);
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.fz-btn:hover,
.g-btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--g-encre);
	color: var(--g-encre);
}
.fz-btn[hidden],
.g-btn[hidden] {
	display: none;
}
.fz-btn-menthe,
.g-btn-principal {
	background: var(--g-menthe);
}
.fz-btn-creme,
.g-btn-contour {
	background: var(--g-creme);
}
.fz-btn-noir,
.fz-btn-noir:hover {
	background: var(--g-encre);
	color: var(--g-creme);
	box-shadow: 4px 4px 0 var(--g-violet);
}
.fz-btn-contour {
	background: transparent;
	box-shadow: none;
}
.fz-btn-contour:hover {
	box-shadow: 4px 4px 0 var(--g-encre);
}
.g-btn-petit,
.fz-boutons-petits .fz-btn {
	min-height: 46px;
	padding: 0 18px;
	font-size: 1rem;
}
.g-btn-grand {
	min-height: 58px;
	padding: 0 28px;
	max-width: 100%;
}
.fz-boutons,
.g-boutons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.fz-etiquette {
	display: inline-block;
	align-self: flex-start;
	padding: 5px 12px;
	background: var(--g-menthe);
	border: var(--g-trait);
	color: var(--g-encre);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transform: rotate(-3deg);
}
.fz-entete-section {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 14px;
	border-bottom: 3px solid currentColor;
}
.fz-recents h2,
.fz-actus h2,
.fz-habitants h2,
.fz-suivre h2,
.g-apparitions h2,
.g-serie-actus h2 {
	margin: 0;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: clamp(2.5rem, 6vw, 4rem);
	line-height: 1;
}
.fz-fleches {
	display: flex;
	gap: 10px;
}
.fz-fleche {
	width: 48px;
	height: 48px;
	padding: 0;
	border: 3px solid currentColor;
	background: transparent;
	color: inherit;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}
.fz-fleche:hover {
	background: var(--g-menthe);
	border-color: var(--g-encre);
	color: var(--g-encre);
}
.g-vide,
.g-aide {
	color: var(--g-doux);
}
.g-aide {
	font-size: 0.875rem;
	font-style: italic;
}

/* =========================================================================
 * Menu
 * ====================================================================== */
.fz-menu {
	display: flex;
	align-items: center;
	gap: 8px 26px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.fz-menu-liens {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 26px;
}
.fz-menu-liens a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--g-creme);
	font-weight: 700;
	text-decoration: none;
}
.fz-menu-liens a:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}
.fz-menu-reseaux {
	display: flex;
	gap: 8px;
}
.fz-icone-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	background: var(--g-peche);
	border: 2px solid var(--g-encre);
	box-shadow: 3px 3px 0 var(--g-violet);
	color: var(--g-encre);
	transition: transform 0.12s ease;
}
.fz-icone-btn:hover {
	transform: translate(-2px, -2px);
	color: var(--g-encre);
}
.fz-insta-mobile,
.fz-menu-bouton {
	display: none;
}
.fz-menu-bouton {
	width: 48px;
	height: 48px;
	padding: 0;
	align-items: center;
	justify-content: center;
	background: var(--g-peche);
	border: 2px solid var(--g-encre);
	box-shadow: 3px 3px 0 var(--g-violet);
	color: var(--g-encre);
	cursor: pointer;
	position: relative;
	z-index: 102;
}
.fz-panneau {
	position: fixed;
	inset: 0;
	z-index: 99;
	padding: 96px 18px 24px;
	background: var(--g-nuit);
	overflow-y: auto;
}
.fz-panneau[hidden] {
	display: none;
}
.fz-panneau ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fz-panneau li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	border-bottom: 2px solid rgba(255, 246, 236, 0.2);
	font-family: var(--g-titre);
	font-size: 2.125rem;
	color: var(--g-creme);
	text-decoration: none;
}
.fz-panneau li a span {
	color: var(--g-menthe);
	font-family: inherit;
	font-size: 1.5rem;
}
.fz-panneau-reseaux {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}
.fz-icone-grand {
	width: 56px;
	height: 56px;
}
.fz-menu-ouvert,
.fz-menu-ouvert body {
	overflow: hidden;
}
@media (max-width: 899px) {
	.fz-menu {
		flex-wrap: nowrap;
		gap: 6px;
	}
	.fz-menu-liens,
	.fz-menu-reseaux {
		display: none;
	}
	.fz-insta-mobile {
		display: inline-flex;
		background: transparent;
		border: 0;
		box-shadow: none;
		color: var(--g-peche);
	}
	.fz-menu-bouton {
		display: inline-flex;
	}
}

/* =========================================================================
 * Présentation du projet
 * ====================================================================== */
.fz-presentation {
	background: var(--g-violet);
	border-bottom: var(--g-trait);
	overflow: hidden;
}
.fz-pres {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px 56px;
	padding: 64px 32px 72px;
}
.fz-pres-texte {
	flex: 999 1 440px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.fz-pres-visuel {
	order: 2;
	flex: 1 1 360px;
	max-width: 560px;
}
.fz-pres-image {
	display: block;
	width: 100%;
	height: auto;
	border: 4px solid var(--g-encre);
	box-shadow: 12px 12px 0 var(--g-encre);
	transform: rotate(-1.5deg);
}
.fz-accroche {
	margin: 0;
	font-family: var(--g-titre);
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	line-height: 1.05;
	color: var(--g-creme);
}
.fz-sous-accroche {
	margin: 0;
	font-family: var(--g-titre);
	font-size: clamp(1.25rem, 2.1vw, 1.75rem);
	line-height: 1.1;
	color: var(--g-encre);
}
.fz-signature {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
}
.fz-presentation .fz-boutons {
	margin-top: 6px;
}
@media (max-width: 799px) {
	.fz-pres {
		padding: 22px 18px 28px;
		gap: 16px;
	}
	.fz-pres-visuel {
		order: 0;
		flex: 1 1 100%;
		max-width: none;
	}
	.fz-pres-image {
		box-shadow: 6px 6px 0 var(--g-encre);
		border-width: 3px;
		transform: none;
	}
	.fz-pres-texte {
		flex-basis: 100%;
		gap: 14px;
	}
	.fz-accroche {
		font-size: 1.25rem;
		line-height: 1.08;
	}
	.fz-sous-accroche {
		font-size: 1.3125rem;
	}
	.fz-signature {
		font-size: 0.9375rem;
	}
	.fz-presentation .fz-boutons {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
		gap: 10px;
	}
	.fz-presentation .fz-btn {
		min-height: 52px;
		padding: 0 8px;
		font-size: 0.9375rem;
		box-shadow: 4px 4px 0 var(--g-encre);
	}
}

/* =========================================================================
 * Cartes d'épisodes
 * ====================================================================== */
.g-grille {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 44px 32px;
}
.g-carte {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--g-encre);
	text-decoration: none;
}
.g-vignette {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	margin-bottom: 6px;
	background: var(--g-papier);
	border: var(--g-trait);
	box-shadow: 6px 6px 0 var(--g-encre);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.g-vignette img,
.g-vignette video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.g-vignette-vide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--g-titre);
	font-size: 3.5rem;
	color: rgba(10, 2, 15, 0.2);
}
.g-carte:hover .g-vignette {
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 var(--g-encre);
}
.g-tampon {
	position: absolute;
	left: -3px;
	bottom: -3px;
	z-index: 1;
	padding: 4px 10px;
	background: var(--g-creme);
	border: var(--g-trait);
	font-family: var(--g-titre);
	font-size: 1.625rem;
	line-height: 1;
	color: var(--g-encre);
}
.g-badge {
	position: absolute;
	top: 8px;
	z-index: 1;
	padding: 3px 8px;
	border: 2px solid var(--g-encre);
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.3;
}
.g-badge[hidden] {
	display: none;
}
.g-badge-partie {
	left: 8px;
	background: var(--g-menthe);
	color: var(--g-encre);
}
.g-badge-lu {
	right: 8px;
	background: var(--g-encre);
	color: var(--g-creme);
}
.g-badge-brouillon {
	left: 8px;
	top: 40px;
	background: var(--g-creme);
	color: var(--g-encre);
}
.g-carte-date {
	font-size: 0.9375rem;
	font-weight: 800;
}
.g-carte-titre {
	margin: 0;
	font-family: inherit;
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.2;
}
.g-carte-serie {
	font-size: 0.875rem;
	color: var(--g-doux);
}
.g-carte.est-lu .g-vignette img {
	opacity: 0.6;
}
.g-carte.est-brouillon,
.fz-habitant.est-brouillon,
.g-actu.est-brouillon {
	opacity: 0.6;
}
@media (max-width: 599px) {
	.g-grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 16px;
	}
	.g-vignette {
		box-shadow: 4px 4px 0 var(--g-encre);
	}
	.g-tampon {
		font-size: 1.25rem;
		padding: 2px 6px;
	}
	.g-carte-date {
		font-size: 0.8125rem;
	}
	.g-carte-titre {
		font-size: 0.9375rem;
	}
}

/* =========================================================================
 * Rangées qui défilent (derniers épisodes, habitants)
 * ====================================================================== */
.fz-rail {
	list-style: none;
	margin: 0;
	padding: 4px 14px 22px 4px;
	display: flex;
	gap: 32px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: currentColor transparent;
}
.fz-rail > li {
	display: flex;
	flex: 0 0 calc((100% - 3 * 32px) / 3.5);
	min-width: 200px;
	scroll-snap-align: start;
}
.fz-rail > li > a {
	flex: 1;
	min-width: 0;
}
.fz-rail-zone {
	margin-top: 48px;
}
.fz-rail-entete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	font-size: 1.125rem;
	font-weight: 800;
}
@media (max-width: 799px) {
	.fz-rail {
		gap: 14px;
		margin: 0 -18px;
		padding: 2px 18px 14px;
		scroll-padding-left: 18px;
		scrollbar-width: none;
	}
	.fz-rail::-webkit-scrollbar {
		display: none;
	}
	.fz-rail > li {
		flex: 0 0 150px;
		min-width: 0;
	}
	.fz-rail-habitants > li {
		flex-basis: 158px;
	}
	.fz-fleches {
		display: none;
	}
	.fz-rail-zone {
		margin-top: 26px;
	}
	.fz-rail-entete::after {
		content: "Faites glisser →";
		font-size: 0.75rem;
		font-weight: 600;
		color: var(--g-doux);
	}
}

/* =========================================================================
 * Derniers épisodes : le dernier en avant
 * ====================================================================== */
.fz-une {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px 32px;
	padding: 28px;
	background: var(--g-violet);
	border: var(--g-trait);
	box-shadow: 8px 8px 0 var(--g-encre);
	color: var(--g-encre);
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.fz-une:hover {
	transform: translate(-3px, -3px);
	box-shadow: 11px 11px 0 var(--g-encre);
}
.fz-une-visuel {
	position: relative;
	display: block;
	flex: 1 1 340px;
	max-width: 460px;
	aspect-ratio: 1 / 1;
	background: var(--g-nuit);
	border: var(--g-trait);
}
.fz-une-visuel img,
.fz-une-visuel video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fz-tampon-rond {
	position: absolute;
	top: -20px;
	right: -16px;
	z-index: 1;
	width: 84px;
	height: 84px;
	border-radius: 999px;
	background: var(--g-peche);
	border: var(--g-trait);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--g-titre);
	font-size: 2.25rem;
	line-height: 1;
	transform: rotate(10deg);
}
.fz-etiquette-coin {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 1;
	transform: rotate(-2deg);
}
.fz-une-texte {
	flex: 999 1 340px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.fz-une-date {
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
}
.fz-une-titre {
	font-family: var(--g-titre);
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 0.95;
}
.fz-une-serie {
	font-size: 1.0625rem;
	font-weight: 600;
	color: #fff;
}
@media (max-width: 799px) {
	.fz-entete-section {
		margin-bottom: 16px;
	}
	.fz-recents .fz-boutons-petits .fz-btn-contour {
		display: none;
	}
	.fz-recents .fz-boutons-petits .fz-btn {
		min-height: 44px;
		padding: 0 12px;
		font-size: 0.875rem;
	}
	.fz-une {
		padding: 14px;
		gap: 10px;
		box-shadow: 5px 5px 0 var(--g-encre);
	}
	.fz-une-visuel {
		flex-basis: 100%;
		max-width: none;
	}
	.fz-tampon-rond {
		width: 58px;
		height: 58px;
		top: -12px;
		right: -10px;
		font-size: 1.625rem;
	}
	.fz-une-texte {
		gap: 8px;
	}
	.fz-une-date {
		font-size: 0.9375rem;
	}
	.fz-une-titre {
		font-size: 2.5rem;
	}
	.fz-une-serie {
		font-size: 0.875rem;
	}
	.fz-une .fz-btn {
		display: none;
	}
}

/* =========================================================================
 * Actus & bonus
 * ====================================================================== */
.fz-actus {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px 56px;
}
.fz-actus-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: var(--g-trait);
}
.fz-actus-liste a {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 20px;
	padding: 22px 0;
	border-bottom: var(--g-trait);
	color: var(--g-encre);
	text-decoration: none;
}
.fz-actus-liste a:hover .fz-actu-titre {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}
.fz-actu-date {
	font-size: 0.9375rem;
	font-weight: 700;
}
.fz-actu-corps {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fz-actu-titre {
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
}
.fz-actu-type {
	font-size: 1rem;
	color: var(--g-doux);
}
.fz-actu-fleche {
	font-size: 1.625rem;
	font-weight: 800;
}
.fz-lien-plus {
	margin: 16px 0 0;
	font-weight: 800;
}
@media (max-width: 599px) {
	.fz-actus {
		gap: 6px;
	}
	.fz-actus-liste a {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3px 12px;
		padding: 12px 0;
	}
	.fz-actu-date {
		grid-column: 1;
		font-size: 0.75rem;
		color: var(--g-doux);
	}
	.fz-actu-corps {
		grid-column: 1;
	}
	.fz-actu-fleche {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: center;
		font-size: 1.25rem;
	}
	.fz-actu-titre {
		font-size: 1.0625rem;
	}
	.fz-actu-type {
		display: none;
	}
}

/* =========================================================================
 * Les habitants
 * ====================================================================== */
.fz-habitants {
	scroll-margin-top: 90px;
}
.fz-habitants h2 {
	color: #fff;
}
.fz-habitant {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 6px 6px 0 var(--g-peche);
	color: var(--g-encre);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.12s ease;
}
.fz-habitant:hover {
	transform: translate(-3px, -3px);
	color: var(--g-encre);
}
.fz-habitant-portrait,
.fz-hab-portrait {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	aspect-ratio: 3 / 4;
	background: var(--g-violet);
	border-bottom: var(--g-trait);
	overflow: hidden;
}
.fz-habitant-portrait img,
.fz-hab-portrait img {
	width: 92%;
	height: 94%;
	object-fit: contain;
	object-position: bottom center;
}
.fz-silhouette {
	width: 72%;
	height: 84%;
	background: rgba(10, 2, 15, 0.16);
	border: 2px dashed var(--g-encre);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
}
.fz-compteur {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	min-width: 64px;
	padding: 6px 10px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--g-menthe);
	border: var(--g-trait);
	color: var(--g-encre);
	line-height: 1;
	transform: rotate(4deg);
}
.fz-compteur b {
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: 2.75rem;
}
.fz-compteur small {
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
}
.fz-etiquette-brouillon {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 1;
	font-size: 0.6875rem;
	background: var(--g-creme);
	transform: none;
}
.fz-habitant-texte {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 16px;
}
.fz-habitant-nom {
	margin: 0;
	min-height: 2em;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: 1.875rem;
	line-height: 1;
}
.fz-habitant-lien {
	margin-top: auto;
	font-size: 0.9375rem;
	font-weight: 700;
}
@media (max-width: 799px) {
	.fz-habitant {
		box-shadow: 4px 4px 0 var(--g-peche);
	}
	.fz-compteur {
		top: 8px;
		right: 8px;
		min-width: 0;
		padding: 3px 7px;
	}
	.fz-compteur b {
		font-size: 1.75rem;
	}
	.fz-compteur small {
		font-size: 0.5625rem;
	}
	.fz-habitant-texte {
		padding: 10px;
	}
	.fz-habitant-nom {
		font-size: 1.375rem;
	}
	.fz-habitant-lien {
		font-size: 0.8125rem;
	}
}

/* =========================================================================
 * Suivre
 * ====================================================================== */
.fz-suivre h2 {
	margin-bottom: 32px;
	font-size: clamp(2.25rem, 6vw, 4.75rem);
	line-height: 0.95;
}
.fz-surligne {
	color: var(--g-violet);
	-webkit-text-stroke: 1.5px var(--g-encre);
}
.fz-suivre-grille {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.fz-suivre-carte {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	box-sizing: border-box;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 7px 7px 0 var(--g-encre);
	color: var(--g-encre);
	text-decoration: none;
	transition: transform 0.12s ease;
}
a.fz-suivre-carte:hover {
	transform: translate(-2px, -2px);
	color: var(--g-encre);
}
.fz-suivre-nom {
	font-family: var(--g-titre);
	font-size: 2.5rem;
	line-height: 1;
}
.fz-suivre-detail {
	font-size: 1.0625rem;
	font-weight: 700;
}
.fz-suivre-action {
	align-self: flex-start;
	margin-top: 6px;
	padding: 8px 14px;
	background: var(--g-encre);
	color: var(--g-creme);
	font-weight: 800;
}
.fz-suivre-mail {
	background: var(--g-violet);
}
.fz-mail-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.fz-mail-form label {
	font-size: 1.0625rem;
	font-weight: 700;
	color: #fff;
}
.fz-mail-ligne {
	display: flex;
}
.fz-mail-ligne input {
	flex: 1;
	min-width: 0;
	min-height: 50px;
	padding: 0 12px;
	border: var(--g-trait);
	border-right: 0;
	border-radius: 0;
	background: var(--g-creme);
	color: var(--g-encre);
	font: inherit;
}
.fz-mail-ligne button {
	min-height: 56px;
	padding: 0 16px;
	border: var(--g-trait);
	border-radius: 0;
	background: var(--g-encre);
	color: var(--g-creme);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}
@media (max-width: 599px) {
	.fz-suivre h2 {
		margin-bottom: 16px;
	}
	.fz-suivre-grille {
		gap: 12px;
	}
	a.fz-suivre-carte {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		gap: 2px 12px;
		padding: 10px 14px;
		box-shadow: 4px 4px 0 var(--g-encre);
	}
	a.fz-suivre-carte .g-icone {
		grid-row: 1 / span 2;
		width: 28px;
		height: 28px;
	}
	a.fz-suivre-carte .fz-suivre-nom {
		font-family: inherit;
		font-size: 1.0625rem;
		font-weight: 800;
	}
	a.fz-suivre-carte .fz-suivre-detail {
		grid-column: 2;
		font-size: 0.8125rem;
		font-weight: 400;
	}
	a.fz-suivre-carte .fz-suivre-action {
		grid-column: 3;
		grid-row: 1 / span 2;
		margin: 0;
		padding: 0;
		background: none;
		color: var(--g-encre);
		font-size: 0;
	}
	a.fz-suivre-carte .fz-suivre-action::after {
		content: "→";
		font-size: 1.25rem;
	}
	a.fz-suivre-mail .fz-suivre-action {
		color: #fff;
	}
}

/* =========================================================================
 * Pied de page
 * ====================================================================== */
.fz-pied {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 32px 36px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 20px 40px;
	color: var(--g-encre);
}
.fz-pied-logo {
	display: block;
	width: clamp(80px, 20vw, 280px);
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 999px;
	border: 4px solid var(--g-encre);
}
.fz-pied-texte {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.fz-pied-marque {
	text-transform: uppercase;
	font-family: var(--g-titre);
	font-size: clamp(3rem, 14vw, 13.75rem);
	line-height: 0.85;
	white-space: nowrap;
}
.fz-pied-bas {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 28px;
	font-weight: 700;
}
.fz-pied-bas nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}
.fz-pied-bas a {
	color: var(--g-encre);
}
@media (max-width: 599px) {
	.fz-pied {
		padding: 24px 18px 28px;
		gap: 14px;
	}
	.fz-pied-texte {
		display: contents;
	}
	.fz-pied-bas {
		grid-column: 1 / -1;
		flex-direction: column;
		font-size: 0.875rem;
	}
	.fz-pied-marque {
		font-size: 3.25rem;
	}
}

/* =========================================================================
 * Page d'un habitant
 * ====================================================================== */
.fz-habitant-entete {
	background: var(--g-violet);
	border-bottom: var(--g-trait);
}
.fz-hab {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px 56px;
	padding: 56px 32px 64px;
}
.fz-hab-portrait {
	flex: 0 1 340px;
	background: var(--g-nuit);
	border: var(--g-trait);
	box-shadow: 10px 10px 0 var(--g-encre);
}
.fz-compteur-grand b {
	font-size: 3.5rem;
}
.fz-hab-texte {
	flex: 999 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.fz-retour {
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}
.fz-retour:hover {
	color: #fff;
	text-decoration: underline;
}
.fz-hab-nom {
	margin: 0;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: clamp(3rem, 7vw, 6rem);
	line-height: 0.95;
	color: var(--g-encre);
}
.fz-hab-desc {
	max-width: 36rem;
	font-size: 1.125rem;
	line-height: 1.55;
	color: #fff;
}
.fz-hab-desc p {
	margin: 0 0 0.6em;
}
@media (max-width: 799px) {
	.fz-hab {
		padding: 24px 18px 30px;
		gap: 20px;
	}
	.fz-hab-portrait {
		flex: 0 0 58%;
		margin: 0 auto;
		box-shadow: 6px 6px 0 var(--g-encre);
	}
	.fz-hab-desc {
		font-size: 1rem;
	}
}
.g-groupe-titre {
	margin: 8px 0 20px;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: 2rem;
	line-height: 1;
}
.g-grille + .g-groupe-titre {
	margin-top: 48px;
}
.g-sous-titre {
	margin: 0 0 24px;
	font-size: 1rem;
	color: var(--g-doux);
}
.g-centre {
	text-align: center;
	margin-top: 32px;
}

/* =========================================================================
 * Actualités (grilles de cartes : page Actualités, page d'un habitant)
 * ====================================================================== */
.g-actus-grille {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px 28px;
}
.g-actu {
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 6px 6px 0 var(--g-encre);
	color: var(--g-encre);
	text-decoration: none;
	transition: transform 0.12s ease;
}
.g-actu:hover {
	transform: translate(-3px, -3px);
	color: var(--g-encre);
}
.g-actu-visuel {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--g-violet);
	border-bottom: var(--g-trait);
	overflow: hidden;
}
.g-actu-visuel img,
.g-actu-visuel video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.g-actu-visuel.est-vide {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--g-titre);
	font-size: 2rem;
}
.g-actu-texte {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 18px;
}
.g-kicker {
	font-size: 0.8125rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--g-doux);
}
.g-pastille {
	display: none;
}
.g-actu-titre {
	margin: 0;
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.25;
}
.g-actu-extrait {
	font-size: 0.9375rem;
	color: var(--g-doux);
}
.g-actu-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 0 0 12px;
	font-weight: 700;
}
.g-actu-meta a {
	color: var(--g-encre);
}
.g-actu-date,
.g-lien-discret {
	font-size: 0.9375rem;
	color: var(--g-doux);
}
.g-etiquette-serie {
	text-decoration: none;
}

/* =========================================================================
 * Newsletter, réseaux, crédits (page À propos)
 * ====================================================================== */
.g-newsletter {
	margin-top: 16px;
	padding: 20px;
	background: var(--g-violet);
	border: var(--g-trait);
	box-shadow: 6px 6px 0 var(--g-encre);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.g-newsletter-titre {
	margin: 0;
	font-weight: 800;
	color: #fff;
}
.g-newsletter-cadre {
	width: 100%;
	max-width: 480px;
	height: 150px;
	border: var(--g-trait);
	background: #fff;
}
.g-reseaux {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.g-reseaux-boutons a,
.g-reseaux-icones a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 16px;
	box-sizing: border-box;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 4px 4px 0 var(--g-encre);
	color: var(--g-encre);
	font-weight: 800;
	text-decoration: none;
}
.g-reseaux-icones a {
	width: 46px;
	padding: 0;
	justify-content: center;
}
.g-credits {
	margin: 0;
}

/* =========================================================================
 * Lecteur d'épisode
 * ====================================================================== */
.gl {
	--gl-taille: min(100%, 860px, max(480px, calc(100vh - 250px)));
	padding-bottom: 40px;
	color: var(--g-encre);
}
@supports (height: 100svh) {
	.gl {
		--gl-taille: min(100%, 860px, max(480px, calc(100svh - 250px)));
	}
}
.gl-entete {
	position: relative;
	max-width: 860px;
	margin: 0 auto;
	padding: 22px 16px 16px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}
.gl-retour {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	font-size: 0.9375rem;
	font-weight: 800;
	color: var(--g-encre);
	text-decoration: none;
}
.gl-surtitre {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.gl-titre {
	margin: 0;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1;
}
.gl-rappel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 10px;
	width: fit-content;
	max-width: calc(100% - 32px);
	box-sizing: border-box;
	margin: 0 auto 18px;
	padding: 8px 16px;
	background: var(--g-peche);
	border: var(--g-trait);
	color: var(--g-encre);
	font-size: 0.9375rem;
	text-decoration: none;
}
.gl-rappel-lien {
	font-weight: 800;
	text-decoration: underline;
}
.gl-rappel-chrono {
	background: var(--g-menthe);
}
.gl-rappel-chrono a {
	color: var(--g-encre);
	font-weight: 800;
}
.gl-rappel-brouillon {
	background: var(--g-creme);
}
@media (min-width: 782px) {
	.gl-retour {
		position: absolute;
		left: 16px;
		top: 18px;
	}
}

/* Carrousel */
.gl-scene {
	position: relative;
	width: var(--gl-taille);
	min-width: min(100%, 320px);
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	background: var(--g-encre);
	border: var(--g-trait);
	box-shadow: 10px 10px 0 var(--g-encre);
	box-sizing: border-box;
}
.gl-piste {
	display: flex;
	width: 100%;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	outline: none;
}
.gl-piste::-webkit-scrollbar {
	display: none;
}
.gl-piste:focus-visible {
	outline: 3px solid var(--g-violet);
	outline-offset: 4px;
}
.gl-case {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	position: relative;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
.gl-scene .gl-case img,
.gl-scene .gl-case video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.gl-compteur {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	padding: 4px 10px;
	background: var(--g-creme);
	border: 2px solid var(--g-encre);
	color: var(--g-encre);
	font-size: 0.875rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}
.gl-fleche {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 246, 236, 0.92);
	border: var(--g-trait);
	color: var(--g-encre);
	cursor: pointer;
	opacity: 0.4;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}
.gl-fleche[hidden] {
	display: none;
}
.gl-fleche-prec {
	left: 12px;
}
.gl-fleche-suiv {
	right: 12px;
}
.gl-scene:hover .gl-fleche,
.gl-fleche:focus-visible {
	opacity: 1;
}
@media (hover: none) {
	.gl-fleche {
		display: none;
	}
}
@media (hover: hover) and (min-width: 1000px) {
	.gl {
		--gl-taille: min(calc(100% - 200px), 860px, max(480px, calc(100vh - 250px)));
	}
	.gl-fleche {
		opacity: 1;
		width: 56px;
		height: 56px;
		background: var(--g-creme);
		box-shadow: 4px 4px 0 var(--g-encre);
	}
	.gl-fleche:hover {
		background: var(--g-menthe);
	}
	.gl-fleche-prec {
		left: -88px;
	}
	.gl-fleche-suiv {
		right: -88px;
	}
}
.gl-points {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 20px 0 4px;
}
.gl-points span {
	width: 9px;
	height: 9px;
	background: transparent;
	border: 2px solid var(--g-encre);
}
.gl-points span.est-actif {
	background: var(--g-violet);
}

/* Défilement vertical */
.gl-defilement {
	max-width: 860px;
	margin: 0 auto;
	border: var(--g-trait);
	box-shadow: 10px 10px 0 var(--g-encre);
	background: var(--g-encre);
}
.gl-defilement .gl-case {
	height: auto;
}
.gl-defilement .gl-case img,
.gl-defilement .gl-case video {
	display: block;
	width: 100%;
	height: auto;
}
.gl-fin-bloc {
	max-width: 860px;
	margin: 32px auto 0;
	padding: 0 16px;
	box-sizing: border-box;
}
.gl-fin-bloc .gl-fin {
	border: var(--g-trait);
	box-shadow: 8px 8px 0 var(--g-encre);
	padding: 36px 20px;
}

/* Fin d'épisode */
.gl-fin {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 32px;
	background: var(--g-violet);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	text-align: center;
	color: var(--g-encre);
}
.gl-fin-surtitre {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}
.gl-fin-titre {
	margin: 0;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1;
}
.gl-fin-texte {
	margin: 0;
	color: #fff;
	font-weight: 600;
}
.gl-fin-liens {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 20px;
	font-weight: 700;
}
.gl-fin-liens a {
	color: var(--g-encre);
}

/* Texte et apparitions */
.gl-texte {
	max-width: 720px;
	margin: 32px auto 0;
	padding: 0 16px;
}
.gl-apparitions {
	max-width: 860px;
	margin: 28px auto 0;
	padding: 0 16px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: 0.9375rem;
	font-weight: 700;
}
.gl-puce {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 12px;
	background: var(--g-creme);
	border: 2px solid var(--g-encre);
	color: var(--g-encre);
	text-decoration: none;
}

/* Navigation entre épisodes */
.gl-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	max-width: 860px;
	margin: 36px auto 0;
	padding: 0 16px;
	box-sizing: border-box;
}
.gl-nav-lien,
.gl-nav-serie {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 48px;
	padding: 0 16px;
	box-sizing: border-box;
	font-weight: 800;
	text-decoration: none;
	color: var(--g-encre);
}
.gl-nav-lien {
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 4px 4px 0 var(--g-encre);
}
.gl-nav-suiv,
.gl-nav-suiv:hover {
	background: var(--g-menthe);
	color: var(--g-encre);
}
.gl-nav-lien.is-off {
	opacity: 0.3;
	box-shadow: none;
}
@media (max-width: 781px) {
	.gl {
		padding-bottom: 100px;
	}
	.gl-scene {
		width: 100%;
		border-left: 0;
		border-right: 0;
		box-shadow: none;
	}
	.gl-defilement {
		border-left: 0;
		border-right: 0;
		box-shadow: none;
	}
	.gl-nav {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		z-index: 50;
		margin: 0;
		height: 62px;
		padding: 0 8px;
		max-width: none;
		background: var(--g-nuit);
		border: var(--g-trait);
		box-shadow: 4px 4px 0 var(--g-encre);
	}
	.gl-nav-lien {
		min-height: 44px;
		padding: 0 10px;
		background: transparent;
		border: 0;
		box-shadow: none;
		color: var(--g-creme);
	}
	.gl-nav-suiv,
	.gl-nav-suiv:hover {
		background: var(--g-menthe);
		color: var(--g-encre);
		border: 2px solid var(--g-encre);
	}
	.gl-nav-lien.is-off {
		color: var(--g-creme);
	}
	.gl-nav-serie {
		color: var(--g-peche);
		padding: 0 6px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}

/* Barre de progression (défilement) */
.gl-progression {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	z-index: 100000;
	background: rgba(10, 2, 15, 0.1);
	pointer-events: none;
}
.gl-progression span {
	display: block;
	height: 100%;
	background: var(--g-violet);
	transform: scaleX(0);
	transform-origin: left;
}
.admin-bar .gl-progression {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .gl-progression {
		top: 46px;
	}
}

/* Dans l'éditeur */
.editor-styles-wrapper .gl-nav {
	position: static;
}
.editor-styles-wrapper .fz-panneau {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.fz-btn,
	.g-btn,
	.g-vignette,
	.fz-une,
	.fz-habitant,
	.gl-fleche {
		transition: none;
	}
}

.g-apparitions h2,
.g-serie-actus h2 {
	margin-bottom: 24px;
}
.g-serie-actus + .g-apparitions {
	margin-top: 64px;
}

/* =========================================================================
 * Lire en grand : la BD occupe toute la fenêtre (sans plein écran)
 * ====================================================================== */
.gl-outils {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 4px auto 18px;
	padding: 0 16px;
}
.gl-agrandir,
.gl-partager:not(.gl-partager-lien) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 4px 4px 0 var(--g-encre);
	color: var(--g-encre);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 800;
	cursor: pointer;
}
.gl-agrandir {
	background: var(--g-menthe);
}
.gl-agrandir:hover,
.gl-partager:not(.gl-partager-lien):hover {
	background: var(--g-peche);
	color: var(--g-encre);
}
.gl-partager.est-copie {
	background: var(--g-menthe);
}
.gl-partager-lien {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--g-encre);
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
.gl-partager-lien svg {
	display: none;
}
@media (max-width: 599px) {
	.gl-outils {
		margin-bottom: 14px;
	}
	.gl-agrandir,
	.gl-partager:not(.gl-partager-lien) {
		min-height: 40px;
		padding: 0 12px;
		font-size: 0.875rem;
	}
}
.gl-fermer {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: 48px;
	height: 48px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--g-creme);
	border: var(--g-trait);
	color: var(--g-encre);
	cursor: pointer;
}
.gl-fermer[hidden] {
	display: none;
}
.gl-fermer:hover {
	background: var(--g-menthe);
}
html.gl-pleine-page,
html.gl-pleine-page body {
	overflow: hidden;
}
/* Carrousel en grand */
.gl.est-pleine-page .gl-scene {
	position: fixed;
	inset: 0;
	z-index: 100001;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	min-width: 0;
	max-width: none;
	aspect-ratio: auto;
	margin: 0;
	border: 0;
	box-shadow: none;
	background: #050108;
}
.gl.est-pleine-page .gl-compteur {
	right: auto;
	left: 12px;
}
.gl.est-pleine-page .gl-fleche {
	opacity: 1;
	width: 52px;
	height: 52px;
	background: var(--g-creme);
}
.gl.est-pleine-page .gl-fleche-prec {
	left: 16px;
}
.gl.est-pleine-page .gl-fleche-suiv {
	right: 16px;
}
.gl.est-pleine-page .gl-fin {
	max-width: min(100vw, 100dvh);
	max-height: min(100vw, 100dvh);
	margin: auto;
	border: var(--g-trait);
}
.gl.est-pleine-page .gl-case-fin {
	display: flex;
}
/* Défilement en grand */
.gl.est-pleine-page .gl-corps-defil {
	position: fixed;
	inset: 0;
	z-index: 100001;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #050108;
	padding-bottom: 32px;
}
.gl.est-pleine-page .gl-corps-defil .gl-fermer {
	position: fixed;
}
.gl.est-pleine-page .gl-defilement {
	max-width: min(100vw, 100dvh);
	border: 0;
	box-shadow: none;
}
html.gl-pleine-page .gl-progression {
	z-index: 100002;
}
.admin-bar .gl.est-pleine-page .gl-scene,
.admin-bar .gl.est-pleine-page .gl-corps-defil {
	top: 0;
}
/* La zone de lecture passe au-dessus de l'en-tête et de la barre d'administration. */
html.gl-pleine-page .wp-site-blocks > main,
html.gl-pleine-page .wp-site-blocks > .zone-lecture {
	z-index: 100000 !important;
}

/* =========================================================================
 * Tous les épisodes : tri, habitants, pages
 * ====================================================================== */
.g-filtres {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 28px;
}
.g-filtre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}
.g-filtre-nom {
	min-width: 110px;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.g-puce {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	box-sizing: border-box;
	border: var(--g-trait);
	background: var(--g-creme);
	color: var(--g-encre);
	box-shadow: 3px 3px 0 var(--g-encre);
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.g-puce:hover {
	transform: translate(-1px, -1px);
	box-shadow: 4px 4px 0 var(--g-encre);
	color: var(--g-encre);
}
.g-puce.est-actif {
	background: var(--g-encre);
	color: var(--g-creme);
	box-shadow: 3px 3px 0 var(--g-violet);
}
a.g-puce.est-actif:hover {
	color: var(--g-creme);
}
.g-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 40px;
}
@media (max-width: 599px) {
	.g-filtre {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 0 -18px;
		padding: 2px 18px 8px;
		scrollbar-width: none;
	}
	.g-filtre::-webkit-scrollbar {
		display: none;
	}
	.g-filtre-nom {
		min-width: 0;
		flex: none;
	}
	.g-puce {
		flex: none;
		white-space: nowrap;
	}
}

/* =========================================================================
 * Titres toujours lisibles : ils prennent la couleur du texte de leur zone
 * (encre sur fond clair, crème sur fond sombre), même si une couleur de
 * titre a été choisie dans Apparence → Éditeur → Styles.
 * Les titres colorés bloc par bloc (« has-…-color ») gardent leur couleur.
 * ====================================================================== */
body :is(h1, h2, h3, h4, h5, h6) {
	color: inherit;
}

/* =========================================================================
 * Série « À venir »
 * ====================================================================== */
.fz-compteur-avenir {
	background: var(--g-peche);
	transform: rotate(4deg);
}
.fz-compteur-avenir b {
	font-size: 1.125rem;
	line-height: 1.1;
	white-space: nowrap;
}
.fz-compteur-grand.fz-compteur-avenir b {
	font-size: 1.5rem;
}
.fz-habitant.est-avenir .fz-habitant-portrait img,
.fz-habitant.est-avenir .fz-silhouette {
	filter: grayscale(0.35);
}
.fz-etiquette-avenir {
	background: var(--g-peche);
	margin-bottom: 12px;
}
.fz-avenir-texte {
	margin: 0 0 18px;
	font-size: 1.125rem;
	font-weight: 700;
}
.fz-etiquette-ligne {
	position: static;
	display: inline-block;
	margin-top: 16px;
}
.fz-etiquette-ligne a {
	color: inherit;
}
@media (max-width: 599px) {
	.fz-compteur-avenir b {
		font-size: 0.875rem;
	}
}

/* =========================================================================
 * Bonus reliés aux épisodes
 * ====================================================================== */
.gl-fin-bonus {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.gl-fin-bonus .g-btn {
	min-height: 44px;
	padding: 0 16px;
	font-size: 0.9375rem;
	max-width: 100%;
}
.gl-fin-bonus-mot {
	padding: 2px 7px;
	background: var(--g-peche);
	border: 2px solid var(--g-encre);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.gl-bonus {
	max-width: 1000px;
	margin: 48px auto 0;
	padding: 0 16px;
	box-sizing: border-box;
}
.gl-bonus-titre,
.g-lies-titre {
	margin: 0 0 20px;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.05;
}
.g-lie-rappel {
	display: inline-block;
	margin: 0 0 18px;
	padding: 6px 12px;
	background: var(--g-peche);
	border: var(--g-trait);
	box-shadow: 3px 3px 0 var(--g-encre);
	color: var(--g-encre);
	font-size: 0.9375rem;
	font-weight: 800;
	text-decoration: none;
}
.g-lie-rappel:hover {
	color: var(--g-encre);
	background: var(--g-menthe);
}
.g-lies {
	margin-top: 48px;
	padding-top: 32px;
	border-top: var(--g-trait);
	scroll-margin-top: 90px;
}
.g-lies .g-grille {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Cartes-liens : au survol, le texte garde sa couleur (le violet des liens disparaîtrait sur fond violet). */
:is(.fz-une, .g-carte, .g-actu, .fz-habitant, .fz-suivre-carte):is(:hover, :focus-visible) {
	color: var(--g-encre);
}

/* =========================================================================
 * Formulaire de contact
 * ====================================================================== */
.g-contact {
	margin: 48px 0;
	padding: 28px;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 8px 8px 0 var(--g-encre);
	color: var(--g-encre);
	scroll-margin-top: 90px;
}
.g-contact-titre {
	margin: 0 0 20px;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.05;
}
.g-contact-form p {
	margin: 0 0 18px;
}
.g-contact-ligne {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.g-contact-champ {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.g-contact-champ label {
	font-size: 0.875rem;
	font-weight: 800;
}
.g-contact-champ input,
.g-contact-champ textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: var(--g-trait);
	border-radius: 0;
	background: #fff;
	color: var(--g-encre);
	font: inherit;
	font-size: 1rem;
}
.g-contact-champ textarea {
	resize: vertical;
	min-height: 150px;
}
.g-contact-champ input:focus,
.g-contact-champ textarea:focus {
	outline: 3px solid var(--g-violet);
	outline-offset: 2px;
}
.g-contact-pied {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}
.g-contact-pied button {
	cursor: pointer;
	font: inherit;
	font-weight: 800;
}
.g-contact-pied small {
	font-size: 0.8125rem;
	opacity: 0.8;
}
.g-contact-piege {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.g-contact-retour {
	margin: 0 0 18px;
	padding: 12px 16px;
	border: var(--g-trait);
	font-weight: 700;
}
.g-contact-retour.est-ok {
	background: var(--g-menthe);
}
.g-contact-retour.est-erreur {
	background: var(--g-peche);
}
@media (max-width: 599px) {
	.g-contact {
		padding: 20px 16px;
		box-shadow: 5px 5px 0 var(--g-encre);
	}
	.g-contact-ligne {
		grid-template-columns: 1fr;
	}
}

/* Carte « Par mail » : lien direct vers l'inscription Substack. */
a.fz-suivre-mail,
a.fz-suivre-mail:is(:hover, :focus-visible) {
	color: #fff;
}

/* Bouton « S'abonner » dans l'en-tête */
.fz-abonner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	box-sizing: border-box;
	background: var(--g-menthe);
	border: 2px solid var(--g-encre);
	box-shadow: 3px 3px 0 var(--g-violet);
	color: var(--g-encre);
	font-size: 0.9375rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.12s ease;
}
.fz-abonner:hover {
	transform: translate(-1px, -1px);
	color: var(--g-encre);
}
.fz-panneau li a.fz-panneau-abonner {
	color: var(--g-menthe);
	font-size: 1.5rem;
}
@media (max-width: 899px) {
	.fz-abonner {
		height: 40px;
		padding: 0 10px;
		font-size: 0.875rem;
	}
}
@media (max-width: 359px) {
	.fz-abonner svg {
		display: none;
	}
}

/* #########################################################################
 * VERSION 4 — ergonomie revue
 * (présentation raccourcie, reprise de lecture, en-tête allégé, lecteur
 *  compact, prologues, page « Les habitants »)
 * ###################################################################### */

/* Cartes-liens : le texte garde sa couleur au survol. */
:is(.fz-habitant-ligne, .fz-reprise-carte, .g-ligne-ep, .fz-ligne-lien):is(:hover, :focus-visible) {
	color: var(--g-encre);
}
.fz-lien-fort {
	color: inherit;
	font-weight: 800;
	text-underline-offset: 4px;
}

/* ---------- En-tête : le menu et « S'abonner » ---------- */
.fz-abonner-court {
	display: none;
}
@media (max-width: 899px) {
	.fz-abonner-long {
		display: none;
	}
	.fz-abonner-court {
		display: inline;
	}
}

/* ---------- Accueil : habitants avant les actualités ---------- */
.home main.wp-block-group {
	display: flex;
	flex-direction: column;
}
.home main.wp-block-group > .bande-nuit {
	order: 3;
}
.home main.wp-block-group > .zone-serree {
	order: 4;
}
.home main.wp-block-group > #abonnement {
	order: 5;
}

/* ---------- Présentation (première visite) ---------- */
.fz-pres {
	padding: 44px 32px 48px;
}
.fz-pres-texte {
	gap: 16px;
}
h1.fz-accroche {
	margin: 0;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: clamp(1.75rem, 3.6vw, 3.25rem);
	line-height: 0.98;
	color: #fff;
}
.fz-pres-corps {
	margin: 0;
	max-width: 34em;
	font-size: 1.1875rem;
	line-height: 1.45;
	font-weight: 500;
	color: #fff;
}
.fz-presentation .fz-boutons {
	align-items: center;
	gap: 12px 22px;
}
.fz-btn-large {
	min-height: 56px;
	padding: 0 24px;
	font-size: 1.125rem;
}
.fz-pres-lien {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #fff;
	font-weight: 700;
	text-underline-offset: 4px;
}
.fz-pres-lien:hover {
	color: var(--g-menthe);
}
.fz-pres-lien[hidden] {
	display: none;
}
@media (max-width: 799px) {
	.fz-pres {
		padding: 18px 18px 22px;
		gap: 12px;
	}
	.fz-pres-texte {
		gap: 12px;
	}
	h1.fz-accroche {
		font-size: 1.6875rem;
		line-height: 1.02;
	}
	.fz-pres-corps {
		font-size: 0.9375rem;
		line-height: 1.4;
	}
	.fz-presentation .fz-boutons {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 4px;
	}
	.fz-btn-large {
		justify-content: center;
		min-height: 54px;
	}
	.fz-pres-lien {
		justify-content: center;
	}
}

/* ---------- Lecteur qui revient : « Vous en étiez là » ---------- */
.fz-reprise {
	display: none;
	padding: 22px 32px;
}
html.g-habitue .fz-presentation .fz-pres {
	display: none;
}
html.g-habitue:not(.g-reprise) .fz-presentation {
	display: none;
}
html.g-reprise .fz-reprise {
	display: block;
}
.fz-reprise-carte {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 640px;
	padding: 14px;
	box-sizing: border-box;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 6px 6px 0 var(--g-encre);
	color: var(--g-encre);
	text-decoration: none;
}
.fz-reprise-visuel {
	flex: none;
	width: 104px;
	aspect-ratio: 1 / 1;
	border: var(--g-trait);
	background: var(--g-papier);
	overflow: hidden;
}
.fz-reprise-visuel[hidden] {
	display: none;
}
.fz-reprise-visuel img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fz-reprise-texte {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.fz-reprise-sur {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--g-doux);
}
.fz-reprise-titre {
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.2;
}
.fz-reprise .fz-btn {
	min-height: 42px;
	margin-top: 4px;
}
@media (max-width: 799px) {
	.fz-reprise {
		padding: 18px;
	}
	.fz-reprise-visuel {
		width: 92px;
	}
}

/* ---------- Dernier épisode ---------- */
.fz-rail-outils {
	display: inline-flex;
	align-items: center;
	gap: 18px;
}
.fz-une-nouveau[hidden] {
	display: none;
}
.fz-entete-texte {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.fz-entete-intro {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 500;
}
.fz-habitants .fz-entete-intro {
	color: #e6ddf6;
}
.fz-habitants .fz-lien-plus a {
	color: #fff;
}
@media (max-width: 599px) {
	.fz-rail-outils .fz-fleches {
		display: none;
	}
	.fz-entete-intro {
		font-size: 0.875rem;
	}
	.fz-compteur small {
		font-size: 0.6875rem;
	}
}

/* ---------- Page « Les habitants » ---------- */
.fz-page-intro {
	margin: 0 0 28px;
	max-width: 40em;
	font-size: 1.125rem;
	line-height: 1.45;
}
.fz-habitants-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 24px;
}
.fz-habitant-ligne {
	display: flex;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 6px 6px 0 var(--g-violet);
	color: var(--g-encre);
	text-decoration: none;
	overflow: hidden;
}
.fz-habitant-ligne-portrait {
	flex: none;
	width: clamp(124px, 26%, 240px);
	min-height: 170px;
	background: var(--g-violet);
	border-right: var(--g-trait);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.fz-habitant-ligne-portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fz-habitant-ligne.est-avenir .fz-habitant-ligne-portrait {
	filter: grayscale(0.35);
}
.fz-habitant-ligne-texte {
	flex: 1;
	min-width: 0;
	padding: 18px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.fz-habitant-ligne-nom {
	font-family: var(--g-titre);
	font-size: clamp(1.625rem, 3vw, 2.25rem);
	line-height: 1;
}
.fz-habitant-ligne-desc {
	font-size: 0.9375rem;
	line-height: 1.4;
}
.fz-habitant-ligne-compte {
	font-size: 0.875rem;
	font-weight: 800;
}
.fz-habitant-ligne-tag {
	padding: 2px 8px;
	background: var(--g-peche);
	border: 2px solid var(--g-encre);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
}
.fz-habitant-ligne-bientot {
	font-size: 0.9375rem;
	font-weight: 800;
}
.fz-habitant-ligne .fz-btn {
	min-height: 42px;
	margin-top: 4px;
}
@media (max-width: 599px) {
	.fz-habitant-ligne-texte {
		padding: 14px;
		gap: 6px;
	}
	.fz-habitant-ligne-desc {
		font-size: 0.8125rem;
	}
}

/* ---------- Page d'un habitant : compte et prologues ---------- */
.fz-hab-compte {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 800;
	color: #fff;
}
.g-prologues {
	margin-top: 48px;
	padding: 24px;
	background: var(--g-papier);
	border: var(--g-trait);
	scroll-margin-top: 90px;
}
.g-prologues-titre {
	margin: 0 0 6px;
	font-family: var(--g-titre);
	font-weight: normal;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1;
}
.g-prologues-intro {
	margin: 0 0 14px;
}
.g-prologues-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	column-gap: 28px;
}
.g-ligne-ep {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 8px 0;
	border-top: var(--g-trait);
	color: var(--g-encre);
	text-decoration: none;
}
.g-ligne-ep-visuel {
	flex: none;
	width: 52px;
	height: 52px;
	border: var(--g-trait);
	background: var(--g-creme);
	overflow: hidden;
}
.g-ligne-ep-visuel img,
.g-ligne-ep-visuel video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.g-ligne-ep-texte {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.g-ligne-ep-nom {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--g-doux);
}
.g-ligne-ep .g-badge {
	position: static;
	padding: 0 6px;
	letter-spacing: 0;
}
.g-ligne-ep-titre {
	font-weight: 700;
	line-height: 1.2;
}
.g-ligne-ep-fleche {
	font-weight: 800;
}
@media (max-width: 599px) {
	.g-prologues {
		margin: 36px -18px 0;
		padding: 22px 18px;
		border-left: 0;
		border-right: 0;
	}
}

/* ---------- Lecteur : la BD commence plus haut ---------- */
.gl-entete {
	padding: 12px 16px 12px;
	gap: 2px;
	align-items: flex-start;
	text-align: left;
}
.gl .gl-retour {
	position: static;
	min-height: 36px;
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--g-doux);
}
.gl-titre {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}
@media (min-width: 782px) {
	.gl-entete {
		align-items: center;
		text-align: center;
		padding-top: 18px;
	}
	.gl .gl-retour {
		align-self: center;
	}
}
/* « Lire en grand » : icône dans le coin de l'image (et un toucher sur l'image). */
.gl .gl-agrandir {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 3;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: none;
	color: var(--g-encre);
	cursor: pointer;
}
.gl .gl-agrandir:hover {
	background: var(--g-menthe);
}
.gl-corps-defil {
	position: relative;
}
.gl-corps-defil > .gl-agrandir {
	top: 10px;
	bottom: auto;
}
.gl.est-pleine-page .gl-agrandir,
.gl.est-a-la-fin .gl-scene .gl-agrandir {
	display: none;
}
.gl-piste .gl-case:not(.gl-case-fin),
.gl-defilement .gl-case {
	cursor: zoom-in;
}
.gl.est-pleine-page .gl-case {
	cursor: auto;
}
.gl-astuce {
	margin: 8px 16px 0;
	text-align: center;
	font-size: 0.8125rem;
	color: var(--g-doux);
}
@media (hover: hover) and (pointer: fine) {
	.gl-astuce {
		display: none;
	}
}

/* Case de fin */
.gl-fin {
	gap: 12px;
	padding: 20px;
}
.gl-fin-titre {
	font-size: clamp(1.75rem, 4.4vw, 3rem);
}
.gl-fin-actions {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.gl-fin-actions .g-btn {
	width: min(100%, 420px);
	box-sizing: border-box;
	justify-content: center;
	text-align: center;
}
.gl-fin-liens a,
.gl-fin .gl-partager-lien {
	color: #fff;
}
.gl-fin-liens a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

/* « En attendant » (dernier épisode paru) */
.gl-attendant {
	max-width: 860px;
	margin: 44px auto 0;
	padding: 0 16px;
	box-sizing: border-box;
	display: grid;
	gap: 12px;
}
.gl-attendant h2 {
	margin: 0 0 4px;
}
.fz-ligne-lien {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 64px;
	padding: 8px 14px;
	box-sizing: border-box;
	background: var(--g-creme);
	border: var(--g-trait);
	box-shadow: 4px 4px 0 var(--g-encre);
	color: var(--g-encre);
	font-weight: 800;
	text-decoration: none;
}
.fz-ligne-lien > span:first-child {
	display: flex;
	flex-direction: column;
}
.fz-ligne-lien small {
	font-size: 0.8125rem;
	font-weight: 500;
}

/* Barre du bas (téléphone) : seulement une fois l'épisode terminé. */
.gl-nav-serie-court {
	display: none;
}
@media (max-width: 781px) {
	.gl {
		padding-bottom: 40px;
	}
	.gl.est-fini {
		padding-bottom: 100px;
	}
	.gl:not(.est-fini) .gl-nav {
		display: none;
	}
	.gl-nav .gl-nav-prec,
	.gl-nav-serie-long {
		display: none;
	}
	.gl-nav-serie-court {
		display: inline;
	}
	html.gl-barre footer.wp-block-template-part,
	html.gl-barre .site-footer {
		padding-bottom: 92px;
	}
}

/* ---------- Bas de page : liens faciles à toucher ---------- */
.fz-pied-bas a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
@media (max-width: 599px) {
	.fz-pied-bas nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 18px;
	}
}

/* Liens texte : assez hauts pour le doigt. */
.fz-lien-fort,
.fz-retour,
.gl-partager-lien,
.g-lien-discret {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

/* En-tête : pas de décalage sous la barre d'administration (l'en-tête n'est pas collant). */
.admin-bar .wp-site-blocks > header {
	top: 0;
}
