/* Layout: estrutura do superkoch (faixa escura, banner, categorias em círculo, trilhos de cards)
   com a linguagem de encarte do mercado: azul royal, moldura amarela, faixa de preço vermelha. */
:root {
  --noite: #0A1A5C;
  --azul: #0E2A8F;
  --azul-vivo: #1746D1;
  --amarelo: #FFD21F;
  --amarelo-esc: #B57E00;
  --vermelho: #E4002B;
  --vermelho-esc: #B70023;
  --verde: #128C4A;
  --zap: #25D366;
  --fundo: #F3F5FB;
  --branco: #FFFFFF;
  --tinta: #0B1437;
  --suave: #525C7D;
  --linha: #DFE4F1;
  --rosa: #FFE3E8;
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 22px;
  --sombra: 0 1px 2px rgba(11, 20, 55, .06), 0 8px 24px rgba(11, 20, 55, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--fundo); color: var(--tinta); font: 400 16px/1.5 var(--font-body); -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--noite); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 2px; box-shadow: 0 0 0 5px var(--azul); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.solid { fill: currentColor; stroke: none; }

/* Avisos */
.demo-bar { background: var(--amarelo); color: var(--tinta); font-size: 14px; font-weight: 700; text-align: center; padding: 6px 16px; }
.notice-bar { background: var(--vermelho); color: #fff; font-size: 14px; font-weight: 700; text-align: center; padding: 6px 16px; }

/* Cabeçalho */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--noite); color: #fff; }
.top-in { display: flex; align-items: center; gap: 12px 16px; padding-block: 12px; flex-wrap: wrap; }
.logo { display: block; flex: none; text-decoration: none; }
.logo svg { height: 50px; width: auto; }
.logo img { height: 50px; width: auto; border-radius: 10px; }
.search { order: 3; flex: 1 1 100%; position: relative; min-width: 0; }
.search input { width: 100%; height: 46px; border: 0; border-radius: 99px; background: #fff; color: var(--tinta); padding: 0 16px 0 46px; }
.search input::placeholder { color: var(--suave); }
.search .ico { position: absolute; left: 16px; top: 13px; color: var(--suave); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-link { display: none; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.1; padding: 8px; border-radius: var(--r-s); }
.top-link:hover { background: rgba(255, 255, 255, .1); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; background: #fff; color: var(--tinta); border: 0; border-radius: 99px; font-weight: 800; font-family: var(--font-display); }
.cart-btn:hover { background: var(--amarelo); }
.cart-count { min-width: 1ch; font-variant-numeric: tabular-nums; }
@media (min-width: 860px) {
  .search { order: 0; flex: 1 1 280px; }
  .top-link { display: inline-flex; }
}

/* Banner */
.hero-band { background: linear-gradient(var(--noite) 0 58%, transparent 58%); padding-top: 8px; }
.hero { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--azul); box-shadow: var(--sombra); }
.slide { display: none; position: relative; min-height: 330px; padding: 28px 24px 30px; color: #fff; text-decoration: none; overflow: hidden; }
.slide.on { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 16px; animation: fade .3s ease-out; }
@keyframes fade { from { transform: translateX(10px); } to { transform: none; } }
.slide::before { content: ""; position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg at 72% 50%, rgba(255, 255, 255, .07) 0 8deg, transparent 8deg 18deg); pointer-events: none; }
.slide.t-blue { background: radial-gradient(circle at 75% 45%, var(--azul-vivo), var(--azul) 55%, var(--noite)); }
.slide.t-red { background: radial-gradient(circle at 75% 45%, #FF2B4E, var(--vermelho) 50%, var(--vermelho-esc)); }
.slide.t-yellow { background: radial-gradient(circle at 75% 45%, #FFE464, var(--amarelo) 60%, #F7B800); color: var(--tinta); }
.slide.t-yellow::before { background: repeating-conic-gradient(from 0deg at 72% 50%, rgba(255, 255, 255, .28) 0 8deg, transparent 8deg 18deg); }
.slide.t-green { background: radial-gradient(circle at 75% 45%, #1FA64E, #0F7A36 55%, #0A5A28); }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 26, 92, .85), rgba(10, 26, 92, .15)); }
.slide.has-img { color: #fff; }
.slide-txt { position: relative; z-index: 1; min-width: 0; }
.slide-kicker { display: inline-block; font: 800 15px/1 var(--font-display); background: var(--amarelo); color: var(--tinta); padding: 8px 12px; border-radius: 6px; transform: skewX(-8deg); }
.t-yellow .slide-kicker { background: var(--vermelho); color: #fff; }
.slide h2 { font-size: clamp(38px, 7.2vw, 72px); font-weight: 800; font-style: normal; margin: 14px 0 10px; line-height: .98; letter-spacing: -.025em; }
.slide p { font-size: 18px; max-width: 34ch; font-weight: 600; }
.slide-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: #fff; color: var(--tinta); font: 800 16px/1 var(--font-display); padding: 14px 20px; border-radius: 99px; }
.slide:hover .slide-cta { background: var(--amarelo); }
.t-yellow:hover .slide-cta, .t-yellow .slide-cta { background: var(--tinta); color: #fff; }
.slide-items { position: relative; z-index: 1; display: flex; gap: 10px; align-items: flex-end; }
.slide-item { flex: 1 1 0; min-width: 0; max-width: 170px; background: #fff; color: var(--tinta); border-radius: var(--r-m); padding: 10px; }
.slide-item:nth-child(2) { transform: translateY(-14px); }
.slide-item .pic { aspect-ratio: 1; }
.slide-item b { display: block; font: 800 19px/1 var(--font-display); margin-top: 6px; white-space: nowrap; color: var(--vermelho); }
.slide-item span { display: block; font-size: 12px; line-height: 1.2; font-weight: 700; margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 520px) { .slide-item:nth-child(3) { display: none; } }
@media (min-width: 860px) {
  .slide { padding: 40px 48px; min-height: 380px; }
  .slide.on { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; }
}
.dots { display: flex; justify-content: center; gap: 2px; padding-top: 6px; }
.dots button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; background: none; border: 0; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--suave); }
.dots .on i { background: var(--tinta); border-color: var(--tinta); }

/* Faixa de serviço */
.service { background: #fff; border-radius: var(--r-m); padding: 16px 20px; display: grid; gap: 14px 24px; grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
.svc { display: flex; gap: 12px; align-items: center; min-width: 0; text-decoration: none; }
.svc .ico { color: var(--azul); }
.svc b { display: block; font: 800 15px/1.2 var(--font-display); }
.svc small { display: block; color: var(--suave); font-size: 14px; line-height: 1.3; }
.open-yes { color: var(--verde); }
.open-no { color: var(--vermelho-esc); }
.svc-link:hover b { text-decoration: underline; }
@media (min-width: 720px) { .service { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Seções */
main { display: block; }
.block { padding-top: 34px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.block-head h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; }
.block-head p { color: var(--suave); font-size: 15px; margin-top: 3px; }
.head-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.more { font-weight: 800; font-size: 14px; color: var(--azul); text-decoration: none; padding: 10px 2px; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.arrow { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1.5px solid var(--tinta); display: none; place-items: center; }
.arrow:hover { background: var(--tinta); color: #fff; }
@media (min-width: 860px) { .arrow { display: grid; } }

/* Categorias em círculo */
.moments { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.moments::-webkit-scrollbar { display: none; }
.moment { flex: 0 0 auto; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; text-align: center; font: 700 14px/1.15 var(--font-display); scroll-snap-align: start; border-radius: var(--r-s); padding: 4px; }
.moment .disc { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--fundo), 0 0 0 4px var(--c, var(--azul)); overflow: hidden; transition: transform .15s ease-out; }
.moment .disc img { width: 100%; height: 100%; object-fit: cover; }
.moment .disc svg { width: 64%; height: 64%; }
.moment:hover .disc { transform: translateY(-2px); }
.moment[aria-current="true"] .disc { background: var(--amarelo); box-shadow: 0 0 0 2px var(--fundo), 0 0 0 5px var(--tinta); }
.moment[aria-current="true"] { font-weight: 800; }

/* Encontre o que você precisa */
.intents { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; }
@media (min-width: 720px) { .intents { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.intent { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 10px 16px; background: var(--azul); color: #fff; border-radius: var(--r-m); text-decoration: none; font: 800 16px/1.15 var(--font-display); }
.intent:hover { background: var(--noite); }
.intent .ico { color: var(--amarelo); }

/* Ideias e combos */
.ideas-rail .idea { flex: 0 0 268px; scroll-snap-align: start; }
.idea { background: #fff; border-radius: var(--r-m); padding: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.idea-pic { width: 100%; padding: 0; border: 0; background: var(--fundo); border-radius: var(--r-s); overflow: hidden; }
.idea-pic img { width: 100%; height: 118px; object-fit: cover; }
.idea-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 8px; }
.idea-items .pic { background: #fff; border-radius: 8px; }
.idea-kind { font: 800 12px/1.2 var(--font-display); color: var(--vermelho-esc); }
.idea h3 { font: 800 17px/1.15 var(--font-display); }
.idea h3 button { all: unset; cursor: pointer; }
.idea h3 button:hover { text-decoration: underline; }
.idea h3 button:focus-visible { outline: 3px solid var(--azul); }
.idea-sum { font-size: 14px; color: var(--suave); flex: 1; }
.sub { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.mini-links { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-list { display: grid; gap: 6px; }
.mini { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; text-align: left; padding: 6px; background: var(--fundo); border: 0; border-radius: var(--r-s); font-size: 14px; font-weight: 700; line-height: 1.2; }
.mini:hover { background: var(--linha); }
.mini .pic { background: #fff; border-radius: 8px; }
.mini b { display: block; font: 800 15px/1.2 var(--font-display); margin-top: 2px; }
.mini small { display: block; color: var(--suave); }

/* Clube */
.club-band { background: var(--amarelo); color: var(--tinta); border-radius: var(--r-l); padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.club-band > div:first-child { flex: 1 1 320px; min-width: 0; }
.club-band h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; }
.club-band p { margin-top: 6px; font-weight: 600; max-width: 56ch; }
.club-check { align-items: flex-start; background: var(--fundo); padding: 10px 12px; border-radius: var(--r-s); }
.club-check small { display: block; font-weight: 400; color: var(--suave); font-size: 13px; }
.cat-hero .cat-note { font-size: 14px; font-weight: 700; opacity: .92; }

/* Cards de produto */
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail .card { flex: 0 0 172px; scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
.card { position: relative; background: #fff; border-radius: var(--r-m); padding: 10px 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.flags { position: absolute; left: 0; top: 12px; z-index: 2; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.flag { color: #fff; background: var(--vermelho); font: 800 12px/1 var(--font-display); padding: 5px 13px 5px 8px; clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 50%, 100% 100%, 0 100%); }
.flag.today { background: var(--tinta); color: var(--amarelo); }
.flag.soon { background: #0F7A36; }
.flag.sample { background: #5D6785; }
.club-tag { display: inline-block; align-self: flex-start; margin-top: 2px; background: var(--azul); color: #fff; font: 800 11px/1 var(--font-display); padding: 4px 7px; border-radius: 4px; }
.pic-btn { display: block; width: 100%; padding: 0; background: none; border: 0; border-radius: var(--r-s); }
.pic { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-s); }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pic svg { width: 76%; height: 76%; }
.add-slot { display: flex; justify-content: flex-end; margin-top: -26px; position: relative; z-index: 2; min-height: 44px; }
.add { width: 44px; height: 44px; border-radius: 50%; background: var(--noite); color: #fff; border: 2px solid #fff; display: grid; place-items: center; }
.add:hover { background: var(--vermelho); }
.step { display: inline-flex; align-items: center; background: var(--noite); color: #fff; border-radius: 99px; border: 2px solid #fff; height: 44px; }
.step button { width: 38px; height: 40px; background: none; border: 0; color: inherit; display: grid; place-items: center; border-radius: 99px; }
.step button:hover { background: rgba(255, 255, 255, .18); }
.step output { font: 800 14px/1 var(--font-display); min-width: 3ch; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-old { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; color: var(--suave); font-size: 13px; min-height: 20px; }
.price-old s { text-decoration-thickness: 1px; }
.pct { background: var(--rosa); color: var(--vermelho-esc); font-weight: 800; font-size: 12px; padding: 0 6px; border-radius: 5px; }
.price { font: 800 22px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; font-weight: 700; color: var(--suave); }
.card h3 { font: 700 14px/1.25 var(--font-body); margin-top: 4px; letter-spacing: 0; }
.card h3 button { all: unset; cursor: pointer; }
.card h3 button:hover { text-decoration: underline; }
.card h3 button:focus-visible { outline: 3px solid var(--azul); }
.until { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 700; color: var(--suave); }

/* Cartazes de preço */
.posters { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .posters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.poster-pic { margin-top: auto; }
.poster { display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; border-radius: var(--r-l); overflow: hidden; background: linear-gradient(170deg, var(--azul-vivo), var(--azul)); color: #fff; box-shadow: var(--sombra); }
.poster h3 { font-size: 24px; font-weight: 800; padding: 22px 20px 12px; min-height: 76px; }
.poster-band { background: var(--vermelho); padding: 8px 20px; margin-right: 22px; border-radius: 0 99px 99px 0; font: 800 58px/1 var(--font-display); letter-spacing: -.03em; display: flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.poster-band small { font-size: 22px; margin-right: 6px; letter-spacing: 0; }
.poster-band em { font-style: normal; font-size: 26px; }
.poster-band i { font-style: normal; font-size: 14px; font-weight: 700; margin-left: 6px; letter-spacing: 0; }
.poster-pic { padding: 12px 20px 20px; }
.poster-pic .pic { background: #fff; border-radius: var(--r-m); aspect-ratio: 16/10; }
.poster-pic .pic img { padding: 10px; }
.poster-pic .pic svg { width: 46%; height: 80%; }
.poster:hover .poster-band { background: var(--vermelho-esc); }

/* Abertura da seção */
.cat-hero { color: #fff; background: var(--c); border-radius: var(--r-l); padding: 24px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.cat-hero::before { content: ""; position: absolute; inset: -60%; background: repeating-conic-gradient(from 0deg at 80% 50%, rgba(255, 255, 255, .06) 0 8deg, transparent 8deg 18deg); pointer-events: none; }
.cat-hero > * { position: relative; min-width: 0; }
.back { color: #fff; font-weight: 800; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.cat-hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; margin-top: 8px; }
.cat-hero p { font-size: 18px; font-weight: 600; margin-top: 6px; max-width: 46ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 40px; padding: 7px 14px; border-radius: 99px; background: #fff; border: 1.5px solid var(--linha); font-weight: 800; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.empty { background: #fff; border-radius: var(--r-m); padding: 28px 22px; }
.empty b { font: 800 19px/1.2 var(--font-display); display: block; margin-bottom: 4px; }

/* Botões de mídia */
.media-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: 99px; font: 800 15px/1.1 var(--font-display); text-decoration: none; border: 0; }
.mbtn:hover { filter: brightness(.93); }
.mbtn.ig { background: linear-gradient(45deg, #F9A825, #E4003F 45%, #A0239E 90%); color: #fff; }
.mbtn.yt { background: #D70000; color: #fff; }
.mbtn.wa { background: #0E7C3A; color: #fff; }
.mbtn.ghost { background: #fff; color: var(--tinta); border: 1.5px solid var(--linha); }
.media-row.compact .mbtn { flex: 1 1 auto; padding: 8px 12px; font-size: 14px; gap: 6px; }
@media (min-width: 720px) { .media-row.compact .mbtn { flex: 0 0 auto; padding: 10px 16px; font-size: 15px; } }

/* Faixa da academia */
.gym { background: var(--noite); color: #fff; border-radius: var(--r-l); padding: 28px 24px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.gym h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; }
.gym h2 em { font-style: normal; color: var(--amarelo); }
.gym p { margin-top: 10px; max-width: 54ch; font-size: 17px; }
.gym-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.gym-steps li { counter-increment: s; background: rgba(255, 255, 255, .08); border-radius: var(--r-m); padding: 12px 14px 12px 56px; position: relative; min-height: 58px; }
.gym-steps li::before { content: counter(s); position: absolute; left: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--amarelo); color: var(--tinta); display: grid; place-items: center; font: 800 17px/1 var(--font-display); }
.gym-steps b { display: block; font: 800 16px/1.2 var(--font-display); }
.gym-steps span { font-size: 14px; }
@media (min-width: 860px) { .gym { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 40px; align-items: center; } }

/* Canais */
.channels { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.channel { background: #fff; border-radius: var(--r-m); padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.channel h3 { font-size: 19px; font-weight: 800; }
.channel p { color: var(--suave); font-size: 15px; flex: 1; }

/* Sugestões */
.voice { background: #fff; border-radius: var(--r-l); padding: 26px 22px; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); border: 3px solid var(--amarelo); }
@media (min-width: 860px) { .voice { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); padding: 36px; gap: 40px; } }
.voice h2 { font-size: clamp(26px, 3.8vw, 38px); font-weight: 800; }
.voice-lead { margin-top: 10px; font-size: 17px; }
.private { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-s); background: var(--fundo); font-size: 14px; font-weight: 700; }
.private .ico { color: var(--azul); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label, .legend { font-weight: 800; font-size: 14px; padding: 0; }
.field small { color: var(--suave); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; border: 1.5px solid #AEB6CF; border-radius: var(--r-s); padding: 10px 12px; background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--azul-vivo); outline-offset: 0; border-color: var(--azul-vivo); box-shadow: none; }
.field .err { color: var(--vermelho-esc); font-size: 13px; font-weight: 700; }
.field.bad input, .field.bad textarea, .field.bad select { border-color: var(--vermelho); }
.form { display: grid; gap: 14px; }
.two { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1.5px solid #AEB6CF; border-radius: 99px; font-weight: 700; font-size: 14px; }
.opt input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--amarelo); outline-offset: 2px; }
.stars { display: flex; gap: 2px; margin-top: 4px; }
.stars button { width: 44px; height: 44px; background: none; border: 0; color: #B6BDD3; display: grid; place-items: center; border-radius: 8px; }
.stars button.on { color: #F5A800; }
.stars .ico { width: 28px; height: 28px; }
.hp { position: absolute; left: -9999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border: 0; border-radius: 99px; background: var(--vermelho); color: #fff; font: 800 16px/1.1 var(--font-display); text-decoration: none; }
.btn:hover { background: var(--vermelho-esc); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.blue { background: var(--azul); }
.btn.blue:hover { background: var(--noite); }
.btn.line { background: #fff; color: var(--tinta); border: 1.5px solid #AEB6CF; }
.btn.line:hover { background: var(--fundo); }
.btn.small { min-height: 42px; padding: 8px 14px; font-size: 14px; }
.btn.wide { width: 100%; }
.okbox { background: #E5F6EC; border-radius: var(--r-m); padding: 18px; }
.okbox b { font: 800 19px/1.2 var(--font-display); display: block; margin-bottom: 4px; }

/* Onde estamos e perguntas */
.info { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .info { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.panel { background: #fff; border-radius: var(--r-m); padding: 22px; }
.panel h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.facts { display: grid; gap: 12px; margin: 0; }
.facts dt { font-weight: 800; font-size: 13px; color: var(--suave); }
.facts dd { margin: 0; font-weight: 700; }
details { border-top: 1px solid var(--linha); }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 800; padding: 12px 0; list-style-position: outside; }
details p { padding-bottom: 14px; color: var(--suave); }

/* Rodapé */
.foot { margin-top: 44px; background: var(--noite); color: #fff; border-radius: var(--r-l) var(--r-l) 0 0; padding-block: 36px 110px; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot h3 { font-size: 15px; font-weight: 800; color: var(--amarelo); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot li a { display: inline-block; padding: 5px 0; color: #fff; }
.foot-note { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 13px; color: #C6CEEA; }

/* Flutuantes */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 25; width: 58px; height: 58px; border-radius: 50%; background: var(--zap); color: #06381A; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(11, 20, 55, .3); }
.fab .ico { width: 30px; height: 30px; }
.order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 24; background: var(--noite); padding: 10px 88px calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.order-bar button { width: 100%; }
@media (min-width: 860px) { .order-bar { display: none; } }

/* Diálogos */
dialog { border: 0; padding: 0; color: var(--tinta); background: #fff; }
dialog::backdrop { background: rgba(10, 26, 92, .55); }
.sheet { width: min(100%, 460px); max-width: 100%; height: 100%; max-height: 100%; margin: 0 0 0 auto; overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(24px); } to { transform: none; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--linha); }
.sheet-head h2 { font-size: 21px; font-weight: 800; }
.sheet-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.sheet-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linha); display: grid; gap: 10px; }
.x { width: 44px; height: 44px; background: var(--fundo); border: 0; border-radius: 50%; display: grid; place-items: center; flex: none; }
.line-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linha); }
.line-item .pic { border-radius: 8px; background: var(--fundo); }
.line-item b { display: block; font-size: 14px; line-height: 1.2; }
.line-item small { color: var(--suave); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font: 800 22px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.small-note { font-size: 13px; color: var(--suave); }
.modal { width: min(calc(100% - 24px), 560px); max-height: calc(100% - 24px); border-radius: var(--r-l); overflow: auto; }
.prod { position: relative; padding: 18px; display: grid; gap: 12px; }
.prod .x { position: absolute; right: 12px; top: 12px; z-index: 3; }
.prod .pic { background: #fff; aspect-ratio: 16/11; }
.prod > .pic img { padding: 8px; }
.prod > .pic { max-height: 280px; }
.prod .pic svg { width: 44%; height: 80%; }
.prod h2 { font-size: 26px; font-weight: 800; padding-right: 8px; }
.prod .price { font-size: 32px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 800; font-size: 14px; max-width: calc(100% - 32px); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Painel do mercado */
.adm-top { background: var(--noite); color: #fff; }
.adm-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.adm-top svg.logo-svg { height: 42px; width: auto; }
.login svg.logo-svg { display: block; height: 50px; width: 164px; }
.adm-tabs { background: #fff; border-bottom: 1px solid var(--linha); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.adm-tabs .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; min-height: 50px; padding: 8px 14px; background: none; border: 0; border-bottom: 3px solid transparent; font: 800 15px/1 var(--font-display); display: inline-flex; align-items: center; gap: 6px; }
.tab[aria-selected="true"] { border-color: var(--vermelho); color: var(--azul); }
.badge { background: var(--vermelho); color: #fff; border-radius: 99px; min-width: 20px; padding: 2px 6px; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.adm-main { padding-block: 22px 60px; }
.adm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.adm-head h1 { font-size: 28px; font-weight: 800; }
.adm-head p { color: var(--suave); font-size: 15px; }
.adm-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; }
.adm-tools input, .adm-tools select { min-height: 44px; border: 1.5px solid #AEB6CF; border-radius: var(--r-s); padding: 8px 12px; background: #fff; max-width: 100%; }
.row { background: #fff; border-radius: var(--r-m); padding: 12px; display: grid; gap: 10px 14px; grid-template-columns: 72px minmax(0, 1fr); align-items: center; margin-bottom: 8px; }
.row .pic { background: var(--fundo); border-radius: 10px; }
.row h3 { font: 800 16px/1.2 var(--font-body); letter-spacing: 0; }
.row-meta { color: var(--suave); font-size: 13px; }
.row-price { font: 800 18px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.row-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.state { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--fundo); white-space: nowrap; }
.state.good { background: #DDF4E5; color: #0B5D2E; }
.state.warn { background: #FFF1C2; color: #6B4A00; }
.state.bad { background: var(--rosa); color: var(--vermelho-esc); }
@media (min-width: 860px) {
  .row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .row-actions { grid-column: auto; justify-content: flex-end; }
}
.ticket { background: #fff; border-radius: var(--r-m); padding: 16px; margin-bottom: 10px; display: grid; gap: 8px; }
.ticket-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ticket-head b { font: 800 17px/1.2 var(--font-display); }
.ticket ul { margin: 0; padding-left: 18px; font-size: 15px; }
.ticket blockquote { margin: 0; font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.kpis { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.kpi { background: #fff; border-radius: var(--r-s); padding: 8px 14px; font-size: 14px; font-weight: 700; }
.kpi b { font: 800 20px/1 var(--font-display); margin-right: 4px; font-variant-numeric: tabular-nums; }
.login { max-width: 420px; margin: 8vh auto; background: #fff; border-radius: var(--r-l); padding: 26px; box-shadow: var(--sombra); }
.login h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.photo-field { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; }
.photo-field .pic { background: var(--fundo); border-radius: 12px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.check input { width: 22px; height: 22px; accent-color: var(--azul); }
.adm-modal { width: min(calc(100% - 16px), 640px); max-height: calc(100% - 16px); border-radius: var(--r-l); }
.adm-modal[open] { display: flex; flex-direction: column; overflow: hidden; }
.section-card { background: #fff; border-radius: var(--r-m); padding: 18px; margin-bottom: 12px; }
.section-card h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.quick { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quick-btn { text-align: left; min-height: 84px; padding: 16px 18px; border: 1.5px solid var(--linha); border-radius: var(--r-m); background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.quick-btn b { font: 800 18px/1.15 var(--font-display); }
.quick-btn span { color: var(--suave); font-size: 14px; }
.quick-btn:hover { border-color: var(--azul); }
.quick-btn.primary { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.quick-btn.primary span { color: #fff; }
.quick-btn.primary:hover { background: var(--vermelho-esc); }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 0; background: none; border: 0; font-weight: 800; color: var(--azul); text-align: left; }
.link-btn:hover { text-decoration: underline; }
.picker { max-height: 240px; overflow-y: auto; border: 1.5px solid #AEB6CF; border-radius: var(--r-s); padding: 4px; margin-top: 4px; }
.pick { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 8px; border-radius: 6px; font-weight: 700; font-size: 14px; line-height: 1.2; }
.pick:hover { background: var(--fundo); }
.pick input { width: 20px; height: 20px; flex: none; accent-color: var(--azul); }
.pick small { display: block; font-weight: 400; color: var(--suave); }
.more-opts { border-top: 1px solid var(--linha); }
.funnel { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 14px; }
.stage { background: #fff; border-radius: var(--r-m); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.stage span { font-weight: 800; font-size: 14px; }
.stage b { font: 800 34px/1.05 var(--font-display); font-variant-numeric: tabular-nums; }
.stage small { color: var(--suave); font-size: 13px; line-height: 1.25; }
.stage.good { background: #DDF4E5; }
.two-wide { display: grid; gap: 0 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .two-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: center; font-size: 14px; }
.bar-label { font-weight: 700; line-height: 1.2; }
.bars b { grid-row: 1; grid-column: 2; font-variant-numeric: tabular-nums; }
.bar-track { grid-column: 1 / -1; height: 8px; background: var(--fundo); border-radius: 4px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: var(--azul); border-radius: 0 4px 4px 0; }
