/* SouSama — design system da paleta B sobre fundo branco (19/11/2026)
   Fundo branco, blocos cinza-claro, menta para ação, verde escuro para
   texto/links, champanhe só no Club. Banner central segue verde escuro.
   Todas as combinações de texto passam no WCAG AA. */

:root {
  color-scheme: light;
  /* Paleta do Pedro (19/11/2026): Forest Green principal + Lime, Soft Ivory,
     Jet Black e branco de fundo. Lime nunca como texto sobre branco (1,5:1). */
  --forest: #224F10;
  --forest-deep: #16360A;
  --lime: #B0E454;
  --ivory: #EAFFD0;
  --jet: #0D0D0D;

  --ink: #0D0D0D;          /* texto principal 19:1 no branco */
  --ink-2: #1F2A1A;
  --muted: #4A5A42;        /* texto secundário 7,4:1 no branco, 7:1 no ivory */
  --faint: #6E7D66;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EAFFD0;    /* blocos ivory */
  --line: #DCEBC8;
  --primary: #224F10;      /* forest: botões e destaques */
  --primary-press: #16360A;
  --primary-text: #224F10; /* 9,6:1 no branco */
  --primary-tint: #EAFFD0;
  --on-primary: #FFFFFF;
  --gold: #B0E454;         /* lime sobre escuro (13:1 no jet) */
  --gold-ink: #224F10;
  --champagne: #B0E454;    /* superfícies do Club em lime */
  --on-champagne: #0D0D0D;
  --on-champagne-2: #224F10;
  --on-champagne-label: #224F10;
  --open: #224F10;
  --closed: #B3261E;
  --danger: #B3261E;
  --danger-tint: #FDE8E5;

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-1: 0 1px 2px rgba(15, 31, 23, 0.05), 0 10px 24px -16px rgba(15, 31, 23, 0.28);
  --shadow-2: 0 2px 6px rgba(15, 31, 23, 0.06), 0 22px 44px -22px rgba(15, 31, 23, 0.4);
  --spring: cubic-bezier(0.3, 1.3, 0.45, 1);
  --ease: cubic-bezier(0.22, 0.75, 0.28, 1);

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100dvh; font-size: 16px; background: var(--bg); }
body.is-booting .auth-screen, body.is-booting .app { visibility: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid rgba(11, 122, 80, 0.45); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 99px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s var(--spring), background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-press); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-soft { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.9rem; }
.link-btn { border: 0; background: none; padding: 6px; color: var(--primary-text); font-weight: 700; font-size: 0.88rem; }

/* ---------- Campos ---------- */
.field { display: grid; gap: 6px; font-size: 0.84rem; font-weight: 650; color: var(--ink-2); }
.field input, .field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.field input:disabled { background: var(--surface-2); color: var(--muted); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input-action { position: relative; }
.input-action input { padding-right: 52px; }
.field-action { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; border-radius: 50%; }
.field-action svg { width: 22px; height: 22px; }
.field-action .eye-open { display: none; }
.field-action[aria-pressed="true"] .eye-open { display: block; }
.field-action[aria-pressed="true"] .eye-closed { display: none; }
.hint { font-size: 0.78rem; color: var(--muted); margin-top: -6px; }
.form-message { min-height: 18px; color: var(--danger); font-size: 0.85rem; font-weight: 600; }

.check { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: background 0.15s ease, border-color 0.15s ease; }
.check-box svg { width: 15px; height: 15px; stroke: var(--on-primary); stroke-width: 3; opacity: 0; }
.check input:checked + .check-box { background: var(--primary); border-color: var(--primary); }
.check input:checked + .check-box svg { opacity: 1; }
.check input:focus-visible + .check-box { outline: 3px solid rgba(11, 122, 80, 0.45); outline-offset: 2px; }

/* ---------- Entrada ---------- */
.auth-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(28px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 55% at 100% 0%, #E3F7EE 0, transparent 60%),
    radial-gradient(90% 45% at 0% 100%, #F6EEDC 0, transparent 60%),
    var(--bg);
}
.auth-wrap { width: min(100%, 420px); display: grid; gap: 22px; }
.auth-brand { font-weight: 850; font-size: 1.5rem; letter-spacing: -0.04em; text-align: center; }
.auth-brand span, .brand-plus { color: var(--primary-text); }
.auth-card { background: var(--surface); border-radius: var(--r-xl); padding: 30px 22px 24px; box-shadow: var(--shadow-2); display: grid; gap: 16px; }
.auth-card h1 { font-size: 2rem; letter-spacing: -0.03em; }
.auth-subtitle { color: var(--muted); margin-top: -8px; line-height: 1.45; }
.auth-switch { text-align: center; font-size: 0.92rem; color: var(--muted); }
.auth-switch button { border: 0; background: none; padding: 4px; color: var(--primary-text); font-weight: 750; }
.auth-foot { text-align: center; font-size: 0.78rem; color: var(--muted); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.82rem; margin: 2px 0 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#googleButton { display: flex; justify-content: center; min-height: 44px; }

/* ---------- Estrutura do app ---------- */
.app { min-height: 100dvh; }
.topbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 520px);
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.club-pill {
  height: 46px;
  padding: 0 14px;
  border-radius: 99px;
  border: 0;
  background: var(--champagne);
  color: var(--on-champagne);
  font-weight: 750;
  font-size: 0.84rem;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
}
.club-pill.is-inactive { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.avatar-btn {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 750;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

.screens { width: min(100%, 520px); margin: 0 auto; padding: calc(74px + env(safe-area-inset-top)) 0 calc(112px + env(safe-area-inset-bottom)); }
.screen { display: none; }
.screen.is-active { display: block; animation: screen-in 0.3s var(--ease); }
@keyframes screen-in { from { opacity: 0; transform: translateY(6px); } }
.screen { padding: 8px 16px 0; }

.page-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; }
.page-head h1 { font-size: 1.85rem; letter-spacing: -0.03em; line-height: 1.1; }
.eyebrow { font-size: 0.8rem; font-weight: 650; color: var(--muted); margin-bottom: 4px; }
.back-btn { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-1); }
.back-btn svg { width: 22px; height: 22px; }

/* ---------- Mapa ---------- */
.map-card { position: relative; height: 340px; margin: 0; }
.map { position: absolute; inset: 0; background: #F1F2F1; }
.map-locate { position: absolute; z-index: 500; right: 14px; bottom: 44px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-2); }
.map-locate svg { width: 22px; height: 22px; }
.map-empty { position: absolute; z-index: 400; left: 50%; top: 42%; transform: translate(-50%, -50%); background: var(--surface); padding: 10px 14px; border-radius: 99px; font-size: 0.84rem; font-weight: 650; box-shadow: var(--shadow-1); white-space: nowrap; }

.leaflet-container { font-family: inherit; }
.leaflet-tile-pane { filter: grayscale(1) brightness(1.12) contrast(0.82); } /* mapa claro, quase branco */
.leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, 0.85) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: var(--primary-text) !important; }
.leaflet-control-zoom { display: none; }
.pin { background: none; border: 0; }
.pin-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  border-radius: 99px;
  background: var(--surface);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.8); border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
  transform: translate(-50%, -100%);
  position: absolute;
  left: 0;
  top: 0;
}
.pin-label::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--surface); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.pin-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; }
.pin-icon svg { width: 14px; height: 14px; stroke-width: 2.2; }
.pin-label.is-closed .pin-icon { background: var(--faint); }
.me-dot { width: 18px; height: 18px; border-radius: 50%; background: #2563EB; border: 3px solid #fff; box-shadow: 0 0 0 7px rgba(96, 165, 250, 0.25); }

/* ---------- Folha inferior ---------- */
.sheet { position: relative; margin-top: -28px; z-index: 600; background: var(--bg); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 10px 16px 0; }
.sheet-handle { width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 12px; }
.sheet-title { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 14px; }

.notice { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); margin-bottom: 12px; box-shadow: var(--shadow-1); }
.notice b { color: var(--gold); }
.notice p { font-size: 0.9rem; line-height: 1.4; }
.notice .notice-icon { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; background: rgba(227, 207, 159, 0.14); color: var(--gold); display: grid; place-items: center; }
.notice .notice-icon svg { width: 20px; height: 20px; }
.notice .btn { margin-left: auto; min-height: 38px; padding: 0 14px; font-size: 0.82rem; background: var(--champagne); color: var(--on-champagne); }
.notice-info { background: rgba(227, 207, 159, 0.07); color: var(--ink); border: 1px solid rgba(227, 207, 159, 0.28); box-shadow: none; }
.notice-info b { color: var(--gold-ink); }
.notice-info .notice-icon { background: rgba(227, 207, 159, 0.14); color: var(--gold); }

