/**
 * Curso de Pilates - Landing & Sales Styles
 * Estética: academia, preto, LED vermelho, fotos de pilates
 *
 * @package Curso_Pilates
 * @since 1.0.0
 */

/* Body background for gym pages */
body.curso-pilates-gym {
	background: #0a0a0a !important;
	color: #e5e5e5;
}

/* Variables - Gym / Academy aesthetic */
:root {
	--cp-black: #0a0a0a;
	--cp-black-soft: #141414;
	--cp-black-card: #1a1a1a;
	--cp-red: #ff0000;
	--cp-red-led: #ff3333;
	--cp-red-glow: rgba(255, 0, 0, 0.4);
	--cp-red-dim: #cc0000;
	--cp-gray: #e5e5e5;
	--cp-gray-muted: #a3a3a3;
	--cp-white: #ffffff;
	--cp-radius: 8px;
	--cp-radius-lg: 12px;
}

/* Minimal header */
.cp-minimal-header {
	background: var(--cp-black-card);
	border-bottom: 2px solid var(--cp-red);
	box-shadow: 0 0 20px var(--cp-red-glow);
	padding: 1rem 0;
}

.cp-minimal-header .cp-landing-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cp-site-link {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--cp-white);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cp-site-link:hover {
	color: var(--cp-red-led);
	text-shadow: 0 0 10px var(--cp-red-glow);
}

.cp-header-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.cp-header-nav a {
	color: var(--cp-gray);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.cp-header-nav a:hover {
	color: var(--cp-white);
}

.cp-nav-cta {
	color: var(--cp-red-led) !important;
	font-weight: 700 !important;
	padding: 0.5rem 1rem;
	border: 1px solid var(--cp-red);
	border-radius: var(--cp-radius);
	box-shadow: 0 0 15px var(--cp-red-glow);
}

.cp-nav-cta:hover {
	background: var(--cp-red);
	color: var(--cp-white) !important;
}

/* Landing container */
.cp-landing-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Hero section - landing (foto de fundo) */
.cp-landing-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: var(--cp-black);
	background-image: url('https://images.unsplash.com/photo-1518611012118-696072aa579a?w=1920');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 3rem 0;
	overflow: hidden;
}

.cp-landing-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.85) 50%, rgba(10, 10, 10, 0.92) 100%);
	pointer-events: none;
}

.cp-landing-hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: radial-gradient(ellipse at 20% 50%, rgba(255, 0, 0, 0.06) 0%, transparent 50%),
	            radial-gradient(ellipse at 80% 80%, rgba(255, 0, 0, 0.04) 0%, transparent 40%);
	pointer-events: none;
}

.cp-landing-hero-grid {
	display: grid;
	grid-template-columns: 1fr minmax(0, 420px);
	gap: 3rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.cp-landing-hero-right {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}

.cp-landing-hero-content {
	max-width: 560px;
}

.cp-landing-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	color: var(--cp-white);
	line-height: 1.2;
	margin: 0 0 1rem;
	text-shadow: 0 0 30px var(--cp-red-glow);
}

.cp-landing-subtitle {
	font-size: 1.125rem;
	color: var(--cp-gray-muted);
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.cp-landing-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cp-landing-benefits li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.75rem;
	font-size: 1rem;
	color: var(--cp-gray);
	line-height: 1.5;
}

.cp-landing-benefits li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--cp-red-led);
	font-weight: 700;
	font-size: 1.1rem;
	text-shadow: 0 0 8px var(--cp-red-glow);
}

/* CTA secundário (curso completo) - menos proeminente que o CTA principal */
.cp-landing-cta-curso {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cp-landing-cta-secundario {
	opacity: 0.9;
}

.cp-landing-cta-secundario p {
	color: var(--cp-gray-muted);
	font-size: 0.875rem;
	margin: 0 0 0.5rem;
}

.cp-btn-sm {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

/* Form box */
.cp-landing-form-wrapper {
	display: flex;
	justify-content: center;
	min-width: 0;
}

.cp-landing-form {
	min-width: 0;
}

.cp-landing-form-box {
	background: var(--cp-black-card);
	border: 2px solid var(--cp-red);
	border-radius: var(--cp-radius-lg);
	box-shadow: 0 0 30px var(--cp-red-glow), inset 0 0 20px rgba(255, 0, 0, 0.05);
	padding: 2rem;
	width: 100%;
	max-width: 380px;
	box-sizing: border-box;
	min-width: 0;
}

.cp-landing-form-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--cp-white);
	margin: 0 0 0.5rem;
}

.cp-landing-form-desc {
	font-size: 0.9375rem;
	color: var(--cp-gray-muted);
	margin: 0 0 1.5rem;
}

