/* Page Blog — hero éditorial */

.blog-page {
	--blog-primary: var(--color-primary, #2563eb);
	--blog-dark: var(--color-dark, #1e293b);
	--blog-muted: #64748b;
	--blog-soft: #f1f5f9;
	--blog-radius: 18px;
}

.blog-hero {
	background: linear-gradient(165deg, #f8fafc 0%, #eef4ff 55%, #fff 100%);
	padding: 2rem 1.25rem 2.25rem;
	border-bottom: 1px solid rgba(30, 41, 59, 0.06);
}

.blog-hero__inner {
	max-width: var(--container, 1200px);
	margin: 0 auto;
}

.blog-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
	gap: 2rem;
	align-items: stretch;
}

.blog-hero__grid--solo {
	grid-template-columns: minmax(0, 1fr);
	max-width: 720px;
}

.blog-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--blog-primary);
	background: rgba(37, 99, 235, 0.08);
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
	margin-bottom: 1rem;
}

.blog-hero__content h1 {
	font-size: clamp(1.85rem, 3.5vw, 2.75rem);
	line-height: 1.12;
	font-weight: 800;
	color: var(--blog-dark);
	margin: 0 0 1rem;
	letter-spacing: -0.025em;
}

.blog-hero__content p {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--blog-muted);
	margin: 0 0 1.5rem;
	max-width: 540px;
}

.blog-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.blog-hero__stats li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 88px;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(30, 41, 59, 0.08);
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.blog-hero__stats strong {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--blog-dark);
	line-height: 1;
}

.blog-hero__stats span {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--blog-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Carte « À la une » */
.blog-hero__spotlight {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(30, 41, 59, 0.08);
	border-radius: var(--blog-radius);
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-hero__spotlight:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.blog-hero__spotlight-badge {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 2;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	background: var(--blog-primary);
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
}

.blog-hero__spotlight-media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--blog-soft);
}

.blog-hero__spotlight-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.blog-hero__spotlight:hover .blog-hero__spotlight-img {
	transform: scale(1.04);
}

.blog-hero__spotlight-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 2.5rem;
	background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.blog-hero__spotlight-body {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1.25rem 1.35rem 1.35rem;
	flex: 1;
}

.blog-hero__spotlight-cat {
	display: inline-block;
	width: fit-content;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
}

.blog-hero__spotlight-title {
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
	margin: 0;
	color: var(--blog-dark);
}

.blog-hero__spotlight-title a {
	color: inherit;
	transition: color 0.2s ease;
}

.blog-hero__spotlight-title a:hover {
	color: var(--blog-primary);
}

.blog-hero__spotlight-excerpt {
	font-size: 0.88rem;
	line-height: 1.65;
	color: var(--blog-muted);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-hero__spotlight-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.78rem;
	color: #94a3b8;
	margin-top: auto;
}

.blog-hero__spotlight-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--blog-primary);
	margin-top: 0.25rem;
	transition: gap 0.2s ease;
}

.blog-hero__spotlight-link:hover {
	gap: 0.55rem;
}

@media (max-width: 960px) {
	.blog-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.blog-hero__spotlight {
		max-width: 480px;
	}
}

@media (max-width: 768px) {
	.blog-hero {
		padding: 1.5rem 1.25rem 1.75rem;
	}

	.blog-hero__stats li {
		min-width: calc(33.333% - 0.5rem);
		flex: 1;
		padding: 0.65rem 0.75rem;
	}

	.blog-hero__stats strong {
		font-size: 1.1rem;
	}
}
