/*
 * DateCle — Homepage Premium
 * Fichier chargé uniquement lorsque $typage === 'home'.
 */

/* =========================================================
   1. SOCLE
   ========================================================= */

body.home-page {
	--dc-home-bg: #f3f6fb;
	--dc-home-surface: #ffffff;
	--dc-home-surface-soft: #f8fafc;
	--dc-home-ink: #172033;
	--dc-home-text: #3f4a5c;
	--dc-home-muted: #697386;
	--dc-home-line: rgba(23, 32, 51, 0.1);
	--dc-home-accent: #f77850;
	--dc-home-accent-dark: #c94d2c;
	--dc-home-gold: #f7bd55;
	--dc-home-violet: #7357d8;
	--dc-home-good: #148665;

	--dc-home-radius-xl: 32px;
	--dc-home-radius-lg: 22px;
	--dc-home-radius-md: 15px;

	--dc-home-shadow-xl:
		0 32px 90px rgba(29, 38, 57, 0.15);

	--dc-home-shadow-lg:
		0 18px 52px rgba(29, 38, 57, 0.11);

	--dc-home-shadow-md:
		0 9px 26px rgba(29, 38, 57, 0.08);

	background:
		radial-gradient(
			circle at 5% 10%,
			rgba(247, 120, 80, 0.12),
			transparent 28rem
		),
		radial-gradient(
			circle at 95% 22%,
			rgba(115, 87, 216, 0.09),
			transparent 32rem
		),
		var(--dc-home-bg);

	color: var(--dc-home-text);
}

body.home-page #page-wrapper {
	overflow: clip;
	background: transparent;
}

/* =========================================================
   2. HEADER ET HERO
   ========================================================= */

body.home-page #header.alt {
	background: rgba(22, 29, 43, 0.62);
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

body.home-page #header.alt a {
	color: #ffffff;
}

body.home-page #banner {
	position: relative;
	isolation: isolate;
	min-height: 420px;
	padding: 8.5rem 1.5rem 10rem;
	overflow: hidden;
	background-position: center center;
	background-size: cover;
}

body.home-page #banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			115deg,
			rgba(18, 25, 38, 0.9),
			rgba(40, 31, 44, 0.68) 52%,
			rgba(96, 44, 32, 0.58)
		),
		radial-gradient(
			circle at 75% 18%,
			rgba(247, 189, 85, 0.24),
			transparent 31%
		);
}

body.home-page #banner::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 34rem;
	height: 34rem;
	right: -12rem;
	bottom: -24rem;
	border-radius: 50%;
	background: rgba(247, 120, 80, 0.25);
	filter: blur(4px);
}

body.home-page #banner h1,
body.home-page #banner h2 {
	width: min(860px, 100%);
	max-width: none !important;
	margin: 0 auto 1rem !important;
	padding: 0 !important;
	color: #ffffff !important;
	font-size: clamp(2.4rem, 6vw, 5.2rem) !important;
	font-weight: 900 !important;
	line-height: 0.98 !important;
	letter-spacing: -0.045em !important;
	text-wrap: balance;
	text-shadow: 0 7px 30px rgba(0, 0, 0, 0.28);
}

body.home-page #banner p {
	width: min(720px, 100%);
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.55;
}

/* =========================================================
   3. CONTENEUR PRINCIPAL
   ========================================================= */

body.home-page #main.container {
	position: relative;
	z-index: 2;
	width: min(1180px, calc(100% - 2rem));
	max-width: none;
	margin-top: -6rem;
	padding: 0 0 clamp(3rem, 7vw, 6rem);
}

body.home-page #main > .box.special {
	position: relative;
	margin: 0 0 2rem;
	padding: clamp(1.6rem, 4vw, 3.8rem);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: var(--dc-home-radius-xl);
	background:
		radial-gradient(
			circle at 100% 0,
			rgba(247, 189, 85, 0.14),
			transparent 30%
		),
		linear-gradient(145deg, #ffffff, #fbfcff);
	box-shadow: var(--dc-home-shadow-xl);
	text-align: left;
}

body.home-page #main > .box.special::before {
	content: "DATECLE";
	position: absolute;
	top: 1.25rem;
	right: 1.5rem;
	color: rgba(23, 32, 51, 0.12);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.24em;
}

/* =========================================================
   4. INTRODUCTION SEO / GEO
   ========================================================= */

