:root {
  --bg: #05070c;
  --navy: #0a1424;
  --navy-2: #0f1d33;
  --graphite: #1a1d23;
  --line: rgba(232, 226, 212, 0.12);
  --text: #ece6da;
  --muted: #a8a294;
  --gold: #c9a35c;
  --gold-2: #e3c88d;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-content: center; gap: 22px; text-align: center;
  transition: opacity .8s ease, visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark { font-family: var(--serif); font-size: 34px; letter-spacing: .04em; color: var(--text); }
.loader-bar { width: 180px; height: 1px; background: var(--line); margin: 0 auto; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(5, 7, 12, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .02em; }
.brand-sub { font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; gap: 32px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-gold, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; font-size: 14px; font-weight: 500; letter-spacing: .03em;
  border-radius: 2px; transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn-gold { background: var(--gold); color: #0b0b0b; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* Hero */
.hero { position: relative; height: 520vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#seq { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(5,7,12,.75) 100%),
    linear-gradient(to bottom, rgba(5,7,12,.35), transparent 22%, transparent 70%, rgba(5,7,12,.9));
}
.hero-copy { position: absolute; inset: 0; pointer-events: none; }
.beat {
  position: absolute; left: var(--gutter); bottom: 14vh; max-width: 620px;
  opacity: 0; transform: translateY(30px);
}
.beat[data-beat="1"], .beat[data-beat="3"] { left: auto; right: var(--gutter); text-align: right; }
.beat h1, .beat h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; text-shadow: 0 2px 30px rgba(5,7,12,.9), 0 0 2px rgba(5,7,12,.6); }
.beat .lead, .beat .eyebrow { text-shadow: 0 1px 16px rgba(5,7,12,.95); }
.beat h1 { font-size: clamp(42px, 6.4vw, 92px); }
.beat h2 { font-size: clamp(34px, 4.6vw, 64px); }
.beat .lead { margin-top: 22px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 500px; }
.eyebrow { font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 500; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scroll-hint span { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-progress { position: absolute; right: var(--gutter); top: 50%; width: 1px; height: 120px; background: var(--line); transform: translateY(-50%); }
.hero-progress span { display: block; width: 100%; height: 0; background: var(--gold); }

/* Sections */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -.01em; max-width: 900px; }
.title.big { font-size: clamp(44px, 7vw, 104px); }
.body { color: var(--muted); max-width: 560px; margin-top: 24px; }
.body strong { color: var(--text); font-weight: 500; }
.fine { margin-top: 40px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.reveal-lines .ln { display: block; overflow: hidden; }
.reveal-lines .ln > span { display: block; }

/* Problem */
.problem { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.problem-media { position: absolute; inset: -10% 0 -10% 30%; opacity: .55; }
.problem-media img { width: 100%; height: 100%; object-fit: cover; }
.problem-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(5,7,12,.6) 40%, rgba(5,7,12,.25) 100%); }
.problem-text { position: relative; }
.pain { list-style: none; margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; max-width: 900px; }
.pain li { color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.pain strong { display: block; color: var(--text); font-weight: 500; margin-bottom: 6px; }

/* Flow */
.flow { background: linear-gradient(var(--bg), var(--navy) 40%, var(--bg)); }
.flow-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 72px; align-items: start; }
.flow-line { position: absolute; left: 22px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.flow-line span { display: block; width: 100%; height: 0; background: linear-gradient(var(--gold-2), var(--gold)); box-shadow: 0 0 12px rgba(201,163,92,.6); }
.steps { list-style: none; display: grid; gap: 44px; padding-left: 64px; }
.step { position: relative; opacity: .28; transition: opacity .5s; }
.step.on { opacity: 1; }
.step .n { position: absolute; left: -64px; top: 2px; width: 44px; text-align: center; font-family: var(--serif); font-size: 18px; color: var(--gold); background: var(--navy); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; }
.step p { color: var(--muted); margin-top: 6px; max-width: 460px; }
.flow-figure { position: sticky; top: 18vh; aspect-ratio: 4 / 5; overflow: hidden; }
.flow-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Scan reveal (efeito de verificação linha a linha) */
.scan-reveal { position: relative; clip-path: inset(0 0 100% 0); }
.scan-reveal::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; top: var(--scan, 0%);
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  box-shadow: 0 0 18px 4px rgba(227,200,141,.45); opacity: var(--scan-o, 1);
}

/* Features */
.feature-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 40px 34px 48px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .4s; }
.feature:hover { background: rgba(201,163,92,.04); }
.feature::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .6s ease; }
.feature:hover::before { width: 100%; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.15; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.tag { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,163,92,.4); padding: 4px 10px; }

/* Chat */
.chat-sec { background: radial-gradient(ellipse at 80% 50%, var(--navy-2), var(--bg) 60%); }
.chat-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.chat-card { background: rgba(10, 20, 36, .7); border: 1px solid var(--line); padding: 28px; backdrop-filter: blur(10px); box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.chat-head { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.chat-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.msg { font-size: 15px; padding: 14px 18px; margin-bottom: 14px; max-width: 92%; }
.msg.me { margin-left: auto; background: rgba(201,163,92,.12); border: 1px solid rgba(201,163,92,.3); }
.msg.ai { background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.msg table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.msg th { text-align: left; font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: .06em; padding: 6px 6px 8px 0; border-bottom: 1px solid var(--line); }
.msg td { padding: 7px 6px 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.msg td:not(:first-child), .msg th:not(:first-child) { text-align: right; }
.msg .src { font-size: 12px; color: var(--gold); }
.chat-save { font-size: 12px; letter-spacing: .08em; color: var(--gold-2); border: 1px dashed rgba(201,163,92,.45); padding: 10px 14px; display: inline-block; }
.chat-note { margin-top: 14px; font-size: 11.5px; color: var(--muted); }

/* Pilot */
.pilot { overflow: hidden; }
.pilot-bg { position: absolute; inset: -12% -5%; opacity: .18; }
.pilot-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.pilot .wrap { position: relative; }
.stats { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat { border-top: 1px solid var(--gold); padding-top: 22px; }
.num { display: block; font-family: var(--serif); font-size: clamp(48px, 6vw, 88px); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.lbl { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Gallery (horizontal fixa) */
.gallery { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.gallery-track { display: flex; gap: 4vw; height: 100%; align-items: center; padding: 0 var(--gutter); width: max-content; }
.g-item { position: relative; width: min(62vw, 880px); flex: none; }
.g-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.g-item figcaption { margin-top: 18px; font-family: var(--serif); font-size: 22px; color: var(--muted); font-style: italic; }

/* Security */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.checks { list-style: none; display: grid; gap: 0; }
.checks li { padding: 22px 0 22px 36px; border-bottom: 1px solid var(--line); position: relative; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 30px; width: 18px; height: 1px; background: var(--gold); }

/* Audience */
.audience { background: linear-gradient(var(--bg), var(--navy) 50%, var(--bg)); }
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 24px; }
.aud h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; margin-bottom: 14px; }
.aud p { color: var(--muted); }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); padding: 40px 34px; background: rgba(10, 20, 36, .45); }
.plan-featured { border-color: rgba(201,163,92,.6); background: rgba(201,163,92,.06); }
.plan-flag { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.plan h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; }
.plan-price { margin-top: 18px; color: var(--muted); font-size: 15px; }
.plan-price span { font-family: var(--serif); font-size: clamp(40px, 4vw, 54px); color: var(--text); font-variant-numeric: tabular-nums; margin-right: 4px; }
.plan ul { list-style: none; margin: 28px 0 36px; display: grid; gap: 12px; flex: 1; }
.plan li { color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 1px; background: var(--gold); }
.plan .btn-gold, .plan .btn-ghost { width: 100%; }
.plans .fine { max-width: 900px; }
.plans .fine strong { color: var(--text); font-weight: 500; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-fig { aspect-ratio: 4 / 5; overflow: hidden; }
.about-fig img { width: 100%; height: 100%; object-fit: cover; }

/* CTA */
.cta { text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(201,163,92,.18), transparent 55%), var(--bg); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta .title { margin: 0 auto; }
.cta .body { margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 44px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 36px; font-size: 14px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot p { margin-top: 6px; }
.foot > div:last-child { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.foot a:hover { color: var(--gold-2); }
.ai-note { margin-top: 32px; font-size: 12px; opacity: .75; }

/* Reveal base */
.reveal { opacity: 0; transform: translateY(26px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }
.reduced .scan-reveal { clip-path: none; }
.reduced .scan-reveal::after { display: none; }

/* Responsivo */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .flow-grid, .chat-wrap, .sec-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .flow-figure { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .aud-grid { grid-template-columns: 1fr; gap: 36px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav .btn-gold { display: none; }
  .brand-name { font-size: 22px; }
  .hero { height: 440vh; }
  .beat, .beat[data-beat="1"], .beat[data-beat="3"] { left: var(--gutter); right: var(--gutter); text-align: left; bottom: 12vh; }
  .hero-progress { display: none; }
  .hero-vignette { background: radial-gradient(ellipse at center, transparent 40%, rgba(5,7,12,.7) 100%), linear-gradient(to bottom, rgba(5,7,12,.35), transparent 20%, transparent 42%, rgba(5,7,12,.92) 72%); }
  .pain { grid-template-columns: 1fr; gap: 24px; }
  .problem-media { inset: -10% 0 -10% 0; opacity: .3; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 30px 24px 34px; }
  .chat-card { padding: 18px; }
  .msg { max-width: 100%; padding: 12px 14px; }
  .msg table { font-size: 11.5px; }
  .g-item { width: 82vw; }
  .g-item figcaption { font-size: 18px; }
  .foot > div:last-child { text-align: left; }
  .btn-gold, .btn-ghost { width: 100%; }
  .nav .btn-ghost { width: auto; }
}
