/* Serve Mais, página de apresentação. Cores dos tokens de ~/pcsm/public/styles.css (Penpot "Serve Mais - Design v2"). */

:root {
  color-scheme: light;
  --brand: #c2410c;
  --brand-hover: #9a3412;
  --on-brand: #fff;
  --brand-text: #c2410c;
  --brand-soft: #fbe9e1;

  --bg: #f5f5f4;
  --surface: #fff;
  --fill: #f5f5f4;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;
  --text: #1c1917;
  --text-2: #44403c;
  --muted: #6b6560;
  --faint: #a8a29e;
  --ink: #1c1917;
  --on-ink: #fff;
  --green-on-ink: #86efac;
  --bezel: #1c1917;

  /* Estados da mesa e do pedido, os mesmos do painel */
  --amber: #f59e0b;
  --on-amber: #1c1917;
  --amber-text: #b45309;
  --amber-soft: #fef3c7;
  --blue: #2563eb;
  --blue-text: #1d4ed8;
  --blue-soft: #dbeafe;
  --green: #16a34a;
  --green-text: #15803d;
  --green-soft: #dcfce7;
  --purple: #7c3aed;
  --on-purple: #fff;
  --purple-text: #6d28d9;
  --purple-soft: #ede9fe;
  --red-text: #b91c1c;
  --red-soft: #fee2e2;

  --shadow-pop: 0 24px 48px -24px rgb(28 25 23 / 0.35);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --head: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --brand-text: #fb923c;
    --brand-soft: rgb(194 65 12 / 0.25);
    --bg: #0c0a09;
    --surface: #1c1917;
    --fill: #292524;
    --line: #33302d;
    --line-strong: #44403c;
    --text: #f5f5f4;
    --text-2: #d6d3d1;
    --muted: #a8a29e;
    --faint: #78716c;
    --ink: #f5f5f4;
    --on-ink: #1c1917;
    --green-on-ink: #15803d;
    --bezel: #44403c;
    --amber-text: #fbbf24;
    --amber-soft: rgb(245 158 11 / 0.16);
    --blue-text: #93c5fd;
    --blue-soft: rgb(59 130 246 / 0.18);
    --green-text: #4ade80;
    --green-soft: rgb(22 163 74 / 0.18);
    --purple-text: #c4b5fd;
    --purple-soft: rgb(124 58 237 / 0.22);
    --red-text: #f87171;
    --red-soft: rgb(220 38 38 / 0.18);
    --shadow-pop: 0 24px 48px -24px rgb(0 0 0 / 0.8);
  }
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--head);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
}
.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s;
}
.btn-brand {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-brand:hover {
  background: var(--brand-hover);
}
.btn-quiet,
.btn-line {
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-quiet:hover,
.btn-line:hover {
  background: var(--surface);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}
.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.125rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
}
.mark .i {
  width: 22px;
  height: 22px;
}

/* ---------- Topo ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--head);
  padding: 0 max(var(--gutter), (100% - var(--max)) / 2);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: none;
  gap: 28px;
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-2);
}
.nav a {
  text-decoration: none;
}
.nav a:hover {
  color: var(--text);
}
.top .btn {
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .top .btn {
    margin-left: 0;
  }
}

/* ---------- Seções ---------- */

.hero,
.night,
.team,
.plans,
.faq {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.night,
.team,
.plans,
.faq {
  padding-block: clamp(72px, 10vw, 128px) 0;
}
.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2,
.closing h2 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  line-height: 1;
}
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
}

/* ---------- Hero: o mapa de mesas ---------- */

.hero {
  display: grid;
  gap: 48px;
  padding-block: 48px 24px;
}
.hero h1 {
  font-size: clamp(3.25rem, 1.6rem + 6.4vw, 6rem);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.lede {
  max-width: 34em;
  margin-top: 28px;
  font-size: 1.1875rem;
  color: var(--text-2);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.fine {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}
@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 64px;
    padding-block: 72px 32px;
  }
}

.floor {
  margin: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-pop);
}
.floor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.0625rem;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-text);
}
.live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
  padding: 0;
  list-style: none;
}
.counts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  border-radius: 999px;
  background: var(--fill);
  font-size: 0.8125rem;
  color: var(--text-2);
}
.counts i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
}
.counts b {
  font-variant-numeric: tabular-nums;
}

