/* ============================================================
   PIZZOLATTO DATA — SITE IMERSIVO
   Paleta oficial: Preto #0D0D0D · Grafite #1B1B1D · Ouro #C8A36A
   Ouro escuro #A9834C · Prata #B9BDC3 · Branco gelo #F4F4F4
   Fontes: Sora (títulos) · Inter (texto) · JetBrains Mono (dados)
   ============================================================ */

:root {
  --black: #0D0D0D;
  --black-2: #101012;
  --graphite: #1B1B1D;
  --graphite-2: #222226;
  --gold: #C8A36A;
  --gold-dark: #A9834C;
  --silver: #B9BDC3;
  --ice: #F4F4F4;
  --muted: #7c7f85;
  --line: rgba(200, 163, 106, 0.14);
  --line-soft: rgba(244, 244, 244, 0.07);
  --font-title: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--black); }

.mono { font-family: var(--font-mono); }

img, svg, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container { width: min(1240px, 92vw); margin-inline: auto; }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; width: min(320px, 80vw); }
.preloader__logo { width: 72px; margin: 0 auto 28px; }
.preloader__logo rect { opacity: 0; }
.preloader__counter {
  font-size: 44px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.04em; margin-bottom: 14px;
}
.preloader__bar {
  height: 2px; background: var(--line-soft); border-radius: 2px; overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
.preloader__label {
  margin-top: 14px; font-size: 10px; letter-spacing: 0.35em; color: var(--muted);
}

/* ============ CURSOR ============ */
.cursor, .cursor-dot { pointer-events: none; position: fixed; top: 0; left: 0; z-index: 999; border-radius: 50%; }
.cursor {
  width: 36px; height: 36px; border: 1px solid rgba(200,163,106,0.5);
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s, border-color 0.25s;
}
.cursor.is-hover { width: 64px; height: 64px; background: rgba(200,163,106,0.08); border-color: var(--gold); }
.cursor-dot { width: 5px; height: 5px; background: var(--gold); transform: translate(-50%, -50%); }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px min(4vw, 56px);
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13,13,13,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px min(4vw, 56px);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-title); font-weight: 700; letter-spacing: 0.08em; font-size: 14px; }
.nav__brand svg { width: 30px; height: auto; }
.nav__brand em { font-style: normal; color: var(--gold); }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 13.5px; font-weight: 500; color: var(--silver);
  position: relative; transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ice); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 11px; letter-spacing: 0.18em; font-weight: 700;
  color: var(--gold); border: 1px solid rgba(200,163,106,0.45);
  padding: 11px 20px; border-radius: 100px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav__cta:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 26px; position: relative; z-index: 210; }
.nav__burger span { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--ice); transition: 0.35s var(--ease); }
.nav__burger span:first-child { top: 8px; }
.nav__burger span:last-child { bottom: 8px; }
.nav__burger.is-open span:first-child { top: 12px; transform: rotate(45deg); background: var(--gold); }
.nav__burger.is-open span:last-child { bottom: 12px; transform: rotate(-45deg); background: var(--gold); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: rgba(13,13,13,0.97);
  backdrop-filter: blur(18px); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: grid; gap: 26px; text-align: center; }
