/* Newsletter — styles front. Tokens theme.json (charte turquoise/mint). Zéro JS. */
.ld-nl { margin: 2.5rem 0; }
.ld-nl-inner {
	padding: 1.75rem;
	border: 1px solid var(--wp--preset--color--border, #1b2438);
	border-radius: 18px;
	background: rgba(12, 18, 36, .5);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
}
.ld-nl-h { margin: 0 0 .5rem; font-size: 1.3rem; }
.ld-nl-intro { margin: 0 0 1rem; color: var(--wp--preset--color--foreground-muted, #98a2b3); }

.ld-nl-feedback { margin: 0 0 1rem; padding: .65rem .9rem; border-radius: 10px; font-size: .9rem; }
.ld-nl-feedback--ok { color: var(--wp--preset--color--mint, #84ebad); border: 1px solid rgba(132, 235, 173, .4); background: rgba(132, 235, 173, .06); }
.ld-nl-feedback--error { color: var(--wp--preset--color--magenta, #ec4899); border: 1px solid rgba(236, 72, 153, .4); background: rgba(236, 72, 153, .06); }

.ld-nl-form { margin: 0; }
.ld-nl-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: stretch; }
.ld-nl-label { /* label visible mais compact (a11y) */ display: block; font-size: .85rem; margin-bottom: .35rem; width: 100%; }
.ld-nl-input {
	flex: 1 1 16rem;
	min-height: 44px; /* WCAG 2.2 tap target */
	background: var(--wp--preset--color--surface-1, #0c1224);
	color: var(--wp--preset--color--foreground, #f3f5f8);
	border: 1px solid var(--wp--preset--color--border, #1b2438);
	border-radius: 10px;
	padding: .6rem .85rem;
	font: inherit;
}
.ld-nl-input::placeholder { color: var(--wp--preset--color--foreground-subtle, #7c8694); }
.ld-nl-button {
	flex: 0 0 auto;
	min-height: 44px; /* WCAG 2.2 tap target */
	padding: .6rem 1.3rem;
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	color: #04121a;
	background: linear-gradient(to right,#5ce0d8,#84ebad);
}
.ld-nl-button:hover { filter: brightness(1.05); }
.ld-nl-consent { margin: .85rem 0 0; font-size: .75rem; color: var(--wp--preset--color--foreground-subtle, #7c8694); }

/* Honeypot : retiré du flux, invisible humains + lecteurs d'écran (aria-hidden côté markup). */
.ld-nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Focus visible custom (a11y). */
.ld-nl-input:focus-visible,
.ld-nl-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--turquoise, #5ce0d8);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.ld-nl-input, .ld-nl-button { flex: 1 1 100%; }
}
