/* Jean Porto Engineer · site.css
   Regra da casa: sem JS, tudo aparece. Estados iniciais de animação são aplicados pelo JS (GSAP), nunca aqui. */

:root {
  color-scheme: dark;
  --bg: #060b1c;
  --bg-2: #0a1230;
  --panel: #0d173a;
  --panel-2: #111e48;
  --line: rgba(148, 170, 235, .14);
  --line-2: rgba(148, 170, 235, .26);
  --ink: #eef2ff;
  --ivory: #f6efe2;
  --muted: #95a2c8;
  --gold: #e3bb74;
  --gold-2: #f3d49a;
  --gold-ink: #1b1406;
  --cyan: #5fdcec;
  --green: #3ddc84;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 95; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--gold-ink); }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: .98; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.1; letter-spacing: -.025em; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-head { margin-bottom: clamp(40px, 7vw, 90px); max-width: 900px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- LOADER ---------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 150; background: var(--bg);
  animation: loaderFailsafe 0s 5s forwards;
}
@keyframes loaderFailsafe { to { visibility: hidden; opacity: 0; } }
.loader__inner { width: min(560px, 84vw); }
.loader__sym { display: block; width: clamp(64px, 12vw, 96px); height: auto; margin-bottom: 26px; color: var(--gold); }
.loader__name { display: flex; gap: .25em; font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 12vw, 7rem); letter-spacing: -.05em; line-height: .9; overflow: hidden; }
.loader__name span:last-child { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.loader__meta { display: flex; justify-content: space-between; margin-top: 18px; font-family: var(--mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.loader__count { color: var(--gold); }
.loader__bar { margin-top: 12px; height: 1px; background: var(--line); }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- CURSOR ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; }
  .cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
  .cursor__ring {
    position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
    border: 1px solid rgba(227, 187, 116, .5); display: grid; place-items: center;
    transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, border-color .35s;
  }
  .cursor__ring em { font-family: var(--mono); font-style: normal; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); opacity: 0; transition: opacity .2s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); background: rgba(227, 187, 116, .08); }
  .cursor.is-view .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold); border-color: var(--gold); }
  .cursor.is-view .cursor__ring em { opacity: 1; }
  .cursor.is-view .cursor__dot { opacity: 0; }
}