.cp-landing-errors {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	background: rgba(255, 0, 0, 0.15);
	border: 1px solid var(--cp-red);
	border-radius: var(--cp-radius);
	color: #ff6666;
	font-size: 0.875rem;
}

.cp-landing-errors li {
	margin-bottom: 0.25rem;
}

/* Form fields */
.cp-landing-form .cp-form-field {
	margin: 0 0 1.25rem;
	min-width: 0;
	overflow: hidden;
}

.cp-landing-form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--cp-gray);
	margin-bottom: 0.375rem;
}

.cp-landing-form .required {
	color: var(--cp-red-led);
}

.cp-landing-form input[type="text"],
.cp-landing-form input[type="email"],
.cp-landing-form input[type="tel"] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	border: 1px solid var(--cp-black-soft);
	border-radius: var(--cp-radius);
	background: var(--cp-black);
	color: var(--cp-white);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.cp-landing-form input:focus {
	outline: none;
	border-color: var(--cp-red);
	box-shadow: 0 0 15px var(--cp-red-glow);
}

.cp-form-submit {
	margin: 1.5rem 0 0;
}

/* Buttons */
.cp-btn {
	display: inline-block;
	padding: 0.875rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: var(--cp-radius);
	cursor: pointer;
	transition: all 0.2s;
}

.cp-btn-primary {
	background: var(--cp-red);
	color: var(--cp-white);
	width: 100%;
	box-shadow: 0 0 20px var(--cp-red-glow);
}

.cp-btn-primary:hover {
	background: var(--cp-red-led);
	box-shadow: 0 0 30px var(--cp-red-glow);
	transform: translateY(-1px);
}

.cp-btn-primary:active {
	transform: scale(0.98);
}

.cp-btn-led {
	background: var(--cp-red);
	color: var(--cp-white);
	box-shadow: 0 0 25px var(--cp-red-glow);
}

.cp-btn-led:hover {
	background: var(--cp-red-led);
	box-shadow: 0 0 40px var(--cp-red-glow);
	transform: translateY(-2px);
}

.cp-btn-outline {
	background: transparent;
	color: var(--cp-red-led);
	border: 2px solid var(--cp-red);
	box-shadow: 0 0 15px var(--cp-red-glow);
}

.cp-btn-outline:hover {
	background: var(--cp-red);
	color: var(--cp-white);
	box-shadow: 0 0 25px var(--cp-red-glow);
}

/* Hero images - landing (integradas ao layout, visíveis) */
.cp-landing-hero-images {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
}

.cp-hero-img-main,
.cp-hero-img-secondary {
	border-radius: var(--cp-radius-lg);
	overflow: hidden;
	border: 2px solid var(--cp-red);
	box-shadow: 0 0 25px var(--cp-red-glow);
}

.cp-hero-img-main {
	flex: 1;
	min-width: 0;
}

.cp-hero-img-main img {
	width: 100%;
	height: 200px;
	display: block;
	object-fit: cover;
}

.cp-hero-img-secondary {
	width: 140px;
	flex-shrink: 0;
}

.cp-hero-img-secondary img {
	width: 100%;
	height: 160px;
	display: block;
	object-fit: cover;
}

/* Thank you page (foto de fundo) */
.curso-pilates-obrigado .site-main {
	padding: 4rem 0;
	min-height: 60vh;
	display: flex;
	align-items: center;
}

.cp-obrigado-section {
	position: relative;
	background: var(--cp-black);
	background-image: url('https://images.unsplash.com/photo-1599901860904-17e6ed7083a0?w=1920');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 4rem 0;
	min-height: 70vh;
	display: flex;
	align-items: center;
}

.cp-obrigado-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: rgba(10, 10, 10, 0.88);
	pointer-events: none;
}

.cp-obrigado-section .cp-landing-container {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
}

.cp-obrigado-box {
	position: relative;
	z-index: 1;
	background: rgba(26, 26, 26, 0.95);
	border: 2px solid var(--cp-red);
	border-radius: var(--cp-radius-lg);
	box-shadow: 0 0 30px var(--cp-red-glow);
	padding: 3rem;
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.cp-obrigado-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1.5rem;
	background: var(--cp-red);
	color: var(--cp-white);
	font-size: 2rem;
	font-weight: 700;
	line-height: 64px;
	border-radius: 50%;
	box-shadow: 0 0 25px var(--cp-red-glow);
}

.cp-obrigado-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--cp-white);
	margin: 0 0 1rem;
}

.cp-obrigado-desc {
	font-size: 1.125rem;
	color: var(--cp-gray-muted);
	margin: 0 0 1.5rem;
	line-height: 1.6;
}

.cp-obrigado-cta {
	margin: 0 0 1rem;
}

