/* =========================================================================
   Movme — páginas de projeto (case) e telas desenhadas
   As telas são HTML/CSS que escalam com a largura do quadro (container
   queries): tudo dentro de .mk é medido em em, e o em vale uma fração da
   largura do quadro. Assim a tela se comporta como uma imagem nítida.
   ========================================================================= */

/* ---------- topo do case ---------- */

.case-hero .hero-copy { padding-top: clamp(56px, 9vw, 128px); }
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--n-700);
}
.crumb:hover { color: var(--blue); }
.case-hero h1 { font-size: clamp(40px, 6.4vw, 96px); }
.case-hero .hero-lead { max-width: 60ch; font-size: clamp(16px, 1.45vw, 21px); }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%; margin-top: clamp(8px, 1.4vw, 20px);
  border-top: 1px solid rgba(11,16,32,.14);
}
.facts > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 0 0; }
.facts > div + div { padding-left: 16px; border-left: 1px solid rgba(11,16,32,.14); }
.facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--n-600); }
.facts dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- vitrine principal ---------- */

.stage { position: relative; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 96px); background: var(--mist); }
.stage-inner { position: relative; max-width: 1280px; margin: 0 auto; }
.stage-inner.has-phone { padding-right: clamp(40px, 9vw, 150px); }
.stage-inner.has-phone .mk-phone {
  position: absolute; right: 0; bottom: clamp(-32px, -2.5vw, -12px);
  width: clamp(120px, 21%, 260px);
}
.stage figcaption, .gallery figcaption {
  margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--n-600);
}
.stage-inner.has-phone figcaption { padding-right: 0; }

/* ---------- galeria de telas ---------- */

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px); align-items: start; }
.gallery figure { margin: 0; }
.g-wide { grid-column: span 7; }
.g-side { grid-column: span 5; }
.g-half { grid-column: span 6; }
.g-full { grid-column: 1 / -1; }
.phones { display: flex; justify-content: center; gap: clamp(12px, 2vw, 32px); }
.phones .mk-phone { width: min(46%, 260px); }
.phones .mk-phone:nth-child(2) { margin-top: clamp(24px, 4vw, 56px); }

/* ---------- funcionalidades ---------- */

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--n-200); }
.feat { padding: clamp(20px, 2.2vw, 32px) clamp(16px, 2vw, 28px) clamp(24px, 2.4vw, 36px) 0; border-bottom: 1px solid var(--n-200); display: flex; flex-direction: column; gap: 10px; }
.feat:not(:nth-child(3n+1)) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--n-200); }
.feat .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--blue); }
.feat h3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.feat p { font-size: 15px; line-height: 1.55; color: var(--n-600); max-width: 40ch; }

/* ---------- stack ---------- */

.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { list-style: none; }
.stack-list { margin: 0; padding: 0; }
.stack .chip { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.stack-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.stack-row h2 { font-size: clamp(28px, 3.6vw, 50px); max-width: 12ch; }
.stack-row p { color: var(--on-dark-body); font-size: 16px; line-height: 1.6; max-width: 50ch; margin-bottom: 24px; }

/* ---------- próximo projeto ---------- */

.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-top: 1px solid var(--n-150); }
.next a { display: flex; flex-direction: column; gap: 8px; padding: clamp(28px, 3.5vw, 52px) var(--pad); color: var(--ink); }
.next a + a { border-left: 1px solid var(--n-150); text-align: right; align-items: flex-end; }
.next a:hover { background: var(--mist); color: var(--ink); }
.next strong { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.03em; }

/* ---------- cartões da listagem: link e miniatura ---------- */

.card { position: relative; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--n-400); }
.card h3 a { color: var(--ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .more { padding: 0 20px; margin-top: auto; font-size: 14px; font-weight: 600; color: var(--blue); }
.thumb { position: relative; aspect-ratio: 410 / 260; overflow: hidden; background: var(--c-soft, var(--blue-50)); }
.thumb .mk-browser { position: absolute; left: 7%; top: 11%; width: 118%; box-shadow: 0 1.5em 3em rgba(11,16,32,.14); }
.thumb .mk-phone { position: absolute; left: 50%; top: 9%; width: 38%; transform: translateX(-50%); }
.thumb::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 18%, rgba(255,255,255,.35) 18% 30%);
}
.case .thumb { aspect-ratio: 632 / 340; }

