/* Mesma identidade das soluções (docs/interface-visual.md): base neutra quente, marca petróleo,
   status com cor própria e terracota só no autoatendimento. Bordas finas no lugar de sombras. */
:root {
  /* Base neutra quente */
  --bg: #f7f5f2;
  --bg-2: #f0ece6;
  --card: #ffffff;
  --card-2: #f7f5f2;
  --line: #e4e0da;
  --line-strong: #cfc8bf;
  --fg: #1f1b16;
  --muted: #6b635a;
  /* Marca operacional */
  --brand: #0f766e;
  --brand-edge: #115e59;
  --brand-soft: #ccfbf1;
  --brand-ink: #ffffff;
  /* Marca do cliente (só no autoatendimento) */
  --client: #c2410c;
  --client-edge: #9a3412;
  /* Status: cor, fundo suave e tinta para texto */
  --success: #16a34a; --success-soft: #dcfce7; --success-ink: #14532d;
  --info: #2563eb; --info-soft: #dbeafe; --info-ink: #1e3a8a;
  --warning: #d97706; --warning-soft: #fef3c7; --warning-ink: #78350f;
  --danger: #dc2626; --danger-soft: #fee2e2; --danger-ink: #7f1d1d;
  /* Modo escuro do app do garçom */
  --night: #17140f; --night-card: #24201a; --night-line: #3a342c; --night-fg: #f5f1eb; --night-muted: #b3aa9e; --night-brand: #2dd4bf; --night-brand-ink: #0b1f1d;
  --radius: 8px;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -.2em; }
.mono { font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }

/* Navegação */
main, .nav, .footer { position: relative; z-index: 1; }
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px;
  background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: .78rem;
}
.logo-word { font-weight: 600; letter-spacing: -.02em; }
.logo-word span { color: var(--muted); margin: 0 1px; }
.nav-links { display: flex; gap: 28px; font-size: .94rem; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--brand); }

/* Botões: primário sólido com borda inferior escura; pressionado desce 1px. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: var(--radius);
  background: var(--brand); color: var(--brand-ink); border: 0; border-bottom: 2px solid var(--brand-edge);
  font-weight: 600; font-size: .98rem;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--brand-edge); }
.btn:active { transform: translateY(1px); }
.btn span { display: inline-flex; transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-ghost { background: var(--card); color: var(--fg); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: .9rem; }
.btn-large { min-height: 56px; padding: 16px 30px; font-size: 1.08rem; }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

section { padding: clamp(80px, 12vw, 160px) clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
h2 .serif { font-size: 1.02em; color: var(--brand); }
.kicker { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); margin-bottom: 20px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; margin-top: 24px; }
.section-head { margin-bottom: 64px; }

/* HERO */
.hero { padding-top: clamp(56px, 9vw, 120px); text-align: center; }
.hero-title { margin: 0 auto; max-width: 1100px; font-size: clamp(2.6rem, 7.4vw, 6.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.hero-title .line { display: block; }
.hero-title .serif { font-size: .9em; color: var(--brand); margin-top: .1em; }
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .14em; z-index: -1;
  background: var(--brand-soft); border-radius: 2px; transform-origin: left; transform: scaleX(0);
  transition: transform 1.1s .6s var(--ease);
}
.reveal.in .hl::after { transform: scaleX(1); }
.hero-sub { max-width: 640px; margin: 32px auto 0; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-note { margin-top: 18px; font-size: .92rem; font-weight: 500; color: var(--muted); }

/* Chamada para contato no fim das seções */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 48px; }
.pain .cta-row { grid-column: 1 / -1; margin-top: 0; }
.cta-note { font-size: .94rem; color: var(--muted); }

/* Palco dividido */
.stage {
  margin-top: 88px; display: grid; grid-template-columns: 1fr auto 1fr; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card);
}
.stage-side { padding: 28px; min-height: 380px; display: flex; flex-direction: column; }
.stage-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.stage-title { font-weight: 600; letter-spacing: -.01em; }
.tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--muted); }
.tag-brand { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 500; color: var(--muted); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.stage-divider { position: relative; width: 1px; background: var(--line); }
.stage-divider span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--muted);
  background: var(--card); padding: 4px 12px; border: 1px solid var(--line); border-radius: 6px;
}