.cp-btn-download {
	display: inline-block;
	width: auto;
	min-width: 220px;
}

.cp-obrigado-note {
	font-size: 0.875rem;
	color: var(--cp-gray-muted);
	margin: 0;
	font-style: italic;
}

/* Sales page (foto de fundo) */
.cp-vendas-hero {
	background: var(--cp-black);
	background-image: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?w=1920');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 4rem 0;
	position: relative;
	overflow: hidden;
}

.cp-vendas-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.82) 100%);
	pointer-events: none;
}

.cp-vendas-hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: radial-gradient(ellipse at 70% 30%, rgba(255, 0, 0, 0.08) 0%, transparent 50%);
	pointer-events: none;
}

.cp-vendas-hero .cp-landing-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.cp-vendas-badge {
	display: inline-block;
	background: var(--cp-red);
	color: var(--cp-white);
	padding: 0.35rem 0.75rem;
	border-radius: var(--cp-radius);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
	box-shadow: 0 0 15px var(--cp-red-glow);
}

.cp-vendas-title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	color: var(--cp-white);
	line-height: 1.2;
	margin: 0 0 1rem;
}

.cp-vendas-subtitle {
	font-size: 1.125rem;
	color: var(--cp-gray-muted);
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.cp-vendas-hero-img {
	border-radius: var(--cp-radius-lg);
	overflow: hidden;
	border: 2px solid var(--cp-red);
	box-shadow: 0 0 30px var(--cp-red-glow);
}

.cp-vendas-hero-img img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.cp-vendas-beneficios {
	position: relative;
	background: var(--cp-black-soft);
	background-image: url('https://images.unsplash.com/photo-1518611012118-696072aa579a?w=1920');
	background-size: cover;
	background-position: center;
	padding: 4rem 0;
	border-top: 2px solid var(--cp-red);
}

.cp-vendas-beneficios::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: rgba(20, 20, 20, 0.9);
	pointer-events: none;
}

.cp-vendas-section-title {
	position: relative;
	z-index: 1;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--cp-white);
	text-align: center;
	margin: 0 0 2rem;
}

.cp-vendas-list {
	position: relative;
	z-index: 1;
	list-style: none;
	margin: 0 auto 2rem;
	padding: 0;
	max-width: 600px;
}

.cp-vendas-list li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 1rem;
	color: var(--cp-gray);
	font-size: 1.125rem;
}

.cp-vendas-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--cp-red-led);
	font-weight: 700;
	text-shadow: 0 0 8px var(--cp-red-glow);
}

.cp-vendas-cta-center {
	position: relative;
	z-index: 1;
	text-align: center;
}

.cp-vendas-aviso {
	position: relative;
	z-index: 1;
	font-size: 0.875rem;
	color: var(--cp-gray-muted);
	margin: 0.75rem 0 0;
}

.cp-btn-disabled {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
}

/* Para quem é */
.cp-vendas-para-quem {
	background: var(--cp-black);
	padding: 4rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-vendas-para-quem .cp-vendas-section-title {
	margin-bottom: 2.5rem;
}

.cp-vendas-para-quem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	position: relative;
	z-index: 1;
}

.cp-vendas-card {
	background: var(--cp-black-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cp-radius-lg);
	padding: 1.5rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.cp-vendas-card:hover {
	border-color: var(--cp-red);
	box-shadow: 0 0 20px var(--cp-red-glow);
}

.cp-vendas-card-icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	background: var(--cp-red);
	color: var(--cp-white);
	border-radius: 50%;
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 1rem;
	box-shadow: 0 0 15px var(--cp-red-glow);
}

.cp-vendas-card h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--cp-white);
	margin: 0 0 0.5rem;
}

.cp-vendas-card p {
	font-size: 0.9375rem;
	color: var(--cp-gray-muted);
	line-height: 1.5;
	margin: 0;
}

/* Conteúdo */
.cp-vendas-conteudo {
	background: var(--cp-black);
	padding: 4rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-vendas-conteudo .cp-vendas-section-title {
	margin-bottom: 2.5rem;
}

.cp-vendas-modulos {
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 0 auto 2rem;
}

.cp-vendas-modulo {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	padding: 1.25rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-vendas-modulo:last-child {
	border-bottom: none;
}

.cp-vendas-modulo-num {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: var(--cp-red);
	color: var(--cp-white);
	border-radius: 50%;
	font-weight: 700;
	font-size: 1.125rem;
	box-shadow: 0 0 15px var(--cp-red-glow);
}

.cp-vendas-modulo h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--cp-white);
	margin: 0 0 0.5rem;
}

