/* ViaCarjo · design system v2. App de uma coluna; ultramar como marca; lavanda nos detalhes; cenas de cidade. */
:root {
  --ground: #E3E7F4; --bg: #F6F7FC; --card: #FFFFFF; --soft: #EDEFF8; --line: #D6DAEA;
  --ink: #0E1330; --ink-2: #474D6C; --ink-3: #656B87;
  --ultra: #3346F0; --ultra-press: #2636D6; --ultra-soft: #ECEEFF; --ultra-ink: #2331C4; --on-ultra: #FFFFFF;
  --sky-a: #C9D8FF; --sky-b: #EEF1FF; --dusk: #E7E9F8; --sun: #FFFFFF; --city-1: #A7B0E2; --city-2: #6E79C4; --city-3: #2A3272;
  --ok: #0A7556; --ok-soft: #E3F6F0; --warn: #875500; --warn-soft: #FFF3D9; --no: #B3303F; --no-soft: #FDECEE; --hyp: #6A45D8; --hyp-soft: #F1ECFF;
  --scrim: rgb(14 19 48 / .36);
  --shadow: 0 1px 2px rgb(14 19 48 / .05), 0 16px 40px -18px rgb(14 19 48 / .22);
  --font: "Onest", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ground: #0F1228; --bg: #141832; --card: #1C2144; --soft: #252B54; --line: #363D6E;
  --ink: #FFFFFF; --ink-2: #DEE0EA; --ink-3: #B8BCCD;
  --ultra: #9AA2E6; --ultra-press: #8A93DC; --ultra-soft: #2A3163; --ultra-ink: #E4E7FA; --on-ultra: #10142E;
  --sky-a: #34408F; --sky-b: #4A4F9C; --dusk: #7A5A8E; --sun: #FFF6EC; --city-1: #4752A6; --city-2: #333D88; --city-3: #222A63;
  --ok: #86C4AA; --ok-soft: #1E3437; --warn: #D6B677; --warn-soft: #38321F; --no: #E09AA2; --no-soft: #3E2433; --hyp: #C2AEFF; --hyp-soft: #3E3478;
  --scrim: rgb(10 12 30 / .55); --shadow: 0 1px 2px rgb(8 10 28 / .25), 0 16px 40px -18px rgb(8 10 28 / .6); color-scheme: dark } }
:root[data-theme="dark"] {
  --ground: #0F1228; --bg: #141832; --card: #1C2144; --soft: #252B54; --line: #363D6E;
  --ink: #FFFFFF; --ink-2: #DEE0EA; --ink-3: #B8BCCD;
  --ultra: #9AA2E6; --ultra-press: #8A93DC; --ultra-soft: #2A3163; --ultra-ink: #E4E7FA; --on-ultra: #10142E;
  --sky-a: #34408F; --sky-b: #4A4F9C; --dusk: #7A5A8E; --sun: #FFF6EC; --city-1: #4752A6; --city-2: #333D88; --city-3: #222A63;
  --ok: #86C4AA; --ok-soft: #1E3437; --warn: #D6B677; --warn-soft: #38321F; --no: #E09AA2; --no-soft: #3E2433; --hyp: #C2AEFF; --hyp-soft: #3E3478;
  --scrim: rgb(10 12 30 / .55); --shadow: 0 1px 2px rgb(8 10 28 / .25), 0 16px 40px -18px rgb(8 10 28 / .6); color-scheme: dark }

* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { background: var(--ground); color: var(--ink); font: 400 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; overflow: hidden; }
button, select { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
input, select, textarea { font: inherit; color: inherit; min-width: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ultra); outline-offset: 2px; border-radius: 12px; }
.i { width: 22px; height: 22px; flex: none; }
.press { transition: transform .16s cubic-bezier(.3,.7,.4,1), background .15s, box-shadow .15s; } .press:active { transform: scale(.97); }
.muted { color: var(--ink-2); } .sm { font-size: 13px; } .ok { color: var(--ok); } .danger { color: var(--no) !important; }
.fine { font-size: 12px; color: var(--ink-3); text-align: center; line-height: 1.5; } .fine.left { text-align: left; } .fine .i { width: 13px; height: 13px; vertical-align: -2px; }
.fine a { text-decoration: underline; }
.mono { font: 11.5px/1.6 ui-monospace, Menlo, monospace; color: var(--ink-3); word-break: break-all; }