/* Mesas: cartão branco com faixa superior na cor do status. */
.tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: 1; }
.table {
  border-radius: 6px; padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 64px; font-size: .78rem; background: var(--card); color: var(--fg);
  border: 1px solid var(--line); border-top: 4px solid var(--line-strong);
  transition: border-color .6s var(--ease);
}
.table b { font-size: .95rem; letter-spacing: -.02em; }
.table span { font-size: .7rem; color: var(--muted); }
.table.free { background: var(--card-2); border-style: dashed; border-top: 1px dashed var(--line-strong); }
.table.sent { border-top-color: var(--info); }
.table.pending { border-top-color: var(--warning); }
.table.pay { border-top-color: var(--success); }
.table.flash { border-color: var(--line-strong); }
.floor-ticker { margin-top: 18px; font-size: .82rem; font-weight: 500; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; transition: opacity .3s; }

.feed { display: flex; flex-direction: column; gap: 8px; flex: 1; overflow: hidden; }
.feed li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line);
  font-size: .88rem; animation: feedIn .7s var(--ease) both;
}
.feed li .who { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 2px 7px; border-radius: 4px; background: var(--bg-2); color: var(--muted); }
.feed li .who.ai { background: var(--brand-soft); color: var(--brand-edge); }
.feed li time { font-size: .74rem; color: var(--muted); }
.feed li .ok { color: var(--success); margin-right: 6px; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); } }

/* DOR */
.pain { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pain-clock .mono { display: block; margin-bottom: 18px; font-size: .92rem; font-weight: 600; color: var(--danger-ink); }
.worries { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.worries li { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--fg); padding: 18px 0; border-bottom: 1px solid var(--line); }
/* Risco desenhado no próprio texto: acompanha cada linha quando a frase quebra no celular. */
.worries li span {
  background: linear-gradient(var(--brand), var(--brand)) no-repeat 0 58% / 0 2px;
  transition: color .8s 1s, background-size .9s calc(var(--d, 0s) + 1.1s) var(--ease);
}
.worries li.in span { color: var(--muted); background-size: 100% 2px; }
.pain-answer { grid-column: 1 / -1; font-size: clamp(1.6rem, 3.4vw, 2.8rem); letter-spacing: -.03em; font-weight: 600; line-height: 1.1; }
.pain-answer .serif { color: var(--brand); }

/* MODELO */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; transition: border-color .3s; }
.pillar:hover { border-color: var(--line-strong); }
.pillar h3 { font-size: 1.12rem; letter-spacing: -.02em; margin: 22px 0 8px; }
.pillar p { color: var(--muted); font-size: .94rem; }
.pillar-visual { height: 168px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }

.person { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 14px; }
.avatar { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 500; color: var(--muted); }
.avatar::before { content: "C"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: .7rem; font-weight: 700; }
.thread { display: flex; flex-direction: column; gap: 6px; }
.msg { font-size: .76rem; padding: 7px 10px; border-radius: 8px; max-width: 88%; line-height: 1.35; }
.msg.in { background: var(--card); border: 1px solid var(--line); border-top-left-radius: 2px; }
.msg.out { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-top-right-radius: 2px; }

.clock svg { width: 128px; height: 128px; transform: rotate(-90deg); }
.ring { fill: none; stroke: var(--line); stroke-width: 3; }
.ring-run { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; animation: run 6s linear infinite; }
@keyframes run { to { stroke-dashoffset: 0; } }
.clock-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.clock-label b { font-size: 1.7rem; letter-spacing: -.04em; }
.clock-label span { font-size: .66rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.seats { grid-template-columns: repeat(4, 22px); gap: 12px; align-content: center; justify-content: center; }
.seats i { width: 22px; height: 22px; border-radius: 6px; background: var(--line-strong); }
.seats i.open { background: var(--card); border: 2px solid var(--brand); }

.bridge { display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 10px; }
.node { font-size: .72rem; font-weight: 500; padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--card); white-space: nowrap; }
.node-brand { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
.link { flex: 1; height: 1px; min-width: 12px; background: repeating-linear-gradient(90deg, var(--brand) 0 4px, transparent 4px 8px); background-size: 16px 1px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 16px 0; } }