.tables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 14px;
  margin: 0;
  padding: 26px 4px;
  list-style: none;
}
@media (min-width: 520px) {
  .tables {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* A mesa vista de cima: o tampo com o estado e duas cadeiras */
.t {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 0.78;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition:
    background-color 0.5s,
    color 0.5s,
    border-color 0.5s;
}
.t::before,
.t::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  height: 7px;
  border-radius: 999px;
  background: var(--muted);
  opacity: 0.55;
  transition: opacity 0.5s;
}
.t::before {
  top: -13px;
}
.t::after {
  bottom: -13px;
}
.t b {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
}
.t span {
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-state="free"] > i,
.t[data-state="free"] {
  background: var(--surface);
  color: var(--faint);
  border-color: var(--line-strong);
}
.t[data-state="free"]::before,
.t[data-state="free"]::after {
  background: var(--line-strong);
  opacity: 1;
}
[data-state="occupied"] > i,
.t[data-state="occupied"] {
  background: var(--blue-soft);
  color: var(--blue-text);
}
[data-state="calling"] > i,
.t[data-state="calling"] {
  background: var(--amber);
  color: var(--on-amber);
  border-color: var(--amber);
}
[data-state="bill"] > i,
.t[data-state="bill"] {
  background: var(--purple);
  color: var(--on-purple);
  border-color: var(--purple);
}

/* Barra de chamados, como a do painel */
.callbar {
  display: grid;
  gap: 8px;
  min-height: 96px;
  align-content: start;
}
@media (min-width: 640px) {
  .callbar {
    grid-template-columns: 1fr 1fr;
    min-height: 48px;
  }
}
.call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 4px 4px 4px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  animation: drop 0.35s ease-out;
}
.call.amber {
  background: var(--amber);
  color: var(--on-amber);
}
.call.purple {
  background: var(--purple);
  color: var(--on-purple);
}
.call button {
  flex: none;
  white-space: nowrap;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: rgb(255 255 255 / 0.92);
  color: #1c1917;
  font: 700 0.8125rem var(--font);
  cursor: pointer;
}
.call button:hover {
  background: #fff;
}
.calm {
  align-self: center;
  font-size: 0.875rem;
  color: var(--faint);
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.floor-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- Uma noite na mesa 7 ---------- */

.story {
  display: grid;
}
.stage {
  position: sticky;
  top: var(--head);
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 12px 0 20px;
  background: linear-gradient(var(--bg) 85%, transparent);
}
.stage > * {
  zoom: 0.5;
}
@media (max-height: 700px) and (max-width: 899px) {
  .stage > * {
    zoom: 0.42;
  }
}
.side {
  display: grid;
  align-self: center;
  margin-left: -16px;
  z-index: 1;
}
.side > * {
  grid-area: 1 / 1;
  align-self: center;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58svh;
  padding-block: 24px;
  color: var(--muted);
  transition: color 0.3s;
}
.step time {
  font-size: 3.5rem;
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.step h3 {
  margin: 10px 0 12px;
  font-size: 1.625rem;
  font-weight: 800;
  font-stretch: 105%;
  letter-spacing: -0.02em;
}
.step p {
  max-width: 32em;
}
.step.on {
  color: var(--text-2);
}
.step.on h3 {
  color: var(--text);
}
.step.on time {
  color: var(--brand-text);
}

@media (min-width: 900px) {
  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
  .stage {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    top: max(var(--head) + 16px, 50vh - 330px);
    padding: 0;
    background: none;
  }
  .stage > * {
    zoom: 1;
  }
  .steps {
    grid-column: 1;
    grid-row: 1;
    padding-block: 10vh 30vh;
  }
  .step {
    min-height: 78vh;
  }
  .step time {
    font-size: 4.5rem;
  }
}

/* O que aparece em cada passo: data-show="2 3" fica visível nos passos 2 e 3; data-on="2" acende a aba */
.stage [data-show] {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s,
    transform 0.45s,
    visibility 0s 0.45s;
}
.stage[data-step="1"] [data-show~="1"],
.stage[data-step="2"] [data-show~="2"],
.stage[data-step="3"] [data-show~="3"],
.stage[data-step="4"] [data-show~="4"],
.stage[data-step="5"] [data-show~="5"],
.stage[data-step="6"] [data-show~="6"] {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.45s,
    transform 0.45s,
    visibility 0s;
}
.stage[data-step="1"] [data-on~="1"],
.stage[data-step="2"] [data-on~="2"],
.stage[data-step="3"] [data-on~="3"],
.stage[data-step="5"] [data-on~="5"] {
  color: var(--brand-text);
}
.stage[data-step="4"] [data-on~="4"] {
  color: var(--amber-text);
}

/* O celular do cliente, reproduzindo a página da mesa */
.phone {
  flex: none;
  width: 300px;
  height: 620px;
  padding: 10px;
  border-radius: 46px;
  background: var(--bezel);
  box-shadow: var(--shadow-pop);
}
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: var(--bg);
  font-size: 12px;
  line-height: 1.35;
}
.screen .i {
  width: 16px;
  height: 16px;
}
.p-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 34px 14px 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.p-top b {
  flex: 1;
  font-size: 14px;
}
.p-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 11px;
  font-weight: 800;
}
.p-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fill);
  font-weight: 700;
}
.p-body {
  position: relative;
  flex: 1;
}
.p-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
}
.p-chips {
  display: flex;
  gap: 6px;
}
.p-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
}
.p-chips .on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.p-h {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
}
.p-item {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
}
.p-item > div {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.p-item b {
  font-size: 13px;
}
.p-item small,
.p-line small,
.p-row small,
.b-order > small,
.p-end > small {
  font-size: 11px;
  color: var(--muted);
}
.p-item strong {
  margin-top: 4px;
  font-size: 13px;
}
.p-sold {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-text);
  font-size: 10px;
  font-style: normal;
}
.p-add {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
}
.p-cart {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 74px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(16px);
}
.stage[data-step="2"] .p-cart {
  transform: none;
}
.p-cart span {
  flex: 1;
}
.p-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 8px 4px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.p-tabs > span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 9.5px;
  font-stretch: 70%;
  font-weight: 600;
  transition: color 0.3s;
}
.p-tabs .i {
  width: 20px;
  height: 20px;
}
.p-count {
  position: absolute;
  top: -4px;
  left: calc(50% + 5px);
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 10px;
  font-style: normal;
}
.p-waiter {
  grid-template-areas: "x";
}
.p-waiter > span {
  grid-area: x;
  display: grid;
  justify-items: center;
  gap: 3px;
}
.p-swap {
  display: grid;
}
.p-swap > * {
  grid-area: 1 / 1;
  display: grid;
  gap: 8px;
  align-content: start;
}
.p-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
}
.p-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.p-status {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 10.5px;
  font-weight: 700;
}
.p-trail {
  display: grid;
  gap: 6px;
}
.p-track {
  position: relative;
  height: 32px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--blue-text);
}
.p-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 22%;
  border-radius: inherit;
  background: var(--blue-soft);
  transition: width 1.6s ease 0.3s;
}
.p-track .i {
  position: absolute;
  top: 5px;
  left: calc(22% - 26px);
  width: 22px;
  height: 22px;
  transition: left 1.6s ease 0.3s;
}
.stage[data-step="3"] .p-track i {
  width: 52%;
}
.stage[data-step="3"] .p-track .i {
  left: calc(52% - 26px);
}
.p-steps {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.p-steps b {
  color: var(--blue-text);
}
.p-line {
  display: grid;
  font-size: 12.5px;
  font-weight: 600;
}
.p-line small {
  font-weight: 400;
}
.p-done {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--green-text);
  font-size: 11px;
  font-weight: 600;
}
.p-done span:nth-child(2) {
  flex: 1;
  color: var(--text-2);
  font-weight: 400;
}
.ok {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-text);
}
.screen .ok .i {
  width: 13px;
  height: 13px;
}
.p-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  font-size: 11.5px;
}
.p-banner b {
  display: block;
}
.p-banner.amber {
  background: var(--amber-soft);
  color: var(--amber-text);
}
.p-banner.purple {
  background: var(--purple-soft);
  color: var(--purple-text);
  text-align: left;
}
.p-total {
  justify-items: center;
  text-align: center;
}
.p-total strong {
  font-size: 30px;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
}
.p-bill {
  gap: 0;
}
.p-bill p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-block: 3px;
  font-variant-numeric: tabular-nums;
}
.p-bill .sub {
  color: var(--muted);
}
.p-bill .sum {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}
.p-end {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 20px;
}
.p-heart {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-text);
}
.screen .p-heart .i {
  width: 28px;
  height: 28px;
}
.p-thanks {
  font-size: 18px;
}
.p-review {
  width: 100%;
  margin-top: 12px;
}
.p-review p {
  display: flex;
  justify-content: space-between;
}
.stars::before {
  content: "★★★★★";
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--amber) var(--n), var(--line-strong) 0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.s5 {
  --n: 100%;
}
.s4 {
  --n: 80%;
}

