/*
Theme Name: APP EVENTOS Experience Frontend Premium
Version: 5.1
*/

:root {
	--ae-bg: oklch(97% 0.015 70);
	--ae-ink: oklch(22% 0.02 60);
	--ae-ink-soft: oklch(40% 0.02 60);
	--ae-ink-faint: oklch(50% 0.02 60);
	--ae-accent: oklch(55% 0.12 45);
	--ae-accent-soft: oklch(75% 0.08 45);
	--ae-accent-bg: oklch(92% 0.03 45);
	--ae-card-dark: oklch(18% 0.02 60);
	--ae-border: oklch(92% 0.01 70);
	--ae-radius-lg: 26px;
	--ae-radius-md: 20px;
}

* { box-sizing: border-box; }

html, body {
	margin: 0 !important;
	padding: 0 !important;
}

/* Compatibilidade com Elementor: a home roda dentro de uma página em
   branco (Elementor Canvas) com o shortcode [app_eventos_premium] num
   widget de Shortcode — isso zera o espaçamento que o Elementor
   normalmente injeta ao redor do conteúdo. */
.site-main,
.entry-content,
.elementor-section,
.elementor-container,
.elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

body.app-eventos-premium,
.ae-page {
	font-family: 'Work Sans', Arial, sans-serif;
	background: var(--ae-bg);
	color: var(--ae-ink);
	width: 100%;
	overflow-x: hidden;
	text-wrap: pretty;
}

.ae-page a { color: var(--ae-accent); text-decoration: none; }
.ae-page a:hover { color: oklch(45% 0.12 45); }
.ae-page h1, .ae-page h2, .ae-page h3 { font-family: 'Playfair Display', Georgia, serif; margin: 0; }
.ae-page p { margin: 0; }

.ae-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-family: 'Work Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	border: none;
}

.ae-btn--dark { background: var(--ae-ink); color: #fff; height: 44px; padding: 0 22px; font-size: 14px; }
.ae-btn--accent { background: var(--ae-accent); color: #fff; }
.ae-btn--pill {
	align-self: flex-start;
	height: auto;
	background: var(--ae-accent-soft);
	color: var(--ae-card-dark);
	padding: 10px 18px;
	font-size: 13px;
}

.ae-link-arrow { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* Header */
.ae-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 32px;
}

.ae-brand { display: flex; align-items: center; gap: 10px; }
.ae-brand-mark {
	width: 36px; height: 36px; border-radius: 10px;
	background: var(--ae-accent);
	display: flex; align-items: center; justify-content: center;
}
.ae-brand-mark--sm { width: 28px; height: 28px; border-radius: 8px; }
.ae-brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.ae-brand-name--sm { font-size: 16px; }

.ae-nav { display: flex; align-items: center; gap: 36px; }
.ae-nav a:not(.ae-btn) { color: var(--ae-ink); font-weight: 500; font-size: 15px; }

/* Hero */
.ae-hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 32px 100px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
	align-items: center;
}

.ae-hero-copy { display: flex; flex-direction: column; gap: 24px; }

.ae-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ae-accent-bg);
	color: var(--ae-accent);
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	width: fit-content;
}

.ae-hero-copy h1 { font-size: 52px; line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; }
.ae-hero-copy h1 span { font-style: italic; color: var(--ae-accent); }
.ae-lead { font-size: 18px; line-height: 1.6; color: var(--ae-ink-soft); max-width: 460px; }
.ae-hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }

.ae-hero-visual { position: relative; height: 520px; display: flex; align-items: center; justify-content: center; }

.ae-hero-glow {
	position: absolute;
	width: 420px; height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--ae-accent-bg) 0%, transparent 70%);
	filter: blur(2px);
}

