/*
 * Newsletter signup styles.
 * Note: Poppins est supposée déjà chargée par le thème.
 *       Si ce n'était pas le cas, ajouter dans functions.php :
 *       wp_enqueue_style('google-poppins', 'https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
 */

.bn-wrap *,
.bn-wrap *::before,
.bn-wrap *::after { box-sizing: border-box; }

.bn-wrap {
	font-family: 'Poppins', system-ui, -apple-system, sans-serif;
	background: #0f6b5b;
	background-image:
		radial-gradient(ellipse 90% 70% at 90% 0%, rgba(36, 196, 165, 0.55), transparent 60%),
		radial-gradient(ellipse 90% 70% at 0% 100%, rgba(8, 70, 58, 0.6), transparent 60%);
	border-radius: 14px;
	position: relative;
	overflow: hidden;
	color: #e6fff3;
	padding: 1.5rem 1.4rem 1.4rem;
}

/* Cercles concentriques décoratifs */
.bn-rings {
	position: absolute;
	top: -90px;
	right: -90px;
	width: 240px;
	height: 240px;
	pointer-events: none;
	opacity: 0.14;
}

.bn-content { position: relative; z-index: 1; }

.bn-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(230, 255, 243, 0.8);
	font-weight: 500;
	margin: 0 0 1rem;
}

.bn-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #7eebcd;
	box-shadow: 0 0 0 3px rgba(126, 235, 205, 0.22);
	animation: bn-pulse 2.4s ease-in-out infinite;
}

@keyframes bn-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(126, 235, 205, 0.22); }
	50%      { box-shadow: 0 0 0 6px rgba(126, 235, 205, 0.08); }
}

.bn-title {
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin: 0 0 0.6rem;
	color: #f4fff8;
}

.bn-title em {
	font-style: normal;
	font-weight: 300;
	color: #7eebcd;
}

.bn-sub {
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(230, 255, 243, 0.72);
	font-weight: 400;
	margin: 0 0 1.1rem;
}

.bn-form {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.bn-input {
	width: 100%;
	height: 40px;
	padding: 0 14px;
	border-radius: 8px;
	background: rgba(230, 255, 243, 0.08);
	border: 1px solid rgba(230, 255, 243, 0.15);
	color: #f4fff8;
	font-size: 13px;
	font-family: inherit;
	font-weight: 400;
	outline: none;
	transition: border-color 0.2s, background 0.2s;
}

.bn-input::placeholder { color: rgba(230, 255, 243, 0.42); }

.bn-input:focus {
	border-color: rgba(126, 235, 205, 0.55);
	background: rgba(230, 255, 243, 0.12);
}

.bn-input.is-error { border-color: rgba(255, 170, 170, 0.55); }

.bn-btn {
	width: 100%;
	height: 40px;
	border-radius: 8px;
	background: #f4fff8;
	color: #0a4d40;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: -0.005em;
	border: none;
	cursor: pointer;
	transition: opacity 0.15s, transform 0.1s, background 0.2s, color 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.bn-btn:hover:not(:disabled) { opacity: 0.93; }
.bn-btn:active:not(:disabled) { transform: scale(0.98); }
.bn-btn:disabled { cursor: default; }

.bn-btn-arrow { transition: transform 0.2s; }
.bn-btn:hover:not(:disabled) .bn-btn-arrow { transform: translateX(2px); }

.bn-msg {
	font-size: 11px;
	margin: 9px 2px 0;
	min-height: 16px;
	color: rgba(230, 255, 243, 0.5);
	line-height: 1.45;
	font-weight: 400;
	transition: color 0.2s;
}

.bn-msg.is-error   { color: #ffd1d1; }
.bn-msg.is-success { color: #7eebcd; }

.bn-legal {
	font-size: 10px;
	color: rgba(230, 255, 243, 0.4);
	margin: 1rem 0 0;
	line-height: 1.5;
	font-weight: 400;
}

.bn-legal a {
	color: rgba(230, 255, 243, 0.6);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 0.15s;
}

.bn-legal a:hover { color: rgba(230, 255, 243, 0.9); }

/* Respect du paramètre OS reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.bn-dot { animation: none; }
	.bn-btn,
	.bn-btn-arrow,
	.bn-input,
	.bn-msg { transition: none; }
}