/* ---------- HEADER ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--gold)); }
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(6, 11, 28, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--gold); filter: drop-shadow(0 6px 18px rgba(227,187,116,.35)); transition: transform .6s var(--ease); }
.brand__mark svg { width: 100%; height: 100%; }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__txt { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
.brand__txt em { font-family: var(--serif); font-weight: 400; color: var(--gold); }
.nav { display: none; gap: 30px; font-size: .92rem; }
.nav a { text-decoration: none; color: var(--muted); position: relative; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 980px) { .nav { display: flex; } }
@media (max-width: 520px) { .brand__txt { display: none; } }

/* ---------- BUTTONS ---------- */
.btn {
  --pad: 16px 26px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: var(--pad);
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; line-height: 1; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: color .45s var(--ease);
}
.btn span, .btn i { position: relative; z-index: 1; font-style: normal; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--sm { --pad: 11px 18px; font-size: .88rem; }
.btn--gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 14px 40px -14px rgba(227, 187, 116, .7); }
.btn--gold::before { background: var(--ivory); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero__glow { position: absolute; width: 900px; height: 900px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(227,187,116,.22), rgba(95,220,236,.06) 45%, transparent 70%); filter: blur(20px); pointer-events: none; }
.hero__wrap { position: relative; display: grid; gap: 56px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .hero__wrap { grid-template-columns: 1.35fr .9fr; gap: 40px; } }
.eyebrow .dot, .hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
.hero__eyebrow::before { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.hero__title { font-size: clamp(2.8rem, min(7.2vw, 11.5vh), 6.6rem); line-height: .94; letter-spacing: -.035em; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln__in { display: inline-block; }
.hero__title em { padding-right: .06em; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.hero__sub { margin-top: 30px; max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__proof { margin-top: 26px; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero__proof b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.03em; color: var(--gold); }

.hero__visual { position: relative; justify-self: center; width: min(420px, 86vw); }
.portrait { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 420 / 530; box-shadow: 0 40px 120px -40px rgba(0,0,0,.8), 0 0 0 1px var(--line-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform-origin: 50% 40%; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,11,28,.85)); }
.portrait figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; }
.portrait figcaption span { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.portrait figcaption em { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(13, 23, 58, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: .82rem; line-height: 1.3; white-space: nowrap;
}
.chip b { display: block; font-weight: 600; }
.chip small { color: var(--muted); font-size: .74rem; }
.chip__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(227,187,116,.14); color: var(--gold); flex: none; }
.chip--a { left: -18%; top: -5%; }
.chip--b { right: -16%; top: 48%; }
.chip--c { left: -10%; bottom: 24%; }
.chip--c .chip__ic { background: rgba(61,220,132,.14); color: var(--green); }
@media (max-width: 700px) {
  .chip { font-size: .74rem; padding: 9px 12px 9px 9px; }
  .chip small { font-size: .68rem; }
  .chip__ic { width: 28px; height: 28px; }
  .chip--a { left: -4%; top: -4%; }
  .chip--b { right: -4%; top: 46%; }
  .chip--c { left: -2%; bottom: 22%; }
}
.hero__foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 44px 28px; }
.hero__foot .mono:last-child { display: none; }
@media (min-width: 800px) { .hero__foot .mono:last-child { display: inline; } }
.scrollcue { width: 1px; height: 48px; background: var(--line-2); position: relative; overflow: hidden; }
.scrollcue i { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 22px; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marq 38s linear infinite; }
.marquee__track span { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2.2rem); letter-spacing: -.03em; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.marquee__track b { color: var(--gold); font-weight: 400; }
@keyframes marq { to { transform: translateX(-50%); } }
.has-gsap .marquee__track { animation: none; }

/* ---------- MANIFESTO ---------- */
.manifesto { padding-block: clamp(110px, 18vw, 240px); }
.manifesto__text { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -.035em; max-width: 1100px; }
.manifesto__text em { font-family: var(--serif); font-weight: 400; color: var(--gold); }
.manifesto__text .w { display: inline-block; }

/* ---------- MORPH ---------- */
.morph { position: relative; background: radial-gradient(ellipse at 70% 50%, #0c1640, var(--bg) 70%); }
.morph__stage { position: relative; }
.morph__canvas { display: none; }
.morph__captions { display: grid; gap: 70px; padding-block: 120px; }
.cap h2 { margin: 16px 0 18px; }
.cap p { color: var(--muted); max-width: 440px; font-size: 1.1rem; }
.morph__meter { display: none; }

.morph.is-live { height: 360vh; }
.morph.is-live .morph__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.morph.is-live .morph__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.morph.is-live .morph__captions { position: absolute; inset: 0; display: block; padding: 0; pointer-events: none; margin-inline: auto; left: 0; right: 0; }
.morph.is-live .cap { position: absolute; left: var(--gutter); bottom: 12vh; max-width: 520px; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.morph.is-live .cap.is-on { opacity: 1; transform: none; }
@media (min-width: 1000px) {
  .morph.is-live .cap { top: 50%; bottom: auto; transform: translateY(calc(-50% + 30px)); }
  .morph.is-live .cap.is-on { transform: translateY(-50%); }
}
.morph.is-live .morph__meter { display: block; position: absolute; right: var(--gutter); top: 50%; width: 2px; height: 160px; margin-top: -80px; background: var(--line); }
.morph.is-live .morph__meter i { display: block; width: 100%; height: 100%; background: var(--gold); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
@media (max-width: 999px) {
  .morph.is-live .cap h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .morph.is-live .cap::before { content: ""; position: absolute; inset: -30px -40px -40px; z-index: -1; background: radial-gradient(ellipse at 30% 60%, rgba(6,11,28,.9), transparent 70%); }
}

/* ---------- PAINS (horizontal) ---------- */
.pains { padding-top: clamp(90px, 12vw, 150px); }
.pains__head { margin-bottom: 50px; }
.pains__head h2 { max-width: 820px; }
.pains__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 20px; }
.pains__track { display: flex; gap: 22px; width: max-content; padding-inline: var(--gutter); }
.pain {
  scroll-snap-align: start; width: min(440px, 82vw); min-height: 440px; padding: 34px; border-radius: 28px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden;
}
.pain::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(227,187,116,.16), transparent 70%); }
.pain__n { font-family: var(--serif); font-style: italic; font-size: 4.4rem; line-height: .8; color: var(--gold); }
.pain h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.pain p { font-size: .98rem; color: var(--muted); }
.pain p b { display: block; margin-bottom: 4px; font-family: var(--mono); font-weight: 500; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.pain__before b { color: #ff8b8b; }
.pain__after { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-2); color: var(--ink) !important; }
.pain__after b { color: var(--green); }
.pain--end { background: var(--gold); color: var(--gold-ink); justify-content: space-between; border: 0; }
.pain--end h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pain--end h3 em { color: var(--gold-ink); }
.pain--end .btn--gold { background: var(--bg); color: var(--ink); align-self: flex-start; box-shadow: none; }
.pain--end .btn--gold::before { background: var(--panel-2); }
.pains.is-live .pains__viewport { overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.pains.is-live .pains__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 90px 40px; }
.pains.is-live { padding-top: 0; }

/* ---------- DEMO ---------- */
.demo { padding-block: clamp(90px, 12vw, 150px); background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.demo__grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 960px) { .demo__grid { grid-template-columns: 1fr 380px; gap: 80px; } .demo.is-live .demo__pin { min-height: 100vh; display: flex; align-items: center; } .demo.is-live { padding-block: 0; } }
.demo__copy h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); margin-bottom: 20px; }
.log { margin-top: 34px; display: grid; gap: 4px; font-family: var(--mono); font-size: .8rem; }
.log li { position: relative; padding: 10px 14px 10px 34px; border-radius: 10px; color: var(--muted); border: 1px solid transparent; transition: background .4s, color .4s, border-color .4s; }
.log li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--line-2); transition: background .4s, box-shadow .4s; }
.log li time { color: var(--gold); margin-right: 8px; }
.log li b { color: var(--green); font-weight: 500; }
.log li.is-on { color: var(--ink); background: rgba(95, 220, 236, .05); border-color: rgba(95, 220, 236, .18); }
.log li.is-on::before { background: var(--green); box-shadow: 0 0 12px var(--green); }
.demo__note { margin-top: 18px; font-size: .64rem; }

