/* ============================================================
   GuiaPVH · Black Friday PVH — sistema visual "iOS limpo"
   ------------------------------------------------------------
   Linguagem: Apple iOS. Barras de navegação translúcidas, grupos
   arredondados (inset grouped), controles segmentados, switches,
   botões em pílula, sheets, sombras suaves, tipografia de sistema.
   Cores da marca mantidas: Âmbar Ferrovia, Vermelho Urucum, Marrom
   Castanha, Café Amazônia (texto), Areia do Madeira, Papel (fundo).
   ============================================================ */

:root {
  /* marca */
  --ambar: #FEA402;
  --urucum: #F23E0F;
  --castanha: #9C4E18;
  --cafe: #270D00;
  --areia: #E3BE7D;
  --papel: #FBF5EC;

  /* texto e superfícies */
  --ink: #1F0F05;
  --ink-2: #5A4636;
  --ink-3: #8A7767;
  --papel-2: #F5EDDF;
  --papel-3: #EEE3D0;
  --surface: #FFFFFF;
  --card: #FFFFFF;
  --sep: rgba(60, 35, 15, .14);
  --sep-strong: rgba(60, 35, 15, .26);
  --fill: rgba(120, 85, 50, .10);
  --fill-2: rgba(120, 85, 50, .16);
  --rule: var(--sep);
  --rule-soft: rgba(60, 35, 15, .18);
  --rule-faint: rgba(60, 35, 15, .08);
  --areia-2: #F3E4C3;
  --urucum-2: #C42F0A;
  --ambar-2: #D98A00;
  --ambar-bg: #FFF1D1;
  --urucum-bg: #FFE9E1;
  --castanha-bg: #F4E5D6;

  /* estados */
  --ok: #1E7A3E;
  --ok-bg: #E2F3E6;
  --warn: #8A5A00;
  --warn-bg: #FFF1CC;
  --bad: #C0300D;
  --bad-bg: #FFE6DE;
  --info: #1F66A8;
  --info-bg: #E3EEF9;

  /* Black Friday · pretos quentes */
  --bf-0: #0B0806;
  --bf-1: #15100B;
  --bf-2: #21170F;
  --bf-3: #2E2117;
  --bf-line: rgba(255, 240, 220, .14);
  --bf-text: #FBF5EC;
  --bf-muted: #C4AD8E;
  --bf-dim: #86705A;

  /* WhatsApp */
  --wa-green: #008069;
  --wa-green-2: #075E54;
  --wa-out: #D9FDD3;
  --wa-in: #FFFFFF;
  --wa-bg: #EFE7DD;
  --wa-link: #027EB5;

  /* tipografia (SF no Apple; Inter como equivalente nas demais plataformas) */
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: var(--font-body);
  --font-mono: "DM Sans", system-ui, sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* geometria */
  --bw: 1px;
  --r: 12px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(60, 35, 15, .06);
  --shadow-sm: 0 1px 2px rgba(60, 35, 15, .06), 0 4px 12px rgba(60, 35, 15, .06);
  --shadow-md: 0 2px 6px rgba(60, 35, 15, .06), 0 12px 32px rgba(60, 35, 15, .10);
  --shadow-lg: 0 4px 12px rgba(60, 35, 15, .08), 0 24px 56px rgba(60, 35, 15, .16);
  --hard: var(--shadow-sm);
  --hard-sm: var(--shadow-xs);
  --hard-xs: var(--shadow-xs);
  --hard-lg: var(--shadow-md);
  --hard-amber: var(--shadow-md);
  --hard-urucum: var(--shadow-md);
  --shield: inset(0 round 28%);
  --wrap: 1180px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(254, 164, 2, .35); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.wrap-form { max-width: 720px; }

/* ---------- tipografia (escala iOS) ---------- */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: .98; }
.h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.04; letter-spacing: -0.035em; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.serif { font-style: normal; font-weight: 500; letter-spacing: -0.02em; }
.lead { font-size: 18px; color: var(--ink-2); line-height: 1.45; letter-spacing: -0.01em; }
.lead.serif { font-size: 19px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: -0.005em; color: var(--castanha); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.kicker.no-mark::before { display: none; }
.mono, .code { font-family: var(--font-code); font-weight: 600; letter-spacing: .02em; font-feature-settings: "zero"; }
.nowrap { white-space: nowrap; }
.num-big { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

/* ---------- cabeçalho de seção ---------- */
.section-head, .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head .num, .sec-head .num { display: block; font-size: 13px; font-weight: 600; color: var(--castanha); margin-bottom: 6px; letter-spacing: -0.005em; }
.section-head .sub, .sec-head .sub { font-size: 16px; font-weight: 400; color: var(--ink-3); margin-top: 6px; line-height: 1.35; letter-spacing: -0.01em; }
.section-head .sub b, .sec-head .sub b { color: var(--ink); font-weight: 600; font-size: inherit; }
.section-head.on-dark .sub, .sec-head.on-dark .sub { color: var(--bf-muted); }
.section-head.on-dark .num, .sec-head.on-dark .num { color: var(--ambar); }

/* ---------- barra de navegação (translúcida) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 236, .72);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  border-bottom: .5px solid var(--sep-strong);
}
.site-header .hbar { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.brand .word { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand .word i { font-style: normal; color: var(--urucum); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav a { padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; transition: background .2s var(--ease); }
.nav a:hover { background: var(--fill); color: var(--ink); }
.nav a.is-active { background: var(--fill-2); color: var(--ink); font-weight: 600; }
.nav a.is-bf { background: var(--bf-0); color: var(--ambar); font-weight: 600; display: inline-flex; gap: 7px; align-items: center; margin-right: 4px; }
.nav a.is-bf::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--urucum); box-shadow: 0 0 0 3px rgba(242, 62, 15, .25); }
.site-header .spacer { flex: 1; }
.site-header .cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--fill); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span { width: 16px; height: 2px; border-radius: 2px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }

.site-header.dark { background: #0B0806; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--bf-line); color: var(--bf-text); }
.site-header.dark .nav a { color: var(--bf-muted); }
.site-header.dark .nav a:hover { background: rgba(255, 255, 255, .08); color: var(--bf-text); }
.site-header.dark .nav a.is-active { background: rgba(255, 255, 255, .14); color: var(--bf-text); }
.site-header.dark .nav a.is-bf { background: var(--ambar); color: var(--cafe); }
.site-header.dark .nav a.is-bf::before { background: var(--cafe); box-shadow: none; }
.site-header.dark .brand img { background: var(--papel); border-radius: 12px; padding: 3px; }
.site-header.dark .menu-btn { background: rgba(255, 255, 255, .12); }
.site-header.dark .menu-btn span { background: var(--bf-text); box-shadow: 0 -5px 0 var(--bf-text), 0 5px 0 var(--bf-text); }

.plate { display: inline-flex; align-items: center; justify-content: center; background: var(--papel); border-radius: 14px; padding: 6px 10px; }

/* ---------- botões (pílula iOS) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 0; border-radius: 999px;
  background: var(--fill); color: var(--ink);
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), opacity .15s, background .2s;
}
.btn:hover { background: var(--fill-2); }
.btn:active { transform: scale(.97); opacity: .8; }
.btn-primary { background: var(--urucum); color: #fff; }
.btn-primary:hover { background: #e03608; }
.btn-dark { background: var(--cafe); color: var(--papel); }
.btn-dark:hover { background: #3b1a06; }
.btn-amber { background: var(--ambar); color: var(--cafe); }
.btn-amber:hover { background: #ffb42a; }
.btn-ghost { background: var(--fill); color: var(--ink); }
.btn-ghost:hover { background: var(--fill-2); }
.btn-ghost.on-dark { background: rgba(255, 255, 255, .14); color: var(--bf-text); }
.btn-ghost.on-dark:hover { background: rgba(255, 255, 255, .22); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: #009a7e; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-danger { background: var(--bad-bg); color: var(--bad); }
.btn-danger:hover { background: #ffd9cd; }
.btn-soft { background: var(--ambar-bg); color: var(--castanha); }
.btn-soft:hover { background: #ffe7b5; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.btn .ico { width: 18px; height: 18px; flex: none; }
.bf .btn, .bf .btn-amber, .bf .btn-primary { box-shadow: none; }

/* ---------- chips / segmented / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 0;
  background: var(--fill); font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; letter-spacing: -0.01em;
}
.chip:hover { background: var(--fill-2); }
.chip.is-on { background: var(--cafe); color: var(--papel); font-weight: 600; box-shadow: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
/* controle segmentado */
.toggle { display: inline-flex; gap: 0; padding: 3px; border-radius: 10px; background: var(--fill); }
.toggle .chip { background: transparent; border-radius: 8px; padding: 6px 14px; font-size: 13px; }
.toggle .chip.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }

.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 0;
  background: var(--fill); color: var(--ink-2);
  font-size: 11px; font-weight: 600; letter-spacing: 0; line-height: 1.35;
}
.tag-parceria { background: var(--cafe); color: var(--areia); }
.tag-destaque { background: var(--ambar); color: var(--cafe); }
.tag-gratis { background: var(--ok-bg); color: var(--ok); }
.tag-esgotado { background: var(--urucum); color: #fff; transform: none; }
.tag-novidade { background: var(--info-bg); color: var(--info); }
.tag-voucher { background: var(--ambar-bg); color: var(--castanha); }
.tag-master { background: var(--urucum); color: #fff; }

/* condição do voucher */
.cond {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 0;
  background: var(--ambar); color: var(--cafe);
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: -0.02em; line-height: 1.15;
  box-shadow: none; transform: none;
}
.cond .pct { font-size: 17px; font-weight: 800; }
.cond small, .cond .min { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0; text-transform: none; opacity: .8; }
.cond.dark { background: var(--cafe); color: var(--ambar); box-shadow: none; }
.cond.dark small, .cond.dark .min { color: var(--areia); }
.cond.flat { transform: none; }

/* carimbo → selo de status (badge) */
.stamp {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 10px 16px; border: 0; border-radius: 16px; background: var(--urucum-bg); color: var(--urucum-2);
  font-weight: 700; line-height: 1.1; transform: none; mix-blend-mode: normal; letter-spacing: -0.02em;
}
.stamp b { font-size: 16px; line-height: 1.1; font-weight: 700; }
.stamp small { font-size: 11px; font-weight: 500; letter-spacing: 0; margin-top: 3px; opacity: .85; }
.stamp.amber { background: var(--ambar); color: var(--cafe); box-shadow: var(--shadow-md); }
.stamp.cafe { background: var(--cafe); color: var(--ambar); }
.stamp.ok { background: var(--ok-bg); color: var(--ok); }
.stamp.papel { background: var(--papel); color: var(--cafe); }
.stamp.filled { background: var(--urucum); color: #fff; outline: 0; border: 0; }

/* etiqueta de preço */
.pricetag { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 116px; height: 116px; border-radius: 28px; background: var(--urucum); color: #fff; transform: none; font-weight: 800; letter-spacing: -0.03em; box-shadow: var(--shadow-lg); }
.pricetag::before { display: none; }
.pricetag b { font-size: 32px; line-height: 1; }
.pricetag small { font-size: 11px; font-weight: 600; opacity: .9; margin-top: 4px; letter-spacing: 0; }

/* estado (com ponto) */
.state { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 0; font-size: 12px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.state-ok { background: var(--ok-bg); color: var(--ok); }
.state-warn { background: var(--warn-bg); color: var(--warn); }
.state-bad { background: var(--bad-bg); color: var(--bad); }
.state-info { background: var(--info-bg); color: var(--info); }
.state-neutral { background: var(--fill); color: var(--ink-2); }
.state-dark { background: var(--cafe); color: var(--ambar); }

/* ---------- placeholders de imagem ---------- */
.ph {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px;
  background: #F7DDB0;
  color: rgba(80, 40, 10, .55); font-size: 11px; font-weight: 600; letter-spacing: 0; line-height: 1.35; border-radius: 14px;
}
.ph::after { display: none; }
.ph.r45 { aspect-ratio: 4 / 5; }
.ph.r169 { aspect-ratio: 16 / 9; }
.ph.r11 { aspect-ratio: 1 / 1; }
.ph.dark { background: var(--bf-3); color: var(--bf-dim); }
.ph.framed { border: 0; }

/* avatar da loja: ícone de app (squircle) */
.logo-dot {
  width: 32px; height: 32px; clip-path: none; border-radius: 9px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--castanha); color: #fff; font-weight: 700; font-size: 11px; letter-spacing: 0;
}
.logo-dot.amber { background: var(--ambar); color: var(--cafe); }
.logo-dot.urucum { background: var(--urucum); color: #fff; }
.logo-dot.cafe { background: var(--cafe); color: var(--ambar); }
.logo-dot.lg { width: 44px; height: 44px; font-size: 14px; border-radius: 12px; }
.shield-wrap { display: inline-flex; }
.trio { width: 120px; height: auto; }

/* ---------- card de oferta ---------- */
.card {
  background: var(--card); border: 0; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .photo { position: relative; padding: 0; }
.card .photo .ph { border-radius: 0; border: 0; }
.card .photo .tag { position: absolute; top: 12px; left: 12px; z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.card .photo .tag.right { left: auto; right: 12px; }
.card .photo .tags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.card .photo .tags .tag { position: static; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .store { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); line-height: 1.3; font-weight: 500; }
.card .title { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .cond { align-self: flex-start; }
.card .prices { display: flex; align-items: baseline; gap: 10px; }
.card .prices .de { color: var(--ink-3); text-decoration: line-through; font-size: 13px; }
.card .prices .por { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.card .meta { font-size: 13px; color: var(--ink-3); }
.card .actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
/* botão rente às bordas do card: o overflow:hidden do .card aplica o border-radius externo */
.card .actions { margin: auto -16px -16px; padding: 0; gap: 0; }.card .actions .btn { flex: 1 1 auto; border-radius: 0; padding: 17px 20px; }
.card .actions .btn.btn-sm { padding: 20px 20px; font-size: 16px; }
.card .actions .btn.btn-sm .ico { width: 20px; height: 20px; }
.card.is-out .photo .ph::before { content: ""; position: absolute; inset: 0; background: rgba(11, 8, 6, .55); z-index: 1; }
.card.is-out .title { color: var(--ink-3); }

.bf .card, .card.dark { background: var(--bf-2); color: var(--bf-text); box-shadow: 0 0 0 .5px var(--bf-line), 0 12px 30px rgba(0, 0, 0, .35); }
.bf .card:hover, .card.dark:hover { box-shadow: 0 0 0 .5px rgba(255,255,255,.22), 0 16px 40px rgba(0, 0, 0, .45); }
.bf .card .store, .bf .card .meta, .card.dark .store, .card.dark .meta { color: var(--bf-muted); }
.bf .card .prices .de, .card.dark .prices .de { color: var(--bf-dim); }
.bf .card .actions .btn-ghost, .card.dark .actions .btn-ghost { background: rgba(255, 255, 255, .12); color: var(--bf-text); }
.bf .card .bar, .card.dark .bar { background: rgba(255, 255, 255, .14); }
.bf .card .bar-label, .card.dark .bar-label { color: var(--bf-muted); }

/* barra de vouchers (progress iOS) */
.bar { position: relative; height: 6px; border: 0; border-radius: 999px; background: var(--fill-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--ambar); border-radius: 999px; }
.bar::after { display: none; }
.bar.low > i { background: var(--urucum); }
.bar.zero > i { width: 0; }
.bar.lg { height: 10px; }
.bar-label { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 500; color: var(--ink-2); margin-top: 7px; line-height: 1.3; }
.bar-label .low { color: var(--urucum-2); font-weight: 600; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- seções ---------- */
.section { padding: 60px 0; }
.section-sm { padding: 32px 0; }
.section.tint { background: var(--papel-2); border: 0; }
.divider { height: .5px; background: var(--sep-strong); border: 0; margin: 0; }
.rule-dots { height: 0; border-top: .5px solid var(--sep-strong); }
.hazard, .marquee { display: none; }
.off { display: none !important; }

/* ---------- Black Friday ---------- */
.bf { background: var(--bf-0); color: var(--bf-text); position: relative; overflow: hidden; isolation: isolate; }
.bf::before { display: none; }
.bf::after { display: none; }
.bf .muted { color: var(--bf-muted); }
.bf .kicker { color: var(--ambar); }
.bf-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ambar); }
.bf-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ambar); flex: none; }
.bf-title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.05em; line-height: .95; }
.bf-title .pvh { color: var(--ambar); }
.bf-title .outline { color: inherit; -webkit-text-stroke: 0; }
.bf-title .urucum { color: var(--urucum); }
.bf-title .thin { font-weight: 500; color: var(--bf-muted); letter-spacing: -0.03em; }
.bf-pill { display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 0; font-size: 13px; color: var(--bf-muted); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bf-pill .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--papel); color: var(--ink-3); font-size: 7.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }
.bf-pill b { color: var(--bf-text); font-weight: 600; }

/* placar (grupo inset) */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; border: 0; }
.stat { padding: 20px 24px; border-right: .5px solid var(--sep-strong); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -0.04em; line-height: 1; }
.stat .n em { font-style: normal; color: var(--urucum); }
.stat .l { font-size: 13px; color: var(--ink-3); margin-top: 8px; line-height: 1.35; }
.stat .d { font-size: 12px; margin-top: 8px; font-weight: 600; }
.bf .stats { background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 .5px var(--bf-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.bf .stat { border-color: var(--bf-line); }
.bf .stat .n { color: var(--bf-text); }
.bf .stat .n em { color: var(--ambar); }
.bf .stat .l { color: var(--bf-muted); }

/* contagem regressiva (timer iOS) */
.countdown { display: inline-flex; gap: 8px; }
.countdown .u { min-width: 68px; padding: 10px 8px 9px; border-radius: 16px; background: rgba(255, 255, 255, .1); color: var(--bf-text); border: 0; text-align: center; box-shadow: none; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.countdown .u::after { display: none; }
.countdown .u b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.countdown .u small { display: block; font-size: 11px; font-weight: 500; color: var(--bf-muted); margin-top: 5px; letter-spacing: 0; }

/* ---------- voucher como cartão do Wallet ---------- */
.ticket { --hole: var(--papel); position: relative; width: 340px; max-width: 100%; background: radial-gradient(circle 11px at 0 var(--py, 50%), #0000 10.5px, #fff 11.5px) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% var(--py, 50%), #0000 10.5px, #fff 11.5px) right / 51% 100% no-repeat; color: var(--ink); border: 0; border-radius: 24px; box-shadow: none; filter: drop-shadow(0 3px 5px rgba(60, 35, 15, .08)) drop-shadow(0 18px 24px rgba(60, 35, 15, .14)); display: flex; flex-direction: column; overflow: visible; }
.ticket .t-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--ambar); color: var(--cafe); font-size: 12px; font-weight: 600; border-radius: 24px 24px 0 0; }
.ticket .t-head i { font-style: normal; font-weight: 700; }
.ticket .t-photo { margin: 12px 12px 0; }
.ticket .t-photo .ph { border: 0; border-radius: 14px; }
.ticket .t-body { padding: 14px 16px 14px; }
.ticket .t-store { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.ticket .t-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; margin: 4px 0 10px; letter-spacing: -0.025em; }
.ticket .perf { position: relative; height: 0; border-top: 1.5px dashed var(--sep-strong); margin: 8px 0 4px; }
/* os furos laterais são recortados no fundo do .ticket (--py é calculado em icons.js) */
.ticket .t-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--papel-2); margin-top: 12px; }
.ticket .t-code b { font-family: var(--font-code); font-size: 22px; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.ticket .t-code small { font-size: 11px; text-align: right; line-height: 1.35; color: var(--ink-3); font-weight: 500; }
.ticket .t-foot { display: flex; justify-content: space-between; gap: 10px; padding: 8px 16px 14px; font-size: 12px; color: var(--ink-3); border: 0; }
.bf .ticket, .ticket.on-dark { --hole: var(--bf-0); }
.ticket.tilt { transform: none; }

/* ---------- formulários ---------- */
.form-card { background: #fff; border: 0; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; letter-spacing: -0.005em; text-transform: none; color: var(--ink-2); }
.field label .muted, .label .muted { font-weight: 400; font-size: 12px; }
.field .hint { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: .5px solid var(--sep-strong); background: #fff; font-size: 16px; outline: none; color: var(--ink);
  transition: box-shadow .2s var(--ease), border-color .2s;
}
.input::placeholder, .textarea::placeholder { color: rgba(90, 70, 54, .4); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ambar-2); box-shadow: 0 0 0 4px rgba(254, 164, 2, .25); outline: 0; }
.input.is-error { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(192, 48, 13, .12); }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16' fill='none' stroke='%238A7767' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6l3-3 3 3M3 10l3 3 3-3'/></svg>"); background-position: right 12px center; background-repeat: no-repeat; padding-right: 36px; }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.check input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; width: 51px; height: 31px; border-radius: 999px; background: rgba(120, 100, 80, .32); position: relative; cursor: pointer; transition: background .25s var(--ease); margin: 0; }
.check input[type=checkbox]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.check input[type=checkbox]:checked { background: var(--ok); }
.check input[type=checkbox]:checked::after { transform: translateX(20px); }
.radio-cards { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.radio-card { border: 0; border-radius: 14px; padding: 13px 15px; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; background: var(--fill); box-shadow: inset 0 0 0 1.5px transparent; }
.radio-card.is-on { background: var(--ambar-bg); box-shadow: inset 0 0 0 1.5px var(--ambar); }
.radio-card input { margin-top: 3px; accent-color: var(--urucum); }
.radio-card b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.radio-card small { color: var(--ink-3); font-size: 12.5px; }
.upload { border: 1.5px dashed var(--sep-strong); border-radius: 16px; padding: 20px; text-align: center; color: var(--ink-3); background: var(--papel-2); font-size: 13px; }
.pin { display: flex; gap: 8px; }
.pin .input { width: 54px; text-align: center; font-family: var(--font-code); font-size: 24px; font-weight: 700; padding: 10px 0; border-radius: 14px; }
.counter { font-size: 12px; color: var(--ink-3); text-align: right; }

/* stepper → controle segmentado */
.stepper { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.stepper .s { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 0; background: var(--fill); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.stepper .s i { width: 22px; height: 22px; border-radius: 50%; background: rgba(120, 100, 80, .2); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 700; }
.stepper .s.is-on { background: var(--cafe); color: var(--papel); box-shadow: none; font-weight: 600; }
.stepper .s.is-on i { background: var(--ambar); color: var(--cafe); }
.stepper .s.is-done i { background: var(--ok); color: #fff; }
.stepper .sep { color: var(--sep-strong); }

/* ---------- avisos (banner iOS) ---------- */
.notice { display: flex; gap: 10px; padding: 13px 16px; border-radius: 16px; font-size: 14px; border: 0; line-height: 1.45; }
.notice-info { background: var(--info-bg); color: #164a7a; }
.notice-ok { background: var(--ok-bg); color: #145a2d; }
.notice-warn { background: var(--warn-bg); color: #5c3c00; }
.notice-bad { background: var(--bad-bg); color: #7a1c04; }
.notice-neutral { background: var(--fill); color: var(--ink-2); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--papel-2); color: var(--ink-3); border: 0; padding: 36px 0 44px; font-size: 13px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.site-footer .links a:hover { color: var(--urucum); }
.site-footer .legal { max-width: 900px; line-height: 1.6; color: var(--ink-3); }
.site-footer .wordmark { display: none; }
.site-footer.dark { background: var(--bf-0); color: var(--bf-muted); border-top: .5px solid var(--bf-line); }
.site-footer.dark .links { color: var(--bf-text); }
.site-footer.dark .legal { color: var(--bf-muted); }

/* ---------- WhatsApp · moldura de iPhone ---------- */
.phone {
  width: 390px; max-width: 100%; background: var(--wa-bg); border-radius: 48px; overflow: hidden;
  border: 11px solid #111; box-shadow: 0 0 0 1.5px #3a3a3a, var(--shadow-lg);
  display: flex; flex-direction: column; position: relative;
  background-image: none;
  background-size: 48px 48px, 64px 64px;
}
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 999px; background: #000; z-index: 3; }
.phone .wa-head { background: var(--wa-green-2); color: #fff; padding: 42px 14px 12px; display: flex; align-items: center; gap: 10px; }
.phone .wa-head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--papel); color: var(--cafe); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.phone .wa-head b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.phone .wa-head small { display: block; font-size: 12px; opacity: .85; }
.phone .wa-head .verified { width: 16px; height: 16px; border-radius: 50%; background: #25D366; color: #fff; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.phone .wa-body { padding: 12px 10px 14px; display: flex; flex-direction: column; gap: 6px; min-height: 420px; }
.phone .wa-foot { background: #F0F2F5; padding: 8px 10px 14px; display: flex; gap: 8px; align-items: center; }
.phone .wa-foot .in { flex: 1; background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 14px; color: #8a8a8a; }
.phone .wa-foot .send { width: 40px; height: 40px; border-radius: 50%; background: var(--wa-green); color: #fff; display: flex; align-items: center; justify-content: center; }
.wa-day { align-self: center; background: #fff; color: #54656f; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 8px; margin: 6px 0; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.wa-sys { align-self: center; background: #FFF7D6; color: #6b5a1a; font-size: 11px; padding: 6px 10px; border-radius: 8px; text-align: center; max-width: 90%; margin: 4px 0; }
.msg { max-width: 86%; padding: 8px 10px 6px; border-radius: 12px; font-size: 14px; line-height: 1.38; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); color: #111b21; }
.msg .t { display: block; text-align: right; font-size: 10px; color: #667781; margin-top: 3px; }
.msg.in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 3px; }
.msg.out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 3px; }
.msg.out .t::after { content: " ✓✓"; color: #53bdeb; }
.msg b.hl { font-weight: 700; }
.msg .link { color: var(--wa-link); word-break: break-all; }
.msg .img { border-radius: 8px; overflow: hidden; margin: -2px -4px 8px; }
.msg .img .ph { aspect-ratio: 4/5; max-height: 220px; }
.msg .code { display: block; margin: 8px 0 6px; padding: 10px; border-radius: 10px; background: var(--cafe); color: var(--ambar); font-family: var(--font-code); font-size: 22px; font-weight: 700; letter-spacing: .12em; text-align: center; border: 0; }
.msg .code small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .04em; color: var(--areia); font-weight: 600; margin-bottom: 4px; }
.msg-actions { align-self: flex-start; display: flex; flex-direction: column; gap: 3px; width: 86%; margin-top: -3px; }
.msg-actions.right { align-self: flex-end; }
.msg-actions .qr { background: #fff; color: var(--wa-link); text-align: center; padding: 9px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg-actions .qr.url::before { content: "↗ "; }
.msg-actions .qr.list::before { content: "☰ "; }
.wa-list { align-self: center; width: 94%; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.15); font-size: 14px; margin: 4px 0; }
.wa-list .hd { padding: 10px 14px; font-weight: 700; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; color: #111b21; }
.wa-list .hd span { color: var(--wa-green); font-weight: 600; }
.wa-list .it { padding: 10px 14px; border-bottom: 1px solid #f1f1f1; display: flex; justify-content: space-between; align-items: center; color: #111b21; }
.wa-list .it i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c7c7c7; }
.wa-list .it.is-on i { border-color: var(--wa-green); background: var(--wa-green); }
.wa-list .it.sq i { border-radius: 4px; }
.wa-list .it small { color: #667781; font-size: 12px; }
.wa-list .ft { padding: 10px 14px; text-align: center; color: var(--wa-green); font-weight: 700; }
.flow-label { font-size: 13px; font-weight: 600; color: var(--castanha); margin: 8px 0 2px; align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; }
.flow-label i { width: 22px; height: 22px; clip-path: none; border-radius: 50%; background: var(--cafe); color: var(--ambar); font-style: normal; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.phones { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.phone-col { display: flex; flex-direction: column; gap: 12px; width: 390px; max-width: 100%; }
.phone-col .caption { font-size: 13px; color: var(--ink-2); padding: 0 6px; }
.phone-col .caption b { color: var(--ink); }

/* ---------- painéis internos (iPad / Mac) ---------- */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--papel-2); color: var(--ink); padding: 16px 12px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; border-right: .5px solid var(--sep-strong); overflow-y: auto; }
.sidebar .brand { padding: 4px 8px 16px; }
.sidebar .brand img { height: 40px; background: transparent; padding: 0; border-radius: 0; }
.sidebar .group { font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 14px 10px 6px; letter-spacing: 0; text-transform: none; }
.sidebar a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.sidebar a:hover { background: var(--fill); color: var(--ink); }
.sidebar a.is-active { background: var(--cafe); color: var(--papel); box-shadow: none; font-weight: 600; }
.sidebar a .n { font-size: 12px; font-weight: 600; background: var(--urucum); color: #fff; padding: 1px 8px; border-radius: 999px; }
.sidebar a.is-active .n { background: var(--ambar); color: var(--cafe); }
.sidebar .me { margin-top: auto; padding: 14px 10px 4px; border-top: .5px solid var(--sep-strong); font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.main { padding: 28px 32px 70px; min-width: 0; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; padding: 0; border: 0; }
.topbar .title { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.04em; line-height: 1.05; }
.topbar .sub { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.panel { background: #fff; border: 0; border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 0; border: 0; }
.panel-head h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: none; letter-spacing: -0.025em; }
.panel-head .more { font-size: 14px; font-weight: 500; color: var(--urucum-2); letter-spacing: -0.01em; text-transform: none; }
.panel-head .sub { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-top: 3px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 8px 12px; border-bottom: .5px solid var(--sep-strong); text-transform: none; letter-spacing: 0; }
.table td { padding: 12px; border-bottom: .5px solid var(--sep); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-selected td { background: var(--ambar-bg); }
.table tbody tr:hover td { background: rgba(120, 85, 50, .045); }
.table tr.is-selected:hover td { background: var(--ambar-bg); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-body); font-size: 14px; }
.table .who { display: flex; align-items: center; gap: 10px; }
.table .who .ph { width: 44px; height: 52px; border-radius: 10px; flex: none; border: 0; }
.table .who b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.table .who small { color: var(--ink-3); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 0; border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.kpi .l { font-size: 13px; font-weight: 500; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.kpi .n { font-family: var(--font-display); font-size: 32px; font-weight: 800; letter-spacing: -0.04em; margin-top: 6px; line-height: 1; }
.kpi .d { font-size: 12.5px; margin-top: 8px; color: var(--ink-2); }
.kpi .d.up::before { content: "▲ "; color: var(--ok); }
.kpi .d.down::before { content: "▼ "; color: var(--bad); }
.kpi.is-alert { background: var(--bad-bg); box-shadow: none; }
.checklist { display: flex; flex-direction: column; gap: 0; border-radius: 14px; overflow: hidden; background: var(--fill); }
.checklist label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; padding: 12px 14px; border: 0; border-bottom: .5px solid var(--sep); border-radius: 0; background: transparent; }
.checklist label:last-child { border-bottom: 0; }
.checklist input { accent-color: var(--ok); width: 20px; height: 20px; margin-top: 0; flex: none; }

/* gráficos (barras planas) */
.hbars { display: flex; flex-direction: column; gap: 10px; }
.hbar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: 13px; }
.hbar .lbl { color: var(--ink-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .trk { height: 10px; background: var(--fill); border: 0; border-radius: 999px; overflow: hidden; }
.hbar .trk i { display: block; height: 100%; background: var(--castanha); border-radius: 999px; }
.hbar .trk i.a { background: var(--ambar-2); }
.hbar .trk i.u { background: var(--urucum); }
.hbar .val { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; font-family: var(--font-body); }
.vbars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 12px; }
.vbars .vb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.vbars .vb i { width: 100%; max-width: 28px; background: var(--castanha); display: block; border-radius: 6px 6px 2px 2px; }
.vbars .vb i.a { background: var(--ambar-2); }
.vbars .vb small { font-size: 11px; color: var(--ink-3); }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; background: var(--castanha); border-radius: 3px; }
.legend i.a { background: var(--ambar-2); }
.legend i.u { background: var(--urucum); }

/* ---------- barra dos mockups ---------- */
.mock-nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 100; display: flex; gap: 4px; align-items: center;
  background: rgba(30, 20, 12, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  color: #fff; border-radius: 999px; padding: 5px 5px 5px 14px; font-size: 13px; box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
}
.mock-nav b { font-weight: 600; opacity: .7; margin-right: 6px; }
.mock-nav a { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 500; color: #fff; }
.mock-nav a:hover { background: rgba(255, 255, 255, .24); }
.mock-note {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
  background: #FFD60A; color: #3a2e00; font-size: 11px; font-weight: 700; vertical-align: middle; line-height: 1; font-style: normal; letter-spacing: 0; text-transform: none; border: 0;
}
.mock-notes { margin: 48px auto 0; padding: 18px 22px; border-radius: 20px; background: #FFF8D6; border: 0; color: #3f3200; font-size: 13px; max-width: var(--wrap); line-height: 1.5; }
.mock-notes h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0; text-transform: none; }
.mock-notes li { display: flex; gap: 8px; margin: 6px 0; align-items: flex-start; }
.mock-notes li .mock-note { flex: none; margin-top: 1px; }

@media print { .mock-nav, .mock-notes, .mock-note { display: none !important; } }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .grid, .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; border-right: 0; border-bottom: .5px solid var(--sep-strong); }
  .sidebar .group, .sidebar .me { display: none; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .cta .btn-ghost { display: none; }
  .site-header .hbar { height: 58px; }
  .brand img { height: 38px; }
  .grid, .grid-3, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: .5px solid var(--sep-strong); }
  .bf .stat:nth-child(n+3) { border-top-color: var(--bf-line); }
  .form-row, .form-row.c3, .radio-cards { grid-template-columns: 1fr; }
  .main { padding: 18px 16px 60px; }
  .section { padding: 42px 0; }
  .topbar .title { font-size: 28px; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .body { padding: 10px 12px 12px; gap: 8px; }
  .card .title { font-size: 15px; }
  .card .actions { flex-wrap: wrap; }
  .card .actions .btn { flex: 1 1 100%; }
  .cond { font-size: 13px; padding: 5px 10px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-top: .5px solid var(--sep-strong); }
  .stat:first-child { border-top: 0; }
  .kpis { grid-template-columns: 1fr; }
  .mock-nav { left: 8px; right: 8px; bottom: 8px; transform: none; overflow-x: auto; }
  .mock-nav b { display: none; }
  .btn-lg { padding: 14px 22px; font-size: 16px; }
}

/* ---- ajustes finos iOS ---- */
.ty { border: 0 !important; border-radius: 999px !important; padding: 2px 8px !important; font-weight: 600 !important; }
.week { border: 0 !important; border-radius: var(--r-lg) !important; box-shadow: var(--shadow-sm) !important; background: #fff !important; overflow: hidden; }
.day { border-right: .5px solid var(--sep-strong) !important; }
.day:last-child { border-right: 0 !important; }
em { font-style: normal; }

/* flat: sem ornamentos translúcidos */
.hero .shields, .club-card .trio, .viz .shields { display: none !important; }

/* ---- ícones Lucide ---- */
svg.lucide { width: 17px; height: 17px; flex: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm svg.lucide { width: 15px; height: 15px; }
.btn-lg svg.lucide { width: 19px; height: 19px; }
.sidebar a .lbl { display: inline-flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sidebar a svg.lucide { width: 18px; height: 18px; color: var(--castanha); }
.sidebar a.is-active svg.lucide { color: var(--ambar); }
.toggle .chip { white-space: nowrap; }

/* ---------- desktop compacto (1280×720 e similares) ---------- */
@media (min-width: 1081px) and (max-width: 1440px) {
  .app { grid-template-columns: 224px minmax(0, 1fr); }
  .sidebar { overflow-y: auto; padding: 12px 10px; }
  .sidebar .brand { padding: 2px 8px 6px; }
  .sidebar .brand img { height: 34px; }
  .sidebar .group { padding: 10px 10px 4px; }
  .sidebar a { padding: 6px 10px; font-size: 14px; }
  .main { padding: 22px 24px 84px; }
  .topbar .title { font-size: 30px; }
  .kpi .n { font-size: 28px; }
  .section { padding: 48px 0; }
}
@media (min-width: 1081px) and (max-height: 800px) {
  .mock-nav { bottom: 10px; }
  .actionbar { bottom: 64px; }
}

/* ---------- menu fixo inferior com ícones (celular) ---------- */
.tabbar { display: none; }
@media (max-width: 820px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .app { display: block; }
  .sidebar, .sidebar.partner {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; height: auto; z-index: 120;
    flex-direction: row; flex-wrap: nowrap; justify-content: space-around; align-items: stretch; gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); overflow-x: auto; overflow-y: hidden;
    background: rgba(251, 245, 236, .88); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border: 0; border-top: .5px solid var(--sep-strong);
  }
  .sidebar .brand, .sidebar .group, .sidebar .me, .sidebar .portal-tag, .sidebar .store-chip { display: none; }
  .sidebar a { flex: 1 0 54px; justify-content: center; padding: 9px 4px; border-radius: 14px; position: relative; font-size: 0; gap: 0; }
  .sidebar a .lbl { flex: none; font-size: 0; gap: 0; justify-content: center; }
  .sidebar a svg.lucide { width: 24px; height: 24px; }
  .sidebar a .n { position: absolute; top: 3px; left: calc(50% + 6px); font-size: 10px; padding: 0 5px; line-height: 16px; }

  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; justify-content: space-around; gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(251, 245, 236, .88); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-top: .5px solid var(--sep-strong);
  }
  .tabbar a { flex: 1; display: flex; align-items: center; justify-content: center; padding: 9px 4px; border-radius: 14px; color: var(--ink-2); }
  .tabbar a svg.lucide { width: 24px; height: 24px; }
  .tabbar a.is-active { background: var(--cafe); color: var(--papel); }
  .tabbar.dark { background: rgba(11, 8, 6, .84); border-top-color: var(--bf-line); }
  .tabbar.dark a { color: var(--bf-muted); }
  .tabbar.dark a.is-active { background: var(--ambar); color: var(--cafe); }
  .menu-btn { display: none; }

  .mock-nav { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body:not(:has(.sidebar, .tabbar)) .mock-nav { bottom: 8px; }
  .actionbar { bottom: calc(130px + env(safe-area-inset-bottom)); }
}

/* ajustes da revisão (QA) */
.state { white-space: nowrap; flex: none; }
.lr .select { padding-right: 34px; }
@media (max-width: 820px) { .sidebar a.is-active .n { background: var(--urucum); color: #fff; } }
