/* ---------- FONTES (self-hosted) ---------- */
@font-face {
	font-family: "Space Grotesk";
	src: url("assets/fonts/space-grotesk-500.woff2") format("woff2");
	font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Space Grotesk";
	src: url("assets/fonts/space-grotesk-700.woff2") format("woff2");
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-display.woff2") format("woff2");
	font-weight: 400 900; font-style: normal; font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
	color-scheme: light;
	--bg: #f3f3f1;
	--surface: #ffffff;
	--ink: #14161a;
	--ink-2: #2a2d33;
	--muted: #6a6d73;
	--line: #e3e3df;
	--solid: #14161a;
	--solid-fg: #ffffff;
	--solid-hover: #2a2d33;
	--go: #16a34a;
	--hero-glow: rgba(0, 0, 0, .14);
	--hero-bg-op: .12;
	--pill-fg: #0f7a3d;
	--pill-bg: rgba(22, 163, 74, .10);
	--pill-line: rgba(22, 163, 74, .30);
	--pill-dot: #16a34a;
	--nav-top: #ffffff; --nav-mid: #eff1f2; --nav-bot: #e8eaeb;
	--nav-inset: rgba(255, 255, 255, .95);
	--nav-sheen: rgba(255, 255, 255, .9);
	--nav-shadow: rgba(0, 0, 0, .07);
	--nav-shadow-2: rgba(0, 0, 0, .1);
	--footer-bg: #eeeeec;
	--radius: 16px;
	--maxw: 1160px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;
	--font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-title: "Playfair Display", Georgia, "Times New Roman", serif;
}
:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #0d0e11;
	--surface: #16181c;
	--ink: #f1f2f0;
	--ink-2: #d9dbd8;
	--muted: #9a9ea3;
	--line: #26292d;
	--solid: #f1f2f0;
	--solid-fg: #0d0e11;
	--solid-hover: #d9dbd8;
	--go: #22c55e;
	--hero-glow: rgba(255, 255, 255, .06);
	--hero-bg-op: .14;
	--pill-fg: #5ad98c;
	--pill-bg: rgba(90, 217, 140, .12);
	--pill-line: rgba(90, 217, 140, .30);
	--pill-dot: #4ade80;
	--nav-top: #1c1e22; --nav-mid: #15171a; --nav-bot: #101215;
	--nav-inset: rgba(255, 255, 255, .08);
	--nav-sheen: rgba(255, 255, 255, .06);
	--nav-shadow: rgba(0, 0, 0, .5);
	--nav-shadow-2: rgba(0, 0, 0, .6);
	--footer-bg: #0a0b0d;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--bg: #0d0e11; --surface: #16181c; --ink: #f1f2f0; --ink-2: #d9dbd8;
		--muted: #9a9ea3; --line: #26292d;
		--solid: #f1f2f0; --solid-fg: #0d0e11; --solid-hover: #d9dbd8;
		--hero-glow: rgba(255, 255, 255, .06);
		--hero-bg-op: .14;
		--pill-fg: #5ad98c;
		--pill-bg: rgba(90, 217, 140, .12);
		--pill-line: rgba(90, 217, 140, .30);
		--pill-dot: #4ade80;
		--nav-top: #1c1e22; --nav-mid: #15171a; --nav-bot: #101215;
		--nav-inset: rgba(255, 255, 255, .08); --nav-sheen: rgba(255, 255, 255, .06);
		--nav-shadow: rgba(0, 0, 0, .5); --nav-shadow-2: rgba(0, 0, 0, .6);
		--footer-bg: #0a0b0d;
	}
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
	margin: 0;
	padding-top: 64px;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	transition: background-color .3s ease, color .3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

h1, h2, .tagline, .stats b, .email { font-family: var(--font-display); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 18px; font-weight: 700; }

.eyebrow {
	display: inline-block;
	text-transform: uppercase; letter-spacing: .22em;
	font-size: .72rem; color: var(--muted);
	margin: 0 0 16px; font-weight: 600;
}

