/* SiloPimentel.mkt · Atendimento Organizado · cenário "celular da loja" · v2.1 · 29/10/2026
   O celular é o elemento central. O material da equipe aparece ao lado como apoio à pessoa que atende. */

.demo.ao {
  grid-template-columns: 300px minmax(0, 1fr);
  column-gap: 40px;
  grid-template-areas: ". stage" "head stage" "cap stage" "ctl stage" ". stage" "script script";
  grid-template-rows: 1fr auto auto auto 1fr auto;
}
.ao .caption { margin-top: 22px; min-height: 132px; }
.ao .demo-ctl { margin-top: 14px; }

/* luz quente atrás do celular, sem moldura de palco */
.ao .stage::before {
  content: ""; position: absolute; left: 4%; top: 6%; width: 52%; height: 88%;
  background: radial-gradient(closest-side, rgba(168, 92, 58, .22), transparent);
  pointer-events: none;
}

.ao .set { display: grid; grid-template-columns: 340px minmax(0, 440px); gap: 36px; align-items: center; justify-content: start; }
.ao .left { display: grid; gap: 8px; justify-items: center; }
.who { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--texto-claro-2); }
.who b { color: var(--texto-claro); font-weight: 650; }
.who svg { width: 18px; height: 18px; fill: var(--cobre-claro); flex: none; }

/* ---------- celular ---------- */
.phone {
  position: relative; width: 340px; padding: 7px; border-radius: 44px;
  background: #0E1110;
  box-shadow: 0 0 0 1px rgba(243, 236, 226, .16), 0 26px 60px rgba(0, 0, 0, .5);
}
.screen {
  height: 530px; border-radius: 37px; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--areia); color: var(--tinta);
}
.sbar { flex: none; height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 13px; font-weight: 650; position: relative; }
.sbar::after { content: ""; position: absolute; left: 50%; top: 7px; width: 84px; height: 20px; margin-left: -42px; border-radius: 12px; background: #0E1110; }
.sbar .bat { width: 22px; height: 11px; border: 1.5px solid var(--tinta); border-radius: 3px; position: relative; }
.sbar .bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: var(--tinta); border-radius: 1px; }

.chat-top { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; background: var(--marfim); border-bottom: 1px solid var(--linha-clara); }
.chat-top .back { width: 10px; height: 10px; border-left: 2px solid var(--tinta-2); border-bottom: 2px solid var(--tinta-2); transform: rotate(45deg); margin-right: 2px; flex: none; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cobre-claro); color: var(--tinta); font-weight: 750; font-size: 16px; flex: none; }
.chat-top b { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }
.chat-top small { display: block; font-size: 14px; color: var(--tinta-2); line-height: 1.25; }

.thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 10px 12px 12px; }
.day { flex: none; align-self: center; font-size: 13px; font-weight: 650; color: var(--tinta-2); background: rgba(243, 236, 226, .85); border-radius: 8px; padding: 3px 10px; }
.msg { flex: none; max-width: 86%; padding: 8px 12px 6px; border-radius: 16px; font-size: 17px; line-height: 1.38; box-shadow: 0 1px 1px rgba(24, 28, 26, .08); }
.msg.in { align-self: flex-start; background: #FBF7F1; border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: #E6CBB1; border-bottom-right-radius: 5px; }
.msg .t { display: block; text-align: right; font-size: 13px; color: var(--tinta-2); margin-top: 1px; }
.msg .by { display: block; text-align: right; font-size: 16px; color: var(--tinta-2); margin-top: 2px; }
.msg .by b { color: var(--tinta); font-weight: 700; }
.msg mark { background: rgba(168, 92, 58, .22); color: var(--tinta); border-radius: 4px; padding: 0 3px; font-weight: 650; }
.msg.photo { padding: 5px 5px 6px; width: 86%; }
.swatch { height: 120px; border-radius: 12px; background:
  repeating-linear-gradient(90deg, rgba(168, 92, 58, .14) 0 2px, transparent 2px 5px),
  repeating-linear-gradient(0deg, rgba(24, 28, 26, .07) 0 2px, transparent 2px 6px),
  linear-gradient(135deg, #E9DCC8, #D9C4A8); }
.msg.photo .cap { display: block; font-size: 16px; padding: 4px 7px 0; }
.msg.photo .by { padding: 0 7px; }

.composer { flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px 12px; background: var(--areia); border-top: 1px solid var(--linha-clara); }
.field { flex: 1; min-height: 44px; border-radius: 22px; background: #FBF7F1; padding: 10px 14px; font-size: 17px; line-height: 1.38; box-shadow: inset 0 0 0 1px var(--linha-clara); }
.field .ph { display: block; color: var(--tinta-2); font-size: 16px; }
.field .draft { display: block; }
.field.typing { box-shadow: inset 0 0 0 2px var(--cobre); }
.send { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--cobre); display: grid; place-items: center; flex: none; }
.send svg { width: 20px; height: 20px; fill: var(--marfim); }
.send .tap { position: absolute; inset: -12px; border-radius: 50%; background: rgba(215, 160, 109, .7); }

.dim { opacity: .42; }

/* ---------- material da equipe (apoio à pessoa) ---------- */
.right { display: grid; gap: 10px; justify-items: start; align-content: center; min-width: 0; }
.act { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--cobre); color: var(--marfim); font-size: 16px; font-weight: 650; }
.act svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.act.soft { background: transparent; color: var(--cobre-claro); box-shadow: inset 0 0 0 1px rgba(215, 160, 109, .6); }
.sheet { width: 100%; background: var(--marfim); color: var(--tinta); border-radius: 12px; padding: 16px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); border-top: 6px solid var(--cobre); min-width: 0; }
.sheet .sk { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cobre); }
.sheet .st { font-size: 19px; font-weight: 750; margin-top: 2px; }
.sheet hr { border: 0; border-top: 1px solid var(--linha-clara); margin: 10px 0; }
.sheet .lbl { font-size: 14px; font-weight: 700; color: var(--tinta-2); letter-spacing: .05em; text-transform: uppercase; margin-top: 10px; }
.sheet .lbl:first-child { margin-top: 0; }
.sheet .body { font-size: 17px; line-height: 1.42; margin-top: 2px; }
.sheet .base { background: var(--areia); border-radius: 8px; padding: 8px 12px; margin-top: 4px; font-size: 17px; line-height: 1.42; }
.sheet .base mark { background: rgba(168, 92, 58, .22); color: var(--cobre); border-radius: 4px; padding: 0 3px; font-weight: 650; }
.sheet .base.on { box-shadow: inset 0 0 0 2px var(--cobre); }

