/* ===== 00 · Hero + "A loja ao vivo" (palco sticky com simulação) =====
   Prefixo av-. Só tokens de site.css; nada de hex novo. */

/* ---------- cena (fundo do hero + grade de pontos) ---------- */
.av-cena {
  position: relative;
  background: radial-gradient(ellipse 58% 46% at 84% 0%, rgba(var(--marca-rgb), .18), transparent 72%);
}
.av-cena::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 100svh; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .085) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent);
}
.av-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  column-gap: clamp(28px, 4vw, 72px); align-items: start;
}

/* ---------- hero ---------- */
.av-hero {
  grid-column: 1; grid-row: 1;
  min-height: min(100svh, 960px); padding: calc(96px + env(safe-area-inset-top, 0px)) 0 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.av-h1 { font-size: clamp(38px, 4vw, 60px); max-width: 15ch; margin: 0 0 22px; }
.av-h1 span { color: var(--acento-2); }
.av-lead { margin-bottom: 30px; max-width: 44ch; }
.av-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.av-provas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--texto-2); font-size: 15px; }
.av-provas li { display: flex; align-items: center; gap: 12px; }
.av-provas svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--acento); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- coluna do palco (sticky) ---------- */
.av-palco-col { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; padding-top: calc(98px + env(safe-area-inset-top, 0px)); }
/* largura derivada da altura da tela: o bloco mede ~ 370px + 0,625 × largura (cena 640:400 + cabeçalho + indicadores + rodapé + nota) */
.av-palco-fixo { position: sticky; top: 90px; width: min(100%, calc((100svh - 460px) / .625)); margin-left: auto; }
.av-palco {
  position: relative; padding: 14px; display: grid; gap: 12px;
  background: var(--superficie); font-size: 12px; line-height: 1.35;
}
.av-palco svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.av-nota { margin-top: 14px; }

