/* Demonstração da plataforma e imagens das telas na seção de recursos */

.demo { background: var(--white); }
.demo__note { margin: 14px 0 0; font-size: .875rem; color: var(--ink-2); }

.app {
  --a-bg: #F5F8F4;
  --a-card: #FFFFFF;
  --a-line: #E1E8E3;
  container: app / inline-size;
  font-family: var(--f-body);
  font-size: 14px; line-height: 1.45; color: var(--ink);
  background: var(--a-card);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(15, 61, 56, .45);
  text-align: left;
}
.app h3, .app h4, .app h5 { font-family: var(--f-display); letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.app h3 { font-size: 20px; font-weight: 700; }
.app h4 { font-size: 14.5px; font-weight: 650; }
.app h5 { font-size: 13px; font-weight: 650; margin: 16px 0 8px; }
.app p { margin: 0; }
.app button { font: inherit; color: inherit; }
.app .muted { color: var(--ink-2); font-size: 13px; }

.app__chrome { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #EDF2EE; border-bottom: 1px solid var(--a-line); }
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #CBD6CF; }
.app__url { flex: 1; max-width: 420px; margin: 0 auto; text-align: center; font-size: 12.5px; color: var(--ink-2); background: var(--white); border-radius: 8px; padding: 5px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__url b { color: var(--forest); font-weight: 600; }

.app__body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 640px; }
.app__side { background: var(--forest); color: #CFE3DA; display: flex; flex-direction: column; padding: 18px 12px; gap: 18px; }
.app__brand { display: flex; align-items: center; gap: 8px; font: 750 18px var(--f-display); color: var(--white); padding: 0 8px; letter-spacing: -0.02em; }
.app__brand svg { width: 24px; height: 24px; color: var(--mint); }
.app__nav { display: flex; flex-direction: column; gap: 2px; }
.app__nav button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 9px 10px; color: #BCD7CA; font-weight: 500; cursor: pointer; white-space: nowrap; }
.app__nav button svg { width: 18px; height: 18px; flex: 0 0 18px; }
.app__nav button:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.app__nav button[aria-selected="true"] { background: var(--mint); color: var(--forest); font-weight: 600; }
.app__nav button:focus-visible { outline: 2px solid var(--lilac); outline-offset: 1px; }
.app__user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 0; border-top: 1px solid rgba(207, 232, 218, .15); font-size: 13px; color: var(--white); }
.app__user small { display: block; color: #A9CABC; font-size: 12px; }

.app__main { position: relative; background: var(--a-bg); min-width: 0; }
.app .view { padding: 22px 24px 26px; }
.app .view:focus { outline: none; }

.vh { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.vh p { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.chip { font-size: 12.5px; background: var(--white); border: 1px solid var(--a-line); border-radius: 999px; padding: 5px 12px; color: var(--ink-2); }
.search { font-size: 13px; color: var(--ink-2); background: var(--white); border: 1px solid var(--a-line); border-radius: 10px; padding: 7px 12px 7px 32px; min-width: 200px; position: relative; }
.search::before { content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 9px; border: 1.6px solid var(--ink-2); border-radius: 50%; transform: translateY(-60%); }
.search::after { content: ""; position: absolute; left: 21px; top: 58%; width: 5px; height: 1.6px; background: var(--ink-2); transform: rotate(45deg); }

.av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--mint); color: var(--forest); font: 700 11.5px var(--f-body); }
.av--lg { flex-basis: 46px; width: 46px; height: 46px; font-size: 15px; }
.av--lilac { background: var(--lilac-soft); color: var(--lilac-ink); }
.app__user .av { background: var(--lilac); color: var(--forest); }

.bd { display: inline-flex; align-items: center; white-space: nowrap; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; }
.bd--ok { background: var(--mint); color: var(--forest); }
.bd--wait { background: var(--amber-soft); color: #7A5410; }
.bd--new { background: var(--lilac-soft); color: var(--lilac-ink); }
.bd--done { background: #E9EEEA; color: var(--ink-2); }
.bd--miss { background: #FBE3DF; color: #A63A2B; }

.b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 13px; border-radius: 9px; padding: 8px 13px; border: 1px solid var(--a-line); background: var(--white); cursor: pointer; white-space: nowrap; }
.b:hover { border-color: #C5D2CA; }
.app .b--pri { background: var(--forest); border-color: var(--forest); color: var(--white); }
.app .b--pri:hover { background: var(--leaf-2); }
.b--sm { padding: 5px 10px; font-size: 12.5px; }
.b--static { cursor: default; }
.b[disabled] { opacity: .65; cursor: default; }
.lnk { background: none; border: 0; padding: 2px 0; font-size: 13px; font-weight: 600; color: var(--leaf-2); cursor: pointer; white-space: nowrap; }
.app .lnk { color: var(--leaf-2); }
.lnk:hover { text-decoration: underline; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.seg { display: inline-flex; background: #E7EEE9; border-radius: 10px; padding: 3px; gap: 2px; }
.seg button, .seg span { border: 0; background: none; border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.seg span { cursor: default; }
.seg button[aria-pressed="true"], .seg .is-on { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 61, 56, .12); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 13px 14px; min-width: 0; }
.kpi span { display: block; font-size: 12.5px; color: var(--ink-2); }
.kpi b { display: block; font: 700 22px/1.25 var(--f-display); letter-spacing: -0.02em; margin: 3px 0 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 12px; color: var(--ink-2); }
.kpi em.up { color: var(--leaf-2); }
.kpi em.down { color: #A63A2B; }

.card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 15px 16px; min-width: 0; }
.card__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.card__h--sep { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--a-line); }
.g2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; }
.g2--fin { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.g3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card--wide { grid-column: 1 / -1; }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--a-line); }
.rows li:last-child { border-bottom: 0; }
.rows__time { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 13px; width: 40px; }
.rows__who { flex: 1; min-width: 0; }
.rows__who b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows__who small { color: var(--ink-2); font-size: 12px; }
.rows--tight li { padding: 5px 0; }

.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alerts li { display: flex; align-items: flex-start; gap: 10px; }
.alerts p { flex: 1; font-size: 13.5px; }
.alerts b { font-weight: 600; }
.app .dot { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; box-shadow: none; }
.dot--wait { background: var(--amber); }
.dot--miss { background: #D0533F; }
.dot--new { background: var(--lilac); }

.mbars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 92px; align-items: end; padding-bottom: 18px; }
.mbars__b { position: relative; height: var(--h); background: #CFE0D6; border-radius: 6px 6px 2px 2px; }
.mbars__b.is-now { background: var(--leaf); }
.mbars__b i { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11.5px; color: var(--ink-2); }

/* Agenda */
.ag { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 14px; align-items: start; }
.ag__grid { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 12px; display: grid; gap: 4px; }
.ag__row { display: grid; grid-template-columns: 34px repeat(5, minmax(0, 1fr)); gap: 4px; }
.ag__row--head span { font-size: 12px; font-weight: 600; color: var(--ink-2); text-align: center; padding: 2px 0 4px; }
.ag__row--head .is-today { color: var(--forest); background: var(--mint); border-radius: 6px; }
.ag__h { font-size: 11.5px; color: var(--ink-2); align-self: center; font-variant-numeric: tabular-nums; }
.ag__c { min-height: 40px; border-radius: 8px; background: #F2F5F2; border: 0; padding: 4px 7px; text-align: left; display: flex; flex-direction: column; justify-content: center; overflow: hidden; min-width: 0; }
.ag__c b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag__c small { font-size: 10.5px; opacity: .8; white-space: nowrap; }
button.ag__c { cursor: pointer; }
.ag__c--ok { background: var(--mint); color: var(--forest); }
.ag__c--wait { background: var(--amber-soft); color: #7A5410; box-shadow: inset 0 0 0 1.5px var(--amber); }
.ag__c--new { background: var(--lilac-soft); color: var(--lilac-ink); box-shadow: inset 0 0 0 1.5px var(--lilac); }
.ag__c--done { background: #E9EEEA; color: var(--ink-2); }
.ag__c--miss { background: #FBE3DF; color: #A63A2B; }
.ag__c--miss b { text-decoration: line-through; text-decoration-thickness: 1px; }
.ag__c--free { background: repeating-linear-gradient(135deg, #F2F5F2 0 6px, #E8EFEA 6px 12px); color: var(--leaf-2); font-size: 11px; font-weight: 600; text-align: center; align-items: center; }
.ag__c.is-sel { outline: 2px solid var(--forest); outline-offset: 1px; }
.ag-detail, .pt-detail, .cb-prev { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 16px; min-width: 0; }
.ag-detail h4 { font-size: 17px; margin: 10px 0 2px; }
.dl { margin: 14px 0 0; display: grid; gap: 10px; }
.dl div { display: grid; gap: 1px; }
.dl dt { font-size: 12px; color: var(--ink-2); }
.dl dd { margin: 0; font-size: 13.5px; }
.dl--row div { grid-template-columns: 110px 1fr; gap: 10px; }
.legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

/* Tabelas */
.tbl { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; overflow: hidden; }
.tr { display: grid; align-items: center; gap: 10px; padding: 9px 14px; border: 0; border-bottom: 1px solid var(--a-line); background: none; width: 100%; text-align: left; cursor: pointer; }
.tr:last-child { border-bottom: 0; }
.tr:hover { background: #F8FAF8; }
.tr.is-sel { background: #EEF5F0; box-shadow: inset 3px 0 0 var(--forest); }
.tr--head { cursor: default; padding-top: 8px; padding-bottom: 8px; background: #F8FAF8; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.tr--head:hover { background: #F8FAF8; }
.td { min-width: 0; font-size: 13px; }
.td--who { display: flex; align-items: center; gap: 10px; }
.td--who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td--who small { display: block; color: var(--ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td--who > span:last-child { min-width: 0; }
.td--num { font-variant-numeric: tabular-nums; font-weight: 600; }
.td--act { text-align: right; }
.empty { padding: 20px 14px; color: var(--ink-2); }
.tbl--pt .tr { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.1fr); }
.tbl--cb .tr { grid-template-columns: minmax(0, 1.7fr) 84px minmax(0, 1fr) 92px; }

.pt { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.pt-h { display: flex; gap: 12px; align-items: center; }
.pt-h h4 { font-size: 16px; }
.pt-h p { font-size: 12.5px; color: var(--ink-2); }
.mk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.mk div { background: var(--a-bg); border-radius: 10px; padding: 8px 4px; text-align: center; min-width: 0; }
.mk b { display: block; font: 700 14px var(--f-display); white-space: nowrap; }
.mk span { font-size: 11px; color: var(--ink-2); }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hist li { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.notes { margin-top: 14px; border: 1px dashed #C9D5CD; border-radius: 12px; padding: 10px 12px; }
.notes__h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.notes__h h5 { margin: 0; }
.tag { font-size: 11px; font-weight: 600; background: var(--lilac-soft); color: var(--lilac-ink); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.notes__lines { display: grid; gap: 6px; margin: 10px 0 8px; }
.notes__lines i { height: 7px; border-radius: 4px; background: #E5ECE7; }
.notes__lines i:nth-child(2) { width: 80%; }
.notes__lines i:nth-child(3) { width: 55%; }
.notes p { font-size: 12px; color: var(--ink-2); }

/* Cobranças */
.sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.cb { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 14px; align-items: start; margin-top: 12px; }
.app .cb-prev__label { font-size: 12px; color: var(--ink-2); margin-bottom: 8px; }
.cb-mail { background: var(--a-bg); border-radius: 12px; padding: 14px; text-align: center; }
.cb-mail__to { font-size: 12px; color: var(--ink-2); text-align: left; }
.app .cb-mail__subj { font-weight: 600; margin: 6px 0 2px; }
.app .cb-mail__val { font: 750 24px var(--f-display); color: var(--forest); letter-spacing: -0.02em; margin-bottom: 10px; }
.cb-mail__qr { width: 104px; height: 104px; margin: 0 auto 10px; background: var(--white); border-radius: 10px; padding: 9px; }
.cb-mail__qr span, .pix__qr span {
  display: block; width: 100%; height: 100%;
  background:
    linear-gradient(var(--forest) 0 0) 0 0 / 30% 30% no-repeat,
    linear-gradient(var(--forest) 0 0) 100% 0 / 30% 30% no-repeat,
    linear-gradient(var(--forest) 0 0) 0 100% / 30% 30% no-repeat,
    radial-gradient(circle, var(--forest) 38%, transparent 40%) 0 0 / 9px 9px;
  border-radius: 3px;
}
.app .cb-mail__copy { display: inline-block; font-size: 12px; font-weight: 600; background: var(--mint); color: var(--forest); border-radius: 999px; padding: 4px 12px; margin-bottom: 8px; }

/* Financeiro */
.key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.key i { width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; }
.key--prev { background: #D7E4DC; }
.key--rec { background: var(--leaf); }
.key i.key--mk { background: var(--lilac); width: 3px; }
.fc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; height: 190px; align-items: end; padding-bottom: 22px; }
.fc__w { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.fc__bars { display: flex; gap: 5px; align-items: flex-end; height: 100%; }
.fc__bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; transition: height .35s ease; }
.fc__prev { background: #D7E4DC; }
.fc__rec { background: var(--leaf); }
.fc__w i { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11.5px; color: var(--ink-2); }
.split { height: 12px; border-radius: 999px; background: #D7E4DC; overflow: hidden; }
.split span { display: block; height: 100%; width: var(--w); background: var(--forest); border-radius: inherit; transition: width .35s ease; }
.app .split__lbl { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }

/* Relatórios */
.lc { width: 100%; height: 150px; display: block; overflow: visible; }
.lc__line { fill: none; stroke: var(--leaf); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.lc__area { fill: rgba(35, 115, 95, .1); }
.lc__mk { stroke: var(--lilac); stroke-width: 2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.lc circle { fill: var(--white); stroke: var(--leaf); stroke-width: 2; vector-effect: non-scaling-stroke; }
.app .lc__x { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-2); padding: 4px 6px 0; }
.hb { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.hb li { display: grid; grid-template-columns: 80px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.hb li b { text-align: right; font-variant-numeric: tabular-nums; }
.hb__t { height: 10px; background: #EDF2EE; border-radius: 999px; overflow: hidden; }
.hb__b { display: block; height: 100%; width: var(--w); background: #9CC5B2; border-radius: inherit; transition: width .35s ease; }
.hb__b.is-top { background: var(--lilac-ink); }
.fd { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; height: 120px; align-items: end; padding: 14px 0 20px; }
.fd span { position: relative; height: var(--h); background: #F1C7BF; border-radius: 6px 6px 2px 2px; transition: height .35s ease; }
.fd b { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 12px; }
.fd i { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11.5px; color: var(--ink-2); }
.exp { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* Minha página */
.pg { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; align-items: start; }
.pg__cfg { display: grid; gap: 12px; min-width: 0; }
.req { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.req__t { flex: 1; min-width: 160px; display: grid; gap: 2px; }
.req__t b { font-weight: 600; }
.req__t small { font-size: 12.5px; color: var(--ink-2); }
.req .acts { margin-top: 0; }
.req--done { align-items: center; background: #EEF5F0; border-radius: 10px; padding: 10px; }
.req--done p { font-size: 13px; flex: 1; }
.tgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tg { border: 1.5px solid var(--a-line); background: var(--white); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.app .tg[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.phone { background: #10231F; border-radius: 34px; padding: 10px; box-shadow: 0 24px 40px -24px rgba(15, 61, 56, .6); position: relative; }
.phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 999px; background: #10231F; z-index: 1; }
.phone__screen { background: var(--white); border-radius: 26px; padding: 40px 16px 18px; min-height: 470px; display: flex; flex-direction: column; }
.app .ph__url { font-size: 11px; color: var(--ink-2); background: var(--a-bg); border-radius: 8px; padding: 4px 8px; margin-bottom: 14px; text-align: center; }
.ph__head { display: flex; gap: 10px; align-items: center; }
.ph__head b { display: block; font: 700 15px var(--f-display); }
.ph__head small { font-size: 12px; color: var(--ink-2); }
.app .ph__tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.ph__tags span { font-size: 11px; background: var(--a-bg); border-radius: 999px; padding: 2px 8px; color: var(--ink-2); }
.ph__bio { font-size: 12.5px; color: var(--ink-2); }
.app .ph__pick { font-weight: 600; font-size: 13px; margin: 14px 0 8px; }
.ph__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.ph__slots span { text-align: center; font-size: 11.5px; font-weight: 600; padding: 7px 2px; border-radius: 9px; border: 1.5px solid var(--a-line); line-height: 1.25; }
.ph__slots .is-on { background: var(--forest); border-color: var(--forest); color: var(--white); }
.ph__slots em { grid-column: 1 / -1; font-size: 12px; color: var(--ink-2); font-style: normal; }
.ph__btn { margin-top: auto; display: block; text-align: center; background: var(--leaf); color: var(--white); font-weight: 600; font-size: 13px; padding: 11px; border-radius: 999px; }

.app .app-toast { position: absolute; right: 18px; bottom: 18px; background: var(--forest); color: var(--white); font-size: 13px; padding: 10px 14px; border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(15, 61, 56, .6); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; max-width: 300px; }
.app .app-toast.is-on { opacity: 1; transform: none; }

/* A demo se adapta pelo tamanho da própria janela, não da tela.
   Assim as "imagens" (clones em largura fixa) mantêm o layout de computador. */
@container app (max-width: 820px) {
  .ag, .pt, .cb, .pg { grid-template-columns: minmax(0, 1fr); }
  .phone { max-width: 290px; justify-self: center; width: 100%; }
}
@container app (max-width: 720px) {
  .app__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__side { padding: 8px; gap: 0; }
  .app__brand, .app__user { display: none; }
  .app__nav { flex-direction: row; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .app__nav::-webkit-scrollbar { display: none; }
  .app__nav button { width: auto; flex: 0 0 auto; padding: 8px 11px; }
  .app .view { padding: 16px 14px 20px; }
  .kpis, .sum { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpi b { font-size: 18px; }
  .g2, .g2--fin, .g3 { grid-template-columns: minmax(0, 1fr); }
  .td--hide { display: none; }
  .tbl--pt .tr { grid-template-columns: minmax(0, 1fr) auto; }
  .tbl--cb .tr { grid-template-columns: minmax(0, 1fr) auto auto; }
  .app__chrome { padding: 8px 10px; }
  .search { min-width: 0; width: 100%; }
  .vh .seg { max-width: 100%; overflow-x: auto; }
  .app .app-toast { left: 12px; right: 12px; max-width: none; }
}
@container app (max-width: 440px) {
  .ag__grid { padding: 8px; }
  .ag__row { grid-template-columns: 24px repeat(5, minmax(0, 1fr)); gap: 3px; }
  .ag__c { padding: 3px 4px; min-height: 36px; }
  .ag__c b { font-size: 10.5px; }
  .ag__c small { display: none; }
  .ag__c--free { font-size: 0; }
  .mk { grid-template-columns: repeat(2, 1fr); }
  .seg button { padding: 6px 9px; }
}

/* Fichas soltas usadas como imagem */
.app--part { border: 0; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
.app--part > * { border: 0; border-radius: 0; }

/* Imagens das telas na seção de recursos */
.feature { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.feature__visual { position: relative; min-width: 0; }
.feature .link { margin-top: 18px; padding: 0; }
.shot { position: relative; overflow: hidden; border-radius: 14px; }
.shot__inner { transform-origin: 0 0; position: absolute; top: 0; left: 0; }
.shot .app { box-shadow: none; }
.feature__visual .shot { box-shadow: 0 30px 60px -36px rgba(15, 61, 56, .5); }

.float { position: absolute; z-index: 2; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 6px; box-shadow: 0 24px 48px -22px rgba(15, 61, 56, .5); }
.float__label { font-size: .75rem; font-weight: 600; color: var(--leaf-2); margin: 0 4px 4px; }
.float .mock { box-shadow: none; border: 0; background: transparent; padding: 6px 4px 8px; }
.float--mail { left: -32px; bottom: -72px; width: 236px; }
.float--pix { right: -32px; bottom: -72px; width: 190px; }
.float .mail__subject { font-size: .95rem; }
.float .mail__body { font-size: .8125rem; padding: 10px; }
.float .mail__actions span { padding: 7px 11px; font-size: .75rem; }
.float .pix__value { font-size: 1.6rem; margin-bottom: 10px; }
.float .pix__qr { width: 110px; height: 110px; padding: 9px; }
.feature:has(.float) { padding-bottom: clamp(64px, 7vw, 96px); }

.minis .shot--part { background: var(--white); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px; box-shadow: 0 18px 36px -28px rgba(15, 61, 56, .45); }
.minis > li { display: flex; flex-direction: column; }
.minis .link { margin-top: 10px; align-self: flex-start; padding: 0; }

@media (max-width: 1100px) {
  .float--mail { left: 8px; }
  .float--pix { right: 8px; }
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .float { position: relative; left: auto; right: auto; bottom: auto; margin: -28px 12px 0 auto; }
  .feature:has(.float) { padding-bottom: clamp(28px, 4vw, 48px); }
}