body.home-page #main header.major {
	width: min(900px, 100%);
	margin: 0 auto 2rem;
	padding: 0;
	text-align: center;
}

body.home-page #main header.major h1 {
	margin: 0 0 1.15rem;
	padding: 0;
	border: 0;
	background: linear-gradient(
		110deg,
		var(--dc-home-ink),
		#583329 65%,
		var(--dc-home-violet)
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: var(--dc-home-ink);
	-webkit-text-fill-color: transparent;
	font-size: clamp(2rem, 5vw, 4.25rem);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.045em;
	text-align: center;
	text-wrap: balance;
}

body.home-page #main header.major p {
	display: block;
	width: min(780px, 100%);
	margin: 0.85rem auto 0;
	padding: 0;
	border: 0;
	color: var(--dc-home-text);
	font-size: clamp(1rem, 1.7vw, 1.18rem);
	font-style: normal;
	font-weight: 400;
	line-height: 1.7;
}

body.home-page #main header.major strong {
	color: var(--dc-home-ink);
	font-weight: 750;
}

/* =========================================================
   5. ACCÈS RAPIDES
   ========================================================= */

body.home-page #main nav[aria-label="Accès rapides au calendrier"] {
	margin: 2rem 0 2.6rem;
}

body.home-page #main .actions.special {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}

body.home-page #main .actions.special li {
	display: block;
	margin: 0;
	padding: 0;
	width: auto;
}

body.home-page #main .actions.special .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0.82rem 1.15rem;
	border: 1px solid rgba(23, 32, 51, 0.1);
	border-radius: 999px;
	background: #ffffff;
	box-shadow: var(--dc-home-shadow-md);
	color: var(--dc-home-ink) !important;
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.25;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	white-space: normal;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

body.home-page #main .actions.special .button:hover {
	transform: translateY(-2px);
	border-color: rgba(247, 120, 80, 0.4);
	background: #ffffff;
	box-shadow: 0 14px 34px rgba(29, 38, 57, 0.13);
	color: var(--dc-home-accent-dark) !important;
}

body.home-page #main .actions.special .button.primary {
	border-color: transparent;
	background:
		linear-gradient(
			135deg,
			var(--dc-home-accent),
			#f29155
		);
	color: #ffffff !important;
	box-shadow: 0 14px 30px rgba(247, 120, 80, 0.28);
}

/* =========================================================
   6. TITRES DE SECTIONS
   Neutralisation du gros H3 rose historique
   ========================================================= */

body.home-page #main h2,
body.home-page #main h3 {
	float: none;
	width: auto;
	margin: clamp(2rem, 5vw, 3.5rem) 0 1.25rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--dc-home-ink) !important;
	font-weight: 850;
	line-height: 1.12;
	letter-spacing: -0.03em;
	text-align: left;
}

body.home-page #main h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.65rem);
}

body.home-page #main h3 {
	font-size: clamp(1.4rem, 2.8vw, 2.1rem);
}

body.home-page #main h2::after,
body.home-page #main h3::after {
	content: "";
	display: block;
	width: 4.5rem;
	height: 4px;
	margin-top: 0.75rem;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		var(--dc-home-accent),
		var(--dc-home-gold)
	);
}

/* =========================================================
   7. ÉVÉNEMENTS DU JOUR
   ========================================================= */

body.home-page #main > .box.special > article.box,
body.home-page #main > .box.special > .box:not(.boxlist) {
	display: grid;
	grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
	align-items: stretch;
	gap: 0;
	margin: 1rem 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--dc-home-line);
	border-radius: var(--dc-home-radius-lg);
	background: var(--dc-home-surface);
	box-shadow: var(--dc-home-shadow-lg);
	text-align: left;
}

body.home-page #main .box .image.featured {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	margin: 0;
	border-radius: 0;
	overflow: hidden;
}

body.home-page #main .box .image.featured a {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

body.home-page #main .box .image.featured img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	border-radius: 0;
	transition: transform 350ms ease;
}

body.home-page #main .box .image.featured:hover img {
	transform: scale(1.035);
}

body.home-page #main .stikytoday,
body.home-page #main #stikytoday {
	display: flex;
	align-items: center;
	padding: clamp(1.4rem, 3vw, 2.4rem);
	color: var(--dc-home-text);
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	font-weight: 500;
	line-height: 1.65;
	text-align: left;
}

