/* ═══════════════════════════════════════════════════════════════
   ATELIER OS — Landing
   Direção: claro e arejado (moderno/convidativo) com as telas do
   produto em dark dourado como protagonistas. Display: Syne.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Light canvas — warm but crisp (não é o creme-clichê) */
  --bg:      #faf8f4;
  --bg-2:    #f1ede5;
  --paper:   #ffffff;

  /* Ink */
  --ink:     #15110c;
  --ink-2:   #36302a;
  --muted:   #6c6358;
  --muted-2: #948b7e;

  /* Gold */
  --gold:    #b3791a;
  --gold-2:  #d4971c;
  --gold-soft: rgba(179,121,26,.10);
  --gold-line: rgba(179,121,26,.30);

  /* WhatsApp / positivo */
  --wa:   #1faa54;
  --wa-d: #168f45;

  /* Dark (telas do produto + seções escuras) */
  --d-0: #100c08;
  --d-1: #17120c;
  --d-2: #1e1810;
  --d-3: #261f15;
  --d-line: rgba(255,225,180,.08);
  --d-line-2: rgba(255,225,180,.13);
  --d-tp: #f0e7d8;
  --d-ts: #b6a892;
  --d-tt: #7c715f;

  /* Status */
  --green:#22c55e; --amber:#eab308; --red:#ef4444; --purple:#a78bfa;

  --line:   rgba(40,28,12,.10);
  --line-2: rgba(40,28,12,.16);

  --r-s:10px; --r-m:16px; --r-l:24px; --r-xl:32px;
  --sh-s: 0 2px 10px rgba(60,40,15,.06);
  --sh-m: 0 16px 44px rgba(50,35,12,.12);
  --sh-l: 0 40px 90px rgba(35,24,8,.20), 0 14px 34px rgba(35,24,8,.12);
  --ease: cubic-bezier(.2,.8,.2,1);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ── Type helpers ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.eyebrow i { width: 22px; height: 1.5px; background: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold-2); }
.eyebrow.light i { background: var(--gold-2); }

h1, .h2, h3, h4 { font-family: "Syne", system-ui, sans-serif; font-weight: 700; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); margin-bottom: 16px; }
.h2.center { text-align: center; }
.h2.light { color: var(--d-tp); }

.mark { color: var(--gold); position: relative; white-space: nowrap; }
.mark::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 30%; background: var(--gold-soft); z-index: -1; border-radius: 3px; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.26rem); color: var(--muted); max-width: 40ch; margin: 24px 0 32px; }
.muted { color: var(--muted); font-size: 1.05rem; }
.muted-l { color: var(--d-ts); font-size: 1.05rem; }
.muted.center, .muted-l.center { text-align: center; margin-left: auto; margin-right: auto; }
.narrow { max-width: 56ch; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: .96rem; font-weight: 700; padding: 12px 22px;
  border-radius: 100px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 1.04rem; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(31,170,84,.30); }