.phone {
  position: relative; width: min(380px, 100%); justify-self: center; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #1d2a57, #0a1230); box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px var(--line-2), inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone__notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #000; z-index: 2; }
.phone__bar { display: flex; align-items: center; gap: 12px; padding: 44px 16px 12px; background: #0f1d3a; border-radius: 36px 36px 0 0; font-size: .9rem; line-height: 1.2; }
.phone__bar small { color: var(--green); font-size: .74rem; }
.phone__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: var(--gold); color: var(--gold-ink); }
.phone__chat {
  display: flex; flex-direction: column; gap: 8px; padding: 16px 12px; min-height: 440px;
  background: #0b1530 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23ffffff' stroke-opacity='.025'/%3E%3C/svg%3E");
}
.day { align-self: center; font-size: .68rem; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--muted); margin-bottom: 4px; }
.msg { max-width: 84%; padding: 8px 12px 18px; border-radius: 14px; font-size: .86rem; line-height: 1.4; position: relative; }
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: .62rem; color: rgba(238,242,255,.5); }
.msg--in { align-self: flex-start; background: #1b2748; border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #0f5a4a; border-top-right-radius: 4px; }
.msg--out time::after { content: " ✓✓"; color: #53bdeb; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #0f5a4a; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); animation: typ 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.phone__input { display: flex; justify-content: space-between; align-items: center; margin-top: 0; padding: 12px 16px 18px; background: #0f1d3a; border-radius: 0 0 36px 36px; color: var(--muted); font-size: .85rem; }
.phone__input i { font-style: normal; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #05321e; }

/* demo ao vivo: estados controlados pelo JS (classe is-live só existe com JS) */
.demo.is-live .phone__chat [data-step] { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.demo.is-live .phone__chat [data-step].is-shown { opacity: 1; transform: none; }
.demo.is-live .phone__chat .typing { display: none; }
.demo.is-live .phone__chat .typing.is-shown { display: flex; }
.cursor__ring em { white-space: nowrap; }

/* word masks (títulos) */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.wm > .w { display: inline-block; }

/* ---------- SERVICES (stack) ---------- */
.services { padding-block: clamp(90px, 12vw, 160px); }
.stack { display: grid; gap: 24px; }
.card {
  position: sticky; top: calc(96px + var(--i) * 14px);
  display: grid; gap: 28px; padding: clamp(26px, 4vw, 48px); border-radius: 32px; min-height: 380px;
  background: linear-gradient(150deg, var(--panel-2), var(--panel) 60%, #0a1334); border: 1px solid var(--line-2);
  box-shadow: 0 -30px 60px -30px rgba(0,0,0,.7); transform-origin: 50% 0; overflow: hidden;
}
@media (min-width: 900px) { .card { grid-template-columns: 1.2fr 1fr; grid-template-rows: auto 1fr; align-items: center; } .card__top { grid-column: 1 / -1; } }
.card__top { display: flex; justify-content: space-between; align-items: center; }
.tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: rgba(227,187,116,.14); color: var(--gold); }
.card h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 16px; }
.card p { color: var(--muted); max-width: 520px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pills li { font-size: .8rem; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink); }
.card__art { position: relative; height: 220px; border-radius: 20px; background: rgba(6, 11, 28, .55); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }

.art-wave { gap: 6px; }
.art-wave i { width: 6px; border-radius: 6px; background: linear-gradient(var(--gold-2), var(--gold)); height: 30%; animation: wave 1.2s var(--ease) infinite alternate; }
.art-wave i:nth-child(3n) { animation-delay: -.3s; } .art-wave i:nth-child(3n+1) { animation-delay: -.7s; } .art-wave i:nth-child(4n) { animation-delay: -1s; background: var(--cyan); }
@keyframes wave { to { height: 78%; } }
.art-feed { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 22px; }
.art-feed span { font-family: var(--mono); font-size: .76rem; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); animation: feed 4s infinite; }
.art-feed span:nth-child(2) { animation-delay: .5s; } .art-feed span:nth-child(3) { animation-delay: 1s; }
.art-feed span.on { color: var(--green); border-color: rgba(61,220,132,.4); background: rgba(61,220,132,.07); animation-delay: 1.5s; }
@keyframes feed { 0%, 100% { transform: translateX(0); } 10% { transform: translateX(6px); } 20% { transform: translateX(0); } }
.art-funnel { flex-direction: column; gap: 10px; padding: 22px; }
.art-funnel i { font-style: normal; font-family: var(--mono); font-size: .76rem; text-align: center; padding: 12px; border-radius: 10px; width: var(--w); background: linear-gradient(90deg, rgba(227,187,116,.28), rgba(227,187,116,.1)); border: 1px solid rgba(227,187,116,.3); }
.art-funnel i:last-child { background: var(--gold); color: var(--gold-ink); }
.art-kanban { gap: 10px; padding: 18px; align-items: stretch; }
.art-kanban div { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.03); }
.art-kanban b { font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.art-kanban i { height: 28px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); }
.art-kanban i.g { background: rgba(61,220,132,.15); border-color: rgba(61,220,132,.4); animation: slide 3s var(--ease) infinite; }
@keyframes slide { 0%, 30% { transform: translateX(-220%); opacity: .3; } 55%, 100% { transform: none; opacity: 1; } }
.art-chart { align-items: flex-end; gap: 10px; padding: 24px 24px 0; }
.art-chart i { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: linear-gradient(var(--gold), rgba(227,187,116,.15)); transform-origin: 50% 100%; animation: grow 3s var(--ease) infinite alternate; }
.art-chart i:last-child { background: linear-gradient(var(--cyan), rgba(95,220,236,.15)); }
@keyframes grow { from { transform: scaleY(.6); } }
.art-code { justify-content: flex-start; padding: 24px; }
.art-code code { font-family: var(--mono); font-size: .8rem; line-height: 1.8; color: var(--ink); }
.art-code .k { color: var(--cyan); } .art-code .s { color: var(--gold); }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; margin-left: 2px; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- STATS ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(28px, 4vw, 54px) clamp(10px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat:nth-child(odd) { border-left: 0; }
@media (min-width: 900px) { .stat:nth-child(odd) { border-left: 1px solid var(--line); } .stat:first-child { border-left: 0; } }
@media (max-width: 899px) { .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -.05em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: .92rem; max-width: 240px; }

/* ---------- CLIENTS ---------- */
.clients { padding-block: clamp(90px, 12vw, 160px); }
.clist { border-top: 1px solid var(--line); }
.crow {
  position: relative; display: grid; gap: 4px 30px; padding: 26px 0; border-bottom: 1px solid var(--line); overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .crow { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 30px 12px; } .crow__work { grid-column: 2; } .crow__firm { grid-column: 2; grid-row: 1; } .crow__name { grid-row: 1 / span 2; } }
.crow::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(227,187,116,.12), transparent 80%); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); z-index: -1; }
.crow:hover::before { transform: scaleX(1); }
.crow__name { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 3rem); letter-spacing: -.045em; line-height: 1.02; transition: transform .6s var(--ease), color .4s; }
.crow:hover .crow__name { transform: translateX(14px); color: var(--gold-2); }
.crow__firm { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold); }
.crow__work { color: var(--muted); font-size: .95rem; }
.crow__work small { margin-left: 8px; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line-2); white-space: nowrap; }
.clients__also { margin-top: 80px; }
.biz { display: grid; gap: 16px; }
@media (min-width: 900px) { .biz { grid-template-columns: repeat(3, 1fr); } }
.biz__item { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); transition: border-color .4s, transform .5s var(--ease); }
.biz__item:hover { border-color: rgba(227,187,116,.4); transform: translateY(-4px); }
.biz__item b { display: block; font-family: var(--display); font-size: 1.3rem; letter-spacing: -.03em; margin-bottom: 8px; }
.biz__item span { color: var(--muted); font-size: .92rem; }