body.home-page #main .stikytoday a,
body.home-page #main #stikytoday a {
	color: var(--dc-home-accent-dark);
	font-weight: 800;
	text-decoration: none;
}

/* =========================================================
   8. GRAND CALENDRIER
   ========================================================= */

body.home-page #main .boxlist {
	float: none;
	clear: both;
	width: 100%;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2.5rem) !important;
	border: 1px solid var(--dc-home-line);
	border-radius: var(--dc-home-radius-xl);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--dc-home-shadow-xl);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

body.home-page #main ul.listcal {
	display: grid;
	gap: 0.72rem;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}

body.home-page #main ul.listcal li {
	position: relative;
	display: grid;
	grid-template-columns:
		minmax(108px, 132px)
		minmax(210px, 1.1fr)
		minmax(180px, 1.5fr)
		auto;
	align-items: center;
	gap: 0.7rem 1rem;
	width: 100%;
	height: auto;
	min-height: 72px;
	margin: 0;
	padding: 0.82rem 1rem;
	overflow: visible;
	border: 1px solid rgba(23, 32, 51, 0.075);
	border-radius: var(--dc-home-radius-md);
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(29, 38, 57, 0.045);
	color: var(--dc-home-text);
	font-size: 0.96rem;
	line-height: 1.45;
	transition:
		transform 160ms ease,
		box-shadow 160ms ease,
		border-color 160ms ease;
}

body.home-page #main ul.listcal li:nth-child(2n + 1) {
	background: #fbfcfe;
}

body.home-page #main ul.listcal li:hover {
	z-index: 2;
	transform: translateY(-2px);
	border-color: rgba(247, 120, 80, 0.25);
	box-shadow: var(--dc-home-shadow-md);
}

body.home-page #main ul.listcal li .date {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-height: 48px;
	margin: 0;
	padding: 0.65rem 0.75rem;
	border-radius: 11px;
	background:
		linear-gradient(
			135deg,
			#273247,
			#485674
		);
	color: #ffffff;
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
}

body.home-page #main ul.listcal li .levent {
	float: none;
	margin: 0;
	min-width: 0;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.35;
}

body.home-page #main ul.listcal li .levent a {
	color: var(--dc-home-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

body.home-page #main ul.listcal li .levent a:hover {
	color: var(--dc-home-accent-dark);
}

body.home-page #main ul.listcal li .shortdesc {
	float: none;
	width: auto;
	margin: 0;
	color: var(--dc-home-muted);
	font-size: 0.88rem;
	line-height: 1.48;
	text-align: left;
}

body.home-page #main ul.listcal li .statut {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 220px;
	margin: 0;
	padding: 0.5rem 0.72rem;
	border-radius: 999px;
	background: #eef2f7;
	color: #425068;
	font-size: 0.75rem;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}

body.home-page #main ul.listcal li .statut.ssoon {
	padding-right: 0.72rem;
	background:
		linear-gradient(135deg, #fff4e7, #ffeadf);
	color: #9b422a;
}

body.home-page #main ul.listcal li .statut.stoday {
	background: #e5f7f0;
	color: #0f7657;
}

body.home-page #main ul.listcal li .statut.sfutur {
	background: #eef0fa;
	color: #51489a;
}

body.home-page #main ul.listcal li .lestags {
	grid-column: 2 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.38rem;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	background: transparent;
}

body.home-page #main ul.listcal li .etiquette {
	float: none;
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0.28rem 0.58rem;
	border: 1px solid rgba(23, 32, 51, 0.09);
	border-radius: 999px;
	background: var(--dc-home-surface-soft);
	color: #58657a;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

body.home-page #main ul.listcal li .etiquette:hover {
	border-color: rgba(247, 120, 80, 0.3);
	background: #fff1ec;
	color: var(--dc-home-accent-dark);
}

/* =========================================================
   9. BOUTONS DE FIN DE SECTION
   ========================================================= */

body.home-page #main .boxlist > .actions {
	margin: 1.7rem 0 0;
	padding: 0;
}

body.home-page #main .boxlist > .actions .button {
	height: auto;
	padding: 0.85rem 1.2rem;
	border-radius: 13px;
	background: var(--dc-home-ink);
	color: #ffffff !important;
	font-size: 0.88rem;
	font-weight: 750;
	line-height: 1.35;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
}