.btn-primary:hover { background: var(--wa-d); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31,170,84,.40); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: var(--ink); color: var(--bg); padding: 10px 18px; }
.btn-ghost:hover { background: var(--gold); color: #fff; }

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,.8); backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--sh-s); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 32px; height: 32px; color: var(--gold); display: grid; place-items: center; }
.brand-mark svg { width: 28px; height: 28px; }
.brand-name { font-family: "Syne", sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); }
.brand-os { color: var(--gold); }
.brand-logo { height: 48px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .94rem; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--gold); }
.nav-links a.btn-ghost { color: var(--bg); }
.nav-links a.btn-ghost:hover { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero { position: relative; padding: 70px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -260px; right: -120px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(212,151,28,.16), transparent 60%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1.05fr; gap: 52px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 34px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.hero-trust svg { color: var(--wa); flex-shrink: 0; }

.hero-screen { position: relative; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; z-index: 3;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-m);
  border-radius: 100px; padding: 9px 15px; font-size: .82rem; font-weight: 600; color: var(--ink);
  opacity: 0;
}
.float-chip svg { color: var(--gold); }
.chip-1 { top: 4%; left: -22px; }
.chip-2 { bottom: 6%; right: -16px; }
.chip-2 svg { color: var(--wa); }


.viewer-stage { position: relative; }
.vtour-chip-1 { top: 8%; left: -16px; }
.vtour-chip-2 { bottom: 14%; right: -16px; }

/* ═══════════════ WINDOW FRAME (telas do produto) ═══════════════ */
.winframe {
  background: var(--d-0); border-radius: var(--r-m); overflow: hidden;
  border: 1px solid var(--d-line-2); box-shadow: var(--sh-l);
}
.winframe.tilt { transform: perspective(1700px) rotateY(-7deg) rotateX(2deg); transition: transform .55s var(--ease); }
.hero-screen:hover .winframe.tilt { transform: perspective(1700px) rotateY(-2deg) rotateX(1deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--d-1); border-bottom: 1px solid var(--d-line); }
.win-bar .d { width: 10px; height: 10px; border-radius: 50%; background: #463c30; }
.win-bar .d:nth-child(1){ background:#d4564a; } .win-bar .d:nth-child(2){ background:#d9a13a; } .win-bar .d:nth-child(3){ background:#4caf6e; }
.win-url { margin-left: 12px; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--d-tt); }
.win-body { background: var(--d-0); min-height: 360px; color: var(--d-tp); }
.win-body.fade { animation: scfade .4s var(--ease); }
@keyframes scfade { from{ opacity: 0; transform: translateY(6px);} to{ opacity: 1; transform: none;} }

/* ── App chrome interno ── */
.app-top { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--d-line); background: var(--d-1); }
.app-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.app-crumb span { color: var(--d-ts); } .app-crumb b { color: var(--d-tt); font-weight: 400; } .app-crumb i { color: var(--d-tp); font-style: normal; font-weight: 600; }
.app-btn { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--d-0); background: var(--gold-2); padding: 7px 13px; border-radius: 8px; }
.app-pad { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.app-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.app-kpis.three { grid-template-columns: repeat(3,1fr); }
.kpi { background: var(--d-2); border: 1px solid var(--d-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 5px; }
.k-l { font-size: 10px; color: var(--d-tt); font-weight: 600; letter-spacing: .02em; }
.k-v { font-family: "Syne", sans-serif; font-size: 1.45rem; font-weight: 700; color: var(--d-tp); line-height: 1; }
.k-bar { height: 4px; border-radius: 3px; background: rgba(255,225,180,.07); overflow: hidden; }
.k-bar i { display: block; height: 100%; background: var(--gold-2); border-radius: 3px; }

.app-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.app-card { background: var(--d-2); border: 1px solid var(--d-line); border-radius: 12px; padding: 14px; }
.app-card.flat { padding: 6px 14px 12px; }
.ac-h { font-size: 10.5px; color: var(--d-tt); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; padding-top: 4px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.bars.tall { height: 120px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--gold-2), rgba(212,151,28,.32)); border-radius: 4px 4px 0 0; }

.pl { display: grid; grid-template-columns: 1fr 56px 26px; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--d-line); }
.pl:last-child { border-bottom: 0; }
.pl span { font-size: 11.5px; color: var(--d-ts); }
.pl em { height: 6px; border-radius: 4px; background: var(--gold-2); display: block; }
.pl b { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--gold-2); text-align: right; }

.del { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--d-line); }
.del:last-child { border-bottom: 0; }
.dd { width: 8px; height: 8px; border-radius: 50%; background: var(--d-tt); flex-shrink: 0; }
.dd.r { background: var(--red); } .dd.y { background: var(--amber); } .dd.g { background: var(--green); }
.del-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.del-info b { font-size: 12.5px; color: var(--d-tp); font-weight: 600; line-height: 1.25; }
.del .dm { font-size: 10.5px; color: var(--d-tt); line-height: 1.2; }
.del .dt { flex-shrink: 0; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--gold-2); }

/* Pedidos */
.app-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 180px; background: var(--d-2); border: 1px solid var(--d-line); border-radius: 9px; padding: 9px 12px; font-size: 12px; color: var(--d-tt); }
.app-search svg { color: var(--d-tt); }
.app-tabs { display: flex; gap: 4px; background: var(--d-2); border: 1px solid var(--d-line); border-radius: 9px; padding: 4px; }
.app-tabs span { font-size: 11.5px; color: var(--d-ts); padding: 5px 10px; border-radius: 6px; }
.app-tabs span.active { background: var(--gold-soft); color: var(--gold-2); font-weight: 600; }
.thead, .trow { display: grid; grid-template-columns: .7fr 1.4fr 1.3fr .9fr .8fr 1.1fr; align-items: center; gap: 8px; }
.thead { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--d-tt); padding: 12px 0 8px; border-bottom: 1px solid var(--d-line); }
.trow { padding: 11px 0; border-bottom: 1px solid var(--d-line); font-size: 12px; color: var(--d-tp); }
.trow:last-child { border-bottom: 0; }
.tid { font-family: "JetBrains Mono", monospace; color: var(--gold-2); }
.tmut { color: var(--d-ts); } .tval { font-weight: 600; }
.pill { font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 100px; justify-self: start; }
.pill.gray { background: rgba(255,225,180,.07); color: var(--d-ts); }
.pill.purple { background: rgba(167,139,250,.14); color: var(--purple); }
.pill.amber { background: rgba(234,179,8,.14); color: var(--amber); }
.pill.green { background: rgba(34,197,94,.14); color: var(--green); }

