/* Gestou Foods · landing (minimal) */

:root {
  --brand: #e5241f;
  --brand-600: #c81d18;
  --brand-50: #fdeceb;
  --ink-950: #141110;
  --ink-900: #1c1917;
  --ink-700: #44403c;
  --ink-500: #78716c;
  --ink-400: #a8a29e;
  --ink-200: #e7e5e4;
  --ink-100: #f2f1f0;
  --ink-50: #fafaf9;
  --white: #fff;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--ink-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink-900);
  color: var(--white);
}
.skip:focus {
  left: 8px;
}
.dots {
  background-image: radial-gradient(rgba(28, 25, 23, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Buttons: always pill */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:focus-visible,
.tab:focus-visible {
  outline: 3px solid rgba(229, 36, 31, 0.35);
  outline-offset: 2px;
}
.btn--brand {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(229, 36, 31, 0.8);
}
.btn--brand:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
}
.btn--dark {
  background: var(--ink-900);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--ink-700);
}
.btn--light {
  background: var(--white);
  color: var(--ink-900);
}
.btn--light:hover {
  transform: translateY(-1px);
}
.btn--sm {
  padding: 10px 16px;
  font-size: 14px;
}
.btn--lg {
  padding: 16px 26px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}

/* Header: floating pill */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 14px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 880px;
  height: 64px;
  padding: 0 9px 0 24px;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.6));
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(28, 25, 23, 0.04),
    0 6px 16px -10px rgba(28, 25, 23, 0.14);
  transition:
    background-color 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
/* links in the true center of the pill, whatever the logo/actions widths */
.header__inner {
  position: relative;
}
.header .nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header .nav {
  background: none;
}
.header .nav a,
.header .link {
  padding: 8px 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.header .nav a:hover,
.header .link:hover {
  background: rgba(28, 25, 23, 0.05);
}
/* fills the pill's height (64px minus the 9px inset and the border) */
.header .btn--sm {
  height: 44px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 700;
}
.header.is-scrolled .header__inner {
  border-color: rgba(28, 25, 23, 0.13);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(28, 25, 23, 0.05),
    0 8px 20px -12px rgba(28, 25, 23, 0.18);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.logo img {
  height: 28px;
  width: auto;
}
.logo span {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.nav {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ink-100);
}
.nav a,
.link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  transition: background-color 0.2s;
}
.nav a:hover {
  background: var(--white);
  color: var(--ink-900);
}
.link:hover {
  background: var(--ink-100);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: -78px;
  padding: 138px 0 72px;
}
/* Soft red light behind the hero (under the dots), fading into the page */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: min(1100px, 100%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48% 38% at 50% 0%, rgba(229, 36, 31, 0.16), transparent 72%),
    radial-gradient(32% 30% at 82% 22%, rgba(229, 36, 31, 0.1), transparent 70%),
    radial-gradient(30% 28% at 14% 34%, rgba(255, 120, 90, 0.09), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
}
.hero__copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
}
h1 {
  margin-top: 22px;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.lead {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 18px;
  color: var(--ink-500);
}
.ctas {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 56px auto 18px;
  padding: 5px;
  border-radius: 999px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 1px var(--ink-200),
    0 8px 24px -16px rgba(28, 25, 23, 0.25);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  position: relative;
  flex-shrink: 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 600 14px/1 var(--font);
  color: var(--ink-500);
  cursor: pointer;
  overflow: hidden;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.tab:hover {
  color: var(--ink-900);
}
.tab[aria-selected='true'] {
  background: var(--ink-900);
  color: var(--white);
}
.tab__bar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
}
.tab__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}
.tabs.is-auto .tab[aria-selected='true'] .tab__bar {
  opacity: 1;
}
.tabs.is-auto .tab[aria-selected='true'] .tab__bar::after {
  animation: progress var(--dur, 6s) linear forwards;
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

/* App window */
.window {
  border-radius: 22px;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(28, 25, 23, 0.08),
    0 40px 80px -30px rgba(28, 25, 23, 0.35),
    0 12px 24px -12px rgba(28, 25, 23, 0.12);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--ink-100);
  background: var(--ink-50);
}
.lights {
  display: flex;
  gap: 7px;
  width: 54px;
}
.lights i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}
.lights i:nth-child(2) {
  background: #febc2e;
}
.lights i:nth-child(3) {
  background: #28c840;
}
.url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-200);
  font-size: 12.5px;
  color: var(--ink-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.url svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

/* Mock app (mirrors the real Gestou UI) */
.app {
  font-size: 13px;
  user-select: none;
}
.app__head {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid var(--ink-100);
}
.app__logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 14px;
  border-right: 1px solid var(--ink-200);
}
.app__logo img {
  height: 20px;
  width: auto;
}
.app__logo b {
  font-weight: 600;
  color: var(--brand);
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}
.store em {
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #78350f;
}
.seg {
  display: inline-flex;
  margin-left: auto;
  padding: 3px;
  border-radius: 999px;
  background: var(--ink-100);
}
.seg span {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-500);
  transition:
    background-color 0.25s,
    color 0.25s;
}
.seg span.on {
  background: var(--white);
  color: var(--ink-900);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
}
.open-btn b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fde68a;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px #f59e0b;
}

