/* ═══════════════════════════════════════════════════════════════
   TOGEVER® — Design System · Dark Tech Premium
   Vanilla CSS · sem dependências · 100% estático
   Marca: roxo #9fa3ea → rosa #ff7ba2
═══════════════════════════════════════════════════════════════ */

:root {
	/* Brand */
	--purple: #9fa3ea;
	--pink: #ff7ba2;
	--grad: linear-gradient(120deg, #9fa3ea 0%, #c08bd0 45%, #ff7ba2 100%);
	--grad-soft: linear-gradient(120deg, rgba(159,163,234,.16), rgba(255,123,162,.16));

	/* Surfaces */
	--bg: #08080c;
	--bg-2: #0d0d13;
	--surface: #121219;
	--surface-2: #16161f;
	--line: rgba(255,255,255,.08);
	--line-2: rgba(255,255,255,.14);
	--chip-bg: rgba(255,255,255,.05);
	--chip-bg-hover: rgba(255,255,255,.09);

	/* Text */
	--ink: #f4f4f7;
	--ink-70: rgba(244,244,247,.72);
	--ink-50: rgba(244,244,247,.52);
	--ink-30: rgba(244,244,247,.34);

	/* Rhythm */
	--rad: 16px;
	--rad-lg: 22px;
	--container: 1200px;
	--ease: cubic-bezier(.22,1,.36,1);

	--font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-display: 'Space Grotesk', var(--font-sans);
	--font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-sans);
	background: var(--bg);
	color: var(--ink);
	line-height: 1.6;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(255,123,162,.3); color: #fff; }

/* Ambient background glow */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 50% at 15% 0%, rgba(159,163,234,.10), transparent 60%),
		radial-gradient(55% 45% at 90% 8%, rgba(255,123,162,.08), transparent 55%),
		var(--bg);
	pointer-events: none;
}

/* ── Layout helpers ─────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-mono);
	font-size: 12.5px; font-weight: 500;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--purple);
	margin-bottom: 20px;
}
.eyebrow::before {
	content: ""; width: 22px; height: 1px;
	background: linear-gradient(90deg, var(--purple), transparent);
}

.h-lead { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.section-title { font-size: clamp(30px, 4.4vw, 52px); }
.section-title strong { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-sub { color: var(--ink-50); max-width: 620px; margin: 20px 0 0; font-size: 18px; }
.section-head { margin-bottom: 64px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 600; font-size: 15px;
	padding: 14px 26px; border-radius: 50px;
	border: 1px solid transparent;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
	white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn--primary {
	background: var(--grad); color: #0a0a0f;
	box-shadow: 0 8px 30px rgba(159,163,234,.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(255,123,162,.42); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: var(--chip-bg); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: var(--chip-bg-hover); transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 16px; }

/* ── Nav ────────────────────────────────────────────── */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	transition: background .4s, border-color .4s, backdrop-filter .4s;
	border-bottom: 1px solid transparent;
}
.nav.scrolled {
	background: rgba(8,8,12,.72);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; object-fit: contain; }
.brand-logo { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14.5px; color: var(--ink-70); transition: color .25s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; z-index: 110; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 140px; overflow: hidden; }
.hero-video { position: absolute; inset: 0; z-index: 0; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-video::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(8,8,12,.55) 0%, rgba(8,8,12,.62) 45%, rgba(8,8,12,.92) 100%),
		radial-gradient(80% 60% at 20% 40%, rgba(159,163,234,.14), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em;
	color: var(--ink-70);
	background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
	padding: 7px 15px; border-radius: 50px; margin-bottom: 28px;
	backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5);} 70%{ box-shadow: 0 0 0 8px rgba(74,222,128,0);} 100%{ box-shadow: 0 0 0 0 rgba(74,222,128,0);} }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6.6vw, 82px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 26px; }
