/* Naturellement Mel — Modèle d’article v1.1.2
 * Tous les sélecteurs sont confinés aux articles gérés par le module.
 */

body.nm-actualite-page .nm-actualite-theme-content,
body.nm-actualite-page .nm-actualite-theme-content > .content_inner,
body.nm-actualite-page .nm-actualite-main {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding: 0 !important;
}

/* Masque uniquement l’ancienne bannière de titre Bridge remplacée par notre hero. */
body.nm-actualite-page .title_outer,
body.nm-actualite-page .title_holder {
	display: none !important;
}

.nm-article {
	--nm-ink: #24352d;
	--nm-ink-soft: #526159;
	--nm-sage: #627966;
	--nm-sage-dark: #405747;
	--nm-sage-light: #dbe4da;
	--nm-salmon: #da8c79;
	--nm-salmon-dark: #b96858;
	--nm-rose: #eedbd5;
	--nm-rose-pale: #f8ebe6;
	--nm-sand: #e8d9c6;
	--nm-cream: #fbf8f2;
	--nm-paper: #fffdf9;
	--nm-line: rgba(36, 53, 45, 0.17);
	--nm-shadow: 0 30px 90px rgba(61, 46, 35, 0.12);
	--nm-shell: min(1120px, calc(100% - 72px));
	--nm-serif: "Cormorant", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--nm-sans: "Lato", "Avenir Next", "Segoe UI", Arial, sans-serif;
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	color: var(--nm-ink);
	background: var(--nm-paper);
	font-family: var(--nm-sans);
	font-size: 17px;
	line-height: 1.78;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}

.nm-article,
.nm-article * {
	box-sizing: border-box;
}

.nm-article img {
	display: block;
	max-width: 100%;
	height: auto;
}

.nm-article a {
	color: inherit;
}

.nm-article a:focus-visible {
	outline: 3px solid var(--nm-salmon);
	outline-offset: 4px;
}

.nm-article__shell {
	width: var(--nm-shell);
	margin-right: auto;
	margin-left: auto;
}

.nm-article__hero {
	position: relative;
	padding: 78px 0 170px;
	background:
		linear-gradient(118deg, transparent 0 72%, rgba(238, 219, 213, 0.57) 72% 100%),
		var(--nm-cream);
	overflow: hidden;
}

.nm-article__grid-lines {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(64, 87, 71, 0.055) 1px, transparent 1px) center / 11.111% 100%;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 98%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 98%);
}

.nm-article__hero-inner {
	position: relative;
}

.nm-article__back,
.nm-article__back:hover,
.nm-article__back:focus {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 66px;
	padding-bottom: 7px;
	border-bottom: 1px solid var(--nm-line);
	color: var(--nm-ink-soft);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-decoration: none;
	text-transform: uppercase;
}

.nm-article__back span {
	color: var(--nm-salmon-dark);
	transition: transform 300ms ease;
}

.nm-article__back:hover span {
	transform: translateX(-4px);
}

.nm-article__title-wrap {
	max-width: 970px;
}

.nm-article__eyebrow {
	margin: 0 0 21px !important;
	color: var(--nm-salmon-dark) !important;
	font-family: var(--nm-sans) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.19em !important;
	line-height: 1.4 !important;
	text-transform: uppercase !important;
}

.nm-article h1 {
	margin: 0 0 32px !important;
	color: var(--nm-ink) !important;
	font-family: var(--nm-serif) !important;
	font-size: clamp(49px, 5.7vw, 87px) !important;
	font-weight: 400 !important;
	letter-spacing: -0.045em !important;
	line-height: 0.96 !important;
	text-transform: none !important;
}

.nm-article__date {
	margin: 0 !important;
	color: var(--nm-ink-soft) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	line-height: 1.5 !important;
	text-transform: uppercase !important;
}

.nm-article__featured {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	margin-top: -104px;
	padding: clamp(14px, 2.2vw, 28px);
	background: #efe7dc;
	box-shadow: var(--nm-shadow);
}

.nm-article__featured-image {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 820px;
	object-fit: contain;
	object-position: center;
}

.nm-article__featured-image.nm-media--portrait {
	width: auto;
	max-width: min(100%, 590px);
	max-height: 900px;
}

.nm-article__content-shell {
	width: min(820px, calc(100% - 72px));
	margin-right: auto;
	margin-left: auto;
	padding: 104px 0 92px;
}

.nm-article__prose {
	color: var(--nm-ink-soft);
}

.nm-article__prose > *:first-child {
	margin-top: 0 !important;
}