/* casca de app */
#app { height: 100%; }
.device { position: relative; height: 100%; max-width: 440px; margin: 0 auto; background: var(--bg); overflow: hidden; }
@media (min-width: 700px) { body { padding-block: 24px; } .device { height: min(920px, calc(100% - 48px)); border-radius: 46px; box-shadow: 0 0 0 10px var(--card), 0 0 0 11px var(--line), 0 50px 100px -40px rgb(14 19 48 / .45); } }
.scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.skel { padding: 90px 20px; display: grid; gap: 14px; } .skel i { height: 120px; border-radius: 24px; background: linear-gradient(90deg, var(--soft), var(--card), var(--soft)); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

.appbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px; transition: background .25s, box-shadow .25s; }
.appbar.solid, .appbar.scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line); }
.appbar .t { flex: 1; text-align: center; font-weight: 700; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.appbar.over .t { opacity: 0; transform: translateY(4px); transition: .25s; } .appbar.over.scrolled .t { opacity: 1; transform: none; }
.ib { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.appbar.over .ib { background: color-mix(in srgb, var(--card) 72%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-right: 8px; } .brand .logo { width: 28px; height: 28px; } .brand b { font-weight:700; letter-spacing: -.04em; font-size: 18px; }
.appbar.over .brand { padding: 0 12px 0 6px; border-radius: 99px; background: color-mix(in srgb, var(--card) 72%, transparent); backdrop-filter: blur(10px); }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--ultra); color: var(--on-ultra); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.av.lg { width: 48px; height: 48px; font-size: 18px; } .av.sm { width: 32px; height: 32px; font-size: 13px; background: var(--ultra-soft); color: var(--ultra-ink); }
.progress { flex: 1; display: grid; grid-auto-flow: column; gap: 6px; padding: 0 8px; } .progress i { height: 4px; border-radius: 99px; background: var(--line); transition: background .3s; } .progress i.on { background: var(--ultra); }

/* dock e abas */
.dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding: 12px 16px calc(4px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--bg) 72%, color-mix(in srgb, var(--bg) 0%, transparent)); }
.dock-cta { padding-bottom: 6px; }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 4px; }
.tabs a { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--ink-3); padding-bottom: 6px; }
.tabs .pi { display: grid; place-items: center; width: 56px; height: 30px; border-radius: 99px; transition: background .2s; }
.tabs a.on { color: var(--ultra-ink); } .tabs a.on .pi { background: var(--ultra-soft); color: var(--ultra); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 18px; border-radius: 16px; font-weight: 700; font-size: 15px; width: 100%; text-align: center; }
.btn.main { height: 56px; border-radius: 18px; background: var(--ultra); color: var(--on-ultra); font-size: 16px; box-shadow: 0 14px 28px -14px var(--ultra); }
.btn.main:hover { background: var(--ultra-press); } .btn[disabled] { opacity: .5; cursor: default; box-shadow: none; }
.btn.soft { background: var(--ultra-soft); color: var(--ultra-ink); } .btn.soft.sm { height: 38px; width: auto; padding: 0 14px; font-size: 14px; }
.btn.danger { background: var(--no); color: #fff; }
.link { color: var(--ultra-ink); font-weight: 600; font-size: 14px; } .link.sm { font-size: 13px; }

/* capa */
.cover { position: relative; height: 340px; overflow: hidden; }
.cover.tall { height: 420px; }
.cover .art, .d-art .art, .mini .art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, var(--bg)); }
.cover-txt { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 96px; }
.cover.tall .cover-txt { bottom: 40px; }
.cover .k { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ultra-ink); } .cover .k .i { width: 16px; height: 16px; }
.display { font-size: 54px; line-height: .98; font-weight:700; letter-spacing: -.055em; margin-top: 6px; text-wrap: balance; }
.display.sm { font-size: 40px; }
.lede { font-size: 16px; color: var(--ink-2); margin-top: 10px; }
.facts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.facts span { height: 28px; padding: 0 11px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; background: color-mix(in srgb, var(--card) 74%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink-2); }