body.home-page #main .boxlist > .actions .button:hover {
	background: var(--dc-home-accent-dark);
}

/* =========================================================
   10. CTA ET FOOTER
   ========================================================= */

body.home-page #cta {
	clear: both;
	float: none;
	width: 100%;
	padding: 3.5rem 1.25rem;
	background:
		linear-gradient(
			135deg,
			#c64c2c,
			var(--dc-home-accent) 55%,
			#f19b62
		);
	color: #ffffff;
}

body.home-page #cta h2,
body.home-page #cta h3 {
	float: none;
	width: auto;
	margin: 0 0 0.6rem;
	padding: 0;
	background: transparent;
	color: #ffffff !important;
}

body.home-page #footer {
	clear: both;
	float: none;
	width: 100%;
	background: #172033;
	color: rgba(255, 255, 255, 0.65);
}

/* =========================================================
   11. RESPONSIVE
   ========================================================= */

@media screen and (max-width: 980px) {
	body.home-page #main ul.listcal li {
		grid-template-columns:
			minmax(100px, 120px)
			minmax(0, 1fr)
			auto;
	}

	body.home-page #main ul.listcal li .shortdesc {
		grid-column: 2 / -1;
	}

	body.home-page #main ul.listcal li .lestags {
		grid-column: 2 / -1;
	}
}

@media screen and (max-width: 840px) {
	body.home-page #banner {
		min-height: 340px;
		padding: 6rem 1.1rem 8rem;
	}

	body.home-page #main.container {
		width: min(100% - 1rem, 1180px);
		margin-top: -4rem;
	}

	body.home-page #main > .box.special {
		padding: 1.35rem;
		border-radius: 24px;
	}

	body.home-page #main header.major {
		padding: 0;
	}

	body.home-page #main .actions.special li {
		width: auto;
		padding: 0;
	}

	body.home-page #main .actions.special li > * {
		width: auto;
	}

	body.home-page #main > .box.special > article.box,
	body.home-page #main > .box.special > .box:not(.boxlist) {
		grid-template-columns: 1fr;
	}

	body.home-page #main .box .image.featured,
	body.home-page #main .box .image.featured img {
		min-height: 210px;
		max-height: 310px;
	}

	body.home-page #main .boxlist {
		float: none;
		padding: 1rem !important;
		border-radius: 24px;
	}

	body.home-page #main ul.listcal li {
		float: none;
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 0.65rem 0.8rem;
		width: 100%;
		height: auto;
		margin: 0;
		padding: 0.85rem;
		border: 1px solid rgba(23, 32, 51, 0.09);
		border-radius: 14px;
	}

	body.home-page #main ul.listcal li .date {
		grid-row: 1 / span 2;
		align-self: stretch;
	}

	body.home-page #main ul.listcal li .levent {
		float: none;
		margin: 0;
	}

	body.home-page #main ul.listcal li .shortdesc,
	body.home-page #main ul.listcal li .statut,
	body.home-page #main ul.listcal li .lestags {
		grid-column: 2;
	}

	body.home-page #main ul.listcal li .statut {
		justify-self: start;
		max-width: 100%;
	}

	body.home-page #main ul.listcal li .lestags {
		float: none;
		width: auto;
		background: transparent;
	}
}

@media screen and (max-width: 560px) {
	body.home-page #banner {
		min-height: 300px;
		padding: 5.5rem 1rem 7rem;
	}

	body.home-page #banner h1,
	body.home-page #banner h2 {
		font-size: clamp(2rem, 11vw, 3rem) !important;
	}

	body.home-page #main.container {
		width: calc(100% - 0.7rem);
		margin-top: -3.2rem;
	}

	body.home-page #main > .box.special,
	body.home-page #main .boxlist {
		border-radius: 20px;
	}

	body.home-page #main .actions.special {
		display: grid;
		grid-template-columns: 1fr;
	}

	body.home-page #main .actions.special li,
	body.home-page #main .actions.special li > *,
	body.home-page #main .actions.special .button {
		width: 100%;
	}

	body.home-page #main ul.listcal {
		gap: 0.8rem;
	}

	body.home-page #main ul.listcal li {
		grid-template-columns: 1fr;
		padding: 0.9rem;
	}

	body.home-page #main ul.listcal li .date,
	body.home-page #main ul.listcal li .levent,
	body.home-page #main ul.listcal li .shortdesc,
	body.home-page #main ul.listcal li .statut,
	body.home-page #main ul.listcal li .lestags {
		grid-column: 1;
		grid-row: auto;
		width: 100%;
	}

	body.home-page #main ul.listcal li .date {
		min-height: 0;
		justify-content: flex-start;
	}

	body.home-page #main ul.listcal li .statut {
		justify-self: stretch;
	}

	body.home-page #main h2,
	body.home-page #main h3 {
		text-align: left;
	}

	body.home-page #main .stikytoday,
	body.home-page #main #stikytoday {
		padding: 1.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home-page *,
	body.home-page *::before,
	body.home-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* =========================================================
   12. SÉLECTION ÉDITORIALE DE LA HOMEPAGE
   ========================================================= */

