/**
 * Hub et pages « Nos départements » + fiches œuvres (eec_oeuvre).
 * Thème dynamique via --dept-color / --dept-color-dark / --dept-color-light.
 *
 * @package eec-child
 */

/* -------------------------------------------------------------------------
   Variables locales
------------------------------------------------------------------------- */

.eec-depts-hub,
.eec-dept-main,
.eec-oeuvre-single {
	--eec-dept-radius: 12px;
	--eec-dept-shadow: 0 4px 24px rgba(20, 44, 82, 0.08);
	--eec-dept-shadow-hover: 0 12px 40px rgba(20, 44, 82, 0.12);
}

/* -------------------------------------------------------------------------
   HUB — hero
------------------------------------------------------------------------- */

.eec-depts-main {
	outline: none;
}

.eec-depts-hero {
	position: relative;
	min-height: clamp(22rem, 58vw, 36rem);
	display: flex;
	align-items: flex-end;
	padding: 2.5rem 1.25rem 3rem;
	background: linear-gradient(
		135deg,
		var(--eec-blue-deep, #142c52) 0%,
		var(--eec-blue, #1b3a6b) 55%,
		color-mix(in srgb, var(--eec-blue, #1b3a6b) 75%, var(--eec-yellow-deep, #d4af37)) 100%
	);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.eec-depts-hero--has-bg {
	background-image: linear-gradient(
			135deg,
			rgba(20, 44, 82, 0.88) 0%,
			rgba(27, 58, 107, 0.72) 48%,
			rgba(90, 138, 58, 0.55) 100%
		),
		var(--depts-hub-hero-image);
	background-size: cover;
	background-position: center 42%;
	background-repeat: no-repeat;
}

.eec-depts-hero__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		circle at 20% 30%,
		rgba(255, 255, 255, 0.12) 0%,
		transparent 55%
	);
	pointer-events: none;
	z-index: 0;
}

.eec-depts-hero--has-bg .eec-depts-hero__overlay {
	background: linear-gradient(
		to top,
		rgba(10, 18, 32, 0.82) 0%,
		rgba(10, 18, 32, 0.35) 45%,
		rgba(10, 18, 32, 0.12) 100%
	);
}

.eec-depts-hero__content {
	position: relative;
	z-index: 1;
	max-width: 56rem;
}

.eec-depts__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--eec-yellow, #f4d03f);
	margin-bottom: 0.75rem;
}

.eec-depts-hero h1 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.85rem, 4.5vw, 2.75rem);
	margin: 0 0 0.75rem;
	line-height: 1.15;
}

.eec-depts-hero__intro {
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 1.75rem;
	max-width: 44rem;
	color: rgba(255, 255, 255, 0.92);
}

.eec-depts-hero__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

@media (min-width: 640px) {
	.eec-depts-hero__stats {
		grid-template-columns: repeat(4, 1fr);
	}
}

.eec-depts-hero__stat {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--eec-dept-radius);
	padding: 0.85rem 0.75rem;
	text-align: center;
	backdrop-filter: blur(6px);
}