.badge {
	display: inline-flex; align-items: center; gap: 9px;
	margin: 0 0 20px; padding: 7px 15px;
	border-radius: 999px; border: 1px solid var(--pill-line);
	background: var(--pill-bg);
	color: var(--pill-fg);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	font-size: .84rem; font-weight: 600; letter-spacing: .01em;
}
.badge .dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--pill-dot);
	box-shadow: 0 0 0 3px var(--pill-bg);
}
.badge .sep { color: var(--pill-fg); opacity: .45; font-weight: 400; }
.badge .tat { color: var(--pill-fg); opacity: .72; font-weight: 500; }

/* ---------- NAV — fixa, glossy ---------- */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	height: 64px;
	background: linear-gradient(180deg, var(--nav-top) 0%, var(--nav-mid) 58%, var(--nav-bot) 100%);
	border-bottom: 1px solid var(--line);
	box-shadow: inset 0 1px 0 var(--nav-inset), 0 6px 22px var(--nav-shadow);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: box-shadow .3s ease;
}
.nav::after {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 55%;
	background: linear-gradient(180deg, var(--nav-sheen), transparent);
	pointer-events: none;
}
.nav.scrolled { box-shadow: inset 0 1px 0 var(--nav-inset), 0 12px 34px var(--nav-shadow-2); }
.nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo img { height: 34px; width: auto; }
.logo .mark { height: 30px; width: auto; }
.lm.dark { display: none; }
:root[data-theme="dark"] .lm.light { display: none; }
:root[data-theme="dark"] .lm.dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .lm.light { display: none; }
	:root:not([data-theme="light"]) .lm.dark { display: block; }
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 999px;
	background: transparent; border: 1px solid var(--line);
	color: var(--ink); font-size: 1rem; cursor: pointer;
	transition: background .2s, border-color .2s, transform .15s;
}
.theme-toggle:hover { border-color: var(--ink); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--ink); cursor: pointer; }

/* ---------- BOTÕES ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border-radius: 999px;
	font-weight: 600; font-size: .95rem; border: 1px solid transparent;
	cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-solid { background: var(--solid); color: var(--solid-fg); position: relative; overflow: hidden; }
.btn-solid:hover { background: var(--go); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -12px rgba(34, 197, 94, .6); }
/* brilho que varre o botão (sparkle) */
.btn-solid::before {
	content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
	transform: skewX(-18deg); pointer-events: none;
	animation: btn-shine 3.8s ease-in-out infinite;
}
/* estrelinha que acende no hover */
.btn-solid::after {
	content: ""; position: absolute; top: 7px; right: 11px; width: 13px; height: 13px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.7 9.3L24 12l-9.3 2.7L12 24l-2.7-9.3L0 12l9.3-2.7z' fill='%23ffffff'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0; transform: scale(.5); pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.btn-solid:hover::after { opacity: 1; animation: btn-spark 1.1s ease-in-out infinite; }
@keyframes btn-shine { 0%, 55% { left: -70%; } 85%, 100% { left: 130%; } }
@keyframes btn-spark { 0%, 100% { transform: scale(.75) rotate(0deg); opacity: .7; } 50% { transform: scale(1.2) rotate(20deg); opacity: 1; } }
.btn-line { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { color: var(--muted); padding: 0 6px; }
.btn-ghost:hover { color: var(--ink); }

/* ---------- HERO = o jogo ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 64px; }
.hero > .wrap { position: relative; z-index: 2; }

/* fundo do menu do jogo, bem sutil (~12%) */
.hero-bg {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: url("assets/hero_bg.jpg") center 30% / cover no-repeat;
	opacity: var(--hero-bg-op, .12);
	filter: grayscale(.2) contrast(1.05);
}
.hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, var(--bg) 0%, transparent 26%, transparent 62%, var(--bg) 100%);
}

