/* TYNE Forge Systems — identidade cinematográfica */
:root {
    color-scheme: dark;
    --ink: #07090d;
    --ink-2: #0c1017;
    --surface: rgba(18, 23, 32, .72);
    --line: rgba(232, 227, 216, .12);
    --line-strong: rgba(232, 227, 216, .28);
    --cream: #e8e3d8;
    --text: #f2efe8;
    --muted: #9ea4ad;
    --ember: #ff6a2b;
    --ember-2: #ffb347;
    --steel: #70c4e8;
    --grad-ember: linear-gradient(100deg, #ffd27a 0%, #ff8a3d 40%, #ff4d2b 100%);
    --font-display: "Syne", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    --wrap: 1280px;
    --gutter: clamp(16px, 4vw, 48px);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ember-2); outline-offset: 4px; }

.skip-link {
    position: fixed; top: -5rem; left: 1rem; z-index: 3000;
    padding: .75rem 1rem; background: var(--cream); color: var(--ink);
}
.skip-link:focus { top: 1rem; }

/* ---------- Camadas de atmosfera ---------- */
#webgl {
    position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0;
    pointer-events: none; transition: opacity .8s var(--ease);
}
.webgl-fallback {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(40% 50% at 70% 45%, rgba(255, 106, 43, .22), transparent 70%),
        radial-gradient(50% 60% at 20% 80%, rgba(112, 196, 232, .08), transparent 70%);
}
.grain {
    position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1s steps(6) infinite;
}
@keyframes grain {
    0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); }
    40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 5%); }
    80% { transform: translate(6%, 2%); } 100% { transform: translate(0, 0); }
}
.vignette {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .75) 100%);
}
.site-main, .site-footer { position: relative; z-index: 2; }

/* ---------- Preloader e cortina ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center;
    background: var(--ink);
}
.preloader-inner { display: grid; justify-items: center; gap: 1.4rem; }
.preloader img { width: 92px; height: 92px; opacity: .95; }
.preloader-count {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 9vw, 6rem);
    line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
    background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.preloader-bar { width: min(260px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--grad-ember); }
.preloader-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
html:not(.js) .preloader { display: none; }

.curtain {
    position: fixed; inset: 0; z-index: 2400; pointer-events: none;
    background: var(--ink); transform: scaleY(0); transform-origin: bottom;
}
.curtain::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-ember);
}

/* ---------- Cursor ---------- */
.cursor, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 2200; pointer-events: none; border-radius: 50%;
    opacity: 0; transition: opacity .3s;
}
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ember-2); }
.cursor-ring {
    width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(232, 227, 216, .45);
    transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
    display: grid; place-items: center;
    font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.has-cursor .cursor, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; border-color: var(--ember); background: rgba(255, 106, 43, .12); }
.cursor-ring.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ember-2); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: transform .6s var(--ease), background .4s, border-color .4s;
    border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(7, 9, 13, .62); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.header.hidden { transform: translateY(-100%); }
.nav-container {
    max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px;
}
.logo a { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo-text small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .6rem; letter-spacing: .32em; color: var(--muted); }
.nav-menu { list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-link {
    position: relative; font-size: .9rem; color: #c9c5bc; padding: .3rem 0; transition: color .3s;
}
.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ember);
    transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link .num { font-family: var(--font-mono); font-size: .62rem; color: var(--ember); margin-right: .35rem; vertical-align: .35em; }