.eec-depts-hero__stat i {
	display: block;
	font-size: 1.25rem;
	color: var(--eec-yellow, #f4d03f);
	margin-bottom: 0.35rem;
}

.eec-depts-hero__stat-value {
	display: block;
	font-weight: 700;
	font-size: 1.35rem;
	font-family: "Playfair Display", Georgia, serif;
}

.eec-depts-hero__stat-label {
	font-size: 0.72rem;
	opacity: 0.9;
	line-height: 1.3;
}

/* -------------------------------------------------------------------------
   HUB — grille départements
------------------------------------------------------------------------- */

.eec-depts-grid-section {
	padding: 3rem 1.25rem 2.5rem;
	background: var(--eec-cream, #faf7f2);
}

.eec-depts__inner {
	max-width: 72rem;
	margin: 0 auto;
}

.eec-depts__header--center {
	text-align: center;
	max-width: 44rem;
	margin: 0 auto 2rem;
}

.eec-depts__header--center h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.45rem, 3vw, 2rem);
	color: var(--eec-blue-deep, #142c52);
	margin: 0 0 0.5rem;
}

.eec-depts__header--center p {
	margin: 0;
	color: var(--eec-text-light, #5c6b7a);
	line-height: 1.6;
}

.eec-depts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.eec-depts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.eec-depts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.eec-depts-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.35rem;
	background: #fff;
	border-radius: var(--eec-dept-radius);
	box-shadow: var(--eec-dept-shadow);
	border-top: 4px solid var(--dept-color, var(--eec-blue, #1b3a6b));
	text-decoration: none;
	color: inherit;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.eec-depts-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--eec-dept-shadow-hover);
}

.eec-depts-card:focus-visible {
	outline: 3px solid var(--eec-yellow, #f4d03f);
	outline-offset: 3px;
}

.eec-depts-card__icon {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--dept-color-light, #d6e4f5) 90%, #fff);
	color: var(--dept-color-dark, #142c52);
	font-size: 1.35rem;
}

.eec-depts-card__body h3 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.2rem;
	margin: 0 0 0.35rem;
	color: var(--eec-blue-deep, #142c52);
}

.eec-depts-card__tagline {
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--dept-color-dark, #142c52);
	margin: 0 0 0.5rem;
}

.eec-depts-card__description {
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--eec-text-light, #5c6b7a);
	margin: 0 0 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eec-depts-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.8rem;
}

.eec-depts-card__count {
	color: var(--eec-text-light, #5c6b7a);
}

.eec-depts-card__link {
	font-weight: 700;
	color: var(--dept-color, var(--eec-blue, #1b3a6b));
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

/* -------------------------------------------------------------------------
   HUB — outils
------------------------------------------------------------------------- */

.eec-depts-tools {
	padding: 3rem 1.25rem 4rem;
	background: #fff;
}

.eec-depts__title-section {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	color: var(--eec-blue-deep, #142c52);
	margin: 0 0 1.5rem;
	text-align: center;
}

.eec-depts-tools__grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.eec-depts-tools__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.eec-depts-tool-card {
	display: block;
	padding: 1.5rem;
	border-radius: var(--eec-dept-radius);
	background: var(--eec-cream, #faf7f2);
	border: 1px solid rgba(20, 44, 82, 0.08);
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.eec-depts-tool-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--eec-blue, #1b3a6b) 35%, transparent);
	box-shadow: var(--eec-dept-shadow);
}

.eec-depts-tool-card:focus-visible {
	outline: 3px solid var(--eec-yellow, #f4d03f);
	outline-offset: 2px;
}

.eec-depts-tool-card i {
	font-size: 1.5rem;
	color: var(--eec-blue, #1b3a6b);
	margin-bottom: 0.75rem;
}

.eec-depts-tool-card h3 {
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
	color: var(--eec-blue-deep, #142c52);
}

.eec-depts-tool-card p {
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--eec-text-light, #5c6b7a);
	margin: 0 0 0.85rem;
}

.eec-depts-tool-card__cta {
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--eec-blue, #1b3a6b);
}

.eec-depts-page-content {
	padding-bottom: 3rem;
	max-width: 48rem;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--eec-text, #2c3e50);
}

/* -------------------------------------------------------------------------
   Page département — hero
------------------------------------------------------------------------- */

.eec-dept-hero {
	position: relative;
	min-height: clamp(20rem, 48vw, 32rem);
	display: flex;
	align-items: flex-end;
	padding: 2.5rem 1.25rem 2.75rem;
	background: linear-gradient(
		135deg,
		var(--dept-color-dark, #142c52) 0%,
		var(--dept-color, #1b3a6b) 100%
	);
	color: #fff;
	overflow: hidden;
}

.eec-dept-hero--has-bg {
	background-image: linear-gradient(
			135deg,
			color-mix(in srgb, var(--dept-color-dark) 92%, #000) 0%,
			color-mix(in srgb, var(--dept-color) 78%, transparent) 100%
		),
		var(--dept-hero-image);
	background-size: cover;
	background-position: center;
}

.eec-dept-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(10, 18, 32, 0.72) 0%,
		rgba(10, 18, 32, 0.15) 55%,
		transparent 100%
	);
	pointer-events: none;
}

.eec-dept-hero__content {
	position: relative;
	z-index: 1;
	max-width: 52rem;
}

.eec-dept__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--eec-yellow, #f4d03f);
	margin-bottom: 0.65rem;
}

.eec-dept-hero h1 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.6rem);
	margin: 0 0 0.35rem;
}

.eec-dept-hero__tagline {
	font-weight: 600;
	font-size: 1.05rem;
	margin: 0 0 0.75rem;
	color: rgba(255, 255, 255, 0.95);
}

.eec-dept-hero__description {
	margin: 0;
	max-width: 42rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.98rem;
}

/* -------------------------------------------------------------------------
   Sections communes département
------------------------------------------------------------------------- */

.eec-dept__inner {
	max-width: 72rem;
	margin: 0 auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.eec-dept-intro {
	padding: 3rem 0;
	background: #fff;
}

.eec-dept__header h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	color: var(--eec-blue-deep, #142c52);
	margin: 0 0 1rem;
}

.eec-dept__header--center {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto 2rem;
}

.eec-dept-intro__content {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--eec-text, #2c3e50);
	max-width: 48rem;
}

.eec-dept-sous {
	padding: 3rem 0;
	background: var(--eec-cream, #faf7f2);
}

.eec-dept-sous__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.eec-dept-sous__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.eec-dept-sous__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.eec-dept-sous-card {
	background: #fff;
	border-radius: var(--eec-dept-radius);
	padding: 1.25rem;
	box-shadow: var(--eec-dept-shadow);
	border-top: 3px solid var(--dept-color, var(--eec-blue, #1b3a6b));
}

.eec-dept-sous-card h3 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	color: var(--dept-color-dark, #142c52);
}

.eec-dept-sous-card p {
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--eec-text-light, #5c6b7a);
}

.eec-dept-sous-card__link {
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--dept-color, var(--eec-blue, #1b3a6b));
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.eec-dept-sous-card__link:hover {
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
   Grille œuvres
------------------------------------------------------------------------- */

.eec-dept-oeuvres {
	padding: 3rem 0 4rem;
	background: #fff;
}

.eec-dept-oeuvres__grid {
	display: grid;
	gap: 1.35rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.eec-dept-oeuvres__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.eec-dept-oeuvres__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.eec-dept-oeuvre-card {
	background: #fff;
	border-radius: var(--eec-dept-radius);
	overflow: hidden;
	box-shadow: var(--eec-dept-shadow);
	border-top: 4px solid var(--dept-color, var(--eec-blue, #1b3a6b));
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eec-dept-oeuvre-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--eec-dept-shadow-hover);
}

.eec-dept-oeuvre-card__media img {
	display: block;
	width: 100%;
	height: 11rem;
	object-fit: cover;
}

.eec-dept-oeuvre-card__body {
	padding: 1.1rem 1.15rem 1.2rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.eec-dept-oeuvre-card__type {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--dept-color-dark, #142c52);
	background: color-mix(in srgb, var(--dept-color-light, #d6e4f5) 88%, #fff);
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	margin-bottom: 0.5rem;
	align-self: flex-start;
}

.eec-dept-oeuvre-card__body h3 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.1rem;
	margin: 0 0 0.45rem;
	color: var(--eec-blue-deep, #142c52);
}

.eec-dept-oeuvre-card__location {
	font-size: 0.85rem;
	color: var(--eec-text-light, #5c6b7a);
	margin: 0 0 0.5rem;
}

.eec-dept-oeuvre-card__excerpt {
	font-size: 0.86rem;
	line-height: 1.55;
	color: var(--eec-text-light, #5c6b7a);
	margin: 0 0 0.85rem;
	flex: 1;
}

.eec-dept-oeuvre-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	font-size: 0.78rem;
	color: var(--eec-text-light, #5c6b7a);
	margin-bottom: 0.85rem;
}

.eec-dept-oeuvre-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.eec-dept-oeuvre-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
}

.eec-dept-oeuvre-card__link {
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--dept-color, var(--eec-blue, #1b3a6b));
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.eec-dept-oeuvre-card__link:hover {
	text-decoration: underline;
}

.eec-dept-oeuvre-card__external {
	width: 2.25rem;
	height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--eec-cream, #faf7f2);
	color: var(--eec-blue-deep, #142c52);
	text-decoration: none;
	transition: background 0.2s ease;
}

.eec-dept-oeuvre-card__external:hover {
	background: color-mix(in srgb, var(--dept-color-light, #d6e4f5) 70%, #fff);
}

.eec-dept-oeuvres__empty {
	text-align: center;
	padding: 2.5rem 1rem;
	background: var(--eec-cream, #faf7f2);
	border-radius: var(--eec-dept-radius);
	border: 1px dashed rgba(20, 44, 82, 0.15);
	color: var(--eec-text-light, #5c6b7a);
}

.eec-dept-oeuvres__empty p {
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   CTA département
------------------------------------------------------------------------- */

.eec-dept-cta {
	position: relative;
	padding: 3.5rem 1.25rem;
	color: #fff;
	overflow: hidden;
	background: linear-gradient(
		135deg,
		var(--dept-color-dark, #142c52) 0%,
		var(--dept-color, #1b3a6b) 100%
	);
}

.eec-dept-cta__overlay {
	position: absolute;
	inset: 0;
	opacity: 0.15;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

.eec-dept-cta__content {
	position: relative;
	z-index: 1;
	max-width: 40rem;
	margin: 0 auto;
	text-align: center;
}

.eec-dept-cta__content h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	margin: 0 0 0.65rem;
}

.eec-dept-cta__content p {
	margin: 0 0 1.5rem;
	opacity: 0.92;
	line-height: 1.55;
}

.eec-dept-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: center;
}

/* Boutons */
.eec-dept-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.75rem 1.35rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.eec-dept-btn--primary {
	background: var(--eec-yellow, #f4d03f);
	color: var(--eec-blue-deep, #142c52);
	box-shadow: 0 4px 14px rgba(244, 208, 63, 0.35);
}

.eec-dept-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(244, 208, 63, 0.45);
}

.eec-dept-btn--secondary {
	background: #fff;
	color: var(--eec-blue-deep, #142c52);
	border: 2px solid rgba(255, 255, 255, 0.45);
}

.eec-dept-btn--secondary:hover {
	background: rgba(255, 255, 255, 0.92);
}

.eec-dept-btn--ghost {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.55);
}

.eec-dept-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.eec-dept-btn:focus-visible {
	outline: 3px solid var(--eec-yellow, #f4d03f);
	outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   Fiche œuvre (single)
------------------------------------------------------------------------- */

.eec-oeuvre-single__article {
	max-width: 72rem;
	margin: 0 auto;
	padding: 2rem 1.25rem 3.5rem;
}

.eec-oeuvre-single__header {
	margin-bottom: 1.5rem;
}

.eec-oeuvre-single__breadcrumb {
	font-size: 0.85rem;
	margin: 0 0 0.5rem;
	color: var(--eec-text-light, #5c6b7a);
}

.eec-oeuvre-single__breadcrumb a {
	color: var(--dept-color, var(--eec-blue, #1b3a6b));
	font-weight: 600;
	text-decoration: none;
}

.eec-oeuvre-single__breadcrumb a:hover {
	text-decoration: underline;
}

.eec-oeuvre-single__sep {
	margin: 0 0.35rem;
	opacity: 0.6;
}

.eec-oeuvre-single__header h1 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	color: var(--eec-blue-deep, #142c52);
	margin: 0 0 0.35rem;
}

.eec-oeuvre-single__location {
	margin: 0;
	font-size: 0.95rem;
	color: var(--eec-text-light, #5c6b7a);
}

.eec-oeuvre-single__thumb {
	margin-bottom: 2rem;
	border-radius: var(--eec-dept-radius);
	overflow: hidden;
	box-shadow: var(--eec-dept-shadow);
}

.eec-oeuvre-single__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.eec-oeuvre-single__grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.eec-oeuvre-single__grid {
		grid-template-columns: 1fr minmax(16rem, 20rem);
		align-items: start;
	}
}

.eec-oeuvre-single__content {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--eec-text, #2c3e50);
}

.eec-oeuvre-single__aside {
	background: var(--eec-cream, #faf7f2);
	padding: 1.25rem;
	border-radius: var(--eec-dept-radius);
	border-top: 4px solid var(--dept-color, var(--eec-blue, #1b3a6b));
}

.eec-oeuvre-single__dl {
	margin: 0 0 1.25rem;
	display: grid;
	gap: 0.65rem;
}

.eec-oeuvre-single__dl dt {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--eec-text-light, #5c6b7a);
	margin: 0;
}

.eec-oeuvre-single__dl dd {
	margin: 0;
	font-size: 0.9rem;
	color: var(--eec-blue-deep, #142c52);
}

.eec-oeuvre-single__dl a {
	color: var(--dept-color-dark, #142c52);
	word-break: break-word;
}

/* -------------------------------------------------------------------------
   Révélation au scroll
------------------------------------------------------------------------- */

.eec-depts-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.eec-depts-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

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

	.eec-depts-card:hover,
	.eec-dept-oeuvre-card:hover,
	.eec-depts-tool-card:hover,
	.eec-dept-btn--primary:hover {
		transform: none;
	}
}

/* -------------------------------------------------------------------------
   Page Santé — Session 2 (stats, spécialités, carte, tableau)
------------------------------------------------------------------------- */

.eec-dept-main .screen-reader-text,
.eec-dept .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Chiffres clés */
.eec-dept-stats {
	background: var(--dept-color-light);
	padding: 4rem 0;
}

.eec-dept-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11.25rem, 1fr));
	gap: 1.25rem;
	max-width: 62.5rem;
	margin: 0 auto;
}

.eec-dept-stats-card {
	background: #fff;
	padding: 1.75rem 1.25rem;
	border-radius: var(--eec-dept-radius, 12px);
	text-align: center;
	border-top: 4px solid var(--dept-color, var(--eec-green, #5a8a3a));
}

.eec-dept-stats-card i {
	font-size: 1.75rem;
	color: var(--dept-color, var(--eec-green, #5a8a3a));
	margin-bottom: 0.75rem;
	display: block;
}

.eec-dept-stats-card__value {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--eec-blue, #1b3a6b);
	display: block;
	line-height: 1;
}

.eec-dept-stats-card__label {
	font-size: 0.8125rem;
	color: var(--eec-text-light, #5c6b7a);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 0.375rem;
	display: block;
}

/* Spécialités (pills) */
.eec-dept-spec {
	background: #fff;
	padding: 3rem 0 4rem;
	border-bottom: 1px solid var(--eec-border, rgba(20, 44, 82, 0.1));
}

.eec-dept-spec__pills {
	list-style: none;
	margin: 1.5rem auto 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	max-width: 52rem;
}

.eec-dept-spec__pill {
	display: inline-block;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	background: var(--dept-color-light, #f0f7ec);
	border: 1px solid var(--dept-color, var(--eec-green, #5a8a3a));
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--eec-blue-deep, #142c52);
}

/* Session 3 — Éducation : filières & spécialités */
.eec-dept-fields {
	background: #fff;
	padding: 4rem 0;
	border-bottom: 1px solid var(--eec-border, rgba(20, 44, 82, 0.1));
}

.eec-dept-fields__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}

.eec-dept-field-card {
	background: var(--dept-color-light);
	padding: 1.5rem 1.25rem;
	border-radius: var(--eec-dept-radius, 12px);
	border-left: 4px solid var(--dept-color);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eec-dept-field-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(20, 44, 82, 0.1);
}

.eec-dept-field-card i {
	font-size: 1.75rem;
	color: var(--dept-color);
	margin-bottom: 0.75rem;
	display: block;
}

.eec-dept-field-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.0625rem;
	color: var(--eec-blue, #1b3a6b);
	margin: 0 0 0.5rem;
}

.eec-dept-field-card p {
	font-size: 0.8125rem;
	color: var(--eec-text-light, #5c6b7a);
	line-height: 1.5;
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.eec-dept-field-card:hover {
		transform: none;
	}
}

/* Carte Leaflet */
.eec-dept-map {
	background: #fff;
	padding: 4rem 0;
}

.eec-dept-map__container {
	height: 500px;
	border-radius: var(--eec-dept-radius, 14px);
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(20, 44, 82, 0.12);
	margin-top: 1.5rem;
	z-index: 1;
}

.eec-dept-marker {
	background: none !important;
	border: none !important;
}

.eec-dept-marker__inner {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.875rem;
	border: 3px solid #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.eec-dept-marker__icon {
	line-height: 1;
}

.eec-dept-map__legend {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.eec-dept-map__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: #fff;
	border: 2px solid var(--eec-border, #dce3eb);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.875rem;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.eec-dept-map__legend-item:hover {
	border-color: var(--dept-color, var(--eec-green, #5a8a3a));
}

.eec-dept-map__legend-item:focus-visible {
	outline: 2px solid var(--eec-blue-deep, #142c52);
	outline-offset: 2px;
}

.eec-dept-map__legend-item.is-active {
	background: var(--dept-color-light, #f0f7ec);
	border-color: var(--dept-color, var(--eec-green, #5a8a3a));
}

.eec-dept-map__pin {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	display: inline-block;
}

.eec-dept-map__pin--hopital {
	background: #c0392b;
}

.eec-dept-map__pin--cmp {
	background: #e67e22;
}

.eec-dept-map__pin--cds {
	background: #5a8a3a;
}

.eec-dept-map__pin--universite {
	background: #1b3a6b;
}

.eec-dept-map__pin--institut-theologie {
	background: #8e44ad;
}

.eec-dept-map__pin--ecole-secondaire {
	background: #16a085;
}

.eec-dept-map__pin--ecole-primaire {
	background: #3498db;
}

.eec-dept-map__pin--centre-animation {
	background: #e67e22;
}

.eec-dept-map__pin--centre-formation {
	background: #f39c12;
}

.eec-dept-map__pin--foyer {
	background: #d4af37;
}

.eec-dept-map__pin--programme {
	background: #1abc9c;
}

.eec-dept-popup {
	min-width: 12.5rem;
}

.eec-dept-popup h4 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1rem;
	color: var(--eec-blue, #1b3a6b);
	margin: 0 0 0.5rem;
}

.eec-dept-popup p {
	font-size: 0.75rem;
	color: var(--eec-text, #2c3e50);
	margin: 0.25rem 0;
}

.eec-dept-popup p i {
	color: var(--dept-color, var(--eec-green, #5a8a3a));
	margin-right: 0.25rem;
}

.eec-dept-popup__specs {
	font-style: italic;
	font-size: 0.6875rem;
	color: var(--eec-text-light, #5c6b7a);
	margin-top: 0.5rem !important;
}

.eec-dept-popup__link {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--dept-color, var(--eec-green, #5a8a3a));
	text-decoration: none;
}

.eec-dept-popup__link:focus-visible {
	outline: 2px solid var(--eec-blue-deep, #142c52);
	outline-offset: 2px;
}

.eec-dept-map__no-geo {
	padding: 2rem;
	background: var(--eec-cream, #faf7f2);
	border-radius: var(--eec-dept-radius, 12px);
	text-align: center;
	color: var(--eec-text-light, #5c6b7a);
	font-style: italic;
	margin-top: 1rem;
}

.eec-dept-map__no-geo i {
	color: var(--dept-color, var(--eec-green, #5a8a3a));
	margin-right: 0.5rem;
}

/* Tableau */
.eec-dept-table {
	background: var(--eec-cream, #faf7f2);
	padding: 4rem 0;
}

.eec-dept-table__controls {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	align-items: center;
}

.eec-dept-table__search {
	flex: 1;
	min-width: 15rem;
	position: relative;
}

.eec-dept-table__search i {
	position: absolute;
	left: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--eec-text-light, #5c6b7a);
	pointer-events: none;
}

.eec-dept-table__search input {
	width: 100%;
	padding: 0.75rem 1rem 0.75rem 2.5rem;
	border: 1px solid var(--eec-border, #dce3eb);
	border-radius: 8px;
	font-size: 0.875rem;
	background: #fff;
}

.eec-dept-table__search input:focus-visible {
	outline: 2px solid var(--eec-blue-deep, #142c52);
	outline-offset: 1px;
}

.eec-dept-table__filters {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.eec-dept-table__filters select {
	padding: 0.75rem 1rem;
	border: 1px solid var(--eec-border, #dce3eb);
	border-radius: 8px;
	font-size: 0.875rem;
	background: #fff;
	cursor: pointer;
}

.eec-dept-table__filters select:focus-visible {
	outline: 2px solid var(--eec-blue-deep, #142c52);
	outline-offset: 1px;
}

.eec-dept-btn--small {
	padding: 0.45rem 0.85rem;
	font-size: 0.8125rem;
}

.eec-dept-table__wrapper {
	overflow-x: auto;
	background: #fff;
	border-radius: var(--eec-dept-radius, 12px);
	box-shadow: 0 4px 16px rgba(20, 44, 82, 0.06);
}

.eec-dept-table__el {
	width: 100%;
	border-collapse: collapse;
	min-width: 45rem;
}

.eec-dept-table__el th,
.eec-dept-table__el td {
	padding: 0.875rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--eec-border, #dce3eb);
	font-size: 0.875rem;
}

.eec-dept-table__el th {
	background: var(--eec-blue, #1b3a6b);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.75rem;
	user-select: none;
}

.eec-dept-table__el th i {
	margin-left: 0.375rem;
	opacity: 0.5;
}

.eec-dept-table__el th[data-dir] i {
	opacity: 1;
}

.eec-dept-table__el tbody tr:hover {
	background: var(--eec-blue-light, #e8f0f8);
}

.eec-dept-table__badge {
	display: inline-block;
	padding: 0.2rem 0.625rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
}

.eec-dept-table__badge--hopital {
	background: #c0392b;
}

.eec-dept-table__badge--cmp {
	background: #e67e22;
}

.eec-dept-table__badge--cds {
	background: #5a8a3a;
}

.eec-dept-table__badge--universite {
	background: #1b3a6b;
}

.eec-dept-table__badge--institut-theologie {
	background: #8e44ad;
}

.eec-dept-table__badge--ecole-secondaire {
	background: #16a085;
}

.eec-dept-table__badge--ecole-primaire {
	background: #3498db;
}

.eec-dept-table__badge--centre-animation {
	background: #e67e22;
}

.eec-dept-table__badge--centre-formation {
	background: #f39c12;
}

.eec-dept-table__link {
	color: var(--dept-color, var(--eec-green, #5a8a3a));
	font-weight: 700;
	text-decoration: none;
}

.eec-dept-table__link:focus-visible {
	outline: 2px solid var(--eec-blue-deep, #142c52);
	outline-offset: 2px;
}

.eec-dept-table__loading,
.eec-dept-table__empty,
.eec-dept-table__error {
	text-align: center;
	padding: 2.5rem;
	color: var(--eec-text-light, #5c6b7a);
	font-style: italic;
}

.eec-dept-table__count {
	display: block;
	margin-top: 1rem;
	text-align: right;
	color: var(--eec-text-light, #5c6b7a);
	font-size: 0.8125rem;
}

@media (max-width: 768px) {
	.eec-dept-table__controls {
		flex-direction: column;
		align-items: stretch;
	}

	.eec-dept-table__filters {
		flex-direction: column;
	}

	.eec-dept-map__container {
		height: 400px;
	}
}

/* -------------------------------------------------------------------------
   Session 4 — Jeunesse : Focus CAFRAD + activités
------------------------------------------------------------------------- */

.eec-dept-focus {
	background: linear-gradient(135deg, var(--dept-color-light) 0%, #fff 100%);
	padding: 5rem 0;
	position: relative;
	overflow: hidden;
}

.eec-dept-focus::before {
	content: '';
	position: absolute;
	top: -6.25rem;
	right: -6.25rem;
	width: 18.75rem;
	height: 18.75rem;
	border-radius: 50%;
	background: rgba(230, 126, 34, 0.05);
	pointer-events: none;
}

.eec-dept-focus__header {
	text-align: center;
	max-width: 50rem;
	margin: 0 auto 3rem;
	position: relative;
}

.eec-dept-focus__header h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.625rem);
	color: var(--eec-blue, #1b3a6b);
	margin: 1rem 0;
	line-height: 1.2;
}

.eec-dept-focus__intro {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--eec-text, #2c3e50);
	margin: 1rem 0 1.5rem;
}

.eec-dept-focus__cta {
	margin-top: 1.5rem;
}

.eec-dept-focus__cta .eec-btn {
	gap: 0.5rem;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

.eec-dept-focus__subtitle {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.375rem;
	color: var(--eec-blue, #1b3a6b);
	text-align: center;
	margin: 3rem 0 2rem;
	position: relative;
}

.eec-dept-focus__subtitle::after {
	content: '';
	display: block;
	width: 3.75rem;
	height: 3px;
	background: var(--dept-color, var(--eec-green, #5a8a3a));
	margin: 0.75rem auto 0;
	border-radius: 2px;
}

.eec-dept-focus__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
	gap: 1.5rem;
}

.eec-dept-focus-card {
	background: #fff;
	border-radius: 14px;
	padding: 1.75rem 1.5rem;
	box-shadow: 0 4px 20px rgba(20, 44, 82, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-top: 4px solid var(--act-color, var(--dept-color));
	display: flex;
	flex-direction: column;
}

.eec-dept-focus-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(20, 44, 82, 0.12);
}

.eec-dept-focus-card__icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--act-color);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.375rem;
	margin-bottom: 1rem;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.eec-dept-focus-card h4 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.125rem;
	color: var(--eec-blue, #1b3a6b);
	margin: 0 0 0.625rem;
	line-height: 1.3;
}

.eec-dept-focus-card p {
	font-size: 0.875rem;
	color: var(--eec-text-light, #5c6b7a);
	line-height: 1.6;
	margin: 0 0 1rem;
	flex: 1;
}

.eec-dept-focus-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--act-color, var(--dept-color));
	text-decoration: none;
	transition: gap 0.2s ease;
}

.eec-dept-focus-card__link:hover,
.eec-dept-focus-card__link:focus-visible {
	gap: 0.625rem;
}

.eec-dept-focus-card__link:focus-visible {
	outline: 2px solid var(--eec-blue-deep, #142c52);
	outline-offset: 2px;
}

.eec-dept-activities {
	background: #fff;
	padding: 4rem 0;
}

.eec-dept-activities__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}

.eec-dept-activity-card {
	background: var(--dept-color-light);
	padding: 1.5rem 1.25rem;
	border-radius: var(--eec-dept-radius, 12px);
	text-align: center;
	transition: transform 0.3s ease;
	border-bottom: 3px solid var(--dept-color);
}

.eec-dept-activity-card:hover {
	transform: translateY(-4px);
}

.eec-dept-activity-card i {
	font-size: 1.875rem;
	color: var(--dept-color);
	margin-bottom: 0.75rem;
	display: block;
}

.eec-dept-activity-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1rem;
	color: var(--eec-blue, #1b3a6b);
	margin: 0 0 0.5rem;
}

.eec-dept-activity-card p {
	font-size: 0.8125rem;
	color: var(--eec-text-light, #5c6b7a);
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 768px) {
	.eec-dept-focus {
		padding: 3rem 0;
	}

	.eec-dept-focus__header h2 {
		font-size: 1.5rem;
	}

	.eec-dept-focus-card {
		padding: 1.25rem 1.125rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eec-dept-focus-card,
	.eec-dept-activity-card {
		transition: none;
	}

	.eec-dept-focus-card:hover,
	.eec-dept-activity-card:hover {
		transform: none;
	}

	.eec-dept-focus-card__link {
		transition: none;
	}

	.eec-dept-focus-card__link:hover,
	.eec-dept-focus-card__link:focus-visible {
		gap: 0.375rem;
	}

	.eec-dept-benef-card,
	.eec-dept-partner-dia-card {
		transition: none;
	}

	.eec-dept-benef-card:hover,
	.eec-dept-partner-dia-card:hover {
		transform: none;
	}
}

/* === Hub : tableau récap départements === */
.eec-depts-recap {
	background: var(--eec-cream, #f8f6f0);
	padding: 4rem 0;
}

.eec-depts-recap__wrap {
	max-width: 48rem;
	margin: 0 auto;
}

.eec-depts-recap-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: var(--eec-dept-radius, 12px);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(20, 44, 82, 0.08);
	margin-top: 2rem;
}

.eec-depts-recap-table th,
.eec-depts-recap-table td {
	padding: 0.875rem 1rem;
	text-align: left;
	border-bottom: 1px solid rgba(20, 44, 82, 0.08);
	font-size: 0.9375rem;
}

.eec-depts-recap-table thead th {
	background: var(--eec-blue, #1b3a6b);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
}

.eec-depts-recap-table tfoot th,
.eec-depts-recap-table tfoot td {
	border-bottom: none;
	font-weight: 700;
	background: var(--dept-color-light, #f0f4f8);
}

.eec-depts-recap__dept {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--eec-blue, #1b3a6b);
}

.eec-depts-recap__dept::before {
	content: '';
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 50%;
	background: var(--recap-c, var(--eec-blue));
	flex-shrink: 0;
}

.eec-depts-recap-table a {
	font-weight: 600;
	color: var(--eec-blue, #1b3a6b);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.eec-depts-recap-table a:focus-visible {
	outline: 2px solid var(--eec-yellow, #d4af37);
	outline-offset: 2px;
}

.eec-depts-recap__note {
	margin-top: 1.25rem;
	text-align: center;
	font-size: 0.9375rem;
}

.eec-depts-recap__note a {
	font-weight: 700;
	color: var(--eec-blue, #1b3a6b);
}

/* === Bénéficiaires & partenaires diaconie === */
.eec-dept-beneficiaires {
	background: var(--dept-color-light);
	padding: 4rem 0;
}

.eec-dept-beneficiaires__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}

.eec-dept-benef-card {
	background: #fff;
	padding: 1.75rem 1.375rem;
	border-radius: var(--eec-dept-radius, 14px);
	box-shadow: 0 4px 16px rgba(20, 44, 82, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-left: 5px solid var(--benef-color, #5a8a3a);
}

.eec-dept-benef-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(20, 44, 82, 0.12);
}

.eec-dept-benef-card__icon {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--benef-color, #5a8a3a);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.375rem;
	margin-bottom: 0.875rem;
}

.eec-dept-benef-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.125rem;
	color: var(--eec-blue, #1b3a6b);
	margin: 0 0 0.5rem;
}

.eec-dept-benef-card p {
	font-size: 0.875rem;
	color: var(--eec-text-light, #5c6b7a);
	line-height: 1.6;
	margin: 0;
}

.eec-dept-partners-dia {
	background: #fff;
	padding: 4rem 0;
}

.eec-dept-partners-dia__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.eec-dept-partner-dia-card {
	background: var(--dept-color-light);
	padding: 1.5rem 1.25rem;
	border-radius: var(--eec-dept-radius, 14px);
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-top: 4px solid var(--dept-color);
	display: flex;
	flex-direction: column;
}

.eec-dept-partner-dia-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(20, 44, 82, 0.12);
}

.eec-dept-partner-dia-card:focus-visible {
	outline: 2px solid var(--eec-blue-deep, #142c52);
	outline-offset: 3px;
}

.eec-dept-partner-dia-card__icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--dept-color);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
}

.eec-dept-partner-dia-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.125rem;
	color: var(--eec-blue, #1b3a6b);
	margin: 0 0 0.25rem;
}

.eec-dept-partner-dia-card__full {
	font-size: 0.75rem;
	color: var(--eec-text-light, #5c6b7a);
	font-style: italic;
	margin: 0 0 0.5rem;
}

.eec-dept-partner-dia-card__role {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.0625em;
	color: var(--dept-color);
	padding: 0.1875rem 0.625rem;
	background: #fff;
	border-radius: 0.625rem;
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 0.75rem;
}

.eec-dept-partner-dia-card__link {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--dept-color);
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: auto;
}

/* === Annuaire global === */
.eec-annuaire {
	background: #fff;
}

.eec-annuaire-hero {
	background: linear-gradient(
		135deg,
		var(--eec-blue, #1b3a6b) 0%,
		var(--eec-blue-deep, #142c52) 100%
	);
	padding: 5rem 1.5rem 4rem;
	color: #fff;
	text-align: center;
}

.eec-annuaire-hero h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 1rem 0;
}

.eec-annuaire-hero p {
	max-width: 43.75rem;
	margin: 0 auto;
	opacity: 0.92;
	font-size: 1.0625rem;
	line-height: 1.55;
}

.eec-annuaire__inner {
	max-width: 80rem;
	margin: 0 auto;
	padding: 4rem 1.5rem;
}

.eec-annuaire-section {
	background: var(--eec-cream, #f8f6f0);
	padding: 0;
}

.eec-annuaire-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11.25rem, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.eec-annuaire-stat {
	background: #fff;
	padding: 1.25rem;
	border-radius: var(--eec-dept-radius, 12px);
	text-align: center;
	border-top: 4px solid var(--eec-yellow, #d4af37);
}

.eec-annuaire-stat span {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--eec-blue, #1b3a6b);
	line-height: 1;
}

.eec-annuaire-stat label {
	display: block;
	font-size: 0.75rem;
	color: var(--eec-text-light, #5c6b7a);
	text-transform: uppercase;
	letter-spacing: 0.0625em;
	margin-top: 0.5rem;
}

.eec-annuaire-dept-badge {
	display: inline-block;
	padding: 0.25rem 0.625rem;
	border-radius: 0.625rem;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.03125em;
}

.eec-annuaire-map-section {
	background: #fff;
	padding: 0;
}

.eec-annuaire .eec-dept-table__filters {
	flex: 1 1 auto;
	gap: 0.5rem;
	display: flex;
	flex-wrap: wrap;
}

.eec-annuaire .eec-dept-table__filters select {
	flex: 1;
	min-width: 11.25rem;
}

#eec-annuaire-legend .eec-dept-map__legend-item {
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	border: 2px solid transparent;
	border-radius: 999px;
}

#eec-annuaire-legend .eec-dept-map__legend-item:focus-visible {
	outline: 2px solid var(--eec-blue, #1b3a6b);
	outline-offset: 2px;
}

#eec-annuaire-legend .eec-dept-map__legend-item.is-active {
	background: var(--dept-c, var(--eec-blue));
	color: #fff;
	border-color: var(--dept-c, var(--eec-blue));
}

#eec-annuaire-legend .eec-dept-map__legend-item.is-active .eec-dept-map__pin {
	background: #fff !important;
	box-shadow: inset 0 0 0 2px var(--dept-c);
}

@media (max-width: 782px) {
	.eec-annuaire-table__controls.eec-dept-table__controls {
		flex-direction: column;
		align-items: stretch;
	}
}