/* Produção (kanban) */
.kanban { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.kcol-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-2); margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.kcol-h b { font-family: "JetBrains Mono", monospace; font-weight: 500; color: var(--d-tt); }
.jcard { background: var(--d-2); border: 1px solid var(--d-line); border-radius: 10px; padding: 11px; margin-bottom: 8px; }
.jc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.jc-top b { font-size: 12px; color: var(--d-tp); font-weight: 600; }
.jc-dl { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--d-tt); }
.jc-dl.r { color: var(--red); } .jc-dl.y { color: var(--amber); } .jc-dl.g { color: var(--green); }
.jc-item { display: block; font-size: 10.5px; color: var(--d-tt); margin: 5px 0 9px; }
.jc-bar { display: block; height: 5px; border-radius: 3px; background: rgba(255,225,180,.07); overflow: hidden; }
.jc-bar i { display: block; height: 100%; background: var(--gold-2); }

/* Calendário */
.cal-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cal-h b { font-family: "Syne", sans-serif; font-size: 1rem; color: var(--d-tp); }
.cal-nav { width: 24px; height: 24px; border: 1px solid var(--d-line); border-radius: 7px; display: grid; place-items: center; color: var(--d-ts); font-size: 13px; }
.cal-views { margin-left: auto; display: flex; gap: 3px; background: var(--d-2); border: 1px solid var(--d-line); border-radius: 8px; padding: 3px; }
.cal-views i { font-style: normal; font-size: 11px; color: var(--d-ts); padding: 4px 10px; border-radius: 5px; }
.cal-views i.active { background: var(--gold-soft); color: var(--gold-2); font-weight: 600; }
.cal-week { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; margin-bottom: 5px; }
.cal-week span { font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--d-tt); text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.cday { aspect-ratio: 1 / .82; background: var(--d-2); border: 1px solid var(--d-line); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; }
.cday > span { font-size: 10.5px; color: var(--d-ts); }
.cday.today { border-color: var(--gold-line); box-shadow: inset 0 0 0 1px var(--gold-line); }
.cday.today > span { color: var(--gold-2); font-weight: 700; }
.cdots { margin-top: auto; display: flex; gap: 3px; flex-wrap: wrap; }
.cdot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }
.cdot.r { background: var(--red); } .cdot.y { background: var(--amber); } .cdot.g { background: var(--green); }

/* Relatórios — barras horizontais */
.hb { display: grid; grid-template-columns: 92px 1fr 56px; align-items: center; gap: 10px; padding: 7px 0; }
.hb-l { font-size: 11px; color: var(--d-ts); }
.hb-t { height: 8px; border-radius: 4px; background: rgba(255,225,180,.07); overflow: hidden; }
.hb-t i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), rgba(212,151,28,.5)); border-radius: 4px; }
.hb-v { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--d-tp); text-align: right; }