.nav-cta { margin-left: .5rem; }
.mobile-menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; z-index: 1100; }
.mobile-menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), opacity .3s; }
.mobile-menu-toggle span:nth-child(1) { top: 18px; }
.mobile-menu-toggle span:nth-child(2) { top: 22.5px; }
.mobile-menu-toggle span:nth-child(3) { top: 27px; }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 960px) {
    .mobile-menu-toggle { display: block; }
    .nav-menu {
        position: fixed; inset: 0; z-index: 1050; flex-direction: column; justify-content: center; align-items: flex-start;
        gap: .4rem; padding: 6rem var(--gutter) 3rem; background: rgba(7, 9, 13, .97);
        clip-path: circle(0% at calc(100% - 44px) 38px); transition: clip-path .9s var(--ease); visibility: hidden;
    }
    .nav-menu.active { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
    .nav-link { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; color: var(--text); }
    .nav-menu li { overflow: hidden; }
    .nav-menu li > * { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
    .nav-menu.active li > * { transform: none; }
    .nav-menu.active li:nth-child(2) > * { transition-delay: .05s; }
    .nav-menu.active li:nth-child(3) > * { transition-delay: .1s; }
    .nav-menu.active li:nth-child(4) > * { transition-delay: .15s; }
    .nav-menu.active li:nth-child(5) > * { transition-delay: .2s; }
    .nav-menu.active li:nth-child(6) > * { transition-delay: .25s; }
    .nav-menu.active li:nth-child(7) > * { transition-delay: .3s; }
    .nav-cta { margin: 1.2rem 0 0; }
}

/* ---------- Tipografia e utilidades ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
    display: inline-flex; align-items: center; gap: .7rem;
    font-family: var(--font-mono); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ember-2);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.display {
    font-family: var(--font-display); font-weight: 800; line-height: .95; letter-spacing: -.035em;
    font-size: clamp(2.6rem, 7.2vw, 7.4rem);
}
.h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; font-size: clamp(2.1rem, 5.4vw, 4.6rem); }
.h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #c9c5bc; max-width: 46ch; }
.muted { color: var(--muted); }
.ember-text { background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ember-text .wi { background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.outline-text { color: transparent; -webkit-text-stroke: 1px rgba(232, 227, 216, .5); }
.serif-i { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* Split-text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Botões ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; gap: .8rem; overflow: hidden; isolation: isolate;
    padding: 1rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
    background: var(--cream); color: var(--ink); transition: color .5s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--grad-ember);
    transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .arrow { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.ghost:hover { color: var(--ink); }
.btn.small { padding: .7rem 1.2rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--cream); border-bottom: 1px solid var(--line-strong); padding-bottom: .2rem; transition: border-color .3s, color .3s; }
.link-arrow:hover { color: var(--ember-2); border-color: var(--ember); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 9rem 0 clamp(2.5rem, 6vh, 5rem);
}
.hero .wrap { width: 100%; }
.hero-title { max-width: 13ch; }
.hero-title .line { display: block; }
.hero-bottom {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-top: clamp(2rem, 5vh, 3.5rem);
}
.hero-meta { display: flex; gap: 2.5rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero-meta b { display: block; color: var(--text); font-weight: 500; margin-bottom: .3rem; }
.scroll-cue { display: flex; align-items: center; gap: .9rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ember); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.page-hero { min-height: 88svh; }
.page-hero .hero-title { max-width: 16ch; }
.breadcrumb { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--ember-2); }
@media (max-width: 720px) {
    .hero-bottom { grid-template-columns: 1fr; }
    .scroll-cue { display: none; }
}

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(6rem, 14vh, 11rem) 0; }
.section.tight { padding: clamp(4rem, 9vh, 7rem) 0; }
.section-dark { background: linear-gradient(180deg, transparent, rgba(7, 9, 13, .85) 12%, rgba(7, 9, 13, .85) 88%, transparent); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem 4rem; align-items: end; margin-bottom: clamp(3rem, 7vh, 5rem); }
.section-head .eyebrow { margin-bottom: 1.4rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Marquee */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 2.2rem 0; border-block: 1px solid var(--line); background: rgba(7, 9, 13, .55); backdrop-filter: blur(6px); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item {
    display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; white-space: nowrap;
    font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6.5vw, 5.6rem); letter-spacing: -.03em; line-height: 1;
}
.marquee-item .star { width: .45em; height: .45em; color: var(--ember); flex: none; }
.marquee-item:nth-child(even) span { color: transparent; -webkit-text-stroke: 1px rgba(232, 227, 216, .45); }

/* Manifesto palavra a palavra */
.manifesto { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; }
.manifesto .mw { opacity: .14; transition: none; }
.manifesto em { font-style: normal; color: var(--ember-2); }

/* ---------- Serviços: scroll horizontal ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll-track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hpanel {
    position: relative; flex: none; width: min(78vw, 640px); min-height: min(72vh, 600px);
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; overflow: hidden;
    padding: clamp(1.8rem, 3vw, 3rem); border-radius: 28px; border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(28, 33, 44, .82), rgba(10, 13, 19, .9));
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hpanel::before {
    content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -25%; top: -30%; border-radius: 50%;
    background: radial-gradient(circle, var(--glow, rgba(255, 106, 43, .35)), transparent 65%); filter: blur(10px); pointer-events: none;
}
.hpanel-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 12vw, 10rem); line-height: .8; letter-spacing: -.05em; }
.hpanel-num.outline-text { -webkit-text-stroke: 1px rgba(232, 227, 216, .35); }
.hpanel h3 { margin-bottom: 1rem; }
.hpanel p { color: #bdb9b0; max-width: 42ch; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--line-strong); color: #d5d1c8; }
.hpanel-icon { position: absolute; right: clamp(1.5rem, 3vw, 3rem); top: clamp(1.5rem, 3vw, 3rem); width: 64px; height: 64px; color: var(--ember-2); opacity: .9; }
.hpanel.intro { background: none; border: 0; backdrop-filter: none; justify-content: center; width: min(86vw, 520px); }
.hpanel.intro::before { display: none; }
.hprogress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2.5rem; height: 1px; background: var(--line); }
.hprogress span { display: block; height: 100%; width: 100%; background: var(--grad-ember); transform: scaleX(0); transform-origin: left; }
@media (max-width: 760px) {
    .hscroll-track { flex-direction: column; width: auto; }
    .hpanel, .hpanel.intro { width: 100%; min-height: 0; }
    .hprogress { display: none; }
}

/* ---------- Grade de serviços (página) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
    position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem 3rem;
    padding: clamp(2rem, 5vh, 3.2rem) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.svc-row .n { font-family: var(--font-mono); color: var(--ember); font-size: .85rem; padding-top: .7rem; }
.svc-row h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.svc-row ul { list-style: none; display: grid; gap: .55rem; margin-top: 1.2rem; color: #c9c5bc; }
.svc-row li { display: flex; gap: .7rem; }
.svc-row li::before { content: "▸"; color: var(--ember); }
.svc-row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad-ember); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.svc-row:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } .svc-row .n { padding: 0; } }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stat { padding: clamp(2rem, 5vh, 3.5rem) clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: -.04em; }
.stat-num sup { font-size: .4em; color: var(--ember); vertical-align: .9em; margin-left: .1em; }
.stat p { color: var(--muted); font-size: .92rem; margin-top: .6rem; max-width: 22ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Produtos ---------- */
.products { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.product { grid-column: span 6; perspective: 1200px; }
.product.wide { grid-column: span 12; }
.product.third { grid-column: span 6; }
@media (min-width: 1100px) { .product.third { grid-column: span 6; } }
@media (max-width: 760px) { .product, .product.wide, .product.third { grid-column: span 12; } }
.product-card {
    --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
    position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 28px;
    border: 1px solid var(--line); background: rgba(14, 18, 26, .86);
    transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
    transition: transform .6s var(--ease), border-color .4s;
}
.product-card:hover { border-color: var(--line-strong); }
.product-card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
    background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 179, 71, .14), transparent 45%);
}
.product-card:hover::after { opacity: 1; }
.poster {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; container-type: inline-size;
    background: var(--poster, linear-gradient(135deg, #1b2230, #0b0e14));
}
.product.wide .poster { aspect-ratio: 21 / 8; }
.poster-glyph {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 16cqi, 10rem); letter-spacing: -.06em; line-height: 1;
    color: rgba(255, 255, 255, .9); mix-blend-mode: overlay; transform: translateZ(40px) scale(1.05);
    transition: transform 1.2s var(--ease);
}
.product-card:hover .poster-glyph { transform: translateZ(40px) scale(1.15); }
.poster-art { position: absolute; inset: -10%; z-index: -1; transition: transform 1.4s var(--ease); }
.product-card:hover .poster-art { transform: scale(1.08) rotate(-1deg); }
.poster svg.poster-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.badge-row { position: absolute; top: 1rem; left: 1rem; right: 1rem; display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.badge {
    font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
    padding: .4rem .75rem; border-radius: 999px; background: rgba(7, 9, 13, .7); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12);
}
.badge.free { color: #8ff0b8; }
.badge.paid { color: var(--ember-2); }
.badge.soon { color: var(--steel); }
.badge.soon::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: .5rem; vertical-align: .1em; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.product-body { padding: clamp(1.4rem, 2.6vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.product-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.product-kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.product-body p { color: #c3bfb6; }
.feature-list { list-style: none; display: grid; gap: .45rem; font-size: .93rem; color: #b7b3aa; }
.feature-list li { display: flex; gap: .6rem; }
.feature-list li::before { content: "+"; color: var(--ember); font-family: var(--font-mono); }
.product-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .78rem; color: var(--muted); }
.product.building .product-card { border-style: dashed; }
.product.building .poster { filter: saturate(.8); }
.product.building .poster::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255, 255, 255, .03) 22px 44px);
}

.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter-btn { padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .85rem; color: #c9c5bc; transition: background .3s, color .3s, border-color .3s; }
.filter-btn:hover { border-color: var(--ember); color: var(--text); }
.filter-btn.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.product.is-hidden { display: none; }

/* Teaser de produtos (home): pilha com pin */
.stack { position: relative; }
.stack-card { position: sticky; top: 14vh; margin-bottom: 6vh; }
.stack-card .product-card { min-height: 0; }
.stack-card:last-child { margin-bottom: 0; }
.stack-card .product-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: rgba(12, 15, 22, .96); }
.stack-card .product .poster { aspect-ratio: auto; min-height: min(62vh, 520px); }
@media (max-width: 860px) {
    .stack-card { position: relative; top: 0; }
    .stack-card .product-card { grid-template-columns: 1fr; }
    .stack-card .product .poster { min-height: 0; aspect-ratio: 16 / 9; }
}

/* ---------- Processo ---------- */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.process-sticky { position: sticky; top: 18vh; align-self: start; }
.process-steps { position: relative; display: grid; gap: clamp(3rem, 12vh, 8rem); padding-left: 3rem; }
.process-line { position: absolute; left: 0; top: .6rem; bottom: 0; width: 1px; background: var(--line); }
.process-line span { display: block; width: 100%; height: 100%; background: var(--grad-ember); transform: scaleY(0); transform-origin: top; }
.step { position: relative; }
.step::before { content: ""; position: absolute; left: calc(-3rem - 6px); top: .55rem; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 1px solid var(--line-strong); transition: background .4s, border-color .4s, box-shadow .4s; }
.step.is-active::before { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 22px var(--ember); }
.step .k { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; color: var(--ember-2); text-transform: uppercase; }
.step h3 { margin: .6rem 0 .8rem; }
.step p { color: #bdb9b0; max-width: 46ch; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .process-sticky { position: relative; top: 0; } }

/* ---------- Cards de informação / princípios ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.glass {
    position: relative; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 24px; border: 1px solid var(--line);
    background: var(--surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden;
}
.glass .big { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; margin-bottom: 1.4rem; }
.glass h3 { margin-bottom: .7rem; }
.glass p { color: #bdb9b0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose p + p { margin-top: 1.2rem; }
.prose p { color: #c3bfb6; font-size: 1.08rem; }

/* Imagem com parallax (logo gigante) */
.emblem { position: relative; width: 100%; aspect-ratio: 1; max-width: 520px; margin-inline: auto; }
.emblem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 80px rgba(255, 106, 43, .25)); }
.emblem .ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid var(--line); }
.emblem .ring.r2 { inset: -6%; border-style: dashed; border-color: rgba(255, 106, 43, .25); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
    padding: 1.6rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.45rem); letter-spacing: -.01em; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ember-2); }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-mono); transition: transform .5s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ember); color: var(--ink); border-color: var(--ember); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 0 1.8rem; color: #bdb9b0; max-width: 72ch; }