body.home-page #main .dc-home-section-intro {
	width: min(820px, 100%);
	margin: -0.4rem 0 1.6rem;
	color: var(--dc-home-muted);
	font-size: 1rem;
	line-height: 1.65;
}

body.home-page #main .dc-home-event-type {
	display: block;
	margin: 0 0 0.18rem;
	color: var(--dc-home-accent-dark);
	font-size: 0.64rem;
	font-weight: 850;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.home-page #main .dc-home-calendar-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 1.6rem;
}

body.home-page #main .dc-home-calendar-actions li {
	width: auto;
	padding: 0;
}

body.home-page #main .dc-home-calendar-actions .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

body.home-page #main .dc-home-archives {
	margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
	padding: clamp(1.4rem, 4vw, 2.5rem);
	border: 1px solid rgba(23, 32, 51, 0.1);
	border-radius: 22px;
	background:
		radial-gradient(
			circle at 100% 0,
			rgba(115, 87, 216, 0.1),
			transparent 35%
		),
		linear-gradient(145deg, #f8f9ff, #ffffff);
	box-shadow: var(--dc-home-shadow-md);
	text-align: left;
}

body.home-page #main .dc-home-archives h2 {
	margin-top: 0;
}

body.home-page #main .dc-home-archives p {
	max-width: 760px;
	margin-bottom: 1.3rem;
	color: var(--dc-home-muted);
	line-height: 1.7;
}

body.home-page #main .dc-home-archives .button {
	height: auto;
	padding: 0.78rem 1.1rem;
	border-radius: 12px;
	background: var(--dc-home-ink);
	color: #ffffff !important;
	font-size: 0.88rem;
	font-weight: 750;
	line-height: 1.35;
	text-decoration: none;
	text-transform: none;
}

@media screen and (max-width: 640px) {
	body.home-page #main .dc-home-calendar-actions {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   13. RICH CONTENT HOMEPAGE
   ========================================================= */

body.home-page #main .dc-home-rich {
	position: relative;
	clear: both;
	margin: clamp(3rem, 7vw, 5.5rem) 0 0;
	padding: clamp(1.4rem, 4vw, 3rem);
	overflow: hidden;
	border: 1px solid var(--dc-home-line);
	border-radius: var(--dc-home-radius-xl);
	background:
		radial-gradient(
			circle at 100% 0,
			rgba(247, 189, 85, 0.09),
			transparent 28rem
		),
		linear-gradient(145deg, #ffffff, #fafbfe);
	box-shadow: var(--dc-home-shadow-lg);
	text-align: left;
}

body.home-page #main .dc-home-rich-header {
	width: min(860px, 100%);
	margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
	text-align: center;
}

body.home-page #main .dc-home-rich-header h2 {
	margin: 0;
	text-align: center;
}

body.home-page #main .dc-home-rich-header h2::after {
	margin-right: auto;
	margin-left: auto;
}

body.home-page #main .dc-home-rich-header > p:not(.dc-home-eyebrow) {
	margin: 1rem auto 0;
	color: var(--dc-home-muted);
	font-size: 1rem;
	line-height: 1.7;
}

body.home-page #main .dc-home-eyebrow {
	margin: 0 0 0.65rem;
	color: var(--dc-home-accent-dark);
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

body.home-page #main .dc-home-rich h3 {
	margin: 0 0 0.65rem;
	padding: 0;
	background: transparent;
	color: var(--dc-home-ink) !important;
	font-size: 1.13rem;
	font-weight: 850;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-align: left;
}