.cp-vendas-modulo p {
	font-size: 0.9375rem;
	color: var(--cp-gray-muted);
	line-height: 1.5;
	margin: 0;
}

/* Depoimentos */
.cp-vendas-depoimentos {
	background: var(--cp-black-soft);
	padding: 4rem 0;
	border-top: 2px solid var(--cp-red);
}

.cp-vendas-depoimentos .cp-vendas-section-title {
	margin-bottom: 2.5rem;
}

.cp-vendas-depoimentos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	position: relative;
	z-index: 1;
}

.cp-vendas-depoimento {
	background: var(--cp-black-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cp-radius-lg);
	padding: 1.5rem;
	margin: 0;
}

.cp-vendas-depoimento p {
	font-size: 0.9375rem;
	color: var(--cp-gray);
	line-height: 1.6;
	margin: 0 0 1rem;
	font-style: italic;
}

.cp-vendas-depoimento cite {
	font-size: 0.875rem;
	color: var(--cp-gray-muted);
	font-style: normal;
}

/* FAQ */
.cp-vendas-faq {
	background: var(--cp-black);
	padding: 4rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-vendas-faq .cp-vendas-section-title {
	margin-bottom: 2.5rem;
}

.cp-vendas-faq-list {
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 0 auto 2rem;
	padding: 0;
}

.cp-vendas-faq-item {
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-vendas-faq-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.cp-vendas-faq-item dt {
	font-size: 1rem;
	font-weight: 700;
	color: var(--cp-white);
	margin: 0 0 0.5rem;
}

.cp-vendas-faq-item dd {
	font-size: 0.9375rem;
	color: var(--cp-gray-muted);
	line-height: 1.5;
	margin: 0;
}

/* CTA Sticky (mobile) */
.cp-vendas-sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(10, 10, 10, 0.98);
	border-top: 2px solid var(--cp-red);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
	padding: 0.75rem 1rem;
	z-index: 1000;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	display: none;
}

@media (max-width: 768px) {
	.cp-vendas-sticky-cta.cp-sticky-visible {
		transform: translateY(0);
		display: block;
	}
}

@media (min-width: 769px) {
	.cp-vendas-sticky-cta {
		display: none !important;
	}
}

.cp-vendas-sticky-cta .cp-landing-container {
	display: flex;
	justify-content: center;
}

.cp-vendas-sticky-cta .cp-btn {
	width: 100%;
	max-width: 320px;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
	.cp-landing-hero-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.cp-landing-hero-right {
		order: -1;
	}

	.cp-landing-form-box {
		max-width: 100%;
	}

	.cp-hero-img-main img {
		height: 180px;
	}

	.cp-hero-img-secondary {
		width: 120px;
	}

	.cp-hero-img-secondary img {
		height: 140px;
	}

	.cp-vendas-hero .cp-landing-container {
		grid-template-columns: 1fr;
	}

	.cp-vendas-hero-img {
		order: -1;
	}

	.cp-vendas-para-quem-grid {
		grid-template-columns: 1fr;
	}

	.cp-vendas-depoimentos-grid {
		grid-template-columns: 1fr;
	}

	.cp-header-nav {
		gap: 1rem;
	}
}

/* Mobile: desativa background-attachment fixed (performance) */
@media (max-width: 768px) {
	.cp-landing-hero,
	.cp-obrigado-section,
	.cp-vendas-hero {
		background-attachment: scroll;
	}
}

/* Responsive - Mobile */
@media (max-width: 576px) {
	.cp-landing-hero {
		padding: 2rem 0;
	}

	.cp-landing-container {
		padding: 0 1rem;
	}

	.cp-landing-form-box {
		padding: 1.5rem;
	}

	.cp-landing-form-title {
		font-size: 1.25rem;
	}

	.cp-hero-img-main img {
		height: 160px;
	}

	.cp-hero-img-secondary {
		width: 100px;
	}

	.cp-hero-img-secondary img {
		height: 120px;
	}

	.cp-obrigado-box {
		padding: 2rem 1.5rem;
	}

	.cp-obrigado-title {
		font-size: 1.5rem;
	}

	.cp-minimal-header .cp-landing-container {
		flex-direction: column;
		gap: 0.75rem;
	}

	.cp-header-nav {
		flex-wrap: wrap;
		justify-content: center;
	}

	.cp-vendas-para-quem,
	.cp-vendas-beneficios,
	.cp-vendas-conteudo,
	.cp-vendas-depoimentos,
	.cp-vendas-faq {
		padding: 3rem 0;
	}

	.cp-vendas-section-title {
		font-size: 1.5rem;
	}

	.cp-vendas-card {
		padding: 1.25rem;
	}

	.cp-vendas-depoimento {
		padding: 1.25rem;
	}
}