/* O totem da mesa */
.totem {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 210px;
  padding: 18px 18px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  rotate: -4deg;
}
.totem b {
  font-size: 34px;
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
}
.qr {
  width: 150px;
  height: 150px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.totem-nfc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
}
.totem-nfc .i {
  width: 24px;
  height: 24px;
  color: var(--brand-text);
}

/* O painel da equipe, ao lado */
.board {
  width: 270px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  font-size: 12px;
  line-height: 1.35;
}
.board .i {
  width: 16px;
  height: 16px;
}
.b-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 700;
}
.b-bar .live {
  color: var(--green-on-ink);
  font-size: 11px;
}
.b-body {
  display: grid;
  padding: 14px;
}
.b-view {
  grid-area: 1 / 1;
  align-self: center;
  display: grid;
  gap: 10px;
  align-content: start;
}
.b-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.b-sold {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.b-sold > span:first-child {
  display: grid;
}
.b-sold small {
  color: var(--muted);
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.switch::after {
  content: "";
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 10px 50%, #fff 7px, transparent 7.5px), var(--line-strong);
  transition: background 0.3s;
}
.switch.on::after {
  background: radial-gradient(circle at 24px 50%, #fff 7px, transparent 7.5px), var(--brand);
}
.b-order {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.stage[data-step="3"] .b-order {
  animation: ring 1s ease-out 0.4s 2;
}
@keyframes ring {
  from {
    box-shadow: 0 0 0 0 rgb(37 99 235 / 0.5);
  }
  to {
    box-shadow: 0 0 0 12px rgb(37 99 235 / 0);
  }
}
.b-table {
  font-size: 20px;
  font-weight: 800;
  font-stretch: 75%;
}
.b-timer {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--fill);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  background: rgb(255 255 255 / 0.92);
  color: #1c1917;
  font-weight: 700;
}
.b-btn.green {
  background: var(--green);
  color: #fff;
}
.b-btn.ink {
  background: var(--ink);
  color: var(--on-ink);
}
.b-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 5px 5px 12px;
  border-radius: 12px;
}
.b-chip.amber {
  background: var(--amber);
  color: var(--on-amber);
}
.b-chip.purple {
  background: var(--purple);
  color: var(--on-purple);
}
.b-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 6px 14px;
}
.b-mini .t {
  aspect-ratio: 1 / 0.8;
}
.b-mini .t b {
  font-size: 24px;
}

/* ---------- Equipe ---------- */

.roles {
  display: grid;
  gap: 40px 32px;
}
@media (min-width: 640px) {
  .roles {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1040px) {
  .roles {
    grid-template-columns: repeat(4, 1fr);
  }
}
.roles .i {
  width: 28px;
  height: 28px;
  color: var(--brand-text);
}
.roles h3 {
  margin: 14px 0 8px;
  font-size: 1.3125rem;
  font-weight: 800;
  font-stretch: 105%;
}
.roles p {
  color: var(--muted);
}

/* ---------- Planos ---------- */

.plan-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 960px) {
  .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.plan h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 105%;
}
.pitch {
  color: var(--muted);
}
.price {
  margin: 12px 0 8px;
  color: var(--muted);
}
.price b {
  font-size: 3rem;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -0.02em;
  color: var(--text);
}
.plan ul {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.plan li {
  position: relative;
  padding-left: 28px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--green-text);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan li.all {
  padding-left: 0;
  font-weight: 700;
}
.plan li.all::before {
  display: none;
}
.plan li.soon {
  color: var(--muted);
}
.plan li.soon::before {
  background: var(--faint);
}
.soon span {
  margin-left: 4px;
  padding: 1px 8px;
  white-space: nowrap;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber-text);
  font-size: 0.75rem;
  font-weight: 700;
}
.plan .btn {
  align-self: stretch;
}
.badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 0.75rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0;
}
.plan-full {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.plan-full .pitch,
.plan-full .price,
.plan-full li.soon {
  color: color-mix(in srgb, var(--on-ink) 70%, transparent);
}
.plan-full .price b {
  color: var(--on-ink);
}
.plan-full li::before {
  background: var(--brand-text);
}
.plan-full .soon span {
  background: var(--amber);
  color: var(--on-amber);
}
.plan-full li.soon::before {
  background: color-mix(in srgb, var(--on-ink) 45%, transparent);
}

/* ---------- Dúvidas ---------- */

.qa {
  max-width: 760px;
  border-top: 1px solid var(--line);
}
.qa details {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: var(--muted);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: rotate 0.2s;
}
.qa details[open] summary::after {
  rotate: 45deg;
}
.qa details p {
  max-width: 62ch;
  padding-bottom: 22px;
  color: var(--text-2);
}

/* ---------- Fechamento e rodapé ---------- */

.closing {
  margin-top: clamp(72px, 10vw, 128px);
  padding: clamp(64px, 9vw, 112px) max(var(--gutter), (100% - var(--max)) / 2);
  background: var(--brand);
  color: var(--on-brand);
}
.closing p {
  max-width: 34em;
  margin: 20px 0 32px;
  font-size: 1.1875rem;
  opacity: 0.92;
}
.closing .btn {
  background: #fff;
  color: #9a3412;
}
.closing .btn:hover {
  background: #fbe9e1;
}
.closing :focus-visible {
  outline-color: #fff;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding: 32px max(var(--gutter), (100% - var(--max)) / 2) 40px;
  font-size: 0.875rem;
  color: var(--muted);
}
.foot .brand {
  color: var(--text);
  font-size: 1rem;
}
.foot .mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.foot .mark .i {
  width: 18px;
  height: 18px;
}
.foot p:last-child {
  margin-left: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