/* pilha de conteúdo */
.stack { position: relative; z-index: 2; padding: 0 16px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.stack.overlap { margin-top: -76px; }
.stack.pad-top { padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
.title-blk { padding: 4px 4px 8px; } .title-blk.center { text-align: center; justify-items: center; display: grid; gap: 6px; }
.title-blk.row-t { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.h1 { font-size: 30px; line-height: 1.1; font-weight:700; letter-spacing: -.04em; text-wrap: balance; }
.h2 { font-size: 21px; line-height: 1.2; font-weight:700; letter-spacing: -.03em; text-wrap: balance; } .h2.big { font-size: 26px; margin-top: 10px; }
.h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin: 8px 0; }
.eyebrow { font-size: 12.5px; font-weight: 700; color: var(--ultra-ink); letter-spacing: .02em; }
.h { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 4px 0; }
.h h3 { font-size: 19px; font-weight:700; letter-spacing: -.03em; } .h a, .h button { font-size: 13.5px; font-weight: 600; color: var(--ultra-ink); }
.lbl { font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 14px 4px 2px; }
.card { background: var(--card); border-radius: 24px; padding: 18px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 12px; }
.card.hero, .card.status { box-shadow: var(--shadow); border-radius: 30px; padding: 20px; gap: 16px; }
.anim { animation: rise .45s cubic-bezier(.2,.75,.2,1) both; }
@keyframes rise { from { opacity: .001; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hero-top .big { font-size: 30px; font-weight:700; letter-spacing: -.04em; margin-top: 2px; }

/* selos */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.tag .i { width: 13px; height: 13px; } .tag.sm { font-size: 11px; padding: 3px 8px; justify-self: start; }
.tag.rec { background: var(--ultra-soft); color: var(--ultra-ink); } .tag.sel { background: var(--ultra); color: var(--on-ultra); } .tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.pend { background: var(--soft); color: var(--ink-2); } .tag.rev { background: var(--warn-soft); color: var(--warn); } .tag.no { background: var(--no-soft); color: var(--no); }
.tag.unk { background: var(--soft); color: var(--ink-3); } .tag.hyp { background: var(--hyp-soft); color: var(--hyp); } .tag.par { background: var(--warn-soft); color: var(--warn); margin-bottom: 4px; }

/* anel e números */
.ring { position: relative; flex: none; } .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .trk { stroke: var(--ultra-soft); } .ring .val { stroke: var(--ultra); transition: stroke-dashoffset 1.1s cubic-bezier(.2,.75,.2,1); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 19px; font-weight:700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.num { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; text-decoration: underline dotted color-mix(in srgb, var(--ink-3) 60%, transparent); text-underline-offset: 4px; cursor: help; }
.num.neg { color: var(--no); } .num.pos { color: var(--ok); } .num.nd { color: var(--ink-3); text-decoration: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 20px; }
.pair > div { padding: 14px 16px; } .pair > div + div { border-left: 1px solid var(--line); }
.pair dt { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.pair dd { font-size: 22px; font-weight:700; letter-spacing: -.035em; margin-top: 2px; font-variant-numeric: tabular-nums; } .pair dd small { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.pair dd .num { font-size: 20px; } .pair.sm dd { font-size: 17px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; } .tags span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--soft); padding: 7px 11px 7px 8px; border-radius: 12px; }
.tags .i { width: 16px; height: 16px; color: var(--ok); }
.req { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; } .req .i { width: 17px; height: 17px; color: var(--ink-3); margin-top: 1px; }
.req.not_eligible { color: var(--no); } .req.not_eligible .i { color: var(--no); } .req.needs_review .i { color: var(--warn); }
.pending { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--ultra-soft); color: var(--ultra-ink); font-weight: 600; font-size: 14px; width: 100%; }
.pending span { flex: 1; } .pending .i { width: 18px; height: 18px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dots { display: grid; grid-auto-flow: column; gap: 4px; } .dots i { height: 6px; border-radius: 99px; background: var(--line); } .dots i.j-done { background: var(--ultra); } .dots i.j-current { background: color-mix(in srgb, var(--ultra) 45%, var(--card)); }
.save { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--ultra-soft); }
.save .s-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--card); color: var(--ultra); display: grid; place-items: center; }
.save b { font-size: 20px; } .save em { font-style: normal; font-size: 13px; color: var(--ink-3); font-weight: 600; } .save small { color: var(--ink-2); }

/* listas e linhas */
.t-m { flex: 1; min-width: 0; display: grid; gap: 1px; } .t-m b { font-weight: 700; font-size: 15px; letter-spacing: -.01em; } .t-m small { font-size: 12.5px; color: var(--ink-3); }
.list { padding: 4px 0; gap: 0; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; width: 100%; min-height: 60px; }
.row + .row { border-top: 1px solid var(--line); } .row > .i { color: var(--ink-3); width: 18px; } .row[disabled] { opacity: .6; cursor: default; }
.row.on { background: var(--ultra-soft); }
.r-ic { width: 40px; height: 40px; border-radius: 13px; background: var(--soft); color: var(--ultra); display: grid; place-items: center; flex: none; } .r-ic .i { width: 20px; height: 20px; }
.mini { position: relative; width: 52px; height: 40px; border-radius: 12px; overflow: hidden; flex: none; }
.val { font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--ink-2); } .val.ok { color: var(--ok); }
.pad { padding: 12px 16px; }
.st { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.st.done { background: var(--ultra); color: var(--on-ultra); } .st.done .i { width: 15px; height: 15px; stroke-width: 2.6; }
.st.prog { border: 2px solid var(--ultra); background: conic-gradient(var(--ultra) 50%, transparent 0); }
.st.todo { border: 2px solid var(--line); } .st.lk { background: var(--soft); color: var(--ink-3); } .st.lk .i { width: 13px; height: 13px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 14px; border-radius: 99px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--ultra); color: var(--on-ultra); box-shadow: none; } .chip.static { cursor: default; } .chip b { color: var(--ink); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--soft); }
.seg button { height: 42px; border-radius: 12px; text-align: center; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s; }
.seg button.on { background: var(--card); color: var(--ultra-ink); box-shadow: 0 1px 3px rgb(14 19 48 / .12); }
.link-row { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-weight: 600; width: 100%; }
.link-row span { flex: 1; } .link-row .i:first-child { color: var(--ultra); } .link-row .i:last-child { color: var(--ink-3); width: 18px; }
.note-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: var(--ultra); color: var(--on-ultra); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); width: 100%; }
.note-bar span { flex: 1; } .note-bar .i { width: 18px; height: 18px; }
.sbx { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--warn); background: var(--warn-soft); padding: 10px 12px; border-radius: 14px; }
.sbx .i { width: 16px; height: 16px; margin-top: 1px; }
.err { color: var(--no); font-size: 14px; font-weight: 500; }