.app__body {
  position: relative;
  height: 520px;
  padding: 24px;
  overflow: hidden;
  background-color: var(--ink-50);
}
.app__body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(rgba(250, 250, 249, 0), var(--ink-50));
  pointer-events: none;
}
.screen {
  animation: screen-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.screen[hidden] {
  display: none;
}
@keyframes screen-in {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(10px);
  }
}
.s-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.s-head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.s-head p {
  margin-top: 2px;
  color: var(--ink-500);
}
.btn-mini {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink-900);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}
.filters {
  display: inline-flex;
  gap: 2px;
  margin-top: 16px;
  padding: 3px;
  border-radius: 999px;
  background: var(--ink-100);
}
.filters--right {
  margin-top: 0;
}
.filters > * {
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--ink-500);
  white-space: nowrap;
}
.filters b {
  background: var(--white);
  color: var(--ink-900);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Comandas */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.order {
  padding: 16px;
  border-radius: 22px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--ink-200),
    0 2px 6px -2px rgba(0, 0, 0, 0.06);
}
.order--new {
  animation: new-order 2.4s ease-in-out infinite;
}
@keyframes new-order {
  50% {
    box-shadow:
      0 0 0 2px rgba(229, 36, 31, 0.5),
      0 10px 24px -10px rgba(229, 36, 31, 0.35);
  }
}
.order__top,
.ticket__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.order__top strong {
  font-size: 15px;
}
.badge {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
}
.b-blue {
  background: #2563eb;
}
.b-green {
  background: #16a34a;
}
.b-amber {
  background: #f59e0b;
}
.meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-500);
}
.items {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px dashed var(--ink-200);
}
.items b {
  display: inline-block;
  min-width: 22px;
}
.items small {
  display: block;
  padding-left: 22px;
  color: #b45309;
  font-size: 11.5px;
}
.from {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--ink-100);
  font-size: 12px;
}
.from span {
  color: var(--ink-500);
}
.order__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-100);
}
.order__total strong {
  font-size: 16px;
}
.actions {
  display: block;
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-700);
  font-weight: 500;
}

/* Cozinha */
.kds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.col {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 420px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(242, 241, 240, 0.7);
  box-shadow: inset 0 0 0 1px var(--ink-200);
}
.col__h {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 4px 4px;
  font-weight: 600;
}
.col__h i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.col__h em {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--white);
  font-style: normal;
  font-size: 11px;
  color: var(--ink-500);
}
.c-amber {
  background: #f59e0b;
}
.c-blue {
  background: #3b82f6;
}
.c-green {
  background: #22c55e;
}
.ticket {
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-200);
}
.ticket--late {
  box-shadow: 0 0 0 1.5px #fca5a5;
}
.ticket__top strong {
  font-size: 15px;
}
.chip-s {
  margin-right: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ink-100);
  font-size: 11px;
  color: var(--ink-700);
}
.timer {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: var(--ink-500);
}
.t-red {
  color: #dc2626;
}
.t-green {
  color: #16a34a;
}
.ticket__sub {
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 12px;
}
.dark-btn {
  display: block;
  margin-top: 12px;
  padding: 8px;
  border-radius: 999px;
  background: var(--ink-900);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 12px;
}

