/* =========================================================
   Leko Design — main.css (v2, motion rico)
   ========================================================= */

@font-face { font-family: "Geist"; src: url("../fonts/geist-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
	--bg: #0c0c0e;
	--bg-2: #131316;
	--bg-3: #1b1b20;
	--fg: #edebe6;
	--muted: rgba(237, 235, 230, 0.62);
	--faint: rgba(237, 235, 230, 0.36);
	--line: rgba(237, 235, 230, 0.12);
	--accent: #9d33ff;
	--accent-text: #b670ff;

	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Unbounded", "Geist", ui-sans-serif, system-ui, sans-serif;

	--gutter: clamp(16px, 4vw, 56px);
	--max: 1600px;
	--section: clamp(120px, 16vw, 240px);

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0; background: var(--bg); color: var(--fg);
	font-family: var(--font); font-size: clamp(16px, 0.9vw + 10px, 19px); line-height: 1.55; font-weight: 380;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent;
	overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"], .plain) { list-style: none; padding: 0; margin: 0; }
em { font-style: normal; }
.hl { background: none; color: var(--fg); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.12em; background: var(--accent); transform-origin: left; z-index: -1; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
main { position: relative; z-index: 2; overflow-x: clip; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow, .label { font-size: 13px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 450; }
.index { color: var(--accent-text); font-variant-numeric: tabular-nums; margin-right: 10px; }
.section__title { font-family: var(--display); font-size: clamp(34px, 5vw, 88px); line-height: 1; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; max-width: 14ch; margin-top: 24px; }
.line { padding-bottom: 0.06em; }
.line-mask, .fchar-mask, .char-mask { overflow: visible !important; clip-path: inset(-0.35em -50vw -0.2em -50vw); }
.section__title, .works__title, .cta__title, .card__title { overflow-wrap: break-word; }

/* ---------- Fundo, granulado e cursor ---------- */
.bg-canvas { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; }
.bg-canvas.is-fallback { background: radial-gradient(60% 50% at 70% 35%, rgba(157, 51, 255, 0.28), transparent 70%), var(--bg); }
.grain {
	position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.09; background-size: 220px 220px; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
	0% { background-position: 0 0; } 20% { background-position: -40px 30px; } 40% { background-position: 30px -50px; }
	60% { background-position: -20px -10px; } 80% { background-position: 50px 40px; } 100% { background-position: 0 0; }
}

.cursor { display: none; }
/* Cursor de apoio: o ponteiro do sistema continua visível; o anel acompanha e vira rótulo nos links marcados. */
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 2147483000; width: 0; height: 0; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot {
	position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; border: 0; background: #fff;
	transform: translate(-50%, -50%) scale(1); transition: transform 300ms var(--ease-out), width 300ms var(--ease-out), height 300ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}
.cursor__label {
	position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0.6); opacity: 0; white-space: nowrap;
	font-size: 12px; font-weight: 560; letter-spacing: 0.02em; color: #000;
	transition: opacity 200ms var(--ease-out), transform 300ms var(--ease-out);
}
.cursor.is-link .cursor__dot { transform: translate(-50%, -50%) scale(2.6); }
.cursor.is-label { mix-blend-mode: normal; }
.cursor.is-label .cursor__dot { width: 74px; height: 74px; background: var(--fg); }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-down .cursor__dot { transform: translate(-50%, -50%) scale(0.8); }
/* Só esconde a seta do sistema enquanto o cursor próprio está ativo (some com mouse fora da janela/iframe). */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [role="tab"] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; }
.has-cursor iframe { cursor: auto; }

/* ---------- Loader (abertura) ---------- */
.loader { display: none; }
.js .loader { display: block; position: fixed; inset: 0; z-index: 500; pointer-events: none; animation: loaderSafe 0.01s linear 5s forwards; }
.js.seen .loader, .js.is-ready .loader { display: none; }
@keyframes loaderSafe { to { visibility: hidden; } }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); will-change: transform; }
.loader__panel--top { top: 0; } .loader__panel--bottom { bottom: 0; }
.loader__center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 22px; z-index: 2; }
.loader__logo { width: min(420px, 62vw); height: auto; transform-origin: 0 0; will-change: transform; }
.loader__line { display: block; width: min(420px, 62vw); height: 1px; background: rgba(237,235,230,.14); overflow: hidden; }
.loader__line i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #5b8cff); transform: scaleX(0); transform-origin: left; }
.loader__words { position: absolute; left: var(--gutter); bottom: var(--gutter); z-index: 2; margin: 0; font: 600 clamp(14px, 1.1vw, 16px)/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.loader__words > span { display: inline-block; overflow: hidden; vertical-align: bottom; }
.loader__words > span > span { display: inline-block; }
.loader__count { position: absolute; right: var(--gutter); bottom: var(--gutter); z-index: 2; font: 600 clamp(48px, 7vw, 110px)/.8 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--fg); }

