/* ==========================================================================
   LAVRE — área do cliente (meus-pedidos.html)
   Visual de aplicativo, no mesmo estilo do painel de pedidos e das telas de
   referência: fundo claro, cartões em relevo, ícones em círculos e botões
   azuis. Cores, fonte, .card, .orb, .icon e .cta vêm do base.css.
   1. Base e topo   2. Peças   3. Entrada   4. Início   5. Pedidos
   6. Pedido aberto   7. Conta e abas   8. Computador
   ========================================================================== */

/* 0. Sistema de design: as mesmas medidas do painel de pedidos ------------------
   ESPAÇO  --sp-1 4  --sp-2 8  --sp-3 12  --sp-4 16  --sp-5 20  --sp-6 32
   CANTOS  --r-sm 16  --r-md 20  --r-lg 24
   TEXTO   --tx-title 28  --tx-section 18  --tx-lead 16  --tx-body 15  --tx-small 13 */
:root {
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 32px;
  --r-sm: 16px; --r-md: 20px; --r-lg: 24px;
  --tx-title: 28px; --tx-section: 18px; --tx-lead: 16px; --tx-body: 15px; --tx-small: 13px; --tx-micro: 12px;
}

/* 1. Base e topo ----------------------------------------------------------- */
html, body { background: var(--bg); }
html { touch-action: manipulation; }
body { min-height: 100vh; min-height: 100dvh; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p { margin: 0; }
button { -webkit-tap-highlight-color: transparent; font-family: inherit; touch-action: manipulation; }
.app { min-height: 100vh; min-height: 100dvh; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.side { display: none; }

.head { padding: calc(var(--sp-4) + env(safe-area-inset-top)) var(--sp-5) var(--sp-2); display: flex; align-items: center; gap: var(--sp-3); }
.head__logo { margin-right: auto; display: flex; }
.head__logo img { height: 26px; width: auto; display: block; }
.head .head__back { display: none; }
.head__back .icon { transform: rotate(180deg); stroke-width: 2.2; }
/* Com um pedido aberto, o topo fica como nas telas de referência: voltar, logo no meio e conta */
.has-open .head .head__back { display: flex; }
.has-open .head__logo { margin: 0 auto; }

/* Botão redondo em relevo */
.well { --i: 21px; position: relative; flex: none; width: 46px; height: 46px; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); background: #F7F8FB; box-shadow: var(--shadow-neu); }
.well:active { transform: scale(0.94); }
.well--text { font-size: 14px; font-weight: 800; letter-spacing: 0.02em; color: var(--blue); }

.view { flex: 1; padding: var(--sp-3) var(--sp-5) calc(120px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: var(--sp-3); }
.wait { padding: var(--sp-6) 0; text-align: center; font-size: var(--tx-body); color: var(--muted); }

/* 2. Peças ------------------------------------------------------------------ */
.intro { margin-bottom: var(--sp-2); }
.intro h1 { font-size: var(--tx-title); line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; color: var(--ink); }
.intro p { margin-top: var(--sp-1); font-size: var(--tx-body); line-height: 1.4; color: var(--muted); }
.section-title { margin-top: var(--sp-5); font-size: var(--tx-section); letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }

/* Etiqueta da situação do pedido */
.pill { --i: 14px; flex: none; padding: 6px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: var(--teal-soft); color: var(--teal-ink); }
.pill .icon { stroke-width: 2.4; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.pill--cancelado { background: var(--red-soft); color: #A8173A; }

/* Botão claro em forma de pílula ("Acompanhar pedido", "Pedir novamente") */
.soft { --i: 17px; padding: 0 var(--sp-4); min-height: 44px; border: none; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: var(--sp-2); background: #F7F8FB; box-shadow: var(--shadow-neu); font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; }
.soft, .soft:hover { color: var(--blue); }
.soft:active { transform: scale(0.98); }
.soft .icon { stroke-width: 2; }

.cta--app { --d: 50px; --i: 24px; min-height: 66px; text-decoration: none; }
.cta--app .cta__label { text-align: left; padding-left: var(--sp-2); }

/* 3. Entrada (e-mail e telefone) --------------------------------------------- */
.is-out .head, .is-out .tabs { display: none; }
.is-out .view { justify-content: center; padding: var(--sp-6) var(--sp-5); }
.enter { display: flex; flex-direction: column; align-items: center; gap: var(--sp-5); }
.enter__logo { height: 44px; width: auto; display: block; }
.enter__hello { text-align: center; }
.enter__hello h1 { font-size: 22px; letter-spacing: -0.03em; font-weight: 800; color: var(--ink); }
.enter__hello p { margin-top: var(--sp-1); font-size: var(--tx-body); line-height: 1.4; color: var(--muted); }
.enter__card { width: 100%; padding: var(--sp-5); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--sp-3); }
/* Campo afundado no cartão, como nas telas de referência */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__box { --i: 20px; height: 56px; padding: 0 var(--sp-4); border-radius: 18px; display: flex; align-items: center; gap: var(--sp-3); color: var(--faint); background: #EEF1F6; box-shadow: inset 2px 2px 5px rgba(22,44,96,0.07), inset -2px -2px 5px #fff; }
.field__box:focus-within { color: var(--blue); box-shadow: inset 2px 2px 5px rgba(22,44,96,0.07), inset -2px -2px 5px #fff, 0 0 0 2px var(--blue); }
/* 16px no campo: abaixo disso o iPhone dá zoom ao tocar */
.field__box input { flex: 1; min-width: 0; height: 100%; border: none; outline: none; background: transparent; font-family: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.field__box input::placeholder { color: #7C869C; }
.field__error { display: none; padding-left: var(--sp-1); font-size: var(--tx-micro); font-weight: 600; color: var(--red); }
.field.has-error .field__box { box-shadow: inset 2px 2px 5px rgba(22,44,96,0.07), inset -2px -2px 5px #fff, 0 0 0 2px var(--red); }
.field.has-error .field__error { display: block; }
.enter__error { padding: 12px 14px; border-radius: var(--r-sm); font-size: var(--tx-small); line-height: 1.4; font-weight: 600; background: var(--red-soft); color: #A8173A; }
.enter__btn { --d: 44px; --i: 22px; min-height: 60px; margin-top: var(--sp-1); }
.enter__btn .cta__icon { visibility: hidden; }
.enter__new { font-size: var(--tx-body); color: var(--muted); text-align: center; }
.enter__new a { font-weight: 700; }
.safe { --i: 15px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: var(--tx-micro); color: var(--muted); }
.safe .icon { color: var(--teal); }

/* 4. Início -------------------------------------------------------------------- */
/* Como funciona: quatro passos numerados em linha */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-2); }
.how__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); text-align: center; font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.how__tile { --i: 24px; position: relative; width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.how__tile b { position: absolute; top: -7px; left: -7px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: var(--teal-soft); color: var(--teal-ink); box-shadow: 0 0 0 2px var(--bg); }
/* Tracejado ligando um passo ao seguinte */
.how__step + .how__step::before { content: ""; position: absolute; top: 28px; right: calc(50% + 34px); width: calc(100% - 60px); border-top: 2px dashed var(--line); }

/* Três números: preço, taxa e serviço */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.trio__item { padding: var(--sp-4) var(--sp-2); border-radius: var(--r-md); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.trio__item .orb { --d: 44px; --i: 22px; margin-bottom: 2px; }
.trio__item strong { font-size: 14.5px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.trio__item small { font-size: 11.5px; line-height: 1.3; color: var(--muted); }

/* Pedido em andamento */
.running { padding: var(--sp-4); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--sp-4); }
.running__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.running__head strong { font-size: var(--tx-lead); color: var(--teal-ink); }
.running__row { display: flex; align-items: center; gap: var(--sp-3); }
.running__row .orb { --d: 48px; --i: 22px; }
.running__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.running__text strong { font-size: var(--tx-body); color: var(--ink); }
.running__text span { font-size: var(--tx-small); line-height: 1.35; color: var(--muted); }
/* Quatro marcos: Solicitado, Coleta, Lavagem, Entregue */
.marks { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.marks::before, .marks i { content: ""; position: absolute; top: 7px; left: 12.5%; height: 2px; border-radius: 2px; }
.marks::before { right: 12.5%; background: var(--rail); }
.marks i { background: var(--teal); }
.mark { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); font-size: 11.5px; font-weight: 600; color: var(--faint); text-align: center; }
.mark::before { --i: 10px; content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--gray); box-shadow: 0 0 0 3px var(--surface); }
.mark.is-done::before, .mark.is-current::before { background: var(--teal); }
.mark.is-current::before { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--teal-soft); }
.mark.is-done, .mark.is-current { color: var(--ink); }

/* 5. Pedidos ------------------------------------------------------------------- */
/* Filtro em três partes iguais */
.segs { padding: 5px; border-radius: var(--r-md); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.seg { min-height: 44px; padding: 0 var(--sp-2); border: none; border-radius: 15px; cursor: pointer; background: none; font-size: 14px; font-weight: 700; color: #6B7489; white-space: nowrap; }
.seg.is-active { background: var(--grad-blue); box-shadow: var(--shadow-blue); color: #fff; }

.list { display: flex; flex-direction: column; gap: var(--sp-3); }
.order { padding: var(--sp-4); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--sp-4); }
.order.is-open { box-shadow: var(--shadow-card), 0 0 0 2px var(--blue); }
.order__top { width: 100%; padding: 0; border: none; background: none; cursor: pointer; display: flex; align-items: center; gap: var(--sp-3); text-align: left; }
.order__top .orb { --d: 50px; --i: 24px; color: var(--teal); }
.order__name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.order__name strong { font-size: var(--tx-lead); color: var(--ink); }
.order__name span { font-size: var(--tx-small); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order__facts { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: var(--sp-3); }
.fact { --i: 19px; min-width: 0; display: flex; align-items: flex-start; gap: var(--sp-2); }
.fact + .fact { padding-left: var(--sp-3); border-left: 1px solid #E4E8F0; }
.fact .icon { margin-top: 2px; color: var(--blue); }
.fact b { display: block; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact span span { display: block; font-size: var(--tx-micro); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact > span { min-width: 0; }
.order .soft { width: 100%; }

.empty { padding: var(--sp-6) var(--sp-5); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); text-align: center; }
.empty .orb { --d: 64px; --i: 28px; margin-bottom: var(--sp-2); color: var(--teal); }
.empty strong { font-size: var(--tx-lead); color: var(--ink); }
.empty span { max-width: 270px; font-size: var(--tx-small); line-height: 1.5; color: var(--muted); }

/* No celular a lista e o pedido aberto se revezam; no computador ficam lado a lado */
.orders { display: flex; flex-direction: column; gap: var(--sp-3); }
.orders__list, .orders__pane { display: flex; flex-direction: column; gap: var(--sp-3); }
.orders.has-open .orders__list, .orders:not(.has-open) .orders__pane { display: none; }

/* 6. Pedido aberto --------------------------------------------------------------- */
.top { padding: var(--sp-5); border-radius: var(--r-lg); display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-3); }
.top__name { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.top__name strong { font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.top__name span { font-size: var(--tx-small); line-height: 1.4; color: var(--muted); }

.box { padding: var(--sp-5); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--sp-4); }
.box__title { font-size: var(--tx-lead); font-weight: 700; color: var(--ink); }

/* Acompanhamento: uma linha por etapa. Sem classe = ainda não chegou,
   .is-done = passou, .is-current = atual. */
.track { display: flex; flex-direction: column; }
.stage { --dot: 20px; position: relative; display: grid; grid-template-columns: var(--dot) 42px minmax(0, 1fr) auto; align-items: center; gap: var(--sp-3); min-height: 58px; }
.stage::before { content: ""; position: absolute; left: 9px; top: 50%; height: 100%; width: 2px; background: var(--rail); }
.stage:last-child::before { display: none; }
.stage.is-done::before { background: var(--teal); }
.stage__dot { --i: 12px; position: relative; width: var(--dot); height: var(--dot); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--gray); color: #fff; }
.stage__dot .icon { stroke-width: 3; display: none; }
.stage.is-done .stage__dot { background: var(--teal); border-color: var(--teal); }
.stage.is-done .stage__dot .icon { display: block; }
.stage.is-current .stage__dot { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.stage.is-current .stage__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.stage__tile { --i: 21px; width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #F7F8FB; box-shadow: var(--shadow-neu); color: var(--faint); }
.stage.is-done .stage__tile { color: var(--teal); }
.stage.is-current .stage__tile { color: var(--blue); }
.stage__text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.stage__text strong { font-size: var(--tx-body); font-weight: 600; color: #6B7489; }
.stage__text span { font-size: var(--tx-micro); line-height: 1.35; color: var(--muted); }
.stage.is-done .stage__text strong { color: var(--ink); }
.stage.is-current .stage__text strong { font-weight: 700; color: var(--blue); }
.stage small { font-size: var(--tx-micro); font-weight: 600; color: var(--muted); white-space: nowrap; }
.stage.is-current small { color: var(--blue); }

/* Resumo de valores, depois da pesagem */
.vals { display: flex; flex-direction: column; }
.val { --i: 20px; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0; }
.val + .val { border-top: 1.5px dashed var(--line); }
.val:first-child { padding-top: 0; }
.val__tile { flex: none; width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #F7F8FB; box-shadow: var(--shadow-neu); color: var(--blue); }
.val__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: var(--tx-body); color: var(--ink); }
.val__text small { font-size: var(--tx-micro); color: var(--muted); }
.val b { flex: none; font-size: var(--tx-body); color: var(--ink); white-space: nowrap; }
.total { margin-top: var(--sp-1); padding: var(--sp-4); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); background: #EAF8F5; }
.total span { display: flex; flex-direction: column; gap: 1px; font-size: var(--tx-lead); font-weight: 700; color: var(--ink); }
.total small { font-size: var(--tx-micro); font-weight: 400; color: var(--muted); }
.total strong { flex: none; font-size: 24px; letter-spacing: -0.03em; color: var(--teal-ink); white-space: nowrap; }

/* Linha com ícone, rótulo e valor (endereço, previsão, ajuda) */
.row { --i: 21px; padding: var(--sp-4); border-radius: var(--r-md); display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.row .orb { --d: 44px; --i: 21px; }
.row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row__text small { font-size: var(--tx-micro); color: var(--muted); }
.row__text strong { font-size: var(--tx-body); line-height: 1.35; color: var(--ink); }
.row > .icon { color: #B4BCCC; stroke-width: 2; }
button.row { width: 100%; cursor: pointer; text-align: left; font-family: inherit; }
.row--teal .row__text strong { color: var(--teal-ink); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.duo > :only-child { grid-column: 1 / -1; }
/* "Voltar para os pedidos": só aparece no computador de tela média, onde não há topo com o botão de voltar */
.pane__back { display: none; align-self: flex-start; }
.pane__back .icon { transform: rotate(180deg); }

/* 7. Conta e abas ----------------------------------------------------------------- */
.me { padding: var(--sp-5); border-radius: var(--r-lg); display: flex; align-items: center; gap: var(--sp-4); }
.me .orb { --d: 56px; --i: 26px; }
.me__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.me__text strong { font-size: var(--tx-section); letter-spacing: -0.02em; color: var(--ink); }
.me__text span { font-size: var(--tx-small); color: var(--muted); overflow-wrap: anywhere; }
.link { --i: 20px; width: 100%; padding: 0 var(--sp-4); min-height: 58px; border: none; border-radius: var(--r-md); cursor: pointer; display: flex; align-items: center; gap: var(--sp-3); font-size: 15.5px; font-weight: 700; color: var(--ink); text-decoration: none; text-align: left; }
.link, .link:hover { color: var(--ink); }
.link .icon:first-child { color: var(--blue); }
.link .icon:last-child:not(:first-child) { margin-left: auto; color: #B4BCCC; }
.link--exit .icon:first-child { color: var(--red); }

.tabs { position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 6; width: calc(100% - 28px); max-width: 520px; transform: translateX(-50%); padding: 6px; border-radius: 26px; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(249,250,252,0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.95); box-shadow: 0 10px 30px rgba(22,44,96,0.12), 0 1px 3px rgba(22,44,96,0.05); }
.tab { --i: 24px; position: relative; padding: 9px 2px 6px; border: none; border-radius: 20px; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #6F7A92; }
.tab.is-active { color: var(--blue); }
.tab.is-active::before { content: ""; position: absolute; top: -6px; left: 50%; width: 38px; height: 3px; margin-left: -19px; border-radius: 3px; background: var(--blue); }
.tab.is-active .icon { stroke-width: 2.3; fill: rgba(11,85,227,0.12); }

/* Celular: previsão e ajuda um embaixo do outro, para o texto caber inteiro */
@media (max-width: 479.98px) {
  .trio__item { padding-left: var(--sp-1); padding-right: var(--sp-1); }
  .trio__item strong { font-size: 13.5px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
}
/* Telas estreitas: os três dados do pedido apertam um pouco e o círculo do pedido sai */
@media (max-width: 389.98px) {
  .order__top .orb { display: none; }
}
@media (max-width: 359.98px) {
  .cta--app { --d: 44px; --i: 22px; min-height: 60px; }
  .cta--app .cta__label { font-size: 17px; }
  .view { padding-left: var(--sp-4); padding-right: var(--sp-4); }
  .order__facts { gap: var(--sp-2); }
  .fact + .fact { padding-left: var(--sp-2); }
  .how__tile { width: 50px; height: 50px; }
  .how__step + .how__step::before { top: 25px; right: calc(50% + 31px); width: calc(100% - 56px); }
}

/* 8. Computador -------------------------------------------------------------------
   O menu vai para a lateral, as abas de baixo somem e o conteúdo ganha largura:
   a tela inicial em duas colunas e os pedidos com a lista de um lado e o pedido
   aberto do outro. */
@media (min-width: 900px) {
  .app { max-width: none; margin: 0; flex-direction: row; }
  .tabs, .head { display: none; }
  .side { position: sticky; top: 0; align-self: flex-start; flex: none; width: 272px; height: 100vh; padding: var(--sp-6) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-6); background: var(--surface); border-right: 1px solid #E4E8F0; }
  .is-out .side { display: none; }
  .side__logo { padding: 0 var(--sp-3); display: flex; }
  .side__logo img { height: 28px; width: auto; display: block; }
  .side__nav { display: flex; flex-direction: column; gap: var(--sp-1); }
  .side__link { --i: 21px; padding: 0 var(--sp-4); min-height: 50px; border: none; border-radius: var(--r-sm); cursor: pointer; display: flex; align-items: center; gap: var(--sp-3); background: none; font-size: 15.5px; font-weight: 700; color: #6B7489; text-align: left; }
  .side__link:hover { background: #EEF2F8; }
  .side__link.is-active { background: var(--blue-soft); color: var(--blue); }
  .side__link.is-active .icon { stroke-width: 2.3; }
  .side__cta { --d: 44px; --i: 22px; min-height: 58px; padding: 7px 18px 7px 7px; margin-top: auto; text-decoration: none; }
  .side__cta .cta__label { font-size: 16px; }
  .side__back { --i: 16px; align-self: center; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
  .side__back .icon { transform: rotate(180deg); stroke-width: 2.2; }

  .view { width: 100%; max-width: 1080px; margin: 0 auto; padding: 44px 40px 56px; gap: var(--sp-4); }
  .intro h1 { font-size: 34px; }
  .intro p { font-size: var(--tx-lead); }

  .view > .intro, .view > .account, .view > .home, .view > .orders { width: 100%; max-width: 640px; margin-left: auto; margin-right: auto; }
  .pane__back { display: flex; }
}
/* Computador de tela larga: duas colunas */
@media (min-width: 1180px) {
  .view > .intro, .view > .account, .view > .home, .view > .orders { max-width: none; }
  .pane__back { display: none; }
  /* Início: chamada e pedido em andamento de um lado, como funciona e preços do outro */
  .home { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--sp-6); align-items: start; }
  .home__col { display: flex; flex-direction: column; gap: var(--sp-4); }
  .home__col .section-title:first-child { margin-top: 0; }
  .how__tile { width: 64px; height: 64px; border-radius: 20px; }
  .how__step { font-size: 12.5px; }
  .how__step + .how__step::before { top: 32px; right: calc(50% + 38px); width: calc(100% - 68px); }
  .trio__item strong { font-size: 15.5px; }
  .trio__item small { font-size: 12.5px; }

  /* Pedidos: lista e pedido aberto lado a lado */
  .orders { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
  .orders.has-open .orders__list, .orders:not(.has-open) .orders__pane { display: flex; }
  .orders__list { position: sticky; top: 44px; }
  .view > .account { max-width: 520px; margin-left: 0; }
}
@media (min-width: 900px) {
  .account { display: flex; flex-direction: column; gap: var(--sp-3); }
  /* Entrada: cartão no meio da tela */
  .is-out .view { max-width: 460px; }
}
@media (max-width: 1179.98px) {
  /* Em uma coluna a ordem é a das telas de referência: chamada, como funciona, preços e, por último, o pedido */
  .home, .home__col { display: flex; flex-direction: column; gap: var(--sp-3); }
  .home__col { display: contents; }
  .home .running, .home button.row { order: 1; }
}
@media (max-width: 899.98px) {
  .home, .account { display: contents; }
}