/* cabeçalho */
.av-palco-topo { display: flex; align-items: center; gap: 12px; min-height: 24px; }
.av-palco-loja { color: var(--texto-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-relogio { margin-left: auto; font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--texto-2); }

/* indicadores */
.av-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.av-kpi {
  background: rgba(255, 255, 255, .03); border: 1px solid var(--linha); border-radius: var(--raio-md);
  padding: 10px 12px 9px; display: grid; gap: 2px; align-content: start; min-width: 0;
  transition: border-color .35s, box-shadow .35s, opacity .35s;
}
.av-kpi-rotulo { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--texto-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-kpi-valor { font: 500 26px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--texto); display: inline-block; transform-origin: left center; }
.av-kpi-valor.av-pop { animation: av-pop .5s var(--ease); }
@keyframes av-pop { 0% { transform: scale(1); } 35% { transform: scale(1.16); color: var(--acento-2); } 100% { transform: scale(1); } }
.av-kpi-sub { font-size: 12px; color: var(--texto-3); }
.av-kpi-sub--b { display: none; color: var(--acento-2); }
.av-palco[data-passo="4"] .av-kpi-sub--a { display: none; }
.av-palco[data-passo="4"] .av-kpi-sub--b { display: block; }

/* foco por passo */
.av-foco { border-color: rgba(var(--acento-rgb), .65) !important; box-shadow: 0 0 0 3px rgba(var(--acento-rgb), .16), inset 0 0 40px rgba(var(--marca-rgb), .14) !important; }
.av-palco:not([data-passo="0"]) :is(.av-kpi, .av-tablet, .av-telao, .av-fone, .av-integra, .av-fat):not(.av-foco) { opacity: .74; }

/* ---------- vista: maquete + sobreposições ---------- */
.av-vista { position: relative; container-type: inline-size; }
@container (max-width: 600px) { /* palco estreito: painéis mais baixos para não cobrir o balcão */
  .av-telao-topo span { display: none; }
  .av-fila, .av-placar { height: 96px; }
  .av-fila li, .av-placar li { height: 22px; transform: translateY(calc(var(--i, 0) * 24px)); }
}
.av-chao {
  position: relative; aspect-ratio: 640 / 400; border-radius: var(--raio-md); overflow: hidden;
  background: var(--fundo); border: 1px solid var(--linha); --k: 1;
}
.av-svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; }
.av-sv-grade { fill: none; stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.av-sv-salao { fill: rgba(255, 255, 255, .03); }
.av-sv-calcada { fill: rgba(255, 255, 255, .018); }
.av-sv-meio-fio { stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; }
.av-sv-piso { stroke: rgba(255, 255, 255, .05); stroke-dasharray: 10 14; }
.av-sv-vaso { fill: rgba(34, 197, 94, .22); stroke: rgba(34, 197, 94, .45); }
.av-sv-araras { fill: rgba(var(--acento-rgb), .1); stroke: rgba(var(--acento-rgb), .45); stroke-width: 1.4; stroke-linecap: round; }
.av-sv-expositor { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .18); stroke-width: 1.3; }
.av-sv-caixa { fill: var(--superficie-2); stroke: rgba(var(--acento-rgb), .5); stroke-width: 1.4; transition: stroke .4s, filter .4s; }
.av-sv-parede { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 2.5; }
.av-sv-vidro { stroke: rgba(var(--acento-rgb), .28); stroke-width: 5; stroke-linecap: round; }
.av-sv-batente { fill: var(--acento); }
.av-sv-cone { fill: url(#av-cone-g); opacity: .5; transition: opacity .4s; }
.av-sv-cone-a { stop-color: var(--acento); stop-opacity: .55; }
.av-sv-cone-b { stop-color: var(--acento); stop-opacity: .04; }
.av-sv-linha { stroke: var(--acento); stroke-width: 2; stroke-dasharray: 7 5; stroke-linecap: round; transition: stroke-width .3s; }
.av-sv-linha-glow { fill: var(--acento); fill-opacity: 0; }
.av-chao.av-cruzou .av-sv-linha { animation: av-linha .7s var(--ease); }
.av-chao.av-cruzou .av-sv-linha-glow { animation: av-linha-glow .7s var(--ease); }
@keyframes av-linha { 0%, 100% { stroke-width: 2; } 40% { stroke-width: 5; stroke: var(--acento-suave); } }
@keyframes av-linha-glow { 0%, 100% { fill-opacity: 0; } 40% { fill-opacity: .45; } }
.av-sv-cam { fill: var(--superficie-2); stroke: var(--acento-2); stroke-width: 1.4; }
.av-sv-cam circle { fill: var(--acento); }
.av-palco[data-passo="1"] .av-sv-cone { opacity: 1; }
.av-palco[data-passo="1"] .av-sv-linha { stroke-width: 3; }
.av-palco[data-passo="1"] .av-rotulo--porta, .av-palco[data-passo="1"] .av-rotulo--cam { color: var(--acento-2); }
.av-palco[data-passo="3"] .av-sv-caixa { stroke: var(--acento-2); }
.av-palco[data-passo="3"] .av-rotulo--caixa { color: var(--acento-2); }

.av-rotulo { position: absolute; font-size: 12px; color: var(--texto-3); white-space: nowrap; pointer-events: none; transition: color .4s; }
.av-rotulo--caixa { left: 81.5%; top: 53.5%; line-height: 1; color: var(--acento-2); opacity: .85; }
.av-rotulo--cam { left: 63.5%; top: 60.5%; }
.av-rotulo--porta { right: 60%; top: 69.5%; }
.av-rotulo--calcada { left: 2.5%; bottom: 3%; opacity: .8; }

/* camada dos que se movem */
.av-camada { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.av-p { position: absolute; left: 0; top: 0; width: max(10px, calc(var(--k) * 16px)); height: max(19px, calc(var(--k) * 30px)); will-change: transform; --cor: var(--texto-2); }
.av-p::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -2px; height: 4px; border-radius: 50%; background: rgba(0, 0, 0, .5); }
.av-p-fig { position: absolute; inset: 0; }
.av-p-cabeca { position: absolute; left: 50%; top: 0; width: 60%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: var(--cor); box-shadow: inset 0 0 0 20px rgba(255, 255, 255, .22); }
.av-p-corpo { position: absolute; left: 0; right: 0; top: 50%; bottom: 0; border-radius: 45% 45% 30% 30%; background: var(--cor); }
.av-p.av-anda .av-p-fig { animation: av-bob .42s ease-in-out infinite alternate; }
@keyframes av-bob { from { transform: translateY(0); } to { transform: translateY(-1.5px); } }
.av-p--vend { width: max(18px, calc(var(--k) * 22px)); height: max(32px, calc(var(--k) * 40px)); z-index: 2; }
.av-p--vend .av-p-cabeca { width: 72%; background: var(--tom, var(--acento)); box-shadow: 0 0 0 2px var(--fundo); display: grid; place-items: center; font: 700 max(12px, calc(var(--k) * 12px)) / 1 var(--font-sans); color: var(--fundo-2); font-style: normal; }
.av-p--vend .av-p-corpo { top: 58%; background: rgba(255, 255, 255, .25); border-top: 2px solid var(--tom, var(--acento)); }
.av-p--equipe .av-p-corpo { background: var(--marca); }
.av-p--equipe .av-p-cabeca { background: var(--acento-suave); box-shadow: none; }
.av-p--foco .av-p-cabeca { box-shadow: inset 0 0 0 20px rgba(255, 255, 255, .22), 0 0 0 2px var(--fundo), 0 0 0 3.5px var(--acento); }

/* selos flutuantes (chips) */
.av-chip {
  position: absolute; left: 0; top: 0; z-index: 4; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; pointer-events: none; transform: translate(-50%, -100%);
  animation: av-chip var(--dur, 2.2s) var(--ease) forwards; will-change: transform, opacity;
  background: var(--fundo-2); color: var(--texto-2); border-color: var(--linha-forte); box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.av-chip svg { width: 13px; height: 13px; flex: none; }
.av-chip--visita { background: var(--marca); color: #fff; border-color: var(--acento); }
.av-chip--grupo { background: rgba(var(--acento-rgb), .22); color: var(--acento-suave); border-color: rgba(var(--acento-rgb), .55); }
.av-chip--equipe { background: rgba(var(--acento-rgb), .14); color: var(--acento-2); border-color: rgba(var(--acento-rgb), .4); }
.av-chip--nao { background: var(--ambar-suave); color: var(--ambar); border-color: rgba(245, 158, 11, .35); }
.av-chip--venda { background: var(--verde-suave); color: var(--verde); border-color: rgba(34, 197, 94, .35); }
.av-chip--fala { font-weight: 500; }
@keyframes av-chip {
  0% { opacity: 0; transform: translate(-50%, -100%) translateY(6px) scale(.92); }
  12% { opacity: 1; transform: translate(-50%, -100%) translateY(0) scale(1); }
  78% { opacity: 1; transform: translate(-50%, -100%) translateY(-8px); }
  100% { opacity: 0; transform: translate(-50%, -100%) translateY(-18px); }
}

/* tablet · Lista da Vez */
.av-tablet, .av-telao {
  position: absolute; top: 4.5%; width: 27%; padding: 8px; border-radius: 10px;
  background: var(--fundo-2); border: 1px solid var(--linha-forte);
  box-shadow: 0 0 0 3px var(--superficie-2), 0 14px 34px rgba(0, 0, 0, .45);
  transition: box-shadow .35s, border-color .35s, opacity .35s;
}
.av-tablet { left: 2.2%; }
.av-telao { right: 2.2%; border-radius: 6px; }
.av-tablet-topo, .av-telao-topo { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--acento-2); margin-bottom: 6px; white-space: nowrap; }
.av-tablet-topo svg, .av-telao-topo svg { width: 14px; height: 14px; flex: none; }
.av-telao-topo span { margin-left: auto; font-weight: 500; color: var(--texto-3); }
.av-fila, .av-placar { list-style: none; margin: 0; padding: 0; position: relative; height: 120px; }
.av-fila li, .av-placar li {
  position: absolute; left: 0; right: 0; top: 0; height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 6px;
  border-radius: 7px; font-size: 12px; color: var(--texto);
  transform: translateY(calc(var(--i, 0) * 30px)); transition: transform .55s var(--ease), background .3s, opacity .3s;
}
.av-fila li.av-vez { background: rgba(var(--acento-rgb), .18); }
.av-fila li.av-ocupada { opacity: .62; }
.av-av { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--fundo-2); background: var(--tom, var(--acento)); }
.av-nome { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-fila-est { margin-left: auto; font-size: 12px; color: var(--texto-3); white-space: nowrap; }
.av-fila li.av-vez .av-fila-est { color: var(--acento-2); font-weight: 600; }

/* telão · jogo */
.av-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.av-bar i { display: block; height: 100%; border-radius: 3px; background: var(--tom, var(--acento)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
.av-pts { font-weight: 600; min-width: 14px; text-align: right; }
.av-estrela { position: absolute; right: 2px; top: -4px; width: 16px; height: 16px; opacity: 0; color: var(--ambar); }
.av-estrela svg { width: 100%; height: 100%; fill: var(--ambar); stroke: none; }
.av-placar li::before, .av-placar li::after { content: ''; position: absolute; right: 16px; top: 8px; width: 4px; height: 4px; border-radius: 50%; opacity: 0; background: var(--acento); }
.av-placar li::after { right: 28px; background: var(--verde); }
.av-placar li.av-brilha { animation: av-flash 1s var(--ease); }
.av-placar li.av-brilha .av-estrela { animation: av-estrela 1s var(--ease); }
.av-placar li.av-brilha::before { animation: av-confete-a .9s ease-out; }
.av-placar li.av-brilha::after { animation: av-confete-b .9s ease-out; }
@keyframes av-flash { 0% { background: rgba(var(--acento-rgb), 0); } 25% { background: rgba(var(--acento-rgb), .3); } 100% { background: rgba(var(--acento-rgb), 0); } }
@keyframes av-estrela { 0% { opacity: 0; transform: scale(.3) translateY(4px); } 30% { opacity: 1; transform: scale(1.35) translateY(-5px) rotate(12deg); } 100% { opacity: 0; transform: scale(1) translateY(-16px) rotate(-8deg); } }
@keyframes av-confete-a { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(-10px, -16px); } }
@keyframes av-confete-b { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(8px, -18px); } }

/* ---------- rodapé do palco: faturamento · integração · WhatsApp ---------- */
.av-rodape-palco { display: grid; grid-template-columns: 1.35fr 1fr .95fr; grid-auto-rows: 158px; gap: 10px; align-items: stretch; }
.av-rodape-palco > * { overflow: hidden; }
.av-fat, .av-integra {
  border: 1px solid var(--linha); border-radius: var(--raio-md); padding: 12px 14px; background: rgba(255, 255, 255, .03);
  display: grid; gap: 4px; align-content: start; min-width: 0; transition: border-color .35s, box-shadow .35s, opacity .35s;
}
.av-fat-rotulo, .av-integra-rotulo { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--texto-3); }
.av-fat-valor { font: 500 28px/1.1 var(--font-display); letter-spacing: -.02em; }
.av-fat-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--texto-3); margin-top: 2px; }
.av-fat-meta > span:first-child { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-fat-meta svg { width: 13px; height: 13px; flex: none; stroke: var(--acento); }
.av-fat-meta b { color: var(--texto-2); font-weight: 600; }
.av-barra { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 4px; }
.av-barra i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--marca), var(--acento)); transform-origin: left; transform: scaleX(var(--p, .65)); transition: transform .9s var(--ease); }
.av-fat.av-batida .av-barra i { background: var(--verde); }
.av-fat.av-batida .av-fat-meta { color: var(--verde); }