.hero h1 .grad-text { display: inline-block; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: var(--ink-70); max-width: 560px; margin: 0 0 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stat .n { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.hero-stat .l { font-size: 13px; color: var(--ink-50); margin-top: 7px; letter-spacing: .01em; }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--ink-30); font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--ink-30), transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0%{ transform: scaleY(0); transform-origin: top;} 45%{ transform: scaleY(1); transform-origin: top;} 55%{ transform: scaleY(1); transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

/* ── Logo strip ─────────────────────────────────────── */
.logos { border-block: 1px solid var(--line); padding: 40px 0; }
.logos p { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-30); margin: 0 0 26px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; }
.logos-row img { height: 26px; width: auto; opacity: .45; filter: grayscale(100%) brightness(1.8); transition: opacity .3s, filter .3s; }
.logos-row img:hover { opacity: .85; filter: grayscale(0); }

/* ── Marquee (capacidades) ──────────────────────────── */
.marquee { border-block: 1px solid var(--line); padding: 30px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; letter-spacing: -.01em; color: var(--ink-70); padding: 0 34px; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; margin-left: 34px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Cards / Services ───────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
	position: relative; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--rad-lg); padding: 34px 30px; overflow: hidden;
	transition: transform .45s var(--ease), border-color .4s, background .4s;
}
.card::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
	background: var(--grad); opacity: 0;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card-ico { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 22px; }
.card-ico svg { width: 24px; height: 24px; stroke: var(--purple); }
.card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 12px; }
.card p { color: var(--ink-50); font-size: 15.5px; margin: 0; }
.card .idx { position: absolute; top: 26px; right: 30px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-30); }