body.home-page #main .dc-home-rich h3::after {
	display: none;
}

body.home-page #main .dc-home-rich p {
	color: var(--dc-home-muted);
	line-height: 1.65;
}

body.home-page #main .dc-home-rich a {
	font-weight: 750;
	text-decoration: none;
}

/* =========================================================
   FOCUS DU MOIS
   ========================================================= */

body.home-page #main .dc-home-month-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

body.home-page #main .dc-home-month-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--dc-home-line);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: var(--dc-home-shadow-md);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}

body.home-page #main .dc-home-month-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--dc-home-shadow-lg);
}

body.home-page #main .dc-home-month-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef1f6;
}

body.home-page #main .dc-home-month-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

body.home-page #main .dc-home-month-card:hover img {
	transform: scale(1.045);
}

body.home-page #main .dc-home-month-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.15rem;
}

body.home-page #main .dc-home-month-card time {
	display: inline-flex;
	align-self: flex-start;
	margin-bottom: 0.75rem;
	padding: 0.35rem 0.58rem;
	border-radius: 999px;
	background: #fff0ea;
	color: var(--dc-home-accent-dark);
	font-size: 0.75rem;
	font-weight: 850;
}

body.home-page #main .dc-home-month-card h3 a {
	color: var(--dc-home-ink);
}

body.home-page #main .dc-home-month-card p {
	margin: 0 0 1rem;
	font-size: 0.88rem;
}

body.home-page #main .dc-home-text-link {
	display: inline-flex;
	margin-top: auto;
	color: var(--dc-home-accent-dark);
	font-size: 0.83rem;
	line-height: 1.4;
}

body.home-page #main .dc-home-rich-action {
	margin: 1.6rem 0 0;
	text-align: center;
}

body.home-page #main .dc-home-rich-action .button {
	height: auto;
	padding: 0.82rem 1.2rem;
	border-radius: 13px;
	background: var(--dc-home-ink);
	color: #ffffff !important;
	font-size: 0.88rem;
	font-weight: 750;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: normal;
}

/* =========================================================
   LISTICLE DES THÉMATIQUES
   ========================================================= */

body.home-page #main .dc-home-listicle {
	background:
		radial-gradient(
			circle at 0 0,
			rgba(115, 87, 216, 0.1),
			transparent 30rem
		),
		linear-gradient(145deg, #ffffff, #faf9ff);
}

body.home-page #main .dc-home-listicle-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	counter-reset: none;
	list-style: none;
}

body.home-page #main .dc-home-listicle-grid > li {
	display: block;
	margin: 0;
	padding: 0;
}

body.home-page #main .dc-home-topic-card {
	position: relative;
	height: 100%;
	min-height: 300px;
	padding: 1.3rem;
	overflow: hidden;
	border: 1px solid var(--dc-home-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--dc-home-shadow-md);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

body.home-page #main .dc-home-topic-card:hover {
	transform: translateY(-4px);
	border-color: rgba(247, 120, 80, 0.3);
	box-shadow: var(--dc-home-shadow-lg);
}

body.home-page #main .dc-home-topic-card__number {
	position: absolute;
	top: 0.8rem;
	right: 0.9rem;
	color: rgba(23, 32, 51, 0.12);
	font-size: 1.45rem;
	font-weight: 950;
	line-height: 1;
}

body.home-page #main .dc-home-topic-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.1rem;
	height: 3.1rem;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: #f3f4fa;
	font-size: 1.55rem;
}

body.home-page #main .dc-home-topic-card p {
	margin: 0 0 1rem;
	font-size: 0.88rem;
}

body.home-page #main .dc-home-topic-card a {
	display: inline-flex;
	color: var(--dc-home-accent-dark);
	font-size: 0.83rem;
	line-height: 1.45;
}

/* =========================================================
   USAGES, STATUTS ET FORMATS
   ========================================================= */

body.home-page #main .dc-home-usage-grid,
body.home-page #main .dc-home-format-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

body.home-page #main .dc-home-status-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

body.home-page #main .dc-home-usage-grid article,
body.home-page #main .dc-home-status-grid article,
body.home-page #main .dc-home-format-grid article {
	height: 100%;
	padding: 1.3rem;
	border: 1px solid var(--dc-home-line);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: var(--dc-home-shadow-md);
}

