/* =========================================================
   Alfa Fachadas — Fachadas em ACM
   Identidade: ouro · preto · branco · prata
   ========================================================= */

:root {
  --black: #070707;
  --ink: #0c0c0c;
  --ink-2: #121212;
  --ink-3: #1a1917;
  --paper: #f3efe6;
  --paper-2: #e8e2d3;
  --white: #f8f5ee;
  --muted: #a29c8f;
  --muted-d: #5d584c;
  --line: rgba(255, 255, 255, .1);
  --line-d: rgba(10, 10, 10, .12);

  --gold-1: #ffe27a;
  --gold-2: #ffbf14;
  --gold-3: #c98c00;
  --gold-4: #7a5300;
  --gold: linear-gradient(135deg, #ffe27a 0%, #ffbf14 32%, #c98c00 62%, #ffd24a 100%);
  --silver: linear-gradient(135deg, #ffffff 0%, #c7cbd2 45%, #7d828b 75%, #e9ebee 100%);

  --f-display: 'Archivo', 'Arial Black', Impact, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 78px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading, body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold-2); color: #000; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 3000;
  background: var(--gold-2); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top .25s;
}
.skip-link:focus { top: 16px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

.gold-text, .h2 em, .hero-title em, .brand-name span {
  background: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- tipografia ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(2rem, 4.9vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.h2 em, .hero-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: -.01em;
  font-size: 1.1em;
  padding-right: .06em;
}
.h2-dark { color: #0a0a0a; }
.h2-xl { font-size: clamp(2rem, 4.7vw, 4.3rem); }
.process-head .h2 { font-size: clamp(1.9rem, 3.7vw, 3.3rem); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.kicker b {
  font-weight: 800;
  padding: 4px 10px;
  border: 1px solid rgba(255, 191, 20, .45);
  border-radius: 99px;
  letter-spacing: .08em;
}
.kicker-dark { color: #7a5300; }
.kicker-dark b { border-color: rgba(122, 83, 0, .45); }

.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 52ch; }
.lead-dark { color: var(--muted-d); }

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 700;
  font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2);
}
.eyebrow-line { width: 56px; height: 1px; background: var(--gold); transform-origin: left; }

/* ---------- botões ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  will-change: transform;
}
.btn .ico { width: 1.2em; height: 1.2em; }
.btn-lg { padding: 1.15em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: #120d02; box-shadow: 0 10px 30px -10px rgba(255, 191, 20, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:hover { box-shadow: 0 16px 40px -10px rgba(255, 191, 20, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }

.btn-ghost { border: 1px solid rgba(255, 255, 255, .22); color: var(--white); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold-2); background: rgba(255, 191, 20, .1); color: var(--gold-1); }

.btn-dark { background: #0a0a0a; color: var(--white); }
.btn-dark:hover { background: #1b1b1b; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6); }
.btn-dark .ico { color: var(--gold-2); }

/* ---------- reveal ---------- */
.js .reveal-up { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal-up.in { opacity: 1; transform: none; }

.word { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .1em; margin: -.04em -.02em -.1em; }
.word > span { display: inline-block; }
.js [data-split] .word > span { transform: translateY(112%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * .05s); }
.js [data-split].in .word > span { transform: none; }
[data-split] em .word > span {
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
[data-split] em { background: none; -webkit-text-fill-color: initial; color: inherit; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.pre-panel { position: absolute; left: 0; right: 0; height: 50.2%; background: #050505; transition: transform 1.1s var(--ease) .25s; }
.pre-top { top: 0; border-bottom: 1px solid rgba(255, 191, 20, .5); }
.pre-bot { bottom: 0; }
.pre-center { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; transition: opacity .5s, transform .8s var(--ease); }
.pre-logo { position: relative; width: min(400px, 76vw); }
.pre-logo img { display: block; width: 100%; height: auto; clip-path: inset(0 100% 0 0); filter: blur(6px); animation: preReveal 1.5s var(--ease) .2s forwards; }
.pre-logo::after { content: ''; position: absolute; top: 4%; bottom: 4%; left: 0; width: 2px; background: var(--gold); box-shadow: 0 0 18px 3px rgba(255, 191, 20, .8); opacity: 0; animation: preScan 1.5s var(--ease) .2s forwards; }
.pre-bar { width: min(260px, 56vw); height: 2px; background: rgba(255, 255, 255, .1); margin-top: 22px; overflow: hidden; border-radius: 2px; }
.pre-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(var(--pre, 0)); transform-origin: left; }
.pre-pct { font-family: var(--f-display); font-stretch: 112%; font-size: .72rem; letter-spacing: .2em; color: var(--muted); }
.preloader.is-done .pre-top { transform: translateY(-101%); }
.preloader.is-done .pre-bot { transform: translateY(101%); }
.preloader.is-done .pre-center { opacity: 0; transform: scale(1.08); }
.preloader.is-gone { display: none; }

@keyframes preReveal { to { clip-path: inset(0 0 0 0); filter: blur(0) drop-shadow(0 0 28px rgba(255, 191, 20, .3)); } }
@keyframes preScan { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- progresso / cursor ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 900; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; box-shadow: 0 0 12px rgba(255, 191, 20, .7); }

.cursor { position: fixed; left: 0; top: 0; z-index: 2000; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.c-dot, .c-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.c-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--gold-2); }
.c-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255, 191, 20, .6); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; }
.cursor.is-link .c-ring { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(255, 191, 20, .12); border-color: var(--gold-2); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 800;
  height: var(--header-h);
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { background: rgba(7, 7, 7, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; filter: drop-shadow(0 4px 16px rgba(255, 191, 20, .22)); transition: transform .6s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav > a:not(.btn) {
  position: relative; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(248, 245, 238, .78);
  padding: 6px 0; transition: color .3s;
}
.nav > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav > a:not(.btn):hover, .nav > a.is-active { color: var(--gold-1); }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .8em 1.25em; font-size: .85rem; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; z-index: 900; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--white); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:nth-child(1) { top: 19px; }
.burger i:nth-child(2) { top: 26px; }
.menu-open .burger i:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 850; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 90px var(--gutter) 40px; background: rgba(7, 7, 7, .97); backdrop-filter: blur(18px);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .menu-open .nav { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease); }
  .nav > a:not(.btn) { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.9rem, 9vw, 3rem); letter-spacing: -.01em; padding: 4px 0; }
  .nav-cta { margin-top: 24px; font-size: 1rem; padding: 1em 1.6em; }
  .brand-logo { height: 44px; }
  .brand { position: relative; z-index: 900; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 24px) 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 700px at 78% 40%, #1a1405 0%, #0a0a0a 55%, #070707 100%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 132px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 68% 42%, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 90% at 68% 42%, #000 5%, transparent 72%);
}
.hero-grid-lit {
  background-image: linear-gradient(to right, rgba(251, 234, 176, .9) 1px, transparent 1px), linear-gradient(to bottom, rgba(251, 234, 176, .9) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(105deg, transparent 42%, #000 50%, transparent 58%), radial-gradient(ellipse 80% 90% at 68% 42%, #000 5%, transparent 72%);
  mask-image: linear-gradient(105deg, transparent 42%, #000 50%, transparent 58%), radial-gradient(ellipse 80% 90% at 68% 42%, #000 5%, transparent 72%);
  -webkit-mask-size: 260% 100%, 100% 100%;
  mask-size: 260% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  animation: sweep 8s linear infinite;
}
@keyframes sweep { from { -webkit-mask-position: 0% 0, 0 0; mask-position: 0% 0, 0 0; } to { -webkit-mask-position: 100% 0, 0 0; mask-position: 100% 0, 0 0; } }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(600px 420px at 80% 30%, rgba(255, 191, 20, .16), transparent 70%), radial-gradient(500px 360px at 8% 100%, rgba(255, 191, 20, .09), transparent 70%); }
.hero-sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-copy { position: relative; z-index: 2; }

.hero-title {
  margin-top: 26px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(2.7rem, 6.3vw, 6.4rem);
  line-height: .94; letter-spacing: -.02em; text-transform: uppercase;
}
.hero-title .ln { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.06em; }
.hero-title .ln > span { display: block; }
.js .hero-title .ln > span { transform: translateY(112%); }
.is-loaded .hero-title .ln > span { transform: none; transition: transform 1.2s var(--ease); }
.is-loaded .hero-title .ln:nth-child(1) > span { transition-delay: .05s; }
.is-loaded .hero-title .ln:nth-child(2) > span { transition-delay: .17s; }
.is-loaded .hero-title .ln:nth-child(3) > span { transition-delay: .29s; }
.js .eyebrow-line { transform: scaleX(0); }
.is-loaded .eyebrow-line { transform: none; transition: transform 1.2s var(--ease) .2s; }

.hero-lead { margin-top: 30px; max-width: 50ch; font-size: clamp(1.02rem, 1.35vw, 1.18rem); color: rgba(248, 245, 238, .72); }
.hero-lead strong { color: var(--gold-1); font-weight: 600; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-tags li { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.hero-tags .ico { color: var(--gold-2); }

/* painel 3D */
.hero-visual { position: relative; width: min(100%, 560px); justify-self: end; aspect-ratio: 1 / 1.04; perspective: 1500px; }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.js .stage { opacity: 0; }
.is-loaded .stage { opacity: 1; transition: opacity 1.2s var(--ease) .3s; }

.sign {
  position: absolute; inset: 6% 11% 18% 11%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border-radius: 24px;
  background: linear-gradient(158deg, #202020 0%, #0c0c0c 55%, #151515 100%);
  border: 1px solid rgba(255, 191, 20, .34);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 120px -30px rgba(255, 191, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 90px rgba(255, 191, 20, .06);
  transform-style: preserve-3d;
}
.sign-joints {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .07) 50%, transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(33.3% - .5px), rgba(255, 255, 255, .07) 33.3%, transparent calc(33.3% + .5px)),
    linear-gradient(0deg, transparent calc(66.6% - .5px), rgba(255, 255, 255, .07) 66.6%, transparent calc(66.6% + .5px));
}
.screw { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #7d828b 55%, #2a2b2e); box-shadow: 0 1px 3px #000; }
.s1 { left: 16px; top: 16px; } .s2 { right: 16px; top: 16px; } .s3 { left: 16px; bottom: 16px; } .s4 { right: 16px; bottom: 16px; }
.sign-halo { position: absolute; left: 50%; top: 42%; width: 78%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 191, 20, .38), rgba(255, 191, 20, .1) 45%, transparent 70%); filter: blur(10px); animation: halo 4.5s ease-in-out infinite; transform: translateZ(8px); }
@keyframes halo { 50% { opacity: .55; scale: 1.08; } }

.logo3d { position: relative; width: 96%; aspect-ratio: 935 / 397; transform-style: preserve-3d; transform: translateZ(34px); }
.logo3d > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo3d img { object-fit: contain; }
.logo3d .ly { -webkit-mask: url(../img/alfa-logo.png) center / contain no-repeat; mask: url(../img/alfa-logo.png) center / contain no-repeat; background: #5e410c; }
.logo3d .ly-glow { background: #ffbf14; filter: blur(18px); opacity: .5; animation: pulse 3.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .22; } }
.sign-sheen { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.sign-sheen::after { content: ''; position: absolute; inset: -20% -60%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .11) 50%, transparent 60%); animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0% { transform: translateX(-40%); } 55%, 100% { transform: translateX(40%); } }

.sample { position: absolute; margin: 0; width: var(--w, 25%); aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--bg); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85), 0 0 0 4px rgba(7, 7, 7, .6); transform: translateZ(var(--z, 90px)); animation: floaty var(--t, 7s) ease-in-out infinite; }
.sample::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .25) 100%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px); }
.sample figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; border-radius: 99px; background: rgba(7, 7, 7, .76); backdrop-filter: blur(8px); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.sample-1 { left: -7%; top: -2%; --w: 24%; --z: 110px; --t: 7s; --bg: linear-gradient(160deg, #ffe27a, #ffbf14 45%, #a87300); }
.sample-2 { right: -7%; top: 30%; --w: 22%; --z: 140px; --t: 8.5s; animation-delay: -2s; --bg: linear-gradient(160deg, #4a4d54, #1c1c1f 60%, #0e0e10); }
.sample-3 { left: -5%; bottom: -1%; --w: 24%; --z: 100px; --t: 9s; animation-delay: -4s; --bg: linear-gradient(160deg, #ffffff, #c7cbd2 45%, #7d828b); }
  position: absolute; margin: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 191, 20, .45); background: #111;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85), 0 0 0 4px rgba(7, 7, 7, .6);
  transform: translateZ(var(--z, 90px));
  animation: floaty var(--t, 7s) ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.badge { position: absolute; right: 0; bottom: 3%; width: clamp(96px, 14vw, 132px); aspect-ratio: 1; display: grid; place-items: center; z-index: 3; border-radius: 50%; background: rgba(7, 7, 7, .8); border: 1px solid rgba(255, 191, 20, .4); backdrop-filter: blur(6px); transition: transform .6s var(--ease), background .4s; }
.badge:hover { transform: scale(1.08) rotate(8deg); background: var(--gold); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge-ring text { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 13.4px; text-transform: uppercase; fill: var(--gold-1); }
.badge:hover .badge-ring text { fill: #120d02; }
.badge-ico { width: 34%; height: 34%; color: var(--gold-1); transition: color .4s; }
.badge:hover .badge-ico { color: #120d02; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: var(--gutter); bottom: 30px; display: flex; align-items: center; gap: 14px; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); writing-mode: horizontal-tb; }
.scroll-cue i { position: relative; width: 60px; height: 1px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

@media (max-width: 980px) {
  .hero { padding-bottom: 70px; align-items: flex-start; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-self: center; width: min(100%, 460px); margin-top: 10px; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.5rem, 13vw, 3.6rem); }
  .hero-cta .btn { width: 100%; }
  .eyebrow { font-size: .66rem; letter-spacing: .2em; gap: 12px; }
  .eyebrow-line { width: 32px; flex: none; }
  .sample figcaption { display: none; }
  .sample-1 { left: -2%; }
  .sample-2 { right: -2%; }
  .sample-3 { left: -2%; }
  .badge { right: -2%; width: 92px; }
  .badge-ring text { font-size: 15px; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-wrap { position: relative; z-index: 3; overflow: hidden; padding: 34px 0; margin: -56px 0 -6px; }
.marquee { background: var(--gold); color: #0a0a0a; overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .25); transform: rotate(-1.2deg) scale(1.02); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding: 18px 28px 18px 0; }
.marquee-group span { font-family: var(--f-display); font-weight: 900; font-stretch: 118%; font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.marquee-group i { font-style: normal; font-size: 1rem; opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { position: relative; padding: clamp(84px, 11vw, 170px) 0; }
.sec-head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 920px; }
.sec-head-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sec-head-split > .lead { max-width: 44ch; }

/* ---------- sobre ---------- */
.about { background: var(--black); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.manifesto { font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: clamp(1.55rem, 3.1vw, 2.85rem); line-height: 1.16; letter-spacing: -.012em; }
.mw { color: rgba(248, 245, 238, .18); transition: color .5s var(--ease); }
.mw.on { color: var(--white); }
.mw.hl.on { color: var(--gold-2); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(40px, 5vw, 70px); padding-top: 36px; border-top: 1px solid var(--line); }
.value .ico { width: 30px; height: 30px; color: var(--gold-2); margin-bottom: 16px; }
.value h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.value p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

.about-photo { position: sticky; top: 110px; }
.about-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 100% 0%, #1d1608, #0b0b0b 60%); border: 1px solid rgba(255, 191, 20, .28); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; }
.about-frame::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 2l26 15v30L28 62 2 47V17zM28 62v35M2 47L-0 48M54 47l2 1' fill='none' stroke='%23ffbf14' stroke-opacity='.45' stroke-width='1'/%3E%3C/svg%3E"); background-size: 56px 97px; -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 60%); mask-image: linear-gradient(200deg, #000 0%, transparent 60%); }
.af-bar { position: absolute; left: -30%; width: 160%; height: 26px; background: var(--gold); transform: rotate(-32deg); transform-origin: left; box-shadow: 0 0 30px rgba(255, 191, 20, .35); }
.af-bar.b1 { top: 12%; } .af-bar.b2 { top: 24%; height: 9px; opacity: .8; }
.af-acm { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(4.6rem, 12vw, 8.4rem); line-height: .8; letter-spacing: -.02em; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .7)); }
.af-spec { display: grid; gap: 6px; margin-top: 22px; }
.af-spec li { display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-1); }
.af-spec li::before { content: ''; width: 8px; height: 8px; background: var(--gold-2); transform: rotate(45deg); }
.corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold-2); z-index: 2; }
.corner.tl { left: 12px; top: 12px; border-right: 0; border-bottom: 0; }
.corner.tr { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.corner.bl { left: 12px; bottom: 12px; border-right: 0; border-top: 0; }
.corner.br { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.about-photo figcaption { margin-top: 14px; font-size: .78rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.about-photo figcaption b { color: var(--gold-2); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); }
.num { padding: 34px 24px 6px 0; }
.num + .num { padding-left: 28px; border-left: 1px solid var(--line); }
.num b { display: block; font-family: var(--f-display); font-weight: 900; font-stretch: 118%; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1; letter-spacing: -.02em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.num span { display: block; margin-top: 10px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 20ch; }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; max-width: 420px; }
  .num { padding-right: 12px; } .num + .num { padding-left: 18px; }
}
@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .num + .num { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 26px; }
}

/* ---------- diferenciais ---------- */
.impact { background: var(--ink-2); border-block: 1px solid var(--line); overflow: hidden; }
.impact::before { content: ''; position: absolute; left: 50%; top: -30%; width: 900px; height: 600px; translate: -50% 0; background: radial-gradient(closest-side, rgba(255, 191, 20, .14), transparent); pointer-events: none; }
.impact-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; margin-bottom: clamp(44px, 6vw, 80px); position: relative; }
.impact-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.impact-list li { padding: 8px 22px 8px 0; display: grid; gap: 4px; align-content: start; }
.impact-list li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.im-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 191, 20, .4); color: var(--gold-2); margin-bottom: 22px; transition: background .5s var(--ease), color .5s, transform .6s var(--ease); }
.im-ico .ico { width: 26px; height: 26px; }
.impact-list li:hover .im-ico { background: var(--gold); color: #120d02; transform: translateY(-6px) rotate(-6deg); }
.impact-list b { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.15rem, 1.8vw, 1.5rem); text-transform: uppercase; letter-spacing: .01em; }
.impact-list li > span:last-child { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) {
  .impact-head { grid-template-columns: 1fr; gap: 20px; }
  .impact-list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .impact-list li + li { padding-left: 0; border-left: 0; }
  .impact-list li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
}

/* ---------- serviços ---------- */
.services { background: var(--paper); color: #0a0a0a; }
.services::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 90% 0%, rgba(255, 191, 20, .18), transparent 70%); pointer-events: none; }
.services .sec-head { position: relative; }
.services .kicker { color: #7a5300; }
.services .kicker b { border-color: rgba(122, 83, 0, .45); }
.services .h2 { color: #0a0a0a; }

.svc-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; padding: 34px 30px 30px; border-radius: 22px; background: #fbf9f4; border: 1px solid var(--line-d); overflow: hidden;
  display: flex; flex-direction: column; min-height: 340px;
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease), background .4s;
}
.svc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(440px circle at var(--x, 50%) var(--y, 0%), rgba(255, 191, 20, .3), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc:hover { transform: translateY(-8px); border-color: rgba(181, 125, 23, .6); box-shadow: 0 30px 60px -28px rgba(80, 55, 10, .45); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc-n { position: absolute; right: 26px; top: 20px; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(10, 10, 10, .16); transition: -webkit-text-stroke-color .4s; }
.svc:hover .svc-n { -webkit-text-stroke-color: rgba(181, 125, 23, .8); }
.svc-ico { width: 58px; height: 58px; padding: 15px; border-radius: 16px; background: #0a0a0a; color: var(--gold-2); margin-bottom: 40px; transition: transform .6s var(--ease), background .4s, color .4s; }
.svc:hover .svc-ico { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: #0a0a0a; }
.svc h3 { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.05; margin-bottom: 12px; }
.svc p { color: var(--muted-d); font-size: .96rem; line-height: 1.6; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.svc-tags li { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-d); color: #4a4538; }

.svc-banner { position: relative; margin-top: 20px; padding: clamp(28px, 4vw, 52px); border-radius: 26px; background: #0a0a0a; color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; overflow: hidden; }
.svc-banner::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--gold); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none; }
.svc-banner::after { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; background: radial-gradient(closest-side, rgba(255, 191, 20, .3), transparent); pointer-events: none; }
.svc-banner .kicker { color: var(--gold-2); margin-bottom: 14px; }
.svc-banner .kicker b { border-color: rgba(255, 191, 20, .45); }
.svc-banner h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.85rem); line-height: 1.2; max-width: 32ch; text-transform: none; letter-spacing: -.01em; }
.svc-banner .btn-dark { background: var(--gold); color: #120d02; position: relative; z-index: 1; }
.svc-banner .btn-dark .ico { color: #120d02; }

@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 0; } .svc-ico { margin-bottom: 28px; } }

/* ---------- simulador ---------- */
.sim { background: var(--black); overflow: hidden; }
.sim::before { content: ''; position: absolute; left: -10%; bottom: -20%; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(255, 191, 20, .1), transparent); pointer-events: none; }
.sim-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.sim-stage { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #2a2a2c; box-shadow: 0 40px 80px -40px #000; }
.sim-svg { width: 100%; height: auto; display: block; }
.sim-chips { position: absolute; left: 16px; top: 16px; }
.sim-chip { display: inline-block; padding: 6px 12px; border-radius: 99px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }

.sim-stage { --acm: #1c1c1f; --letter: #ffbf14; }
.sim-svg .acm { fill: var(--acm); transition: fill .6s var(--ease); }
.sim-svg .acm-dark { fill: color-mix(in srgb, var(--acm) 58%, #000); transition: fill .6s var(--ease); }
.sim-svg .band { fill: color-mix(in srgb, var(--acm) 28%, #050505); transition: fill .6s var(--ease); }
.sim-svg .joints { stroke: rgba(0, 0, 0, .3); }
.sim-svg .joints-hi { stroke: rgba(255, 255, 255, .14); }
.sim-svg .frame { fill: #0b0b0c; }
.sim-svg .mullion { stroke: #0b0b0c; }
.sim-svg .toldo-a { fill: #101011; }
.sim-svg .toldo-b { fill: #d9b04d; }
.sim-svg .sim-text { font-family: var(--f-display); font-weight: 900; font-size: 50px; letter-spacing: .02em; text-transform: uppercase; font-stretch: 118%; }
.sim-svg .sim-text-front { fill: var(--letter); transition: fill .6s; }
.sim-svg .sim-text-back { fill: rgba(0, 0, 0, .6); }
.sim-svg .sim-text-glow { fill: var(--letter); opacity: 0; transition: opacity .8s; }
.sim-svg .sky-night, .sim-svg .stars, .sim-svg .moon, .sim-svg .lit, .sim-svg .spots, .sim-svg .night-shade, .sim-svg .ground-glow { opacity: 0; transition: opacity .9s var(--ease); }
.sim-svg .sun { transition: opacity .9s var(--ease), transform 1s var(--ease); transform-origin: 70px 52px; }
.sim-svg .toldo { transition: opacity .6s var(--ease), transform .8s var(--ease); transform-origin: 320px 178px; }
.sim-svg .spot-heads { opacity: .0; transition: opacity .6s; }

.sim-stage[data-mode='night'] .sky-night { opacity: 1; }
.sim-stage[data-mode='night'] .stars { opacity: .9; }
.sim-stage[data-mode='night'] .moon { opacity: 1; }
.sim-stage[data-mode='night'] .lit { opacity: .78; }
.sim-stage[data-mode='night'] .spots { opacity: 1; }
.sim-stage[data-mode='night'] .spot-heads { opacity: 1; }
.sim-stage[data-mode='night'] .night-shade { opacity: .5; }
.sim-stage[data-mode='night'] .ground-glow { opacity: .22; }
.sim-stage[data-mode='night'] .sim-text-glow { opacity: .95; }
.sim-stage[data-mode='night'] .sun { opacity: 0; transform: translateY(40px); }
.sim-stage[data-awning='off'] .toldo { opacity: 0; transform: translateY(-14px) scaleY(.7); }

.sim-panel { border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 26px; }
.ctrl { display: grid; gap: 12px; }
.ctrl-row { display: flex; align-items: center; justify-content: space-between; }
.ctrl-label { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.ctrl-hint { font-size: .85rem; color: var(--muted); }
.ctrl-hint b { color: var(--white); font-weight: 600; }

.field { width: 100%; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--white); border-radius: 14px; padding: 15px 18px; font: inherit; font-size: 1rem; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field::placeholder { color: rgba(248, 245, 238, .32); }
.field:hover { border-color: rgba(255, 255, 255, .22); }
.field:focus { outline: none; border-color: var(--gold-2); background: rgba(255, 191, 20, .05); box-shadow: 0 0 0 4px rgba(255, 191, 20, .12); }
select.field { background-image: linear-gradient(45deg, transparent 50%, var(--gold-2) 50%), linear-gradient(135deg, var(--gold-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
select.field option { background: #121212; color: var(--white); }
#simName { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sw { width: 44px; height: 44px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255, 255, 255, .15); position: relative; transition: transform .4s var(--ease), border-color .3s; box-shadow: inset 0 2px 6px rgba(255, 255, 255, .25), inset 0 -4px 8px rgba(0, 0, 0, .3); }
.sw::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid var(--gold-2); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .4s var(--ease); }
.sw:hover { transform: scale(1.1); }
.sw.is-on::after { opacity: 1; transform: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); position: relative; }
.seg::before { content: ''; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: var(--gold); transition: transform .5s var(--ease); }
.seg[data-on='night']::before { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: color .3s; }
.seg button.is-on { color: #120d02; }

.switch { width: 54px; height: 30px; border-radius: 99px; background: rgba(255, 255, 255, .12); position: relative; transition: background .4s; }
.switch i { position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch.is-on { background: var(--gold-3); }
.switch.is-on i { transform: translateX(24px); }
.sim-cta { margin-top: auto; }

@media (max-width: 980px) { .sim-grid { grid-template-columns: 1fr; } }

/* ---------- obras ---------- */
.works { position: relative; background: var(--black); padding: clamp(84px, 10vw, 150px) 0 clamp(60px, 7vw, 100px); }
.works::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 500px at 100% 0, rgba(255, 191, 20, .08), transparent 70%); pointer-events: none; }
.works-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(30px, 4vw, 56px); position: relative; flex-wrap: wrap; }
.works-head .kicker { margin-bottom: 18px; }
.works-meta { display: grid; justify-items: end; gap: 10px; color: var(--muted); font-size: .95rem; text-align: right; }
.works-count { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; display: flex; align-items: baseline; gap: 8px; }
.works-count b { font-size: 3rem; line-height: 1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.works-count span { color: var(--muted); font-size: 1rem; }

/* modo nativo (mobile / sem JS): arrasta com o dedo */
.works-viewport { overflow-x: auto; scroll-snap-type: x proximity; padding: 8px var(--gutter) 28px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.works-viewport::-webkit-scrollbar { display: none; }
.works-track { display: flex; align-items: flex-end; gap: 20px; width: max-content; }
.works-bar, .works-hint { display: none; }

.work { position: relative; flex: none; scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); cursor: pointer; transition: border-color .4s, transform .7s var(--ease), box-shadow .5s; }
.work:hover { border-color: rgba(255, 191, 20, .6); transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(255, 191, 20, .25); }
.work-img { overflow: hidden; position: relative; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work-img img { transform: scale(1.07); }
.work-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 35%); pointer-events: none; }
.w-tall { width: 300px; } .w-tall .work-img { height: 400px; }
.w-wide { width: 420px; } .w-wide .work-img { height: 300px; }
.w-sq { width: 340px; } .w-sq .work-img { height: 340px; }
.work-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 16px 18px 18px; }
.work-n { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 1.7rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 191, 20, .8); grid-row: span 2; }
.work-info h3 { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-transform: uppercase; line-height: 1.15; }
.work-info p { color: var(--muted); font-size: .82rem; }
.work-tag { grid-column: 1 / -1; justify-self: start; margin-top: 8px; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255, 191, 20, .35); color: var(--gold-1); }

.work-end { width: 300px; height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 30px; background: radial-gradient(closest-side at 50% 30%, rgba(255, 191, 20, .18), transparent), var(--ink-2); border-color: rgba(255, 191, 20, .4); }
.work-end > .ico { width: 54px; height: 54px; color: var(--gold-2); }
.work-end h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; }
.work-end h3 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-size: 1.12em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* modo pinado (desktop): scroll vertical move a trilha */
.hscroll .works { height: var(--works-h, 320vh); padding: 0; }
.hscroll .works-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) - 10px); }
.hscroll .works-head { margin-bottom: clamp(18px, 3vh, 40px); }
.hscroll .works-viewport { overflow: visible; padding: 0; scroll-snap-type: none; }
.hscroll .works-track { padding-left: max(var(--gutter), calc((100vw - 1240px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1240px) / 2)); will-change: transform; gap: 28px; }
.hscroll .works-bar { display: block; width: min(1240px, 100% - var(--gutter) * 2); height: 2px; margin: clamp(20px, 4vh, 44px) auto 0; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; border-radius: 2px; }
.hscroll .works-bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--wp, 0)); transform-origin: left; }
.hscroll .works-hint { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 14px; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.hscroll .works-hint .ico { color: var(--gold-2); width: 16px; height: 16px; }
@media (max-height: 760px) and (min-width: 981px) {
  .hscroll .w-tall .work-img { height: 320px; }
  .hscroll .w-wide .work-img { height: 240px; }
  .hscroll .w-sq .work-img { height: 270px; }
  .hscroll .work-end { height: 390px; }
}
@media (max-width: 640px) {
  .w-tall { width: 76vw; } .w-tall .work-img { height: 92vw; }
  .w-wide { width: 82vw; } .w-wide .work-img { height: 62vw; }
  .w-sq { width: 76vw; } .w-sq .work-img { height: 76vw; }
  .work-end { width: 72vw; height: 92vw; }
  .works-meta { justify-items: start; text-align: left; }
}

/* ---------- processo ---------- */
.process { background: var(--paper); color: #0a0a0a; }
.process::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 500px at 0% 100%, rgba(255, 191, 20, .18), transparent 70%); pointer-events: none; }
.process-grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.process-head { position: sticky; top: 120px; display: grid; gap: 28px; justify-items: start; }
.process-head .kicker { margin-bottom: 0; }

.steps { position: relative; display: grid; gap: 0; }
.steps-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-d); border-radius: 2px; overflow: hidden; }
.steps-line i { position: absolute; inset: 0; background: var(--gold); transform: scaleY(var(--sp, 0)); transform-origin: top; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 0 0 clamp(36px, 5vw, 64px); }
.step:last-child { padding-bottom: 0; }
.step-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #f3efe6; border: 2px solid rgba(10, 10, 10, .14); color: #0a0a0a; z-index: 1; transition: background .5s var(--ease), color .5s, border-color .5s, transform .6s var(--ease), box-shadow .5s; }
.step-ico .ico { width: 24px; height: 24px; }
.step.on .step-ico { background: #0a0a0a; color: var(--gold-2); border-color: #0a0a0a; transform: scale(1.08); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.step-n { display: block; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #7a5300; margin: 6px 0 8px; }
.step h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.8rem); text-transform: uppercase; line-height: 1.05; margin-bottom: 10px; }
.step p { color: var(--muted-d); max-width: 46ch; }
.step > div { opacity: .45; transform: translateX(-6px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.step.on > div { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-head { position: relative; top: 0; }
}

/* ---------- contato ---------- */
.contact { background: var(--black); overflow: hidden; }
.contact-glow { position: absolute; left: 50%; bottom: -30%; width: 1200px; height: 800px; translate: -50% 0; background: radial-gradient(closest-side, rgba(255, 191, 20, .2), transparent); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-copy .lead { margin-top: 26px; }
.contact-list { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cl-ico { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 191, 20, .4); color: var(--gold-2); transition: background .4s, color .4s; }
.cl-ico .ico { width: 20px; height: 20px; }
.contact-list li:hover .cl-ico { background: var(--gold); color: #120d02; }
.contact-list li > div { display: grid; line-height: 1.3; min-width: 0; }
.contact-list span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list b { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; transition: color .3s; }
.contact-list a:hover { color: var(--gold-1); }

.form { position: relative; padding: clamp(26px, 3.4vw, 44px); border-radius: 28px; border: 1px solid rgba(255, 191, 20, .25); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); backdrop-filter: blur(14px); display: grid; gap: 20px; box-shadow: 0 50px 100px -50px #000; }
.form h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 8px; }
.fld > span { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
textarea.field { resize: vertical; min-height: 110px; }
.field.is-bad { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.footer { position: relative; background: #050505; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px 0 30px; }
.brand-lg .brand-logo { height: 92px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.footer-nav a:hover { color: var(--gold-1); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--white); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.footer-social a:hover { background: var(--gold); color: #120d02; border-color: transparent; transform: translateY(-4px); }
.footer-giant { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 8.4vw; line-height: .86; letter-spacing: -.03em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 191, 20, .5); user-select: none; padding: 10px 0 0; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 34px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: -1vw; position: relative; background: #050505; }

/* ---------- whatsapp flutuante ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 700; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #120d02; box-shadow: 0 14px 34px -8px rgba(255, 191, 20, .6); transition: transform .5s var(--ease), opacity .5s; }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-2); animation: ping 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-tip { position: absolute; right: 72px; top: 50%; translate: 0 -50%; white-space: nowrap; padding: 9px 14px; border-radius: 99px; background: #0a0a0a; color: var(--white); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .3s, transform .5s var(--ease); }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.js .wa-float { opacity: 0; transform: scale(.6); }
.is-loaded .wa-float { opacity: 1; transform: none; transition-delay: 1.4s; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; background: rgba(4, 4, 4, .94); backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-fig { display: grid; gap: 14px; justify-items: center; max-width: min(96vw, 760px); transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open .lb-fig { transform: none; }
.lb-fig img { max-height: 76vh; width: auto; max-width: 100%; border-radius: 14px; border: 1px solid rgba(255, 191, 20, .3); box-shadow: 0 50px 100px -30px #000; background: #111; }
.lb-fig figcaption { width: 100%; display: grid; gap: 10px; }
.lb-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lb-top div { display: grid; }
.lb-count { font-family: var(--f-display); font-stretch: 112%; font-size: .78rem; letter-spacing: .2em; color: var(--gold-2); }
.lb-desc { color: rgba(248, 245, 238, .72); font-size: .88rem; line-height: 1.55; max-width: 62ch; white-space: pre-line; }
.lb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-chips span { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255, 191, 20, .35); color: var(--gold-1); }
.lb-fig figcaption .btn { justify-self: start; }
.lb-fig b { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 1.1rem; }
.lb-fig span { color: var(--muted); font-size: .85rem; }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); z-index: 2; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: #120d02; border-color: transparent; }
.lb-close { top: 20px; right: 20px; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
@media (max-width: 760px) { .lb-nav { top: auto; bottom: 18px; translate: none; } .lb-prev { left: 18px; } .lb-next { right: 18px; } .lb-fig img { max-height: 66vh; } }

/* ---------- acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal-up, .js [data-split] .word > span, .js .hero-title .ln > span, .js .stage, .js .wa-float, .js .eyebrow-line { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- formulário de contato (envio ao painel) ---------- */
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fld > span i { font-style: normal; color: var(--muted); letter-spacing: .08em; text-transform: none; font-weight: 500; }
.form-note.is-err { color: #ff8a8f; font-weight: 600; }
.form-done { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 28px 8px; }
.fd-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold-2); color: var(--gold-2); animation: fadeUp .7s var(--ease); }
.fd-ico .ico { width: 30px; height: 30px; }
.form-done p { color: var(--muted); }
.form-done .btn { margin-top: 8px; }
.btn[disabled] { opacity: .6; pointer-events: none; }