/* ======================================================================
   CIO CODEX – PÁGINA NEWSLETTER
   ====================================================================== */

#cio-newsletter.cio-newsletter-wrap {
	background: #020101;
	color: #fff;
	min-height: 100vh;
	font-family: 'Inter', sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.cio-nl-container {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 28px;
}

/* Hero — idêntico ao bloco inline de /produtos (template-Produtos.php) */
#cio-newsletter .cio-prod-hero.cio-nl-hero {
	--ev-black: #020101;
	--ev-blue: #02cbfe;
	--ev-white: #ffffff;
	--ev-gray: #9a9a9a;
	--ev-border: rgba(2, 203, 254, 0.15);
	position: relative;
	padding: 100px 0 60px;
	text-align: center;
	overflow: hidden;
	background: var(--ev-black);
	border-bottom: 1px solid var(--ev-border);
	margin: 0;
}

#cio-newsletter .cio-nl-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(2, 203, 254, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(2, 203, 254, 0.04) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
	pointer-events: none;
}

#cio-newsletter .cio-nl-hero::after {
	content: '';
	position: absolute;
	top: -10%;
	left: 50%;
	transform: translateX(-50%);
	width: 700px;
	height: 500px;
	background: radial-gradient(ellipse, rgba(2, 203, 254, 0.12) 0%, transparent 65%);
	pointer-events: none;
}

#cio-newsletter .cio-nl-hero .cio-prod-hero-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 28px;
	position: relative;
	z-index: 1;
}

#cio-newsletter .cio-nl-hero .cio-prod-prelabel,
#cio-newsletter .cio-nl-signup-card .cio-prod-prelabel {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #02cbfe;
	display: block;
	margin: 0 0 20px;
}

#cio-newsletter .cio-nl-hero .cio-prod-hero-title {
	font-family: 'Inter', sans-serif;
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: #fff;
	margin: 0 0 16px;
	padding: 0;
	text-transform: none;
}

#cio-newsletter .cio-nl-hero .cio-prod-hero-subtitle {
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	color: #9a9a9a;
	max-width: 520px;
	margin: 0 auto;
	font-weight: 400;
	line-height: 1.65;
	padding: 0;
}

@media (max-width: 768px) {
	#cio-newsletter .cio-prod-hero.cio-nl-hero {
		padding: 60px 0 48px;
	}
}

/* Signup */
.cio-nl-signup-section {
	padding: 56px 0 96px;
	background: #050505;
}

.cio-nl-signup-card,
.cio-nl-lists {
	background: #0a0a0a;
	border: 1px solid rgba(2, 203, 254, 0.15);
	border-radius: 16px;
	padding: 40px 36px;
	text-align: center;
}

.cio-nl-lists {
	margin-top: 28px;
	text-align: left;
}

.cio-nl-signup-card h2,
.cio-nl-lists h2 {
	font-family: 'Inter', sans-serif;
	font-size: clamp(1.4rem, 3vw, 1.85rem);
	font-weight: 800;
	color: #fff;
	margin: 0 0 12px;
	letter-spacing: -0.02em;
}

.cio-nl-signup-lead {
	margin: 0 auto 28px;
	max-width: 480px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 15px;
	line-height: 1.65;
}

.cio-nl-lists .cio-nl-signup-lead {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.cio-nl-form {
	max-width: 640px;
	margin: 0 auto;
	text-align: left;
}

.cio-nl-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 8px;
}

.cio-nl-form-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}

.cio-nl-input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	min-height: 52px;
	height: 52px;
	padding: 0 16px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #111;
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	line-height: 1.2;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.cio-nl-input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.cio-nl-input:focus {
	border-color: #02cbfe;
}

.cio-nl-submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	height: 52px;
	padding: 0 22px;
	border: 1px solid #02cbfe;
	border-radius: 10px;
	background: #02cbfe;
	color: #020101;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	transition: background 0.2s ease, transform 0.15s ease;
}

.cio-nl-submit:hover {
	background: #7ae0ff;
	border-color: #7ae0ff;
	transform: translateY(-1px);
}

.cio-nl-privacy {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.42);
}

.cio-nl-privacy a {
	color: #02cbfe !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cio-nl-notice {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
}

.cio-nl-notice--ok {
	background: rgba(37, 211, 102, 0.12);
	border: 1px solid rgba(37, 211, 102, 0.28);
	color: #86efac;
}

.cio-nl-notice--err {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.28);
	color: #fca5a5;
}

.cio-nl-page-content {
	margin-top: 40px;
	color: rgba(255, 255, 255, 0.78);
}

.cio-nl-lists-body .container-temas {
	display: grid;
	gap: 16px;
}

.cio-nl-lists-body .box-tema {
	background: #111;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 18px;
}

.cio-nl-lists-body .assinar_agora,
.cio-nl-lists-body .cancelar_assinatura {
	display: inline-flex;
	margin-top: 10px;
	padding: 10px 14px;
	border-radius: 8px;
	border: none;
	font-weight: 600;
	cursor: pointer;
	background: #02cbfe;
	color: #020101;
}

.cio-nl-lists-body .cancelar_assinatura {
	background: rgba(239, 68, 68, 0.2);
	color: #fca5a5;
}

@media (max-width: 640px) {
	.cio-nl-signup-section {
		padding: 40px 0 72px;
	}

	.cio-nl-signup-card,
	.cio-nl-lists {
		padding: 28px 20px;
	}

	.cio-nl-form-row {
		flex-direction: column;
		align-items: stretch;
	}

	.cio-nl-input,
	.cio-nl-submit {
		width: 100%;
		height: 52px;
		min-height: 52px;
	}

	.cio-nl-submit {
		white-space: normal;
		text-align: center;
	}
}