/* ---------- Acesso rápido ---------- */
.quick { display: flex; gap: 6px; overflow-x: auto; margin: 4px -16px 18px; padding: 4px 16px 4px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick-item { flex: 0 0 auto; width: 86px; overflow-wrap: anywhere; border: 0; background: none; display: grid; justify-items: center; gap: 7px; font-size: 0.76rem; font-weight: 650; color: var(--ink-2); text-align: center; line-height: 1.2; }
.quick-icon { width: 60px; height: 60px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--primary); box-shadow: var(--shadow-1); transition: transform 0.2s var(--spring); }
.quick-icon svg { width: 26px; height: 26px; }
.quick-item:active .quick-icon { transform: scale(0.94); }
.quick-item.is-top .quick-icon { background: var(--primary-tint); border-color: rgba(60, 203, 143, 0.4); }

/* ---------- Como funciona ---------- */
.how { background: var(--surface); border-radius: var(--r-lg); padding: 16px 18px; margin-bottom: 18px; border: 1.5px solid var(--line); }
.how-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.how h3 { font-size: 1rem; }
.how ol { padding-left: 20px; display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.4; }

/* ---------- Listas e cards de parceiro ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 2px 12px; }
.section-head h2 { font-size: 1.15rem; letter-spacing: -0.01em; }
.section-head span { font-size: 0.82rem; color: var(--muted); }
.list { display: grid; gap: 12px; }

.place-card { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-1); border: 1px solid var(--line); overflow: hidden; }
.place-photo { position: relative; height: 150px; background: var(--primary-tint); }
.place-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--primary-text); background: linear-gradient(135deg, #E3F7EE, #F2F5F3); }
.cover-fallback svg { width: 54px; height: 54px; stroke-width: 1.4; opacity: 0.9; }
.cover-fallback.is-small svg { width: 26px; height: 26px; }
.place-tag { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 99px; background: var(--surface); font-size: 0.74rem; font-weight: 750; box-shadow: var(--shadow-1); }
.place-body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.place-name { font-size: 1.12rem; font-weight: 750; letter-spacing: -0.01em; }
.place-meta { font-size: 0.86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.open { color: var(--open); font-weight: 700; }
.closed { color: var(--closed); font-weight: 700; }
.place-benefit { font-size: 1.15rem; font-weight: 800; color: var(--primary-text); margin-top: 4px; letter-spacing: -0.01em; }
.place-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }

/* Linha compacta (lista do início) */
.place-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.place-thumb { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 16px; overflow: hidden; background: var(--primary-tint); }
.place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-row .place-body { padding: 0; gap: 3px; min-width: 0; flex: 1; }
.place-row .place-name { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-row .place-meta { font-size: 0.8rem; }
.place-row .chev { width: 20px; height: 20px; color: var(--faint); flex: 0 0 auto; }
.benefit-chip { justify-self: start; display: inline-block; padding: 3px 9px; border-radius: 99px; background: var(--primary-tint); color: var(--primary-text); font-size: 0.78rem; font-weight: 750; }

.empty { background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r-lg); padding: 26px 20px; text-align: center; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.empty strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 4px; }
.empty .btn { margin-top: 16px; }