/* ── Login screen (intro animation) ── */
.login-wrap { display:flex; align-items:center; justify-content:center; min-height:360px; padding:32px 24px; }
.login-card { width:100%; max-width:264px; }
.login-logo-img { height:30px; width:auto; margin-bottom:10px; display:block; }
.login-sub { font-size:10.5px; color:var(--d-tt); font-family:"JetBrains Mono",monospace; letter-spacing:.06em; margin-bottom:24px; text-transform:uppercase; }
.login-field { margin-bottom:12px; }
.login-label { display:block; font-size:10px; color:var(--d-tt); text-transform:uppercase; letter-spacing:.08em; font-weight:600; margin-bottom:5px; }
.login-input-wrap { background:var(--d-2); border:1px solid var(--d-line); border-radius:8px; padding:8px 12px; display:flex; align-items:center; min-height:35px; transition:border-color .2s; }
.login-input-wrap:focus-within { border-color:var(--gold-line); }
.login-typed { font-family:"JetBrains Mono",monospace; font-size:12px; color:var(--d-tp); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.login-cursor { color:var(--gold-2); font-weight:300; font-size:15px; line-height:1; margin-left:1px; animation:blink .85s step-end infinite; }
.login-btn { width:100%; margin-top:20px; background:var(--gold-2); color:var(--d-0); border:none; border-radius:8px; padding:11px; font-size:13px; font-weight:700; font-family:inherit; cursor:default; transition:transform .15s,opacity .2s,background .2s; }
.login-btn.pressing { transform:scale(.97); opacity:.8; }
.login-btn.loading { background:var(--d-3); color:var(--d-ts); opacity:1; }
.vtab:disabled { opacity:.35; cursor:default; pointer-events:none; }

/* ═══════════════ BAND ═══════════════ */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.band-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; padding: 24px; }
.band-lbl { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.band-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; }
.band-list li { font-family: "Syne", sans-serif; font-size: 1.12rem; font-weight: 600; color: var(--ink-2); }

/* ═══════════════ SECTIONS ═══════════════ */
.sec { padding: 94px 0; }
.sec.alt { background: var(--bg-2); }
.sec-head { max-width: 680px; margin: 0 auto 52px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.two-col.align-center { align-items: center; }

.x-list, .check-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.x-list li, .check-list li { position: relative; padding-left: 32px; color: var(--ink-2); font-weight: 500; }
.x-list li::before, .check-list li::before { position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.x-list li::before { content: "✕"; background: rgba(239,68,68,.12); color: #d8503f; }
.check-list li::before { content: "✓"; background: rgba(31,170,84,.14); color: var(--wa-d); }

/* ── Tour ── */
.viewer { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.viewer-nav { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 90px; }
.vtab {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  font-family: inherit; font-size: .95rem; font-weight: 600; color: var(--ink-2);
  background: transparent; border: 1px solid transparent; border-radius: 12px;
  padding: 12px 14px; cursor: pointer; transition: background .16s, border-color .16s, color .16s;
}
.vtab svg { width: 18px; height: 18px; color: var(--muted-2); transition: color .16s; }
.vtab:hover { background: var(--paper); border-color: var(--line); }
.vtab.active { background: var(--paper); border-color: var(--gold-line); color: var(--ink); box-shadow: var(--sh-s); }
.vtab.active svg { color: var(--gold); }
.viewer-caption { margin-top: 18px; color: var(--muted); font-size: 1rem; max-width: 62ch; }

/* ── Features ── */
.feat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.feat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px 22px; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; }
.feat:hover { transform: translateY(-5px); box-shadow: var(--sh-m); border-color: var(--gold-line); }
.feat-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.feat-ico svg { width: 23px; height: 23px; }
.feat h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feat p { font-size: .93rem; color: var(--muted); line-height: 1.55; }
.feat-cta { background: linear-gradient(155deg, var(--d-1) 0%, var(--d-3) 100%); display: flex; flex-direction: column; justify-content: center; gap: 10px; border-color: var(--d-line-2); }
.feat-cta h3 { color: #fff; } .feat-cta p { color: var(--d-ts); }
.feat-cta .btn { margin-top: 8px; align-self: flex-start; }

/* ── Flow ── */
.flow { list-style: none; display: flex; align-items: stretch; gap: 8px; }
.flow-step { flex: 1; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px 22px; }
.fs-num { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--gold); font-weight: 500; }
.flow-step h4 { font-size: 1.14rem; margin: 12px 0 8px; }
.flow-step p { font-size: .92rem; color: var(--muted); }
.flow-arrow { display: flex; align-items: center; color: var(--gold-line); font-size: 1.5rem; }

/* ── Deliver (a gente cuida de tudo) ── */
.deliver { background: var(--d-0); }
.deliver-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.deliver-card { background: var(--d-1); border: 1px solid var(--d-line); border-radius: var(--r-m); padding: 28px 24px; transition: transform .22s var(--ease), border-color .22s; }
.deliver-card:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.dc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 18px; }
.dc-ico svg { width: 22px; height: 22px; }
.deliver-card h3 { color: var(--d-tp); font-size: 1.16rem; margin-bottom: 8px; }
.deliver-card p { color: var(--d-ts); font-size: .94rem; line-height: 1.55; }
.deliver-card.cta { background: linear-gradient(155deg, var(--gold-2) 0%, var(--gold) 100%); display: flex; flex-direction: column; justify-content: center; border-color: transparent; }
.deliver-card.cta h3 { color: var(--d-0); font-size: 1.4rem; }
.deliver-card.cta p { color: rgba(20,12,4,.78); }
.deliver-card.cta .btn { margin-top: 14px; align-self: flex-start; background: var(--d-0); color: #fff; }
.deliver-card.cta .btn:hover { background: #000; }

/* ── Who ── */
.who-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.who-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; }
.who-grid b { font-family: "Syne", sans-serif; font-size: 1.12rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }
.who-grid span { font-size: .92rem; color: var(--muted); }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold-line); box-shadow: var(--sh-s); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.04rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--gold); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--muted); font-size: .98rem; }

