/* Jornada V3 - mockup navegável (proposta Claude, 18/jul/2026). Paleta Hortelã. */
:root {
  --brand: #0FB5A6;
  --ink: #0C1D1B;
  --paper: #F2F7F5;
  --muted: #587570;
  --acc: #FFB84D;
  --card: #ffffff;
  --line: #dbe7e4;
  --pcor: var(--brand); /* cor viva do tenant - repinta no passo da marca */
  --pon: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
h1, h2, h3, .display { font-family: 'Space Grotesk', 'Inter', sans-serif; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: var(--brand); }

/* ============ CAPA (index.html) ============ */
.cover { max-width: 980px; margin: 0 auto; padding: 48px 24px 80px; }
.cover-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--brand);
  display: grid; place-items: center; color: #fff; font-size: 22px;
}
.wordmark { font-family: 'Space Grotesk'; font-weight: 700; font-size: 22px; }
.tag {
  font-size: 12px; font-weight: 600; color: var(--muted); background: #fff;
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px;
}
.cover h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin-bottom: 14px; }
.lede { font-size: 17px; color: var(--muted); max-width: 720px; margin-bottom: 8px; }
.cover-section { margin-top: 48px; }
.cover-section h2 { font-size: 22px; margin-bottom: 18px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.why-card .num { font-family: 'Space Grotesk'; font-weight: 700; font-size: 26px; color: var(--brand); }
.why-card h3 { font-size: 15px; margin: 8px 0 6px; }
.why-card p { font-size: 13.5px; color: var(--muted); }
.flow-strip { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.flow-strip .row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 0; }
.flow-strip .row + .row { border-top: 1px dashed var(--line); }
.flow-strip .lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); min-width: 64px; }
.flow-strip .steps { font-size: 14px; }
.flow-strip .steps b { color: var(--brand); }
.cta-row { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 16px;
  padding: 14px 24px; border-radius: 14px; text-decoration: none;
  transition: transform .12s ease;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); }