/* ---------- Detalhe ---------- */
.detail-hero { position: relative; height: 230px; margin: -8px -16px 0; background: var(--primary-tint); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-hero .back-btn { position: absolute; left: 14px; top: 12px; z-index: 2; }
.detail-card { position: relative; margin-top: -26px; background: var(--surface); border-radius: var(--r-xl); padding: 20px 18px; box-shadow: var(--shadow-2); display: grid; gap: 8px; }
.detail-card h1 { font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.12; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.offer-box { margin-top: 14px; background: var(--champagne); color: var(--on-champagne); border-radius: var(--r-xl); padding: 18px 20px; display: grid; gap: 4px; box-shadow: var(--shadow-1); }
.offer-box small { color: var(--on-champagne-label); font-weight: 750; letter-spacing: 0.12em; font-size: 0.72rem; }
.offer-box strong { font-size: 1.6rem; letter-spacing: -0.02em; }
.offer-box p { color: var(--on-champagne-2); font-size: 0.86rem; }
.block { margin-top: 22px; }
.block h2 { font-size: 1.15rem; margin: 0 2px 12px; }
.steps { display: grid; gap: 10px; list-style: none; padding: 0; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.step-n { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 0.9rem; display: grid; place-items: center; }
.steps b { display: block; font-size: 0.98rem; }
.steps div span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.hours { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 16px; }
.hours div { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours div.is-today { font-weight: 750; }
.hours div span:last-child { color: var(--muted); }
.hours div.is-today span:last-child { color: var(--ink); }
.sticky-cta { position: sticky; bottom: calc(88px + env(safe-area-inset-bottom)); margin-top: 22px; z-index: 5; }
.sticky-cta .btn { box-shadow: var(--shadow-2); }

/* ---------- Cartão do Club ---------- */
.member-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.member-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--primary); color: var(--on-primary); }
.member-photo.fallback { display: grid; place-items: center; font-size: 1.4rem; font-weight: 750; }
.member-head h2 { font-size: 1.15rem; }
.member-head p { font-size: 0.84rem; color: var(--muted); margin-top: 2px; }
.club-card { background: var(--champagne); color: var(--on-champagne); border-radius: 30px; padding: 22px 20px 20px; text-align: center; box-shadow: var(--shadow-2); }
.club-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; font-weight: 750; letter-spacing: 0.14em; color: var(--on-champagne-label); }
.club-card-top b { color: var(--on-champagne); letter-spacing: -0.03em; font-size: 1.05rem; }
.club-card-top b span { color: #0B6E4F; }
.code-tile { margin: 20px 0 12px; padding: 20px 12px; border-radius: 20px; background: #0F1F17; color: var(--gold); }
.code-tile small { display: block; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.16em; color: #A7B5AD; margin-bottom: 6px; }
.access-code { font-size: 2.5rem; font-weight: 850; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.code-caption { font-size: 0.84rem; color: var(--on-champagne-2); }
.timer-track { height: 6px; margin-top: 16px; border-radius: 99px; overflow: hidden; background: rgba(15, 31, 23, 0.16); }
.timer-track span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--on-champagne); transition: width 1s linear; }
.timer-label { font-size: 0.8rem; font-weight: 650; margin-top: 8px; color: var(--on-champagne-2); }
.note { margin: 14px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.note strong { color: var(--ink); }
.perks { list-style: none; padding: 0; display: grid; gap: 10px; margin: 16px 0; text-align: left; }
.perks li { display: flex; gap: 10px; align-items: center; font-size: 0.92rem; color: var(--ink-2); }
.perks li::before { content: ""; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 18px; box-shadow: var(--shadow-1); display: grid; gap: 14px; }
.panel h2 { font-size: 1.2rem; }
.panel .sub { font-size: 0.88rem; color: var(--muted); margin-top: -8px; line-height: 1.45; }
.panel-center { text-align: center; justify-items: center; }
.big-icon { width: 60px; height: 60px; border-radius: 20px; background: var(--primary-tint); color: var(--primary-text); display: grid; place-items: center; }
.big-icon svg { width: 28px; height: 28px; }

/* ---------- Atividade ---------- */
.activity-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.activity-row .big-icon { width: 44px; height: 44px; border-radius: 14px; }
.activity-row .big-icon svg { width: 22px; height: 22px; }
.activity-row div { flex: 1; min-width: 0; }
.activity-row b { display: block; font-size: 0.96rem; }
.activity-row span { font-size: 0.82rem; color: var(--muted); }
.activity-row em { font-style: normal; font-size: 0.84rem; font-weight: 750; color: var(--primary-text); }

/* ---------- Perfil e parceiro ---------- */
.profile-hero { display: grid; justify-items: center; text-align: center; gap: 4px; }
.profile-hero .member-photo { width: 84px; height: 84px; font-size: 2rem; margin-bottom: 8px; }
.profile-hero h2 { font-size: 1.25rem; }
.profile-hero p { font-size: 0.88rem; color: var(--muted); }
.role-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.role-tags span { font-size: 0.74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }
.menu-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); text-align: left; font-weight: 650; }
.menu-row svg { width: 22px; height: 22px; color: var(--primary-text); }
.menu-row .chev { margin-left: auto; color: var(--faint); }
.access-input { text-transform: uppercase; letter-spacing: 0.22em; font-size: 1.4rem !important; font-weight: 800 !important; text-align: center; }
.result { border-radius: var(--r-lg); padding: 18px; margin-top: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; box-shadow: var(--shadow-1); }
.result small { justify-self: start; padding: 4px 10px; border-radius: 99px; background: var(--primary-tint); color: var(--primary-text); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 4px; }
.result h3 { font-size: 1.2rem; }
.result p { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.result.is-error small { background: var(--danger-tint); color: var(--danger); }

/* ---------- Toast e carregamento ---------- */
.toast { position: fixed; z-index: 2000; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); max-width: min(calc(100% - 40px), 420px); padding: 13px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 0.88rem; font-weight: 650; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.35s var(--spring); box-shadow: var(--shadow-2); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.skeleton { display: block; height: 88px; border-radius: var(--r-lg); background: linear-gradient(100deg, #EEF2F0 30%, #F7F9F8 50%, #EEF2F0 70%); background-size: 220% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { to { background-position: -220% 0; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =========================================================
   Início no modelo de marketplace (19/11/2026)
   ========================================================= */

/* Cabeçalho: onde estou + Club + perfil */
.where { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; text-align: left; }
.where-pin { width: 26px; height: 26px; flex: 0 0 auto; color: var(--primary-text); }
.where span { display: grid; min-width: 0; }
.where b { font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.where small { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Busca */
.search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; margin: 4px 0 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid transparent; }
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.search svg { width: 21px; height: 21px; color: var(--muted); flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 0.98rem; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }

/* Destaque central (carrossel) */
.hero-carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
.hero-carousel::-webkit-scrollbar { display: none; }
.hero {
  position: relative;
  flex: 0 0 100%;
  min-height: 184px;
  scroll-snap-align: center;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  background: linear-gradient(120deg, #0E5B3F 0%, #12402E 55%, #0F2A20 100%);
  box-shadow: var(--shadow-2);
}
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 52%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #12402E 0%, rgba(18, 64, 46, 0.55) 45%, rgba(18, 64, 46, 0) 100%); z-index: 1; }
.hero-copy { position: relative; z-index: 2; max-width: 66%; display: grid; gap: 6px; }
.hero-kicker { font-size: 0.86rem; color: rgba(255, 255, 255, 0.86); }
.hero-title { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.hero-points { display: grid; gap: 4px; margin-top: 4px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.9); }
.hero-points span { display: flex; align-items: center; gap: 6px; }
.hero-points svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--gold); }
.hero-actions { position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: nowrap; }
.hero-actions .btn { min-height: 40px; padding: 0 14px; font-size: 0.82rem; white-space: nowrap; }
.btn-light { background: #fff; color: #0F2A20; }
.btn-outline-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero.is-club { background: linear-gradient(120deg, #0E5B3F 0%, #12402E 55%, #0F2A20 100%); }
.hero.is-notice { background: linear-gradient(120deg, #4A3B19 0%, #2E2614 60%, #1C180E 100%); }
.hero.is-notice .hero-points svg { color: var(--gold); }
.hero-dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 6px; min-height: 8px; }
.hero-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width 0.25s var(--ease), background 0.25s ease; }
.hero-dots i.is-active { width: 20px; background: var(--primary-text); }

/* Cabeçalho de seção */
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 22px 2px 12px; }
.section-head h2 { font-size: 1.15rem; letter-spacing: -0.01em; }
.see-all { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; color: var(--muted); font-size: 0.86rem; font-weight: 650; padding: 4px; }
.see-all svg { width: 16px; height: 16px; }

/* Nichos com ícones 3D */
.niche-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.niche-tile {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 4px 12px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: var(--surface-2);
  box-shadow: none;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 0;
  transition: transform 0.2s var(--spring), border-color 0.2s ease;
}
.niche-tile:active { transform: scale(0.95); }
.niche-tile.is-top { border-color: #BFE9D5; background: var(--primary-tint); }
.niche-tile span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.niche-3d { width: 46px; height: 46px; filter: drop-shadow(0 6px 5px rgba(15, 31, 23, 0.22)); }

/* Recomendados (cards horizontais) */
.rec-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
.rec-row::-webkit-scrollbar { display: none; }
.rec-card { flex: 0 0 72%; max-width: 300px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.rec-photo { position: relative; height: 128px; background: var(--surface-2); }
.rec-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-badge { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.72rem; font-weight: 750; backdrop-filter: blur(6px); }
.rec-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.rec-name { font-size: 1.02rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-meta { display: flex; gap: 10px; font-size: 0.8rem; color: var(--muted); align-items: center; flex-wrap: wrap; }
.rec-meta span { display: inline-flex; align-items: center; gap: 4px; }
.rec-meta svg { width: 14px; height: 14px; }
.rec-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.rec-benefit { font-size: 1.05rem; font-weight: 800; color: var(--primary-text); letter-spacing: -0.01em; }
.rec-foot .btn { min-height: 38px; padding: 0 16px; font-size: 0.84rem; }
.rec-skel { flex: 0 0 72%; height: 250px; }

/* Faixa de confiança */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 22px 0 6px; padding: 14px 6px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.trust div { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 0.7rem; color: var(--muted); line-height: 1.25; padding: 0 2px; }
.trust div + div { border-left: 1px solid var(--line); }
.trust svg { width: 24px; height: 24px; color: var(--primary); }

/* Mapa no detalhe do estabelecimento */
.detail-map { position: relative; height: 210px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.detail-map .map { position: absolute; inset: 0; }

/* =========================================================
   Barra inferior com encaixe que desliza (modelo do pin)
   ========================================================= */
@property --notch-x { syntax: '<percentage>'; inherits: true; initial-value: 12.5%; }
.tabbar {
  --notch-x: 12.5%;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 520px);
  height: calc(66px + env(safe-area-inset-bottom));
  padding: 0 0 env(safe-area-inset-bottom); /* sem margem lateral: colunas e círculo usam a mesma referência */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  isolation: isolate;
  transition: --notch-x 0.5s var(--spring);
}
.tabbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #FFFFFF;
  box-shadow: 0 -8px 26px -12px rgba(15, 31, 23, 0.22);
  /* recorte côncavo no topo, na posição do item ativo */
  -webkit-mask: radial-gradient(circle 37px at var(--notch-x) -2px, transparent 36px, #000 37.5px);
  mask: radial-gradient(circle 37px at var(--notch-x) -2px, transparent 36px, #000 37.5px);
}
.tab-float {
  position: absolute;
  z-index: 1;
  top: -27px;
  left: var(--notch-x);
  width: 54px;
  height: 54px;
  margin-left: -27px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 10px 22px -8px rgba(60, 203, 143, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.tabbar button {
  position: relative;
  z-index: 2;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  color: var(--faint);
}
.tabbar button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.tabbar svg { width: 26px; height: 26px; transition: transform 0.5s var(--spring), color 0.2s ease; }
.tabbar button.is-active svg { color: var(--on-primary); transform: translateY(-33px); stroke-width: 2.1; } /* centro do ícone = centro do círculo (topo da barra) */
@media (prefers-reduced-motion: reduce) { .tabbar { transition: none; } }

/* Assinante ativo: estrela no canto inferior direito do avatar */
.avatar-wrap { position: relative; flex: 0 0 auto; }
.avatar-btn { box-shadow: var(--shadow-1); }
.member-star { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--champagne); border: 2px solid #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(15, 31, 23, 0.25); }
.member-star svg { width: 11px; height: 11px; fill: #5C4A1F; stroke: none; }

.maps-btn { margin-top: 10px; }
.maps-btn .gmaps { width: 20px; height: 20px; }

/* ---------- Avaliações (0 a 5 estrelas) ---------- */
.stars {
  --size: 14px;
  --pct: 0%;
  display: inline-block;
  width: calc(var(--size) * 5);
  height: var(--size);
  flex: 0 0 auto;
  background: linear-gradient(90deg, #F2B634 var(--pct), #D5DDD8 var(--pct));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.4L12 17.4l-5.8 3 1.1-6.4-4.7-4.6 6.5-.9z'/%3E%3C/svg%3E") left center / var(--size) var(--size) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.4L12 17.4l-5.8 3 1.1-6.4-4.7-4.6 6.5-.9z'/%3E%3C/svg%3E") left center / var(--size) var(--size) repeat-x;
  vertical-align: -2px;
}
.stars.lg { --size: 22px; }
.stars.s-0 { --pct: 0%; }
.stars.s-1 { --pct: 10%; }
.stars.s-2 { --pct: 20%; }
.stars.s-3 { --pct: 30%; }
.stars.s-4 { --pct: 40%; }
.stars.s-5 { --pct: 50%; }
.stars.s-6 { --pct: 60%; }
.stars.s-7 { --pct: 70%; }
.stars.s-8 { --pct: 80%; }
.stars.s-9 { --pct: 90%; }
.stars.s-10 { --pct: 100%; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.rating-line b { color: var(--ink); font-weight: 750; }
.rating-new { font-size: 0.78rem; color: var(--muted); }
.rating-link { border: 0; background: none; padding: 2px 0; color: var(--primary-text); font-weight: 700; font-size: 0.84rem; text-decoration: underline; text-underline-offset: 3px; }

.reviews-summary { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.reviews-score { display: grid; justify-items: center; gap: 4px; }
.reviews-score strong { font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.reviews-score span { font-size: 0.78rem; color: var(--muted); }
.dist { display: grid; gap: 4px; }
.dist div { display: grid; grid-template-columns: 10px 1fr 26px; gap: 8px; align-items: center; font-size: 0.76rem; color: var(--muted); }
.dist i { display: block; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.dist i b { display: block; height: 100%; background: #F2B634; border-radius: inherit; width: 0; transition: width 0.4s var(--ease); }
.review-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; display: grid; gap: 6px; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.86rem; }
.review-head span { color: var(--muted); font-size: 0.78rem; }
.review-item p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.45; }
.review-form { background: var(--surface-2); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 12px; }
.review-form h3 { font-size: 1rem; }
.star-picker { display: flex; gap: 6px; }
.star-picker button { width: 44px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; border-radius: 12px; }
.star-picker svg { width: 34px; height: 34px; fill: #D5DDD8; stroke: none; transition: transform 0.15s var(--spring), fill 0.15s ease; }
.star-picker button.is-on svg { fill: #F2B634; }
.star-picker button:active svg { transform: scale(0.88); }
.field textarea { width: 100%; min-height: 84px; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.95rem; resize: vertical; outline: none; }
.field textarea:focus { border-color: var(--primary-text); box-shadow: 0 0 0 4px var(--primary-tint); }
.review-note { font-size: 0.86rem; color: var(--muted); background: var(--surface-2); border-radius: var(--r-md); padding: 12px 14px; line-height: 1.45; }
.activity-row .link-btn { padding: 4px 0; font-size: 0.8rem; }

.section-head { gap: 12px; }
.section-head h2 { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.see-all { flex: 0 0 auto; white-space: nowrap; }
.activity-row .act-side { flex: 0 0 auto; display: grid; justify-items: end; gap: 2px; }

/* =========================================================
   Verde predominante intercalado com branco (19/11/2026)
   ========================================================= */

/* Cabeçalho e faixa da busca em forest */
.topbar { background: var(--forest); color: #fff; }
.where b { color: #fff; }
.where small { color: #C9DDB4; }
.where-pin { color: var(--lime); }
.avatar-btn { background: var(--lime); color: var(--forest); font-weight: 800; }
.member-star { background: var(--jet); border-color: var(--forest); }
.member-star svg { fill: var(--lime); }

#screen-home { position: relative; }
.home-band { position: absolute; left: 0; right: 0; top: 0; height: 116px; background: var(--forest); border-radius: 0 0 32px 32px; z-index: 0; }
#screen-home > *:not(.home-band) { position: relative; z-index: 1; }
.screens { padding-top: calc(66px + env(safe-area-inset-top)); }
#screen-home { padding-top: 10px; }
.search { background: #fff; border-color: transparent; box-shadow: 0 8px 20px -12px rgba(13, 13, 13, 0.45); }
.search:focus-within { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(176, 228, 84, 0.45); }

/* Banner central em lime, texto escuro */
.hero, .hero.is-club { background: linear-gradient(115deg, #B0E454 0%, #C4EE78 55%, #D7F59E 100%); color: var(--jet); box-shadow: 0 18px 36px -20px rgba(34, 79, 16, 0.6); }
.hero-photo::before { background: linear-gradient(90deg, #C4EE78 0%, rgba(196, 238, 120, 0.6) 40%, rgba(196, 238, 120, 0) 100%); }
.hero-kicker { color: var(--forest); font-weight: 700; }
.hero-title { color: var(--jet); }
.hero-points { color: var(--ink-2); }
.hero-points svg { color: var(--forest); }
.btn-light { background: var(--forest); color: #fff; }
.btn-outline-light { background: rgba(255, 255, 255, 0.55); color: var(--forest); border-color: var(--forest); }
.hero.is-notice { background: var(--jet); color: #fff; }
.hero.is-notice .hero-title { color: #fff; }
.hero.is-notice .hero-kicker, .hero.is-notice .hero-points svg { color: var(--lime); }
.hero.is-notice .hero-points { color: #E6E6E6; }
.hero-dots i { background: #CFE3B5; }
.hero-dots i.is-active { background: var(--forest); }

/* Nichos em blocos ivory com ícone sobre círculo branco */
.niche-tile { background: var(--ivory); color: var(--forest); font-weight: 750; }
.niche-tile.is-top { background: var(--lime); border-color: var(--lime); color: var(--jet); }
.section-head h2 { color: var(--forest); }
.see-all { color: var(--forest); }

/* Faixa ivory dos recomendados */
.band-ivory { margin: 22px -16px 0; padding: 4px 16px 20px; background: var(--ivory); border-radius: 32px; }
.band-ivory .section-head { margin-top: 18px; }
.rec-card { border-color: transparent; box-shadow: 0 12px 26px -18px rgba(34, 79, 16, 0.55); }
.rec-badge { background: var(--forest); color: #fff; }
.rec-benefit { color: var(--forest); }
.benefit-chip, .solid .benefit-chip { background: var(--lime); color: var(--jet); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); }
.btn-ghost { border-color: var(--forest); color: var(--forest); }

/* Barra inferior em forest; item ativo no círculo lime */
.tabbar::before { background: var(--forest); box-shadow: 0 -10px 26px -14px rgba(13, 13, 13, 0.5); }
.tabbar button { color: #C9DDB4; }
.tab-float { background: var(--lime); box-shadow: 0 10px 22px -8px rgba(34, 79, 16, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.tabbar button.is-active svg { color: var(--forest); }

/* Entrada: fundo forest, cartão branco */
.auth-screen { background: radial-gradient(110% 50% at 100% 0%, rgba(176, 228, 84, 0.28) 0, transparent 60%), radial-gradient(90% 45% at 0% 100%, rgba(234, 255, 208, 0.12) 0, transparent 60%), var(--forest); }
.auth-brand { color: #fff; }
.auth-brand span { color: var(--lime); }
.auth-foot { color: #C9DDB4; }

/* Cartão do Club e benefício: lime com código em jet */
.club-card, .offer-box { background: var(--lime); }
.code-tile { background: var(--jet); color: var(--lime); }
.timer-track span { background: var(--forest); }

/* Detalhe, listas e estados */
.detail-card h1, .page-head h1 { color: var(--forest); }
.place-row, .place-card, .activity-row, .review-item, .reviews-summary, .panel, .hours, .steps li, .note { border-color: var(--line); }
.step-n { background: var(--forest); color: #fff; }
.pin-icon { background: var(--forest); color: #fff; }
.toast { background: var(--jet); color: #fff; }
.check input:checked + .check-box { background: var(--forest); border-color: var(--forest); }
.check-box svg { stroke: #fff; }
.big-icon { background: var(--ivory); color: var(--forest); }
.result small { background: var(--lime); color: var(--jet); }
.quick-item.is-top .quick-icon, .niche-tile.is-top { border-color: var(--lime); }
.dist b { background: var(--forest); }
:focus-visible { outline-color: rgba(34, 79, 16, 0.55); }

/* =========================================================
   Textura orgânica (reação-difusão, sem emendas) sobre o verde
   escuro, a 25% de opacidade. Gerada por scripts/gerar-pattern.mjs.
   ========================================================= */
:root { --pattern-size: 360px; --pattern-color: var(--lime); --pattern-opacity: 0.10; } /* um só valor para cabeçalho, faixa, barra e entrada */
.topbar::after,
.home-band::after,
.auth-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--pattern-color);
  opacity: var(--pattern-opacity);
  -webkit-mask: url("./pattern.png?v=2") 0 0 / var(--pattern-size) var(--pattern-size) repeat;
  mask: url("./pattern.png?v=2") 0 0 / var(--pattern-size) var(--pattern-size) repeat;
  pointer-events: none;
}
.topbar > * { position: relative; z-index: 1; }
.topbar::after { z-index: 0; }
/* a faixa continua o desenho do cabeçalho, sem degrau na emenda */
.home-band::after { -webkit-mask-position: 0 calc(-66px - env(safe-area-inset-top)); mask-position: 0 calc(-66px - env(safe-area-inset-top)); }
.auth-screen { position: relative; }
.auth-screen::before { z-index: 0; }
.auth-wrap { position: relative; z-index: 1; }
/* barra inferior: textura recortada pelo mesmo encaixe da barra */
.tabbar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pattern-color);
  opacity: var(--pattern-opacity);
  -webkit-mask: radial-gradient(circle 37px at var(--notch-x) -2px, transparent 36px, #000 37.5px), url("./pattern.png?v=2") 0 0 / var(--pattern-size) var(--pattern-size) repeat;
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 37px at var(--notch-x) -2px, transparent 36px, #000 37.5px), url("./pattern.png?v=2") 0 0 / var(--pattern-size) var(--pattern-size) repeat;
  mask-composite: intersect;
  pointer-events: none;
}

/* =========================================================
   Cabeçalho único e fluido (19/11/2026)
   - sem desfoque (era recalculado a cada quadro da rolagem)
   - cantos de baixo arredondados também ao rolar
   - a faixa da busca usa a altura real do cabeçalho (--topbar-h, via JS)
   ========================================================= */
.topbar, .tabbar {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.topbar {
  border-radius: 0 0 26px 26px;
  transition: box-shadow 0.25s ease;
  transform: translateX(-50%) translateZ(0);
}
.topbar.is-scrolled { box-shadow: 0 10px 24px -14px rgba(13, 13, 13, 0.55); }
.screens { padding-top: var(--topbar-h, calc(66px + env(safe-area-inset-top))); }
#screen-home { padding-top: 12px; }
/* a faixa começa colada no cabeçalho (sem linha) e continua o mesmo desenho */
.home-band { top: -26px; height: calc(116px + 26px); }
.home-band::after {
  -webkit-mask-position: 0 calc(-1 * var(--topbar-h, 66px) + 26px);
  mask-position: 0 calc(-1 * var(--topbar-h, 66px) + 26px);
}
.home-band, .topbar::after, .tabbar::after, .tabbar::before { will-change: auto; }

/* Perfil: círculo branco; estrela de assinante em amarelo */
.avatar-btn { background: #FFFFFF; color: var(--forest); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 6px 14px -6px rgba(13, 13, 13, 0.5); }
.member-star { background: #FFC93C; border: 2px solid var(--forest); box-shadow: 0 2px 6px rgba(13, 13, 13, 0.35); }
.member-star svg { fill: #0D0D0D; }

/* ---------- Sem retângulo atrás da busca (19/11/2026) ---------- */
.home-band { display: none; }
.search { background: var(--ivory); box-shadow: none; border-color: transparent; }

/* ---------- Locais próximos: mapa + miniaturas ---------- */
.nearby { margin-top: 4px; }
.nearby-map { position: relative; height: 240px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 26px -18px rgba(34, 79, 16, 0.5); }
.nearby-map .map { position: absolute; inset: 0; }
.nearby-hint { position: absolute; z-index: 500; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 10px 14px; border-radius: 14px; background: rgba(13, 13, 13, 0.82); color: #fff; font-size: 0.82rem; line-height: 1.35; }
.mini-row { display: flex; gap: 10px; overflow-x: auto; margin: 12px -16px 0; padding: 2px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mini-row::-webkit-scrollbar { display: none; }
.mini-card { flex: 0 0 132px; scroll-snap-align: start; border: 1px solid var(--line); background: #fff; border-radius: 18px; overflow: hidden; padding: 0; text-align: left; box-shadow: 0 8px 18px -14px rgba(34, 79, 16, 0.55); }
.mini-photo { position: relative; height: 78px; background: var(--ivory); }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-photo .cover-fallback svg { width: 26px; height: 26px; }
.mini-dist { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 99px; background: var(--forest); color: #fff; font-size: 0.7rem; font-weight: 750; }
.mini-body { padding: 8px 10px 10px; display: grid; gap: 2px; }
.mini-body b { font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-body span { font-size: 0.74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-body em { font-style: normal; font-size: 0.74rem; font-weight: 800; color: var(--forest); }

.pin-dot { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: #fff; border: 2px solid #fff; display: grid; place-items: center; box-shadow: 0 4px 10px -3px rgba(13, 13, 13, 0.55); }
.pin-dot svg { width: 15px; height: 15px; stroke-width: 2.1; }

/* ---------- Sombra sutil para separar os blocos do fundo branco ---------- */
:root { --shadow-soft: 0 1px 2px rgba(13, 13, 13, 0.06), 0 4px 12px -4px rgba(34, 79, 16, 0.22); }
.search,
.niche-tile,
.band-ivory,
.nearby-map,
.mini-card,
.rec-card,
.place-row,
.place-card,
.activity-row,
.panel,
.review-item,
.reviews-summary,
.hours,
.steps li,
.note,
.empty,
.offer-box,
.club-card,
.back-btn,
.review-form { box-shadow: var(--shadow-soft); }
.hero, .hero.is-club { box-shadow: 0 2px 4px rgba(13, 13, 13, 0.06), 0 8px 18px -8px rgba(34, 79, 16, 0.35); }
.niche-tile:active { box-shadow: none; }
/* respiro para a sombra do banner não ser cortada pelo carrossel */
.hero-carousel { padding-top: 2px; padding-bottom: 14px; margin-bottom: -8px; }
.rec-row, .mini-row { padding-bottom: 14px; }

/* ---------- Mapa de Brasília no fundo branco (10%) ----------
   Desenho próprio das vias do OpenStreetMap (© colaboradores do OSM, ODbL),
   gerado por scripts/gerar-mapa-fundo.mjs. Camada fixa: não pesa na rolagem. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("./mapa-fundo.webp") center 42% / cover no-repeat;
  opacity: 0.10;
  pointer-events: none;
}
/* o branco fica no html; o body transparente deixa o mapa (z-index -1) aparecer */
html { background: #FFFFFF; }
body { background: transparent; }

/* ---------- Menu inferior mais baixo (19/11/2026) ----------
   54px + área segura; círculo de 46px; encaixe acompanha o novo tamanho. */
.tabbar { height: calc(54px + env(safe-area-inset-bottom)); }
.tabbar::before {
  -webkit-mask: radial-gradient(circle 31px at var(--notch-x) 0px, transparent 30px, #000 31.5px);
  mask: radial-gradient(circle 31px at var(--notch-x) 0px, transparent 30px, #000 31.5px);
}
.tabbar::after {
  -webkit-mask: radial-gradient(circle 31px at var(--notch-x) 0px, transparent 30px, #000 31.5px), url("./pattern.png?v=2") 0 0 / var(--pattern-size) var(--pattern-size) repeat;
  mask: radial-gradient(circle 31px at var(--notch-x) 0px, transparent 30px, #000 31.5px), url("./pattern.png?v=2") 0 0 / var(--pattern-size) var(--pattern-size) repeat;
}
.tab-float {
  top: -23px;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  /* sombra de fundo no item selecionado: profundidade */
  box-shadow:
    0 10px 18px -4px rgba(13, 13, 13, 0.45),
    0 3px 6px rgba(13, 13, 13, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.tabbar svg { width: 23px; height: 23px; }
/* centro do ícone = centro do círculo (0px no topo da barra; linha central a 27px) */
.tabbar button.is-active svg { transform: translateY(-27px); width: 22px; height: 22px; }
.screens { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.sticky-cta { bottom: calc(72px + env(safe-area-inset-bottom)); }
.toast { bottom: calc(78px + env(safe-area-inset-bottom)); }

/* ---------- Correções do menu inferior + motion (19/11/2026) ---------- */
/* No iPhone a área da barrinha de gestos (~34px) somava à altura: usa só parte dela. */
.tabbar { height: calc(52px + max(6px, env(safe-area-inset-bottom) - 18px)); padding-bottom: max(6px, env(safe-area-inset-bottom) - 18px); }
/* textura de volta: o atalho "mask" zerava a combinação recorte + desenho */
.tabbar::after {
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.screens { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

/* troca de tela */
.screen.is-active { animation: none; }
.screen.enter-right { animation: enter-right 0.34s var(--ease) both; }
.screen.enter-left { animation: enter-left 0.34s var(--ease) both; }
@keyframes enter-right { from { opacity: 0; transform: translateX(26px); } }
@keyframes enter-left { from { opacity: 0; transform: translateX(-26px); } }
/* círculo "estica" ao deslizar e o ícone salta */
.tab-float { transition: none; } /* segue o --notch-x animado, junto com o recorte */
.tab-float.is-moving { animation: float-squash 0.5s var(--spring); }
@keyframes float-squash {
  0% { transform: scale(1, 1); }
  35% { transform: scale(1.22, 0.86); }
  70% { transform: scale(0.95, 1.06); }
  100% { transform: scale(1, 1); }
}
.tabbar button.is-active svg { animation: icon-pop 0.5s var(--spring); }
@keyframes icon-pop {
  0% { transform: translateY(0) scale(0.7); }
  60% { transform: translateY(-31px) scale(1.12); }
  100% { transform: translateY(-27px) scale(1); }
}

/* ---------- Só rolagem vertical (19/11/2026) ----------
   Nada empurra a página para os lados; carrosséis e mapas seguem rolando
   dentro deles. overscroll-x evita o "voltar" acidental do navegador. */
html, body { overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; max-width: 100%; }
.app, .screens, .screen { overflow-x: clip; }
.hero-carousel, .rec-row, .mini-row { overscroll-behavior-x: contain; }

/* ---------- Menu inferior responsivo ---------- */
.tabbar button {
  touch-action: manipulation;          /* toque responde na hora, sem esperar duplo toque */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  min-height: 48px;
}
.tabbar button:not(.is-active):active svg { transform: scale(0.86); color: #fff; }
.tabbar button:not(.is-active) svg { transition: transform 0.15s ease, color 0.15s ease; }
@media (max-width: 360px) {
  .tab-float { width: 42px; height: 42px; margin-left: -21px; top: -21px; }
  .tabbar svg { width: 21px; height: 21px; }
  .tabbar button.is-active svg { width: 20px; height: 20px; }
}
/* no computador/tablet a barra flutua centralizada, com cantos arredondados */
@media (min-width: 560px) {
  .tabbar { bottom: 14px; height: 58px; padding-bottom: 0; }
  .tabbar::before, .tabbar::after { border-radius: 20px; }
}

/* ---------- Detalhe: foto por trás do cabeçalho, galeria, resgatar ---------- */
.rec-card, .place-card { cursor: pointer; transition: transform 0.18s var(--spring); }
.rec-card:active, .place-card:active { transform: scale(0.98); }
/* a foto sobe por trás do cabeçalho e preenche os cantos arredondados */
.detail-hero { margin: calc(-1 * var(--topbar-h, 66px) - 8px) -16px 0; height: calc(250px + var(--topbar-h, 66px)); overflow: hidden; }
.detail-hero .back-btn { top: calc(var(--topbar-h, 66px) + 12px); }
.gallery { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.gallery-bars { position: absolute; left: 16px; right: 16px; bottom: 40px; display: flex; gap: 5px; z-index: 2; pointer-events: none; }
.gallery-bars i { flex: 1; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.45); transition: background 0.2s ease; }
.gallery-bars i.is-active { background: #fff; }
.gallery-count { position: absolute; right: 14px; top: calc(var(--topbar-h, 66px) + 14px); z-index: 2; padding: 4px 10px; border-radius: 99px; background: rgba(13, 13, 13, 0.6); color: #fff; font-size: 0.76rem; font-weight: 700; }
.redeem-btn { margin-top: 12px; min-height: 54px; font-size: 1.02rem; }
.redeem-btn svg { width: 22px; height: 22px; }
.redeem-note { margin-top: 8px; text-align: center; font-size: 0.82rem; color: var(--muted); }
.sticky-cta { display: none; }

/* =========================================================
   Recursos da conta (19/11/2026)
   ========================================================= */
/* sino */
.bell-btn { position: relative; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; display: grid; place-items: center; touch-action: manipulation; }
.bell-btn svg { width: 22px; height: 22px; }
.bell-badge { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #FFC93C; color: #0D0D0D; font-size: 0.68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--forest); }

/* folhas (avisos e confirmação) */
.sheet-dialog { border: 0; padding: 0; background: transparent; width: min(calc(100% - 24px), 460px); margin: auto auto 12px; }
.sheet-dialog::backdrop { background: rgba(13, 13, 13, 0.45); }
.sheet-dialog[open] .sheet-card { animation: sheet-up 0.32s var(--spring); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sheet-card { background: #fff; border-radius: 26px; padding: 20px 18px; display: grid; gap: 12px; box-shadow: var(--shadow-2); }
.sheet-card h2 { font-size: 1.2rem; color: var(--forest); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.icon-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ivory); color: var(--forest); display: grid; place-items: center; }
.icon-close svg { width: 18px; height: 18px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-danger-solid { background: #B3261E; color: #fff; }
.notif-row { display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: left; margin-bottom: 8px; }
.notif-row .big-icon { width: 42px; height: 42px; border-radius: 14px; flex: 0 0 auto; }
.notif-row .big-icon svg { width: 20px; height: 20px; }
.notif-row b { display: block; font-size: 0.94rem; }
.notif-row small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* favoritos */
.fav-btn { position: absolute; z-index: 3; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--forest); display: grid; place-items: center; box-shadow: 0 4px 10px -4px rgba(13, 13, 13, 0.4); touch-action: manipulation; transition: transform 0.2s var(--spring); }
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn.is-on { color: #E0457B; }
.fav-btn.is-on svg { fill: currentColor; }
.fav-btn:active { transform: scale(0.85); }
.detail-hero .fav-btn { top: calc(var(--topbar-h, 66px) + 12px); right: 64px; width: 42px; height: 42px; }
.rec-photo .fav-btn { width: 34px; height: 34px; }

/* filtros */
.filters { display: flex; gap: 8px; overflow-x: auto; margin: -6px -16px 14px; padding: 2px 16px 6px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; height: 38px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--forest); font-size: 0.84rem; font-weight: 700; touch-action: manipulation; box-shadow: var(--shadow-soft); }
.filter-chip.is-on { background: var(--forest); border-color: var(--forest); color: #fff; }

/* economia */
.savings { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--forest); color: #fff; margin-bottom: 12px; box-shadow: var(--shadow-soft); }
.savings-icon { width: 42px; height: 42px; border-radius: 14px; background: var(--lime); color: var(--forest); display: grid; place-items: center; flex: 0 0 auto; }
.savings-icon svg { width: 22px; height: 22px; }
.savings small { display: block; font-size: 0.78rem; color: #C9DDB4; }
.savings strong { display: block; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--lime); }
.savings span { font-size: 0.78rem; color: #C9DDB4; }

/* assinatura */
.sub-panel { margin-top: 14px; display: grid; gap: 10px; }
.sub-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.sub-row small { display: block; font-size: 0.76rem; color: var(--muted); }
.sub-row b { font-size: 0.94rem; }
.danger-link { color: #B3261E; }
.test-banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #FFF6D6; border: 1px solid #F2DE96; color: #5A4A10; font-size: 0.84rem; line-height: 1.4; margin-bottom: 14px; }
.test-banner svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.plan-box { background: var(--forest); color: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.plan-box small { color: var(--lime); font-weight: 800; letter-spacing: 0.14em; font-size: 0.72rem; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 4px 0 6px; }
.plan-price strong { font-size: 2.2rem; letter-spacing: -0.03em; }
.plan-price span { color: #C9DDB4; }
.plan-box .perks li { color: #fff; }
.block-title { font-size: 1.1rem; color: var(--forest); margin: 20px 2px 10px; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pay-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--forest); font-weight: 750; box-shadow: var(--shadow-soft); }
.pay-tabs button svg { width: 20px; height: 20px; }
.pay-tabs button.is-on { border-color: var(--forest); background: var(--ivory); }
.pay-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: grid; gap: 12px; margin-bottom: 14px; box-shadow: var(--shadow-soft); }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qr-mock { position: relative; width: 180px; height: 180px; margin: 0 auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 12px; border-radius: 16px; background: #fff; border: 1.5px dashed var(--line); }
.qr-mock i { border-radius: 4px; background: #E3EAE6; }
.qr-mock i:nth-child(3n), .qr-mock i:nth-child(7n + 1) { background: #CBD7CF; }
.qr-mock span { position: absolute; inset: auto 0 50% 0; transform: translateY(50%); text-align: center; font-size: 0.78rem; font-weight: 800; color: var(--forest); background: rgba(255, 255, 255, 0.9); padding: 4px 0; }
.copy-mock { display: flex; gap: 8px; align-items: center; background: var(--ivory); border-radius: 14px; padding: 8px 8px 8px 12px; }
.copy-mock code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8rem; color: var(--muted); }
.pay-ok .big-icon { background: var(--lime); }

/* perfil */
.menu-list { display: grid; gap: 8px; margin-top: 14px; }
.menu-list .menu-row { background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-soft); }
.menu-row.is-danger, .menu-row.is-danger svg { color: #B3261E; }
.menu-count { margin-left: 6px; font-size: 0.8rem; color: var(--muted); }
.profile-hero .member-photo { cursor: pointer; }
.btn svg { pointer-events: none; }

/* entrada */
.forgot-link { justify-self: end; margin-top: -6px; }
.auth-foot a { color: var(--lime); }

/* Oferta de inauguração */
.plan-price { flex-wrap: wrap; align-items: baseline; gap: 8px; }
.plan-price s { font-size: 1.1rem; color: #C9DDB4; font-weight: 600; text-decoration-thickness: 2px; }
.offer-tag { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; padding: 5px 12px; border-radius: 99px; background: var(--lime); color: var(--forest); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; }
.offer-tag svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.offer-tag.is-small { justify-self: start; margin: 0; padding: 4px 10px; background: var(--forest); color: var(--lime); font-size: 0.72rem; }
.hero-title s.was { font-size: 0.8em; color: #4A5A42; font-weight: 600; }

/* =========================================================
   PALETA OFICIAL: Grafite & Azul (escolhida pelo Pedro em 22/11/2026)
   Grafite #1C2B33 topo/barra · Azul #0064E0 ação/destaques/Club ·
   Azul vivo #0082FB só textura · Gelo #F1F5F8 blocos. Ver docs/paletas.
   ========================================================= */

:root { --forest: #1C2B33; --forest-deep: #121D23; --lime: #0064E0; --ivory: #F1F5F8; --jet: #1C2B33; --ink: #1C2B33;
  --primary: #0064E0; --primary-text: #0064E0; --primary-tint: #F1F5F8; --on-primary: #FFFFFF; --champagne: #0064E0; --on-champagne: #FFFFFF;
  --on-champagne-2: #FFFFFF; --on-champagne-label: #FFFFFF; --open: #0064E0; --line: #DCE4EA; --muted: #5B6B75; --pattern-color: #0082FB; }
.topbar { background: #1C2B33; color: #FFFFFF; }
.where b { color: #FFFFFF; } .where small { color: #A9B8C2; } .where-pin { color: #FFFFFF; }
.bell-btn { background: color-mix(in srgb, #FFFFFF 14%, transparent); color: #FFFFFF; }
.avatar-btn { background: #fff; color: #0064E0; }
.member-star { border-color: #1C2B33; }
.search { background: #F1F5F8; }
.hero, .hero.is-club { background: linear-gradient(115deg, #0064E0 0%, #004FB3 100%); color: #FFFFFF; }
.hero-photo::before { background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%); }
.hero-photo { opacity: 0.35; }
.hero-kicker { color: #CFE3FF; } .hero-title { color: #FFFFFF; } .hero-points { color: #FFFFFF; } .hero-points svg { color: #FFFFFF; }
.hero-title s.was { color: #CFE3FF; }
.btn-light { background: #FFFFFF; color: #0064E0; }
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.offer-tag.is-small { background: #1C2B33; color: #fff; }
.hero-dots i { background: #D5DEE5; } .hero-dots i.is-active { background: #0064E0; }
.niche-tile { background: #F1F5F8; color: #1C2B33; }
.niche-tile.is-top { background: #0064E0; color: #FFFFFF; border-color: #0064E0; }
.section-head h2, .page-head h1, .detail-card h1, .see-all, .block h2 { color: #1C2B33; }
.see-all { color: #0064E0; }
.band-ivory { background: #F1F5F8; }
.rec-badge { background: #1C2B33; color: #fff; }
.rec-benefit, .place-benefit { color: #0064E0; }
.benefit-chip, .solid .benefit-chip { background: #0064E0; color: #FFFFFF; }
.btn-primary { background: #0064E0; color: #FFFFFF; }
.btn-ghost { border-color: #0064E0; color: #0064E0; }
.tabbar::before { background: #1C2B33; }
.tabbar button { color: #A9B8C2; }
.tab-float { background: #0064E0; }
.tabbar button.is-active svg { color: #FFFFFF; }
.auth-screen { background: #1C2B33; }
.auth-brand { color: #FFFFFF; } .auth-brand span { color: #0082FB; } .auth-foot { color: #A9B8C2; } .auth-foot a { color: #FFFFFF; }
.club-card, .offer-box { background: #0064E0; color: #FFFFFF; }
.club-card-top, .club-card-top b, .code-caption, .timer-label, .offer-box small, .offer-box p { color: #FFFFFF; }
.code-tile { background: #1C2B33; color: #fff; }
.timer-track span { background: #FFFFFF; }
.step-n, .pin-icon, .pin-dot { background: #0064E0; color: #fff; }
.check input:checked + .check-box { background: #0064E0; border-color: #0064E0; }
.mini-dist { background: #1C2B33; }
.savings { background: #1C2B33; color: #FFFFFF; } .savings strong { color: #FFFFFF; } .savings small, .savings span { color: #A9B8C2; }
.savings-icon { background: #0064E0; color: #FFFFFF; }
.big-icon { background: #F1F5F8; color: #0064E0; }
.filter-chip.is-on { background: #0064E0; border-color: #0064E0; }
.link-btn, .auth-switch button, .rating-link { color: #0064E0; }
/* ajustes finais Grafite & Azul */
.club-card-top b span { color: #fff; }
.btn-soft { background: #F1F5F8; color: #0064E0; border-color: #DCE4EA; }
.role-tags span { background: #F1F5F8; border-color: #DCE4EA; color: #1C2B33; }
.solid .role-tags span { background: #F1F5F8; }

/* aceite dos termos no cadastro */
.check.consent { align-items: flex-start; font-size: 0.84rem; line-height: 1.45; }
.check.consent .check-box { margin-top: 1px; flex: 0 0 auto; }
.check.consent a { color: #0064E0; font-weight: 700; }

.panel.invite { margin-top: 12px; gap: 8px; border-color: #CFE1FA; }
.invite-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* banner do Club: preço em linha própria, abaixo do título */
.hero-price { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; }
.hero-price s.was { font-size: 0.82em; font-weight: 600; opacity: 0.75; margin-right: 4px; }
.hero-points span { align-items: flex-start; }
.hero-points svg { margin-top: 2px; }

/* banners do Club (não assinante) */
.hero-sub { font-size: 0.86rem; line-height: 1.35; opacity: 0.92; }
.hero.is-club-2 { background: linear-gradient(135deg, #1C2B33 0%, #0F3D7A 100%); }
.hero.is-club-3 { background: linear-gradient(135deg, #0064E0 0%, #1C2B33 100%); }

/* logo SouSama no login */
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.auth-brand .brand-logo { width: 40px; height: 40px; border-radius: 10px; }
.auth-brand .brand-name { color: inherit; }