/* Antes do JS assumir a entrada, o topo fica escondido (evita o "piscar" quebrado na primeira carga). */
.intro .site-header__inner, .intro .hero__corners > *, .intro .hero__title, .intro [data-hero-portrait], .intro .hero__tags, .intro .hero__bottom { opacity: 0; animation: introSafe 0.4s ease 4.5s forwards; }
@keyframes introSafe { to { opacity: 1; } }
.hero__burst { position: absolute; z-index: 1; left: 50%; bottom: 18%; width: min(60vw, 900px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(182,112,255,.55), rgba(157,51,255,.25) 45%, transparent 70%); opacity: 0; mix-blend-mode: screen; }

/* ---------- Botões e links ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 999px;
	background: var(--fg); color: var(--bg); font-weight: 520; font-size: 16px; letter-spacing: -0.01em;
	transition: background-color 150ms ease; touch-action: manipulation; will-change: transform;
}
.btn:active { scale: 0.97; transition: scale 160ms var(--ease-out); }
.btn .icon { transition: transform 300ms var(--ease-out); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
	.btn:hover { background: #fff; }
	.btn:hover .icon { transform: translateX(4px); }
}

/* ---------- Cabeçalho ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: transform 500ms var(--ease-out), background-color 300ms ease, border-color 300ms ease;
	border-bottom: 1px solid transparent;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { background: rgba(12, 12, 14, 0.6); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav__list a { position: relative; color: var(--muted); padding: 8px 0; transition: color 150ms ease; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.nav__list a:hover { color: var(--fg); }
	.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.menu-toggle { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--fg); font: inherit; font-size: 15px; cursor: pointer; }
.menu-toggle__bars { display: grid; gap: 6px; width: 22px; }
.menu-toggle__bars span { display: block; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease-out); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 900px) {
	.menu-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 32px;
		padding: 120px var(--gutter) 48px; background: var(--bg);
		clip-path: inset(0 0 100% 0); visibility: hidden;
		transition: clip-path 600ms var(--ease-in-out), visibility 0s linear 600ms;
	}
	.nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
	.nav__list { flex-direction: column; gap: 0; font-size: clamp(40px, 12vw, 64px); letter-spacing: -0.04em; line-height: 1.05; }
	.nav__list a { display: block; padding: 4px 0; color: var(--fg); }
	.nav__list li { transform: translateY(30px); opacity: 0; transition: transform 700ms var(--ease-out), opacity 500ms var(--ease-out); }
	.nav.is-open .nav__list li { transform: none; opacity: 1; }
	.nav.is-open .nav__list li:nth-child(1) { transition-delay: 200ms; }
	.nav.is-open .nav__list li:nth-child(2) { transition-delay: 260ms; }
	.nav.is-open .nav__list li:nth-child(3) { transition-delay: 310ms; }
	.nav.is-open .nav__list li:nth-child(4) { transition-delay: 350ms; }
	.site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(12, 12, 14, 0.92); }
	.menu-open .site-header { background: transparent; border-color: transparent; transform: none; }
}

/* ---------- Topo ---------- */
.hero { position: relative; overflow: clip; min-height: 118svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: 96px; padding-bottom: 36px; }
.hero__corners { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; padding-top: 12px; position: relative; z-index: 4; }
.hero__corners > :last-child { text-align: right; }
.hero__logo { width: clamp(220px, 24vw, 420px); height: auto; justify-self: center; }
.hero__corners > :nth-child(2) { text-align: center; }
.hero__corners > :last-child { text-align: right; }
.hero__clock b { color: var(--fg); font-weight: 450; font-variant-numeric: tabular-nums; }
.hero__stage { position: relative; flex: 1; min-height: 62vh; isolation: isolate; }
.hero__title { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none;
	font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(64px, 15.2vw, 300px); line-height: 0.86; letter-spacing: -0.06em; }
.hero__row { position: relative; z-index: 1; display: block; white-space: nowrap; will-change: transform; }
.hero__row--1 { padding-left: 2vw; }
.hero__row--2 { z-index: 3; text-align: right; padding-right: 2vw; mix-blend-mode: difference; }
.hero__word--outline { color: #edebe6; }
.hero__title .char { will-change: transform; }
.hero__portrait { position: absolute; z-index: 2; left: 50%; bottom: -36px; translate: -50% 0; width: min(52vw, calc((118svh - 200px) / 1.39)); will-change: transform;
	-webkit-mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,.6) 80%, transparent 97%); mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,.6) 80%, transparent 97%); }