/* ── Tríade / approach ──────────────────────────────── */
.triade { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.triade-list { display: flex; flex-direction: column; gap: 4px; }
.triade-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.triade-item:last-child { border-bottom: 0; }
.triade-item .k { font-family: var(--font-mono); font-size: 13px; color: var(--purple); padding-top: 4px; min-width: 34px; }
.triade-item h4 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.triade-item p { color: var(--ink-50); margin: 0; font-size: 15px; }
/* ── Holo chamber (símbolo 3D holográfico) ──────────── */
.holo {
	position: relative; aspect-ratio: 1; border-radius: var(--rad-lg);
	border: 1px solid var(--line); overflow: hidden;
	display: grid; place-items: center;
	perspective: 900px;
	background:
		radial-gradient(circle at 50% 44%, rgba(159,163,234,.16), transparent 62%),
		linear-gradient(180deg, var(--surface-2), var(--surface));
}
@keyframes spin { to { transform: rotate(360deg); } }

/* piso em grid com fuga de perspectiva */
.holo-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(159,163,234,.10) 1px, transparent 1px),
		linear-gradient(90deg, rgba(159,163,234,.10) 1px, transparent 1px);
	background-size: 32px 32px;
	transform: perspective(480px) rotateX(62deg) translateY(26%) scale(1.5);
	-webkit-mask: radial-gradient(circle at 50% 58%, #000 8%, transparent 68%);
	mask: radial-gradient(circle at 50% 58%, #000 8%, transparent 68%);
	opacity: .55;
}

/* disco holográfico girando atrás */
.holo-disc {
	position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%;
	background: conic-gradient(from 0deg, #9fa3ea, #ff7ba2, #c08bd0, #9fa3ea, #ff7ba2, #9fa3ea);
	filter: blur(28px) saturate(1.5); opacity: .40;
	animation: spin 13s linear infinite;
}

/* órbitas + partículas */
.holo-orbit { position: absolute; border: 1px solid var(--line-2); border-radius: 50%; }
.holo-orbit.o1 { width: 44%; aspect-ratio: 1; animation: spin 8s linear infinite; }
.holo-orbit.o2 { width: 64%; aspect-ratio: 1; animation: spin 15s linear infinite reverse; border-color: var(--line); }
.holo-orbit.o3 { width: 84%; aspect-ratio: 1; animation: spin 24s linear infinite; border-color: var(--line); }
.holo-orbit i { position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateX(-50%); background: var(--grad); box-shadow: 0 0 14px 2px rgba(255,123,162,.75); }
.holo-orbit.o2 i { background: var(--purple); box-shadow: 0 0 14px 2px rgba(159,163,234,.75); }
.holo-orbit.o3 i { width: 7px; height: 7px; background: var(--pink); box-shadow: 0 0 12px 2px rgba(255,123,162,.7); }

/* núcleo: símbolo flutuando em 3D com glow que respira */
.holo-core { position: relative; z-index: 3; width: 42%; transform-style: preserve-3d; animation: holoFloat 7s ease-in-out infinite; }
.holo-core img { width: 100%; animation: holoGlow 4.5s ease-in-out infinite; }
@keyframes holoFloat {
	0%, 100% { transform: translateY(0) rotateX(14deg) rotateY(-18deg); }
	50%      { transform: translateY(-14px) rotateX(-10deg) rotateY(16deg); }
}
@keyframes holoGlow {
	0%, 100% { filter: drop-shadow(0 0 18px rgba(159,163,234,.65)) drop-shadow(0 0 38px rgba(255,123,162,.35)); }
	50%      { filter: drop-shadow(0 0 28px rgba(255,123,162,.85)) drop-shadow(0 0 54px rgba(159,163,234,.5)); }
}

/* reflexo espelhado */
.holo-reflection { position: absolute; z-index: 2; width: 42%; top: 57%; left: 50%; transform: translateX(-50%) scaleY(-1); opacity: .16; filter: blur(1px); -webkit-mask: linear-gradient(#000, transparent 68%); mask: linear-gradient(#000, transparent 68%); }
.holo-reflection img { width: 100%; }

/* scanlines holográficas */
.holo-scan { position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: screen; background: repeating-linear-gradient(0deg, rgba(159,163,234,.06) 0 2px, transparent 2px 5px); -webkit-mask: radial-gradient(circle at 50% 46%, #000 28%, transparent 74%); mask: radial-gradient(circle at 50% 46%, #000 28%, transparent 74%); animation: holoScan 5s linear infinite; }
@keyframes holoScan { to { background-position: 0 20px; } }

/* ── Numbers / counters ─────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 48px 24px; border: 1px solid var(--line); border-radius: var(--rad-lg); background: var(--surface); position: relative; overflow: hidden; }
.stat-box::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: var(--grad); opacity: .5; }
.stat-num { font-family: var(--font-display); font-size: clamp(44px, 6vw, 68px); font-weight: 600; letter-spacing: -.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--ink-50); margin-top: 14px; font-size: 15px; }

/* ── Process (AGILE) ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--rad-lg); background: var(--surface); transition: transform .4s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-5px); border-color: var(--line-2); }
.step .step-n { font-family: var(--font-mono); font-size: 13px; color: var(--purple); margin-bottom: 18px; }
.step h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.step p { color: var(--ink-50); font-size: 14.5px; margin: 0; }

/* ── Diferenciais ───────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item { display: flex; gap: 20px; padding: 30px; border: 1px solid var(--line); border-radius: var(--rad-lg); background: var(--surface); transition: border-color .4s, transform .4s var(--ease); }
.why-item:hover { border-color: var(--line-2); transform: translateY(-4px); }
.why-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); }
.why-ico svg { width: 22px; height: 22px; stroke: var(--purple); }
.why-item h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 2px 0 8px; }
.why-item p { color: var(--ink-50); font-size: 15px; margin: 0; }

/* ── Stack tecnológica ──────────────────────────────── */
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stack-cat { padding: 30px; border: 1px solid var(--line); border-radius: var(--rad-lg); background: var(--surface); }
.stack-cat h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); margin: 0 0 18px; }
.stack-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.stack-pills span { font-size: 14px; color: var(--ink-70); padding: 7px 14px; border-radius: 50px; border: 1px solid var(--line-2); background: var(--chip-bg); transition: color .25s, border-color .25s, background .25s; }
.stack-pills span:hover { color: var(--ink); border-color: var(--purple); background: var(--grad-soft); }

/* ── FAQ ────────────────────────────────────────────── */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font-family: var(--font-display); font-size: clamp(17px, 2.2vw, 21px); font-weight: 500; color: var(--ink); transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--purple); }
.faq summary .ic { flex: none; width: 26px; height: 26px; position: relative; transition: transform .35s var(--ease); }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--purple); border-radius: 2px; }
.faq summary .ic::before { width: 14px; height: 2px; }
.faq summary .ic::after { width: 2px; height: 14px; transition: transform .35s var(--ease); }
.faq details[open] summary .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.faq details[open] summary { color: var(--purple); }
.faq-a { overflow: hidden; color: var(--ink-50); font-size: 16px; padding: 0 40px 26px 4px; margin: 0; }

