/* Pop-up newsletter — reprend les couleurs du thème (variables), avec des valeurs de secours. */
.bb-nl { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(20, 18, 16, .45); opacity: 0; transition: opacity .25s; }
.bb-nl.is-on { opacity: 1; }
.bb-nl[hidden] { display: none; }
.bb-nl-box { position: relative; display: grid; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper, #F5F2ED); color: var(--ink, #1E1C1A); border: 2px solid var(--ink, #1E1C1A); transform: translateY(12px); transition: transform .25s; }
.bb-nl-main { position: relative; padding: 36px 32px 28px; }
.bb-nl-img { display: none; }
.bb-nl-box.has-img { width: min(820px, 100%); grid-template-columns: 1fr 1.15fr; }
.bb-nl-box.has-img .bb-nl-img { display: block; position: relative; min-height: 100%; border-right: 2px solid var(--ink, #1E1C1A); }
.bb-nl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-nl.is-on .bb-nl-box { transform: none; }
.bb-nl-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: inherit; }
.bb-nl-eyebrow { font: 600 12px/1 var(--f-caps, 'Archivo Narrow', sans-serif); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.bb-nl h2 { font: 800 clamp(30px, 7vw, 42px)/.95 var(--f-display, 'Archivo', sans-serif); font-stretch: 118%; text-transform: uppercase; margin: 0 0 14px; }
.bb-nl h2 em { font-style: normal; display: inline; background: var(--nl-acc, #F3E3A1); padding: 0 .12em; text-transform: none; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.bb-nl p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; }
.bb-nl form { display: grid; gap: 12px; }
.bb-nl label span { display: block; font: 600 11px/1 var(--f-caps, 'Archivo Narrow', sans-serif); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.bb-nl input { width: 100%; min-height: 48px; padding: 10px 0; font-size: 16px; border: 0; border-bottom: 2px solid var(--ink, #1E1C1A); background: transparent; color: inherit; border-radius: 0; }
.bb-nl input:focus { outline: none; border-bottom-color: var(--ink, #1E1C1A); box-shadow: 0 2px 0 var(--ink, #1E1C1A); }
.bb-nl .bb-nl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bb-nl .btn { width: 100%; justify-content: center; margin-top: 6px; }
.bb-nl .btn:disabled { opacity: .6; }
.bb-nl-err { color: #9b2d1c; font-size: 14px !important; margin: 0 !important; }
.bb-nl-small { font-size: 12.5px !important; color: var(--ink-2, #5C5650); margin: 4px 0 0 !important; }
.bb-nl-code { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 14px; padding: 16px 18px; background: var(--nl-acc, #F3E3A1); border: 2px dashed var(--ink, #1E1C1A); cursor: pointer; color: inherit; }
.bb-nl-code b { font: 800 22px/1 var(--f-display, 'Archivo', sans-serif); letter-spacing: .04em; }
.bb-nl-code small { font: 600 11px/1 var(--f-caps, 'Archivo Narrow', sans-serif); letter-spacing: .12em; text-transform: uppercase; }
.bb-nl-done .btn { margin-top: 18px; }
.bb-nl.is-preview { position: static; display: grid; padding: 24px; background: #8f8a84; border-radius: 8px; opacity: 1; }
.bb-nl.is-preview .bb-nl-box { transform: none; max-height: none; }
@media (max-width: 760px) {
	.bb-nl-box.has-img { grid-template-columns: 1fr; }
	.bb-nl-box.has-img .bb-nl-img { min-height: 150px; border-right: 0; border-bottom: 2px solid var(--ink, #1E1C1A); }
}
@media (max-width: 600px) {
	.bb-nl { place-items: end stretch; padding: 0; }
	.bb-nl-box { width: 100%; border-width: 2px 0 0; max-height: 92vh; }
	.bb-nl-main { padding: 30px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { .bb-nl, .bb-nl-box { transition: none; } }
.bb-nl h2 .bb-nl-nowrap { white-space: nowrap; }
.bb-nl .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 16px 24px; background: var(--ink, #1E1C1A); color: #fff; border: 2px solid var(--ink, #1E1C1A); font: 800 13.5px/1 var(--f-display, 'Archivo', sans-serif); font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.bb-nl .btn:hover { background: var(--nl-acc, #F3E3A1); color: var(--ink, #1E1C1A); }