/* ---------- VERSUS ---------- */
.versus { padding-block: clamp(90px, 12vw, 160px); background: var(--bg-2); }
.vs { border-radius: 28px; border: 1px solid var(--line-2); overflow: hidden; }
.vs__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.vs__row:first-child { border-top: 0; }
.vs__row > span { padding: 20px clamp(14px, 2.4vw, 30px); font-size: .95rem; }
.vs__row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.vs__row > span:nth-child(2) { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,139,139,.5); }
.vs__row > span:nth-child(3) { background: linear-gradient(90deg, rgba(227,187,116,.1), rgba(227,187,116,.04)); font-weight: 600; }
.vs__row--head > span { font-family: var(--mono); font-size: .7rem !important; letter-spacing: .14em; text-transform: uppercase; text-decoration: none !important; padding-block: 18px !important; }
.vs__row--head > span:first-child { display: none; }
.vs__row--head > span:nth-child(3) { color: var(--gold); }
@media (min-width: 800px) {
  .vs__row { grid-template-columns: 200px 1fr 1fr; align-items: stretch; }
  .vs__row > span:first-child { grid-column: auto; padding-bottom: 20px; display: flex; align-items: center; }
  .vs__row--head > span:first-child { display: block; }
  .vs__row > span { padding-block: 26px; font-size: 1.02rem; }
}