body.home-page #main .dc-home-usage-grid article > span,
body.home-page #main .dc-home-format-grid article > span,
body.home-page #main .dc-home-status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: #f2f4f8;
	font-size: 1.45rem;
}

body.home-page #main .dc-home-usage-grid p,
body.home-page #main .dc-home-status-grid p,
body.home-page #main .dc-home-format-grid p {
	margin: 0;
	font-size: 0.9rem;
}

body.home-page #main .dc-home-format-grid a {
	display: inline-flex;
	margin-top: 1rem;
	color: var(--dc-home-accent-dark);
	font-size: 0.85rem;
}

/* =========================================================
   FAQ
   ========================================================= */

body.home-page #main .dc-home-faq-list {
	display: grid;
	gap: 0.75rem;
	width: min(900px, 100%);
	margin: 0 auto;
}

body.home-page #main .dc-home-faq-list details {
	overflow: hidden;
	border: 1px solid var(--dc-home-line);
	border-radius: 15px;
	background: #ffffff;
	box-shadow: 0 5px 18px rgba(29, 38, 57, 0.055);
}

body.home-page #main .dc-home-faq-list summary {
	position: relative;
	padding: 1.05rem 3.3rem 1.05rem 1.15rem;
	color: var(--dc-home-ink);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}

body.home-page #main .dc-home-faq-list summary::-webkit-details-marker {
	display: none;
}

body.home-page #main .dc-home-faq-list summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 1.15rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	background: #f1f3f8;
	color: var(--dc-home-ink);
	font-size: 1.2rem;
	font-weight: 700;
	transform: translateY(-50%);
}

body.home-page #main .dc-home-faq-list details[open] summary::after {
	content: "−";
	background: #fff0ea;
	color: var(--dc-home-accent-dark);
}

body.home-page #main .dc-home-faq-list details > div {
	padding: 0 1.15rem 1.15rem;
}

body.home-page #main .dc-home-faq-list details p {
	margin: 0;
	font-size: 0.92rem;
}

body.home-page #main .dc-home-faq-list details a {
	color: var(--dc-home-accent-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* =========================================================
   RESPONSIVE RICH CONTENT
   ========================================================= */

@media screen and (max-width: 1060px) {
	body.home-page #main .dc-home-listicle-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home-page #main .dc-home-status-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 820px) {
	body.home-page #main .dc-home-month-grid,
	body.home-page #main .dc-home-usage-grid,
	body.home-page #main .dc-home-format-grid {
		grid-template-columns: 1fr;
	}

	body.home-page #main .dc-home-month-card {
		display: grid;
		grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
	}

	body.home-page #main .dc-home-month-card__image {
		height: 100%;
		aspect-ratio: auto;
	}
}

@media screen and (max-width: 580px) {
	body.home-page #main .dc-home-rich {
		margin-top: 2.5rem;
		padding: 1.1rem;
		border-radius: 20px;
	}

	body.home-page #main .dc-home-listicle-grid,
	body.home-page #main .dc-home-status-grid {
		grid-template-columns: 1fr;
	}

	body.home-page #main .dc-home-month-card {
		display: flex;
	}

	body.home-page #main .dc-home-month-card__image {
		aspect-ratio: 16 / 9;
	}

	body.home-page #main .dc-home-topic-card {
		min-height: 0;
	}
}

/* =========================================================
   14. TROIS ACCÈS CALENDRIER + MINIATURES ÉVÉNEMENTS
   ========================================================= */

body.home-page #main .dc-home-calendar-actions {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-page #main .dc-home-calendar-actions li {
	display: flex;
	min-width: 0;
}

body.home-page #main .dc-home-calendar-actions .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	padding-right: 1rem;
	padding-left: 1rem;
	text-align: center;
	white-space: normal;
}

/* Miniatures de la sélection des prochaines dates */

body.home-page #main .dc-home-event-main {
	display: flex;
	align-items: center;
	gap: 0.72rem;
	min-width: 0;
}

body.home-page #main .dc-home-event-copy {
	display: block;
	min-width: 0;
}

body.home-page #main .dc-home-event-thumb {
	flex: 0 0 82px;
	width: 82px;
	height: 56px;
	overflow: hidden;
	border-radius: 10px;
	background: linear-gradient(135deg, #edf0f5, #f8f9fb);
	box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.07);
}