.faq .answer a { color: var(--ember-2); text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { position: relative; text-align: center; padding: clamp(8rem, 22vh, 14rem) 0; overflow: hidden; }
.cta .display { font-size: clamp(3rem, 11vw, 10.5rem); margin: 1.5rem auto 2.5rem; max-width: 12ch; }
.cta .btn-row { justify-content: center; }
.cta-glow { position: absolute; left: 50%; top: 55%; width: 70vmax; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 43, .22), transparent 60%); pointer-events: none; z-index: -1; }

/* Contato */
.contact-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4.4vw, 3.8rem); letter-spacing: -.03em; line-height: 1.05; display: inline-block; word-break: break-word; }
.contact-big:hover { color: var(--ember-2); }
.contact-list { display: grid; gap: 1.2rem; }
.contact-list dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { font-size: 1.05rem; }
.contact-list a:hover { color: var(--ember-2); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(4rem, 10vh, 7rem) 0 2rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7, 9, 13, .6), var(--ink) 40%); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-brand img { width: 40px; height: 40px; }
.site-footer p { color: var(--muted); max-width: 34ch; font-size: .95rem; }
.site-footer h2 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer ul a { color: #d5d1c8; transition: color .3s; }
.site-footer ul a:hover { color: var(--ember-2); }
.footer-word {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 24vw, 22rem); line-height: .78; letter-spacing: -.06em;
    text-align: center; margin: clamp(3rem, 8vh, 6rem) 0 1.5rem; user-select: none;
    background: linear-gradient(180deg, rgba(232, 227, 216, .22), rgba(232, 227, 216, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; color: var(--muted); padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Estados iniciais (só com JS e movimento permitido) ---------- */
html.js.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js.motion [data-reveal="fade"] { transform: none; }
html.js.motion [data-reveal="scale"] { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
    .grain, .scroll-cue i::after, .emblem .ring.r2, .badge.soon::before { animation: none; }
    * { transition-duration: .01ms !important; }
}