/* Mesas */
.tables {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.tbl {
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-200);
}
.tbl b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--white);
  font-size: 13px;
}
.tbl strong {
  display: block;
  margin-top: 12px;
}
.tbl small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
}
.tbl small::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tbl small.free {
  color: #16a34a;
  font-weight: 500;
}
.tbl--busy b {
  background: #fef3c7;
  color: #92400e;
}

/* Cardápio digital */
.menu-split {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 28px;
  height: 100%;
}
.menu-side h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.panel {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-200);
}
.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel small {
  display: block;
  color: var(--ink-500);
}
.panel small.ok {
  color: #16a34a;
  font-weight: 500;
}
.toggle {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #22c55e;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
}
.link-row {
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-500);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel--qr {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qr-big {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background:
    conic-gradient(var(--ink-900) 25%, transparent 0 50%, var(--ink-900) 0 75%, transparent 0) 0 0 / 16px 16px,
    var(--white);
  box-shadow:
    inset 0 0 0 5px var(--white),
    0 0 0 1px var(--ink-200);
}
.label {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400) !important;
}
.swatches {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.swatches i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c);
}
.swatches i.on {
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--c);
}
.phone {
  align-self: start;
  padding: 9px;
  border-radius: 38px;
  background: var(--ink-900);
  box-shadow: 0 24px 50px -20px rgba(28, 25, 23, 0.5);
}
.phone__screen {
  position: relative;
  height: 452px;
  border-radius: 30px;
  background: var(--white);
  overflow: hidden;
}
.pm-banner {
  height: 92px;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.25), transparent 40%),
    linear-gradient(135deg, #e5241f, #ff7a3d);
}
.pm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -22px;
  padding: 0 14px;
}
.pm-head strong {
  display: block;
  margin-top: 18px;
  font-size: 14px;
}
.pm-head small {
  display: block;
  font-size: 10.5px;
  color: var(--ink-500);
}
.pm-logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 0 0 3px var(--white);
}
.pm-cats {
  display: flex;
  gap: 6px;
  margin: 14px 14px 4px;
}
.pm-cats > * {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink-100);
  font-size: 11px;
}
.pm-cats b {
  background: var(--brand);
  color: var(--white);
}
.pm-item {
  display: flex;
  gap: 10px;
  margin: 0 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ink-100);
}
.pm-item strong {
  display: block;
  font-size: 12.5px;
}
.pm-item small {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--ink-500);
}
.pm-item div > b {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}
.pm-img {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: var(--white);
  font-size: 14px;
}
.i1 {
  background: radial-gradient(circle at 50% 40%, #fbbf24 0 22%, #92400e 23% 34%, #f59e0b 35% 46%, transparent 47%), linear-gradient(135deg, #7c2d12, #c2410c);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}
.i2 {
  background: radial-gradient(circle at 50% 50%, #fde68a 0 18%, #b91c1c 19% 30%, #f59e0b 31% 44%, transparent 45%), linear-gradient(135deg, #991b1b, #e5241f);
}
.i3 {
  background: repeating-linear-gradient(70deg, #fcd34d 0 5px, #f59e0b 5px 8px), #fbbf24;
}
.pm-cart {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

/* Vendas */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.kpi,
.card-s {
  padding: 16px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-200);
}
.kpi small {
  color: var(--ink-500);
}
.kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.dash {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 200px;
  margin-top: 16px;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #e5241f, #f87171);
  transform-origin: bottom;
  animation: grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.bars i:nth-child(n + 9) {
  background: linear-gradient(180deg, #b91c1c, #e5241f);
}
.bars i:nth-child(2) { animation-delay: 0.04s; }
.bars i:nth-child(3) { animation-delay: 0.08s; }
.bars i:nth-child(4) { animation-delay: 0.12s; }
.bars i:nth-child(5) { animation-delay: 0.16s; }
.bars i:nth-child(6) { animation-delay: 0.2s; }
.bars i:nth-child(7) { animation-delay: 0.24s; }
.bars i:nth-child(8) { animation-delay: 0.28s; }
.bars i:nth-child(9) { animation-delay: 0.32s; }
.bars i:nth-child(10) { animation-delay: 0.36s; }
@keyframes grow {
  from {
    transform: scaleY(0);
  }
}
.bars__x {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-400);
}
.top {
  display: grid;
  gap: 4px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: t;
}
.top li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink-100);
  counter-increment: t;
}
.top li::before {
  content: counter(t);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.top b {
  margin-left: auto;
}

/* Caption under the window */
.caption {
  max-width: 600px;
  margin: 28px auto 0;
  text-align: center;
  transition:
    opacity 0.3s,
    filter 0.3s;
}
.caption.is-changing {
  opacity: 0;
  filter: blur(6px);
}
.caption h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.caption p {
  margin-top: 6px;
  color: var(--ink-500);
}

/* Facts */
.facts {
  padding: 24px 0 8px;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.fact {
  padding: 30px 24px;
}
.fact + .fact {
  border-left: 1px solid var(--ink-200);
}
.fact strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.fact span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-500);
}

/* Sections */
.section {
  padding: 104px 0;
}
.section--tight {
  padding-top: 24px;
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.title {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.muted {
  color: var(--ink-500);
  font-size: 14px;
}
.fine {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-500);
}
.fine a {
  color: var(--brand);
  font-weight: 600;
}

/* Pricing */
.price-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 40px;
  padding: 36px;
  border-radius: 32px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--ink-200),
    0 30px 60px -36px rgba(28, 25, 23, 0.35);
  text-align: left;
}
.price-card__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.price-card__left .btn {
  margin-top: auto;
}
.price-card--plus {
  margin-top: 16px;
}
.free-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-600);
}
.plus-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #78350f;
}
.price {
  font-weight: 800;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.price small {
  font-size: 22px;
  vertical-align: 30px;
  margin-right: 4px;
  letter-spacing: 0;
}
.price span {
  font-size: 34px;
}
.price em {
  margin-left: 2px;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--ink-500);
}
.checks {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0 0 0 36px;
  border-left: 1px solid var(--ink-100);
  list-style: none;
  font-size: 15px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checks li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink-900)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center/10px no-repeat;
}

