/*
  Vitrine site: page CSS. The system is the taste-skill kit (/assets/system.css and friends, never edited);
  this file holds only what sits inside a visual or the kit lacks: the product windows, the phone, the
  apps band, the plan comparison, the sign-up wizard. Every value is a kit token where one exists.
*/

/* ---------------------------------------------------------------- logo */
.nav__logo .logo__mark { width: 28px; height: 28px; border-radius: 8px; }
.closing .nav__logo .logo__mark { width: 32px; height: 32px; }

/* ---------------------------------------------------------------- a window of the Vitrine panel (real screenshots) */
.vw { position: relative; overflow: hidden; border-radius: var(--r-md); background: #fff;
      box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent), 0 24px 60px -32px rgb(28 25 22 / .45); }
.vw__bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #f4f1ec;
           border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); font: 400 13px/1 var(--font-text); color: #5f5a54; }
.vw__dots { display: inline-flex; gap: 6px; flex: none; }
.vw__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9d3cb; }
.vw__url { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vw__img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* a phone around a store or checkout screenshot (an 8px bezel, radius 32) */
.vp { position: relative; width: 240px; padding: 8px; border-radius: 34px; background: #1c1916;
      box-shadow: 0 30px 60px -30px rgb(28 25 22 / .55); }
.vp__img { width: 100%; height: auto; aspect-ratio: 585 / 1266; object-fit: cover; object-position: top; border-radius: 26px; background: #fff; }

/* ---------------------------------------------------------------- the hero's order window (live HTML) */
.ow { background: #fff; color: #1c1916; border-radius: var(--r-md); overflow: hidden; text-align: left;
      font: 400 14px/1.4 var(--font-text);
      box-shadow: 0 0 0 1px rgb(28 25 22 / .08), 0 28px 70px -32px rgb(28 25 22 / .5); }
.ow__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(28 25 22 / .08);
           font-size: 13px; color: #5f5a54; white-space: nowrap; }
.ow__bar b { font-weight: 500; color: #1c1916; }
.ow__sp { flex: 1; }
.ow__body { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 380px; }
.ow__list { border-right: 1px solid rgb(28 25 22 / .08); padding: 12px; display: grid; align-content: start; gap: 4px; }
.ow__q { height: 34px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: #f4f1ec; color: #6b655e; font-size: 13px; margin-bottom: 6px; }
.ow__row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; padding: 10px; border-radius: 10px; align-items: center; }
.ow__row.is-on { background: color-mix(in oklab, var(--accent) 9%, #fff); }
.ow__row i { grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
             font: 500 12px/1 var(--font-text); font-style: normal; background: #efe8de; color: #3d3833; }
.ow__row b { font-weight: 500; font-size: 14px; }
.ow__row time { font-size: 12px; color: #7a746c; }
.ow__row span { grid-column: 2 / -1; font-size: 13px; color: #5f5a54; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow__open { padding: 20px 24px; display: grid; align-content: start; gap: 18px; }
.ow__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.ow__title { font-weight: 500; font-size: 16px; }
.ow__meta { font-size: 13px; color: #6b655e; margin-top: 2px; }
.ow__chip { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
            background: #e6f1ea; color: #1f6b44; }
.ow__steps { display: grid; gap: 0; }
.ow__steps li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline;
                padding: 12px 0; border-top: 1px solid rgb(28 25 22 / .07); font-size: 14px; }
.ow__steps li:first-child { border-top: 0; }
.ow__steps small { grid-column: 2 / -1; font-size: 12px; color: #7a746c; }
.ow__dot { width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: #1f6b44; box-shadow: 0 0 0 4px #e6f1ea; }
.ow__gain b { font-weight: 500; font-size: 16px; color: var(--accent); }
.ow__gain .ow__dot { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, #fff); }
.ow__gain small { grid-column: 2 / 3; }
@media (max-width: 1023px) { .ow__body { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 639px) {
  .ow__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ow__list { display: none; }
  .ow__bar > span:last-child { display: none; }
  .ow__open { padding: 16px; gap: 12px; }
  .ow__steps li { padding: 9px 0; font-size: 13px; }
}

/* ---------------------------------------------------------------- como funciona: the panel screenshots keep their top left */
.shot > img, [data-moment="pinned-chapters"] .mo-pc__visual > img { object-position: top left; }
[data-moment="pinned-chapters"] .mo-pc__visual { box-shadow: 0 0 0 1px var(--line); background: #fff; }
[data-moment="pinned-chapters"] .mo-pc__text > .link { justify-self: start; }

/* ---------------------------------------------------------------- panels that hold a screenshot or a diagram */
.panel--shot > .frame__img { object-position: top left; }
.panel--plain { display: grid; place-items: stretch; }
.panel > .dg { position: absolute; inset: 0; z-index: 1; }
.frame--diagram { display: grid; place-items: stretch; background: var(--ground-bg); }
.frame--diagram > .dg { width: 100%; height: 100%; }
#modelo .panel { --p-h: 300px; }
#modelo .panel > .frame__img[src*="pacotes"] { object-position: 50% 70%; }
@media (max-width: 639px) { #modelo .panel { --p-h: 200px; } }

/* ---------------------------------------------------------------- plain facts under a split's text (one line each, no ticks) */
.facts { display: grid; }
.facts li { padding: 12px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.pay-marks { border: 0; padding: 0; gap: var(--s-3); }
.pay-marks .ic-tile { --tile: 48px; }
.pay-marks .ic-tile img { max-width: 70%; max-height: 60%; width: auto; height: auto; object-fit: contain; }

/* ---------------------------------------------------------------- two phones on the lit ground */
.phones { --ratio: 0px; display: flex; align-items: flex-start; justify-content: center; gap: var(--s-6); padding: var(--s-7) var(--s-6) 0; overflow: hidden; min-height: 560px; }
.phones .vp { width: min(240px, 42%); flex: none; }
.phones__b { margin-top: var(--s-9); }
@media (max-width: 639px) { .phones { min-height: 380px; padding: var(--s-5) var(--s-4) 0; gap: var(--s-4); } .phones__b { margin-top: var(--s-7); } }

/* ---------------------------------------------------------------- themes */
.themes { align-content: start; }
.theme-card { color: var(--ink); }
.theme-card .panel { --p-h: 260px; order: -1; margin: calc(-1 * var(--c-pad) - 1px) calc(-1 * var(--c-pad) - 1px) 24px; border-radius: 0; }
.theme-card > h3 { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.theme-card .badge { background: color-mix(in oklab, var(--ink) 8%, var(--card)); color: var(--ink); }
@media (max-width: 1023px) { .theme-card .panel { --p-h: 220px; } }
/* home: eight theme cards, four per row on desktop (shorter shots), two per row on tablet */
.themes > .theme-card .panel { flex: 0 0 auto; height: var(--p-h); }
@media (min-width: 1024px) { .themes > .theme-card .panel { --p-h: 190px; } }
@media (min-width: 640px) and (max-width: 1023px) { .grid.themes > .theme-card { grid-column: auto / span 6; } .themes > .theme-card .panel { --p-h: 200px; } }

/* ---------------------------------------------------------------- pricing */
.pricing { display: grid; gap: var(--head-gap); }
.pricing__head { align-items: end; }
.switch { padding: 4px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 6%, var(--bg)); gap: 4px; }
.switch .tab { border: 0; }
.plans { align-items: stretch; }
.plans .card--plan { padding: var(--s-6); }
.plans .card--plan > h3 { display: flex; align-items: center; gap: var(--s-2); }
.plans .card--plan > h3 .badge { margin-left: 0; }
.plan__for { color: var(--c-text); min-height: 2lh; }
.plan__billing { margin-top: calc(-1 * var(--s-3)); }
.pricing__foot { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-5); flex-wrap: wrap; }
@media (min-width: 1024px) {
  .plans--3 .card--plan { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: var(--s-4); }
}

/* the comparison table (comparison-table recipe: rows on the grid, a rule closing each, nothing sticky) */
.compare { display: grid; }
.compare__row { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.66fr)); column-gap: var(--gutter); align-items: center;
                min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.compare__row > span:not(:first-child) { text-align: center; }
.compare__row--head { border-bottom: 1px solid var(--line-strong); padding: 0 0 var(--s-4); }
.compare__row--head > span { display: grid; gap: 2px; }
.compare__row--head b { font-weight: 500; font-size: var(--t-card); }
.compare__group { padding: var(--s-6) 0 var(--s-2); color: var(--muted); }
.compare .yes { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: var(--action);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cmask id='m'%3E%3Crect width='20' height='20' fill='white'/%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='10' cy='10' r='10' mask='url(%23m)'/%3E%3C/svg%3E") center / 20px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cmask id='m'%3E%3Crect width='20' height='20' fill='white'/%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='10' cy='10' r='10' mask='url(%23m)'/%3E%3C/svg%3E") center / 20px no-repeat; }
.compare .no { color: var(--muted); }
@media (max-width: 639px) {
  .compare__row { grid-template-columns: minmax(0, 1fr) repeat(3, 64px); column-gap: 8px; font-size: var(--t-small); }
  .compare__row--head b { font-size: var(--t-small); }
  .compare__row--head .t-small { display: none; }
}

/* ---------------------------------------------------------------- the apps band: the developer card */
.dev-card > .btn { align-self: flex-start; justify-self: start; }

/* ---------------------------------------------------------------- inner pages */
.hero-visual > .vw { width: 100%; }
.hero-visual--photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.hero-visual--photo > img { width: 100%; height: 100%; object-fit: cover; }
.lines { display: grid; }
.lines > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.lines > li:last-child { border-bottom: 1px solid var(--line); }
.lines b { font-weight: 500; }

/* inner-page parts: cards with a photo or screen on top, steps, chapters, themes */
.card h3 .step-num, .lines .step-num { width: 26px; height: 26px; margin-right: var(--s-2); font-size: var(--t-small); vertical-align: 2px; }
.who__card .panel, .segment .panel { order: -1; margin: calc(-1 * var(--c-pad) - 1px) calc(-1 * var(--c-pad) - 1px) 24px; border-radius: 0; --p-h: 220px; }
.who__card > h3 { margin-bottom: var(--s-4); font-size: var(--t-h3); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -0.02em; }
.segment .panel { --p-h: 100%; flex: 1 1 auto; min-height: 260px; }
.segment { min-height: 0; }
.segments > .segment { height: 100%; }
.money > li { gap: var(--s-2); }
.money b { display: flex; align-items: center; }
.phones--one { justify-content: center; }
.phones--one .vp { width: min(260px, 60%); }
#passos .panel { --p-h: 280px; }
@media (max-width: 639px) { #passos .panel { --p-h: 180px; } }

.chapter > .wrap { display: flex; flex-direction: column; gap: var(--s-7); }
.chapter__frame { position: relative; min-height: 0; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; }
.chapter__frame > .vw { height: 100%; display: flex; flex-direction: column; border-radius: var(--r-md) var(--r-md) 0 0; }
.chapter__frame > .vw > .vw__img { flex: 1 1 0; min-height: 0; height: 100%; aspect-ratio: auto; }
.chapter__phone { position: absolute; right: var(--s-6); top: var(--s-8); width: 200px; }
.chapter__names { margin: 0; }
.chapter__names dt { font-weight: 500; }
.chapter__names dd { margin: 2px 0 0; }
@media (max-width: 1023px) { .chapter__frame { flex: none; height: auto; } .chapter__frame > .vw > .vw__img { aspect-ratio: 16 / 10; height: auto; } .chapter__phone { display: none; } }
@media (max-width: 1023px) { .chapter__names > div { grid-column: span 6; } }

.theme__visual { position: relative; padding-bottom: var(--s-8); }
.theme__phone { position: absolute; right: calc(-1 * var(--s-2)); bottom: 0; width: 26%; }
.theme__use { justify-self: start; }
/* /temas: index of every theme (anchor cards), between the hero and the chapters */
.section--tight { padding-block: var(--s-6) var(--s-8); }
.theme-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.theme-index a { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-3); row-gap: 2px; align-items: center; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.theme-index a:hover, .theme-index a:focus-visible { border-color: color-mix(in oklab, var(--ink) 40%, var(--line)); background: color-mix(in oklab, var(--ink) 3%, transparent); }
.theme-index__dot { width: 12px; height: 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 20%, transparent); }
.theme-index__name { font-weight: 600; }
.theme-index__tag { grid-column: 2; color: var(--muted); font-size: var(--t-label, 13px); }
@media (max-width: 1023px) { .theme-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .theme-index { gap: var(--s-2); } .theme-index a { padding: var(--s-3); column-gap: var(--s-2); } }
@media (max-width: 639px) { .theme__phone { right: var(--s-2); } }

.login__resume { margin-top: var(--s-6); }

/* ---------------------------------------------------------------- legal pages: one reading column */
.legal { padding: calc(var(--nav) + var(--s-9)) 0 var(--s-9); }
.legal__col { display: grid; gap: var(--s-5); max-width: 720px; }
.legal__draft { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--p-surface); font-weight: 500; }
.legal__body { display: grid; gap: var(--s-6); margin-top: var(--s-5); }
.legal__body h2 { font-size: var(--t-h3); margin-bottom: var(--s-3); }

/* ---------------------------------------------------------------- the sign-up wizard (an app flow, not a marketing page) */
.ico { width: 20px; height: 20px; flex: none; }
.ico--lg { width: 32px; height: 32px; }
.wz { display: grid; min-height: 100svh; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .wz { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); } }
.wz__main { display: flex; flex-direction: column; padding: 0 var(--gut) var(--s-9); }
.wz__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: var(--nav); }
.wz__user { max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz__progress { width: 100%; max-width: 560px; margin: var(--s-6) auto 0; }
.wz__bar { height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.wz__bar-fill { height: 100%; background: var(--action); transform-origin: left; transition: transform .5s var(--ease); }
.wz__labels { display: flex; justify-content: space-between; margin-top: var(--s-3); font-size: var(--t-label); font-weight: 500; color: var(--muted); }
.wz__labels .is-done { color: var(--ink); }
@media (max-width: 639px) { .wz__labels { display: none; } }
.wz__body { width: 100%; max-width: 560px; margin: var(--s-8) auto 0; flex: 1 0 auto; }
.wz__loading { display: grid; place-items: center; padding: var(--s-9) 0; color: var(--muted); }
.wz__title { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); }
.wz__title h1 { font-size: clamp(32px, 2vw + 22px, 44px); }
.wz__step { color: var(--accent); }
.wz__form { display: grid; gap: var(--s-5); }
.wz__alt { text-align: center; justify-self: center; }
.wz__secure { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
.wz__cta { margin-top: var(--s-6); }
.wz__ctas { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.wz__switch { margin-bottom: var(--s-5); }
.wz__back { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-6); height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-weight: 500; cursor: pointer; }
.wz__back:hover { color: var(--ink); }
.wz__side { display: none; }
@media (min-width: 1024px) {
  .wz__side { display: block; position: relative; }
  .wz__side-in { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: var(--s-6); padding: var(--s-8) var(--s-8) var(--s-8) var(--s-8); overflow: hidden; }
  .wz__shot { width: 135%; max-width: none; }
  .wz__line { font: var(--display-weight) var(--t-h3)/1.25 var(--font-display); letter-spacing: -0.02em; max-width: 26ch; }
}
.btn--block { width: 100%; height: 52px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.link--btn { border: 0; padding: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; }
.link--btn::after { content: none; }

/* fields */
.field { font-size: var(--t-small); }
.field > label, .field > legend { font-weight: 500; color: var(--ink); padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input { width: 100%; height: 48px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
         background: #fff; color: var(--ink); font: 400 var(--t-body)/1.4 var(--font-text); transition: border-color var(--dur) var(--ease), box-shadow 140ms var(--ease); }
.input:focus, .input:focus-within { outline: 0; border-color: var(--action); box-shadow: 0 0 0 3px color-mix(in oklab, var(--action) 18%, transparent); }
.input[aria-invalid="true"], .input.is-invalid { border: 2px solid color-mix(in oklab, #d92d20 72%, var(--ink)); }
.input--pad-r { padding-right: 52px; }
.input.mono { font-family: var(--font-mono); font-size: 13px; }
.field__error { --error: color-mix(in oklab, #d92d20 72%, var(--ink)); color: var(--error); }
.field__hint { color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap__btn { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: var(--r-sm); }
.input-wrap__btn:hover { color: var(--ink); }
.input--affix { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.input__bare { flex: 1 1 auto; min-width: 0; border: 0; background: none; padding: 0 var(--s-4); font: inherit; color: inherit; outline: 0; }
.input__suffix { display: flex; align-items: center; padding: 0 var(--s-3); background: var(--p-surface); color: var(--muted); font-size: var(--t-small); white-space: nowrap; }
.slug-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }
.slug-status .ink { color: var(--ink); font-weight: 500; }
.ok { display: inline-flex; align-items: center; gap: 4px; color: #1f6b44; font-weight: 500; }
.ok .ico { width: 16px; height: 16px; }
.bad { color: color-mix(in oklab, #d92d20 72%, var(--ink)); font-weight: 500; }
.strength { display: inline-flex; align-items: center; gap: var(--s-2); }
.strength__bars { display: inline-flex; gap: 4px; }
.strength__bars i { width: 28px; height: 4px; border-radius: 99px; background: var(--line-strong); }
.strength[data-strength="1"] .is-on { background: #d92d20; }
.strength[data-strength="2"] .is-on { background: #c98a12; }
.strength[data-strength="3"] .is-on { background: #1f6b44; }
.check { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--t-body); font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--action); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { height: 44px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-weight: 500; font-size: var(--t-small); cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.note { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); font-size: var(--t-body); }
.note--warn { background: #f6ead2; color: #3d2f12; margin-bottom: var(--s-4); }
.note--error { background: #f9e3df; color: #7a1f12; font-weight: 500; }
.wz__ctas + .note, .choices + .note { margin-top: var(--s-4); }

/* theme and plan choices */
.choices { display: grid; gap: var(--s-3); }
.choice { display: grid; gap: var(--s-4); width: 100%; padding: var(--s-3); text-align: left; border: 1px solid var(--line-strong); border-radius: var(--r-lg);
          background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"], .choice[aria-checked="true"] { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.choice--theme { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .choice--theme { grid-template-columns: 200px minmax(0, 1fr); align-items: center; } }
.choice__media { display: block; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.choice__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.choice__body { display: grid; gap: var(--s-2); padding: 0 var(--s-2) var(--s-2); }
.choice__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.choice__name { font: var(--display-weight) var(--t-h3)/1.1 var(--font-display); letter-spacing: -0.02em; }
.choice__text { color: var(--c-text, var(--ink)); font-size: var(--t-body); }
.choice__sel { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 500; font-size: var(--t-small); }
.choice__sel .ico { width: 16px; height: 16px; }
.choice--plan { padding: var(--s-5); }
.choice__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); }
.choice__price b { font: var(--display-weight) var(--t-h3)/1 var(--font-display); letter-spacing: -0.02em; }
.choice__list { padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-body); }
@media (min-width: 640px) { .choice__list { grid-template-columns: 1fr 1fr; } }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--s-3); border-radius: 999px; background: var(--p-surface); font: 500 var(--t-label)/1 var(--font-text); }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--action-ink); }
.choice[aria-checked="true"] .radio { background: var(--action); border-color: var(--action); }
.radio .ico { width: 14px; height: 14px; }

/* payment */
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.method { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 72px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: #fff; font-weight: 500; cursor: pointer; color: var(--ink); }
.method[aria-selected="true"] { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); color: var(--accent); }
.row2, .row3 { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1fr .8fr .5fr; } }
.row2--fixed { grid-template-columns: 1fr 1fr; }
.cardbox { display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-lg); background: var(--p-surface); }
.pay { display: grid; gap: var(--s-4); }
.pay__ok { display: flex; align-items: center; gap: var(--s-3); font-weight: 500; color: #1f6b44; }
.pay__tick, .done-tick { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e6f1ea; color: #1f6b44; }
.done-tick { width: 64px; height: 64px; margin-bottom: var(--s-5); }
.done-tick .ico { width: 30px; height: 30px; }
.pay__pix { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 640px) { .pay__pix { grid-template-columns: auto minmax(0, 1fr); } }
.pay__qr { width: 176px; height: 176px; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); justify-self: center; }
.pay__copy { display: flex; gap: var(--s-2); margin-top: 4px; }
.pay__gap { margin-top: var(--s-3); }
.pay__wait { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); }
.pay__live { width: 8px; height: 8px; border-radius: 50%; background: #c98a12; }
.pay__line { word-break: break-all; font-size: var(--t-small); margin-top: 4px; }
.summary { margin: 0; border-top: 1px solid var(--line); }
.summary > div { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.next-steps { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.next-steps li { display: flex; align-items: center; gap: var(--s-3); }

/* ---------------------------------------------------------------- round-1 fixes */
/* the dealt CSS grounds (bg-mist, bg-band) centre their content and pad it their own way; on this page every
   section keeps the system's box: its h2 first, --padt under the top, one or two screens */
main > section.section:is(.bg-mist, .bg-band):not(.section--hero) { display: flex; flex-direction: column; align-content: normal;
  padding-block: var(--padt) calc(var(--padb) + var(--bar)); min-height: calc(var(--h, 1) * 100svh); }
@media (max-width: 639px) { main > section.section:is(.bg-mist, .bg-band):not(.section--hero) { min-height: calc(var(--hm, var(--h, 1)) * 100lvh); } }
main > section.section:is(.bg-mist, .bg-band) > .wrap { display: flex; flex-direction: column; gap: var(--head-gap); }
main > section.section.bg-mist > .wrap > .grid.fill { flex: 1 1 0; min-height: 0; }

/* the hero's order window: the whole story (paid, invoiced, shipped, your commission) above the fade */
.ow__open { padding: 16px 22px; gap: 12px; }
.ow__steps li { padding: 8px 0; }
.ow__body { min-height: 320px; }

/* a diagram frame keeps its own height (the ratio trick of .frame does not hold a grid) */
.frame--diagram { display: block; position: relative; aspect-ratio: 5 / 4; height: auto; }
.frame--diagram::before { display: none; }
.frame--diagram > .dg { position: absolute; inset: 0; }

/* plan cards: tighter, so the head, the three plans and the foot share one screen */
.plans .card--plan { padding: var(--s-5) var(--s-6); }
.plans .checks { gap: var(--s-2); }
.plan__for { min-height: 0; }
@media (min-width: 1024px) { .plans--3 .card--plan { row-gap: var(--s-3); } }

.pricing__tools { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }

@media (min-width: 1024px) and (max-width: 1279px) { #modelo .panel { --p-h: 240px; } }
@media (max-width: 639px) { #modelo .panel { --p-h: 170px; } }
@media (max-width: 1023px) { main > section > .wrap > .grid.fill, main > section.section.bg-mist > .wrap > .grid.fill { flex: none; } }

/* a short desktop (1024x768): the 2x2's panels take a share of the screen, so its two groups stay two screens */
@media (min-width: 1024px) and (max-height: 820px) { #modelo .panel { --p-h: 26svh; } #modelo .card > p { min-height: 0; } }
/* the tablet: the plans stack one a row, two screens */
@media (min-width: 640px) and (max-width: 1023px) {
  #planos { --h: 2; }
  .plans .card--plan { grid-column: 1 / -1; }
}
/* a phone: the home's plans keep their name, price, button and first three lines */
@media (max-width: 639px) {
  #planos .checks li:nth-child(n+4) { display: none; }
  .plans .card--plan { padding: var(--s-5); }
}

/* round 2 */
.close__word { line-height: 1; padding-top: .04em; }
.hero--centred .hero__lead { color: var(--ink); }
.plan__name { display: flex; align-items: center; gap: var(--s-2); }
.plan__name h3 { font-family: var(--font-text); font-weight: 500; font-size: var(--t-card); line-height: 1.3; }
/* the themes on a phone: eight tiles two by two (shot + name), the descriptions live on /temas */
@media (max-width: 639px) {
  #temas .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #temas .theme-card { grid-column: span 1; }
  #temas .theme-card > p { display: none; }
  #temas .theme-card .panel { --p-h: 130px; }
  #temas .theme-card > h3 .badge { display: none; }
}

/* round 3 */
.panel--plain, :root:has(meta[name="site-kind"]) .panel.panel--plain { background-image: none; background-color: #f1ebe2; }
@media (max-width: 639px) { #modelo .panel.panel--plain { --p-h: 330px; } }
.integ-frame { --ratio: 0px; display: block; padding: var(--s-8) var(--s-7) 0; overflow: hidden; }
.integ-frame::before { display: none; }
.integ { background: #fff; color: #1c1916; border-radius: var(--r-md) var(--r-md) 0 0; box-shadow: 0 0 0 1px rgb(28 25 22 / .08), 0 24px 60px -32px rgb(28 25 22 / .45); font: 400 14px/1.4 var(--font-text); }
.integ__bar { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 20px; border-bottom: 1px solid rgb(28 25 22 / .08); }
.integ__bar b { font-weight: 500; font-size: 15px; }
.integ__bar .muted { color: #6b655e; font-size: 13px; }
.integ__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid rgb(28 25 22 / .06); }
.integ__tile { --tile: 44px; }
.integ__tile img { width: 26px; height: 26px; object-fit: contain; }
.integ__name { display: grid; gap: 2px; min-width: 0; }
.integ__name b { font-weight: 500; }
.integ__name span { font-size: 13px; color: #6b655e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.integ__ok { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: #e6f1ea; color: #1f6b44; font-size: 12px; font-weight: 500; }
.integ__event { display: flex; align-items: center; gap: 10px; padding: 14px 20px 18px; font-size: 13px; color: #3d3833; }
.integ__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
@media (max-width: 639px) { .integ-frame { padding: var(--s-5) var(--s-4) 0; } .integ__row { padding: 12px 14px; } .integ__event { padding: 12px 14px 16px; } }
.faq__photo { margin-top: var(--s-6); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 420px; }
.faq__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 1023px) { .faq__photo { aspect-ratio: 16 / 9; max-width: none; } }

@media (min-width: 1024px) { #faq .faq__item:nth-child(n+5) { display: none; } }
@media (max-width: 639px) { .plans .checks { gap: 6px; } .plans .card--plan { padding: 20px; } }
@media (min-width: 640px) and (max-width: 1023px) { #faq { --h: 2; } }
#modelo .panel.panel--plain { background-image: none; background-color: #f4efe7; }

/* inner pages, round 2 */
.shot-fill { height: 100%; min-height: 0; }
.shot-fill > .vw { height: 100%; display: flex; flex-direction: column; }
.shot-fill > .vw > .vw__img { flex: 1 1 0; min-height: 0; height: 100%; aspect-ratio: auto; }
@media (max-width: 1023px) { .shot-fill { height: auto; } .shot-fill > .vw > .vw__img { aspect-ratio: 16 / 10; height: auto; } }
@media (max-width: 1023px) {
  .segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segments > .segment { grid-column: span 1; height: auto; }
  .segment .panel { --p-h: 240px; min-height: var(--p-h); }
  #incluso .frame--photo { min-height: 380px; }
}
@media (max-width: 639px) { .segment .panel { --p-h: 170px; } .segment { --c-pad: 14px; } .segment > h3 { font-size: 16px; } }

.faq-cols { min-height: 0; }
.faq-cols > .faq { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gutter); }
@media (min-width: 1024px) {
  .faq-cols > .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; align-content: start; }
  .faq-cols > .faq > .faq__item:first-child { padding-top: var(--s-5); }
}
.compare__row { min-height: 40px; padding: 6px 0; }
.compare__group { padding: var(--s-4) 0 var(--s-1); }
@media (max-width: 639px) { #comparar { --hm: 2; } .compare__row { min-height: 36px; padding: 4px 0; } .compare__group { padding: var(--s-3) 0 0; } }
.shot-fill > .vw { min-height: 420px; }
@media (max-width: 1023px) { .shot-fill > .vw { min-height: 0; } }

@media (min-width: 1024px) and (max-height: 820px) { .who__card .panel { --p-h: 160px; } .who__card > h3 { margin-bottom: var(--s-3); } }
@media (min-width: 1024px) and (max-width: 1279px) { .grid.who > .card.who__card.span-4:has(> .panel) { grid-column: auto / span 4 !important; } }
/* links inside a sentence: the underline only, no arrow */
.check .link::after, .login__resume .link::after, .wz__top .link::after, .legal .t-lead .link::after, .lines .link::after { content: none; }

/* ---------------------------------------------------------------- Vitrine Pagamentos (/pagamentos) */
/* the hero's window: one sale's breakdown (the order window's chrome, summary rows inside) */
.pay-frame { --ratio: 0px; padding: clamp(var(--s-5), 4vw, var(--s-8)); }
.pay-ow { width: min(100%, 520px); }
.pay-ow .ow__open { padding: 20px 24px 22px; gap: 16px; }
.pay-ow__rows { margin: 0; display: grid; }
.pay-ow__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid rgb(28 25 22 / .07); }
.pay-ow__rows dt { color: #5f5a54; }
.pay-ow__rows dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-ow__net dt { color: #1c1916; font-weight: 500; }
.pay-ow__net dd { font-weight: 500; font-size: 18px; color: var(--accent); }
.pay-ow__foot { font-size: 12px; color: #7a746c; }
@media (max-width: 639px) { .pay-ow .ow__open { padding: 16px; } .pay-ow__rows > div { padding: 9px 0; font-size: 13px; } }

/* the fee table: one R$ 100,00 sale per method; a phone reads each row as a short card */
.fees { width: 100%; border-collapse: collapse; font-size: var(--t-body); line-height: 1.4; }
.fees__caption { caption-side: bottom; text-align: left; padding-top: var(--s-4); }
.fees th, .fees td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.fees thead th { padding-top: 0; font-size: var(--t-label); font-weight: 500; color: var(--muted); border-bottom-color: var(--line-strong); }
.fees tbody th { font-weight: 500; }
.fees small { display: block; margin-top: 2px; font-size: var(--t-small); font-weight: 400; color: var(--muted); }
.fees .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fees__net { font-weight: 500; }
.fees th:last-child, .fees td:last-child { padding-right: 0; }
@media (max-width: 767px) {
  .fees thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fees, .fees tbody, .fees tr, .fees th, .fees td { display: block; }
  .fees tr { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
  .fees tr:first-child { padding-top: 0; }
  .fees tbody th, .fees td { border: 0; padding: 3px 0; }
  .fees tbody th { font-size: var(--t-card); margin-bottom: var(--s-1); }
  .fees td { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4); }
  .fees td::before { content: attr(data-label); color: var(--muted); }
  .fees td > small { grid-column: 2; text-align: right; }
  .fees td, .fees .num { text-align: right; white-space: normal; }
  .fees td::before { text-align: left; grid-row: 1 / span 2; }
}

/* the anticipation formula: the equation in mono, the worked example in summary rows */
.formula { gap: var(--s-4); background: var(--p-bg); }
.formula__eq { font: 500 15px/1.5 var(--font-mono); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: var(--p-surface); }
.formula .summary dt { max-width: 34ch; }
.formula__total dt, .formula__total dd { font-weight: 500; }
.formula__total dd { color: var(--accent); font-size: var(--t-card); }

/* the simulator: the fields on the left line, the answer in a box on the right */
.sim__form { display: grid; gap: var(--s-5); align-content: start; }
.sim__form fieldset.field { display: grid; }
.sim__methods { width: fit-content; max-width: 100%; }
.sim select.input:disabled { background: var(--p-surface); color: var(--muted); cursor: not-allowed; }
.sim__result { gap: var(--s-5); padding: var(--s-6); align-content: start; }
.sim__head { display: grid; gap: var(--s-1); }
.sim__net { font-size: clamp(36px, 2vw + 24px, 52px); line-height: 1.05; }
.sim__result[data-source="loading"] .sim__net { opacity: .55; transition: opacity var(--dur) var(--ease); }
.sim__result .btn { justify-self: start; }
@media (max-width: 1023px) { .sim__result { margin-top: var(--s-6); } }
@media (max-width: 639px) { .sim__result { padding: var(--s-5); } .sim__result .btn { width: 100%; justify-content: center; white-space: normal; height: auto; min-height: 52px; } }

.pay-provider { margin-top: var(--s-6); max-width: 90ch; }
