/* Numéro newsletter signup band: matches the site's black-on-white Helvetica look. */
.numero-nl {
	--nl-ink: #000;
	--nl-muted: #555;
	--nl-line: #000;
	--nl-error: #b00020;
	background: #fff;
	color: var(--nl-ink);
	font-family: 'Helvetica Regular', Helvetica, Arial, Lucida, sans-serif;
	padding: 56px 16px;
	border-top: 1px solid var(--nl-line);
	clear: both;
}

.numero-nl__inner {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.numero-nl__title {
	font-family: 'Helvetica Bold', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--nl-ink);
	margin: 0 0 12px;
	padding: 0;
}

.numero-nl__lede {
	font-size: 15px;
	line-height: 1.5;
	color: var(--nl-ink);
	margin: 0 auto 28px;
	max-width: 520px;
	padding: 0;
}

.numero-nl__row {
	display: flex;
	gap: 0;
	border: 1px solid var(--nl-line);
}

.numero-nl .numero-nl__email {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--nl-ink);
	font: inherit;
	font-size: 15px;
	padding: 14px 16px;
	margin: 0;
	box-shadow: none;
}

.numero-nl .numero-nl__email:focus {
	outline: 2px solid var(--nl-ink);
	outline-offset: -3px;
}

.numero-nl .numero-nl__submit {
	flex: 0 0 auto;
	border: 0;
	border-radius: 0;
	background: var(--nl-ink);
	color: #fff;
	font-family: 'Helvetica Bold', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 14px 28px;
	margin: 0;
	cursor: pointer;
}

.numero-nl .numero-nl__submit:hover,
.numero-nl .numero-nl__submit:focus-visible {
	background: #333;
}

.numero-nl .numero-nl__submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.numero-nl__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	font-size: 14px;
	line-height: 1.45;
	margin: 18px 0 10px;
	cursor: pointer;
}

.numero-nl__consent input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: #000;
}

.numero-nl__legal {
	text-align: left;
	font-size: 12px;
	line-height: 1.5;
	color: var(--nl-muted);
	margin: 0;
	padding: 0;
}

.numero-nl__legal a {
	color: inherit;
	text-decoration: underline;
}

.numero-nl__msg {
	margin: 18px 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
}

.numero-nl__msg.is-error {
	color: var(--nl-error);
}

.numero-nl__form.is-done .numero-nl__row,
.numero-nl__form.is-done .numero-nl__consent,
.numero-nl__form.is-done .numero-nl__legal {
	display: none;
}

.numero-nl__form.is-done .numero-nl__msg {
	text-align: center;
	font-size: 16px;
}

.numero-nl__trap {
	position: absolute;
	left: -5000px;
}

.numero-nl__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 560px) {
	.numero-nl {
		padding: 40px 16px;
	}
	.numero-nl__title {
		font-size: 22px;
	}
	.numero-nl__row {
		flex-direction: column;
		border: 0;
		gap: 10px;
	}
	.numero-nl .numero-nl__email {
		border: 1px solid var(--nl-line);
	}
	.numero-nl .numero-nl__submit {
		width: 100%;
	}
}

/* ------------------------------------------------------------------ */
/* Popup: centred window with photo on desktop, bottom sheet on phones */
/* ------------------------------------------------------------------ */
.numero-nlp {
	position: fixed;
	inset: 0;
	z-index: 100000; /* above Divi headers; Complianz banner is handled in JS (we wait for it) */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.numero-nlp[hidden] {
	display: none;
}

.numero-nlp__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 0.25s ease;
	cursor: pointer;
}

.numero-nlp__dialog {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 820px;
	max-height: calc(100vh - 32px);
	overflow: auto;
	background: #fff;
	border: 1px solid #000;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.numero-nlp.is-open .numero-nlp__backdrop {
	opacity: 1;
}

.numero-nlp.is-open .numero-nlp__dialog {
	opacity: 1;
	transform: none;
}

.numero-nlp__image {
	flex: 0 0 42%;
	min-height: 420px;
	background: #eee center / cover no-repeat;
}

/* The body reuses the band's typography, minus the band's own spacing and rule. */
.numero-nlp .numero-nlp__body {
	flex: 1 1 auto;
	padding: 48px 40px 36px;
	border-top: 0;
	text-align: left;
}

.numero-nlp .numero-nl__title {
	font-size: 26px;
	text-align: left;
}

.numero-nlp .numero-nl__lede {
	margin: 0 0 24px;
	text-align: left;
}

.numero-nlp--no-image .numero-nlp__dialog {
	max-width: 560px;
}

.numero-nlp__close {
	position: absolute;
	top: 8px;
	right: 10px;
	z-index: 1;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #000;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.numero-nlp__close:focus-visible {
	outline: 2px solid #000;
}

.numero-nlp__back {
	display: block;
	margin: 22px auto 0;
	padding: 12px 26px;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
}

.numero-nlp__back[hidden] {
	display: none;
}

.numero-nlp__back:hover {
	background: #fff;
	color: #000;
}

.numero-nlp__back:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

html.numero-nlp-open {
	overflow: hidden; /* no page scrolling behind the open popup */
}

@media (max-width: 700px) {
	/* Bottom sheet: never covers the whole screen (Google's mobile popup guidance). */
	.numero-nlp {
		align-items: flex-end;
		padding: 0;
	}
	.numero-nlp__dialog {
		max-height: 80vh;
		border-width: 1px 0 0;
		transform: translateY(100%);
	}
	.numero-nlp__image {
		display: none;
	}
	.numero-nlp .numero-nlp__body {
		padding: 32px 16px 20px;
	}
	.numero-nlp .numero-nl__title {
		font-size: 21px;
		padding-right: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.numero-nlp__backdrop,
	.numero-nlp__dialog {
		transition: none;
	}
}
