/**
 * Página Planos — layout dedicado (carregado só neste template).
 *
 * @package GoldenCross
 */

.page-shell--planos {
	padding-bottom: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ─── Toggle Mensal / Anual (visual) ─── */
.plans-billing {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
	margin: 0 auto 2.5rem;
	max-width: 640px;
}

.plans-billing__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #6b8099;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.plans-billing__label--active {
	color: #e8f4ff;
	text-shadow: 0 0 20px rgba(0, 198, 255, 0.25);
}

.plans-billing__switch {
	width: 56px;
	height: 30px;
	min-width: 56px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border-radius: 100px;
	border: 1px solid rgba(0, 198, 255, 0.45);
	background: rgba(8, 14, 23, 0.95);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	cursor: pointer;
	position: relative;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	flex-shrink: 0;
	align-self: center;
	box-sizing: border-box;
	overflow: visible;
}

.plans-billing__switch:focus-visible {
	outline: 2px solid #00c6ff;
	outline-offset: 3px;
}

.plans-billing__switch[aria-pressed="true"] {
	background: rgba(0, 198, 255, 0.18);
	border-color: #00c6ff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 0 24px rgba(0, 198, 255, 0.2);
}

.plans-billing__knob {
	position: absolute;
	top: 50%;
	left: 4px;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	border-radius: 50%;
	background: linear-gradient(135deg, #00c6ff, #0072ff);
	box-shadow: 0 2px 10px rgba(0, 198, 255, 0.55);
	transition: left 0.25s ease, right 0.25s ease, box-shadow 0.25s ease;
	pointer-events: none;
}

.plans-billing__switch[aria-pressed="true"] .plans-billing__knob {
	left: auto;
	right: 4px;
	box-shadow: 0 2px 14px rgba(0, 198, 255, 0.65);
}

.plans-billing__hint {
	width: 100%;
	text-align: center;
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	color: #6b8099;
}

/* ─── Secção planos + cards ─── */
.plans-section {
	background: #080e17;
	padding: 5rem 2rem 6rem;
	overflow: visible;
}

.plans-section .container {
	overflow: visible;
}

.plans-intro {
	max-width: 800px;
	margin: 0 auto 2.5rem;
	text-align: center;
	padding: 1.75rem 2rem;
	background: rgba(13, 27, 42, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	font-size: 0.9375rem;
	color: #a8b8cc;
	line-height: 1.7;
}

.plans-intro strong {
	color: #ffffff;
}

.plans-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
	align-items: start;
	overflow: visible;
	padding-top: 1.25rem;
}

@media (max-width: 1024px) {
	.plans-grid {
		grid-template-columns: 1fr;
		max-width: 520px;
	}
}

/* Sobrepõe overflow:hidden do style.min .plan-card para o badge absoluto */
.plans-section .plan-card {
	overflow: visible;
}

.plan-card {
	background: linear-gradient(160deg, #0d1b2a 0%, #0a1520 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 2.25rem 2rem 2rem;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
	transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
	overflow: visible;
}

.plan-card:hover {
	transform: translateY(-6px);
	border-color: rgba(0, 198, 255, 0.25);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.plan-card.plan-featured {
	background: linear-gradient(160deg, #0f2540 0%, #0d1d35 100%);
	border: 1.5px solid rgba(0, 198, 255, 0.35);
	box-shadow:
		0 0 0 1px rgba(0, 198, 255, 0.1),
		0 24px 60px rgba(0, 0, 0, 0.5),
		0 0 80px rgba(0, 198, 255, 0.07);
	padding-top: 3rem;
	transform: translateY(-12px);
}

.plan-card.plan-featured:hover {
	transform: translateY(-18px);
}

.plan-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	background: linear-gradient(90deg, #00c6ff, #0072ff);
	color: #ffffff;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 20px;
	border-radius: 100px;
	white-space: nowrap;
	box-shadow: 0 4px 16px rgba(0, 198, 255, 0.5);
}

.plan-header {
	margin-bottom: 1.75rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-icon {
	width: 48px;
	height: 48px;
	border-radius: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	color: #00c6ff;
}

.plan-card:not(.plan-featured):not(.plan-premium) .plan-icon {
	background: rgba(0, 198, 255, 0.08);
	border: 1px solid rgba(0, 198, 255, 0.15);
}

.plan-card.plan-featured .plan-icon {
	background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.2));
	border: 1px solid rgba(0, 198, 255, 0.3);
	box-shadow: 0 0 20px rgba(0, 198, 255, 0.15);
}

.plan-card.plan-premium .plan-icon {
	background: rgba(240, 165, 0, 0.1);
	border: 1px solid rgba(240, 165, 0, 0.2);
	color: #f0a500;
}

.plan-name {
	font-size: 1.25rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 0.5rem;
	line-height: 1.2;
}

.plan-card.plan-featured .plan-name {
	font-size: 1.375rem;
	background: linear-gradient(90deg, #ffffff, #a8d8ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.plan-card.plan-premium .plan-name {
	background: linear-gradient(90deg, #ffffff, #ffd88a);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.plan-tagline {
	font-size: 0.875rem;
	color: #6b8099;
	line-height: 1.5;
	margin: 0;
}

.plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	flex: 1;
}

.plan-feature {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
	color: #a8b8cc;
	line-height: 1.45;
}

.plan-feature-check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
	background: rgba(0, 198, 255, 0.12);
	color: #00c6ff;
}

.plan-card.plan-premium .plan-feature-check {
	background: rgba(240, 165, 0, 0.12);
	color: #f0a500;
}

.plan-feature.feature-highlight {
	color: #ffffff;
	font-weight: 500;
}

.plan-cta {
	display: block;
	width: 100%;
	padding: 0.875rem 1.5rem;
	border-radius: 12px;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: all 250ms ease;
	cursor: pointer;
	border: none;
	margin-top: auto;
	box-sizing: border-box;
}

.plan-card:not(.plan-featured):not(.plan-premium) .plan-cta {
	background: transparent;
	color: #00c6ff;
	border: 1.5px solid rgba(0, 198, 255, 0.4);
}

.plan-card:not(.plan-featured):not(.plan-premium) .plan-cta:hover {
	background: rgba(0, 198, 255, 0.08);
	border-color: #00c6ff;
	color: #00e6ff;
}

.plan-card.plan-featured .plan-cta {
	background: linear-gradient(90deg, #00c6ff, #0072ff);
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(0, 198, 255, 0.35);
}

.plan-card.plan-featured .plan-cta:hover {
	filter: brightness(1.1);
	box-shadow: 0 8px 28px rgba(0, 198, 255, 0.5);
	transform: translateY(-1px);
}

.plan-card.plan-premium .plan-cta {
	background: linear-gradient(90deg, #f0a500, #ffd700);
	color: #0f1c2e;
	font-weight: 800;
	box-shadow: 0 6px 20px rgba(240, 165, 0, 0.3);
}

.plan-card.plan-premium .plan-cta:hover {
	filter: brightness(1.1);
	box-shadow: 0 8px 28px rgba(240, 165, 0, 0.45);
	transform: translateY(-1px);
}

/* ─── Comparativo ─── */
.compare-section {
	background: #05090f;
	padding: 5rem 2rem;
}

.compare-section .section-header {
	margin-bottom: 0;
}

.compare-table-wrapper {
	max-width: 900px;
	margin: 3rem auto 0;
	overflow-x: auto;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.compare-table thead tr {
	background: linear-gradient(90deg, #0d1b2a, #0f2540);
}

.compare-table th {
	padding: 1.25rem 1.5rem;
	text-align: center;
	font-weight: 700;
	color: #ffffff;
	font-size: 0.9375rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-table th:first-child,
.compare-table td:first-child {
	text-align: left;
	font-weight: 600;
	color: #a8b8cc;
	padding-left: 1.75rem;
}

.compare-table th.col-featured {
	color: #00c6ff;
	position: relative;
}

.compare-table th.col-featured::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #00c6ff, #0072ff);
}

.compare-table tbody tr {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: background 150ms;
}

.compare-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.02);
}

.compare-table tbody tr:last-child {
	border-bottom: none;
}

.compare-table td {
	padding: 1rem 1.5rem;
	text-align: center;
	color: #a8b8cc;
	vertical-align: middle;
}

.compare-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: rgba(0, 198, 255, 0.1);
	border-radius: 50%;
	color: #00c6ff;
}

.compare-x {
	color: rgba(255, 255, 255, 0.22);
	font-size: 1.25rem;
	line-height: 1;
}

.compare-table td.col-featured {
	background: rgba(0, 198, 255, 0.03);
}

/* ─── FAQ accordion ─── */
.faq-plans-section {
	background: #080e17;
	padding: 5rem 2rem;
}

.faq-list {
	max-width: 760px;
	margin: 3rem auto 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.faq-item {
	background: linear-gradient(135deg, #0d1b2a, #0a1520);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 250ms;
}

.faq-item:hover,
.faq-item.faq-open {
	border-color: rgba(0, 198, 255, 0.25);
}

.faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	text-align: left;
	cursor: pointer;
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.4;
	transition: color 200ms;
}

.faq-question:hover {
	color: #00c6ff;
}

.faq-item.faq-open .faq-question {
	color: #00c6ff;
}

.faq-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(0, 198, 255, 0.1);
	border: 1px solid rgba(0, 198, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #00c6ff;
	flex-shrink: 0;
	transition: transform 250ms ease, background 250ms ease;
}

.faq-item.faq-open .faq-icon {
	background: rgba(0, 198, 255, 0.2);
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition:
		max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
		padding 0.35s ease;
	padding: 0 1.5rem;
}

.faq-answer-inner {
	padding-bottom: 1.25rem;
	font-size: 0.9rem;
	color: #a8b8cc;
	line-height: 1.7;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 1rem;
}

.faq-item.faq-open .faq-answer {
	max-height: 28rem;
	padding: 0 1.5rem;
}

/* ─── CTA final ─── */
.plans-cta-section {
	background: linear-gradient(135deg, #0d1b2a 0%, #0f2540 50%, #0d1b2a 100%);
	padding: 5rem 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	border-top: 1px solid rgba(0, 198, 255, 0.1);
}

.plans-cta-section::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(0, 198, 255, 0.07) 0%, transparent 70%);
	pointer-events: none;
}

.plans-cta-text {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 0.75rem;
	position: relative;
	z-index: 1;
	line-height: 1.2;
}

.plans-cta-sub {
	font-size: 1.0625rem;
	color: #a8b8cc;
	margin: 0 0 2.5rem;
	position: relative;
	z-index: 1;
	line-height: 1.6;
}

.plans-cta-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.plans-cta-buttons .btn {
	min-width: 12rem;
}

.plans-cta-buttons .btn .plans-cta-wa-icon {
	margin-right: 0.35rem;
	vertical-align: -0.15em;
}
