/* Zelyon Web v2, Fase B: telas das marcas ficticias e estudos de projeto.
   Carregado onde ha telas das marcas: /, /solucoes, /processo, /projetos e os tres estudos.
   Telas (parciais ui-mare-*, ui-ilha-*, ui-rota-*): responsivas pelo container do aparelho
   (.browser e .phone__screen sao containers): estreita ate 419 px (celular), larga a partir
   de 420 px (computador). --u e a unidade de desenho de cada faixa. Texto nunca abaixo de 11 px.
   Especificidade baixa: a base das telas usa :where(), e as regras de classe vencem sem !important.
   !important so na regra do estado do pedido e no bloco de movimento reduzido. */

/* =====================================================================
   Telas: base
   ===================================================================== */
.scr { position: absolute; inset: 0; overflow: hidden; --u: 1cqw; }
@container (min-width: 420px) { .scr { --u: 0.34cqw; } }
:where(.mx, .ix, .rx) :where(span) { display: block; }
.scr b { font-weight: 650; }
/* pedido de exemplo da Rota Fresca: antes (sa) e depois (sb) da confirmacao */
.sb:not([data-state="b"] .sb),
[data-state="b"] .sa { display: none !important; }

/* =====================================================================
   Maré Marcenaria: site
   ===================================================================== */