.mobile-menu a { font-family: var(--font-title); font-size: 30px; font-weight: 600; }
.mobile-menu a.gold { color: var(--gold); }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: 120px min(4vw, 56px) 90px;
}
#webgl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(244,244,244,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,244,244,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero__content { position: relative; z-index: 2; width: min(1240px, 100%); margin-inline: auto; }
.hero__kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.3em; color: var(--gold);
  margin-bottom: 34px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,163,106,0.6); }
  60% { box-shadow: 0 0 0 9px rgba(200,163,106,0); }
}
.hero__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(42px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 34px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(115%); }
.hero__title .line--gold > span {
  background: linear-gradient(100deg, var(--gold) 20%, #e8cfa4 50%, var(--gold-dark) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  max-width: 560px; color: var(--silver); font-size: clamp(15px, 1.3vw, 18px);
  margin-bottom: 44px; opacity: 0;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; opacity: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; font-size: 14.5px;
  padding: 17px 32px; border-radius: 100px;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn span { transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn--gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 8px 34px rgba(200,163,106,0.25);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(200,163,106,0.4); }
.btn--ghost { border: 1px solid rgba(244,244,244,0.22); color: var(--ice); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--big { font-size: 16.5px; padding: 20px 40px; }

.hero__ticker {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(13,13,13,0.55); backdrop-filter: blur(8px);
  overflow: hidden; padding: 13px 0;
}
.hero__ticker-track { display: flex; gap: 56px; width: max-content; white-space: nowrap; }
.hero__ticker-track span { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: #d6d9de; }
.hero__ticker-track span:nth-child(odd) { color: var(--gold); text-shadow: 0 0 14px rgba(200,163,106,0.35); }

.hero__scroll {
  position: absolute; right: min(4vw, 56px); bottom: 74px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 9.5px; letter-spacing: 0.4em; color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 56px; background: var(--line-soft); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold); animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint { 0% { top: -50%; } 100% { top: 110%; } }

/* ============ MARQUEE ============ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--black-2);
  overflow: hidden; padding: 22px 0;
}
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; white-space: nowrap; }
.marquee__track span {
  font-family: var(--font-title); font-size: clamp(18px, 2.2vw, 28px); font-weight: 700;
  color: var(--ice); -webkit-text-stroke: 0;
}
/* alterna branco sólido / ouro sólido — sem contorno vazado (ficava apagado) */
.marquee__track span:nth-of-type(odd) {
  color: var(--gold);
}
.marquee__track i { color: var(--gold); font-style: normal; font-size: 15px; }

/* ============ SECTIONS (base) ============ */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.section__head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__kicker {
  font-size: 11px; letter-spacing: 0.34em; color: var(--gold); margin-bottom: 22px;
}
.section__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -0.015em;
}
.section__title em, .cta__title em, .problema__punch em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold), #e8cfa4, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__sub { margin-top: 24px; color: var(--silver); max-width: 640px; font-size: 16.5px; }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-words .w > i { display: inline-block; font-style: inherit; transform: translateY(110%); }

/* ============ PROBLEMA ============ */
.problema { background: var(--black); }
.chaos {
  position: relative; height: 200px; margin-bottom: clamp(40px, 5vw, 70px);
  border: 1px dashed rgba(244,244,244,0.12); border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(200,163,106,0.05), transparent 60%),
    var(--black-2);
}
.chaos__item {
  position: absolute; padding: 9px 15px;
  font-size: 11.5px; color: var(--silver);
  background: var(--graphite); border: 1px solid var(--line-soft); border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  white-space: nowrap;
  will-change: transform;
}
.chaos__item:nth-child(1) { top: 14%; left: 6%; transform: rotate(-6deg); }
.chaos__item:nth-child(2) { top: 55%; left: 16%; transform: rotate(4deg); color: #d98c8c; }
.chaos__item:nth-child(3) { top: 26%; left: 36%; transform: rotate(-3deg); }
.chaos__item:nth-child(4) { top: 62%; left: 46%; transform: rotate(7deg); }
.chaos__item:nth-child(5) { top: 12%; left: 62%; transform: rotate(3deg); }
.chaos__item:nth-child(6) { top: 58%; left: 74%; transform: rotate(-5deg); color: #d98c8c; }
.chaos__item:nth-child(7) { top: 30%; left: 78%; transform: rotate(5deg); }

.problema__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.p-card {
  padding: 34px 28px;
  background: linear-gradient(160deg, var(--graphite), var(--black-2));
  border: 1px solid var(--line-soft); border-radius: 18px;
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s;
}
.p-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,163,106,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.p-card__num { color: var(--gold); font-size: 12px; letter-spacing: 0.2em; }
.p-card h3 { font-family: var(--font-title); font-size: 20px; margin: 16px 0 12px; }
.p-card p { color: var(--silver); font-size: 14.5px; }

.problema__punch {
  margin-top: clamp(50px, 6vw, 84px);
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(24px, 3.4vw, 44px); line-height: 1.2; letter-spacing: -0.01em;
  max-width: 900px;
}

/* ============ SOLUÇÃO ============ */
.solucao {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(200,163,106,0.06), transparent 65%),
    var(--black-2);
  border-block: 1px solid var(--line);
}
.pipeline { margin-bottom: clamp(40px, 5vw, 64px); }
.pipeline__svg { width: 100%; height: auto; }
.pipe-node rect {
  fill: var(--graphite); stroke: rgba(244,244,244,0.14); stroke-width: 1;
}
.pipe-node text {
  fill: var(--ice); font-family: var(--font-title); font-size: 17px; font-weight: 600;
}
.pipe-node .pipe-small { fill: var(--muted); font-family: var(--font-mono); font-size: 11px; font-weight: 400; }
.pipe-node--core rect { stroke: var(--gold); fill: #191612; }
.pipe-node--core text { fill: var(--gold); }
.pipe-node--core .pipe-small { fill: var(--gold-dark); }
.pipe-node--out rect { stroke: rgba(200,163,106,0.5); fill: var(--graphite); }
.pipe-line {
  fill: none; stroke: url(#flowGrad); stroke-width: 2.4; opacity: 0.95;
  stroke-linecap: round;
  stroke-dasharray: 7 8;
  filter: drop-shadow(0 0 3px rgba(200,163,106,0.4));
  animation: dashFlow 1.4s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -15; } }
.pipe-dot { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(200,163,106,0.9)); }
.pipe-bars rect { fill: var(--gold); opacity: 0.85; transform-origin: bottom; animation: barBreath 2.6s ease-in-out infinite; }
.pipe-bars rect:nth-child(2) { animation-delay: 0.2s; }
.pipe-bars rect:nth-child(3) { animation-delay: 0.4s; }
.pipe-bars rect:nth-child(4) { animation-delay: 0.6s; }
.pipe-bars rect:nth-child(5) { animation-delay: 0.8s; }
.pipe-bars rect:nth-child(6) { animation-delay: 1s; }
@keyframes barBreath { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

.solucao__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s-point {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 26px; border: 1px solid var(--line-soft); border-radius: 16px;
  background: rgba(13,13,13,0.5);
}
.s-point span { color: var(--gold); font-size: 13px; margin-top: 4px; }
.s-point p { color: var(--silver); font-size: 15px; }
.s-point strong { color: var(--ice); }

/* ============ ANTES E DEPOIS ============ */
.ba {
  display: grid; grid-template-columns: 1fr 64px 1fr; gap: 0;
  border: 1px solid var(--line-soft); border-radius: 22px; overflow: hidden;
  background: var(--black-2);
}
.ba__panel { padding: clamp(30px, 4vw, 54px); }
.ba__panel--before { background: linear-gradient(160deg, #171213, var(--black-2)); }
.ba__panel--after {
  background: linear-gradient(160deg, #16130d, var(--black-2));
  border-left: none;
}
.ba__tag { font-size: 11px; letter-spacing: 0.28em; margin-bottom: 26px; display: block; }
.ba__panel--before .ba__tag { color: #d98c8c; }
.ba__panel--after .ba__tag { color: var(--gold); }
.ba__list { list-style: none; display: grid; gap: 15px; margin-bottom: 32px; }
.ba__list li { display: flex; gap: 12px; font-size: 15px; color: var(--silver); align-items: baseline; }
.ba__list .x { color: #d98c8c; font-size: 13px; }
.ba__list .ok { color: var(--gold); font-size: 13px; }

.ba__divider {
  position: relative; background: var(--black);
  border-inline: 1px solid var(--line);
  display: grid; place-items: center; cursor: ew-resize;
}
.ba__handle {
  writing-mode: vertical-rl; font-size: 9px; letter-spacing: 0.34em; color: var(--gold);
  animation: handleGlow 2.4s ease-in-out infinite;
}
@keyframes handleGlow { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

.ba__img {
  margin: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 22px 54px rgba(0,0,0,0.5);
}
.ba__img img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s var(--ease);
}
.ba__img:hover img { transform: scale(1.04); }
.ba__img--before { border-color: rgba(224,133,133,0.28); }
.ba__img--before img { filter: saturate(1.05); }
.ba__img--after { border-color: rgba(200,163,106,0.4); }
.ba__img--after { box-shadow: 0 22px 54px rgba(0,0,0,0.5), 0 0 44px rgba(200,163,106,0.12); }

@media (max-width: 900px) {
  .ba { grid-template-columns: 1fr; }
  .ba__divider { display: none; }
  .ba__panel--after { border-top: 1px solid var(--line); }
}

/* ============ SERVIÇOS ============ */
.servicos { background: var(--black); }
.servicos__list { border-top: 1px solid var(--line-soft); }
.serv {
  position: relative;
  display: grid; grid-template-columns: 90px 340px 1fr 60px; gap: 28px; align-items: center;
  padding: 38px 22px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s, padding-left 0.4s var(--ease);
  cursor: default; overflow: hidden;
}
.serv::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--gold), var(--gold-dark));
  transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease);
}
.serv:hover { background: rgba(200,163,106,0.045); padding-left: 38px; }
.serv:hover::before { transform: scaleY(1); }
.serv__num { color: var(--gold-dark); font-size: 13px; letter-spacing: 0.15em; }
.serv h3 { font-family: var(--font-title); font-size: clamp(19px, 2vw, 25px); font-weight: 600; }
.serv p { color: var(--silver); font-size: 14.5px; max-width: 560px; }
.serv__arrow {
  font-size: 24px; color: var(--gold); justify-self: end;
  opacity: 0; transform: translateX(-14px); transition: 0.35s var(--ease);
}
.serv:hover .serv__arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 900px) {
  .serv { grid-template-columns: 50px 1fr; grid-template-rows: auto auto; }
  .serv h3 { grid-column: 2; }
  .serv p { grid-column: 2; }
  .serv__arrow { display: none; }
}

/* ============ PORTFÓLIO ============ */
.portfolio {
  background:
    radial-gradient(ellipse 70% 45% at 20% 100%, rgba(200,163,106,0.05), transparent 60%),
    var(--black-2);
  border-block: 1px solid var(--line);
}
.portfolio__tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.pf-tab {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  padding: 12px 20px; border-radius: 100px; cursor: pointer;
  background: transparent; color: var(--silver);
  border: 1px solid var(--line-soft);
  transition: 0.3s;
}
.pf-tab:hover { border-color: rgba(200,163,106,0.5); color: var(--ice); }
.pf-tab.is-active { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 700; }

.pf-frame {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--graphite);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.pf-frame__bar {
  display: flex; align-items: center; gap: 18px;
  padding: 13px 20px; font-size: 11px; letter-spacing: 0.12em; color: var(--silver);
  background: var(--black-2); border-bottom: 1px solid var(--line-soft);
}
.pf-dots { display: flex; gap: 6px; }
.pf-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--graphite-2); border: 1px solid var(--line-soft); }
.pf-dots i:first-child { background: rgba(217,140,140,0.6); }
.pf-dots i:nth-child(2) { background: rgba(216,183,106,0.6); }
.pf-dots i:last-child { background: rgba(140,190,140,0.55); }
.pf-live { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 10px; letter-spacing: 0.24em; }
.pf-frame__body {
  position: relative; aspect-ratio: 16 / 9.35; background: var(--black);
  display: grid; place-items: center;
  background-image:
    linear-gradient(rgba(244,244,244,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,244,244,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pf-frame__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.portfolio__hint { margin-top: 18px; text-align: center; font-size: 10px; letter-spacing: 0.3em; color: var(--muted); }

/* ============ PROCESSO ============ */
.processo { background: var(--black); }
.timeline { position: relative; padding-left: clamp(34px, 5vw, 60px); }
.timeline__rail {
  position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px;
  background: var(--line-soft);
}
.timeline__rail span {
  display: block; width: 100%; height: 0%;
  background: linear-gradient(var(--gold), var(--gold-dark));
  box-shadow: 0 0 12px rgba(200,163,106,0.6);
}
.tl-step { position: relative; padding: 0 0 clamp(44px, 5vw, 64px); max-width: 640px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step__dot {
  position: absolute; left: calc(-1 * clamp(34px, 5vw, 60px) + 3px); top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--muted);
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}
.tl-step.is-active .tl-step__dot {
  border-color: var(--gold); background: var(--gold);
  box-shadow: 0 0 16px rgba(200,163,106,0.8);
}
.tl-step__num { font-size: 10.5px; letter-spacing: 0.3em; color: var(--gold-dark); }
.tl-step h3 { font-family: var(--font-title); font-size: clamp(20px, 2.4vw, 28px); margin: 10px 0 10px; }
.tl-step p { color: var(--silver); font-size: 15.5px; }
.tl-step.is-active .tl-step__num { color: var(--gold); }

/* ============ RESULTADOS ============ */
.resultados {
  background:
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(200,163,106,0.06), transparent 60%),
    var(--black-2);
  border-block: 1px solid var(--line);
}
.result__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.result {
  padding: 36px 28px;
  border: 1px solid var(--line-soft); border-radius: 18px;
  background: rgba(13,13,13,0.55);
  transition: transform 0.45s var(--ease), border-color 0.35s;
}
.result:hover { transform: translateY(-6px); border-color: rgba(200,163,106,0.4); }
.result__num {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(38px, 4.4vw, 60px);
  background: linear-gradient(100deg, var(--gold), #e8cfa4, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.result__num small { font-size: 0.4em; }
.result p { margin-top: 14px; color: var(--silver); font-size: 14.5px; }

.result__quote {
  margin-top: clamp(48px, 6vw, 80px); text-align: center;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(160deg, rgba(200,163,106,0.05), transparent 50%);
}
.result__quote p {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(20px, 2.8vw, 34px); line-height: 1.35; max-width: 820px; margin-inline: auto;
}
.result__quote em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold), #e8cfa4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.result__quote > span { display: block; margin-top: 22px; font-size: 10.5px; letter-spacing: 0.3em; color: var(--muted); }

/* ============ CTA ============ */
.cta { position: relative; overflow: hidden; background: var(--black); text-align: center; }
#ctaCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.cta__inner { position: relative; z-index: 2; }
.cta .section__kicker { text-align: center; }
.cta__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(34px, 5.6vw, 76px); line-height: 1.06; letter-spacing: -0.02em;
  max-width: 900px; margin-inline: auto;
}
.cta__sub { margin: 30px auto 46px; max-width: 560px; color: var(--silver); font-size: 16.5px; }
.cta__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.cta__domain { margin-top: 60px; font-size: 12px; letter-spacing: 0.5em; color: var(--gold-dark); }

/* ============ FERRAMENTA / LAYOUT STUDIO ============ */
.studio {
  background:
    radial-gradient(ellipse 55% 50% at 15% 10%, rgba(200,163,106,0.055), transparent 60%),
    var(--black);
}
.studio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.studio__list { list-style: none; display: grid; gap: 13px; margin: 26px 0 36px; }
.studio__list li { display: flex; gap: 13px; color: var(--silver); font-size: 15px; align-items: baseline; }
.studio__list span { color: var(--gold); font-size: 12px; }
.studio__preview {
  display: block; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.studio__preview:hover { transform: translateY(-6px); box-shadow: 0 50px 110px rgba(0,0,0,0.6), 0 0 48px rgba(200,163,106,0.14); }
.studio__bar {
  display: flex; align-items: center; gap: 9px; padding: 12px 18px;
  background: var(--black-2); border-bottom: 1px solid var(--line-soft);
  font-size: 10px; letter-spacing: 0.16em; color: var(--muted);
}
.studio__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--graphite-2); }
.studio__bar i:first-child { background: rgba(217,140,140,0.6); }
.studio__bar i:nth-child(2) { background: rgba(216,183,106,0.6); }
.studio__bar i:nth-child(3) { background: rgba(140,190,140,0.55); }
.studio__preview img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .studio__grid { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { background: var(--black-2); border-block: 1px solid var(--line); }
.faq__list { border-top: 1px solid var(--line-soft); max-width: 920px; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  padding: 26px 4px;
  font-family: var(--font-title); font-size: clamp(16.5px, 1.9vw, 21px); font-weight: 600;
  color: var(--ice); transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }
.faq__sign { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform 0.35s var(--ease);
}
.faq__sign::before { top: 8px; left: 1px; right: 1px; height: 2px; }
.faq__sign::after { left: 8px; top: 1px; bottom: 1px; width: 2px; }
.faq__item[open] .faq__sign::after { transform: scaleY(0); }
.faq__answer { padding: 0 4px; max-width: 780px; }
.faq__answer p { color: var(--silver); font-size: 15px; margin-bottom: 14px; }
.faq__answer p:last-child { margin-bottom: 26px; }
.faq__answer a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.faq__more { margin-top: 36px; color: var(--silver); font-size: 15px; }
.faq__more a { color: var(--gold); font-weight: 600; }

/* ============ CONTATO — grid copy + formulário ============ */
.cta__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 64px);
  align-items: start; text-align: left;
}
.cta__grid .section__kicker { text-align: left; }
.cta__grid .cta__title { text-align: left; margin: 0; max-width: none; font-size: clamp(30px, 4vw, 52px); }
.cta__grid .cta__sub { margin: 26px 0 0; max-width: 480px; }
.cta__points { list-style: none; display: grid; gap: 12px; margin: 28px 0 32px; }
.cta__points li { display: flex; gap: 12px; color: var(--silver); font-size: 15px; align-items: baseline; }
.cta__points .ok { color: var(--gold); font-size: 13px; }
.cta__grid .cta__actions { justify-content: flex-start; margin: 0; }

.lead {
  position: relative;
  background: linear-gradient(160deg, var(--graphite), var(--black-2));
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; text-align: left; }
.field > span {
  display: block; font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.04em; color: var(--silver); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; background: rgba(13,13,13,0.6);
  border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 13px 15px; color: var(--ice);
  font-family: var(--font-body); font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: #5c5f66; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(13,13,13,0.85);
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #d98c8c; }
.field textarea { resize: vertical; min-height: 84px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C8A36A' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px;
}
.field select option { background: var(--graphite); color: var(--ice); }
.btn--full { width: 100%; justify-content: center; margin-top: 6px; }
.lead__privacy { margin-top: 15px; font-size: 10px; letter-spacing: 0.08em; color: var(--muted); text-align: center; }
.lead__privacy a { color: var(--gold-dark); }
.lead__success { margin-top: 15px; text-align: center; color: var(--gold); font-size: 14px; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lead__row { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.footer { background: var(--black-2); border-top: 1px solid var(--line); }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding: clamp(50px, 6vw, 80px) 0;
}
.footer__brand svg { width: 44px; margin-bottom: 20px; }
.footer__brand p { color: var(--silver); font-size: 15px; max-width: 300px; }
.footer__col { display: grid; gap: 13px; align-content: start; }
.footer__col h4 { font-size: 10.5px; letter-spacing: 0.3em; color: var(--muted); margin-bottom: 8px; }
.footer__col a { color: var(--silver); font-size: 14.5px; transition: color 0.3s; width: fit-content; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px min(4vw, 56px);
  border-top: 1px solid var(--line-soft);
  font-size: 9.5px; letter-spacing: 0.22em; color: var(--muted);
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 12px 34px rgba(200,163,106,0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.wa-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 18px 44px rgba(200,163,106,0.5); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .problema__grid { grid-template-columns: repeat(2, 1fr); }
  .result__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .problema__grid, .solucao__points, .result__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .chaos { height: 240px; }
}

/* ============ FALLBACK SEM GSAP (CDN indisponível) ============ */
.no-anim .hero__title .line > span,
.no-anim .split-words .w > i { transform: none !important; }
.no-anim .hero__sub,
.no-anim .hero__actions { opacity: 1 !important; }
.no-anim .preloader { display: none !important; }
.no-anim .preloader__logo rect { opacity: 1; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