.checks .checks__lead::before {
  display: none;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}
details {
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-200);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-100);
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.25s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  padding: 0 20px 20px;
  color: var(--ink-500);
}

/* Final CTA */
.final {
  padding: 0 0 96px;
}
.final__card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  border-radius: 32px;
  background: #5a0c16;
  overflow: hidden;
}
.final__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.final__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(70, 8, 16, 0.85), rgba(70, 8, 16, 0.4) 45%, transparent 70%);
}
.final__copy {
  position: relative;
  z-index: 2;
  padding: 48px;
  color: var(--white);
}
.final__copy h2 {
  margin-bottom: 26px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* Footer */
.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--ink-200);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 14px;
}
.footer nav a {
  color: var(--ink-500);
  text-decoration: none;
}
.footer nav a:hover {
  color: var(--ink-900);
}
.footer__legal {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--ink-400);
}

.sticky-cta {
  display: none;
}

/* Reveal: fadeInUp + blur */
.js .reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .store,
  .avatar {
    display: none;
  }
  .tables {
    grid-template-columns: repeat(4, 1fr);
  }
  .facts__grid {
    grid-template-columns: 1fr 1fr;
  }
  .fact:nth-child(3) {
    border-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--ink-200);
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }
  .hero {
    padding-top: 118px;
  }
  .header {
    padding: 10px 12px 0;
  }
  .header__inner {
    height: 56px;
    padding: 0 6px 0 16px;
  }
  .header .btn--sm {
    height: 42px;
    padding: 0 18px;
  }
  .app__head {
    gap: 10px;
    padding: 0 14px;
  }
  .app__logo {
    border-right: 0;
    padding-right: 0;
  }
  .open-btn {
    display: none;
  }
  .app__body {
    height: 470px;
    padding: 16px;
  }
  .s-head h3,
  .menu-side h3 {
    font-size: 19px;
  }
  .filters--right,
  .btn-mini {
    display: none;
  }
  .filters {
    max-width: 100%;
    overflow: hidden;
  }
  .cards3 {
    grid-template-columns: 1fr;
  }
  .cards3 .order:nth-child(n + 3) {
    display: none;
  }
  .kds {
    grid-template-columns: 1fr 1fr;
  }
  .kds .col:nth-child(3) {
    display: none;
  }
  .tables {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .menu-split {
    grid-template-columns: 1fr;
  }
  .menu-side {
    display: none;
  }
  .phone {
    width: 260px;
    margin: 0 auto;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .dash {
    grid-template-columns: 1fr;
  }
  .bars {
    height: 140px;
  }
  .price-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px 22px;
  }
  .price-card__left .btn {
    order: 3;
  }
  .checks {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--ink-100);
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
  .link {
    display: none;
  }
  h1 {
    font-size: 40px;
  }
  .lead {
    font-size: 16.5px;
  }
  .ctas .btn {
    width: 100%;
  }
  .tabs {
    width: auto;
    justify-content: flex-start;
    margin: 44px -16px 14px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 16px;
  }
  .tab {
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--ink-200);
  }
  .tab[aria-selected='true'] {
    box-shadow: none;
  }
  .window {
    border-radius: 18px;
  }
  .window__bar {
    height: 38px;
    padding: 0 12px;
  }
  .lights {
    width: auto;
  }
  .lights--ghost {
    display: none;
  }
  .url {
    font-size: 11.5px;
  }
  .app {
    font-size: 12px;
  }
  .seg span {
    padding: 5px 9px;
  }
  .kds {
    grid-template-columns: 1fr;
  }
  .kds .col:nth-child(2) {
    display: none;
  }
  .col {
    min-height: 0;
  }
  .kpi strong {
    font-size: 18px;
  }
  .fact {
    padding: 22px 16px;
  }
  .fact strong {
    font-size: 20px;
  }
  .section {
    padding: 80px 0;
  }
  .section--tight {
    padding-top: 16px;
  }
  .price {
    font-size: 60px;
  }
  .final {
    padding-bottom: 104px;
  }
  .final__card {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-radius: 26px;
  }
  .final__card img {
    position: relative;
    height: 200px;
    object-position: 80% center;
  }
  .final__card::before {
    display: none;
  }
  .final__copy {
    padding: 26px 22px 28px;
  }
  .final__copy .btn {
    width: 100%;
  }
  .footer {
    padding-bottom: 104px;
  }
  .sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 20px;
    border-radius: 999px;
    background: var(--ink-900);
    color: var(--white);
    box-shadow: 0 20px 40px -12px rgba(28, 25, 23, 0.5);
    transform: translateY(140%);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .sticky-cta.is-visible {
    transform: none;
  }
  .sticky-cta strong {
    display: block;
    font-size: 14px;
    line-height: 1.2;
  }
  .sticky-cta small {
    font-size: 12px;
    opacity: 0.7;
  }
}

