@charset "UTF-8";
/*
 * Éphéméride de la page d'accueil.
 * Un bandeau léger et éditorial, avec le récit et la photo réservés au tiroir.
 */
.isFrontPage .hm-ephemeris {
	--hm-ephemeris-ink: var(--hm-primary, #0a0a0d);
	--hm-ephemeris-paper: #fff;
	position: relative;
	display: grid;
	grid-template-columns: minmax(150px, .55fr) minmax(0, 2.45fr);
	gap: clamp(16px, 2vw, 28px);
	margin: clamp(42px, 4.5vw, 60px) 0 clamp(42px, 4.5vw, 63px);
	padding: clamp(10px, 1vw, 13px) clamp(13px, 1.5vw, 18px);
	color: var(--hm-ephemeris-ink);
	background: var(--hm-ephemeris-paper);
	border: 1px solid color-mix(in srgb, var(--hm-ephemeris-ink) 10%, transparent);
	border-radius: 10px;
	box-shadow: none;
}

.isFrontPage .hm-ephemeris::before {
	content: none;
	display: none;
}

.isFrontPage .hm-ephemeris__intro {
	align-self: start;
}

.isFrontPage .hm-ephemeris .hm-ephemeris__eyebrow {
	color: color-mix(in srgb, var(--hm-ephemeris-ink) 64%, transparent) !important;
}

.isFrontPage .hm-ephemeris__intro h2 {
	margin: 0;
	color: var(--hm-ephemeris-ink);
	font-family: "BrownStd-Regular", Arial, sans-serif;
	font-weight: 400;
	letter-spacing: 0;
}

.isFrontPage .hm-ephemeris__date-intro {
	display: block;
	font-size: 13px;
	line-height: 1.15;
}

.isFrontPage .hm-ephemeris__today {
	display: block;
	margin-top: 2px;
	font-family: "BrownStd-Bold", Arial, sans-serif;
	font-size: clamp(21px, 1.9vw, 28px);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.isFrontPage .hm-ephemeris__events {
	min-width: 0;
	border-top: 1px solid color-mix(in srgb, var(--hm-ephemeris-ink) 18%, transparent);
}

.isFrontPage .hm-ephemeris__event {
	margin: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--hm-ephemeris-ink) 18%, transparent);
}

.isFrontPage .hm-ephemeris__event > summary,
.isFrontPage .hm-ephemeris__event > .hm-ephemeris__static-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 28px;
	align-items: center;
	gap: 12px;
	min-height: 40px;
	padding: 5px 0;
	color: var(--hm-ephemeris-ink);
	list-style: none;
}

.isFrontPage .hm-ephemeris__event > summary {
	cursor: pointer;
}

.isFrontPage .hm-ephemeris__event > .hm-ephemeris__static-summary {
	grid-template-columns: minmax(0, 1fr);
}

.isFrontPage .hm-ephemeris__event > summary::-webkit-details-marker {
	display: none;
}

.isFrontPage .hm-ephemeris__title {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 6px;
	font: 400 clamp(15px, 1.2vw, 18px)/1.22 "BrownStd-Regular", sans-serif;
}

.isFrontPage .hm-ephemeris__year {
	color: color-mix(in srgb, var(--hm-ephemeris-ink) 64%, transparent);
	font-family: "BrownStd-Bold", sans-serif;
	font-size: .78em;
	font-weight: 700;
	letter-spacing: .04em;
}

.isFrontPage .hm-ephemeris__date-prefix {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
}

.isFrontPage .hm-ephemeris__separator {
	color: color-mix(in srgb, var(--hm-ephemeris-ink) 38%, transparent);
	font-weight: 400;
}

.isFrontPage .hm-ephemeris__toggle {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1px solid currentColor;
	border-radius: 50%;
	transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.isFrontPage .hm-ephemeris__plus {
	position: relative;
	display: block;
	width: 10px;
	height: 10px;
}

.isFrontPage .hm-ephemeris__plus::before,
.isFrontPage .hm-ephemeris__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 1px;
	background: currentColor;
	transform: translate(-50%, -50%);
}

.isFrontPage .hm-ephemeris__plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
	transition: transform 160ms ease;
}

.isFrontPage .hm-ephemeris__event[open] .hm-ephemeris__plus::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.isFrontPage .hm-ephemeris__event > summary:hover .hm-ephemeris__toggle,
.isFrontPage .hm-ephemeris__event > summary:focus-visible .hm-ephemeris__toggle {
	color: #fff;
	background: var(--hm-ephemeris-ink);
}