.split { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.split-col { padding: 32px; }
.split-col .kicker { color: var(--muted); }
.split-brand { background: var(--brand); color: var(--brand-ink); }
.split-brand .kicker { color: var(--brand-soft); }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; font-size: 1.02rem; }
.checklist li::before { content: "—"; color: var(--muted); }
.split-brand .checklist li::before { content: "✓"; color: var(--brand-soft); font-weight: 700; }

/* VITRINE */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 28px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); width: fit-content; background: var(--card); }
.tabs button {
  position: relative; overflow: hidden; border: 0; cursor: pointer; font: inherit; font-size: .92rem; font-weight: 500;
  min-height: 44px; padding: 8px 18px; border-radius: 6px; background: transparent; color: var(--muted); transition: color .2s, background .2s;
}
.tabs button:hover { color: var(--fg); }
.tabs button span { position: relative; z-index: 1; }
.tabs button[aria-selected="true"] { color: var(--brand-edge); background: var(--brand-soft); font-weight: 600; }
.tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); }
.tabs button[aria-selected="true"] i { animation: prog var(--tab-ms, 9000ms) linear forwards; }
.tabs.paused button i { animation-play-state: paused; }
.tabs.manual button i { display: none; }
@keyframes prog { to { width: 100%; } }

.screens { position: relative; }
.screen { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; min-height: 540px; }
.screen[hidden] { display: none; }
.screen > * { min-width: 0; }
.screen.is-active { animation: screenIn .8s var(--ease); }
@keyframes screenIn { from { opacity: 0; transform: translateY(16px); } }
.screen-copy h3 { font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.screen-copy p { color: var(--muted); }
.mini { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.mini li { font-size: .9rem; font-weight: 500; color: var(--fg); display: flex; gap: 10px; }
.mini li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 2px; background: var(--brand); flex: none; }

.device { position: relative; justify-self: center; width: 100%; }
.window { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: var(--card); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window-bar span { margin-left: 12px; font-size: .74rem; color: var(--muted); }

/* PDV (tema claro, como no caixa real) */
.window.light { background: var(--bg); color: var(--fg); }
.pdv { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 420px; }
.pdv-left { padding: 18px; }
.pdv-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .72rem; color: var(--muted); margin-bottom: 12px; }
.lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: var(--line-strong); }
.lg.t::before { background: var(--info); } .lg.o::before { background: var(--warning); }
.pdv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pdv-grid .table { min-height: 70px; }
.pdv-grid .table:not(.sent):not(.pending) span { color: var(--muted); }
.pdv-grid .table.sel { outline: 2px solid var(--brand); outline-offset: 2px; }
.pdv-right { background: var(--card); border-left: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; }
.acc-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.acc-head span { font-size: .76rem; color: var(--muted); }
.acc-items { flex: 1; padding: 8px 0; display: flex; flex-direction: column; gap: 2px; min-height: 180px; }
.acc-items li { display: flex; justify-content: space-between; font-size: .84rem; padding: 6px 0; border-bottom: 1px solid var(--bg-2); animation: feedIn .5s var(--ease) both; }
.acc-items li small { display: block; font-size: .72rem; color: var(--muted); }
.acc-items li b { font-weight: 600; font-size: .82rem; }
.acc-line { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); padding: 8px 0; }
.acc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 14px; border-top: 1px solid var(--line); }
.acc-total b { font-size: 1.45rem; letter-spacing: -.02em; }
.acc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pbtn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px; border-radius: 6px; background: var(--brand); color: var(--brand-ink); border-bottom: 2px solid var(--brand-edge); font-size: .84rem; font-weight: 600; transition: transform .1s, background .3s; }
.pbtn.ghost { background: var(--card); color: var(--fg); border: 1px solid var(--line-strong); }
.pbtn.press { transform: translateY(1px); background: var(--success); border-bottom-color: var(--success-ink); }
.pbtn.small { min-height: 40px; padding: 8px 12px; font-size: .78rem; }
.pbtn.brand { background: var(--brand); color: var(--brand-ink); }
.toast {
  position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 6px;
  background: var(--fg); color: var(--card); font-size: .8rem; font-weight: 500; display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease);
}
.toast::before { content: "✓"; color: #4ade80; font-weight: 700; }
.toast.show { opacity: 1; transform: none; }

/* Celular: app do garçom em modo escuro, como no aparelho real */
.phone { width: 300px; height: 600px; border-radius: 44px; padding: 12px; background: #1f1b16; border: 1px solid #3a342c; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #17140f; z-index: 2; }
.app { height: 100%; border-radius: 34px; background: var(--night); color: var(--night-fg); overflow: hidden; padding: 52px 14px 14px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.app-top { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; }
.app-top > span:first-child { display: inline-flex; color: var(--night-muted); }
.chip { font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--night-card); color: #60a5fa; border: 1px solid var(--night-line); border-top: 3px solid #60a5fa; }
.app-search { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--night-muted); background: var(--night-card); border: 1px solid var(--night-line); border-radius: 6px; padding: 8px 10px; }
.app-cats { display: flex; gap: 6px; font-size: .74rem; }
.app-cats span { padding: 5px 10px; border-radius: 6px; background: var(--night-card); border: 1px solid var(--night-line); color: var(--night-muted); }
.app-cats .on { background: var(--night-line); color: var(--night-brand); border-color: var(--night-brand); font-weight: 600; }
.flavor { background: var(--night-card); border: 1px solid var(--night-line); border-radius: 8px; padding: 10px; }
.flavor p { font-size: .72rem; color: var(--night-muted); margin-bottom: 8px; }
.halves { display: flex; width: 104px; height: 104px; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 5px solid #e8c38c; }
.half { flex: 1; display: grid; place-items: center; font-size: .56rem; font-weight: 600; text-align: center; padding: 0 4px; color: #1f1b16; }
.half.a { background: #f2c46b; }
.half.b { background: #efb75c; border-left: 2px solid #e8c38c; }
.half span { background: rgba(255, 255, 255, .85); border-radius: 4px; padding: 1px 3px; }
.opts { display: flex; gap: 6px; justify-content: center; margin-top: 8px; font-size: .66rem; }
.opts span { padding: 3px 8px; border-radius: 4px; border: 1px solid var(--night-line); color: var(--night-muted); }
.opts .on { background: var(--night-line); color: var(--night-brand); border-color: var(--night-brand); }
.app-list { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.app-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--night-card); border: 1px solid var(--night-line); border-radius: 6px; padding: 8px 10px; font-size: .76rem; animation: feedIn .5s var(--ease) both; }
.app-list li b, .acc-items li b { white-space: nowrap; }
.app-list li b { font-weight: 600; font-size: .72rem; }
.app-send { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 8px; background: var(--night-brand); color: var(--night-brand-ink); border-bottom: 2px solid #14b8a6; font-size: .82rem; font-weight: 600; transition: background .3s, transform .1s; }
.app-send.press { transform: translateY(1px); }

/* Tablet: autoatendimento claro, terracota da marca do cliente e Fraunces nos pratos */
.tablet { max-width: 680px; aspect-ratio: 4 / 3; border-radius: 30px; padding: 16px; background: #1f1b16; border: 1px solid #3a342c; }
.kiosk { height: 100%; border-radius: 16px; background: var(--bg); color: var(--fg); display: grid; grid-template-columns: 150px 1fr; overflow: hidden; }
.kiosk-side { background: var(--card); border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; font-size: .8rem; }
.kiosk-side b { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin-bottom: 10px; padding-left: 6px; }
.kiosk-side span { padding: 7px 12px; border-radius: 999px; color: var(--muted); font-weight: 500; }
.kiosk-side .on { background: var(--fg); color: var(--card); }
.call { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px; border-radius: 999px; background: var(--bg-2); text-align: center; font-size: .74rem; font-weight: 600; transition: background .3s, color .3s; }
.call.ring { background: var(--danger); color: #fff; }
.kiosk-main { display: flex; flex-direction: column; padding: 14px; gap: 12px; min-height: 0; }
.kiosk-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 0; }
.kcard { border-radius: 10px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; font-size: .74rem; transition: transform .1s, border-color .2s; }
.kcard .ph { flex: 1; min-height: 50px; }
.kcard div { padding: 7px 9px; display: flex; justify-content: space-between; gap: 6px; }
.kcard b { font-family: var(--serif); font-weight: 600; }
.kcard.tap { transform: translateY(1px); border-color: var(--client); }
/* Sem foto: bloco na cor suave da categoria com o ícone dela (recorte 4:3 nas fotos reais). */
.ph { display: grid; place-items: center; }
.ph .i { width: 34%; height: auto; max-width: 40px; aspect-ratio: 1; }
.ph.p1 { background: #fde8dc; color: #9a3412; }
.ph.p2 { background: #fdf0d5; color: #78350f; }
.ph.p3 { background: #f3e6dc; color: #6b3f24; }
.ph.p4 { background: #fbf3dc; color: #78350f; }
.ph.p5 { background: #f6efe1; color: #6b635a; }
.ph.p6 { background: #efe6dd; color: #6b3f24; }
.kiosk-cart { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--line); padding: 8px 8px 8px 14px; border-radius: 999px; font-size: .82rem; }
.kbtn { display: inline-flex; align-items: center; gap: 6px; background: var(--client); color: #fff; border-bottom: 2px solid var(--client-edge); padding: 7px 14px; border-radius: 999px; font-size: .76rem; }

/* Delivery (link público, com a marca da plataforma) */
.delivery-pair { display: flex; align-items: center; justify-content: center; gap: 28px; }
.delivery-pair .device { width: 300px; flex: none; justify-self: auto; }
.app.dl { background: var(--card); color: var(--fg); }
.dl-hero { background: var(--bg-2); border: 1px solid var(--line); border-top: 4px solid var(--brand); color: var(--fg); border-radius: 8px; padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.dl-hero b { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.dl-hero .open { font-size: .72rem; font-weight: 600; color: var(--success-ink); }
.dl-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.dl-item .ph { width: 56px; height: 42px; border-radius: 6px; }
.dl-item div { display: flex; flex-direction: column; }
.dl-item span { font-size: .72rem; color: var(--muted); }
.dl-item i { font-style: normal; width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-strong); color: var(--brand); }
.dl-bar { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); border-bottom: 2px solid var(--brand-edge); font-size: .82rem; font-weight: 600; transition: transform .1s, background .3s; }
.dl-bar.press { transform: translateY(1px); background: var(--brand-edge); }
.incoming { width: 270px; background: var(--card); color: var(--fg); border: 1px solid var(--line); border-top: 4px solid var(--warning); border-radius: 8px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(-20px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .4s; }
.incoming.show { opacity: 1; transform: none; }
.incoming .mono { color: var(--warning-ink); font-weight: 600; }
.incoming p { font-size: .82rem; color: var(--muted); }
.incoming div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.incoming .pbtn.ghost { color: var(--danger-ink); border-color: var(--danger); }
.incoming.accepted { border-top-color: var(--success); }
.incoming.accepted .brand { background: var(--success); border-bottom-color: var(--success-ink); color: #fff; }

/* Dashboard (retaguarda clara) */
.window.dark { background: var(--bg); color: var(--fg); }
.dash { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.kpi span { font-size: .74rem; color: var(--muted); }
.kpi b { font-weight: 600; font-size: 1.25rem; letter-spacing: -.03em; }
.kpi em { font-style: normal; font-size: .7rem; color: var(--muted); }
.kpi.brand { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.kpi.brand span, .kpi.brand em { color: var(--brand-soft); }
.dash-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.panel > p { font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.bars { height: 170px; display: flex; align-items: flex-end; gap: 8px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--line-strong); height: 4%; transition: height 1.2s var(--ease); }
.bars i.top { background: var(--brand); }
.abc ul { display: flex; flex-direction: column; gap: 9px; }
.abc li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: .76rem; }
.abc li b { font-weight: 600; color: var(--muted); }
.cls { width: 20px; height: 20px; border-radius: 4px; display: grid; place-items: center; font-size: .68rem; font-weight: 700; }
.cls.a { background: var(--brand); color: var(--brand-ink); } .cls.b { background: var(--brand-soft); color: var(--brand-edge); } .cls.c { border: 1px solid var(--line-strong); color: var(--muted); }

/* Fiscal */
.fiscal { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; padding: 18px; min-height: 400px; }
.docs { display: flex; flex-direction: column; gap: 8px; }
.docs li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; font-size: .82rem; animation: feedIn .5s var(--ease) both; }
.docs li .num { font-weight: 600; font-size: .8rem; }
.docs li .val { color: var(--muted); font-size: .8rem; }
.st { font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--info-soft); color: var(--info-ink); white-space: nowrap; transition: all .4s; }
.st.ok { background: var(--success-soft); color: var(--success-ink); }
.st.cont { background: var(--warning-soft); color: var(--warning-ink); }
.files { display: flex; flex-direction: column; gap: 8px; }
.file { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 14px; display: grid; grid-template-columns: 1fr auto; font-size: .82rem; }
.file span { grid-column: 1; font-size: .74rem; color: var(--muted); }
.file em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--success-ink); background: var(--success-soft); padding: 2px 8px; border-radius: 4px; display: inline-flex; }
.file.pend { border-top: 4px solid var(--success); }

/* RECURSOS */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; transition: border-color .3s; }
.cell:hover { border-color: var(--line-strong); }
.cell.wide { grid-column: span 2; }
.cell.dark { grid-column: span 4; background: var(--brand); color: var(--brand-ink); border-color: var(--brand); min-height: 0; }
.cell.dark p { color: var(--brand-soft); max-width: 820px; }
.cell.dark .ico { background: var(--brand-edge); color: var(--brand-ink); border-color: var(--brand-edge); }
.ico { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-edge); font-size: 1.25rem; margin-bottom: auto; }
.cell h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-top: 24px; }
.cell p { color: var(--muted); font-size: .94rem; }

/* VAGAS */
.limited-inner { border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--radius); padding: clamp(32px, 6vw, 72px); background: var(--card); }
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.offer div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--card-2); }
.offer .mono { color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.offer b { display: block; margin: 10px 0 8px; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
.offer b small { font-size: .36em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.offer p { color: var(--muted); font-size: .94rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.steps div { border-top: 1px solid var(--line); padding-top: 18px; }
.steps .mono { color: var(--brand); font-weight: 600; }
.steps b { display: block; font-size: 1.15rem; margin: 6px 0; letter-spacing: -.02em; }
.steps p { color: var(--muted); font-size: .94rem; }

/* DÚVIDAS */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 400; color: var(--brand); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:hover { color: var(--brand); }
.faq-list p { color: var(--muted); max-width: 720px; padding-bottom: 22px; }

/* CTA final */
.final { text-align: center; padding-bottom: clamp(100px, 14vw, 180px); }
.final h2 { font-size: clamp(3rem, 9vw, 8rem); }
.final h2 .serif { color: var(--brand); }
.final p { color: var(--muted); margin: 28px 0 40px; font-size: 1.15rem; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px clamp(16px, 5vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Responsivo */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .screen { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell.dark { grid-column: span 2; }
  .offer { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .stage { grid-template-columns: 1fr; }
  .stage-divider { width: auto; height: 1px; }
  .stage-divider span { transform: translate(-50%, -50%); }
  .stage-side { min-height: 0; padding: 20px 16px; }
  .feed { min-height: 300px; }
  .tables { grid-template-columns: repeat(3, 1fr); }
  .pain { grid-template-columns: 1fr; gap: 24px; }
  .pillars, .split, .steps, .offer { grid-template-columns: 1fr; }

  .bento { grid-template-columns: 1fr; }
  .cell.wide, .cell.dark { grid-column: span 1; }
  .tabs { width: 100%; }
  .tabs button { padding: 8px 12px; font-size: .86rem; }
  .pdv { grid-template-columns: 1fr; }
  .pdv-grid { grid-template-columns: repeat(3, 1fr); }
  .pdv-grid .table:nth-child(n+10) { display: none; }
  .pdv-right { border-left: 0; border-top: 1px solid var(--line); }
  .toast { top: 52px; bottom: auto; right: 18px; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-row, .fiscal { grid-template-columns: 1fr; }
  .tablet { aspect-ratio: auto; height: 460px; padding: 10px; }
  .kiosk { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .kiosk-side { flex-direction: row; overflow-x: auto; align-items: center; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .kiosk-side b { font-size: 1.1rem; margin: 0 6px 0 0; }
  .kiosk-side .call { display: none; }
  .kiosk-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-pair { flex-direction: column; }
  .phone { width: 280px; height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