/* ── CTA final ── */
.cta-final { background: var(--bg-2); }
.cta-box { background: linear-gradient(160deg, var(--d-1) 0%, var(--d-3) 100%); border-radius: var(--r-xl); padding: 70px 40px; text-align: center; box-shadow: var(--sh-l); position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 560px; height: 360px; background: radial-gradient(circle, rgba(212,151,28,.24), transparent 65%); pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box .btn { margin-top: 30px; }
.cta-note { display: block; margin-top: 16px; font-size: .82rem; color: var(--d-tt); font-family: "JetBrains Mono", monospace; }

/* ═══════════════ FOOTER ═══════════════ */
.footer { background: var(--d-0); color: var(--d-ts); padding: 56px 0 28px; }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 38px; border-bottom: 1px solid var(--d-line); }
.foot-brand .brand-name { color: var(--d-tp); }
.foot-brand p { margin-top: 12px; font-size: .92rem; color: var(--d-tt); max-width: 30ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { font-size: .92rem; color: var(--d-ts); transition: color .15s; }
.foot-links a:hover { color: var(--gold-2); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .82rem; color: var(--d-tt); font-family: "JetBrains Mono", monospace; }

/* ── WA FAB ── */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(31,170,84,.42); transition: transform .2s var(--ease), box-shadow .2s; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 16px 38px rgba(31,170,84,.5); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-screen { max-width: 540px; margin: 0 auto; }
  .winframe.tilt { transform: none; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .deliver-grid { grid-template-columns: repeat(2,1fr); }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); align-self: center; padding: 4px 0; }
  .float-chip { display: none; }
  .viewer { grid-template-columns: 1fr; gap: 16px; }
  .viewer-nav { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .vtab { flex: 0 0 auto; }
  .viewer-caption { text-align: center; margin-inline: auto; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 24px 22px; box-shadow: var(--sh-m); transform: translateY(-130%); transition: transform .3s var(--ease); visibility: hidden; }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 14px; border-bottom: 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .sec { padding: 66px 0; }
  .hero { padding: 44px 0 66px; }
  .cta-box { padding: 50px 24px; }
  .feat-grid, .deliver-grid, .who-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .app-kpis { grid-template-columns: repeat(2,1fr); }
  .app-row { grid-template-columns: 1fr; }
  .thead, .trow { grid-template-columns: .7fr 1.4fr .9fr 1fr; }
  .thead span:nth-child(3), .trow span:nth-child(3), .thead span:nth-child(5), .trow span:nth-child(5) { display: none; }
  .kanban { grid-template-columns: 1fr; }
}
/* ═══════════════ DARK MODE ═══════════════ */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #17120c;
    --bg-2:    #1e1810;
    --paper:   #231c12;
    --ink:     #f0e7d8;
    --ink-2:   #d4c9bc;
    --muted:   #9a8f82;
    --muted-2: #6e645a;
    --line:    rgba(255,225,180,.08);
    --line-2:  rgba(255,225,180,.15);
    --sh-s:    0 2px 10px rgba(0,0,0,.35);
    --sh-m:    0 16px 44px rgba(0,0,0,.45);
    --sh-l:    0 40px 90px rgba(0,0,0,.55), 0 14px 34px rgba(0,0,0,.35);
  }

  .nav {
    background: rgba(23,18,12,.88);
  }

  .btn-ghost {
    background: var(--d-tp);
    color: var(--d-0);
  }
  .btn-ghost:hover { background: var(--gold-2); color: var(--d-0); }

  .btn-outline { color: var(--ink-2); }

  .hero::before {
    background: radial-gradient(circle, rgba(212,151,28,.22), transparent 60%);
  }

  .cta-box::before {
    background: radial-gradient(circle, rgba(212,151,28,.30), transparent 65%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