/* trilhos horizontais */
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.dest, .fut, .cmp { flex: none; scroll-snap-align: start; background: var(--card); border-radius: 22px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; display: grid; align-content: start; }
.dest { width: 150px; } .dest b, .fut b, .cmp b { padding: 10px 12px 0; font-weight: 700; } .dest small, .fut small { padding: 0 12px 12px; font-size: 12.5px; color: var(--ink-3); }
.dest.sm { width: auto; } .dest.sm b { padding-bottom: 10px; font-size: 14px; }
.fut { width: 240px; } .fut b { font-size: 15px; line-height: 1.25; }
.d-art { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.cmp { width: 250px; padding-bottom: 12px; gap: 8px; } .cmp.cur { box-shadow: 0 0 0 2px var(--ultra); }
.cmp dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 0 12px; font-size: 13px; } .cmp dt { color: var(--ink-3); } .cmp dd { margin: 0; font-weight: 600; }
.cmp .btn { width: auto; margin: 0 12px; height: 40px; font-size: 13.5px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rt { flex: none; width: 160px; scroll-snap-align: start; background: var(--card); border-radius: 22px; padding: 14px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 6px; align-content: start; }
.rt[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ultra); }
.rt-ic { width: 40px; height: 40px; border-radius: 13px; background: var(--soft); display: grid; place-items: center; color: var(--ink-2); margin-bottom: 4px; }
.rt[aria-pressed="true"] .rt-ic { background: var(--ultra); color: var(--on-ultra); }
.rt b { font-weight: 700; } .rt small { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.strip { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; } .strip::-webkit-scrollbar { display: none; }
.svc { flex: none; height: 40px; padding: 0 16px; border-radius: 99px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: 13.5px; color: var(--ink-2); }

/* início */
.next { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); width: 100%; }
.n-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--ultra); color: var(--on-ultra); display: grid; place-items: center; flex: none; }
.next small { color: var(--ultra-ink); font-weight: 700; font-size: 12px; } .next > .i { color: var(--ink-3); width: 18px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--card); border-radius: 22px; padding: 14px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 4px; align-content: start; min-height: 108px; }
.t-k { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; } .t-k .i { width: 16px; height: 16px; color: var(--ultra); }
.tile b { font-size: 16px; font-weight:700; letter-spacing: -.02em; line-height: 1.2; } .tile small { font-size: 12.5px; color: var(--ink-3); }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); width: 100%; }
.a-ic { width: 36px; height: 36px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); display: grid; place-items: center; flex: none; } .a-ic .i { width: 18px; height: 18px; }
.alert b { display: block; font-weight: 700; font-size: 14.5px; } .alert small { color: var(--ink-2); font-size: 13px; }
.card.plain { gap: 6px; } .card.plain p { font-size: 14px; color: var(--ink-2); }
.ask { display: flex; gap: 8px; align-items: center; padding: 5px 5px 5px 16px; border-radius: 99px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.ask input { flex: 1; border: 0; outline: 0; background: none; height: 42px; font-size: 15px; }
.ask-go { width: 42px; height: 42px; border-radius: 50%; background: var(--ultra); color: var(--on-ultra); display: grid; place-items: center; } .ask-go .i { width: 20px; height: 20px; }

/* primeiro acesso */
.onb { padding: calc(80px + env(safe-area-inset-top, 0px)) 18px 20px; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.qt { font-size: 30px; line-height: 1.1; font-weight:700; letter-spacing: -.04em; margin-bottom: 10px; text-wrap: balance; }
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goal { display: grid; gap: 10px; padding: 16px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-weight: 700; min-height: 104px; align-content: space-between; }
.goal .i { width: 28px; height: 28px; color: var(--ultra); } .goal.on { background: var(--ultra); color: var(--on-ultra); box-shadow: none; } .goal.on .i { color: var(--on-ultra); }
.countries { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.country { background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); display: grid; } .country b { padding: 10px 12px; font-weight: 700; }
.country .d-art { aspect-ratio: 16 / 9; } .country.on { box-shadow: 0 0 0 2.5px var(--ultra); }
.money { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.money span { font-size: 20px; font-weight: 700; color: var(--ink-3); }
.money input { flex: 1; border: 0; outline: 0; background: none; font-size: 32px; font-weight:700; letter-spacing: -.04em; width: 100%; font-variant-numeric: tabular-nums; }
.money.sm input { font-size: 24px; }
.money:focus-within { box-shadow: 0 0 0 2px var(--ultra); }

/* jornada */
.tl { list-style: none; padding: 4px 4px 0; }
.tl li { position: relative; padding-left: 38px; }
.tl li::before { content: ""; position: absolute; left: 11px; top: 30px; bottom: -6px; width: 2px; background: var(--line); } .tl li:last-child::before { display: none; }
.tl li.j-done::before { background: var(--ultra); }
.tl .dot { position: absolute; left: 0; top: 14px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); display: grid; place-items: center; }
.tl li.j-done .dot { background: var(--ultra); border-color: var(--ultra); color: var(--on-ultra); } .tl .dot .i { width: 14px; height: 14px; stroke-width: 2.8; }
.tl li.j-current .dot { border-color: var(--ultra); box-shadow: inset 0 0 0 5px var(--ultra); }
.tl summary { list-style: none; padding: 14px 0; display: grid; cursor: pointer; } .tl summary::-webkit-details-marker { display: none; }
.tl summary b { font-weight: 700; } .tl summary small { color: var(--ink-3); font-size: 13px; } .tl li.j-pending summary b { color: var(--ink-2); font-weight: 600; }
.tl-b { padding-bottom: 8px; }
.task { display: flex; gap: 12px; padding: 10px 0; } .task + .task { border-top: 1px solid var(--line); }
.task.done .t-m b { color: var(--ink-3); text-decoration: line-through; }
.task details summary { font-size: 12.5px; color: var(--ultra-ink); cursor: pointer; margin-top: 2px; } .task details p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.box { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; margin-top: 1px; }
.box.on { background: var(--ultra); border-color: var(--ultra); color: var(--on-ultra); } .box .i { width: 15px; height: 15px; stroke-width: 2.6; } .box.dim { border-style: dashed; }
.lock { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--ultra-soft); color: var(--ultra-ink); width: 100%; }
.l-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--card); color: var(--ultra); display: grid; place-items: center; flex: none; }
.lock small { color: var(--ultra-ink); opacity: .8; }
.cal-m { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-top: 4px; }
.cal-r { display: flex; gap: 14px; font-size: 14px; padding: 6px 0; } .cal-r span { width: 56px; font-weight: 700; color: var(--ultra-ink); font-variant-numeric: tabular-nums; } .cal-r b { font-weight: 600; }
.cal-r.departure b, .cal-r.departure span { color: var(--ultra); font-weight:700; }