.sit { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 2px; }
.sit li { display: flex; gap: 12px; align-items: baseline; padding: 6px 10px; border-radius: 8px; font-size: 17px; font-weight: 550; }
.sit li .n { width: 24px; flex: none; font-weight: 750; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.sit li.hit { background: rgba(168, 92, 58, .16); box-shadow: inset 3px 0 0 var(--cobre); --hl-from: transparent; }
.sit li.hit .n { color: var(--cobre); }
.sit li.more { color: var(--tinta-2); font-weight: 500; }

.flowl { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.flowl li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 7px 10px; border-radius: 8px; font-size: 17px; font-weight: 600; }
.flowl li .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 750; background: rgba(24, 28, 26, .08); color: var(--tinta-2); }
.flowl li.done { color: var(--tinta-2); font-weight: 500; }
.flowl li.done .n { background: var(--areia); color: var(--cobre); }
.flowl li.now { background: rgba(168, 92, 58, .16); box-shadow: inset 3px 0 0 var(--cobre); --hl-from: transparent; }
.flowl li.now .n { background: var(--cobre); color: var(--marfim); }
.flowl li small { display: block; font-size: 16px; font-weight: 500; color: var(--tinta-2); margin-top: 1px; }

.sheet-tbl { display: grid; margin-top: 6px; }
.tr { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1.15fr; gap: 10px; align-items: center; padding: 8px 8px; border-top: 1px solid var(--linha-clara); font-size: 16px; }
.tr.th { border-top: 0; padding-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tinta-2); }
.tr.new { background: rgba(168, 92, 58, .14); box-shadow: inset 3px 0 0 var(--cobre); border-radius: 6px; }
.tr b { font-weight: 700; }
.pill { display: inline-block; justify-self: start; padding: 2px 9px; border-radius: 999px; font-size: 16px; font-weight: 600; background: rgba(24, 28, 26, .07); white-space: nowrap; }
.pill.done { background: var(--carvao); color: var(--marfim); }
.stack { display: inline-grid; justify-self: start; }
.stack > * { grid-area: 1 / 1; }

/* faixa compacta da planilha (usada no celular, abaixo do aparelho) */
.strip { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; background: var(--marfim); color: var(--tinta); border-radius: 12px; border-left: 5px solid var(--cobre); padding: 9px 12px; }
.strip .sk { grid-column: 1 / -1; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cobre); }
.strip .row { font-size: 16px; }
.strip .row b { font-weight: 700; }

/* ---------- celular (layout) ---------- */
@media (max-width: 640px) {
  .ao .caption { min-height: 0; margin-top: 10px; }
  .ao .demo-ctl { margin-top: 10px; }
  .ao .stage::before { left: 0; width: 100%; }
  .ao .set { grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: stretch; }
  .ao .left { justify-items: stretch; gap: 6px; }
  .who { font-size: 16px; }
  .phone { width: 100%; padding: 5px; border-radius: 34px; }
  .screen { height: 428px; border-radius: 29px; }
  .phone.short .screen { height: 350px; }
  .swatch { height: 76px; }
  .sbar { height: 26px; }
  .sbar::after { top: 5px; height: 18px; }
  .chat-top { padding: 6px 12px 8px; }
  .av { width: 34px; height: 34px; }
  .chat-top b { font-size: 16px; }
  .thread { padding: 8px 10px 10px; gap: 7px; }
  .msg { font-size: 16px; max-width: 88%; padding: 7px 11px 5px; }
  .field { font-size: 16px; padding: 10px 13px; }
  .composer { padding: 7px 8px 10px; }
  .right { justify-items: stretch; }
  .act { justify-self: start; }
  .sheet { padding: 14px 14px; }
  .sheet .st { font-size: 18px; }
  .sheet .body, .sheet .base, .sit li, .flowl li { font-size: 16px; }
  .tr.th { display: none; }
  .tr { grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 6px; }
  .tr .c3, .tr .c2 { display: none; }
  .tr.new { grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 10px; margin-top: 4px; }
  .tr.new > * { display: block !important; }
  .tr.new > *::before { content: attr(data-l); display: block; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tinta-2); }
}