.nm-article__prose > *:last-child {
	margin-bottom: 0 !important;
}

.nm-article__prose p,
.nm-article__prose li {
	color: var(--nm-ink-soft) !important;
	font-family: var(--nm-sans) !important;
	font-size: 17px !important;
	line-height: 1.86 !important;
}

.nm-article__prose p {
	margin: 0 0 27px !important;
}

.nm-article__prose .nm-article-intro,
.nm-article__prose > p:first-child {
	margin-bottom: 58px !important;
	padding-left: 28px;
	border-left: 2px solid var(--nm-salmon);
	color: var(--nm-ink) !important;
	font-family: var(--nm-serif) !important;
	font-size: clamp(27px, 3vw, 36px) !important;
	line-height: 1.35 !important;
}

.nm-article__prose h2,
.nm-article__prose h3,
.nm-article__cta h2 {
	color: var(--nm-ink) !important;
	font-family: var(--nm-serif) !important;
	font-weight: 400 !important;
	letter-spacing: -0.025em !important;
	text-transform: none !important;
}

.nm-article__prose h2 {
	margin: 69px 0 24px !important;
	font-size: clamp(42px, 5vw, 59px) !important;
	line-height: 1.03 !important;
}

.nm-article__prose h3 {
	margin: 46px 0 18px !important;
	font-size: clamp(31px, 4vw, 41px) !important;
	line-height: 1.08 !important;
}

.nm-article__prose ul,
.nm-article__prose ol {
	margin: 0 0 33px !important;
	padding-left: 27px !important;
}

.nm-article__prose li {
	margin-bottom: 9px;
	padding-left: 5px;
}

.nm-article__prose li::marker {
	color: var(--nm-salmon-dark);
}

.nm-article__prose a {
	color: var(--nm-salmon-dark) !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.nm-article__prose figure,
.nm-article__prose .wp-block-image,
.nm-article__prose .wp-block-gallery {
	margin-top: 50px !important;
	margin-bottom: 50px !important;
}

.nm-article__prose figure img,
.nm-article__prose .wp-block-image img {
	margin-right: auto;
	margin-left: auto;
}

.nm-article__prose figcaption {
	margin-top: 10px !important;
	color: var(--nm-ink-soft) !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
	text-align: center;
}

.nm-article__prose blockquote,
.nm-article__prose .wp-block-quote {
	margin: 54px 0 !important;
	padding: 8px 0 8px 34px !important;
	border: 0 !important;
	border-left: 3px solid var(--nm-salmon) !important;
}

.nm-article__prose blockquote p {
	color: var(--nm-ink) !important;
	font-family: var(--nm-serif) !important;
	font-size: clamp(28px, 3.4vw, 39px) !important;
	font-style: italic;
	line-height: 1.35 !important;
}

.nm-article__prose .nm-article-highlight {
	margin: 58px 0 !important;
	padding: clamp(34px, 5vw, 52px) !important;
	border-left: 4px solid var(--nm-salmon);
	background: var(--nm-rose-pale);
}

.nm-article__prose .nm-article-highlight h3 {
	margin-top: 0 !important;
	color: var(--nm-sage-dark) !important;
}

.nm-article__prose .nm-article-highlight p:last-child {
	margin-bottom: 0 !important;
}

.nm-article__prose .wp-block-button__link,
.nm-article__prose .wp-block-button__link:hover,
.nm-article__prose .wp-block-button__link:focus {
	padding: 15px 24px !important;
	border: 1px solid var(--nm-sage-dark) !important;
	border-radius: 0 !important;
	color: #fff !important;
	background: var(--nm-sage-dark) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
}

.nm-article__cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 40px;
	margin-top: 92px;
	padding: clamp(40px, 6vw, 62px);
	background: var(--nm-sage-dark);
}

.nm-article__cta .nm-article__eyebrow {
	margin-bottom: 13px !important;
	color: var(--nm-rose) !important;
}

.nm-article__cta h2 {
	max-width: 510px;
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(39px, 5vw, 57px) !important;
	line-height: 1.02 !important;
}

.nm-article__cta > a,
.nm-article__cta > a:hover,
.nm-article__cta > a:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 15px 22px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 320ms ease, background 320ms ease;
}

.nm-article__cta > a:hover {
	color: var(--nm-sage-dark);
	background: #fff;
}

.nm-article__navigation {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1px;
	margin-bottom: 112px;
	background: var(--nm-line);
	border: 1px solid var(--nm-line);
}

