/* =========================================================================
   Infocores — main.css
   Tema escuro, leve e responsivo. Sem dependências externas.
   ========================================================================= */

/* ---- Tokens ---- */
:root {
	--bg: #060506;
	--bg-2: #0e0d12;
	--bg-3: #16151b;
	--text: #ffffff;
	--muted: #b7b6c2;
	--line: rgba(255, 255, 255, .12);

	--purple: #8858ed;
	--cyan: #15cfe8;
	--pink: #ff5bb9;
	--yellow: #ffcb05;
	--whats: #25d366;

	--container: 1140px;
	--radius: 16px;
	--shadow: 0 14px 40px rgba(0, 0, 0, .45);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--header-h: 72px;
}

/* ---- Reset enxuto ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: #fff; color: #000; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---- Botões ---- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px; border-radius: 100px; font-weight: 700; font-size: 15px;
	letter-spacing: .02em; cursor: pointer; border: 2px solid transparent;
	transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
	will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-whatsapp { background: var(--whats); color: #06210f; }
.btn-whatsapp:hover { background: #1ec15b; }
.btn-accent { background: var(--purple); color: #fff; }
.btn-accent:hover { background: #9a6ff2; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---- Cabeçalho ---- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(8, 7, 10, .82);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 56px; width: auto; }
.footer-logo { height: 54px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 22px; }
.nav-list a {
	font-weight: 600; font-size: 15px; padding: 6px 2px; position: relative; color: #eceaf2;
}
.nav-list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
	background: linear-gradient(90deg, var(--cyan), var(--pink)); transform: scaleX(0); transform-origin: left;
	transition: transform .2s ease;
}
.nav-list a:hover::after, .nav-list a:focus-visible::after { transform: scaleX(1); }
.nav-cta { padding: 9px 18px; font-size: 14px; }

.nav-toggle {
	display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
	align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle-bar { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: transform .25s ease, opacity .2s ease; }

/* ---- Hero ---- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding-block: clamp(44px, 7vw, 96px); min-height: clamp(460px, 70vh, 660px);
	display: flex; align-items: center;
	background:
		radial-gradient(120% 90% at 82% 0%, rgba(136, 88, 237, .20), transparent 55%),
		radial-gradient(90% 80% at 10% 100%, rgba(21, 207, 232, .12), transparent 60%),
		var(--bg);
}
/* Campo de "X" — desenhado em CSS (SVG inline), responsivo, não é arquivo de imagem. */
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='2'%3E%3Cpath d='M17 17l12 12M29 17L17 29'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 85%);
	mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 85%);
}
.hero-content {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; width: 100%;
}
.hero-copy { max-width: 620px; }
.hero-eyebrow {
	display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700;
	color: var(--cyan); margin-bottom: 14px;
}
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.hero-title span { color: var(--pink); }
.hero-title span:nth-child(2) { color: var(--cyan); }
.hero-title span:nth-child(3) { color: var(--yellow); }
.hero-text { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); margin-top: 18px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Moldura tech da foto */
.hero-figure { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 520px; }
.hero-frame {
	--notch: 26px;
	position: relative; aspect-ratio: 4 / 3; padding: 3px;
	background: linear-gradient(135deg, var(--cyan), var(--purple) 55%, var(--pink));
	clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
	box-shadow: 0 26px 60px rgba(0, 0, 0, .55), 0 0 50px rgba(21, 207, 232, .18);
}
.hero-photo {
	width: 100%; height: 100%; object-fit: cover; display: block;
	clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
/* Brackets de HUD nos cantos */
.hero-figure::before, .hero-figure::after {
	content: ""; position: absolute; width: 30px; height: 30px; pointer-events: none;
}
.hero-figure::before { top: -9px; left: -9px; border-top: 3px solid var(--cyan); border-left: 3px solid var(--cyan); }
.hero-figure::after { bottom: -9px; right: -9px; border-bottom: 3px solid var(--pink); border-right: 3px solid var(--pink); }

/* Acentos decorativos (SVG inline, escondidos no mobile) */
.hero-deco { position: absolute; z-index: -1; pointer-events: none; }
.hero-deco--plus { top: 6%; right: 7%; width: clamp(40px, 5vw, 66px); color: rgba(255, 203, 5, .55); }
.hero-deco--dots { bottom: 9%; left: 3%; width: clamp(80px, 9vw, 128px); color: rgba(136, 88, 237, .55); }
.hero-deco--ring { top: 14%; left: 46%; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 50%; }

/* ---- Seções de serviço ---- */
.section { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .22; }
.section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,5,6,.78), rgba(6,5,6,.92)); }

.section-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.section-inner--reverse { grid-template-columns: 1.15fr 1fr; }
.section-inner--reverse .section-media { order: 2; }
.section-illustration { width: 100%; height: auto; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .5)); }

