/* getfoodies.com /demo: the getfoodies.pt demo.css (landing #49) unchanged below this block.
   This block maps the .pt brand tokens and layout helpers onto getfoodies.com's site.css. */
.demo { --grey: #4B5E55; --ink: #10281F; --font-display: var(--display); --font-body: var(--body); --shadow: 0 10px 30px rgba(0,48,36,.10); --shadow-lg: 0 30px 60px rgba(0,48,36,.18); --lime-600: #98E02C; font-family: var(--body); }
.demo .container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.demo .btn { font-size: 17px; }
.demo .btn--block { width: 100%; }
.demo figcaption { font-family: var(--body); font-weight: 400; letter-spacing: normal; font-size: 16px; }

/* GetFoodies /demo: click-through. Brand tokens from styles.css; header/footer from chrome.css. */
.demo { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); background: var(--cream); color: var(--ink); }
.demo-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.demo-top .eyebrow { margin: 0; }
.demo-top__note { color: var(--grey); font-size: 16px; margin: 0; }
.demo-progress { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--grey); }
.demo-dots { display: flex; gap: 6px; }
.demo-dot { width: 22px; height: 6px; border-radius: 99px; background: #D9D4C6; }
.demo-dot.is-on { background: var(--green); }

.demo-step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; min-height: 560px; }
.demo-step[hidden] { display: none; }
.demo-step__n { font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin: 0 0 8px; }
.demo-step h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; color: var(--green); margin: 0; outline: none; }
.demo-step__cap { margin: 14px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 34em; }
.demo-step__nav { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.demo .btn--primary { background: var(--green); color: #fff; }
.demo .btn--primary:hover { background: #04402F; color: #fff; }
.demo-back { background: transparent; color: var(--green); border: 2px solid var(--green); }
.demo-step__visual { display: flex; justify-content: center; }

/* Phone frame around a real capture (or a marked slot). The bar shows THEIR name/logo. */
.demo-phone { width: min(340px, 100%); border: 10px solid #0f1f19; border-radius: 38px; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.demo-phone__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--green); color: #fff; min-height: 56px; }
.demo-brand { display: inline-flex; align-items: center; max-width: 44%; min-width: 0; }
.demo-brand:has(.demo-brand__word) { max-width: 100%; flex: 1 1 auto; }
.demo-brand img { max-height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.demo-brand__word { font-family: var(--font-display); font-size: 20px; line-height: 1; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.demo-phone__name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-brand:has(.demo-brand__word) + .demo-phone__name { display: none; }
.demo-phone--plain { border-radius: 30px; }
.demo-phone__screen img { display: block; width: 100%; height: auto; }
.demo-desk { width: 100%; max-width: 560px; border: 1px solid #DAD4C4; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }

/* A slot waiting for a real capture: honest, never a fake screen. */
.demo-pending { display: flex; flex-direction: column; gap: 8px; justify-content: center; min-height: 420px; padding: 28px 22px; text-align: center; background: repeating-linear-gradient(135deg, #F3F0E8 0 14px, #EAE5D8 14px 28px); color: var(--green); font-size: 16px; }
.demo-pending strong { font-size: 18px; }
.demo-pending__type { color: var(--grey); }

/* Step 1 form */
.demo-form { margin-top: 22px; display: grid; gap: 14px; max-width: 420px; }
.demo-field { display: grid; gap: 6px; font-size: 16px; font-weight: 600; color: var(--green); }
.demo-field input[type=text], .demo-field input[type=email], .demo-field input[type=tel], .demo-field select { font: 400 17px/1.3 var(--font-body); padding: 12px 14px; border: 1.5px solid #CFC8B6; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
.demo-field small { font-weight: 400; font-size: 16px; color: var(--grey); }
.demo-logo-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.demo-file { position: relative; overflow: hidden; cursor: pointer; }
.demo-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.demo-link { background: none; border: 0; padding: 8px 0; font: 700 16px var(--font-body); color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Step 2 basket */
.demo-basket, .demo-lead { margin-top: 22px; padding: 18px 20px; background: #fff; border: 1px solid #DAD4C4; border-radius: 14px; max-width: 420px; }
.demo-basket__h { font-weight: 700; color: var(--green); margin: 0 0 8px; font-size: 17px; }
.demo-basket ul { margin: 0; padding-left: 18px; font-size: 17px; display: grid; gap: 4px; }
.demo-basket__total { margin: 12px 0 0; font-size: 18px; display: flex; justify-content: space-between; border-top: 1px solid #EAE5D8; padding-top: 10px; }
.demo-lead { display: grid; gap: 12px; }
.demo-lead[hidden] { display: none; }
.demo-check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.demo-lead__msg { margin: 0; font-size: 16px; color: var(--green); }

/* Step 3 commission */
.demo-field--pct { margin-top: 22px; max-width: 420px; }
.demo-pct { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; }
.demo-pct input { width: 110px; }
.demo-commission { margin-top: 14px; font-size: 19px; line-height: 1.5; color: var(--ink); background: var(--soft); border-radius: 12px; padding: 14px 16px; max-width: 30em; }

/* Step 4 */
.demo-bubble { display: inline-block; margin-top: 20px; padding: 12px 18px; border-radius: 18px 18px 18px 4px; background: #fff; border: 1px solid #DAD4C4; font-size: 18px; font-weight: 600; color: var(--green); }

/* Step 9 offer */
.demo-offer { margin-top: 22px; background: var(--green); color: #F3F0E8; border-radius: 20px; padding: 24px 22px; display: grid; gap: 10px; max-width: 520px; font-size: 17px; }
.demo-offer p { margin: 0; }
.demo-offer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-offer__badge { background: var(--lime); color: var(--green); font-weight: 700; padding: 6px 12px; border-radius: 99px; font-size: 16px; }
.demo-offer__save { background: #F3F0E8; color: var(--burgundy); font-weight: 700; padding: 6px 12px; border-radius: 99px; font-size: 16px; }
.demo-offer__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.demo-offer__price s { font-family: var(--font-display); font-size: 26px; opacity: .8; }
.demo-offer__now { font-family: var(--font-display); font-size: 56px; color: var(--lime); line-height: 1; }
.demo-offer__why a { color: var(--lime); font-weight: 700; }
.demo-offer .btn--primary { background: var(--lime); color: var(--green); justify-self: start; }
.demo-offer .btn--primary:hover { background: #98E02C; }

@media (max-width: 880px) {
  .demo-step { grid-template-columns: 1fr; min-height: 0; row-gap: 0; }
  /* 'STEP n' and the heading sit above the screen, the rest below it */
  .demo-step__copy { display: contents; }
  /* Mobile order (13 Nov): headline, caption, (step 1: the inputs), the phone, then the nav. */
  .demo-step__n { order: -5; }
  .demo-step h2 { order: -4; }
  .demo-step__cap { order: -3; }
  .demo-step .demo-form { order: -2; }
  .demo-step__visual { order: -1; margin: 16px 0 8px; }
  .demo-progress { margin-left: 0; width: 100%; }
  .demo-top { margin-bottom: 16px; }
  .demo-phone { width: min(300px, 100%); }
  .demo-pending { min-height: 300px; }
  .demo-step__cap { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .demo * { transition: none !important; } }
/* Approved (13 Nov): their name/logo in the header slot + a small "Pré-visualização" label. */
.demo-preview-tag { margin-left: auto; flex: none; font-size: 16px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.16); color: #fff; }
/* Real Dashboard captures (TEST "Tasca da Esquina"), shown as they are. */
.demo-shot { margin: 0; position: relative; width: 100%; max-width: 640px; }
.demo-shot .demo-desk { max-width: none; }
.demo-shot .demo-desk img { display: block; width: 100%; height: auto; }
.demo-shot__stage { position: relative; }
.demo-ticket { position: absolute; right: -12px; bottom: -18px; width: 44%; background: #fff; border-radius: 4px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.demo-ticket img { display: block; width: 100%; height: auto; }
.demo-shot__cap { margin-top: 30px; font-size: 16px; color: var(--grey); }
@media (max-width: 880px) { .demo-ticket { right: 6px; bottom: -16px; width: 52%; } }
/* Real ordering-site captures (750x1624 @2x) with the visitor's name/logo over the example restaurant's. */
.demo-site-fig { margin: 0; width: min(330px, 100%); }
.demo-phone--site { width: 100%; }
.demo-site { position: relative; line-height: 0; }
.demo-site > img { display: block; width: 100%; height: auto; }
.demo-ov { position: absolute; display: flex; align-items: center; justify-content: center; line-height: 1.05; overflow: hidden; }
.demo-ov--badge { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .02em; }
.demo-ov--badge.is-circle { border-radius: 50%; }
.demo-ov--badge.is-rect { border-radius: 10%; }
.demo-ov--badge img, .demo-ov__badge img { width: 86%; height: 86%; object-fit: contain; }
.demo-ov--name { padding: 0 2%; white-space: nowrap; }
.demo-ov--name[style*="text-align: left"] { justify-content: flex-start; }
.demo-ov[data-font="display"] { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; }
.demo-ov[data-font="serif"] { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.demo-ov[data-font="serif-bold"] { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.demo-ov--bar { gap: 3%; white-space: nowrap; }
.demo-ov__badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: none; font-family: Georgia, serif; font-weight: 700; overflow: hidden; }
.demo-ov__text { overflow: hidden; text-overflow: ellipsis; }
.demo-preview-tag--site { display: inline-block; margin: 0 0 10px; line-height: 1.3; background: var(--green); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.demo-tab { font: 600 16px var(--font-body); color: var(--green); background: #fff; border: 1.5px solid var(--green); border-radius: 99px; padding: 7px 12px; min-height: 40px; cursor: pointer; }
.demo-tab[aria-selected="true"] { background: var(--green); color: #fff; }
.demo-tab:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.demo-site:not(.is-ready) .demo-ov { visibility: hidden; }
/* Passo 2: a tappable order on the real screens. Hotspots sit on the real buttons. */
.demo-hotspots { position: absolute; inset: 0; }
.demo-hot { position: absolute; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 14px; box-shadow: 0 0 0 3px var(--lime), 0 0 0 6px rgba(0,48,36,.55); animation: demoPulse 1.6s ease-in-out infinite; }
.demo-hot:hover { background: rgba(168,241,64,.18); }
.demo-hot:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@keyframes demoPulse { 0%, 100% { box-shadow: 0 0 0 3px var(--lime), 0 0 0 6px rgba(0,48,36,.55); } 50% { box-shadow: 0 0 0 5px var(--lime), 0 0 0 10px rgba(0,48,36,.25); } }
@media (prefers-reduced-motion: reduce) { .demo-hot { animation: none; } }
.demo-site [data-site-pending] { line-height: 1.5; min-height: 520px; }
.demo-flow__say { margin: 0 0 12px; font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--green); min-height: 50px; }
.demo-flow__count { display: inline-block; font-weight: 400; color: var(--grey); font-size: 16px; }
.demo-flow__more { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; }
/* Static captures: say they are pictures, never pretend to be buttons. */
[data-static] { position: relative; cursor: default; }
.demo-static-tag { position: absolute; z-index: 2; top: 8px; right: 8px; font: 600 16px/1.3 var(--font-body); color: #fff; background: rgba(15,31,25,.82); padding: 4px 9px; border-radius: 99px; pointer-events: none; }
.demo-toast { position: fixed; z-index: 200; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); background: var(--green); color: #fff; font-size: 16px; line-height: 1.45; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); }
.demo-toast[hidden] { display: none; }
.demo-toast .demo-toast__go { color: var(--lime); padding: 4px 0; margin-left: 4px; }
.demo-ov[hidden], .demo-pending[hidden], .demo-site > img[hidden] { display: none; }
.demo-site:has([data-site-pending]:not([hidden])) .demo-static-tag { display: none; }
.demo-site-fig:has([data-site-pending]:not([hidden])) :is(.demo-shot__cap, .demo-flow__more, .demo-tabs) { display: none; }
.demo-credits { padding: 0 0 48px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.demo-credits summary { cursor: pointer; font-weight: 700; color: var(--green); padding: 8px 0; }
.demo-credits ul { padding-left: 20px; margin: 8px 0 0; display: grid; gap: 4px; }
.demo-credits a { color: var(--green); }
/* Interaction pass: taps on the real screens. */
.demo-desk--live { position: relative; }
.demo-desk--live .demo-hot { z-index: 2; }
.demo-hot[hidden], .demo-ticket[hidden] { display: none; }
.demo-shot .demo-flow__say { max-width: 560px; }
.demo-flow__log { margin-top: 12px; background: #fff; border: 1px solid #DAD4C4; border-radius: 12px; padding: 12px 14px; font-size: 16px; line-height: 1.45; }
.demo-flow__log[hidden] { display: none; }
.demo-flow__log-h { margin: 0 0 6px; font-weight: 700; color: var(--green); }
.demo-flow__log ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.demo-flow__gain { display: block; color: var(--green); font-weight: 600; }
/* Lead forms, only at moments of value (no gate). */
.demo-lead-open { margin-top: 14px; }
.demo-lead-open[hidden] { display: none; }
.demo-offer .demo-offer__alt { justify-self: start; background: transparent; color: #F3F0E8; border: 2px solid #F3F0E8; }
.demo-dialog { border: 0; border-radius: 18px; padding: 0; width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); box-shadow: var(--shadow-lg); color: var(--ink); background: var(--cream); }
.demo-dialog::backdrop { background: rgba(0,48,36,.55); }
.demo-dialog .demo-lead { position: relative; display: grid; gap: 12px; margin: 0; padding: 26px 22px 20px; max-width: none; border: 0; background: transparent; }
.demo-lead__title { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--green); margin: 0 32px 0 0; }
.demo-lead__intro { margin: 0; font-size: 16px; line-height: 1.5; }
.demo-lead__small { margin: 0; font-size: 16px; }
.demo-lead__small a { color: var(--green); }
.demo-dialog__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--green); cursor: pointer; border-radius: 50%; }
.demo-dialog__x:focus-visible { outline: 3px solid var(--green); }
.demo-dialog .demo-field small { font-weight: 400; color: var(--grey); }
.demo-q { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; }
.demo-q[hidden] { display: none; }
.demo-q legend { font-weight: 600; color: var(--green); margin-bottom: 6px; width: 100%; }
.demo-q label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.demo-lead__next { margin: 0; }
.demo-lead__next[hidden] { display: none; }
/* Presenter mode (?apresentar=1) */
.is-presenter .demo-step__n { display: none; }
.demo-chapters { margin: -8px 0 22px; }
.demo-chapters[hidden], .demo-notes[hidden], .demo-offer__arranque[hidden] { display: none; }
.demo-chapters ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: ch; }
.demo-chapters li { counter-increment: ch; }
.demo-chapters button { font: 600 16px var(--font-body); color: var(--green); background: #fff; border: 1.5px solid var(--green); border-radius: 99px; padding: 6px 12px; min-height: 40px; cursor: pointer; }
.demo-chapters button::before { content: counter(ch) ". "; }
.demo-chapters button[aria-current] { background: var(--green); color: #fff; }
.demo-notes { position: fixed; z-index: 150; right: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); background: #0f1f19; color: #F3F0E8; border-radius: 14px; padding: 12px 14px; font-size: 16px; line-height: 1.45; box-shadow: var(--shadow-lg); }
.demo-notes__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.demo-notes__head strong { color: var(--lime); }
.demo-notes__toggle { margin-left: auto; font: 600 16px var(--font-body); color: #F3F0E8; background: transparent; border: 1.5px solid rgba(243,240,232,.6); border-radius: 99px; padding: 4px 10px; min-height: 36px; cursor: pointer; }
.demo-notes__text { margin: 8px 0 4px; }
.demo-notes__keys { margin: 0; font-size: 16px; }
.demo-notes.is-closed { width: auto; padding: 8px 10px; }
.demo-notes.is-closed .demo-notes__text, .demo-notes.is-closed .demo-notes__keys, .demo-notes.is-closed [data-note-chapter], .demo-notes.is-closed [data-note-count] { display: none; }
.demo-offer__arranque { background: rgba(243,240,232,.08); border-radius: 12px; padding: 12px 14px; }
.demo-offer__arranque ul, .demo-offer__list { margin: 4px 0; padding-left: 20px; display: grid; gap: 4px; }
.demo-offer__arranque p { margin: 0; }

/* QA (mirrors getfoodies.pt #59): hotspots reach 44 px without moving; real Accept button; visible focus everywhere */
.demo-hot::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.demo-accept { margin-top: 14px; }
.demo-accept[hidden], .demo-logo-msg[hidden] { display: none; }
.demo-logo-msg { margin: 8px 0 0; font-size: 16px; font-weight: 600; color: #8a2d0b; }
.demo :focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.demo .demo-offer :focus-visible, .demo .dark :focus-visible { outline-color: var(--lime); }
.demo [data-lead-fallback][hidden], .demo .demo-lead-open[hidden] { display: none; }

/* Interim fixes (13 Nov) */
/* One progress indicator: the step dots. Reached steps stay lit after Anterior; the current one is marked. */
.demo-dot.is-cur { background: var(--green); box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--green); }
/* Inner screens: small ticks instead of a second "1 de N". */
.demo-flow__count { display: inline-flex; gap: 5px; vertical-align: middle; margin-left: 6px; }
.demo-tick { display: block; width: 8px; height: 8px; border-radius: 50%; background: #D9D4C6; }
.demo-tick.is-done { background: var(--green); }
.demo-tick.is-cur { background: var(--lime); box-shadow: 0 0 0 2px var(--green); }
/* No sticky site header over the phone on /demo. */
.page-demo .nav { position: relative; }
.page-demo .mobile-menu { position: absolute; top: 100%; bottom: auto; min-height: calc(100vh - 68px); }
/* Compact cookie bar on /demo: one short row; it never covers the inputs for long. */
.page-demo .cookie-banner__inner { padding-block: 8px; gap: 8px 14px; flex-wrap: nowrap; }
.page-demo .cookie-banner__text { flex: 1 1 auto; margin: 0; line-height: 1.4; }
/* While the bar is open, the page can still scroll everything above it. */
body.page-demo:has(.cookie-banner:not([hidden])) { padding-bottom: 170px; }
.page-demo .cookie-banner__actions { flex-wrap: nowrap; width: auto; }
.page-demo .cookie-banner__actions .btn { padding: 8px 14px; min-height: 44px; flex: 0 0 auto; }
@media (max-width: 560px) {
  .page-demo .cookie-banner__inner { flex-wrap: wrap; }
  .page-demo .cookie-banner__actions { width: 100%; }
  .page-demo .cookie-banner__actions .btn { flex: 1 1 0; }
}
/* Phones: the kitchen action is a real button under the image, at least 44 px, clear of the ticket. */
@media (max-width: 480px) {
  .demo-shot__stage { margin-bottom: 28px; }
  .demo-accept { display: flex; width: 100%; min-height: 48px; justify-content: center; margin-top: 36px; }
}

/* ===== Redesign (13 Nov): 8 acts, input → outcome, customer | owner split ===== */
.demo-step { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: start; min-height: 0; padding-bottom: 8px; }
.demo-step__h { margin: 0; }
.demo-split { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 24px; align-items: start; width: 100%; }
.demo-split--one { grid-template-columns: minmax(0, 1fr); }
.demo-step__visual { display: block; min-width: 0; }
.demo-pane { margin: 0; min-width: 0; }
.demo-pane__h { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--green); }
.demo-pane .demo-phone--site { width: 100%; }
.demo-desk--tall { max-width: 340px; }
.demo-desk.is-waiting img { opacity: .45; filter: grayscale(.6); }
.demo-desk--live { position: relative; }
.demo-desk--live > img { display: block; width: 100%; height: auto; }
.demo-desk--live .demo-hotspots { z-index: 2; }
.demo-sides { display: none; }
/* checklist */
ol.demo-check { list-style: none; counter-reset: ck; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; max-width: 30em; }
ol.demo-check li { counter-increment: ck; position: relative; padding: 8px 10px 8px 44px; border-radius: 10px; font-size: 17px; line-height: 1.4; color: var(--ink); }
ol.demo-check li::before { content: counter(ck); position: absolute; left: 8px; top: 7px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: var(--green); border: 2px solid var(--green); background: #fff; }
ol.demo-check li.is-next { background: #fff; font-weight: 700; color: var(--green); box-shadow: inset 4px 0 0 var(--lime); }
ol.demo-check li.is-done { color: var(--grey); }
ol.demo-check li.is-done::before { content: "✓"; background: var(--green); color: #fff; border-color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.demo-outcome { margin: 16px 0 0; max-width: 30em; background: #fff; border-left: 4px solid var(--lime); border-radius: 10px; padding: 12px 14px; font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--green); }
.demo-outcome[hidden] { display: none; }
.demo-outcome small { display: block; font-size: 16px; font-weight: 400; color: var(--grey); margin-top: 2px; }
/* nav: Anterior is a small link; Seguinte only turns primary when the action is done */
.demo .demo-link { min-height: 44px; }
.demo-step__nav { align-items: center; }
.demo-prev { padding: 10px 4px; margin-right: 8px; }
/* pointer on the next action */
.demo-hot.is-first::before { content: none; }
[data-point] .demo-hot.is-first:not([hidden])::before { content: "Toque aqui"; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); background: var(--green); color: #fff; font: 700 16px/1 var(--font-body); padding: 7px 11px; border-radius: 99px; white-space: nowrap; pointer-events: none; box-shadow: 0 0 0 2px var(--lime); }
/* sound toggle */
.demo-sound { font: 600 16px var(--font-body); color: var(--green); background: transparent; border: 1.5px solid var(--green); border-radius: 99px; padding: 6px 12px; min-height: 44px; cursor: pointer; }
.demo-sound[aria-pressed="false"] { color: var(--grey); border-color: #CFC8B6; }
@media (max-width: 1180px) {
  .demo-step { grid-template-columns: minmax(0, 1fr); }
  .demo-step__visual { margin-top: 8px; }
}
@media (max-width: 880px) {
  ol.demo-check { order: -3; }
  .demo-step .demo-field--pct { order: -2; }
  .demo-step__visual { order: -1; }
  .demo-step--offer .demo-step__visual { order: 1; margin-top: 20px; }
  .demo-step--offer .demo-step__nav { order: 2; }
  .demo-outcome { order: 0; }
  .demo-split { grid-template-columns: minmax(0, 1fr); }
  .demo-pane--cliente { max-width: 320px; margin: 0 auto; width: 100%; }
  .demo-sides { display: flex; gap: 0; margin: 4px 0 14px; border: 2px solid var(--green); border-radius: 99px; overflow: hidden; width: fit-content; }
  .demo-side-btn { font: 700 16px var(--font-body); min-height: 44px; padding: 8px 18px; border: 0; background: #fff; color: var(--green); cursor: pointer; }
  .demo-side-btn[aria-pressed="true"] { background: var(--green); color: #fff; }
  .demo-step[data-side="cliente"] .demo-pane--painel, .demo-step[data-side="painel"] .demo-pane--cliente { display: none; }
  .demo-progress { flex-wrap: wrap; }
  /* Phones (Paulo, 13 Nov): the phone as tall as fits the screen (at least ~70vh), the copy above it. */
  .demo-pane--cliente { max-width: none; }
  .demo-pane .demo-phone--site { width: min(100%, max(calc(70vh * 0.4618 + 20px), calc((100svh - 56px) * 0.4618 + 20px))); margin: 0 auto; }
  .demo-pane--cliente .demo-desk--tall { max-width: min(100%, calc((100svh - 56px) * 0.4618)); margin: 0 auto; }
  .demo-sides__hint { display: block; }
}

/* Paulo's walk (13 Nov): plain step lists, an overview, the toggle explained once */
.demo-check__h { margin: 18px 0 0; font-size: 16px; font-weight: 700; color: var(--green); }
ol.demo-check { margin-top: 6px; gap: 4px; }
ol.demo-check li { padding: 4px 0 4px 34px; border-radius: 0; background: none; box-shadow: none; }
ol.demo-check li::before { content: counter(ck) "."; left: 0; top: 4px; width: 26px; height: auto; display: block; text-align: right; border: 0; border-radius: 0; background: none; font-size: 17px; }
ol.demo-check li.is-next { background: none; box-shadow: none; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }
ol.demo-check li.is-done::before { content: "✓"; background: none; color: var(--green); border: 0; }
.demo-overview { margin: 16px 0 0; max-width: 32em; }
.demo-overview__h { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--green); }
.demo-overview ol { list-style: decimal; margin: 0; padding-left: 24px; display: grid; gap: 2px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.demo-sides__hint { display: none; margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.demo-offer__list { color: #F3F0E8; }
@media (max-width: 880px) { .demo-overview { order: -4; } .demo-check__h { order: -3; } .demo-sides__hint { display: block; } }

/* Paulo's 2nd walk (13 Nov) */
.demo-step__visual[hidden] { display: none !important; }
/* decks: a little room so the ring on an edge hotspot is never cut */
.demo-desk--live[data-deck] { padding: 10px; background: #fff; }
.demo-desk--live[data-deck] > .demo-hotspots { inset: 10px; }
/* the arriving review */
.demo-hl { position: absolute; z-index: 1; border: 3px solid var(--lime); border-radius: 14px; box-shadow: 0 0 0 4px rgba(0,48,36,.35); pointer-events: none; animation: demoHl 1.4s ease-out 2; }
.demo-hl__chip { position: absolute; left: 10px; top: -14px; background: var(--green); color: #fff; font: 700 16px/1 var(--font-body); padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
@keyframes demoHl { 0% { box-shadow: 0 0 0 0 rgba(168,241,64,.9); } 100% { box-shadow: 0 0 0 14px rgba(168,241,64,0); } }
/* order status after Aceitar (illustrative chip over the real "Pedido recebido" screen) */
.demo-status { position: absolute; z-index: 1; left: 4.3%; right: 4.3%; top: 15.4%; display: grid; gap: 2px; padding: 10px 12px; background: #fff; border: 3px solid var(--green); border-radius: 12px; line-height: 1.3; font-size: 16px; color: var(--ink); box-shadow: var(--shadow-lg); }
.demo-status[hidden] { display: none; }
.demo-status strong { color: var(--green); font-size: 18px; }
.demo-status__tag { justify-self: start; font-size: 16px; font-weight: 600; color: #fff; background: rgba(15,31,25,.82); padding: 2px 8px; border-radius: 99px; }
.demo-status.is-new { animation: demoHl 1.4s ease-out 2; }
@media (prefers-reduced-motion: reduce) { .demo-hl, .demo-status.is-new { animation: none; } }

/* Brand flame (brand/ symbol), used sparingly: the tag, the step numbers, the outcome cards, the CTA */
.demo-flame { display: inline-block; width: .82em; height: .9em; flex: none; background: currentColor; -webkit-mask: url(/assets/brand/symbol-green.svg) center / contain no-repeat; mask: url(/assets/brand/symbol-green.svg) center / contain no-repeat; vertical-align: -.08em; }
.demo-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.demo-step__n::before { content: ""; display: inline-block; width: 14px; height: 15px; margin-right: 8px; vertical-align: -1px; background: var(--green); -webkit-mask: url(/assets/brand/symbol-green.svg) center / contain no-repeat; mask: url(/assets/brand/symbol-green.svg) center / contain no-repeat; }
/* Outcome = the moment that matters: a branded card */
.demo-outcome { position: relative; background: var(--green); color: #fff; border-left: 0; border-radius: 14px; padding: 14px 16px 14px 50px; box-shadow: inset 0 0 0 2px var(--lime); }
.demo-outcome::before { content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 24px; background: var(--lime); -webkit-mask: url(/assets/brand/symbol-green.svg) center / contain no-repeat; mask: url(/assets/brand/symbol-green.svg) center / contain no-repeat; }
.demo-outcome strong { color: var(--lime); }
.demo-outcome small { color: #D7F9A7; }
/* Act 8: selection note + the strongest element on the page */
.demo-offer__select { font-size: 17px; line-height: 1.5; color: #F3F0E8; border-top: 1px solid rgba(243,240,232,.25); padding-top: 12px; }
.demo-offer .demo-cta { justify-self: stretch; display: flex; gap: 10px; min-height: 60px; font-size: 20px; padding: 16px 24px; border-radius: 14px; box-shadow: 0 10px 28px rgba(168,241,64,.35), 0 0 0 3px #F3F0E8; }
.demo-offer .demo-cta[hidden] { display: none; }
.demo-offer .demo-cta .demo-flame { width: 20px; height: 22px; }
.demo-offer .demo-cta:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .demo-offer .demo-cta:hover { transform: none; } }
.demo-offer p a { color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* getfoodies.com: chrome.css loads after this file, so the /demo header rules above need a stronger selector here. */
.page-demo .gf-chrome.nav { position: relative; }
.page-demo .gf-chrome .mobile-menu { position: absolute; top: 100%; bottom: auto; min-height: calc(100vh - 68px); }
/* No-skip (mirrors getfoodies.pt #67): visitors get no forward button until the act's required steps are done. */
.demo-step__nav [data-next][hidden] { display: none; }

/* Restaurant picker (combobox) in the Register interest form (mirrors getfoodies.pt #68) */
.demo-place { position: relative; }
.demo-place label { font-size: 16px; font-weight: 600; color: var(--green); }
.demo-place input[type=text] { font: 400 17px/1.3 var(--font-body); padding: 12px 14px; border: 1.5px solid #CFC8B6; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; width: 100%; box-sizing: border-box; }
.demo-place__list { list-style: none; margin: 4px 0 0; padding: 4px; background: #fff; border: 1.5px solid var(--green); border-radius: 10px; box-shadow: var(--shadow-lg); max-height: 300px; overflow-y: auto; }
.demo-place__list[hidden], .demo-place__picked[hidden], .demo-place small[hidden] { display: none; }
.demo-place__opt { display: grid; gap: 2px; min-height: 44px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 16px; line-height: 1.3; color: var(--ink); }
.demo-place__opt strong { color: var(--green); }
.demo-place__opt span { color: var(--grey); overflow-wrap: anywhere; }
.demo-place__opt[aria-selected="true"], .demo-place__opt:hover { background: #EEF7DD; outline: 2px solid var(--green); }
.demo-place__none { align-content: center; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.demo-place__picked { margin: 6px 0 0; font-size: 16px; font-weight: 600; color: var(--green); }

/* The outcome card pops in when the act is done (reduced motion: no animation) */
.demo-outcome { animation: demoPop .5s ease-out both; }
@keyframes demoPop { 0% { transform: scale(.96); box-shadow: inset 0 0 0 2px var(--lime), 0 0 0 0 rgba(168,241,64,.8); } 60% { transform: scale(1.01); } 100% { transform: none; box-shadow: inset 0 0 0 2px var(--lime), 0 0 0 12px rgba(168,241,64,0); } }
@media (prefers-reduced-motion: reduce) { .demo-outcome { animation: none; } }
.demo-hl__chip { max-width: calc(100vw - 48px); overflow: hidden; text-overflow: ellipsis; }
.demo-hl--corner .demo-hl__chip { top: auto; left: auto; bottom: 8px; right: 8px; }
