/* Articles — hero calé sur les pages internes, puis la liste. */

.sb-articles-hero {
	padding: 15px 40px 8px;
}

.sb-articles-hero__frame {
	position: relative;
	min-height: 56vh;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 40px 80px;
	background: #1a1c1f;
}

.sb-articles-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.sb-articles-hero__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0.45;
	z-index: 1;
}

.sb-articles-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 860px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
	color: #fff;
}

.sb-articles-hero__eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--beige);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.sb-articles-hero__eyebrow::before,
.sb-articles-hero__eyebrow::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.sb-articles-hero__title {
	margin: 0;
	font-family: var(--titres);
	font-weight: 400;
	font-size: clamp(42px, 5vw, 62px);
	line-height: 1.08;
	letter-spacing: -1.5px;
	color: var(--creme);
}

.sb-articles-hero__lead {
	margin: 0;
	max-width: 560px;
	font-size: 20px;
	line-height: 1.5;
	color: #fff;
}

.sb-articles-hero__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin-top: 8px;
}

.sb-articles-hero__actions .btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.sb-articles-hero__sep {
	width: 1px;
	height: 54px;
	background: rgba(255, 255, 255, 0.5);
}

.sb-articles-hero__tel {
	margin: 0;
	text-align: left;
	line-height: 1.3;
}

.sb-articles-hero__tel small {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 12px;
	opacity: 0.85;
}

.sb-articles-hero__tel a {
	font-family: var(--titres);
	font-size: 24px;
	font-weight: 600;
	color: #fff;
}

.sb-articles-hero__tel a:hover {
	color: var(--beige);
}

.sb-articles {
	padding: 72px 0 96px;
}

.sb-articles__header {
	max-width: 760px;
	margin: 0 auto 48px;
	padding: 0 30px;
}

.sb-articles__header .h-sec {
	margin-top: 8px;
}

.sb-articles__list {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 30px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px 28px;
}

.sb-articles__card a {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	color: var(--texte);
}

.sb-articles__media {
	aspect-ratio: 3 / 2;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--gris-chaud);
}

.sb-articles__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-articles__cat {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--texte-doux);
}

.sb-articles__card h2 {
	font-family: var(--titres);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.5px;
}

.sb-articles__excerpt {
	color: var(--texte-doux);
	font-size: 16px;
	line-height: 1.55;
}

.sb-articles__card a:hover h2 {
	color: var(--vert);
}

.sb-articles__empty {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 30px;
	color: var(--texte-doux);
}

.sb-articles__pages {
	max-width: 960px;
	margin: 40px auto 0;
	padding: 0 30px;
}

.sb-articles__pages .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
}

.sb-articles__pages a,
.sb-articles__pages .current {
	color: var(--vert);
	font-weight: 600;
}

.sb-article {
	padding: 48px 0 96px;
}

.sb-article__header,
.sb-article__content,
.sb-article__back {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 30px;
	padding-right: 30px;
}

.sb-article__title {
	font-family: var(--titres);
	font-weight: 400;
	font-size: clamp(34px, 4.2vw, 52px);
	line-height: 1.12;
	letter-spacing: -1.5px;
	margin: 10px 0 14px;
	color: var(--texte);
}

.sb-article__date {
	color: var(--texte-doux);
	font-size: 15px;
}

.sb-article__eyebrow a {
	color: inherit;
}

.sb-article__eyebrow a:hover {
	color: var(--vert);
}

.sb-article__figure {
	max-width: 960px;
	margin: 32px auto 40px;
	padding: 0 30px;
}

.sb-article__figure img {
	width: 100%;
	height: 520px;
	object-fit: cover;
	border-radius: var(--radius);
}

.sb-article__content .sb-article__lead {
	font-size: 19px;
	line-height: 1.6;
	color: var(--texte-doux);
	margin: 0 0 8px;
}

.sb-article__content h2 {
	font-family: var(--titres);
	font-weight: 500;
	font-size: clamp(26px, 3vw, 32px);
	line-height: 1.2;
	letter-spacing: -0.6px;
	margin: 36px 0 12px;
	color: var(--texte);
}

.sb-article__content h3 {
	font-family: var(--titres);
	font-weight: 600;
	font-size: 22px;
	line-height: 1.3;
	margin: 28px 0 10px;
}

.sb-article__content p {
	margin: 0 0 16px;
}

.sb-article__content ul,
.sb-article__content ol {
	margin: 0 0 18px;
	padding-left: 1.25em;
	list-style: disc;
}

.sb-article__content ol {
	list-style: decimal;
}

.sb-article__content li {
	margin: 0 0 8px;
	padding-left: 4px;
}

.sb-article__content a {
	color: var(--vert);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sb-article__content a:hover {
	color: var(--vert-fonce);
}

.sb-article__content blockquote {
	margin: 0 0 18px;
	padding-left: 16px;
	border-left: 2px solid var(--vert);
	color: var(--texte-doux);
}

.sb-article__back {
	margin-top: 28px;
}

.sb-article__back a {
	color: var(--vert);
	font-weight: 600;
}

.sb-article__back a:hover {
	color: var(--vert-fonce);
}

@media (max-width: 1180px) {
	.sb-articles-hero {
		padding: 15px 0 0;
	}

	.sb-articles-hero__frame {
		border-radius: 0;
		min-height: 70vh;
		padding: 88px 24px 72px;
	}
}

@media (max-width: 767px) {
	.sb-articles-hero__actions {
		flex-direction: column;
		gap: 18px;
	}

	.sb-articles-hero__sep {
		width: 54px;
		height: 1px;
	}

	.sb-articles-hero__tel {
		text-align: center;
	}

	.sb-articles {
		padding-top: 48px;
	}

	.sb-articles__list {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.sb-articles__card h2 {
		font-size: 26px;
	}

	.sb-article__figure img {
		height: 240px;
	}
}