.isFrontPage .hm-ephemeris__event > summary:focus-visible {
	outline: 2px solid var(--hm-ephemeris-ink);
	outline-offset: 4px;
}

.isFrontPage .hm-ephemeris__drawer {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(14px, 2vw, 22px);
	padding: 7px 36px 18px 0;
}

.isFrontPage .hm-ephemeris__media {
	width: clamp(110px, 12vw, 150px);
	margin: 0;
}

.isFrontPage .hm-ephemeris__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 112px;
	object-fit: cover;
	border-radius: 2px;
}

.isFrontPage .hm-ephemeris__body {
	min-width: 0;
}

.isFrontPage .hm-homepage-2026 .hm-ephemeris .hm-ephemeris__body .hm-ephemeris__content,
.isFrontPage .hm-homepage-2026 .hm-ephemeris .hm-ephemeris__body .hm-ephemeris__content p {
	color: var(--hm-ephemeris-ink);
	font-family: "Cooper", Georgia, serif;
	font-weight: 400;
	font-size: 16px !important;
	line-height: 1.5 !important;
}

.isFrontPage .hm-ephemeris__content {
	padding: 11px 13px;
	background: #fff;
	border-radius: 6px;
}

.isFrontPage .hm-ephemeris__content > :first-child {
	margin-top: 0;
}

.isFrontPage .hm-ephemeris__content > :last-child {
	margin-bottom: 0;
}

.isFrontPage .hm-ephemeris__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 12px 0 0;
	padding-top: 9px;
	border-top: 1px solid color-mix(in srgb, var(--hm-ephemeris-ink) 18%, transparent);
}