/* Moldura tech reutilizável para FOTOS das seções (cantos chanfrados + brackets HUD) */
.section-media.is-framed { position: relative; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .5)); }
.media-frame {
	--notch: 22px;
	position: relative; margin: 0; padding: 3px; display: block;
	background: linear-gradient(135deg, var(--cyan), var(--purple) 55%, var(--pink));
	clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.media-frame > img {
	display: block; width: 100%; height: auto; object-fit: cover; border-radius: 0;
	clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.section-media.is-framed::before, .section-media.is-framed::after {
	content: ""; position: absolute; width: 28px; height: 28px; pointer-events: none; z-index: 1;
}
.section-media.is-framed::before { top: -8px; left: -8px; border-top: 3px solid var(--cyan); border-left: 3px solid var(--cyan); }
.section-media.is-framed::after { bottom: -8px; right: -8px; border-bottom: 3px solid var(--pink); border-right: 3px solid var(--pink); }

.section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.section-title::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-bottom: 16px; background: linear-gradient(90deg, var(--cyan), var(--pink)); }
.section-text { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); margin-top: 14px; max-width: 60ch; }

.feature-list { margin-top: 18px; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 30px; color: #e7e6ee; }
.feature-list li::before {
	content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, var(--cyan), var(--purple));
}
.section-body .btn { margin-top: 26px; }

/* Cards de produtos (games) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); transition: transform .18s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(136, 88, 237, .6); }
.card-img { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---- CTA / localização ---- */
.cta-local { background: var(--bg-2); padding-block: clamp(48px, 7vw, 84px); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.cta-text .btn { margin-top: 24px; margin-right: 12px; }
.cta-photo { display: flex; justify-content: center; }
.cta-photo-img { width: min(320px, 100%); border-radius: var(--radius); border: 3px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); }

/* ---- Rodapé ---- */
.site-footer { background: #fff; color: #1d1c22; padding-top: clamp(40px, 6vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: clamp(24px, 4vw, 44px); padding-bottom: 40px; }
.footer-brand .footer-logo { filter: none; }
.footer-tagline { color: #4a4954; margin-top: 14px; max-width: 34ch; }
.footer-title { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 16px; color: #16151b; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #3b3a44; font-weight: 600; }
.footer-links a:hover { color: var(--purple); text-decoration: underline; }
.footer-info p { display: flex; gap: 10px; align-items: flex-start; color: #3b3a44; margin-bottom: 14px; }
.footer-info a { color: #3b3a44; }
.footer-info a:hover { color: var(--purple); text-decoration: underline; }
.fi-icon { color: var(--purple); flex: 0 0 auto; margin-top: 2px; }
.footer-pay { width: min(240px, 100%); height: auto; }
.footer-pix { width: 96px; height: auto; margin-top: 14px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
	background: #16151b; color: #fff; transition: transform .15s ease, background-color .2s ease;
}
.social a:hover { transform: translateY(-2px); background: var(--purple); }

.footer-bottom { background: #ededed; color: #4a4954; font-size: 13px; padding-block: 16px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }

/* ---- WhatsApp flutuante ---- */
.float-whatsapp {
	position: fixed; right: 18px; bottom: 18px; z-index: 200;
	width: 58px; height: 58px; border-radius: 50%; background: var(--whats); color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
	transition: transform .15s ease;
}
.float-whatsapp:hover { transform: scale(1.06); }

/* ---- Páginas internas (page.php / index.php) ---- */
.page-wrap { padding-block: clamp(40px, 6vw, 80px); min-height: 50vh; }
.entry-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.entry-content { color: var(--muted); }
.entry-content a { color: var(--cyan); text-decoration: underline; }

/* =========================================================================
   Scroll reveal (surgimento lateral por seção, alternando o lado)
   ========================================================================= */
.reveal {
	opacity: 0;
	transform: translateX(var(--rx, 0)) translateY(var(--ry, 0));
	transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
	will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left  { --rx: -52px; }
.reveal--right { --rx: 52px; }
.reveal--up    { --ry: 44px; }
.cta-local { overflow: clip; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 900px) {
	.hero-content { grid-template-columns: 1fr; gap: 36px; }
	.hero-figure { max-width: 460px; justify-self: start; }
	.section-inner, .section-inner--reverse, .cta-grid { grid-template-columns: 1fr; }
	.section-inner--reverse .section-media { order: 0; }
	.section-media { max-width: 480px; margin-inline: auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: rgba(8, 7, 10, .98); border-bottom: 1px solid var(--line);
		padding: 12px clamp(16px, 4vw, 28px) 22px;
		transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
	}
	.site-nav.is-open { transform: translateY(0); visibility: visible; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list li { border-bottom: 1px solid var(--line); }
	.nav-list a { display: block; padding: 14px 4px; font-size: 17px; }
	.nav-cta { margin-top: 14px; align-self: flex-start; }
	.hero-deco { display: none; }
	body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
	body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 560px) {
	.card-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-actions .btn, .cta-text .btn { width: 100%; }
}

/* ---- Acessibilidade / preferências ---- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