/* dinheiro */
.rows { gap: 0; padding: 4px 16px; }
.rows > div, .rows > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-size: 14.5px; }
.rows > * + * { border-top: 1px solid var(--line); }
.rows span { color: var(--ink-2); } .rows .sub { padding: 6px 0 6px 12px; font-size: 13px; } .rows .sub span, .rows .sub .num { color: var(--ink-3); font-weight: 500; }
.rows .tot span { color: var(--ink); font-weight:700; } .rows .tot .num { font-size: 17px; }
.rows.flat { background: var(--soft); box-shadow: none; }
.lockline { color: var(--ultra-ink) !important; justify-content: flex-start !important; gap: 8px !important; } .lockline span { color: var(--ultra-ink) !important; font-weight: 600 !important; } .lockline .i { width: 15px; height: 15px; }
.proof { display: flex; gap: 12px; flex-direction: row; align-items: flex-start; }
.proof.determined .a-ic { background: var(--ok-soft); color: var(--ok); }
.scn { border: 1.5px dashed color-mix(in srgb, var(--hyp) 45%, transparent); box-shadow: none; }

/* conversa */
.chat { display: grid; gap: 10px; }
.q { justify-self: end; max-width: 85%; background: var(--ultra); color: var(--on-ultra); padding: 10px 14px; border-radius: 20px 20px 6px 20px; font-size: 15px; }
.chat .q { font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.4; margin: 0; }
.a { max-width: 92%; background: var(--card); box-shadow: 0 0 0 1px var(--line); padding: 12px 14px; border-radius: 20px 20px 20px 6px; display: grid; gap: 8px; justify-items: start; font-size: 15px; }
.a .btn { height: 42px; width: auto; font-size: 14px; } .a.unk { color: var(--ink-2); }
.typing { display: flex; gap: 4px; padding: 16px; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: bl 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bl { 50% { opacity: .25; } }

/* perfil, premium, pagamento */
.me { display: flex; align-items: center; gap: 14px; flex-direction: row; }
.plan-card { display: flex; flex-direction: row; align-items: center; gap: 12px; background: var(--ultra-soft); box-shadow: none; } .plan-card b { font-size: 18px; color: var(--ultra-ink); }
.form { gap: 12px; }
.form label, .fl { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.form input:not([type=checkbox]), .form select { height: 48px; border: 0; border-radius: 14px; background: var(--soft); padding: 0 14px; font-size: 15.5px; color: var(--ink); width: 100%; outline: 0; }
.form input:focus { box-shadow: 0 0 0 2px var(--ultra); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex !important; flex-direction: row; gap: 10px; align-items: flex-start; color: var(--ink-2) !important; font-weight: 500 !important; font-size: 14px !important; }
.check input { width: 20px; height: 20px; accent-color: var(--ultra); margin-top: 1px; flex: none; }
.sw { appearance: none; width: 46px; height: 28px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .2); transition: transform .2s; }
.sw:checked { background: var(--ultra); } .sw:checked::after { transform: translateX(18px); } .sw:disabled { opacity: .4; }
.prem-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--ultra); color: var(--on-ultra); display: grid; place-items: center; } .prem-ic .i { width: 28px; height: 28px; }
.offer-plan { display: grid; gap: 6px; text-align: left; width: 100%; } .offer-plan.hl { box-shadow: 0 0 0 2px var(--ultra), var(--shadow); }
.op-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; } .op-h b { font-size: 17px; } .op-p { font-size: 20px; font-weight:700; color: var(--ultra-ink); white-space: nowrap; letter-spacing: -.03em; }
.offer-plan small { color: var(--ink-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; } .tbl th, .tbl td { padding: 9px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.tbl td:first-child, .tbl th:first-child { text-align: left; color: var(--ink-2); } .tbl th { font-size: 12px; color: var(--ink-3); } .tbl td:last-child { color: var(--ultra-ink); font-weight: 700; } .tbl tr:last-child td { border: 0; }
.sum { display: grid; gap: 4px; }
.form .money, .panel .money { display: flex; gap: 8px; align-items: baseline; padding: 10px 16px; }
.form .money input, .panel .money input { background: none !important; height: auto !important; padding: 0 !important; box-shadow: none !important; font-size: 30px; font-weight:700; }
.form.card .money { background: var(--soft); box-shadow: none; } .sum b { font-size: 22px; letter-spacing: -.03em; }
.pix code { display: block; padding: 12px; border-radius: 12px; background: var(--soft); font-size: 11.5px; word-break: break-all; }
.paid { padding: 160px 24px 24px; display: grid; justify-items: center; text-align: center; gap: 10px; }
.done-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; } .done-ic .i { width: 38px; height: 38px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.empty { padding: 140px 28px 28px; display: grid; justify-items: center; text-align: center; gap: 10px; }
.e-ic { width: 64px; height: 64px; border-radius: 22px; background: var(--ultra-soft); color: var(--ultra); display: grid; place-items: center; margin-bottom: 6px; } .e-ic .i { width: 30px; height: 30px; }
.empty .btn { margin-top: 12px; }
.export { width: 100%; height: 220px; border: 0; border-radius: 14px; background: var(--soft); padding: 12px; font: 11.5px/1.5 ui-monospace, Menlo, monospace; resize: vertical; }
.tech summary { font-size: 13px; color: var(--ink-3); cursor: pointer; }

/* folhas */
.sheet { position: absolute; inset: 0; z-index: 30; }
.scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .3s; }
.panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90%; overflow-y: auto; background: var(--card); border-radius: 30px 30px 0 0; padding: 0 20px calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .42s cubic-bezier(.2,.85,.2,1); display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.sheet.open .scrim { opacity: 1; } .sheet.open .panel { transform: translateY(var(--dy, 0px)); } .panel.dragging { transition: none; }
.grab { padding: 12px 0 2px; cursor: grab; touch-action: none; } .grab i { display: block; width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto; }
.panel h4 { font-size: 22px; font-weight:700; letter-spacing: -.035em; line-height: 1.15; }
.panel .prem-ic { width: 48px; height: 48px; }
.bars { display: grid; gap: 12px; } .bars p { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; } .bars p span { color: var(--ink-2); }
.bars i { display: block; height: 12px; border-radius: 99px; background: var(--ultra); transform-origin: left; animation: grow .8s cubic-bezier(.2,.75,.2,1) both; } .bars .late i { background: var(--no); animation-delay: .15s; }
@keyframes grow { from { transform: scaleX(.02); } }
.verdict { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: var(--no-soft); } .verdict .a-ic { background: var(--card); color: var(--no); } .verdict.good { background: var(--ok-soft); } .verdict.good .a-ic { color: var(--ok); }
.toast { position: absolute; left: 50%; bottom: 150px; z-index: 40; transform: translate(-50%, 12px); opacity: 0; background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 500; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* abertura */
#splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ultra); transition: opacity .35s; }
#splash.out { opacity: 0; pointer-events: none; }
#splash .logo { display: none; }
#app { opacity: 0; transition: opacity .35s; } body.ready #app { opacity: 1; }

/* sonhos: cards comerciais da home */
.dream-sub { margin: -6px 4px 2px; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.dream { flex: none; width: 264px; scroll-snap-align: start; background: var(--card); border-radius: 24px; box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; display: grid; align-content: start; text-align: left; }
.dream .d-art { aspect-ratio: 16 / 10; }
.dream-b { display: grid; gap: 10px; padding: 14px 16px 16px; }
.dream-b > b { font-size: 16.5px; font-weight:700; letter-spacing: -.02em; line-height: 1.2; min-height: 40px; }
.dream-v { display: grid; }
.dream-v small { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.dream-v strong { font-size: 28px; font-weight:700; letter-spacing: -.045em; line-height: 1.1; color: var(--ultra-ink); font-variant-numeric: tabular-nums; }
.dream-r { display: inline-flex; align-items: center; gap: 6px; justify-self: start; max-width: 100%; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 5px 10px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dream-r .i { width: 14px; height: 14px; flex: none; }
.dream-cta { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 14px; border-radius: 14px; background: var(--ultra); color: var(--on-ultra); font-size: 14.5px; font-weight: 700; }
.dream-cta .i { width: 18px; height: 18px; }
@media (max-width: 360px) { .dream { width: 240px; } .dream-v strong { font-size: 24px; } }
/* questionário: por que perguntamos */
.why { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; margin: -4px 0 8px; }
.hint { font-size: 12.5px; color: var(--ink-3); margin: -2px 4px 4px; line-height: 1.4; }

/* diagnóstico */
.stack > .h[id] { scroll-margin-top: 84px; }
.dg-ready { display: flex; flex-wrap: wrap; gap: 6px; }
.dg-ready .tag { margin: 0; }
.dg-idx { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.dg-idx::-webkit-scrollbar { display: none; }
.dg-idx .chip { flex: none; height: 36px; font-size: 13.5px; }
.dg-head { display: flex; align-items: center; gap: 12px; }
.dg-head .t-m small { color: var(--ultra-ink); font-weight: 700; font-size: 12px; }
.dg-head .t-m b { font-size: 17px; line-height: 1.25; }
.dg-p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.dg-p b { color: var(--ink); }
.dg-legal .lbl { margin: 6px 0 -4px; }
.dg-legal .req { font-size: 14px; }
.dg-legal .req .i { color: var(--ultra); }
.tags .dg-rev { color: var(--warn); background: var(--warn-soft); }
.tags .dg-rev .i { color: var(--warn); }
.dg-money .rows { border-radius: 18px; }
.rows .num { white-space: nowrap; }
.dg-grp { font-size: 11.5px; font-weight:700; letter-spacing: .06em; text-transform: uppercase; color: var(--ultra-ink); padding: 14px 0 2px; border-top: 0 !important; }
.rows > .dg-grp + * { border-top: 0; }
.dg-money .proof { display: flex; gap: 12px; align-items: flex-start; }
.dg-money .proof small { font-size: 13px; color: var(--ink-2); }
.dg-tl ol { list-style: none; padding: 0; display: grid; gap: 0; }
.dg-tl li { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
.dg-tl li + li { border-top: 1px solid var(--line); }
.dg-when { font-size: 12.5px; font-weight:700; color: var(--ultra-ink); padding-top: 2px; font-variant-numeric: tabular-nums; }
.dg-tl .t-m small { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.dg-docs { gap: 0; padding: 6px 16px; }
.dg-docs details + details { border-top: 1px solid var(--line); }
.dg-docs summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; cursor: pointer; }
.dg-docs summary::-webkit-details-marker { display: none; }
.dg-docs summary b { font-size: 15px; }
.dg-doc { display: grid; gap: 2px; padding: 0 0 12px 12px; border-left: 2px solid var(--ultra-soft); margin: 0 0 8px 4px; }
.dg-doc b { font-size: 14px; font-weight: 700; }
.dg-doc small { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.dg-follow .btn { margin-top: 2px; }
.dg-stages { display: grid; gap: 10px; }
.dg-stages > div { display: flex; gap: 12px; align-items: flex-start; }
.dg-stages i { width: 26px; height: 26px; border-radius: 50%; background: var(--ultra-soft); color: var(--ultra-ink); font-style: normal; font-weight:700; font-size: 12.5px; display: grid; place-items: center; flex: none; }
.dg-stages .t-m small { font-size: 12.5px; }
.dg-follow > .tag { justify-self: start; }
.dg-src { display: grid; gap: 6px; padding: 0 4px; }
.dg-src .lbl { margin: 8px 0 0; }
.dg-src a { display: flex; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ultra-ink); min-height: 36px; }
.dg-src a .i { width: 16px; height: 16px; flex: none; }
/* guia "como fazer" de cada passo */
.how { display: grid; gap: 10px; margin-top: 8px; padding: 12px 14px; border-radius: 16px; background: var(--soft); }
.how ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.how ol li::marker { color: var(--ultra-ink); font-weight:700; }
.how-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.how-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--card); padding: 6px 10px; border-radius: 10px; }
.how-meta .i { width: 15px; height: 15px; color: var(--ultra); flex: none; }
.how-tip { display: flex; gap: 8px; font-size: 12.5px; color: var(--warn); background: var(--warn-soft); padding: 8px 10px; border-radius: 12px; line-height: 1.4; }
.how-tip .i { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.how-link { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ultra-ink); min-height: 32px; }
.how-link .i { width: 16px; height: 16px; flex: none; }
.task details summary { min-height: 28px; display: flex; align-items: center; }
.panel .how { margin-top: 0; }
.tl .how li { position: static; padding-left: 0; }
.tl .how li::before { content: none; display: none; }
/* fotos das cidades */
.art.ph { object-fit: cover; object-position: center; animation: phIn .5s ease both; }
.art.ph.seen { animation: none; } /* já carregada: aparece na hora, sem piscar */
.appbar span.ib:empty { visibility: hidden; }
@keyframes phIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .art.ph { animation: none; } }
.cover:has(.ph)::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.28), transparent); }
.cover::after { z-index: 1; } .cover .cover-txt { z-index: 2; }
.cover:has(.ph)::after { background: linear-gradient(to bottom, transparent 26%, color-mix(in srgb, var(--bg) 50%, transparent) 47%, color-mix(in srgb, var(--bg) 90%, transparent) 67%, var(--bg) 96%); }
@media (prefers-reduced-motion: reduce) { .anim, .bars i, .done-ic, .skel i, .typing i { animation: none; } .ring .val, .panel, .scrim, .press, .appbar .t, #app, #splash, .toast { transition: none; } }