.hero__portrait img { width: 100%; height: auto; filter: grayscale(1) contrast(1.1); }
.hero__tags { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero__tags li { position: absolute; left: var(--x); top: var(--y); padding: 10px 18px; border-radius: 999px; font-size: 14px; letter-spacing: 0.01em;
	background: rgba(237, 235, 230, 0.08); border: 1px solid rgba(237, 235, 230, 0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); will-change: transform; }
.hero__tags li:nth-child(2) { background: var(--accent); border-color: transparent; color: #fff; }
.hero__tags li { animation: tagfloat 6s ease-in-out infinite alternate; }
.hero__tags li:nth-child(2) { animation-duration: 7.5s; animation-delay: -2s; }
.hero__tags li:nth-child(3) { animation-duration: 5.5s; animation-delay: -4s; }
.hero__tags li:nth-child(4) { animation-duration: 8s; animation-delay: -1s; }
.hero__tags li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: tagpulse 2.4s ease-in-out infinite; }
@keyframes tagfloat { 0% { translate: 0 0; rotate: -2deg; } 50% { translate: 6px -14px; rotate: 1.5deg; } 100% { translate: -4px 8px; rotate: -1deg; } }
@keyframes tagpulse { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .7; } }
.hero__bottom { position: relative; z-index: 4; display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; align-items: end; }
.hero__lead { max-width: 34ch; color: var(--muted); font-size: clamp(16px, 1vw + 8px, 21px); line-height: 1.45; }
.hero__actions { justify-self: center; }
.hero__scroll { justify-self: end; display: inline-flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; min-height: 44px; }
.hero__scroll-line { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--fg); animation: scrollcue 2.2s var(--ease-in-out) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 900px) {
	.hero { padding-top: 88px; }
	.hero__corners { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.hero__corners > span { display: none; }
	.hero__logo { width: min(260px, 70vw); }
	.hero__stage { min-height: 70svh; }
	.hero__title { justify-content: flex-start; padding-top: 13vh; font-size: clamp(56px, 19vw, 120px); }
	.hero__portrait { width: 88vw; max-width: 440px; bottom: -20px; }
	.hero__tags { display: none; }
	.hero__bottom { grid-template-columns: 1fr; gap: 20px; }
	.hero__actions { justify-self: start; }
	.hero__scroll { display: none; }
}

/* ---------- Faixa ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 28px 0; margin: clamp(40px, 6vw, 80px) -2vw 0; background: var(--accent); color: #0c0c0e; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 5vw, 84px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; padding: 0 0.35em; white-space: nowrap; }
.marquee__star { font-size: clamp(28px, 3.5vw, 56px); line-height: 1; }

/* ---------- Manifesto ---------- */
.manifesto { padding-top: var(--section); }
.manifesto__text { margin-top: 32px; font-size: clamp(30px, 4.4vw, 76px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 480; max-width: 22ch; text-wrap: pretty; }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 10vw, 160px); border-top: 1px solid var(--line); }
.numbers__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 28px 24px 0 0; }
.numbers__item + .numbers__item { padding-left: 24px; border-left: 1px solid var(--line); }
.numbers__value { font-family: var(--display); font-size: clamp(48px, 6vw, 112px); line-height: 0.9; letter-spacing: -0.05em; font-weight: 500; font-variant-numeric: tabular-nums; }
.numbers__label { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
	.numbers { grid-template-columns: 1fr 1fr; }
	.numbers__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.numbers__item:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
}

/* ---------- Trabalho (galeria horizontal) ---------- */
.works { padding-top: var(--section); }
.works__pin { min-height: 100vh; padding-top: 90px; padding-bottom: 32px; display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 4vw, 56px); overflow: hidden; }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.works__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(36px, 5vw, 88px); line-height: 0.95; letter-spacing: -0.045em; font-weight: 600; margin-top: 20px; }
.works__counter { font-size: clamp(20px, 2vw, 32px); color: var(--muted); font-variant-numeric: tabular-nums; }
.works__counter span { color: var(--fg); }
.works__track { display: flex; align-items: flex-end; gap: clamp(20px, 2.4vw, 40px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.work__link { display: block; }
.work__frame { display: block; width: clamp(320px, 50vw, 900px); transform-style: preserve-3d; position: relative; overflow: hidden; border-radius: 14px; background: var(--bg-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line); }
.work__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #1f1f25; }
.work__url { margin-left: 14px; padding: 3px 12px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--faint); font-size: 12px; }
.work__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.work__img { display: block; overflow: hidden; }
.work__img img { width: 116%; max-width: none; margin-left: -8%; object-fit: cover; object-position: top; }
.work__img img { aspect-ratio: 16 / 10; }
.work__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding-top: 18px; font-size: 16px; }
.work__num { color: var(--work-accent, var(--accent-text)); font-variant-numeric: tabular-nums; font-size: 14px; grid-row: span 2; padding-top: 2px; }
.work__name { font-weight: 520; }
.work__type { color: var(--muted); font-size: 14px; }
.work--end { align-self: stretch; display: flex; }
.work__end {
	display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; width: clamp(240px, 22vw, 380px); min-height: 100%; padding: 32px;
	border-radius: 14px; background: var(--fg); color: var(--bg); font-size: clamp(28px, 2.6vw, 44px); line-height: 1; letter-spacing: -0.03em; font-weight: 520;
}
.work__end .icon { width: 32px; height: 32px; }
@media (hover: hover) and (pointer: fine) {
	.work__frame { transition: transform 600ms var(--ease-out); }
	.work__link:hover .work__frame { transform: translateY(-8px); }
}
@media (max-width: 900px) {
	.works__pin { min-height: 0; }
	.works__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
	.works__track::-webkit-scrollbar { display: none; }
	.work { scroll-snap-align: start; flex-shrink: 0; }
	.work__frame { width: 84vw; }
	.work__url { display: none; }
	.work__img img { width: 100%; margin-left: 0; }
	.works__counter { display: none; }
}

