/* =========================================================================
   ZeraFome — site institucional (one-page)
   Tokens alinhados ao design system do app (packages/zf_design/lib/src/tokens.dart)
   ========================================================================= */

/* Fonte da marca servida pelo próprio site (assets/fonts, licença OFL; os
   demais pesos estão em PlusJakartaSans/ na raiz do repositório): sem Google
   Fonts, nenhum dado do visitante vai para terceiros. Só os pesos usados. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #e31f1c;
  --brand-dark: #c51a18;
  --brand-tint: rgba(227, 31, 28, 0.08);
  /* vermelho clareado para texto sobre fundo escuro (contraste AA) */
  --brand-on-dark: #ff6b68;

  --ink: #121212;
  --ink-soft: #1a1a1a;
  --text: #333333;
  --text-muted: #666666;

  --bg: #ffffff;
  --bg-alt: #f8f8f8;
  --surface: #ffffff;
  --border: #e5e5e5;

  --success: #10b981;
  --success-dark: #047857;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-brand: 0 16px 40px rgba(227, 31, 28, 0.28);

  --container: 1120px;
  --header-h: 80px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* -------------------------------------------------------------------------
   Reset enxuto
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  color: var(--ink-soft);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -------------------------------------------------------------------------
   Utilitários de layout
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
}

.section__head--center .eyebrow::before {
  display: none;
}

.lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--text-muted);
  margin-top: 0.9rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* -------------------------------------------------------------------------
   Botões
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-soft);
  border-color: var(--border);
}

.btn--ghost:hover {
  --btn-bg: transparent;
  border-color: var(--ink-soft);
  box-shadow: none;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand);
}

.btn--light:hover {
  --btn-bg: #fff;
  color: var(--brand-dark);
}

.btn--block {
  width: 100%;
}

.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

/* -------------------------------------------------------------------------
   Header / navegação
   ------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* O desfoque fica no pseudo-elemento: backdrop-filter no próprio header vira o
   bloco de contenção do .nav (position: fixed) e espreme o menu mobile. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
}

.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.brand img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
}

.nav__list a {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--text);
  position: relative;
  padding-block: 0.25rem;
}

.nav__list a:hover {
  color: var(--ink-soft);
}

.nav__list a[aria-current="true"] {
  color: var(--brand);
}

.nav__list a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle span::before {
  transform: translateY(-6px);
}

.nav__toggle span::after {
  transform: translateY(4px);
}

/* Menu aberto: as barras viram "X" (os pseudo-elementos ficam empilhados a partir do topo do span) */
.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav__toggle span,
  .nav__toggle span::before,
  .nav__toggle span::after {
    transition: none;
  }
}

/* Menu vira hambúrguer antes do layout: com o logo maior os links não cabem abaixo de 1024px */
@media (max-width: 1023px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    /* visibility tira os links fechados da ordem de tabulação */
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
  }

  .nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav__list a {
    display: block;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .nav__list a[aria-current="true"]::after {
    display: none;
  }

  .nav .btn {
    margin-top: 1.25rem;
  }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(1000px 500px at 88% -10%, var(--brand-tint), transparent 60%),
    radial-gradient(720px 400px at 5% 110%, rgba(18, 18, 18, 0.05), transparent 55%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 1.2rem + 4.5vw, 3.85rem);
}

.hero h1 span {
  color: var(--brand);
}