/* ---------- PROCESS ---------- */
.process { padding-block: clamp(90px, 12vw, 160px); }
.timeline { position: relative; display: grid; gap: clamp(40px, 7vw, 90px); padding-left: 44px; }
.timeline__fill { position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; z-index: 1; background: linear-gradient(var(--gold-2), var(--gold)); transform-origin: 50% 0; box-shadow: 0 0 14px rgba(227,187,116,.6); }
.has-gsap .timeline__fill { transform: scaleY(0); }
.step::before { z-index: 2; transition: background .4s, box-shadow .4s; }
.step.is-on::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(227,187,116,.15); }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.step { position: relative; display: grid; gap: 10px; }
@media (min-width: 900px) { .step { grid-template-columns: 220px 1fr; gap: 40px; } }
.step::before { content: ""; position: absolute; left: -44px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.step__day { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; color: var(--gold); }
.step h3 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 560px; }

/* ---------- ABOUT ---------- */
.about { padding-block: clamp(90px, 12vw, 160px); background: var(--bg-2); overflow: hidden; }
.about__grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: .85fr 1fr; gap: 90px; } }
.about__img { border-radius: 28px; overflow: hidden; aspect-ratio: 420 / 530; max-width: 460px; position: relative; }
.about__img img { width: 100%; height: 118%; object-fit: cover; }
.about__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: inherit; }
.about__copy h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); margin-bottom: 28px; }
.about__copy p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin-bottom: 16px; }
.sign { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(90px, 12vw, 160px); }
.faq__grid { display: grid; gap: 30px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq .sec-head { position: sticky; top: 120px; align-self: start; } }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: -.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold); font-weight: 400; transition: transform .45s var(--ease), background .3s; }
details[open] summary::after { transform: rotate(45deg); background: rgba(227,187,116,.12); }
details p { padding: 0 50px 26px 0; color: var(--muted); }