/* ── Showcase band (vídeo full-width) ───────────────── */
.showcase { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; border-block: 1px solid var(--line); }
.showcase video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.showcase-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,8,12,.95) 0%, rgba(8,8,12,.78) 52%, rgba(8,8,12,.5) 100%), radial-gradient(70% 100% at 0% 50%, rgba(159,163,234,.14), transparent 62%); }
.showcase-inner { position: relative; z-index: 2; max-width: 640px; padding-block: 100px; }
.showcase h2 { font-family: var(--font-display); font-size: clamp(28px, 4.4vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 18px; }
.showcase h2 strong { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.showcase p { color: var(--ink-70); font-size: 18px; margin: 0; max-width: 520px; }

/* ── CTA banner ─────────────────────────────────────── */
.cta { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); padding: 80px 60px; text-align: center; background: linear-gradient(135deg, rgba(159,163,234,.12), rgba(255,123,162,.10)), var(--surface); }
.cta::before { content: ""; position: absolute; inset: -40% 30% auto; height: 300px; background: radial-gradient(circle, rgba(255,123,162,.28), transparent 65%); pointer-events: none; }
.cta h2 { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 52px); font-weight: 600; letter-spacing: -.02em; margin: 0 0 18px; position: relative; }
.cta p { color: var(--ink-70); max-width: 520px; margin: 0 auto 34px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-meta { margin-top: 40px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--ink-50); position: relative; }
.cta-meta a { color: var(--ink-70); }
.cta-meta a:hover { color: var(--purple); }

/* ── Page hero (subpáginas) ─────────────────────────── */
.page-hero { padding: 180px 0 30px; text-align: center; position: relative; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 74px); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 18px; }
.page-hero h1 strong { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero p { color: var(--ink-50); max-width: 560px; margin: 0 auto; font-size: 18px; }
.breadcrumb { margin-top: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-30); display: flex; gap: 10px; justify-content: center; }
.breadcrumb a { color: var(--ink-50); transition: color .25s; }
.breadcrumb a:hover { color: var(--purple); }

/* ── Article (prose) ────────────────────────────────── */
.article-head { padding: 168px 0 0; text-align: center; }
.article-head .container { max-width: 820px; }
.article-cat { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.article-title { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 52px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 18px 0 22px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 14px; color: var(--ink-50); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-cover { max-width: 1000px; margin: 46px auto 0; border-radius: var(--rad-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article { max-width: 760px; margin-inline: auto; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-70); }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 31px); font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-top: 1.8em; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); margin-top: 1.5em; }
.prose p { margin: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(159,163,234,.4); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--purple); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: .55em; }
.prose li { padding-left: .2em; }
.prose li::marker { color: var(--purple); }
.prose blockquote { margin: 0; padding: 6px 0 6px 22px; border-left: 2px solid; border-image: var(--grad) 1; color: var(--ink); font-size: 20px; font-style: italic; }
.prose img { border-radius: var(--rad); border: 1px solid var(--line); }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--pink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--purple); }

.toc { border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); padding: 24px 26px; margin: 40px 0; }
.toc h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-50); margin: 0 0 14px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 9px; }
.toc a { color: var(--ink-70); font-size: 15px; text-decoration: none; }
.toc a:hover { color: var(--purple); }
.toc li::marker { color: var(--purple); font-family: var(--font-mono); font-size: 13px; }