/* ---------- Serviços (cards empilhados) ---------- */
.services { padding-top: var(--section); }
.services__head { margin-bottom: clamp(48px, 6vw, 96px); }
.services__stack { display: grid; gap: 4vh; }
.card { position: sticky; top: 12vh; height: 76vh; min-height: 520px; }
.card__inner {
	position: relative; overflow: hidden; isolation: isolate; contain: paint; height: 100%; display: flex; flex-direction: column; justify-content: space-between;
	padding: clamp(28px, 3.5vw, 56px); border-radius: 24px; background: var(--bg-3); border: 1px solid var(--line);
	transform-origin: 50% 0; will-change: transform;
}
.card__orb { position: absolute; z-index: 0; right: -20%; top: -45%; width: 90%; aspect-ratio: 1; border-radius: 50%; opacity: 0.75; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.card--violet .card__orb { background: radial-gradient(circle at 40% 40%, rgba(182,112,255,.9), rgba(75,18,160,.55) 38%, transparent 68%); }
.card--ember .card__orb { background: radial-gradient(circle at 40% 40%, rgba(255,122,69,.85), rgba(157,51,255,.5) 38%, transparent 68%); }
.card--ice .card__orb { background: radial-gradient(circle at 40% 40%, rgba(127,212,255,.85), rgba(58,61,255,.5) 38%, transparent 68%); }
.card--lime .card__orb { background: radial-gradient(circle at 40% 40%, rgba(215,255,90,.8), rgba(47,163,107,.5) 38%, transparent 68%); }
@keyframes drift { to { transform: translate(-12%, 18%) scale(1.15); } }
.card__top, .card__title, .card__bottom { position: relative; z-index: 1; }
.card__shade { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; }
.card__top { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 14px; }
.card__num { font-variant-numeric: tabular-nums; color: var(--fg); }
.card__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(48px, 9vw, 168px); line-height: 0.9; letter-spacing: -0.055em; font-weight: 600; }
.card__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.card__text { max-width: 44ch; color: var(--muted); font-size: clamp(16px, 1.2vw, 20px); }
.card__link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(237, 235, 230, 0.3); white-space: nowrap; transition: background-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .card__link:hover { background: var(--fg); color: var(--bg); } }
@media (max-width: 700px) {
	.card { height: auto; min-height: 70vh; top: 10vh; }
	.card__bottom { flex-direction: column; align-items: flex-start; }
	.card__tags { display: none; }
}