.nm-article__nav-link,
.nm-article__nav-link:hover,
.nm-article__nav-link:focus {
	min-height: 150px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px 38px;
	color: var(--nm-ink);
	background: var(--nm-cream);
	text-decoration: none;
	transition: background 340ms ease;
}

.nm-article__nav-link:hover {
	background: var(--nm-rose-pale);
}

.nm-article__nav-link--next {
	align-items: flex-end;
	text-align: right;
}

.nm-article__nav-link span {
	margin-bottom: 8px;
	color: var(--nm-salmon-dark);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-transform: uppercase;
}

.nm-article__nav-link strong {
	max-width: 430px;
	font-family: var(--nm-serif);
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 400;
	line-height: 1.08;
}

.nm-article__pages {
	margin-top: 35px;
}

.nm-article__reveal {
	opacity: 1;
	transform: none;
}

.nm-article.nm-article--motion .nm-article__reveal {
	--nm-enter-x: 0px;
	--nm-enter-y: 34px;
	opacity: 0;
	transform: translate3d(var(--nm-enter-x), var(--nm-enter-y), 0);
	transition:
		opacity 1.35s cubic-bezier(0.2, 0.7, 0.2, 1),
		transform 1.35s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--nm-delay, 0ms);
	will-change: opacity, transform;
}

.nm-article.nm-article--motion .nm-article__reveal--left {
	--nm-enter-x: -42px;
	--nm-enter-y: 0px;
}

.nm-article.nm-article--motion .nm-article__reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	will-change: auto;
}

/* Compensation locale du header transparent Bridge sur ordinateur. */
@media (min-width: 1001px) {
	.nm-article {
		padding-top: 142px;
	}
}

@media (max-width: 920px) {
	.nm-article {
		--nm-shell: min(100% - 48px, 760px);
	}

	.nm-article__hero {
		padding: 58px 0 142px;
	}

	.nm-article__back {
		margin-bottom: 49px;
	}

	.nm-article__featured {
		margin-top: -84px;
	}

	.nm-article__content-shell {
		width: min(760px, calc(100% - 48px));
		padding: 82px 0 76px;
	}

	.nm-article__cta {
		grid-template-columns: 1fr;
	}

	.nm-article__cta > a {
		justify-self: start;
	}

	.nm-article__navigation {
		margin-bottom: 88px;
	}
}

@media (max-width: 650px) {
	.nm-article {
		--nm-shell: calc(100% - 40px);
		font-size: 16px;
	}

	.nm-article__hero {
		padding: 42px 0 110px;
		background: linear-gradient(180deg, var(--nm-cream) 0 68%, var(--nm-rose-pale) 68% 100%);
	}

	.nm-article__back {
		margin-bottom: 38px;
	}

	.nm-article h1 {
		font-size: clamp(41px, 11.7vw, 58px) !important;
		line-height: 1 !important;
	}

	.nm-article__featured {
		width: calc(100% - 24px);
		margin-top: -60px;
		padding: 10px;
	}

	.nm-article__featured-image,
	.nm-article__featured-image.nm-media--portrait {
		width: auto;
		max-width: 100%;
		max-height: none;
	}

	.nm-article__content-shell {
		width: calc(100% - 40px);
		padding: 66px 0 62px;
	}

	.nm-article__prose p,
	.nm-article__prose li {
		font-size: 16px !important;
		line-height: 1.78 !important;
	}

	.nm-article__prose .nm-article-intro,
	.nm-article__prose > p:first-child {
		margin-bottom: 46px !important;
		padding-left: 20px;
		font-size: 27px !important;
	}

	.nm-article__prose h2 {
		margin-top: 54px !important;
		font-size: 42px !important;
	}

	.nm-article__prose .nm-article-highlight {
		margin-right: -8px !important;
		margin-left: -8px !important;
		padding: 31px 27px !important;
	}

	.nm-article__cta {
		gap: 29px;
		margin-top: 68px;
		padding: 38px 28px;
	}

	.nm-article__cta h2 {
		font-size: 41px !important;
	}

	.nm-article__navigation {
		grid-template-columns: 1fr;
		margin-bottom: 70px;
	}

	.nm-article__navigation > span:empty {
		display: none;
	}

	.nm-article__nav-link,
	.nm-article__nav-link:hover,
	.nm-article__nav-link:focus {
		min-height: 126px;
		align-items: flex-start;
		padding: 28px;
		text-align: left;
	}

	.nm-article.nm-article--motion .nm-article__reveal--left {
		--nm-enter-x: 0px;
		--nm-enter-y: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nm-article *,
	.nm-article *::before,
	.nm-article *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.nm-article .nm-article__reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