.takeaways { background: var(--grad-soft); border: 1px solid var(--line-2); border-radius: var(--rad-lg); padding: 28px 30px; margin: 40px 0; }
.takeaways h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.takeaways ul { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; font-size: 16px; color: var(--ink); }
.takeaways li::marker { color: var(--pink); }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.article-tags span { font-family: var(--font-mono); font-size: 12px; color: var(--ink-50); padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 50px; }

/* ── Insights / blog ────────────────────────────────── */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; background: var(--surface); transition: transform .4s var(--ease), border-color .4s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); border-color: var(--line-2); }
.post-img { aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--purple); letter-spacing: .04em; margin-bottom: 14px; display: flex; gap: 10px; }
.post-meta .sep { color: var(--ink-30); }
.post h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0 0 auto; }
.post-link { margin-top: 22px; font-size: 14px; color: var(--ink-70); display: inline-flex; align-items: center; gap: 7px; transition: gap .3s, color .3s; }
.post:hover .post-link { color: var(--purple); gap: 11px; }

/* ── Footer ─────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 54px; }
.footer-brand p { color: var(--ink-50); font-size: 14.5px; max-width: 300px; margin: 18px 0 0; }
.footer-col h5 { font-family: var(--font-display); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-50); margin: 0 0 18px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { color: var(--ink-70); font-size: 14.5px; transition: color .25s; }
.footer-col a:hover { color: var(--purple); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 16px; }
.footer-bottom .copy { color: var(--ink-30); font-size: 13.5px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-70); transition: all .3s; }
.footer-social a:hover { color: #fff; border-color: transparent; background: var(--grad); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

/* ── WhatsApp float ─────────────────────────────────── */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── Reveal animation ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ── Mobile menu panel ──────────────────────────────── */
.mobile-menu { position: fixed; inset: 0; z-index: 105; background: rgba(8,8,12,.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.mobile-menu a:active { color: var(--purple); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 980px) {
	.nav-links, .nav-cta .btn { display: none; }
	.nav-toggle { display: block; }
	.svc-grid, .stats, .steps, .posts, .stack-grid { grid-template-columns: 1fr 1fr; }
	.why-grid { grid-template-columns: 1fr; }
	.triade { grid-template-columns: 1fr; gap: 40px; }
	.holo { max-width: 380px; margin-inline: auto; width: 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.section { padding: 90px 0; }
	.cta { padding: 60px 30px; }
}
@media (max-width: 620px) {
	body { font-size: 16px; }
	.svc-grid, .stats, .steps, .posts, .stack-grid { grid-template-columns: 1fr; }
	.hero-stats { gap: 26px; }
	.hero-stat { min-width: 40%; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.section-head { margin-bottom: 44px; }
	.hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   TEMA CLARO (toggle) — o hero/faixas de vídeo, nav e rodapé
   permanecem escuros sempre (chrome + vídeo escuro).
═══════════════════════════════════════════════════════════════ */
:root[data-theme="light"] {
	--bg: #f7f8fc; --bg-2: #eef0f8; --surface: #ffffff; --surface-2: #f3f5fc;
	--line: rgba(14,16,38,.10); --line-2: rgba(14,16,38,.17);
	--ink: #14141f; --ink-70: rgba(20,20,34,.74); --ink-50: rgba(20,20,34,.55); --ink-30: rgba(20,20,34,.40);
	--purple: #6c71e6;
	--chip-bg: rgba(14,16,38,.04); --chip-bg-hover: rgba(14,16,38,.08);
}
/* Ajuste do brilho de fundo no claro (mais sutil) */
:root[data-theme="light"] body::before {
	background:
		radial-gradient(60% 50% at 15% 0%, rgba(159,163,234,.14), transparent 60%),
		radial-gradient(55% 45% at 90% 8%, rgba(255,123,162,.10), transparent 55%),
		var(--bg);
}
/* Componentes que permanecem escuros mesmo no tema claro */
:root[data-theme="light"] .mobile-menu,
:root[data-theme="light"] .showcase,
:root[data-theme="light"] .footer {
	--surface: #121219; --surface-2: #16161f;
	--line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
	--ink: #f4f4f7; --ink-70: rgba(244,244,247,.72); --ink-50: rgba(244,244,247,.52); --ink-30: rgba(244,244,247,.34);
	--purple: #9fa3ea; --chip-bg: rgba(255,255,255,.05); --chip-bg-hover: rgba(255,255,255,.09);
}
/* No claro: nav transparente, texto e logo pretos (sem barra escura) */
:root[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,.72); border-bottom-color: var(--line); }
:root[data-theme="light"] .nav .brand-logo { filter: brightness(0); }
:root[data-theme="light"] .footer { background: #0d0d13; }

/* No claro: hero sem máscara escura (wash claro) + hero com texto escuro */
:root[data-theme="light"] .hero-video::after {
	background:
		linear-gradient(180deg, rgba(247,248,252,.60) 0%, rgba(247,248,252,.82) 55%, rgba(247,248,252,.97) 100%),
		radial-gradient(80% 60% at 20% 40%, rgba(159,163,234,.10), transparent 60%);
}
:root[data-theme="light"] .hero-badge { background: rgba(255,255,255,.6); border-color: var(--line-2); color: var(--ink-70); }

/* Botão de troca de tema */
.theme-toggle { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--chip-bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s; flex: none; padding: 0; }
.theme-toggle:hover { border-color: var(--purple); background: var(--chip-bg-hover); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
.theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }

/* ═══ Zona de código (fundo contínuo FAQ → CTA → Insights) ═══ */
.code-zone { position: relative; }
.code-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.code-zone > section { position: relative; z-index: 1; }
/* CTA sem card: o código passa por trás do texto */
.code-zone .cta { background: transparent; border-color: transparent; box-shadow: none; }
.code-zone .cta::before { display: none; }

/* ═══════════════════════════════════════════════════════════════
   GLASSMORPHISM — cards de vidro fosco (efeito tech/premium)
═══════════════════════════════════════════════════════════════ */
:root {
	--glass-bg: rgba(255,255,255,.05);
	--glass-bg-2: rgba(255,255,255,.085);
	--glass-brd: rgba(255,255,255,.13);
	--glass-hi: rgba(255,255,255,.18);
}
:root[data-theme="light"] {
	--glass-bg: rgba(255,255,255,.55);
	--glass-bg-2: rgba(255,255,255,.72);
	--glass-brd: rgba(255,255,255,.75);
	--glass-hi: rgba(255,255,255,.95);
}

/* Mais cor no fundo para o vidro refratar */
body::before {
	background:
		radial-gradient(42% 38% at 10% 6%, rgba(159,163,234,.22), transparent 60%),
		radial-gradient(44% 40% at 90% 16%, rgba(255,123,162,.18), transparent 60%),
		radial-gradient(50% 45% at 62% 96%, rgba(120,170,255,.14), transparent 60%),
		var(--bg);
}
:root[data-theme="light"] body::before {
	background:
		radial-gradient(42% 38% at 10% 6%, rgba(159,163,234,.20), transparent 60%),
		radial-gradient(44% 40% at 90% 16%, rgba(255,123,162,.16), transparent 60%),
		radial-gradient(50% 45% at 62% 96%, rgba(120,170,255,.13), transparent 60%),
		var(--bg);
}

/* Superfícies em vidro */
.card, .stat-box, .why-item, .stack-cat, .step, .post {
	background: var(--glass-bg) !important;
	-webkit-backdrop-filter: blur(16px) saturate(155%);
	backdrop-filter: blur(16px) saturate(155%);
	border-color: var(--glass-brd);
	box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 44px rgba(0,0,0,.22);
}
.card:hover, .why-item:hover, .step:hover, .post:hover {
	background: var(--glass-bg-2) !important;
	box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 60px rgba(0,0,0,.32);
}
/* reflexo de luz sutil no topo do vidro */
.card::after {
	content: ""; position: absolute; inset: 0 0 auto; height: 38%;
	background: linear-gradient(180deg, var(--glass-hi), transparent);
	opacity: .14; pointer-events: none; border-radius: inherit;
}