.ae-card-mock {
	border-radius: var(--ae-radius-lg);
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ae-card-mock--back {
	position: absolute;
	width: 230px; height: 320px;
	right: 40px; top: 30px;
	background: linear-gradient(160deg, oklch(80% 0.10 85), oklch(70% 0.12 45));
	transform: rotate(9deg);
	box-shadow: 0 30px 60px -20px oklch(40% 0.05 60 / 0.4);
	color: #fff;
}

.ae-card-mock-text {
	margin-top: 120px;
	font-family: 'Playfair Display', serif;
	font-size: 20px;
	font-style: italic;
}

.ae-card-mock--front {
	position: relative;
	width: 250px; height: 400px;
	background: linear-gradient(165deg, oklch(30% 0.02 60), var(--ae-card-dark));
	box-shadow: 0 40px 70px -25px oklch(20% 0.02 60 / 0.55);
	color: oklch(95% 0.01 70);
	border: 1px solid oklch(40% 0.02 60);
}

.ae-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ae-accent-soft); margin-bottom: 10px; }
.ae-card-mock--front h3 { font-size: 26px; font-style: italic; font-weight: 500; line-height: 1.25; }
.ae-meta { font-size: 13px; color: oklch(80% 0.01 70); margin-top: 14px; }

/* Categories */
.ae-categories { max-width: 1200px; margin: 0 auto; padding: 20px 32px 100px; }

.ae-section-head { text-align: center; margin-bottom: 48px; }
.ae-section-head h2 { font-size: 34px; font-weight: 600; }
.ae-section-head p { font-size: 17px; color: var(--ae-ink-soft); margin-top: 12px; }

.ae-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
}

.ae-category {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 22px;
	background: #fff;
	border-radius: var(--ae-radius-md);
	border: 1px solid var(--ae-border);
	box-shadow: 0 1px 2px oklch(20% 0.02 60 / 0.04);
	transition: transform .15s ease, box-shadow .15s ease;
}

.ae-category:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 24px -12px oklch(20% 0.02 60 / 0.18);
}

.ae-category-icon {
	width: 44px; height: 44px;
	border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
}

.ae-category-label { font-weight: 600; font-size: 15px; color: var(--ae-ink); }

/* 6-hue swatch palette, cycled across the 10 categories */
.ae-swatch-0 .ae-category-icon { background: oklch(92% 0.05 20); }
.ae-swatch-0 .ae-category-icon svg { stroke: oklch(50% 0.12 20); }
.ae-swatch-1 .ae-category-icon { background: oklch(92% 0.05 45); }
.ae-swatch-1 .ae-category-icon svg { stroke: oklch(50% 0.12 45); }
.ae-swatch-2 .ae-category-icon { background: oklch(92% 0.04 85); }
.ae-swatch-2 .ae-category-icon svg { stroke: oklch(50% 0.10 85); }
.ae-swatch-3 .ae-category-icon { background: oklch(92% 0.05 150); }
.ae-swatch-3 .ae-category-icon svg { stroke: oklch(48% 0.10 150); }
.ae-swatch-4 .ae-category-icon { background: oklch(92% 0.04 200); }
.ae-swatch-4 .ae-category-icon svg { stroke: oklch(48% 0.09 200); }
.ae-swatch-5 .ae-category-icon { background: oklch(92% 0.06 320); }
.ae-swatch-5 .ae-category-icon svg { stroke: oklch(48% 0.11 320); }

/* How it works */
.ae-how { background: #fff; border-top: 1px solid var(--ae-border); border-bottom: 1px solid var(--ae-border); }
.ae-how .ae-section-head { max-width: 1200px; margin: 0 auto 56px; padding-top: 90px; }
.ae-how-grid { max-width: 1200px; margin: 0 auto; padding: 0 32px 90px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ae-how-step { display: flex; flex-direction: column; gap: 16px; }
.ae-how-number { font-family: 'Playfair Display', serif; font-style: italic; font-size: 34px; color: var(--ae-accent-soft); }
.ae-how-step h3 { font-size: 20px; font-weight: 600; }
.ae-how-step p { font-size: 15px; line-height: 1.6; color: var(--ae-ink-soft); }

/* Footer */
.ae-footer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 32px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.ae-footer-links { font-size: 13px; color: var(--ae-ink-faint); }

@media (max-width: 900px) {
	.ae-hero { grid-template-columns: 1fr; }
	.ae-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ae-how-grid { grid-template-columns: 1fr; }
	.ae-nav a:not(.ae-btn) { display: none; }
	.ae-hero-copy h1 { font-size: 38px !important; }
}