.hero__text {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Seletor de cidade → contato do franqueado (só para restaurantes) */
.contato-cidade {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 34rem;
}

.contato-cidade[hidden] {
  display: none;
}

.contato-cidade__titulo {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.contato-cidade__linha {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.contato-cidade select {
  flex: 1 1 12rem;
  min-width: 0;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fafafa;
  color: var(--text);
}

.contato-cidade select:focus {
  border-color: var(--brand);
  background: #fff;
  outline: none;
}

.contato-cidade__acoes {
  display: flex;
  gap: 0.6rem;
}

.contato-cidade__acoes .btn {
  padding: 0.75rem 1.2rem;
}

.contato-cidade__acoes .btn[hidden] {
  display: none;
}

.contato-cidade__nota {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contato-cidade__nota a {
  color: var(--brand);
  font-weight: 600;
}

@media (max-width: 560px) {
  .contato-cidade__acoes {
    flex: 1 1 100%;
  }

  .contato-cidade__acoes .btn {
    flex: 1;
  }
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.hero__stats div {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-size: 1.6rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mockup do app em CSS puro (sem imagem externa) */
.phone {
  position: relative;
  width: min(300px, 78vw);
  margin-inline: auto;
  aspect-ratio: 9 / 18.5;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow), 0 0 0 2px rgba(0, 0, 0, 0.06);
  rotate: 3deg;
}

.phone__screen {
  height: 100%;
  border-radius: 33px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone__top {
  background: var(--ink);
  color: #fff;
  padding: 1.4rem 1.1rem 1.1rem;
  border-radius: 0 0 22px 22px;
}

.phone__top small {
  color: #b3b3b3;
  font-size: 0.7rem;
}

.phone__top p {
  font-weight: 700;
  font-size: 0.95rem;
}

.phone__body {
  padding: 0.9rem;
  display: grid;
  gap: 0.7rem;
  overflow: hidden;
}

.phone__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.7rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.phone__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-tint);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.phone__card b {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.phone__card span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.phone__pill {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--success-dark);
  background: #d1fae5;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

/* -------------------------------------------------------------------------
   App download / store badges
   ------------------------------------------------------------------------- */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  position: relative;
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  color: #b3b3b3;
  font-weight: 500;
}

.store-badge strong {
  font-size: 0.95rem;
}

.store-badge__soon {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--brand);
  font-size: 0.6rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
}

/* -------------------------------------------------------------------------
   Passos / cards
   ------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.35rem;
}

.feature p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   Split (restaurantes / franquia)
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split--reverse .split__media {
  order: -1;
}

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.98rem;
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e31f1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}

.panel__note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Bloco de título + texto em sequência (página de exclusão de conta) */
.info {
  margin-top: 1.75rem;
}

.info h3 {
  margin-bottom: 0.35rem;
}

.info p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.text-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.panel--dark {
  background: var(--ink);
  color: #cfcfcf;
  border-color: transparent;
}

.panel--dark h3 {
  color: #fff;
}

/* .field label e o status usam cores para fundo claro; no painel escuro sumiriam */
.panel--dark .field label {
  color: #fff;
}

.panel--dark .form__status[data-state="ok"] {
  color: var(--success);
}

.panel--dark .form__status[data-state="error"] {
  color: var(--brand-on-dark);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1rem;
}

.panel:not(.panel--dark) .metric {
  background: var(--bg-alt);
}

.metric strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand);
  font-weight: 800;
}

.metric span {
  font-size: 0.82rem;
  opacity: 0.8;
}

/* -------------------------------------------------------------------------
   Cidades
   ------------------------------------------------------------------------- */
.cities {
  display: grid;
  gap: 2.5rem;
}

.city-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  background: #fff;
}

.city-chip span {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.6;
}

.city-chip--active {
  border-color: rgba(227, 31, 28, 0.35);
  background: var(--brand-tint);
  color: var(--brand-dark);
}

.city-chip--soon {
  border-style: dashed;
  color: var(--text-muted);
}

.city-chip--contato {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
}

.city-chip--contato strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
}

.city-chip--contato a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.city-chip--contato a:hover,
.city-chip--contato a:focus-visible {
  color: var(--brand);
}

.city-group h3 {
  margin-bottom: 1rem;
}

.city-group p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------
   Formulários
   ------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1rem;
  position: relative;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fafafa;
  color: var(--text);
  width: 100%;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  outline: none;
}

.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form__status[data-state="ok"] {
  color: var(--success-dark);
}

.form__status[data-state="error"] {
  color: var(--brand-dark);
}

.form__fallback {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}

.form__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq__item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
}

.faq__item button::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.faq__item button[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq__panel {
  padding: 0 1.35rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
   CTA final + rodapé
   ------------------------------------------------------------------------- */
.cta {
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 48ch;
  margin: 1rem auto 2rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer {
  background: var(--ink);
  color: #b3b3b3;
  padding-block: 3.5rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
}

.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer a:hover {
  color: #fff;
}

.footer__brand img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* -------------------------------------------------------------------------
   Revelação ao rolar
   ------------------------------------------------------------------------- */
/* Só esconde quando há JS para revelar; sem JS o conteúdo fica visível. */
@media (scripting: enabled) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  [data-reveal="in"] {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -------------------------------------------------------------------------
   Responsivo
   ------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Página "abra no app" (app/clientes/restaurante.html): no celular o recado e
     as lojas vêm primeiro; o mockup só aparece no desktop. */
  .hero__media--desktop {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    height: 46px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 1.5rem;
  }
}