/* glitch fraco — camada entre o fundo e os elementos */
.hero-glitch {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 3px);
	opacity: .6;
}
.hero-glitch::before {
	content: ""; position: absolute; inset: -3px;
	background: url("assets/hero_bg.jpg") center 30% / cover no-repeat;
	opacity: .1; filter: hue-rotate(10deg) saturate(1.6);
	mix-blend-mode: screen;
	animation: glitch-shift 7s steps(1) infinite;
}
.hero-glitch::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(255, 40, 80, .05), transparent 14%, transparent 86%, rgba(40, 160, 255, .05));
	mix-blend-mode: screen;
}
@keyframes glitch-shift {
	0%, 90%, 100% { transform: translate3d(0, 0, 0); clip-path: inset(0 0 0 0); }
	91% { transform: translate3d(-2px, 0, 0); clip-path: inset(36% 0 48% 0); }
	92% { transform: translate3d(3px, 0, 0); clip-path: inset(62% 0 18% 0); }
	93% { transform: translate3d(-1px, 0, 0); clip-path: inset(18% 0 64% 0); }
	94% { transform: translate3d(2px, 0, 0); clip-path: inset(74% 0 6% 0); }
	95% { transform: translate3d(-3px, 0, 0); clip-path: inset(44% 0 34% 0); }
	96% { transform: translate3d(0, 0, 0); clip-path: inset(0 0 0 0); }
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-family: var(--font-title); font-size: clamp(42px, 6.2vw, 80px); line-height: 1; letter-spacing: 0; margin: 0 0 18px; font-weight: 700; text-transform: uppercase; }
.tagline { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 500; margin: 0 0 20px; line-height: 1.3; }
.lead { max-width: 540px; margin: 0 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.small-actions { margin: 16px 0; }

.stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 40px; flex-wrap: wrap; }
.stats li { border-top: 2px solid var(--ink); padding-top: 12px; }
.stats b { display: block; font-size: 1.2rem; letter-spacing: -0.01em; }
.stats span { color: var(--muted); font-size: .85rem; }

.hero-media { position: relative; display: flex; flex-direction: column; gap: 16px; }
.hero-media::before {
	content: ""; position: absolute; inset: -6% -4% 2% -4%;
	background: radial-gradient(60% 60% at 62% 28%, var(--hero-glow), transparent 72%);
	filter: blur(24px); z-index: -1; pointer-events: none;
}
.hero-media img.shot-main,
.hero-media img.shot-second {
	width: 100%; height: auto; display: block;
	border-radius: var(--radius); border: 1px solid var(--line);
	box-shadow: 0 44px 80px -38px rgba(0, 0, 0, .55);
}
.hero-media img.shot-second { box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .5); }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.strip figure { margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .5); }
.strip img { border-radius: 14px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.strip figure:hover img { transform: scale(1.035); }

/* ---------- SEÇÕES ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.email { font-size: clamp(1.3rem, 3vw, 1.95rem); font-weight: 700; letter-spacing: -0.02em; border-bottom: 2px solid transparent; transition: border-color .2s; }
.email:hover { border-color: var(--ink); }
.socials { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.socials a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.socials a:hover { color: var(--ink); }

/* ---------- ANÚNCIO (borda) ---------- */
.adband { padding: 32px 0; border-top: 1px solid var(--line); }
.adband .ad-label {
	display: block; text-align: center; text-transform: uppercase;
	letter-spacing: .18em; font-size: .68rem; font-weight: 600;
	color: var(--muted); margin-bottom: 12px;
}

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; background: var(--footer-bg); transition: background-color .3s ease; }
.footer-inner { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.footer-logo { margin-bottom: 12px; }
.footer-logo img { height: 26px; width: auto; opacity: .9; }
.footer-inner .muted { margin: 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.footer-links a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--ink); }

/* ---------- PÁGINAS LEGAIS ---------- */
.legal { max-width: 760px; }
.legal h1 { font-family: var(--font-title); font-size: clamp(34px, 5.2vw, 52px); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin: 0 0 30px; }
.legal h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); line-height: 1.65; margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .back { display: inline-block; margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* ---------- MOTION ---------- */
[data-reveal] {
	opacity: 0; transform: translateY(18px);
	transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 880px) {
	.hero { padding: 56px 0 48px; }
	.hero-grid, .two-col { grid-template-columns: 1fr; gap: 36px; }
	.strip { grid-template-columns: 1fr; }
	.nav-links {
		position: absolute; top: 64px; left: 0; right: 0; background: var(--surface);
		border-bottom: 1px solid var(--line); flex-direction: column; gap: 0;
		padding: 8px 28px 16px; display: none; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .3);
	}
	.nav-links.open { display: flex; }
	.nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.nav-toggle { display: block; }
	.nav-cta .btn-solid { display: none; }
}