.deep-links { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.deep-links a { display: inline-block; margin-right: 14px; }

/* ============ JORNADA (jornada.html) ============ */
.stage { min-height: 100vh; display: grid; place-items: center; padding: 0; }
.stage > div { width: 100%; }
.stage-cap { display: none; }
.phone {
  position: relative; width: 100%; height: 100vh; background: var(--paper);
  overflow: hidden;
}
@media (min-width: 760px) {
  .stage { padding: 32px 16px; }
  .stage > div { width: auto; }
  .stage-cap {
    display: flex; gap: 14px; align-items: center; margin-bottom: 14px;
    font-size: 13px; color: var(--muted);
  }
  .phone {
    width: 390px; height: 780px; border-radius: 44px;
    border: 10px solid var(--ink); box-shadow: 0 30px 70px rgba(12,29,27,.25);
  }
}

/* telas empilhadas */
.scr {
  position: absolute; inset: 0; display: none; flex-direction: column;
  overflow-y: auto; background: var(--paper);
}
.scr.on { display: flex; }

/* ---- tela 1: o que você vende ---- */
.t1 { padding: 28px 22px 32px; }
.t1-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.t1-brand .logo-mark { width: 28px; height: 28px; border-radius: 9px; font-size: 15px; }
.t1-brand span { font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px; }
.t1-brand .mini-tag { margin-left: auto; font-size: 11px; color: var(--muted); font-family: 'Inter'; font-weight: 600; }
.t1 h1 { font-size: 30px; line-height: 1.12; margin-bottom: 8px; }
.t1 .sub { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.tipo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tipo-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  padding: 18px 14px; text-align: left; display: flex; flex-direction: column; gap: 8px;
  transition: transform .1s ease, border-color .1s ease;
}
.tipo-card:active { transform: scale(.96); border-color: var(--brand); }
.tipo-card .emoji { font-size: 30px; line-height: 1; }
.tipo-card .nm { font-weight: 700; font-size: 15px; font-family: 'Space Grotesk'; }
.tipo-card .ds { font-size: 12px; color: var(--muted); }
.t1-foot { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---- montagem (overlay) ---- */
.mont {
  position: absolute; inset: 0; z-index: 40; background: var(--ink); color: #fff;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; text-align: center; padding: 30px;
}
.mont.on { display: flex; }
.mont h2 { font-size: 20px; font-weight: 600; }
.mont .pecas { display: flex; gap: 14px; }
.mont .peca {
  width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; font-size: 24px; color: rgba(255,255,255,.35);
  transform: scale(.8); transition: all .28s cubic-bezier(.2,1.4,.4,1);
}
.mont .peca.on { background: var(--brand); color: #fff; transform: scale(1); }
.mont .peca-lbl { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 6px; }
.mont .peca-wrap { display: flex; flex-direction: column; align-items: center; }

/* ---- demo: a ferramenta viva ---- */
.app-head {
  background: var(--pcor); color: var(--pon); padding: 14px 16px 12px;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.app-head .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: grid; place-items: center; font-weight: 700; font-family: 'Space Grotesk';
}
.app-head .who { display: flex; flex-direction: column; }
.app-head .who b { font-family: 'Space Grotesk'; font-size: 15px; line-height: 1.2; }
.app-head .who span { font-size: 11px; opacity: .85; }
.chip-ex {
  margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
  background: rgba(255,255,255,.22); padding: 3px 9px; border-radius: 99px;
}
.app-body { flex: 1; overflow-y: auto; padding: 14px 14px 150px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; margin-bottom: 12px;
}
.card h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); margin-bottom: 10px; font-family: 'Inter'; font-weight: 700;
}
.money { display: flex; justify-content: space-between; text-align: center; gap: 6px; }
.money .m { flex: 1; }
.money .m .lbl { font-size: 11px; color: var(--muted); font-weight: 600; }
.money .m .val { font-family: 'Space Grotesk'; font-weight: 700; font-size: 17px; }
.money .m.sobrou .val { color: var(--pcor); font-size: 21px; }
.money .m.sobrou .lbl { color: var(--pcor); }
.money-pulse { animation: pulse 1.6s ease 2; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(15,181,166,0); } 40% { box-shadow: 0 0 0 6px rgba(15,181,166,.18); } }
.fornada-item, .ped-card { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.fornada-item + .fornada-item, .ped-card + .ped-card { border-top: 1px dashed var(--line); }
.fornada-item .emoji { font-size: 20px; }
.fornada-item .tx { flex: 1; font-size: 14px; }
.fornada-item .tx small { display: block; color: var(--muted); font-size: 12px; }
.check {
  width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: transparent; font-size: 13px; flex-shrink: 0;
}
.fornada-item.done .check { background: var(--pcor); border-color: var(--pcor); color: var(--pon); }
.fornada-item.done .tx { text-decoration: line-through; color: var(--muted); }
.ped-card .tx { flex: 1; font-size: 14px; }
.ped-card .tx small { display: block; color: var(--muted); font-size: 12px; }
.ped-card .valor { font-weight: 700; font-family: 'Space Grotesk'; font-size: 14px; }
.status {
  font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px;
  background: #eef4f2; color: var(--muted); flex-shrink: 0;
}
.status.s1 { background: #fff3dd; color: #9a6b00; }
.status.s2 { background: #e2f5f3; color: #0a7c72; }
.status.s3 { background: var(--pcor); color: var(--pon); }
.dia-lbl { font-size: 12px; font-weight: 700; color: var(--muted); margin: 14px 2px 6px; text-transform: uppercase; letter-spacing: .04em; }
.lanc { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; }
.lanc + .lanc { border-top: 1px dashed var(--line); }
.lanc .neg { color: #b4231f; }
.lanc .pos { color: #0a7c72; font-weight: 600; }

/* barra fixa de personalização + abas */
.bar {
  position: absolute; left: 10px; right: 10px; bottom: 68px; z-index: 20;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 30px rgba(12,29,27,.35);
}
.bar .tx { flex: 1; font-size: 12.5px; line-height: 1.35; }
.bar .tx b { font-family: 'Space Grotesk'; font-size: 13.5px; display: block; }
.bar .btn-bar {
  background: var(--acc); color: var(--ink); font-weight: 700; font-size: 13px;
  padding: 10px 14px; border-radius: 11px; flex-shrink: 0;
}
.tabs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; height: 60px;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: stretch;
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--muted);
}
.tab i { font-size: 20px; }
.tab.on { color: var(--pcor); }

/* ---- bottom sheets (3 toques) ---- */
.veil {
  position: absolute; inset: 0; z-index: 30; background: rgba(12,29,27,.45);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.veil.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 35;
  background: #fff; border-radius: 22px 22px 0 0; padding: 18px 18px 26px;
  transform: translateY(105%); transition: transform .26s cubic-bezier(.2,1,.3,1);
}
.sheet.on { transform: translateY(0); }
.sheet .grip { width: 40px; height: 4px; border-radius: 99px; background: var(--line); margin: 0 auto 14px; }
.sheet .toque { font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .05em; text-transform: uppercase; }
.sheet h3 { font-size: 19px; margin: 4px 0 12px; }
.opt-list { display: flex; flex-direction: column; gap: 9px; }
.opt {
  display: flex; align-items: center; gap: 11px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px;
  background: #fff; font-size: 14.5px; font-weight: 600;
}
.opt i { font-size: 20px; color: var(--muted); }
.opt.on { border-color: var(--brand); background: #f0fbfa; }
.opt.on i { color: var(--brand); }
.opt small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.opt-row { display: flex; gap: 8px; }
.opt-row .opt { flex: 1; flex-direction: column; text-align: center; gap: 5px; padding: 11px 6px; font-size: 13px; }
.mini-lbl { font-size: 12px; font-weight: 700; color: var(--muted); margin: 12px 0 7px; }
.sheet .go {
  margin-top: 16px; width: 100%; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 15px; padding: 14px; border-radius: 13px;
}
.sheet .go:disabled { opacity: .35; }
.sheet input[type="text"] {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px;
  padding: 13px 14px; font: inherit; font-size: 16px;
}
.sheet input[type="text"]:focus { outline: none; border-color: var(--brand); }
.cores { display: flex; gap: 10px; margin-top: 4px; }
.cor {
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent;
  outline: 1.5px solid var(--line);
}
.cor.on { border-color: #fff; outline: 2.5px solid var(--ink); }
.balcao-chk { display: flex; align-items: center; gap: 9px; margin-top: 11px; font-size: 13px; color: var(--muted); }
.balcao-chk input { width: 17px; height: 17px; accent-color: var(--brand); }

/* toast de ganho */
.toast {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%) translateY(-8px);
  z-index: 50; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 99px; opacity: 0; transition: all .25s ease;
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: var(--acc); }

/* ---- guardar / otp / pronto ---- */
.t-save { padding: 24px 22px 32px; }
.back-link { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; display: inline-flex; gap: 6px; align-items: center; }
.mini-tool {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  margin-bottom: 20px; background: #fff;
}
.mini-tool .mt-head { background: var(--pcor); color: var(--pon); padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.mini-tool .mt-head b { font-family: 'Space Grotesk'; font-size: 14px; }
.mini-tool .mt-head .ok-badge { margin-left: auto; font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,.25); padding: 3px 8px; border-radius: 99px; }
.mini-tool .mt-body { padding: 10px 14px; display: flex; gap: 8px; }
.mini-tool .pill { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--paper); border-radius: 99px; padding: 4px 10px; }
.t-save h2 { font-size: 25px; line-height: 1.15; margin-bottom: 8px; }
.t-save .sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px;
  padding: 14px; font: inherit; font-size: 16px; background: #fff;
}
.field input:focus { outline: none; border-color: var(--brand); }
.cta-full {
  margin-top: 14px; width: 100%; background: var(--brand); color: #fff;
  font-weight: 700; font-size: 15.5px; padding: 15px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.fine { font-size: 12px; color: var(--muted); margin-top: 12px; }
.fine a { color: var(--muted); }
.trust { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.trust li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.trust i { color: var(--brand); }
.otp-row { display: flex; gap: 8px; justify-content: center; margin: 22px 0 14px; }
.otp-d {
  width: 44px; height: 54px; border: 1.5px solid var(--line); border-radius: 12px;
  text-align: center; font-size: 22px; font-family: 'Space Grotesk'; font-weight: 700;
  background: #fff;
}
.otp-d:focus { outline: none; border-color: var(--brand); }
.t-center { text-align: center; padding: 40px 26px; margin: auto 0; }
.big-check {
  width: 74px; height: 74px; border-radius: 50%; background: var(--pcor); color: var(--pon);
  display: grid; place-items: center; font-size: 36px; margin: 0 auto 18px;
  animation: pop .4s cubic-bezier(.2,1.6,.4,1);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.t-center h2 { font-size: 26px; margin-bottom: 8px; }
.t-center .sub { font-size: 14px; color: var(--muted); }
.note-mock {
  margin-top: 26px; font-size: 12.5px; color: var(--muted); background: #fff;
  border: 1px dashed var(--line); border-radius: 12px; padding: 12px; text-align: left;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