/* ---------- FINAL CTA ---------- */
.final { position: relative; padding-block: clamp(110px, 16vw, 220px) 80px; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%; background: radial-gradient(circle, rgba(227,187,116,.16), transparent 60%); pointer-events: none; }
.final .wrap { position: relative; }
.final__title { font-size: clamp(2.8rem, 9vw, 8.4rem); line-height: .94; letter-spacing: -.035em; }
.bigbtn {
  display: inline-flex; align-items: center; gap: 22px; margin-top: 56px; padding: 18px 18px 18px 36px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: -.03em;
  box-shadow: 0 30px 80px -24px rgba(227,187,116,.7); transition: background .4s;
}
.bigbtn:hover { background: var(--ivory); }
.bigbtn__ic { width: clamp(52px, 6vw, 76px); height: clamp(52px, 6vw, 76px); border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--gold); transition: transform .5s var(--ease); }
.bigbtn:hover .bigbtn__ic { transform: rotate(45deg); }
.contacts { display: grid; gap: 1px; margin-top: 90px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (min-width: 700px) { .contacts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contacts { grid-template-columns: repeat(3, 1fr); } }
.ct { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.ct a { text-decoration: none; font-weight: 600; transition: color .3s; overflow-wrap: anywhere; }
.ct a:hover { color: var(--gold); }

/* ---------- FOOTER ---------- */
.foot { border-top: 1px solid var(--line); overflow: hidden; }
.foot__giant { padding-top: 60px; text-align: center; line-height: .8; }
.foot__sym { display: block; width: 64px; height: 64px; margin: 0 auto 26px; color: var(--gold); }
.foot__giant span {
  display: inline-block; padding: 0 .05em .1em; font-family: var(--display); font-weight: 800; font-size: 14.5vw; letter-spacing: -.06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(227,187,116,.35);
  background: linear-gradient(90deg, var(--gold), var(--gold-2)) no-repeat 0 0 / var(--fill, 0%) 100%;
  -webkit-background-clip: text; background-clip: text;
}
.foot__row { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; padding-block: 28px 100px; color: var(--muted); font-size: .88rem; }
.foot__row a { text-decoration: none; }

.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 100; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 16px 40px -10px rgba(37,211,102,.6);
  transition: transform .4s var(--ease);
}
.fab:hover { transform: scale(1.08); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .loader { display: none; }
  .card { position: relative; top: auto; }
}