.isFrontPage .hm-ephemeris__meta div {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.isFrontPage .hm-ephemeris__meta dt,
.isFrontPage .hm-ephemeris__meta dd {
	margin: 0;
	font-size: 11px;
	line-height: 1.35;
}

.isFrontPage .hm-ephemeris__meta dt {
	font-family: "BrownStd-Bold", sans-serif;
	font-weight: 700;
}

.isFrontPage .hm-ephemeris__meta dt::after {
	content: " :";
}

.isFrontPage .hm-ephemeris__meta a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.isFrontPage .hm-ephemeris__meta time {
	white-space: nowrap;
}

@media screen and (max-width: 700px) {
	.isFrontPage .hm-ephemeris {
		display: block;
		margin: 36px 0 45px;
		padding: 0;
		border-radius: 8px;
		box-shadow: none;
		overflow: hidden;
	}

	.isFrontPage .hm-ephemeris__intro {
		padding: 13px 14px 12px;
		border-bottom: 1px solid color-mix(in srgb, var(--hm-ephemeris-ink) 12%, transparent);
	}

	.isFrontPage .hm-ephemeris__intro h2 {
		max-width: none;
	}

	.isFrontPage .hm-ephemeris__today {
		font-size: clamp(21px, 5.8vw, 24px);
	}

	.isFrontPage .hm-ephemeris__events {
		border-top: 0;
	}

	.isFrontPage .hm-ephemeris__event:last-child {
		border-bottom: 0;
	}

	.isFrontPage .hm-ephemeris__event > summary,
	.isFrontPage .hm-ephemeris__event > .hm-ephemeris__static-summary {
		grid-template-columns: minmax(0, 1fr) 26px;
		gap: 10px;
		min-height: 48px;
		padding: 10px 14px;
	}

	.isFrontPage .hm-ephemeris__event > .hm-ephemeris__static-summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.isFrontPage .hm-ephemeris__event > summary:focus-visible {
		outline-width: 1px;
		outline-offset: -2px;
	}

	.isFrontPage .hm-ephemeris__title {
		display: block;
		font-size: 15px;
		line-height: 1.25;
	}

	.isFrontPage .hm-ephemeris__date-prefix {
		margin-right: 4px;
	}

	.isFrontPage .hm-ephemeris__toggle {
		width: 24px;
		height: 24px;
	}

	.isFrontPage .hm-ephemeris__drawer {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 12px;
		padding: 2px 14px 16px;
	}

	.isFrontPage .hm-ephemeris__drawer--no-media {
		grid-template-columns: minmax(0, 1fr);
	}

	.isFrontPage .hm-ephemeris__media {
		width: 76px;
	}

	.isFrontPage .hm-ephemeris__media img {
		aspect-ratio: 1;
		height: 76px;
		max-height: none;
		border-radius: 5px;
	}

	.isFrontPage .hm-ephemeris__content,
	.isFrontPage .hm-homepage-2026 .hm-ephemeris .hm-ephemeris__body .hm-ephemeris__content p {
		font-family: "Cooper", Georgia, serif;
		font-weight: 400;
		font-size: 16px !important;
		line-height: 1.5 !important;
	}

	.isFrontPage .hm-ephemeris__meta {
		display: grid;
		gap: 7px;
		margin-top: 11px;
		padding-top: 9px;
	}
}

@media screen and (max-width: 420px) {
	.isFrontPage .hm-ephemeris__drawer {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 10px;
	}

	.isFrontPage .hm-ephemeris__drawer--no-media {
		grid-template-columns: minmax(0, 1fr);
	}

	.isFrontPage .hm-ephemeris__media {
		width: 72px;
	}

	.isFrontPage .hm-ephemeris__media img {
		height: 72px;
	}
}

@media print {
	.isFrontPage .hm-ephemeris {
		display: block !important;
		margin: 8mm 0 !important;
		padding: 5mm !important;
		color: #111 !important;
		background: #fff !important;
		border: 1px solid #777 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.isFrontPage .hm-ephemeris::before,
	.isFrontPage .hm-ephemeris__toggle {
		display: none !important;
	}

	.isFrontPage .hm-ephemeris__intro {
		margin-bottom: 4mm;
	}

	.isFrontPage .hm-ephemeris__event > summary,
	.isFrontPage .hm-ephemeris__event > .hm-ephemeris__static-summary {
		display: block !important;
		min-height: 0;
		padding: 3mm 0 2mm;
		cursor: default;
	}

	.isFrontPage .hm-ephemeris__drawer {
		display: grid !important;
		grid-template-columns: 32mm 1fr !important;
		gap: 5mm;
		padding: 0 0 4mm !important;
	}

	.isFrontPage .hm-ephemeris__drawer--no-media {
		grid-template-columns: 1fr !important;
	}

	.isFrontPage .hm-ephemeris__media {
		width: 32mm !important;
	}

	.isFrontPage .hm-ephemeris__media img {
		max-height: 28mm;
	}

	.isFrontPage .hm-ephemeris,
	.isFrontPage .hm-ephemeris * {
		color: #111 !important;
	}
}

/* Entrée du logo — page d’accueil
   Une révélation nette et lumineuse, limitée au premier chargement de la page. */
body.isFrontPage #header.hm-site-header .hm-header-logo {
	position: relative;
	isolation: isolate;
}

body.isFrontPage #header.hm-site-header .hm-header-logo::after {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 12px;
	left: 0;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, .95) 35%,
		var(--hm-header-accent) 58%,
		transparent
	);
	box-shadow: 0 0 16px rgba(255, 255, 255, .58);
	content: "";
	opacity: 0;
	pointer-events: none;
	transform: scaleX(0);
	transform-origin: left center;
	animation: hm-home-logo-line 1s cubic-bezier(.16, 1, .3, 1) .2s both;
}

body.isFrontPage #header.hm-site-header .hm-header-logo img {
	position: relative;
	z-index: 1;
	clip-path: inset(0 100% 0 0);
	opacity: 0;
	transform: translateY(12px) scale(.92);
	filter: blur(8px) brightness(1.7);
	will-change: clip-path, filter, opacity, transform;
	animation: hm-home-logo-reveal 1.12s cubic-bezier(.16, 1, .3, 1) .12s both;
}

@keyframes hm-home-logo-reveal {
	0% {
		clip-path: inset(0 100% 0 0);
		opacity: 0;
		transform: translateY(12px) scale(.92);
		filter: blur(8px) brightness(1.7);
	}

	55% {
		clip-path: inset(0 0 0 0);
		opacity: 1;
		filter: blur(0) brightness(1.28);
	}

	78% {
		transform: translateY(-2px) scale(1.035);
	}

	100% {
		clip-path: inset(0 0 0 0);
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0) brightness(1);
		will-change: auto;
	}
}

@keyframes hm-home-logo-line {
	0% {
		opacity: 0;
		transform: scaleX(0);
	}

	45% {
		opacity: 1;
	}

	72% {
		opacity: .9;
		transform: scaleX(1);
	}

	100% {
		opacity: 0;
		transform: scaleX(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.isFrontPage #header.hm-site-header .hm-header-logo::after {
		display: none;
		animation: none;
	}

	body.isFrontPage #header.hm-site-header .hm-header-logo img {
		clip-path: none;
		opacity: 1;
		transform: none;
		filter: none;
		will-change: auto;
		animation: none;
	}
}