/* Hero rotating message (fadeInUp + blur). All variants share one grid cell: no layout jump. */
.rotate {
  display: grid;
}
.rotate__item {
  grid-area: 1 / 1;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(22px);
  transition:
    opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.rotate__item.is-on {
  opacity: 1;
  filter: none;
  transform: none;
  pointer-events: auto;
}
.rotate__item.is-out {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(-16px);
}
.rotate--lead .rotate__item {
  transition-delay: 0.08s;
}

/* Hero CTA with the Google "G" in a white circle (same shape as the app's "Abrir comanda") */
.g-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}
.btn .g-logo svg {
  width: 20px;
  height: 20px;
  stroke: none;
  transform: none;
}
.cta-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-400);
}
h1 .rotate__item,
.lead .rotate__item {
  text-wrap: balance;
}
@media (max-width: 600px) {
  h1 {
    font-size: 36px;
  }
  h1 br {
    display: none;
  }
}

/* Hero flat art (replaces the trial pill) */
.hero-art {
  display: flex;
  justify-content: center;
}
.hero-art__fig {
  position: relative;
  width: 160px;
  height: 160px;
}
.hero-art img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 18px 40px -18px rgba(229, 36, 31, 0.55);
}

/* Phone screen overlay: matches the screen in the art (centre 26%/52.5%, tilted -8deg) */
.phone-live {
  --loop: 4.2s;
  position: absolute;
  left: 16.9%;
  top: 32.9%;
  width: 18.2%;
  height: 39.2%;
  border-radius: 12% / 6%;
  background: #e5241f;
  transform: rotate(-8deg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(155, 27, 27, 0.25);
}
.phone-live > * {
  position: absolute;
  left: 10%;
  right: 10%;
}
.pl-notch {
  top: 0;
  left: 32% !important;
  right: 32% !important;
  height: 4%;
  border-radius: 0 0 40% 40%;
  background: #fbf4ea;
}
.pl-bar {
  top: 11%;
  height: 15%;
  border-radius: 10% / 22%;
  background: #9b1b1b;
  animation: pl-bar var(--loop) ease-in-out infinite;
}
.pl-card {
  top: 32%;
  height: 36%;
  display: grid;
  place-items: center;
  border-radius: 10% / 9%;
  background: #fde2e1;
  animation: pl-card var(--loop) cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
.pl-card svg {
  width: 62%;
  fill: none;
  stroke: #9b1b1b;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: pl-check var(--loop) ease-out infinite;
}
.pl-row {
  top: 74%;
  height: 15%;
  border-radius: 10% / 24%;
  background: #fde2e1;
  overflow: hidden;
}
.pl-row i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: #f7b4b1;
  transform-origin: left;
  animation: pl-fill var(--loop) ease-in-out infinite;
}
/* new-order bubble popping off the phone's corner */
.pl-ping {
  position: absolute;
  left: 30%;
  top: 27%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: #e5241f;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 4px 10px -2px rgba(155, 27, 27, 0.45);
  animation: pl-ping var(--loop, 4.2s) cubic-bezier(0.3, 1.6, 0.5, 1) infinite;
}
@keyframes pl-card {
  0% {
    transform: translateY(140%);
    opacity: 0;
  }
  14%,
  78% {
    transform: none;
    opacity: 1;
  }
  92%,
  100% {
    transform: translateY(-40%) scale(0.92);
    opacity: 0;
  }
}
@keyframes pl-check {
  0%,
  18% {
    stroke-dashoffset: 24;
  }
  34%,
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes pl-bar {
  0%,
  100% {
    opacity: 1;
  }
  40% {
    opacity: 0.75;
  }
}
@keyframes pl-fill {
  0%,
  20% {
    transform: scaleX(0);
  }
  70%,
  100% {
    transform: scaleX(1);
  }
}
@keyframes pl-ping {
  0%,
  30% {
    transform: scale(0);
    opacity: 0;
  }
  40%,
  80% {
    transform: scale(1);
    opacity: 1;
  }
  92%,
  100% {
    transform: scale(0);
    opacity: 0;
  }
}
.cta-note strong {
  color: var(--ink-700);
  font-weight: 600;
}
@media (max-width: 600px) {
  .hero-art__fig {
    width: 136px;
    height: 136px;
  }
  .pl-ping {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
}

.cta-note {
  text-wrap: balance;
}

/* Secondary CTAs: Google sign-in */
.btn--ghost {
  background: var(--white);
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1px var(--ink-200), 0 6px 16px -10px rgba(28, 25, 23, 0.3);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--ink-400), 0 6px 16px -10px rgba(28, 25, 23, 0.3);
  transform: translateY(-1px);
}
.btn--glass {
  padding-left: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.22);
}
.g-logo--plain {
  width: 20px;
  height: 20px;
  background: none;
}
.ctas {
  flex-wrap: wrap;
  gap: 12px;
}
.final__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-note a {
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .ctas,
  .final__ctas {
    flex-direction: column;
  }
  .final__ctas .btn {
    width: 100%;
  }
}

/* ───────── Chat ───────── */
.chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.chat__launcher {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 16px 32px -12px rgba(229, 36, 31, 0.7);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}
.chat__launcher:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
}
.chat__launcher:focus-visible {
  outline: 3px solid rgba(229, 36, 31, 0.35);
  outline-offset: 3px;
}
.chat__launcher svg {
  grid-area: 1 / 1;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.chat__icon-close,
.chat.is-open .chat__icon-open {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
.chat.is-open .chat__icon-close {
  opacity: 1;
  transform: none;
}
.chat__panel {
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  display: flex;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--ink-200),
    0 30px 60px -20px rgba(28, 25, 23, 0.35);
  transform-origin: bottom right;
  animation: chat-in 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.chat__panel[hidden] {
  display: none;
}
@keyframes chat-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}
.chat__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  background: radial-gradient(90% 40% at 50% 0%, var(--brand-50), transparent 75%);
  border-radius: inherit;
}
.chat__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-200);
}
.chat__avatar img {
  width: 30px;
}
.chat h2 {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.chat__intro {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-500);
}
.chat__card {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--ink-200),
    0 6px 16px -12px rgba(28, 25, 23, 0.25);
}
.chat__status strong,
.chat__card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.chat__status small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--ink-500);
}
.chat__online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
}
.chat__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.chat__link svg,
.chat__faq svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.chat__link:hover svg {
  transform: translateX(3px);
}
.chat__faq {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.chat__faq button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink-100);
  background: none;
  font: 400 14.5px/1.4 var(--font);
  color: var(--ink-700);
  text-align: left;
  cursor: pointer;
}
.chat__faq li:last-child button {
  border-bottom: 0;
}
.chat__faq button:hover {
  color: var(--ink-900);
}
.chat__faq button:hover svg {
  transform: translateX(3px);
  color: var(--brand);
}

/* ───────── Cookies ───────── */
.cookies {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(360px, calc(100vw - 32px));
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--ink-200),
    0 24px 48px -20px rgba(28, 25, 23, 0.35);
  animation: chat-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cookies[hidden] {
  display: none;
}
.cookies strong {
  font-size: 15px;
}
.cookies p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-500);
}
.cookies p a {
  color: var(--ink-900);
  font-weight: 500;
}
.cookies__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

@media (max-width: 760px) {
  .chat {
    right: 16px;
    bottom: 16px;
    transition: bottom 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .chat__launcher {
    width: 54px;
    height: 54px;
  }
  /* keep the launcher above the sticky "Criar minha loja" bar */
  .sticky-cta.is-visible ~ .chat {
    bottom: 84px;
  }
  /* room for the launcher (and the sticky bar under it) plus a gap at the top */
  .chat__panel {
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
  }
  .sticky-cta.is-visible ~ .chat .chat__panel {
    max-height: calc(100vh - 180px);
    max-height: calc(100dvh - 180px);
  }
  .cookies {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
  /* one thing at the bottom at a time: the cookie choice first */
  body.cookies-open .chat,
  body.cookies-open .sticky-cta {
    display: none;
  }
}