body.home-page #main .dc-home-event-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition:
		opacity 240ms ease,
		transform 280ms ease;
}

body.home-page #main .dc-home-event-thumb img.is-loaded {
	opacity: 1;
}

body.home-page #main .dc-home-event-thumb:hover img {
	transform: scale(1.045);
}

@media screen and (max-width: 900px) {
	body.home-page #main .dc-home-calendar-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home-page #main .dc-home-calendar-actions li:last-child {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 640px) {
	body.home-page #main .dc-home-calendar-actions {
		grid-template-columns: 1fr;
	}

	body.home-page #main .dc-home-calendar-actions li:last-child {
		grid-column: auto;
	}

	body.home-page #main .dc-home-event-thumb {
		flex-basis: 72px;
		width: 72px;
		height: 50px;
	}
}

/* =========================================================
   15. CARTES ÉVÉNEMENTS ENTIÈREMENT CLIQUABLES
   L’overlay utilise toujours l’ancre principale existante.
   ========================================================= */

/* Sélection des prochaines dates */

body.home-page #main .dc-home-curated-events > li {
	position: relative;
	cursor: pointer;
}

body.home-page #main .dc-home-event-copy > a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

body.home-page #main .dc-home-event-copy > a:focus-visible::after {
	outline: 3px solid rgba(233, 104, 67, 0.55);
	outline-offset: 2px;
}

/*
 * La miniature reste un véritable lien indépendant
 * au-dessus de l’overlay principal.
 */
body.home-page #main .dc-home-event-thumb {
	position: relative;
	z-index: 2;
}

/* Cartes visuelles du mois */

body.home-page #main .dc-home-month-card {
	position: relative;
	cursor: pointer;
}

body.home-page #main .dc-home-month-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

body.home-page #main .dc-home-month-card h3 a:focus-visible::after {
	outline: 3px solid rgba(233, 104, 67, 0.55);
	outline-offset: 2px;
}

body.home-page #main .dc-home-month-card__image,
body.home-page #main .dc-home-month-card .dc-home-text-link {
	position: relative;
	z-index: 2;
}

/* Cartes « aujourd’hui » */

body.home-page #main .box.special > article.box {
	position: relative;
	cursor: pointer;
}

body.home-page #main .box.special > article.box .stikytoday a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

body.home-page #main .box.special > article.box .stikytoday a:focus-visible::after {
	outline: 3px solid rgba(233, 104, 67, 0.55);
	outline-offset: 2px;
}

body.home-page #main .box.special > article.box .image.featured a {
	position: relative;
	z-index: 2;
}

/* =========================================================
   16. STRETCHED LINKS ROBUSTES
   ========================================================= */

body.home-page #main .dc-home-curated-events > li,
body.home-page #main .dc-home-month-card,
body.home-page #main .box.special > article.box {
	position: relative;
	cursor: pointer;
}

body.home-page #main .dc-home-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

/*
 * Désactive les anciens overlays générés par les liens de titres.
 * L’ancre .dc-home-card-link prend désormais en charge toute la carte.
 */
body.home-page #main .dc-home-event-copy > a::after,
body.home-page #main .dc-home-month-card h3 a::after,
body.home-page #main .box.special > article.box .stikytoday a::after {
	content: none !important;
	display: none !important;
}

body.home-page #main .dc-home-event-thumb,
body.home-page #main .dc-home-event-copy > a,
body.home-page #main .dc-home-month-card__image,
body.home-page #main .dc-home-month-card h3 a,
body.home-page #main .dc-home-month-card .dc-home-text-link,
body.home-page #main .box.special > article.box .image.featured a,
body.home-page #main .box.special > article.box .stikytoday a {
	position: relative;
	z-index: 2;
}

body.home-page #main .dc-home-curated-events > li:focus-within,
body.home-page #main .dc-home-month-card:focus-within,
body.home-page #main .box.special > article.box:focus-within {
	outline: 3px solid rgba(233, 104, 67, 0.48);
	outline-offset: 2px;
}

body.home-page #main > .box.special > article.box > .stikytoday {
	display: block !important;
	text-align: left !important;
}

body.home-page #main > .box.special > article.box > .stikytoday > a {
	display: inline !important;
	float: none !important;
	clear: none !important;
	position: static !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: inherit !important;
	white-space: normal !important;
	vertical-align: baseline !important;
}