/* =========================================================================
   Telas desenhadas
   ========================================================================= */

.mk {
  --c: #0A57FF; --c-ink: #FFFFFF; --c-soft: #EEF3FF; --c-deep: #0B1020;
  --m-bg: #F6F7F9; --m-line: #E6E8EC; --m-text: #0B1020; --m-dim: #6B7280; --m-card: #FFFFFF;
  container-type: inline-size; position: relative;
  font-family: var(--m-font, var(--font-body)); color: var(--m-text);
  -webkit-user-select: none; user-select: none;
}
.mk * { box-sizing: border-box; }
.mk-browser { border-radius: 10px; overflow: hidden; background: var(--m-bg); box-shadow: 0 24px 60px -20px rgba(11,16,32,.28), 0 0 0 1px rgba(11,16,32,.08); }
.mk-browser .scr { font-size: 1.18cqw; }
.mk-phone > .frame { border-radius: 14cqw; background: #0B1020; padding: 3.2cqw; box-shadow: 0 30px 60px -24px rgba(11,16,32,.45); }
.mk-phone .scr { font-size: 4.1cqw; border-radius: 11cqw; overflow: hidden; background: var(--m-bg); aspect-ratio: 9 / 19.2; display: flex; flex-direction: column; position: relative; }

/* barra do navegador */
.mk .bar { display: flex; align-items: center; gap: .9em; height: 2.6em; padding: 0 1em; background: #fff; border-bottom: 1px solid var(--m-line); font-size: 1.18cqw; }
.mk .dots { display: flex; gap: .45em; }
.mk .dots i { width: .75em; height: .75em; border-radius: 50%; background: #D5D9E0; }
.mk .url { flex: 1; max-width: 34em; margin: 0 auto; height: 1.7em; border-radius: 99em; background: #F1F2F5; display: flex; align-items: center; justify-content: center; gap: .4em; font-size: .85em; color: #6B7280; font-family: var(--font-body); }
.mk .url svg { width: .9em; height: .9em; }

/* casca de app: menu lateral + conteúdo */
.mk .app { display: grid; grid-template-columns: 15.5em minmax(0, 1fr); min-height: 40em; }
.mk .app.dark-side .side { background: var(--c-deep); color: rgba(255,255,255,.72); border-right: 0; }
.mk .app.dark-side .side .nav b { background: rgba(255,255,255,.1); color: #fff; }
.mk .app.dark-side .side .brandrow { color: #fff; }
.mk .side { background: var(--m-card); border-right: 1px solid var(--m-line); padding: 1.4em 1em; display: flex; flex-direction: column; gap: 1.6em; }
.mk .brandrow { display: flex; align-items: center; gap: .6em; font-weight: 700; font-size: 1.1em; letter-spacing: -.01em; min-height: 2.2em; }
.mk .logo { width: 2em; height: 2em; border-radius: .5em; background: var(--c); color: var(--c-ink); display: grid; place-items: center; font-weight: 800; font-size: .9em; flex: none; }
.mk .nav { display: flex; flex-direction: column; gap: .2em; font-size: .92em; }
.mk .nav span, .mk .nav b { display: flex; align-items: center; gap: .7em; padding: .6em .7em; border-radius: .45em; font-weight: 500; }
.mk .nav b { background: var(--c-soft); color: var(--c-strong, var(--c)); font-weight: 600; }
.mk .nav i { width: .95em; height: .95em; border-radius: .25em; border: .14em solid currentColor; opacity: .8; flex: none; }
.mk .nav .grp { padding: 1em .7em .3em; font-size: .78em; letter-spacing: .08em; text-transform: uppercase; opacity: .55; font-weight: 600; }
.mk .main { padding: 1.6em 2em 2em; display: flex; flex-direction: column; gap: 1.3em; min-width: 0; }
.mk .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1em; }
.mk .head h4 { margin: 0; font-size: 1.65em; font-weight: 700; letter-spacing: -.02em; font-family: var(--m-display, inherit); line-height: 1.1; }
.mk .head small { display: block; color: var(--m-dim); font-size: .9em; margin-top: .3em; }
.mk .btns { display: flex; gap: .5em; }
.mk .b { display: inline-flex; align-items: center; height: 2.4em; padding: 0 1em; border-radius: var(--m-btn-r, var(--m-r, .45em)); font-size: .9em; font-weight: 600; background: var(--c); color: var(--c-ink); white-space: nowrap; }
.mk .b.o { background: var(--m-field, #fff); color: var(--m-text); box-shadow: inset 0 0 0 1px var(--m-line); }
.mk .b.w { width: 100%; justify-content: center; height: 2.8em; }
.mk .tabs { display: flex; gap: 1.6em; border-bottom: 1px solid var(--m-line); font-size: .92em; color: var(--m-dim); }
.mk .tabs span { padding-bottom: .7em; }
.mk .tabs b { padding-bottom: .7em; color: var(--m-text); box-shadow: inset 0 -.18em 0 var(--c); }
.mk .filters { display: flex; gap: .5em; flex-wrap: wrap; }
.mk .pill { display: inline-flex; align-items: center; gap: .4em; height: 2.1em; padding: 0 .9em; border-radius: 99em; background: var(--m-field, #fff); box-shadow: inset 0 0 0 1px var(--m-line); font-size: .85em; color: var(--m-text); white-space: nowrap; }
.mk .pill.on { background: var(--c-deep); color: #fff; box-shadow: none; }
.mk .search { flex: 1; min-width: 12em; height: 2.4em; border-radius: var(--m-r, .45em); background: var(--m-field, #fff); box-shadow: inset 0 0 0 1px var(--m-line); display: flex; align-items: center; padding: 0 .9em; color: var(--m-dim); font-size: .9em; gap: .5em; }

/* cartões numéricos */
.mk .kpis { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: .9em; }
.mk .kpi { background: var(--m-card); border-radius: var(--m-r, .6em); padding: 1em 1.1em; box-shadow: inset 0 0 0 1px var(--m-line); display: flex; flex-direction: column; gap: .35em; }
.mk .kpi span { font-size: .82em; color: var(--m-dim); }
.mk .kpi strong { font-size: 1.6em; font-weight: 700; letter-spacing: -.02em; font-family: var(--m-display, inherit); }
.mk .kpi em { font-style: normal; font-size: .8em; color: #0F8A5B; font-weight: 600; }
.mk .kpi em.dn { color: #C2410C; }
.mk .kpi.hl { background: var(--c); color: var(--c-ink); box-shadow: none; }
.mk .kpi.hl span, .mk .kpi.hl em { color: inherit; opacity: .85; }

/* painéis */
.mk .row { display: grid; grid-template-columns: var(--cols, 1.6fr 1fr); gap: .9em; }
.mk .panel { background: var(--m-card); border-radius: var(--m-r, .6em); box-shadow: inset 0 0 0 1px var(--m-line); padding: 1.1em 1.2em; display: flex; flex-direction: column; gap: .9em; min-width: 0; }
.mk .panel h5 { margin: 0; font-size: 1em; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.mk .panel h5 small { font-weight: 500; color: var(--m-dim); font-size: .85em; }

/* gráfico de barras */
.mk .bars { display: flex; align-items: flex-end; gap: .6em; height: 9em; padding-top: .5em; border-bottom: 1px solid var(--m-line); }
.mk .bars i { flex: 1; border-radius: .3em .3em 0 0; background: var(--c-soft); }
.mk .bars i.on { background: var(--c); }
.mk .axis { display: flex; gap: .6em; font-size: .72em; color: var(--m-dim); }
.mk .axis span { flex: 1; text-align: center; }
.mk .spark { width: 100%; height: 8em; display: block; }

/* tabela */
.mk .tbl { width: 100%; border-collapse: collapse; font-size: .9em; }
.mk .tbl th { text-align: left; font-weight: 600; font-size: .82em; color: var(--m-dim); padding: .6em .8em; border-bottom: 1px solid var(--m-line); white-space: nowrap; text-transform: var(--m-th-case, none); letter-spacing: var(--m-th-ls, 0); }
.mk .tbl td { padding: .75em .8em; border-bottom: 1px solid var(--m-line); white-space: nowrap; }
.mk .tbl tr:last-child td { border-bottom: 0; }
.mk .tbl td.r, .mk .tbl th.r { text-align: right; }
.mk .tbl .who { display: flex; align-items: center; gap: .6em; }
.mk .av { width: 2em; height: 2em; border-radius: 50%; background: var(--c-soft); color: var(--c); display: grid; place-items: center; font-size: .78em; font-weight: 700; flex: none; }
.mk .av.a2 { background: #FDE7D8; color: #C2410C; }
.mk .av.a3 { background: #E3F4EA; color: #0F8A5B; }
.mk .av.a4 { background: #EDE7FB; color: #6D28D9; }
.mk .dim { color: var(--m-dim); }
.mk .bdg {
  display: inline-flex; align-items: center; gap: .45em; height: 1.75em; padding: 0 .6em;
  border-radius: .4em; font-family: inherit; font-size: .78em; font-weight: 600; line-height: 1;
  letter-spacing: 0; text-transform: none; white-space: nowrap; border: 0;
}
.mk .bdg.dot::before { content: ""; width: .45em; height: .45em; border-radius: 50%; background: currentColor; flex: none; }
.mk .b-ok { background: #E7F6EE; color: #116B45; }
.mk .b-wait { background: #FDF3E1; color: #94540A; }
.mk .b-late { background: #FDECEA; color: #A8261B; }
.mk .b-info { background: var(--c-soft); color: var(--c-strong, var(--c)); }
.mk .b-mute { background: rgba(120,128,145,.12); color: var(--m-dim); }
.mk .radio { width: 1.15em; height: 1.15em; border-radius: 50%; box-shadow: inset 0 0 0 .14em var(--m-line); flex: none; }
.mk .radio.on { box-shadow: inset 0 0 0 .34em var(--c); }
.mk .lg { display: block; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }

/* listas */
.mk .list { display: flex; flex-direction: column; }
.mk .li { display: flex; align-items: center; gap: .8em; padding: .7em 0; border-bottom: 1px solid var(--m-line); font-size: .92em; }
.mk .li:last-child { border-bottom: 0; }
.mk .li .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15em; }
.mk .li .grow small { color: var(--m-dim); font-size: .85em; }
.mk .li strong { font-weight: 600; }
.mk .meter { height: .5em; border-radius: 99em; background: var(--m-line); overflow: hidden; }
.mk .meter i { display: block; height: 100%; background: var(--c); border-radius: inherit; }

/* catálogo: cartões com imagem */
.mk .grid { display: grid; grid-template-columns: repeat(var(--g, 4), minmax(0, 1fr)); gap: 1em; }
.mk .item { background: var(--m-card); border-radius: var(--m-r, .6em); overflow: hidden; box-shadow: inset 0 0 0 1px var(--m-line); display: flex; flex-direction: column; }
.mk .ph { aspect-ratio: 4 / 3; background: var(--c-soft); display: grid; place-items: center; color: var(--c); position: relative; overflow: hidden; }
.mk .ph svg { width: 52%; height: auto; opacity: .9; }
.mk .ph.wide svg { width: 34%; }
.mk .ph.sq { aspect-ratio: 1; }
.mk .ph.wide { aspect-ratio: 16 / 9; }
.mk .ph .badge { position: absolute; left: .7em; top: .7em; }
.mk .item .tx { padding: .8em .9em 1em; display: flex; flex-direction: column; gap: .3em; }
.mk .item .tx b { font-size: .95em; font-weight: 600; line-height: 1.25; }
.mk .item .tx small { font-size: .8em; color: var(--m-dim); }
.mk .item .tx strong { font-size: 1.15em; font-weight: 700; margin-top: .2em; font-family: var(--m-display, inherit); }

/* formulário */
.mk .form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9em 1em; }
.mk .fld { display: flex; flex-direction: column; gap: .4em; }
.mk .fld.full { grid-column: 1 / -1; }
.mk .fld label { font-size: .8em; font-weight: 600; color: var(--m-dim); }
.mk .fld div { height: 2.5em; border-radius: var(--m-r, .45em); background: var(--m-field, #fff); box-shadow: inset 0 0 0 1px var(--m-line); display: flex; align-items: center; padding: 0 .9em; font-size: .9em; }
.mk .fld div.ta { height: 5em; align-items: flex-start; padding-top: .7em; color: var(--m-dim); }
.mk .fld div.on { box-shadow: inset 0 0 0 .14em var(--c); }

/* calendário / agenda */
.mk .cal { display: grid; grid-template-columns: 3.5em repeat(var(--days, 5), minmax(0, 1fr)); font-size: .82em; }
.mk .cal .h { padding: .5em; text-align: center; font-weight: 600; color: var(--m-dim); border-bottom: 1px solid var(--m-line); }
.mk .cal .t { padding: .4em .5em 0 0; text-align: right; color: var(--m-dim); height: 3.6em; border-top: 1px solid var(--m-line); font-size: .9em; }
.mk .cal .c { border-top: 1px solid var(--m-line); border-left: 1px solid var(--m-line); height: 3.6em; position: relative; }
.mk .ev { position: absolute; left: .25em; right: .25em; top: .25em; border-radius: .4em; padding: .35em .5em; background: var(--c-soft); color: var(--c); font-weight: 600; font-size: .92em; line-height: 1.2; border-left: .25em solid var(--c); z-index: 1; overflow: hidden; }
.mk .ev small { display: block; font-weight: 500; opacity: .8; }
.mk .ev.e2 { background: #FDF1DC; color: #A85F0A; border-color: #E59E2F; }
.mk .ev.e3 { background: #E3F4EA; color: #0F7A50; border-color: #2BA36F; }

/* site público: topo, herói */
.mk .site-top { display: flex; align-items: center; gap: 2em; padding: 1.1em 2.2em; background: var(--m-card); border-bottom: 1px solid var(--m-line); font-size: .95em; }
.mk .site-top .links { display: flex; gap: 1.6em; color: var(--m-dim); margin-left: auto; }
.mk .site-top .links b { color: var(--m-text); font-weight: 600; }
.mk .site-hero { padding: 3.6em 2.2em; background: var(--c-deep); color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2em; align-items: center; position: relative; overflow: hidden; }
.mk .site-hero h4 { margin: 0; font-size: 3em; line-height: 1.02; letter-spacing: -.03em; font-family: var(--m-display, inherit); font-weight: 800; }
.mk .site-hero p { margin: .9em 0 1.4em; opacity: .8; font-size: 1.05em; max-width: 30em; }
.mk .site-hero .ph { border-radius: var(--m-r, .6em); background: rgba(255,255,255,.08); color: #fff; }
.mk .sect { padding: 1.8em 2.2em; display: flex; flex-direction: column; gap: 1.1em; }
.mk .sect h5 { margin: 0; font-size: 1.35em; font-family: var(--m-display, inherit); letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: baseline; }
.mk .sect h5 small { font-size: .65em; font-weight: 600; color: var(--c); font-family: var(--font-body); letter-spacing: 0; }

/* celular */
.mk .sb { display: flex; justify-content: space-between; align-items: center; padding: .95em 1.5em .5em 1.7em; font-size: .78em; font-weight: 600; position: relative; z-index: 1; }
.mk .sb-ic { display: flex; align-items: center; gap: .35em; }
.mk .sb-ic svg { height: .85em; width: auto; display: block; }
.mk .scr:has(> .ph-flow > .ph-head.hl:first-child) { background: var(--c); }
.mk .scr:has(> .ph-flow > .ph-head.hl:first-child) .sb { color: var(--c-ink); }
.mk .ph-flow { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--m-bg); overflow: hidden; }
.mk .notch { position: absolute; top: .55em; left: 50%; transform: translateX(-50%); width: 6.2em; height: 1.6em; border-radius: 99em; background: #0B1020; }
.mk .ph-head { padding: .6em 1.1em .9em; display: flex; flex-direction: column; gap: .2em; }
.mk .ph-head small { color: var(--m-dim); font-size: .78em; }
.mk .ph-head h4 { margin: 0; font-size: 1.35em; letter-spacing: -.02em; font-family: var(--m-display, inherit); line-height: 1.1; }
.mk .ph-head.hl { background: var(--c); color: var(--c-ink); padding-top: .2em; padding-bottom: 1.1em; margin-bottom: .2em; }
.mk .ph-head.hl small { color: inherit; opacity: .8; }
.mk .ph-body { flex: 1; padding: 0 .9em; display: flex; flex-direction: column; gap: .7em; overflow: hidden; font-size: .86em; }
.mk .ph-body .panel { padding: .9em; gap: .6em; }
.mk .ph-tab { display: flex; justify-content: space-around; align-items: flex-end; padding: .6em .3em 1.5em; background: var(--m-card); border-top: 1px solid var(--m-line); font-size: .6em; color: var(--m-dim); }
.mk .ph-tab span, .mk .ph-tab b { display: flex; flex-direction: column; align-items: center; gap: .3em; font-weight: 500; flex: 1; }
.mk .ph-tab b { color: var(--c-strong, var(--c)); font-weight: 700; }
.mk .ph-tab svg { width: 2.2em; height: 2.2em; display: block; }
.mk .ph-tab .fab { display: flex; flex-direction: column; align-items: center; gap: .3em; flex: 1; font-weight: 500; }
.mk .ph-tab .fab i { width: 1.8em; height: 1.8em; margin-top: -.8em; border-radius: 50%; background: var(--c); color: var(--c-ink); display: grid; place-items: center; font-style: normal; font-size: 1.9em; font-weight: 400; line-height: 1; box-shadow: 0 .3em .6em -.2em var(--c); }
.mk .big { font-size: 2.1em; font-weight: 800; letter-spacing: -.03em; font-family: var(--m-display, inherit); line-height: 1; }
.mk .steps-mk { display: flex; flex-direction: column; gap: .5em; }
.mk .stp { display: flex; gap: .7em; align-items: center; }
.mk .stp i { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--c); flex: none; display: grid; place-items: center; }
.mk .stp i.off { background: var(--m-line); }
.mk .stp i::after { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #fff; }
.mk .chat { display: flex; flex-direction: column; gap: .5em; }
.mk .msg { max-width: 80%; padding: .6em .8em; border-radius: .9em; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); font-size: .92em; line-height: 1.35; }
.mk .msg.me { align-self: flex-end; background: var(--c); color: var(--c-ink); box-shadow: none; }
.mk .wa { background: #25D366; color: #fff; }

/* =========================================================================
   Responsivo
   ========================================================================= */

@media (max-width: 1023px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { margin-top: 12px; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .feat:nth-child(even) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--n-200); }
  .g-wide, .g-side, .g-half { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stage-inner.has-phone { padding-right: 0; }
  .stage-inner.has-phone > .mk-phone { display: none; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat:nth-child(even) { padding-left: 0; border-left: 0; }
  .stack-row { grid-template-columns: minmax(0, 1fr); }
  .next { grid-template-columns: minmax(0, 1fr); }
  .next a + a { border-left: 0; border-top: 1px solid var(--n-150); text-align: left; align-items: flex-start; }
  .mk-browser { border-radius: 6px; }
}

/* filtros da listagem como botões */
button.chip { font-family: var(--font-body); cursor: pointer; }
button.chip:hover { border-color: var(--n-400); }
button.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.card[hidden] { display: none; }

/* ---------- Finpes: fiel ao app (cartões retos, título serifado, rótulos espaçados) ---------- */
.mk .fp-bar { flex-direction: row; align-items: center; padding: .5em 1.1em .9em; margin: 0; }
.mk .fp-body { flex: 1; display: flex; flex-direction: column; gap: .75em; padding: .9em .9em 0; font-size: .86em; overflow: hidden; }
.mk .fp-over, .mk .fp-lbl { font-size: .72em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.mk .fp-lbl { color: var(--m-dim); }
.mk .fp-sub { font-size: .78em; color: var(--m-dim); display: block; }
.mk .fp-title { margin: 0; font-family: var(--m-display); font-weight: 500; font-size: 1.75em; letter-spacing: -.01em; line-height: 1.1; }
.mk .fp-title span { font-size: .6em; color: var(--m-dim); }
.mk .fp-serif { font-family: var(--m-display); font-size: 1.15em; }
.mk .fp-hr { border: 0; border-top: 1px solid var(--m-line); margin: .2em 0 0; }
.mk .fp-card { background: #fff; box-shadow: inset 0 0 0 1px var(--m-line); padding: .85em .9em; display: flex; flex-direction: column; gap: .3em; }
.mk .fp-big { font-family: var(--m-display); font-size: 1.95em; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.mk .fp-tri { display: flex; height: .35em; margin-top: .5em; }
.mk .fp-chart { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; height: 7.5em; align-items: end; margin-top: .6em; border-bottom: 1px solid var(--m-line); }
.mk .fp-chart div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3em; }
.mk .fp-chart i { display: block; width: 46%; background: #7B8FD8; min-height: 2px; flex: none; }
.mk .fp-v { font-size: .74em; font-weight: 600; }
.mk .fp-axis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; text-align: center; margin-top: .45em; }
.mk .fp-axis b { display: block; font-size: .62em; letter-spacing: .1em; text-transform: uppercase; color: var(--m-dim); font-weight: 600; }
.mk .fp-axis small { font-size: .62em; color: var(--m-dim); }
.mk .fp-list { padding: 0; gap: 0; }
.mk .fp-gh { display: flex; justify-content: space-between; align-items: center; padding: .75em .9em; border-bottom: 1px solid var(--m-line); }
.mk .fp-gh b { font-family: var(--m-display); font-weight: 500; font-size: 1.05em; }
.mk .fp-row { display: flex; align-items: center; gap: .8em; padding: .7em .9em; border-bottom: 1px solid var(--m-line); }
.mk .fp-row:last-child { border-bottom: 0; }
.mk .fp-card > .fp-row { padding-left: 0; padding-right: 0; }
.mk .fp-row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1em; }
.mk .fp-row .grow small { font-size: .78em; color: var(--m-dim); }
.mk .fp-row strong { font-weight: 600; }
.mk .fp-row > b { font-weight: 600; white-space: nowrap; }
.mk .fp-date { display: flex; flex-direction: column; align-items: center; width: 2.2em; flex: none; }
.mk .fp-date b { font-family: var(--m-display); font-size: 1.35em; font-weight: 500; line-height: 1; }
.mk .fp-date small { font-size: .62em; letter-spacing: .12em; color: var(--m-dim); }
.mk .fp-hero { background: var(--c-deep); color: #fff; padding: 1em 1em 1.1em; display: flex; flex-direction: column; gap: .3em;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 1.2em 1.2em; }
.mk .fp-chip { align-self: flex-start; font-size: .62em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .35em .7em; background: rgba(255,255,255,.14); }
.mk .fp-acts { flex-direction: row; gap: .5em; }
.mk .fp-acts span { flex: 1; text-align: center; padding: .55em 0; box-shadow: inset 0 0 0 1px var(--m-line); font-size: .7em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mk .fp-drop { margin-top: .5em; border: 1px dashed var(--m-line); padding: .7em; text-align: center; font-size: .78em; color: var(--m-dim); }

/* foto de produto: fundo de estúdio neutro, sombra de chão e traço fino */
.mk .ph.studio { background: radial-gradient(120% 90% at 50% 30%, #FFFFFF 0%, #F1F1F3 55%, #E4E4E8 100%); color: #3F3F46; }
.mk .ph.studio::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 17%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(24,24,27,.16), transparent); }
.mk .ph.studio svg { width: auto; height: 44%; max-width: 58%; stroke-width: 2.4; opacity: .55; position: relative; z-index: 1; }
.mk .ph.studio svg [fill="currentColor"] { fill: none; }
