/* Página de planos pública (page-planos.php) — paleta preto/branco/amarelo */

.czum-planos { color: #fff; padding: 2rem 0; }

.czum-planos-toggle {
	display: flex;
	gap: .5rem;
	justify-content: center;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}
.czum-planos-mode-btn {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .3);
	padding: .6rem 1.4rem;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	transition: background .15s, border-color .15s, color .15s;
}
.czum-planos-mode-btn:hover {
	background: rgba(255, 215, 0, .12);
	border-color: gold;
}
.czum-planos-mode-btn.is-active {
	background: gold;
	color: #000;
	border-color: gold;
	font-weight: 600;
}

.czum-planos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.czum-plano-card {
	position: relative;
	background: #0a0a0a;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 16px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
}
.czum-plano-card.is-current {
	border-color: gold;
	box-shadow: 0 0 0 2px rgba(255, 215, 0, .25);
}
.czum-plano-badge {
	position: absolute;
	top: -10px; left: 50%; transform: translateX(-50%);
	background: gold;
	color: #000;
	font-size: .75rem;
	padding: .15rem .65rem;
	border-radius: 999px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.czum-plano-thumb {
	width: 100%;
	height: auto;
	margin: 0 auto 1rem;
	display: block;
	border-radius: 12px;
}
.czum-plano-name {
	text-align: center;
	margin: 0 0 .25rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}
.czum-plano-name.has-toggle {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	user-select: none;
	padding: .25rem 0;
	border-radius: 6px;
	transition: color .15s;
}
.czum-plano-name.has-toggle:hover { color: gold; }
.czum-plano-name.has-toggle:focus {
	outline: 2px solid gold;
	outline-offset: 2px;
}
.czum-plano-toggle-icon {
	display: inline-block;
	min-width: 1.4rem;
	height: 1.4rem;
	line-height: 1.3rem;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	font-size: 1rem;
	color: gold;
	transition: border-color .15s, background .15s;
}
.czum-plano-name.has-toggle:hover .czum-plano-toggle-icon { border-color: gold; }
.czum-plano-card.is-expanded .czum-plano-toggle-icon {
	border-color: gold;
	background: rgba(255, 215, 0, .15);
}

/* Content area — the_content da page do plano (rendered with apply_filters) */
.czum-plano-content {
	margin: .75rem 0 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 10px;
	font-size: .9rem;
	line-height: 1.55;
	color: #fff;
}
.czum-plano-content p { margin: 0 0 .75rem; }
.czum-plano-content p:last-child { margin-bottom: 0; }
.czum-plano-content a { color: gold; }
.czum-plano-content a:hover { color: #fff; }
.czum-plano-content h2,
.czum-plano-content h3,
.czum-plano-content h4 { color: gold; margin: .75rem 0 .5rem; }
.czum-plano-content ul,
.czum-plano-content ol { margin: 0 0 .75rem 1.25rem; }
.czum-plano-content img { max-width: 100%; height: auto; border-radius: 6px; }
.czum-plano-content[hidden] { display: none; }

/* Wrapper para CTA HTML (ex: botão Google login do Site Kit) */
.czum-plano-cta-html {
	display: flex;
	justify-content: center;
	margin-top: .25rem;
}
.czum-plano-price {
	text-align: center;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: gold;
}
.czum-plano-price small {
	font-size: .75rem;
	color: rgba(255, 255, 255, .55);
	font-weight: 400;
}

.czum-plano-features {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
	flex: 1;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.czum-plano-features li {
	display: flex;
	justify-content: space-between;
	gap: .5rem;
	padding: .55rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	font-size: .92rem;
}
.czum-plano-feat-label { color: rgba(255, 255, 255, .7); }
.czum-plano-feat-val { color: #fff; font-weight: 600; }

.czum-plano-cta {
	display: block;
	text-align: center;
	background: gold;
	color: #000 !important;
	text-decoration: none;
	padding: .8rem 1rem;
	border-radius: 12px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	font: inherit;
	transition: background .15s, transform .1s;
}
.czum-plano-cta:hover {
	background: #fff;
	color: #000 !important;
}
.czum-plano-cta:active { transform: translateY(1px); }
.czum-plano-cta.is-disabled {
	background: rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .5) !important;
	cursor: not-allowed;
}

/* Header da página: título + content da page WP (the_content) */
.planos-header { color: #fff; }
.planos-header-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.planos-header-inner h1 {
	color: #fff;
	margin-bottom: 1rem;
}
.planos-intro {
	color: #fff;
	margin-bottom: 2rem;
}
.planos-intro h1,
.planos-intro h2,
.planos-intro h3,
.planos-intro h4 { color: #fff; }
.planos-intro a { color: gold; }
.planos-intro a:hover { color: #fff; }
.planos-intro p { color: #fff; }
.planos-intro strong { color: gold; }

@media (max-width: 600px) {
	.czum-planos-grid { grid-template-columns: 1fr; }
}

/* Página /conta/{slug}/ deslogado: prompt de login */
.czum-plan-loggedout-price {
	font-size: 1.2rem;
	margin: 1rem 0;
	color: gold;
}
.czum-plan-loggedout-cta {
	margin-top: 1.5rem;
	padding: 1.5rem;
	background: rgba(255, 215, 0, .05);
	border: 1px solid rgba(255, 215, 0, .25);
	border-radius: 12px;
	text-align: center;
}
.czum-plan-loggedout-cta p { margin: 0 0 1rem; color: #fff; }
.czum-plan-loggedout-cta .czum-btn {
	display: inline-block;
	padding: .7rem 1.5rem;
	margin: 0 .25rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
}
.czum-plan-loggedout-cta .czum-btn-primary {
	background: gold;
	color: #000;
}
.czum-plan-loggedout-cta .czum-btn-primary:hover {
	background: #fff;
}
.czum-plan-loggedout-cta .czum-btn-soft {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .4);
}
.czum-plan-loggedout-cta .czum-btn-soft:hover {
	background: rgba(255, 215, 0, .12);
	border-color: gold;
}