.av-integra { position: relative; }
.av-integra-rotulo { text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--texto); }
.av-integra-fluxo { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.av-integra-seta { width: 16px; height: 16px; stroke: var(--acento); }
.av-integra-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--linha-forte); color: var(--texto-2); flex: none; }
.av-integra-ic svg { width: 18px; height: 18px; }
.av-integra-ic--bv { position: relative; background: rgba(var(--marca-rgb), .2); border-color: rgba(var(--acento-rgb), .5); }
.av-integra-ic--bv img { width: 22px; height: 22px; border-radius: 5px; }
.av-integra-ic--bv::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--acento); opacity: 0; }
.av-integra.av-pulsa .av-integra-ic--bv::after { animation: av-anel .9s ease-out; }
@keyframes av-anel { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }
.av-integra-sub { font-size: 12px; color: var(--texto-3); }

/* nota que voa do caixa para a integração */
.av-nota-voa {
  position: absolute; z-index: 6; left: 0; top: 0; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 8px; background: var(--fundo-2); border: 1px solid rgba(var(--acento-rgb), .6);
  color: var(--texto); font-size: 12.5px; font-weight: 600; box-shadow: 0 10px 28px rgba(0, 0, 0, .5); pointer-events: none;
  transform: translate(-50%, -50%); animation: av-nota-surge .35s var(--ease);
  transition: transform .95s cubic-bezier(.55, 0, .25, 1), opacity .3s .7s; will-change: transform, opacity;
}
.av-nota-voa svg { width: 14px; height: 14px; stroke: var(--acento-2); }
.av-nota-voa.av-voando { opacity: 0; }
@keyframes av-nota-surge { from { opacity: 0; transform: translate(-50%, -50%) translateY(8px) scale(.8); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* celular (WhatsApp) */
.av-fone { border-radius: 18px; background: var(--fundo-2); border: 1px solid var(--linha-forte); padding: 6px; overflow: hidden; min-width: 0; transition: border-color .35s, box-shadow .35s, opacity .35s; }
.av-fone-tela { height: 100%; display: flex; flex-direction: column; border-radius: 13px; overflow: hidden; }
.av-fone .wpp-topo { flex: none; padding: 7px 10px; gap: 8px; font-size: 12px; line-height: 1.25; }
.av-fone .wpp-topo small { font-size: 12px; }
.av-fone .wpp-avatar { width: 26px; height: 26px; background: transparent; }
.av-fone .wpp-avatar img { width: 26px; height: 26px; }
.av-fone .wpp-conversa { flex: 1; min-height: 94px; padding: 8px; gap: 6px; align-content: end; overflow: hidden; }
.av-fone .bolha { font-size: 12px; line-height: 1.4; padding: 6px 8px 17px; max-width: 100%; animation: av-bolha .4s var(--ease); }
.av-fone .bolha b { font-weight: 600; }
.av-fone .bolha .hora { font-size: 12px; bottom: 3px; display: inline-flex; align-items: center; gap: 3px; }
.av-fone .bolha .hora svg { width: 14px; height: 14px; stroke: var(--info); stroke-width: 2.2; }
@keyframes av-bolha { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- passos (storytelling à esquerda) ---------- */
.av-secao { grid-column: 1; grid-row: 2; }
.av-secao > .lead { margin-bottom: clamp(40px, 8vh, 90px); }
.av-titulo { max-width: 14ch; }
.av-passos { position: relative; }
.av-passo {
  position: relative; min-height: 58svh; display: flex; flex-direction: column; justify-content: center;
  padding: 6vh 0 6vh 30px; opacity: .38; transition: opacity .5s var(--ease);
}
.av-passo::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--linha); }
.av-passo::after {
  content: ''; position: absolute; left: -4px; top: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--texto-3); transform: translateY(-50%) scale(.8); transition: background .4s, box-shadow .4s, transform .4s var(--ease);
}
.av-passo:last-child { margin-bottom: clamp(60px, 16vh, 180px); } /* o palco segue preso enquanto o último passo está no centro */
.av-passo.av-ativo { opacity: 1; }
.av-passo.av-ativo::before { background: linear-gradient(180deg, transparent, var(--acento) 30%, var(--acento) 70%, transparent); }
.av-passo.av-ativo::after { background: var(--acento); transform: translateY(-50%) scale(1.15); box-shadow: 0 0 0 6px rgba(var(--acento-rgb), .18); }
.av-passo .sobretitulo { margin-bottom: 10px; }
.av-passo h2 { font-size: clamp(26px, 2.5vw, 38px); margin-bottom: 14px; max-width: 18ch; }
.av-passo p:not(.sobretitulo) { color: var(--texto-2); font-size: clamp(16px, 1.25vw, 18px); max-width: 44ch; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .av-kpi-valor { font-size: 22px; }
  .av-fat-valor { font-size: 24px; }
}
@media (max-width: 960px) {
  .av-grid { grid-template-columns: 1fr; }
  .av-hero { grid-column: 1; grid-row: 1; min-height: 0; padding: calc(104px + env(safe-area-inset-top, 0px)) 0 32px; }
  .av-palco-col { grid-column: 1; grid-row: 2; padding-top: 0; }
  .av-palco-fixo { position: static; width: 100%; }
  .av-secao { grid-column: 1; grid-row: 3; }
  .av-passo { min-height: 0; opacity: 1; padding: 22px 0 22px 24px; }
  .av-secao > .lead { margin-bottom: 36px; }
  .av-palco:not([data-passo="0"]) :is(.av-kpi, .av-tablet, .av-telao, .av-fone, .av-integra, .av-fat):not(.av-foco) { opacity: 1; }
}
@media (max-width: 640px) {
  .av-palco { padding: 12px; gap: 10px; }
  .av-kpis { grid-template-columns: 1fr 1fr; }
  .av-vista { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .av-chao { grid-column: 1 / -1; }
  .av-tablet, .av-telao { position: static; width: auto; box-shadow: none; }
  .av-rotulo--porta, .av-rotulo--calcada { display: none; }
  .av-rodape-palco { grid-template-columns: 1fr 1fr; }
  .av-fat { grid-column: 1 / -1; }
  .av-palco-loja { display: none; }
}
@media (max-width: 480px) {
  .av-hero { padding-top: calc(156px + env(safe-area-inset-top, 0px)); } /* o topo quebra em duas linhas nesta largura */
}
@media (max-width: 400px) {
  .av-rodape-palco { grid-template-columns: 1fr; }
  .av-fone .wpp-conversa { min-height: 70px; }
}

@media (max-height: 820px) and (min-width: 961px) { /* laptop baixo: palco compacto */
  .av-palco-fixo { width: min(100%, calc((100svh - 410px) / .625)); }
  .av-palco { gap: 8px; padding: 12px; }
  .av-kpi { padding: 6px 10px 5px; }
  .av-kpi-valor { font-size: 22px; }
  .av-rodape-palco { grid-auto-rows: 122px; }
  .av-fat, .av-integra { padding: 10px 12px; }
  .av-fat-valor { font-size: 22px; }
  .av-fone .wpp-conversa { min-height: 0; }
  .av-fone { position: relative; z-index: 3; height: 162px; margin-top: -40px; } /* o celular sobe sobre o canto do palco */
  .av-integra-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .av-nota { margin-top: 8px; font-size: 13px; }
}

/* ---------- menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .av-passo, .av-kpi, .av-tablet, .av-telao, .av-fone, .av-integra, .av-fat, .av-fila li, .av-placar li, .av-bar i, .av-barra i, .av-rotulo, .av-sv-cone, .av-sv-caixa { transition: none; }
  .av-chip, .av-p.av-anda .av-p-fig, .av-fone .bolha, .av-kpi-valor.av-pop, .av-nota-voa, .av-placar li.av-brilha, .av-placar li.av-brilha .av-estrela, .av-placar li.av-brilha::before, .av-placar li.av-brilha::after, .av-chao.av-cruzou .av-sv-linha, .av-chao.av-cruzou .av-sv-linha-glow { animation: none; }
  .av-chip { opacity: 1; transform: translate(-50%, -100%); }
}