.mx { display: flex; flex-direction: column; background: #faf6ef; color: #2a1f17; }
.mx__nav { flex: none; display: flex; align-items: center; gap: calc(4 * var(--u)); padding: calc(4.4 * var(--u)) calc(6 * var(--u)); border-bottom: 1px solid rgba(107, 74, 47, 0.16); }
.phone__screen .mx__nav { padding-top: 14cqw; }
.mx__logo { font-family: Georgia, "Times New Roman", serif; font-size: max(13px, calc(7.4 * var(--u))); font-weight: 700; letter-spacing: -0.02em; color: #6b4a2f; }
.mx__links,
.mx__navcta { display: none; }
.mx__menu { margin-left: auto; width: calc(6.4 * var(--u)); min-width: 16px; height: calc(4.4 * var(--u)); min-height: 10px; border-top: 2px solid #6b4a2f; border-bottom: 2px solid #6b4a2f; }
.mx__body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(4.4 * var(--u)); padding: calc(5.4 * var(--u)) calc(6 * var(--u)); }
.mx__h1 { font-family: Georgia, "Times New Roman", serif; font-size: max(15px, calc(9.6 * var(--u))); line-height: 1.04; letter-spacing: -0.02em; }
.mx__h2 { font-family: Georgia, "Times New Roman", serif; font-size: max(14px, calc(8 * var(--u))); line-height: 1.06; letter-spacing: -0.02em; }
.mx__p { margin-top: calc(2.6 * var(--u)); font-size: max(11px, calc(4.4 * var(--u))); line-height: 1.45; color: #6b5a4b; }
.mx__btn { align-self: flex-start; margin-top: calc(4 * var(--u)); padding: calc(3 * var(--u)) calc(5 * var(--u)); border-radius: 2px; background: #6b4a2f; color: #faf6ef; font-size: max(11px, calc(4.4 * var(--u))); font-weight: 600; }
.mx__sticky { flex: none; margin: 0 calc(4 * var(--u)) calc(4 * var(--u)); padding: calc(3.8 * var(--u)); border-radius: 3px; background: #6b4a2f; color: #faf6ef; text-align: center; font-size: max(11px, calc(4.6 * var(--u))); font-weight: 600; box-shadow: 0 -6px 16px rgba(42, 31, 23, 0.12); }

.mx-home__copy { display: flex; flex-direction: column; align-items: flex-start; }
.mx-home__img,
.mx-atl__img { flex: none; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; }
.mx-home__img svg,
.mx-atl__img svg,
.mx-proj__img svg { width: 100%; height: 100%; }
.mx-home__cats { display: grid; grid-template-columns: 1fr 1fr; gap: calc(2 * var(--u)); }
.mx-cat { display: flex; align-items: center; gap: calc(2 * var(--u)); padding: calc(2 * var(--u)) calc(2.6 * var(--u)); border-radius: 2px; background: #efe6d8; color: #6b4a2f; font-size: max(11px, calc(4.2 * var(--u))); }
.mx-cat:nth-child(2) { background: #e4e8de; color: #4e6649; }
.mx-cat__ico { flex: none; width: max(20px, calc(8 * var(--u))); height: auto; }
.f-paper-line { fill: #faf6ef; }
.f-sage-light { fill: #dfe5d8; }
.s-paper { stroke: #faf6ef; stroke-width: 2; fill: none; }

.mx-proj__head { display: flex; flex-direction: column; gap: calc(3 * var(--u)); }
.mx-proj__filters { display: flex; flex-wrap: wrap; gap: calc(1.6 * var(--u)); }
.mx-proj__filters span { padding: calc(1.4 * var(--u)) calc(3 * var(--u)); border: 1px solid rgba(107, 74, 47, 0.3); border-radius: 999px; font-size: max(11px, calc(3.8 * var(--u))); color: #5c4a3b; }
.mx-proj__filters span:nth-child(n + 4) { display: none; }
.mx-proj__filters .is-on { background: #6b4a2f; border-color: #6b4a2f; color: #faf6ef; }
.mx-proj__grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(4 * var(--u)) calc(3 * var(--u)); }
.mx-proj__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.mx-proj__name { margin-top: calc(1.6 * var(--u)); font-size: max(11px, calc(4 * var(--u))); font-weight: 600; line-height: 1.25; }
.mx-proj__meta { display: none; font-size: max(11px, calc(3.6 * var(--u))); color: #76675a; }
/* cenas dos projetos: parede, chao em perspectiva e a luz da janela */
.sc-wall-l { fill: #e8dece; }
.sc-wall-r { fill: #e2d5c1; }
.sc-window { fill: #fdf9f1; }
.sc-frame { fill: none; stroke: #d8c9b1; stroke-width: 1.5; }
.sc-light { fill: #fff; opacity: 0.45; }
.sc-shadow { fill: #2a1f17; opacity: 0.1; }

.mx-atl__steps { display: grid; gap: calc(2.4 * var(--u)); margin-top: calc(4 * var(--u)); }
.mx-atl__steps > span { padding-top: calc(2.4 * var(--u)); border-top: 1px solid rgba(107, 74, 47, 0.2); font-size: max(11px, calc(4 * var(--u))); color: #6b5a4b; }
.mx-atl__steps b { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #2a1f17; }

.mx-ct__info { display: none; }
.mx-ct__form { display: flex; flex-direction: column; gap: calc(2.6 * var(--u)); }
.mx-ct__field { padding: calc(2.4 * var(--u)) calc(3 * var(--u)); border: 1px solid rgba(107, 74, 47, 0.3); border-radius: 2px; background: #fff; font-size: max(11px, calc(4.2 * var(--u))); }
.mx-ct__field > span { margin-bottom: calc(0.6 * var(--u)); font-size: max(11px, calc(3.4 * var(--u))); color: #76675a; }
.mx-ct__form .mx__btn { align-self: stretch; margin-top: calc(1.4 * var(--u)); text-align: center; }

@container (min-width: 420px) {
  .mx__nav { gap: 2.4cqw; padding: 1.7cqw 4.4cqw; }
  .mx__logo { font-size: max(13px, 2.4cqw); }
  .mx__links { display: flex; gap: 2.4cqw; margin-left: auto; font-size: max(11px, 1.3cqw); color: #5c4a3b; }
  .mx__links .is-on { color: #2a1f17; box-shadow: inset 0 -2px 0 #6b4a2f; }
  .mx__navcta { display: block; padding: 0.8cqw 1.8cqw; border-radius: 2px; background: #6b4a2f; color: #faf6ef; font-size: max(11px, 1.25cqw); }
  .mx__menu,
  .mx__sticky { display: none; }
  .mx__body { gap: 2.4cqw; padding: 3cqw 4.4cqw 3.2cqw; }
  .mx__h1 { font-size: max(16px, 4.4cqw); }
  .mx__h2 { font-size: max(15px, 3.2cqw); }
  .mx__p { max-width: 36cqw; margin-top: 1.6cqw; font-size: max(11px, 1.45cqw); }
  .mx__btn { margin-top: 2.4cqw; padding: 1cqw 2.2cqw; font-size: max(11px, 1.3cqw); }
  .mx-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: 4cqw; row-gap: 2.4cqw; }
  .mx-home__copy { justify-content: center; }
  .mx-home__img,
  .mx-atl__img { height: 100%; min-height: 0; aspect-ratio: auto; }
  .mx-home__cats { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6cqw; }
  .mx-cat { gap: 1cqw; padding: 0.9cqw 1.4cqw; font-size: max(11px, 1.25cqw); }
  .mx-cat__ico { width: max(20px, 2.8cqw); }
  .mx-proj__head { flex-direction: row; align-items: center; justify-content: space-between; }
  .mx-proj__filters span { padding: 0.5cqw 1.4cqw; font-size: max(11px, 1.2cqw); }
  .mx-proj__filters span:nth-child(n + 4) { display: block; }
  .mx-proj__grid { flex: 1; min-height: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2cqw; }
  .mx-proj__item { display: flex; flex-direction: column; min-height: 0; }
  .mx-proj__img { flex: 1; min-height: 0; aspect-ratio: auto; }
  .mx-proj__name { margin-top: 1cqw; font-size: max(11px, 1.4cqw); }
  .mx-proj__meta { display: block; margin-top: 0.3cqw; font-size: max(11px, 1.15cqw); }
  .mx-atl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; column-gap: 4cqw; }
  .mx-atl__steps { gap: 1.2cqw; margin-top: 2.4cqw; }
  .mx-atl__steps > span { padding-top: 1.1cqw; font-size: max(11px, 1.3cqw); }
  .mx-ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 4cqw; }
  .mx-ct__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqw; margin-top: 2.6cqw; }
  .mx-ct__info > span { padding-top: 1cqw; border-top: 1px solid rgba(107, 74, 47, 0.2); font-size: max(11px, 1.2cqw); line-height: 1.4; color: #6b5a4b; }
  .mx-ct__info b { display: block; color: #2a1f17; }
  .mx-ct__form { gap: 1.2cqw; padding: 2.4cqw; border-radius: 2px; background: #efe6d8; }
  .mx-ct__field { padding: 0.9cqw 1.2cqw; font-size: max(11px, 1.35cqw); }
  .mx-ct__field > span { font-size: max(11px, 1.1cqw); }
  .mx-ct__form .mx__btn { margin-top: 0.6cqw; }
}
/* navegador estreito (420-599 px): o menu completo nao cabe; fica o botao de visita */
@container (min-width: 420px) and (max-width: 599px) {
  .mx__links { display: none; }
  .mx__navcta { margin-left: auto; }
  .mx-proj__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-proj__item:nth-child(n + 3) { display: none; }
  .mx-ct__info { grid-template-columns: minmax(0, 1fr); }
  .mx-ct__info > span:nth-child(n + 2) { display: none; }
}

/* =====================================================================
   Ilha Contábil: portal (azul-petroleo e verde-agua)
   ===================================================================== */
.ix { display: flex; flex-direction: column; background: #f4f8f8; color: #12303a; }
.ix__side,
.ix__aside,
.ix__recent { display: none; }
.ix__top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: calc(4.4 * var(--u)) calc(6 * var(--u)); background: #0e4757; }
.phone__screen .ix__top { padding-top: 14cqw; }
.ix__logo { font-size: max(12px, calc(5.6 * var(--u))); font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.ix__avatar { display: grid; place-items: center; width: max(22px, calc(8 * var(--u))); aspect-ratio: 1; border-radius: 50%; background: #5cbfae; color: #062f37; font-size: max(11px, calc(4 * var(--u))); font-weight: 700; }
.ix__main { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(3 * var(--u)); padding: calc(5.4 * var(--u)) calc(6 * var(--u)); }
.ix__hello,
.ix__label,
.ix__meta { font-size: max(11px, calc(3.8 * var(--u))); color: #46636b; }
.ix__h1 { font-size: max(15px, calc(7.4 * var(--u))); font-weight: 650; line-height: 1.1; letter-spacing: -0.02em; color: #0e4757; }
.ix__progress { display: flex; align-items: center; gap: calc(3 * var(--u)); font-size: max(11px, calc(3.8 * var(--u))); color: #46636b; }
.ix__bar { flex: 1; height: max(4px, calc(1.6 * var(--u))); overflow: hidden; border-radius: 999px; background: #dbe8e8; }
.ix__fill { height: 100%; background: #5cbfae; transform-origin: left center; }
.ix__fill--2 { transform: scaleX(0.667); }
.ix__list { display: flex; flex-direction: column; gap: calc(2 * var(--u)); }
.ix__row { display: flex; align-items: center; justify-content: space-between; gap: calc(3 * var(--u)); padding: calc(3.2 * var(--u)) calc(4 * var(--u)); border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 71, 87, 0.1); font-size: max(11px, calc(4.2 * var(--u))); }
.ix__row--hl { box-shadow: inset 0 0 0 1.5px #0e4757; }
.ix__doc { min-width: 0; }
.ix__state { flex: none; padding: calc(0.8 * var(--u)) calc(2.6 * var(--u)); border-radius: 999px; font-size: max(11px, calc(3.6 * var(--u))); font-weight: 600; white-space: nowrap; }
.ix__state--todo { background: #0e4757; color: #fff; }
.ix__state--ok { background: #d8f0eb; color: #0b5a4c; }
.ix__state--wait { background: #e9eef0; color: #3c5259; }
.ix__btn { flex: none; margin-top: auto; padding: calc(4 * var(--u)); border-radius: 12px; background: #5cbfae; color: #062f37; text-align: center; font-size: max(11px, calc(4.6 * var(--u))); font-weight: 650; }
/* abas no pe da tela: tres colunas iguais, rotulos curtos e centrados */
.ix__tabs { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(14, 71, 87, 0.12); background: #fff; }
.ix__tabs span { min-width: 0; padding: calc(3.2 * var(--u)) calc(1 * var(--u)) calc(4.6 * var(--u)); text-align: center; white-space: nowrap; font-size: max(11px, calc(3.4 * var(--u))); color: #46636b; }
.ix__tabs .is-on { color: #0e4757; font-weight: 650; box-shadow: inset 0 3px 0 #5cbfae; }
.ix__chips { display: flex; flex-wrap: wrap; gap: calc(1.6 * var(--u)); }
.ix__chips span { padding: calc(1.4 * var(--u)) calc(3 * var(--u)); border: 1px solid rgba(14, 71, 87, 0.25); border-radius: 999px; font-size: max(11px, calc(3.6 * var(--u))); }
.ix__chips .is-on { background: #0e4757; border-color: #0e4757; color: #fff; }
.ix__drop { padding: calc(5 * var(--u)); border: 1.5px dashed rgba(14, 71, 87, 0.35); border-radius: 12px; background: #fff; }
.ix__file { display: flex; align-items: center; gap: calc(3 * var(--u)); font-size: max(11px, calc(3.8 * var(--u))); color: #46636b; }
.ix__file b { display: block; color: #12303a; overflow-wrap: anywhere; }
.ix__file-icon { flex: none; width: max(16px, calc(8 * var(--u))); aspect-ratio: 3 / 4; border-radius: 3px; background: #d8f0eb; box-shadow: inset 0 0 0 1.5px #5cbfae; }
.ix__req { display: flex; flex-direction: column; gap: calc(3 * var(--u)); padding: calc(4 * var(--u)); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 71, 87, 0.1); }
.ix__req--done { gap: calc(2.4 * var(--u)); padding-block: calc(3 * var(--u)); }
.ix__req-title { font-size: max(12px, calc(4.6 * var(--u))); font-weight: 650; color: #0e4757; }
.ix__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(2 * var(--u)); }
.ix__steps span { position: relative; padding-top: max(16px, calc(4.6 * var(--u))); font-size: max(11px, calc(3.4 * var(--u))); color: #46636b; }
.ix__steps span::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; width: max(10px, calc(3 * var(--u))); aspect-ratio: 1; border: 2px solid #b9cfd1; border-radius: 50%; background: #fff; }
.ix__steps span::after { content: ""; position: absolute; left: max(12px, calc(3.6 * var(--u))); right: 0; top: max(5px, calc(1.5 * var(--u))); height: 2px; background: #dbe8e8; }
.ix__steps span:last-child::after { display: none; }
.ix__steps .is-done { color: #12303a; }
.ix__steps .is-done::before { border-color: #5cbfae; background: #5cbfae; }
.ix__steps .is-done::after { background: #5cbfae; }
.ix__steps .is-now { color: #0e4757; font-weight: 650; }
.ix__steps .is-now::before { border-color: #0e4757; box-shadow: 0 0 0 3px rgba(14, 71, 87, 0.15); }
.ix__note { padding: calc(3 * var(--u)); border-radius: 8px; background: #f4f8f8; font-size: max(11px, calc(3.6 * var(--u))); line-height: 1.4; color: #3c5259; }
.ix__note b,
.ix__card b { display: block; color: #0e4757; }
.ix__card { padding: calc(4 * var(--u)); border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 71, 87, 0.1); font-size: max(11px, calc(3.8 * var(--u))); line-height: 1.45; color: #3c5259; }
.ix__recent-title { font-weight: 650; color: #0e4757; }
.ix__recent-row { display: flex; justify-content: space-between; gap: 1cqw; padding-top: 0.8cqw; border-top: 1px solid rgba(14, 71, 87, 0.1); color: #3c5259; }

.ix--login .ix-login__brand { position: relative; flex: none; display: flex; flex-direction: column; gap: calc(3 * var(--u)); overflow: hidden; padding: calc(6 * var(--u)) calc(6 * var(--u)) calc(9 * var(--u)); background: #0e4757; color: #fff; }
.phone__screen .ix-login__brand { padding-top: 16cqw; }
.ix-login__msg { position: relative; z-index: 1; max-width: 82%; font-size: max(14px, calc(7.4 * var(--u))); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.ix-login__wave { position: absolute; right: calc(-10 * var(--u)); bottom: calc(-16 * var(--u)); width: calc(46 * var(--u)); aspect-ratio: 1; border: calc(3 * var(--u)) solid rgba(92, 191, 174, 0.35); border-radius: 50%; }
.ix-login__form { flex: 1; display: flex; flex-direction: column; gap: calc(3.4 * var(--u)); padding: calc(6 * var(--u)); }
.ix__field { padding: calc(3 * var(--u)) calc(3.6 * var(--u)); border: 1px solid rgba(14, 71, 87, 0.25); border-radius: 10px; background: #fff; font-size: max(11px, calc(4.2 * var(--u))); overflow-wrap: anywhere; }
.ix__field > span { font-size: max(11px, calc(3.4 * var(--u))); color: #46636b; }
.ix-login__form .ix__btn { margin-top: calc(1 * var(--u)); }
.ix__link { align-self: center; font-size: max(11px, calc(3.8 * var(--u))); color: #0e4757; text-decoration: underline; }

@container (min-width: 420px) {
  .ix:not(.ix--login) { display: grid; grid-template-columns: 21% minmax(0, 1fr) 25%; }
  .ix__top,
  .ix__tabs { display: none; }
  .ix__side { display: flex; flex-direction: column; gap: 1.1cqw; padding: 3cqw 2.2cqw; background: #0e4757; }
  .ix__side .ix__logo { margin-bottom: 2cqw; font-size: max(12px, 2.1cqw); }
  .ix__item { padding: 0.9cqw 1.3cqw; border-radius: 6px; color: #cfe5e2; font-size: max(11px, 1.4cqw); }
  .ix__item.is-on { background: rgba(92, 191, 174, 0.22); color: #fff; font-weight: 600; }
  .ix__main { gap: 1.3cqw; padding: 3.2cqw 3.4cqw; }
  .ix__h1 { font-size: max(15px, 2.8cqw); }
  .ix__btn { align-self: flex-start; margin-top: 0.8cqw; padding: 1.2cqw 2.6cqw; border-radius: 8px; }
  .ix__aside { display: block; padding: 3.2cqw 2.4cqw 3.2cqw 0; }
  .ix__row { border-radius: 8px; }
  .ix__recent { display: flex; flex-direction: column; gap: 0.8cqw; margin-top: auto; padding: 1.6cqw 1.8cqw; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 71, 87, 0.1); font-size: max(11px, 1.3cqw); }
  .ix--login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ix--login .ix-login__brand { justify-content: flex-end; gap: 1.6cqw; padding: 4cqw; }
  .ix-login__msg { font-size: max(15px, 3.4cqw); }
  .ix-login__wave { right: -6cqw; bottom: auto; top: -6cqw; width: 26cqw; border-width: 1.6cqw; }
  .ix-login__form { justify-content: center; gap: 1.4cqw; padding: 3cqw 6cqw; }
  .ix-login__form .ix__h1 { margin-bottom: 0.6cqw; }
  .ix-login__form .ix__btn { align-self: stretch; text-align: center; }
}
@container (min-width: 420px) and (max-width: 599px) {
  .ix:not(.ix--login) { grid-template-columns: 26% minmax(0, 1fr); }
  .ix__aside,
  .ix__item:nth-child(n + 5),
  .ix__req--done { display: none; }
}

/* =====================================================================
   Rota Fresca: sistema (verde de feira; situacao sempre com texto)
   ===================================================================== */
.rx { display: flex; flex-direction: column; background: #f6f6f1; color: #1b2a22; }
.rx__head { flex: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(1 * var(--u)) calc(3 * var(--u)); padding: calc(4.4 * var(--u)) calc(6 * var(--u)) calc(3 * var(--u)); }
.phone__screen .rx__head { padding-top: 14cqw; }
.rx__logo { font-size: max(11px, calc(3.8 * var(--u))); font-weight: 700; color: #17603f; }
.rx__title { flex-basis: 100%; font-size: max(15px, calc(6.8 * var(--u))); font-weight: 650; line-height: 1.1; letter-spacing: -0.02em; }
.rx__date { display: none; font-size: max(11px, calc(3.4 * var(--u))); color: #4f5e55; }
.rx__kpis { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: calc(2.4 * var(--u)); padding: 0 calc(6 * var(--u)); }
.rx__kpi { padding: calc(3 * var(--u)) calc(3.4 * var(--u)); border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(27, 42, 34, 0.08); }
.rx__kpi > b,
.rx-mgr__big > b,
.rx-mgr__split b { display: block; font-size: max(18px, calc(9 * var(--u))); font-weight: 650; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rx__kpi > span { margin-top: calc(1 * var(--u)); font-size: max(11px, calc(3.6 * var(--u))); color: #4f5e55; }
.rx__kpi--route > b { color: #17603f; }
.rx__kpi--pick > b { color: #7a4d00; }
.rx__table { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(1.6 * var(--u)); padding: calc(3 * var(--u)) calc(6 * var(--u)); }
/* celular: sem a coluna de regiao (nada de nome cortado) */
.rx__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: calc(3 * var(--u)); padding: calc(2.6 * var(--u)) calc(3.4 * var(--u)); border-radius: 8px; background: #fff; font-size: max(11px, calc(4 * var(--u))); }
.rx__row--head,
.rx__zone { display: none; }
.rx__row--hl { box-shadow: inset 0 0 0 1.5px #17603f; }
.rx__id { font-weight: 650; font-variant-numeric: tabular-nums; }
.rx__more { padding-top: calc(1 * var(--u)); font-size: max(11px, calc(3.4 * var(--u))); color: #4f5e55; }
.rx__st { justify-self: end; padding: calc(0.8 * var(--u)) calc(2.6 * var(--u)); border-radius: 999px; font-size: max(11px, calc(3.6 * var(--u))); font-weight: 650; white-space: nowrap; }
.rx__st--route { background: #d9efe2; color: #0f5132; }
.rx__st--pick { background: #fbe7c0; color: #5e3b00; }
.rx__st--done { background: #e3e8e2; color: #2f3c34; }
.rx__st--done::before { content: "✓ "; }

.rx-map { flex: none; margin: 0 calc(6 * var(--u)); }
.rx-map svg { width: 100%; height: auto; }
.rx-map__bg { fill: #e7ece3; }
.rx-map__road { fill: none; stroke: #fff; stroke-width: 6; }
.rx-map__r { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.rx-map__r--n { stroke: #17603f; }
.rx-map__r--c { stroke: #2f6f8f; }
.rx-map__r--s { stroke: #a4561c; }
.rx-map__depot { fill: #1b2a22; }
.rx-map__stop { fill: #fff; stroke: #1b2a22; stroke-width: 2; }
.rx-map__stop--hl { stroke: #17603f; stroke-width: 4; }
.rx-routes { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: calc(2.4 * var(--u)); padding: calc(3 * var(--u)) calc(6 * var(--u)); }
.rx-route { display: flex; flex-direction: column; gap: calc(1.6 * var(--u)); padding: calc(3 * var(--u)) calc(3.4 * var(--u)); border-top: 4px solid var(--rc, #17603f); border-radius: 8px; background: #fff; font-size: max(11px, calc(3.8 * var(--u))); }
.rx-route--c { --rc: #2f6f8f; display: none; }
.rx-route--s { --rc: #a4561c; display: none; }
.rx-route__head { display: flex; justify-content: space-between; gap: calc(2 * var(--u)); }
.rx-route__head span,
.rx-route__count { color: #4f5e55; }
.rx-route__stop { display: flex; align-items: center; justify-content: space-between; gap: calc(2 * var(--u)); padding-top: calc(1.6 * var(--u)); border-top: 1px solid rgba(27, 42, 34, 0.1); }
.rx-route__stop > span:first-child { min-width: 0; }

/* entregador: o meio cede espaco; o botao de confirmar nunca sai da tela */
.rx--driver { gap: calc(3 * var(--u)); padding: 14cqw calc(6 * var(--u)) calc(6 * var(--u)); background: #10251a; color: #f2f5ef; }
.rx-drv__top { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: calc(2 * var(--u)); }
.rx-drv__logo { font-size: max(11px, calc(5 * var(--u))); font-weight: 700; color: #8fd6a8; }
.rx-drv__route,
.rx-drv__count,
.rx-drv__next { font-size: max(11px, calc(4.4 * var(--u))); color: #c9d6cd; }
.rx-drv__body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(3.4 * var(--u)); }
.rx-drv__stop { flex: none; display: flex; flex-direction: column; gap: calc(1.4 * var(--u)); padding: calc(5 * var(--u)); border-radius: 12px; background: #f2f5ef; color: #10251a; font-size: max(11px, calc(4.6 * var(--u))); }
.rx-drv__stop > b { font-size: max(16px, calc(8.6 * var(--u))); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rx-drv__over,
.rx-drv__items { color: #33463a; }
[data-state="b"] .rx-drv__stop { background: #d9efe2; }
.rx-drv__next { display: flex; flex-direction: column; }
.rx-drv__next-title { margin-bottom: calc(1.4 * var(--u)); }
.rx-drv__row { display: flex; gap: calc(3 * var(--u)); padding-block: calc(2.6 * var(--u)); border-top: 1px solid rgba(242, 245, 239, 0.14); color: #e3ebe5; }
.rx-drv__row b { color: #f2f5ef; font-variant-numeric: tabular-nums; }
.rx-drv__btn { flex: none; padding: calc(5.2 * var(--u)); border-radius: 12px; background: #f4b740; color: #10251a; text-align: center; font-size: max(13px, calc(6 * var(--u))); font-weight: 700; }
[data-state="b"] .rx-drv__btn { background: #8fd6a8; }

.rx-mgr { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: calc(2.4 * var(--u)); padding: 0 calc(6 * var(--u)) calc(4 * var(--u)); }
.rx-mgr__big { padding: calc(4 * var(--u)); border-radius: 10px; background: #17603f; color: #fff; }
.rx-mgr__big > b { font-size: max(26px, calc(14 * var(--u))); }
.rx-mgr__big > span { margin-top: calc(1 * var(--u)); font-size: max(11px, calc(3.8 * var(--u))); color: #d9efe2; }
.rx-mgr__split { display: grid; grid-template-columns: 1fr 1fr; gap: calc(2.4 * var(--u)); }
.rx-mgr__split > span { padding: calc(3 * var(--u)); border-radius: 8px; background: #fff; font-size: max(11px, calc(3.6 * var(--u))); color: #4f5e55; }
.rx-mgr__split b { font-size: max(16px, calc(7 * var(--u))); color: #1b2a22; }
.rx-mgr__regions,
.rx-mgr__people { display: flex; flex-direction: column; gap: calc(2.2 * var(--u)); padding: calc(3.4 * var(--u)); border-radius: 8px; background: #fff; font-size: max(11px, calc(3.6 * var(--u))); }
.rx-mgr__people,
.rx-hours { display: none; }
.rx-mgr__title { font-weight: 650; }
/* celular: nome e numero na mesma linha, barra inteira embaixo (nada cortado) */
.rx-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name val" "track track"; align-items: center; gap: calc(1 * var(--u)) calc(2 * var(--u)); }
.rx-bar__name { grid-area: name; }
.rx-bar__track { grid-area: track; height: max(6px, calc(2.2 * var(--u))); overflow: hidden; border-radius: 999px; background: #e3e8e2; }
.rx-bar__val { grid-area: val; white-space: nowrap; font-variant-numeric: tabular-nums; color: #4f5e55; }
.rx-bar__val span { display: inline; }
.rx-bar__fill { height: 100%; background: #17603f; transform-origin: left center; transition: transform 480ms var(--ease-out); }
.rx-bar__fill--n { transform: scaleX(0.5); }
[data-state="b"] .rx-bar__fill--n { transform: scaleX(0.556); }
.rx-bar__fill--c { transform: scaleX(0.571); background: #2f6f8f; }
.rx-bar__fill--s { transform: scaleX(0.375); background: #a4561c; }
.rx-person { display: flex; justify-content: space-between; padding-top: calc(1.6 * var(--u)); border-top: 1px solid rgba(27, 42, 34, 0.1); }
.rx-person b { font-variant-numeric: tabular-nums; }
.rx-h0 { transform: scaleY(0); }
.rx-h1 { transform: scaleY(0.1667); }
.rx-h2 { transform: scaleY(0.3333); }
.rx-h3 { transform: scaleY(0.5); }
.rx-h4 { transform: scaleY(0.6667); }
.rx-h5 { transform: scaleY(0.8333); }
.rx-h6 { transform: scaleY(1); }

@container (min-width: 420px) {
  .rx__head { gap: 2cqw; padding: 2.4cqw 3.6cqw 1.6cqw; }
  .rx__title { flex-basis: auto; }
  .rx__date { display: block; margin-left: auto; }
  .rx__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4cqw; padding: 0 3.6cqw; }
  .rx__table { gap: 0.6cqw; padding: 1.6cqw 3.6cqw; }
  .rx__row { grid-template-columns: 0.8fr 1.2fr 0.8fr; padding: 0.8cqw 1.4cqw; }
  .rx__zone { display: block; min-width: 0; color: #4f5e55; }
  .rx__st { justify-self: start; }
  .rx__row--head { display: grid; padding-block: 0.2cqw; background: none; color: #4f5e55; font-size: max(11px, 1.15cqw); }
  .rx__more { padding: 0.4cqw 1.4cqw 0; font-size: max(11px, 1.15cqw); }
  .rx-map { margin: 0 3.6cqw; }
  .rx-map svg { max-height: 19cqw; }
  .rx-routes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4cqw; padding: 1.6cqw 3.6cqw; }
  .rx-route--c,
  .rx-route--s { display: flex; }
  .rx-mgr { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 1.6cqw; padding: 0 3.6cqw 2.4cqw; }
  .rx-mgr__big { grid-row: 1; grid-column: 1; }
  .rx-mgr__split { grid-row: 2; grid-column: 1; }
  .rx-mgr__regions { grid-row: 1 / span 2; grid-column: 2; }
  .rx-mgr__people { display: flex; grid-row: 1 / span 2; grid-column: 3; }
  .rx-bar { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) 7.5ch; grid-template-areas: "name track val"; }
  .rx-bar__val { text-align: right; }
  .rx-hours { display: flex; flex-direction: column; gap: 1.2cqw; grid-column: 1 / -1; grid-row: 3; padding: 1.6cqw 1.8cqw; border-radius: 8px; background: #fff; font-size: max(11px, 1.2cqw); }
  .rx-hours__bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1.6cqw; }
  .rx-hours__col { display: flex; flex-direction: column; align-items: center; gap: 0.6cqw; color: #4f5e55; font-variant-numeric: tabular-nums; }
  .rx-hours__track { position: relative; width: 100%; height: 9cqw; border-bottom: 1px solid rgba(27, 42, 34, 0.15); }
  .rx-hours__bar { position: absolute; left: 18%; right: 18%; bottom: 0; height: 100%; border-radius: 4px 4px 0 0; background: #17603f; transform-origin: bottom center; }
  .rx-hours__col:last-child .rx-hours__bar { background: #f4b740; }
}
@container (min-width: 420px) and (max-width: 599px) {
  .rx__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rx__row { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) auto; }
  .rx-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rx-route--s { display: none; }
  .rx-mgr { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .rx-mgr__people,
  .rx-hours { display: none; }
}

/* o que mudou com a confirmacao pisca uma vez em lima (mostra a ligacao entre as telas) */
@keyframes rx-flash { 0% { opacity: 0; } 22% { opacity: 1; } 100% { opacity: 0; } }
.chg { position: relative; }
.chg::after { content: ""; position: absolute; inset: -3px; border: 2px solid var(--zy-lime); border-radius: 10px; opacity: 0; pointer-events: none; }
.is-flash .chg::after { animation: rx-flash 1100ms var(--ease-out) 1; }

/* =====================================================================
   Demonstracao dos estudos: palco, aparelho, controles
   ===================================================================== */
.sdemo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.sdemo > .sstage,
.sdemo > .sdemo__bar,
.sdemo > .sdemo__action,
.sdemo > .sdemo__note { grid-column: 1 / -1; }
.sdemo > .demo__status { margin-top: 20px; }
.ssec--deep .demo__status--light { background: var(--zy-paper); box-shadow: inset 0 0 0 1px var(--zy-hair-light); }

.sstage {
  --stage-r: var(--corner);
  position: relative;
  aspect-ratio: 1312 / 720;
  overflow: hidden;
  border-radius: var(--corner);
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(0, 60, 70, 0.35), rgba(0, 60, 70, 0) 70%),
    linear-gradient(180deg, var(--zy-navy), var(--zy-abyss));
  box-shadow: var(--shadow-light);
}
.sstage .browser__bar { height: max(16px, 3.2cqw); }
.sdev { position: absolute; transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out), visibility 0s linear 0s; }
.sdev--browser { left: 12%; right: 12%; top: 8%; bottom: 7%; }
.sdev--phone { top: 6%; left: 50%; height: 89%; aspect-ratio: 390 / 844; transform: translateX(-50%); }
.sdev .device { position: absolute; inset: 0; }
.sdemo[data-device="celular"] .sdev--browser,
.sdemo:not([data-device="celular"]) .sdev--phone { opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms; }
.sdemo[data-device="celular"] .sdev--browser { transform: scale(0.96); }
.sdemo:not([data-device="celular"]) .sdev--phone { transform: translateX(-50%) translateY(24px); }
.sstage .scr { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s linear 300ms; }
.sstage .scr.is-on,
.no-js .sstage .scrs > .scr:first-child { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms var(--ease-out) 60ms, transform 300ms var(--ease-out) 60ms, visibility 0s linear 0s; }

/* rotulos do palco: aparelho; no celular, a cota de 390 px e a leitura do que muda */
.sdev__tag { position: absolute; z-index: 6; top: 3%; left: 12%; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; color: var(--zy-faint-on-dark); transition: opacity 240ms var(--ease-out); }
.sdev__tag--phone { left: calc(50% - 11.28%); }
.sdev__aside { position: absolute; z-index: 6; top: 42%; left: calc(50% + 11.28% + 40px); max-width: 22ch; padding-left: 16px; border-left: 1px solid var(--zy-cota); font-size: 0.875rem; line-height: 1.5; color: var(--zy-on-dark-muted); opacity: 0; transition: opacity 240ms var(--ease-out); }
.sdev__aside b { display: block; margin-bottom: 4px; font-size: 1.25rem; font-weight: 620; letter-spacing: -0.01em; color: var(--zy-on-dark); font-variant-numeric: tabular-nums; }
.sdemo[data-device="celular"] .sdev__tag--browser,
.sdemo:not([data-device="celular"]) .sdev__tag--phone { opacity: 0; }
.sdemo[data-device="celular"] .sdev__aside { opacity: 1; }

.sdemo__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.sdemo__bar > .steps { flex: 1 1 560px; margin-top: 0; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--zy-hair-light); border-radius: 999px; background: var(--zy-paper-deep); }
.tabs__btn {
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--zy-ink);
  font-size: 0.9375rem;
  font-weight: 560;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.tabs__btn:hover { background: #e9e2da; }
.tabs__btn[aria-pressed="true"] { background: var(--zy-navy); color: var(--zy-on-dark); }
.tabs__btn[aria-disabled="true"] { color: var(--zy-muted); text-decoration: line-through; text-decoration-thickness: 1px; cursor: not-allowed; }
.tabs__btn[aria-disabled="true"]:hover { background: transparent; }
.tabs__btn:focus-visible { outline: 3px solid var(--zy-navy); outline-offset: 2px; }
/* aparelho: controle secundario, menor, mais leve e a direita */
.tabs--device { margin-left: auto; padding: 3px; }
.tabs--device .tabs__btn { min-height: 38px; padding: 6px 14px; font-size: 0.875rem; font-weight: 500; }

/* acao principal da Rota Fresca, separada das visoes */
.sdemo__action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; }
.sdemo__act { min-height: 48px; }
.sdemo__hint { max-width: 52ch; font-size: 0.9375rem; color: var(--zy-muted); }
.no-js .sdemo__action { display: none; }
.sdemo__note { display: none; margin-top: 12px; font-size: 0.875rem; color: var(--zy-muted); }

/* etapas da Ilha: sempre a fileira com a linha lima, em qualquer largura */
.sdemo .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sdemo .steps::before,
.sdemo .steps::after { display: block; }

@media (max-width: 899px) {
  .sdemo > .demo__status,
  .sdemo > .demo__caption { grid-column: 1 / -1; }
  .sdemo > .demo__caption { margin-top: 12px; padding-top: 0; }
  .sstage { aspect-ratio: 900 / 620; }
  .sdev--browser { left: 6%; right: 6%; }
  .sdev__tag { left: 6%; }
  .sdev__tag--phone { left: calc(50% - 14.17%); }
  .sdev__aside { display: none; }
  .sdemo .steps { gap: 8px; }
  .sdemo .step { padding-inline: 10px; font-size: 0.875rem; }
}
/* abaixo de 768 px so o celular: a versao para computador precisa de tela maior */
@media (max-width: 767px) {
  .sdemo [data-device-group],
  .sdev--browser,
  .sdev__tag--browser { display: none; }
  .sdemo .sdev--phone { opacity: 1; visibility: visible; transform: translateX(-50%); }
  .sdemo .sdev__tag--phone { opacity: 1; }
  .sdemo__note { display: block; }
}
@media (max-width: 599px) {
  .sstage { --stage-r: 0px; aspect-ratio: 390 / 600; margin-inline: calc(-1 * var(--margin)); border-radius: 0; }
  .sdev--phone { top: 7%; }
  .sdev__tag--phone { left: calc(50% - 31.6%); top: 2.2%; }
  .sdemo__bar { flex-direction: column; align-items: stretch; }
  .sdemo__bar > .steps { flex: none; }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 22px; }
  .tabs__btn { min-height: 48px; padding-inline: 8px; }
  .sdemo .steps { gap: 4px; }
  .sdemo .step { min-height: 56px; padding: 6px 4px; font-size: 0.8125rem; line-height: 1.2; }
  .sdemo .step::before { display: none; }
  .sdemo__act { width: 100%; }
}

/* entrada do palco: uma vez, so com JS e sem movimento reduzido */
.sdemo.is-pending .sstage { clip-path: inset(0 0 100% 0 round var(--stage-r)); }
.sdemo.is-in .sstage { clip-path: inset(0 0 0 0 round var(--stage-r)); transition: clip-path 640ms var(--ease-out); }

/* =====================================================================
   Paginas dos estudos
   ===================================================================== */
.study-head { padding-bottom: clamp(48px, 6vw, 88px); }
.study-head .pagehead__grid { align-items: center; row-gap: 40px; }
.study-head__text { grid-column: 1 / 7; }
.study-head .thumb { grid-column: 7 / 13; margin-right: calc(-1 * var(--bleed)); border-right: 0; border-radius: 20px 0 0 20px; }
.concept {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(244, 247, 248, 0.24);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--zy-on-dark);
}
.concept::before { content: ""; width: 10px; height: 10px; border: 0 solid var(--zy-on-dark-muted); border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 4px; }
.study-head__lead { max-width: 40ch; margin-top: 24px; font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--zy-on-dark-muted); }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gutter); margin: 36px 0 0; border-top: 1px solid var(--zy-hair-dark); }
.spec > div { padding-top: 16px; }
.spec dt { font-size: 0.8125rem; font-weight: 500; color: var(--zy-faint-on-dark); }
.spec dd { margin: 4px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--zy-on-dark); }
@media (max-width: 899px) {
  .study-head__text { grid-column: 1 / -1; }
  .study-head .thumb { grid-column: 1 / -1; margin-right: calc(-1 * var(--margin)); }
}
@media (max-width: 599px) {
  .spec { grid-template-columns: minmax(0, 1fr); }
  .spec > div + div { margin-top: 16px; border-top: 1px solid var(--zy-hair-dark); }
}

.ssec { padding-block: clamp(64px, 7vw, 112px); background: var(--zy-paper); color: var(--zy-ink); --focus: var(--zy-navy); }
.ssec + .ssec { border-top: 1px solid var(--zy-hair-light); }
.ssec--deep { background: var(--zy-paper-deep); }
.ssec__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 640; line-height: 1.02; letter-spacing: -0.032em; }
.ssec__lead { max-width: 52ch; font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.55; }
.ssec__note { margin-top: 16px; font-size: 0.875rem; color: var(--zy-muted); }
.ssec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 16px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); }
.ssec__head .ssec__title { grid-column: 1 / 7; }
.ssec__head .ssec__lead { grid-column: 8 / 13; color: var(--zy-muted); }
/* ponto de partida a esquerda, o que construimos a direita, na mesma faixa */
.ssec__split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 56px; align-items: start; }
.ssec__split > .ssec__col:first-child { grid-column: 1 / 6; }
.ssec__split > .ssec__col:last-child { grid-column: 7 / 13; }
.ssec__col .ssec__title { margin-bottom: 24px; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
@media (max-width: 899px) {
  .ssec__head .ssec__title,
  .ssec__head .ssec__lead,
  .ssec__split > .ssec__col:first-child,
  .ssec__split > .ssec__col:last-child { grid-column: 1 / -1; }
}

.built { display: grid; }
.built__item { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px var(--gutter); padding-block: 16px; border-top: 1px solid var(--zy-hair-light); }
.built__item:last-child { border-bottom: 1px solid var(--zy-hair-light); }
.built__name { font-size: 1.0625rem; font-weight: 620; letter-spacing: -0.01em; }
.built__item p { color: var(--zy-muted); }
@media (max-width: 599px) { .built__item { grid-template-columns: minmax(0, 1fr); } }

.study-demo__more { grid-column: 1 / -1; margin-top: 8px; }

/* decisoes de design: cada uma com uma amostra visual do motivo */
.decisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--gutter); }
.decision { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 20px; padding-top: 24px; border-top: 1px solid var(--zy-hair-light); }
.decision__title { font-size: 1.25rem; font-weight: 620; line-height: 1.25; letter-spacing: -0.015em; }
.decision p { max-width: 46ch; margin-top: 8px; color: var(--zy-muted); }
.dz { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--zy-hair-light); }
.dz span { display: block; }
.dz--type { background: #efe6d8; font-family: Georgia, "Times New Roman", serif; font-size: 2.75rem; line-height: 1; color: #6b4a2f; }
.dz--swatch { grid-template-columns: repeat(3, 1fr); place-items: stretch; }
.dz--swatch span { height: 100%; }
.dz--swatch .sw-petrol { background: #0e4757; }
.dz--swatch .sw-aqua { background: #5cbfae; }
.dz--swatch .sw-mist { background: #f4f8f8; }
.dz--photo { background: #efe6d8; }
.dz--photo svg { width: 100%; height: 100%; }
.dz--sticky { background: #faf6ef; }
.dz--sticky::before { content: ""; position: absolute; inset: 14px 30px; border: 2px solid #2a1f17; border-radius: 12px; }
.dz--sticky span { position: absolute; left: 36px; right: 36px; bottom: 22px; height: 14px; border-radius: 3px; background: #6b4a2f; }
.dz--brand { align-content: center; gap: 6px; background: #faf6ef; font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #6b4a2f; }
.dz--brand span { font-size: 1.125rem; }
.dz--brand span + span { padding: 2px 8px; border-radius: 6px; background: #efe6d8; font-size: 0.8125rem; }
.dz--list { align-content: start; place-items: stretch; gap: 6px; padding: 14px; background: #f4f8f8; }
.dz--list span { height: 14px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 71, 87, 0.15); }
.dz--list span:first-child { height: 18px; background: #0e4757; box-shadow: none; }
.dz--onebtn { background: #f4f8f8; }
.dz--onebtn span { width: 64%; height: 18px; border-radius: 6px; background: #5cbfae; }
.dz--thumb { background: #f4f8f8; }
.dz--thumb::before { content: ""; position: absolute; left: 30px; right: 30px; top: 12px; bottom: -20px; border: 2px solid #0e4757; border-radius: 14px; }
.dz--thumb span { position: absolute; right: 22px; bottom: 6px; width: 48px; height: 48px; border: 2px dashed #5cbfae; border-radius: 50%; }
.dz--status { align-content: center; gap: 6px; background: #f6f6f1; }
.dz--status span { padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 650; }
.dz--status span:nth-child(1) { background: #fbe7c0; color: #5e3b00; }
.dz--status span:nth-child(2) { background: #d9efe2; color: #0f5132; }
.dz--status span:nth-child(3) { background: #e3e8e2; color: #2f3c34; }
.dz--num { background: #f6f6f1; font-size: 3rem; font-weight: 650; letter-spacing: -0.04em; color: #17603f; font-variant-numeric: tabular-nums; }
.dz--target { background: #10251a; }
.dz--target span { width: 74%; padding: 12px 0; border-radius: 10px; background: #f4b740; color: #10251a; text-align: center; font-size: 0.8125rem; font-weight: 700; }
@media (max-width: 899px) { .decisions { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) {
  .decision { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .dz--type { font-size: 2rem; }
  .dz--num { font-size: 2.25rem; }
  .dz--sticky::before { inset: 10px 20px; }
  .dz--sticky span { left: 25px; right: 25px; bottom: 16px; }
  .dz--thumb::before { left: 18px; right: 18px; }
  .dz--thumb span { right: 12px; width: 36px; height: 36px; }
  .dz--status span { padding: 2px 6px; font-size: 0.6875rem; }
  .dz--target span { font-size: 0.6875rem; }
}

/* no celular: tres telas; abaixo de 600 px uma so, maior, e a legenda acompanha */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: var(--gutter); padding: clamp(32px, 4vw, 64px) clamp(24px, 8vw, 128px); border-radius: var(--corner); background: linear-gradient(180deg, var(--zy-navy), var(--zy-abyss)); }
.phones__item { position: relative; aspect-ratio: 390 / 844; }
.phones__item:nth-child(2) { margin-top: 48px; }
.phones__item .device { position: absolute; inset: 0; }
@media (max-width: 599px) {
  .phones { grid-template-columns: minmax(0, 260px); justify-content: center; margin-inline: calc(-1 * var(--margin)); padding: 32px 20px; border-radius: 0; }
  .phones__item:nth-child(n + 2) { display: none; }
}

/* proximos estudos, dentro da faixa final */
.strip__others { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--zy-hair-dark); }
.strip__others-title { font-size: 0.875rem; font-weight: 500; color: var(--zy-on-dark-muted); }
.strip__others ul { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 4px; }

/* =====================================================================
   Movimento reduzido: estado final, trocas sem deslocamento
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .sdev,
  .sstage .scr,
  .rx-bar__fill,
  .sdev__tag,
  .sdev__aside { transition: none !important; }
  .sstage .scr { transform: none; }
  .is-flash .chg::after { animation: none; }
}