/* ---------- Processo ---------- */
.process { padding-top: var(--section); }
.process__rail { position: relative; height: 1px; margin-top: clamp(64px, 8vw, 120px); background: var(--line); }
.process__rail span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), #5b8cff); transform-origin: left; transform: scaleX(0); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 40px; opacity: 0.35; transition: opacity 600ms var(--ease-out); }
.step.is-on { opacity: 1; }
.step__dot { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--faint); transition: background-color 400ms ease, border-color 400ms ease, box-shadow 400ms ease; }
.step.is-on .step__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(157, 51, 255, 0.18); }
.step__num { font-size: 14px; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.step__title { font-family: var(--display); font-size: clamp(22px, 2vw, 34px); letter-spacing: -0.03em; font-weight: 500; margin: 48px 0 14px; }
.step p { color: var(--muted); max-width: 28ch; }
@media (max-width: 900px) {
	.process__rail { display: none; }
	.process__steps { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
	.step { opacity: 1; padding: 28px 0; border-top: 1px solid var(--line); }
	.step__dot { display: none; }
	.step__title { margin: 12px 0 8px; }
}

/* ---------- Depoimentos (dois trilhos) ---------- */
.quotes { padding-top: var(--section); overflow: hidden; }
.quotes__row { margin-top: 24px; }
.quotes__row:first-of-type { margin-top: clamp(48px, 6vw, 80px); }
.quotes__track { display: flex; gap: 20px; width: max-content; animation: slide 60s linear infinite; }
.quotes__row--reverse .quotes__track { animation-direction: reverse; animation-duration: 70s; }
@media (hover: hover) and (pointer: fine) { .quotes__row:hover .quotes__track { animation-play-state: paused; } }
@keyframes slide { to { transform: translateX(-50%); } }
.quote { width: clamp(300px, 30vw, 460px); flex-shrink: 0; padding: 32px; border-radius: 20px; background: rgba(27, 27, 32, 0.72); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote p { font-size: clamp(18px, 1.4vw, 23px); line-height: 1.4; letter-spacing: -0.015em; }
.quote__who { font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.quote__who strong { font-weight: 520; }
.quote__who span { color: var(--muted); }

/* ---------- Sobre ---------- */
.about { padding-top: var(--section); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.about__media { grid-column: 1 / 6; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 5; background: var(--bg-3); }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1); }
.about__text { grid-column: 7 / 13; }
.about__text .section__title { margin-bottom: 40px; font-size: clamp(30px, 3.4vw, 60px); max-width: none; }
.about__text p:not(.eyebrow) { max-width: 52ch; color: var(--muted); }
.about__text p + p { margin-top: 1em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.chips li { font-size: 14px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
@media (max-width: 900px) { .about__media, .about__text { grid-column: 1 / -1; } }

/* ---------- Contato ---------- */
.cta { padding: var(--section) 0; overflow: hidden; }
.cta__title { margin-top: 32px; font-family: var(--display); text-transform: uppercase; font-size: clamp(36px, 9vw, 176px); line-height: 0.92; letter-spacing: -0.06em; font-weight: 700; }
.cta__line--outline { color: var(--muted); }
.cta__line { display: block; white-space: nowrap; }
.cta__line:nth-child(2) { padding-left: 8vw; }

.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 120px); margin-top: clamp(56px, 7vw, 112px); }
.cta__button {
	display: grid; place-items: center; width: clamp(160px, 16vw, 240px); aspect-ratio: 1; border-radius: 50%;
	background: var(--accent); color: #fff; text-align: center; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.15; font-weight: 520;
	box-shadow: 0 30px 80px -20px rgba(157, 51, 255, 0.7); transition: background-color 200ms ease; will-change: transform;
}
.cta__button:active { scale: 0.96; transition: scale 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cta__button:hover { background: #a94dff; } }
.cta__list { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 24px 64px; }
.cta__list dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.cta__list dd { font-size: clamp(17px, 1.3vw, 21px); }
.cta__list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cta__list a:hover { background-size: 100% 1px; } }
@media (max-width: 700px) { .cta__line { white-space: normal; } .cta__line:nth-child(2) { padding-left: 0; } .cta__list { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; z-index: 2; padding: 80px 0 32px; border-top: 1px solid var(--line); font-size: 15px; background: var(--bg); overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px 24px; }
.site-footer__brand p { color: var(--muted); max-width: 32ch; margin-top: 20px; }
.site-footer .label { margin-bottom: 14px; }
.site-footer .plain li + li { margin-top: 8px; }
.site-footer .plain a { color: var(--muted); transition: color 150ms ease; }
.site-footer .plain a:hover { color: var(--fg); }
.site-footer__word { margin-top: 64px; padding-inline: calc(var(--gutter) * 0.6); font-family: var(--display); text-transform: uppercase; font-size: 10.4vw; line-height: 0.9; letter-spacing: -0.06em; font-weight: 700; white-space: nowrap; text-align: center; color: var(--fg); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; color: var(--faint); font-size: 13px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Páginas internas antigas (Elementor) ---------- */
.page-content { position: relative; z-index: 2; padding-top: 80px; }

/* ---------- Reduzir movimento ---------- */
@media (prefers-reduced-motion: reduce) {
	.grain, .hero__ring, .card__orb, .hero__scroll-line::after { animation: none; }
	.quotes__track { animation: none; overflow-x: auto; width: auto; }
	.js .loader { display: none; }
	.site-header, .nav, .nav__list li { transition-duration: 1ms; }
}

/* =========================================================
   Páginas de serviço
   ========================================================= */
.svc-hero { position: relative; overflow: clip; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: 100px; padding-bottom: 40px; }
.svc-hero__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; padding-top: 12px; position: relative; z-index: 4; }
.svc-hero__stage { position: relative; flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; gap: 24px; isolation: isolate; }
.svc-hero__title { grid-column: 1 / 10; grid-row: 1; position: relative; z-index: 5; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(52px, 9.4vw, 176px); line-height: 0.9; letter-spacing: -0.06em; pointer-events: none; }
.svc-hero__title .hero__row { display: block; white-space: nowrap; }
.svc-hero__title .hero__row--2 { color: #8e8a85; padding-left: 6vw; }
.svc-visual { grid-column: 8 / 13; grid-row: 1; position: relative; z-index: 1; margin: 0; }
.svc-frame, .svc-player { display: block; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px var(--line); will-change: transform; }
.svc-frame img, .svc-player img { width: 100%; height: 100%; object-fit: cover; }
.svc-img-missing { display: block; width: 100%; height: 100%; min-height: 300px; background: radial-gradient(60% 60% at 70% 30%, rgba(157,51,255,.45), transparent 70%), var(--bg-3); }
.svc-player__ui { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 18px 20px; font: 500 12px/1 var(--font); letter-spacing: 0.06em; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 35%, transparent 75%, rgba(0,0,0,.35)); }
.svc-player__rec { color: #ff4b4b; animation: tagpulse 1.6s ease-in-out infinite; }
.svc-player__time { position: absolute; top: 18px; right: 20px; font-variant-numeric: tabular-nums; }
.svc-player__bar { grid-row: 3; height: 3px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; margin-top: 14px; }
.svc-player__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; animation: playbar 8s linear infinite; }
@keyframes playbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.svc-player__formats { grid-row: 3; display: flex; gap: 8px; justify-self: start; align-self: end; margin-bottom: 26px; }
.svc-player__formats b { font-weight: 500; padding: 6px 10px; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; animation: fmt 6s ease-in-out infinite; }
.svc-player__formats b:nth-child(2) { animation-delay: 2s; } .svc-player__formats b:nth-child(3) { animation-delay: 4s; }
@keyframes fmt { 0%, 30%, 100% { background: transparent; } 10%, 25% { background: var(--accent); border-color: var(--accent); } }
.svc-visual--sites { height: min(64vh, 620px); }
.svc-device { position: absolute; display: block; width: 74%; border-radius: 12px; overflow: hidden; background: #1f1f25; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px var(--line); will-change: transform; }
.svc-device img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.svc-device__bar { display: flex; gap: 5px; padding: 9px 12px; }
.svc-device__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.svc-device--1 { left: 0; top: 4%; rotate: -5deg; z-index: 1; }
.svc-device--2 { right: 0; top: 30%; rotate: 4deg; z-index: 3; }
.svc-device--3 { left: 10%; bottom: 0; rotate: -1deg; z-index: 2; width: 62%; }
.svc-hero__bottom { position: relative; z-index: 4; display: grid; grid-template-columns: 6fr 6fr; gap: 24px; align-items: end; margin-top: 32px; }
.svc-hero__bottom .hero__actions { justify-self: end; }
@media (max-width: 900px) {
	.svc-hero__stage { grid-template-columns: 1fr; align-content: center; }
	.svc-hero__title, .svc-visual { grid-column: 1; grid-row: auto; }
	.svc-hero__title { font-size: clamp(38px, 11.5vw, 96px); }
	.svc-hero__title .hero__row { white-space: normal; }
	.svc-hero__title .hero__row--2 { padding-left: 0; }
	.svc-visual { margin-top: 24px; }
	.svc-visual--sites { height: 78vw; }
	.svc-hero__bottom { grid-template-columns: 1fr; }
	.svc-hero__bottom .hero__actions { justify-self: start; }
}
.card__title--svc { font-size: clamp(40px, 7vw, 128px); }

/* Galeria */
.svc-gallery { padding-top: var(--section); }
.svc-gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.svc-gallery__item { margin: 0; overflow: hidden; border-radius: 20px; background: var(--bg-3); }
.svc-gallery__item img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; }
.svc-gallery__item--1 { grid-column: 1 / 8; aspect-ratio: 4 / 3; }
.svc-gallery__item--2 { grid-column: 8 / 13; aspect-ratio: 3 / 4; margin-top: 18vh; }
.svc-gallery__item--3 { grid-column: 3 / 10; aspect-ratio: 16 / 9; margin-top: -6vh; }
.svc-note { margin-top: 16px; font-size: 13px; color: var(--faint); }
@media (max-width: 700px) { .svc-gallery__item--1, .svc-gallery__item--2, .svc-gallery__item--3 { grid-column: 1 / -1; margin-top: 0; aspect-ratio: 4 / 3; } }

/* Incluso */
.svc-includes { padding-top: var(--section); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.svc-includes > div { grid-column: 1 / 6; position: sticky; top: 120px; }
.svc-includes__list { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.svc-includes__list li { display: flex; align-items: center; gap: 14px; padding: 22px 8px 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.2vw, 19px); }
.svc-check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); position: relative; }
.svc-check::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
@media (max-width: 900px) { .svc-includes > div, .svc-includes__list { grid-column: 1 / -1; position: static; } .svc-includes__list { margin-top: 32px; } }
@media (max-width: 560px) { .svc-includes__list { grid-template-columns: 1fr; } }

/* FAQ */
.svc-faq { padding-top: var(--section); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.svc-faq > div:first-child { grid-column: 1 / 6; }
.svc-faq__list { grid-column: 7 / 13; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; cursor: pointer; font-size: clamp(18px, 1.5vw, 24px); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; position: relative; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: rotate 300ms var(--ease-out); }
.faq__icon::after { rotate: 90deg; }
.faq[open] .faq__icon::after { rotate: 0deg; }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 48px 28px 0; color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) { .svc-faq > div:first-child, .svc-faq__list { grid-column: 1 / -1; } }

/* Outros serviços */
.svc-next { padding-top: var(--section); }
.svc-next__list { margin-top: 32px; border-top: 1px solid var(--line); }
.svc-next__list a { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px; padding: clamp(20px, 2.5vw, 36px) 0; border-bottom: 1px solid var(--line); }
.svc-next__num { color: var(--faint); font-variant-numeric: tabular-nums; }
.svc-next__name { font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: -0.04em; font-size: clamp(30px, 5vw, 84px); line-height: 1; transition: transform 500ms var(--ease-out), color 200ms ease; }
.svc-next__list .icon { width: 28px; height: 28px; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.svc-next__list a:hover .svc-next__name { transform: translateX(24px); color: var(--accent-text); }
	.svc-next__list a:hover .icon { transform: translateX(6px) rotate(-45deg); }
}

.numbers__value { white-space: nowrap; }
.numbers__value small { font-size: 0.38em; letter-spacing: -0.02em; margin: 0 0.15em; vertical-align: 0.9em; color: var(--muted); }
.elementor-location-popup { display: none !important; }

/* =========================================================
   Blog, artigo, páginas simples e 404
   ========================================================= */
.blog-hero { padding-top: clamp(150px, 18vw, 230px); }
.blog-hero__title { margin-top: 20px; font: 700 clamp(44px, 7vw, 128px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.055em; }
.blog-hero__lead { margin-top: 24px; color: var(--muted); max-width: 46ch; }
.blog-list { padding-top: clamp(56px, 7vw, 96px); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) 24px; margin: 0; padding: 0; list-style: none; }
.post-card a { display: grid; gap: 12px; }
.post-card__img { display: block; overflow: hidden; border-radius: 16px; background: var(--bg-3); aspect-ratio: 16 / 10; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.post-card__ph { display: block; width: 100%; height: 100%; background: radial-gradient(70% 80% at 70% 20%, rgba(157,51,255,.4), transparent 70%), var(--bg-3); }
.post-card__meta { font-size: 13px; color: var(--faint); }
.post-card__title { font: 600 clamp(19px, 1.5vw, 24px)/1.15 var(--display); letter-spacing: -.03em; text-wrap: balance; transition: color 200ms ease; }
.post-card__excerpt { color: var(--muted); max-width: 60ch; }
.post-card--big { grid-column: 1 / -1; }
.post-card--big a { grid-template-columns: 7fr 5fr; column-gap: 40px; align-items: end; }
.post-card--big .post-card__img { grid-row: span 3; aspect-ratio: 16 / 9; }
.post-card--big .post-card__title { font-size: clamp(28px, 3vw, 52px); text-transform: uppercase; letter-spacing: -.045em; }
@media (hover: hover) and (pointer: fine) {
	.post-card a:hover .post-card__img img { transform: scale(1.04); }
	.post-card a:hover .post-card__title { color: var(--accent-text); }
}
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(48px, 6vw, 80px); }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; transition: background-color 200ms, color 200ms; }
.pager .page-numbers.current { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pager a.page-numbers:hover { color: var(--fg); border-color: rgba(237,235,230,.4); }
.pager .dots { border: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } .post-card--big a { grid-template-columns: 1fr; } .post-card--big .post-card__img { grid-row: auto; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }

.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #5b8cff); transform-origin: left; transform: scaleX(0); }
.article__head { padding-top: clamp(140px, 16vw, 210px); max-width: 1100px; }
.article__back { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: 15px; }
.article__back:hover { color: var(--fg); }
.article__title { margin-top: 12px; font: 700 clamp(34px, 5vw, 84px)/1 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.article__meta { margin-top: 20px; color: var(--faint); font-size: 14px; }
.article__cover { margin-top: clamp(32px, 4vw, 56px); max-width: 1240px; }
.article__cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 20px; }
.article__body { max-width: 760px; margin-top: clamp(40px, 5vw, 64px); }
.prose { font-size: clamp(17px, 1.15vw, 19px); line-height: 1.7; color: rgba(237,235,230,.82); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font: 600 clamp(24px, 2.2vw, 34px)/1.15 var(--display); letter-spacing: -.035em; color: var(--fg); }
.prose h3 { margin-top: 1.6em; font: 600 clamp(19px, 1.6vw, 24px)/1.2 var(--display); letter-spacing: -.02em; color: var(--fg); }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-text); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); color: var(--fg); font-size: 1.1em; }
.prose img { border-radius: 14px; }
.article--page .article__body { margin-bottom: var(--section); }

.post-cta { padding-top: clamp(64px, 8vw, 120px); }
.post-cta__box { max-width: 1100px; margin-inline: auto; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: linear-gradient(160deg, rgba(157,51,255,.16), rgba(19,19,22,.95) 60%); border: 1px solid rgba(157,51,255,.35); }
.post-cta__title { margin: 14px 0 28px; font: 600 clamp(26px, 3.2vw, 52px)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.045em; max-width: 20ch; }
.post-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.related { padding-top: var(--section); padding-bottom: var(--section); }
.related .posts { margin-top: 28px; }

.e404 { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 80px; }
.e404__title { display: flex; margin-top: 12px; font: 800 clamp(140px, 30vw, 440px)/.85 var(--display); letter-spacing: -.08em; }
.e404__title span { display: inline-block; }
.e404__title span:nth-child(2) { color: transparent; background: linear-gradient(135deg, #edebe6, #9d33ff); -webkit-background-clip: text; background-clip: text; }
.e404__lead { margin-top: 28px; color: var(--muted); max-width: 46ch; font-size: clamp(17px, 1.3vw, 21px); }
.e404__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
[hidden] { display: none !important; }

/* ---------- Blog v2 ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-hero__top { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; }
.blog-hero__count { margin-left: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-transform: none; letter-spacing: 0; }
.blog-search { position: relative; display: flex; align-items: center; }
.blog-search input { width: 100%; min-height: 58px; padding: 0 60px 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: 400 16px/1 var(--font); transition: border-color 200ms ease, background-color 200ms ease; }
.blog-search input::placeholder { color: var(--faint); }
.blog-search input:focus { outline: none; border-color: var(--accent); background: var(--bg-3); }
.blog-search button { position: absolute; right: 6px; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--fg); color: var(--bg); cursor: pointer; transition: transform 160ms var(--ease-out); }
.blog-search button:active { transform: scale(.94); }
.blog-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.blog-topics a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; transition: color 200ms, background-color 200ms, border-color 200ms; }
.blog-topics a:hover { color: var(--fg); border-color: rgba(237,235,230,.35); }
.blog-topics a.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.blog-featured { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 24px 32px; margin: 0 0 clamp(56px, 7vw, 96px); padding: 0; list-style: none; }
.post-card--big { grid-row: span 2; grid-column: auto; }
.post-card--big a { display: grid; grid-template-columns: 1fr; gap: 14px; }
.post-card--big .post-card__img { aspect-ratio: 16 / 10; grid-row: auto; }
.post-card--big .post-card__title { font-size: clamp(26px, 2.6vw, 44px); text-transform: none; letter-spacing: -.04em; }
.post-card--side a { grid-template-columns: 2fr 3fr; column-gap: 20px; align-items: start; }
.post-card--side .post-card__img { grid-row: span 3; aspect-ratio: 4 / 3; }
.post-card--side .post-card__title { font-size: clamp(17px, 1.3vw, 21px); }
.post-card--side .post-card__excerpt { font-size: 14px; }
.post-card__meta i { font-style: normal; opacity: .5; margin: 0 4px; }
.post-card__img { position: relative; }
.post-card__go { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: var(--bg); opacity: 0; transform: translateY(10px) scale(.8); transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .post-card a:hover .post-card__go { opacity: 1; transform: none; } }
.post-card--cta { display: flex; }
.post-card--cta > div { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; width: 100%; padding: 28px; border-radius: 16px; background: linear-gradient(160deg, rgba(157,51,255,.35), rgba(19,19,22,.95) 70%); border: 1px solid rgba(157,51,255,.4); min-height: 100%; }
.post-card__cta-title { font: 600 clamp(22px, 2vw, 30px)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.04em; }
.post-card--cta .btn { align-self: flex-start; }
.blog-empty { padding: 48px 0; }
.blog-empty__title { font: 600 clamp(22px, 2vw, 32px)/1.1 var(--display); letter-spacing: -.03em; margin-bottom: 10px; }
.blog-empty a { text-decoration: underline; }
@media (max-width: 900px) {
	.blog-hero__top, .blog-featured { grid-template-columns: 1fr; }
	.post-card--big { grid-row: auto; }
}
@media (max-width: 560px) { .post-card--side a { grid-template-columns: 1fr; } .post-card--side .post-card__img { grid-row: auto; aspect-ratio: 16 / 10; } }

/* ---------- Artigo v2 ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--fg); }
.article__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.article__author { display: flex; align-items: center; gap: 12px; }
.article__author b { display: block; font-weight: 500; }
.article__author small { color: var(--faint); font-size: 13px; }
.article__avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 16px/1 var(--display); }
.article__avatar--lg { width: 64px; height: 64px; font-size: 24px; }
.share { display: flex; gap: 8px; }
.share a, .share button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; transition: color 200ms, border-color 200ms, transform 160ms var(--ease-out); }
.share a:hover, .share button:hover { color: var(--fg); border-color: rgba(237,235,230,.4); }
.share a:active, .share button:active { transform: scale(.94); }
.share svg { width: 18px; height: 18px; }
.share__ok { position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 4px; padding: 6px 10px; border-radius: 8px; background: var(--fg); color: var(--bg); font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 200ms, translate 300ms var(--ease-out); }
.share__ok.is-on { opacity: 1; translate: -50% 0; }
.article__cover { overflow: hidden; }
.article__layout { display: grid; grid-template-columns: 3fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(40px, 5vw, 72px); max-width: 1240px; }
.article__layout--solo { grid-template-columns: 1fr; max-width: 820px; }
.article__layout .article__body { margin-top: 0; max-width: 760px; }
.toc { position: sticky; top: 110px; padding: 22px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.toc__h { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.toc a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 8px 10px; border-radius: 10px; color: var(--faint); font-size: 14px; line-height: 1.35; transition: color 200ms, background-color 200ms; }
.toc a span { font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 1px; }
.toc a:hover { color: var(--fg); }
.toc a.is-on { color: var(--fg); background: rgba(157,51,255,.14); }
.toc a.is-on span { color: var(--accent-text); }
.toc .toc__cta { grid-template-columns: none; display: flex; color: var(--bg) !important; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 500; }
.prose h2 { scroll-margin-top: 110px; }
.author-box { display: flex; gap: 18px; margin-top: 56px; padding: 24px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.author-box p { margin: 0; font-size: 15px; color: var(--muted); }
.author-box__name { color: var(--fg) !important; font-weight: 600; margin-bottom: 6px !important; }
.author-box a { display: inline-block; margin-top: 10px; font-size: 14px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; max-width: 1100px; }
.post-nav__item { display: grid; gap: 8px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); transition: border-color 200ms, background-color 200ms; }
.post-nav__item:hover { border-color: rgba(237,235,230,.35); background: var(--bg-2); }
.post-nav__item small { color: var(--faint); font-size: 13px; }
.post-nav__item b { font: 600 clamp(16px, 1.3vw, 20px)/1.25 var(--display); letter-spacing: -.02em; }
.post-nav__item--next { text-align: right; }
.related__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
@media (max-width: 1000px) { .article__layout { grid-template-columns: 1fr; } .toc { position: static; } }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav__item--next { text-align: left; } .author-box { flex-direction: column; } }
