/* Lineup · Surf Scream — vidro escuro, pôr do sol e maré */
:root {
  --bg: #07060D;
  --bg-2: #0E0C18;
  --ink: #F5F3FB;
  --muted: #A19EB5;
  --dim: #66637A;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --glass: rgba(22, 20, 36, .55);
  --glass-hi: rgba(255, 255, 255, .06);
  --violet: #8B6CFF;
  --violet-2: #B6A2FF;
  --pink: #FF5FA2;
  --orange: #FF8A3D;
  --sun: #FFC857;
  --mint: #4CF0B4;
  --rose: #FF5C77;
  --cyan: #3FD5FF;
  --verao: #FF8A3D;
  --outono: #A77BFF;
  --primavera: #3FD5FF;
  --inverno: #5D6684;
  --grad: linear-gradient(120deg, #8B6CFF 0%, #FF5FA2 55%, #FF8A3D 100%);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --nav-h: 76px;
  --side-w: 252px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- fundo ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.aurora .a1 { width: 60vmax; height: 60vmax; left: -22vmax; top: -26vmax; background: radial-gradient(circle, #3B2A8F 0%, transparent 65%); animation: flutua 26s ease-in-out infinite alternate; }
.aurora .a2 { width: 50vmax; height: 50vmax; right: -20vmax; bottom: -24vmax; background: radial-gradient(circle, #7A2E3F 0%, transparent 65%); animation: flutua 32s ease-in-out infinite alternate-reverse; opacity: .45; }
.aurora .a3 { width: 34vmax; height: 34vmax; right: 10vmax; top: -12vmax; background: radial-gradient(circle, #5A2A70 0%, transparent 70%); opacity: .35; animation: flutua 40s ease-in-out infinite alternate; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes flutua { to { transform: translate(6vmax, 4vmax) scale(1.08); } }

#app { position: relative; z-index: 1; min-height: 100vh; }

/* ---------- estrutura ---------- */
.shell { display: block; }
.side { display: none; }
.topo {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
  background: linear-gradient(180deg, rgba(7, 6, 13, .92), rgba(7, 6, 13, .6) 70%, transparent);
  backdrop-filter: blur(14px);
}
.marca { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .02em; font-size: 17px; }
.marca img, .marca svg { width: 32px; height: 32px; border-radius: 10px; }
.marca small { display: block; font-family: var(--font); font-weight: 600; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.topo .espaco { flex: 1; }
.conteudo { padding: 4px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); max-width: 1440px; margin: 0 auto; }

.chip-temporada {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  font-weight: 700; font-size: 13px; white-space: nowrap;
}
.chip-temporada select { appearance: none; background: transparent; border: 0; font-weight: 700; padding-right: 4px; outline: none; cursor: pointer; }
.chip-temporada option { background: #14121F; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; background: var(--grad); color: #0A0912; border: 0;
}

/* barra inferior (celular) */
.tabbar {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  height: var(--nav-h); border-radius: 26px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(16, 14, 28, .78); border: 1px solid var(--line-2); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .9);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--dim); letter-spacing: .02em; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.ativo { color: var(--ink); }
.tabbar a.ativo svg { color: var(--violet-2); filter: drop-shadow(0 0 10px rgba(139, 108, 255, .7)); }
.tabbar .fab {
  justify-self: center; width: 56px; height: 56px; border-radius: 20px; border: 0; color: #0A0912;
  background: var(--grad); display: grid; place-items: center; margin-top: -26px;
  box-shadow: 0 14px 34px -8px rgba(255, 95, 162, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.tabbar .fab svg { width: 26px; height: 26px; }

/* ---------- tipografia ---------- */
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
.titulo-pagina { font-family: var(--display); font-size: 26px; line-height: 1.1; letter-spacing: -.01em; margin: 6px 0 4px; }
.sub-pagina { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.cab-pagina { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.display { font-family: var(--display); letter-spacing: -.02em; }
.pos { color: var(--mint); }
.neg { color: var(--rose); }
.fraco { color: var(--muted); }
.mini { font-size: 12px; color: var(--muted); }

/* ---------- cartões ---------- */
.card {
  position: relative; border-radius: var(--r-xl); padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)),
    var(--glass);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 70px -40px rgba(0, 0, 0, .9);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  min-width: 0;
}
.card-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-cab h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-cab h3 svg { width: 18px; height: 18px; color: var(--muted); }
.link-mais { font-size: 12.5px; font-weight: 700; color: var(--violet-2); display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; }
.link-mais svg { width: 14px; height: 14px; }

.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.bento > * { min-width: 0; }
.faixa-rolagem { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.faixa-rolagem::-webkit-scrollbar { display: none; }
.faixa-rolagem > * { scroll-snap-align: start; flex: 0 0 auto; }

/* aviso de exemplo */
.aviso-exemplo {
  display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; margin-bottom: 14px;
  background: rgba(255, 200, 87, .07); border: 1px dashed rgba(255, 200, 87, .35); color: #FFE3A3; font-size: 12.5px;
}
.aviso-exemplo svg { width: 16px; height: 16px; flex: none; }
.aviso-exemplo button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .7; padding: 4px; }

/* ---------- HERO: maré da temporada ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: hidden; padding: 20px; }
.hero-num { min-width: 0; }
.hero-num b { overflow: hidden; text-overflow: ellipsis; }
.avatar { flex: none; }
.topo .marca small { white-space: nowrap; }
@media (max-width: 719px) {
  .hero .hero-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .hero-nums .hero-num:first-child { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; }
  .hero .hero-nums .hero-num:first-child b { font-size: 22px; }
}
@media (max-width: 400px) {
  .topo .marca small { display: none; }
  .chip-temporada { padding: 0 10px; font-size: 12.5px; }
}
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 108, 255, .28), transparent 60%); pointer-events: none;
}
.mare { position: relative; width: min(230px, 64vw); aspect-ratio: 1; margin: 0 auto; }
.mare svg { width: 100%; height: 100%; overflow: visible; }
.mare .centro { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.mare .pct { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.mare .pct small { font-size: 20px; }
.mare .rot { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-top: 6px; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.onda-a { animation: onda 7s linear infinite; }
.onda-b { animation: onda 11s linear infinite reverse; }
@keyframes onda { to { transform: translateX(-200px); } }
.hero-info { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero-meta { font-family: var(--display); font-size: clamp(34px, 9vw, 54px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.hero-meta span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero-num { padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.hero-num small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-num b { display: block; font-size: 17px; font-weight: 800; margin-top: 2px; white-space: nowrap; }
.hero-leitura { margin: 0; color: var(--muted); font-size: 13.5px; }
.hero-leitura b { color: var(--ink); }

/* ---------- colchão ---------- */
.colchao { display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.colchao .grande { font-family: var(--display); font-size: 64px; font-weight: 700; line-height: .9; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #8DF7CF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.colchao .frase { font-size: 14px; color: var(--muted); max-width: 30ch; }
.colchao .frase b { color: var(--ink); }
.fila-ingressos { display: flex; flex-wrap: wrap; gap: 6px; }
.fila-ingressos i {
  width: 22px; height: 30px; border-radius: 6px; display: block; position: relative;
  background: var(--c, var(--violet)); opacity: .9;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 4px, #000 4.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 4px, #000 4.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, transparent 4px, #000 4.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 4px, #000 4.5px) right / 51% 100% no-repeat;
}
.fila-ingressos i.feito { outline: 1.5px solid rgba(255, 255, 255, .7); outline-offset: 1px; }
.fila-ingressos i.folga { opacity: .22; background: #fff; }

/* ---------- curva ---------- */
.curva svg { width: 100%; height: auto; display: block; overflow: visible; }
.legenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }

/* ---------- blocos ---------- */
.bloco-card { width: min(300px, 80vw); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.bloco-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); opacity: .9; }
.bloco-card .glow { position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); pointer-events: none; }
.bloco-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.bloco-nome { font-family: var(--display); font-size: 20px; font-weight: 700; }
.bloco-meses { font-size: 12px; color: var(--muted); font-weight: 600; }
.anel { position: relative; width: 74px; height: 74px; flex: none; }
.anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anel b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.bloco-valores { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.bloco-valores b { font-size: 22px; font-weight: 800; }
.bloco-valores span { color: var(--muted); font-size: 13px; }
.necessario { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 14px; font-size: 12.5px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.necessario svg { width: 16px; height: 16px; flex: none; }
.necessario.ok svg { color: var(--mint); }
.necessario.ruim { background: rgba(255, 92, 119, .08); border-color: rgba(255, 92, 119, .3); }
.necessario.ruim svg { color: var(--rose); }
.bloco-rodape { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.pontos-eventos { display: flex; gap: 4px; }
.pontos-eventos i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.pontos-eventos i.r { background: var(--c); box-shadow: 0 0 8px var(--c); }
.pontos-eventos i.p { background: color-mix(in srgb, var(--c) 45%, transparent); }

/* ---------- ingresso (evento) ---------- */
.ingresso {
  --c: var(--violet); --corte: 82px;
  position: relative; display: grid; grid-template-columns: var(--corte) 1fr; min-height: 132px;
  border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, rgba(22, 20, 36, .8)), rgba(22, 20, 36, .75) 55%);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  -webkit-mask: radial-gradient(circle at var(--corte) 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--corte) 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at var(--corte) 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--corte) 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat;
  transition: transform .2s ease, border-color .2s;
}
.ingresso:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.ingresso .canhoto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-right: 2px dashed rgba(255, 255, 255, .14); padding: 10px 6px; }
.ingresso .dsem { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.ingresso .dia { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1.05; }
.ingresso .mes { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ingresso .corpo { padding: 13px 14px 12px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ingresso .linha1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ingresso h4 { font-size: 15.5px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ingresso .onde { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ingresso .linha3 { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.ingresso .linha3 small { display: block; font-size: 10.5px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.ingresso .linha3 b { font-size: 16px; font-weight: 800; }
.ingresso .selos { display: flex; gap: 5px; }
.selo { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.selo svg { width: 14px; height: 14px; }
.selo.alerta { color: var(--rose); background: rgba(255, 92, 119, .1); border-color: rgba(255, 92, 119, .3); }
.selo.parceria { color: var(--mint); }
.faixa-rolagem .ingresso { width: min(320px, 84vw); }

.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; background: rgba(255, 255, 255, .07); color: var(--ink); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.planejado { color: #C9C6DA; }
.pill.negociando { color: var(--sun); background: rgba(255, 200, 87, .1); }
.pill.confirmado { color: var(--cyan); background: rgba(63, 213, 255, .1); }
.pill.realizado { color: var(--mint); background: rgba(76, 240, 180, .1); }
.pill.cancelado { color: var(--rose); background: rgba(255, 92, 119, .1); }
.pill.sem-ponto::before { display: none; }
.dcont { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }

/* ---------- leitura ---------- */
.leitura-lista { display: flex; flex-direction: column; gap: 8px; }
.insight { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.insight .ic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; }
.insight .ic svg { width: 17px; height: 17px; }
.insight.alerta .ic { background: rgba(255, 92, 119, .12); color: var(--rose); }
.insight.info .ic { background: rgba(139, 108, 255, .14); color: var(--violet-2); }
.insight.bom .ic { background: rgba(76, 240, 180, .12); color: var(--mint); }
.insight h5 { margin: 1px 0 3px; font-size: 13.5px; font-weight: 800; line-height: 1.3; }
.insight p { margin: 0; font-size: 12.5px; color: var(--muted); }
.insight .link-mais { margin-top: 6px; }

/* ---------- parcerias ---------- */
.parcerias-barra { display: flex; gap: 4px; height: 34px; margin: 4px 0 10px; }
.parcerias-barra i { flex: 1; border-radius: 8px; background: rgba(255, 255, 255, .06); position: relative; }
.parcerias-barra i.sim { background: linear-gradient(180deg, var(--mint), #1FA77A); box-shadow: 0 0 14px rgba(76, 240, 180, .35); }
.parcerias-barra i.alvo::after { content: ""; position: absolute; right: -3px; top: -6px; bottom: -6px; width: 2px; background: #fff; border-radius: 2px; }

/* ---------- botões e formulários ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); font-weight: 700; font-size: 14px;
  transition: background .15s, transform .15s; white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .09); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn.prim { background: var(--grad); color: #0A0912; border: 0; box-shadow: 0 10px 30px -10px rgba(255, 95, 162, .7); }
.btn.perigo { color: var(--rose); border-color: rgba(255, 92, 119, .35); }
.btn.peq { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.btn.icone { width: 44px; padding: 0; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo label, .campo > span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.campo input, .campo select, .campo textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .25); outline: none; transition: border-color .15s, box-shadow .15s; font-size: 15px;
}
.campo textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.campo select option { background: #14121F; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 108, 255, .18); }
.campo .prefixo { position: relative; }
.campo .prefixo input { padding-left: 40px; }
.campo .prefixo::before { content: attr(data-p); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); font-weight: 700; font-size: 13px; }
.grade-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grade-campos .todo { grid-column: 1 / -1; }
.grupo-form { padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.grupo-form > h4 { font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.grupo-form > h4 svg { width: 16px; height: 16px; color: var(--violet-2); }

.alternar { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.alternar input { display: none; }
.alternar .trilho { width: 50px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .12); position: relative; transition: background .2s; flex: none; }
.alternar .trilho::after { content: ""; position: absolute; width: 24px; height: 24px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: transform .2s; }
.alternar input:checked + .trilho { background: var(--violet); }
.alternar input:checked + .trilho::after { transform: translateX(20px); }

.segmentos { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.segmentos::-webkit-scrollbar { display: none; }
.segmentos button { height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-weight: 700; font-size: 13px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.segmentos button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.segmentos button.ativo { background: #fff; color: #0A0912; border-color: #fff; }

/* ---------- modal / folha ---------- */
#camada:empty { display: none; }
.fundo-modal { position: fixed; inset: 0; z-index: 50; background: rgba(4, 3, 8, .62); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; animation: aparece .2s ease; }
.folha {
  width: 100%; max-height: 92vh; overflow: auto; border-radius: 28px 28px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #17142A, #0E0C18); border: 1px solid var(--line-2); border-bottom: 0;
  animation: sobe .28s cubic-bezier(.2, .9, .3, 1);
}
.folha .pegador { width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); margin: 2px auto 12px; }
.folha-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.folha-cab h3 { font-family: var(--display); font-size: 19px; }
.folha-corpo { display: flex; flex-direction: column; gap: 12px; }
.folha-acoes { position: sticky; bottom: -20px; display: flex; gap: 10px; justify-content: flex-end; padding: 14px 0 6px; margin-top: 8px; background: linear-gradient(180deg, transparent, #0E0C18 30%); }
@keyframes sobe { from { transform: translateY(40px); opacity: 0; } }
@keyframes aparece { from { opacity: 0; } }

.previa-calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.previa-calc div { padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.previa-calc small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.previa-calc b { font-size: 16px; }

/* ---------- toasts ---------- */
#toasts { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); top: calc(14px + env(safe-area-inset-top)); display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast { padding: 12px 16px; border-radius: 16px; background: rgba(24, 21, 40, .95); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; box-shadow: 0 20px 50px -20px #000; animation: sobe .25s ease; display: flex; gap: 10px; align-items: center; }
.toast svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.toast.erro svg { color: var(--rose); }

/* ---------- página do evento ---------- */
.evento-hero { overflow: hidden; padding: 20px; }
.evento-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%); pointer-events: none; }
.evento-hero .voltar { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; position: relative; }
.evento-hero .voltar svg { width: 16px; height: 16px; }
.evento-hero h1 { font-family: var(--display); font-size: clamp(24px, 6.4vw, 38px); line-height: 1.08; letter-spacing: -.02em; position: relative; }
.evento-hero .meta-linha { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; color: var(--muted); font-size: 13.5px; position: relative; }
.evento-hero .meta-linha span { display: inline-flex; align-items: center; gap: 6px; }
.evento-hero .meta-linha svg { width: 15px; height: 15px; }
.evento-hero .acoes { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; position: relative; }
.contagem { position: absolute; right: 20px; top: 20px; text-align: right; }
.contagem b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; }
.contagem small { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.comparativo { display: grid; grid-template-columns: 1fr; gap: 8px; }
.comp-linha { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.comp-linha span { font-weight: 700; font-size: 13.5px; }
.comp-linha small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-align: right; }
.comp-linha b { display: block; text-align: right; font-size: 15px; white-space: nowrap; }
.comp-linha.destaque { background: linear-gradient(90deg, rgba(76, 240, 180, .08), rgba(255, 255, 255, .02)); border-color: rgba(76, 240, 180, .25); }

/* régua do ponto de equilíbrio */
.regua { position: relative; margin: 34px 0 30px; }
.regua .trilha { height: 18px; border-radius: 10px; overflow: hidden; display: flex; background: rgba(255, 255, 255, .05); }
.regua .zona-prej { background: repeating-linear-gradient(-45deg, rgba(255, 92, 119, .28) 0 6px, rgba(255, 92, 119, .14) 6px 12px); }
.regua .zona-lucro { background: linear-gradient(90deg, rgba(76, 240, 180, .3), rgba(76, 240, 180, .55)); }
.regua .marca { position: absolute; top: -8px; bottom: -8px; width: 2px; background: #fff; border-radius: 2px; }
.regua .marca span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; }
.regua .marca.pe span { bottom: calc(100% + 4px); }
.regua .marca.pub { background: var(--violet-2); }
.regua .marca.pub span { top: calc(100% + 4px); color: var(--violet-2); }
.regua .marca.real { background: var(--mint); }
.regua .marca.real span { top: calc(100% + 4px); color: var(--mint); }
.regua-legenda { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; color: var(--dim); font-weight: 700; }
.regua-chaves { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.regua-chaves i { width: 10px; height: 3px; border-radius: 2px; display: inline-block; margin-left: 6px; }
.regua { margin-bottom: 14px; }

.checklist { display: flex; flex-direction: column; gap: 6px; }
.check { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); cursor: pointer; user-select: none; }
.check .caixa { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: all .15s; }
.check .caixa svg { width: 14px; height: 14px; opacity: 0; color: #0A0912; }
.check.feito .caixa { background: var(--mint); border-color: var(--mint); }
.check.feito .caixa svg { opacity: 1; }
.check.feito .txt { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.check .txt { font-size: 13.5px; font-weight: 600; }
.check .prazo { font-size: 11px; font-weight: 800; color: var(--dim); white-space: nowrap; }
.check.atrasado { border-color: rgba(255, 92, 119, .35); background: rgba(255, 92, 119, .06); }
.check.atrasado .prazo { color: var(--rose); }
.progresso-fino { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.progresso-fino i { display: block; height: 100%; background: var(--grad); border-radius: 3px; }

.solta-arquivo { border: 1.5px dashed var(--line-2); border-radius: 20px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: border-color .2s, background .2s; }
.solta-arquivo:hover, .solta-arquivo.sobre { border-color: var(--violet); background: rgba(139, 108, 255, .07); }
.solta-arquivo svg { width: 30px; height: 30px; color: var(--violet-2); }
.solta-arquivo b { font-size: 14px; }
.solta-arquivo input { display: none; }
.arquivo { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); cursor: pointer; }
.arquivo .xls { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(76, 240, 180, .12); color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.arquivo b { font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arquivo small { color: var(--muted); font-size: 12px; }

.extraidos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.extraido { padding: 12px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.extraido .orig { font-size: 11px; color: var(--muted); }
.extraido .orig b { color: var(--mint); font-weight: 700; }
.extraido { min-width: 0; }
.extraido input {
  width: 100%; min-width: 0; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .3); outline: none; font-size: 16px; font-weight: 700; appearance: textfield; -moz-appearance: textfield;
}
.extraido input::-webkit-inner-spin-button, .extraido input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.extraido input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 108, 255, .18); }
.tabela-planilha { overflow: auto; max-height: 340px; border-radius: 14px; border: 1px solid var(--line); }
.tabela-planilha table { border-collapse: collapse; font-size: 12px; min-width: 100%; }
.tabela-planilha td { padding: 6px 10px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); white-space: nowrap; }
.tabela-planilha tr td:first-child { color: var(--dim); text-align: right; background: rgba(255, 255, 255, .02); position: sticky; left: 0; }
.tabela-planilha tr.achado td { background: rgba(76, 240, 180, .08); }

.conflito { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13px; }
.conflito .tipo { font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--muted); }

/* ---------- calendário ---------- */
.cal-cab { display: flex; align-items: center; gap: 8px; }
.cal-cab h2 { font-family: var(--display); font-size: 22px; flex: 1; text-transform: capitalize; }
.cal-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-sem { text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; padding: 6px 0; }
.cal-dia {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: 12px; padding: 5px; border: 1px solid transparent;
  background: rgba(255, 255, 255, .025); display: flex; flex-direction: column; gap: 3px; cursor: pointer; overflow: hidden; text-align: left;
}
.cal-dia.fora { opacity: .25; }
.cal-dia.hoje { border-color: rgba(255, 255, 255, .5); }
.cal-dia.sel { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 108, 255, .25); }
.cal-dia .n { font-size: 12.5px; font-weight: 800; }
.cal-dia.fds .n { color: var(--violet-2); }
.cal-dia .estacao { position: absolute; left: 6px; right: 6px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--c); opacity: .5; }
.cal-dia.off { background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02) 0 5px, transparent 5px 10px); }
.cal-dia .meu { border-radius: 6px; background: var(--c); color: #0A0912; font-size: 9.5px; font-weight: 800; padding: 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 0 14px color-mix(in srgb, var(--c) 60%, transparent); }
.cal-dia .reg { display: flex; gap: 2px; flex-wrap: wrap; }
.cal-dia .reg i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.cal-dia .reg i.feriado { background: var(--sun); }
.cal-dia .calor { position: absolute; inset: 0; background: rgba(255, 92, 119, var(--k, 0)); pointer-events: none; border-radius: inherit; }
.cal-dia .fer { font-size: 8.5px; font-weight: 800; color: var(--sun); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-dia .meu-ponto { display: none; }
.cal-lista { display: flex; flex-direction: column; gap: 8px; }
.radar { overflow: hidden; }
.radar .onda-radar { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(139, 108, 255, .3); box-shadow: 0 0 0 20px rgba(139, 108, 255, .05), 0 0 0 40px rgba(139, 108, 255, .03); animation: pulso 3s ease-out infinite; }
@keyframes pulso { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* ---------- simulador ---------- */
.sim-grade { display: grid; grid-template-columns: 1fr; gap: 14px; }
.deslizador { display: flex; flex-direction: column; gap: 8px; }
.deslizador .topo-d { display: flex; justify-content: space-between; align-items: baseline; }
.deslizador .topo-d span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.deslizador .topo-d b { font-size: 17px; font-weight: 800; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--violet) 0 var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--violet); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; margin-top: -9px; box-shadow: 0 0 0 6px rgba(139, 108, 255, .25), 0 4px 12px rgba(0, 0, 0, .5); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(139, 108, 255, .25); }
.resultado-sim { text-align: center; padding: 8px 0 4px; }
.resultado-sim .valor { font-family: var(--display); font-size: clamp(40px, 11vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.resultado-sim small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sim-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sim-kpis div { padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.sim-kpis small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sim-kpis b { font-size: 17px; }
.temporada-sim .fila-ingressos i { width: 26px; height: 36px; transition: background .25s, opacity .25s; }
.temporada-sim .fila-ingressos i.flop { background: var(--rose); opacity: 1; }
.medidor-meta { height: 14px; border-radius: 8px; background: rgba(255, 255, 255, .07); position: relative; overflow: visible; margin: 26px 0 8px; }
.medidor-meta i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; transition: width .3s; }
.medidor-meta .alvo { position: absolute; top: -8px; bottom: -8px; width: 2px; background: #fff; }
.medidor-meta .alvo span { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 800; white-space: nowrap; }

/* ---------- ajustes ---------- */
.lista-blocos { display: flex; flex-direction: column; gap: 10px; }
.bloco-edit { --c: var(--violet); padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-left: 3px solid var(--c); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.soma-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 10px 12px; border-radius: 14px; }
.soma-check.ok { background: rgba(76, 240, 180, .08); color: var(--mint); }
.soma-check.ruim { background: rgba(255, 200, 87, .08); color: var(--sun); }
.soma-check svg { width: 16px; height: 16px; }
.redis-linha { display: grid; grid-template-columns: 1fr auto 18px auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.redis-linha .de { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.redis-linha .para { font-weight: 800; }
.redis-linha svg { width: 16px; height: 16px; color: var(--muted); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login-caixa { width: min(420px, 100%); display: flex; flex-direction: column; gap: 22px; }
.login-marca { text-align: center; }
.login-logo { display: block; width: clamp(130px, 38vw, 170px); height: auto; margin: 0 auto 22px; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .6)); }
.login-marca .palavra { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 14vw, 68px); letter-spacing: -.04em; line-height: .9; background: linear-gradient(180deg, #fff 30%, #B6A2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-marca .por { margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.login-ondas { width: 100%; height: 70px; margin-top: 4px; }
.login .card { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.login .erro { color: var(--rose); font-size: 13px; font-weight: 600; min-height: 18px; margin: -4px 0; }

.vazio { text-align: center; padding: 34px 16px; color: var(--muted); }
.vazio svg { width: 34px; height: 34px; color: var(--dim); margin-bottom: 8px; }
.carregando { display: grid; place-items: center; min-height: 60vh; }
.carregando i { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .1); border-top-color: var(--violet); animation: gira 0.8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.entrada > * { animation: sobe .45s cubic-bezier(.2, .9, .3, 1) both; }
.entrada > *:nth-child(2) { animation-delay: .04s; }
.entrada > *:nth-child(3) { animation-delay: .08s; }
.entrada > *:nth-child(4) { animation-delay: .12s; }
.entrada > *:nth-child(5) { animation-delay: .16s; }
.entrada > *:nth-child(6) { animation-delay: .2s; }
.entrada > *:nth-child(n+7) { animation-delay: .24s; }

.menu-mais { display: flex; flex-direction: column; gap: 6px; }
.menu-mais a, .menu-mais button { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-weight: 700; text-align: left; width: 100%; }
.menu-mais svg { width: 20px; height: 20px; color: var(--violet-2); }

.so-desk { display: none !important; }

/* marca Surf Scream (logo branca) */
.marca img.logo-ss { width: auto; height: 36px; border-radius: 0; object-fit: contain; }
.topo .marca { gap: 12px; }
.topo .marca > div { padding-left: 12px; border-left: 1px solid var(--line-2); font-size: 15px; }
@media (max-width: 420px) { .topo .marca > div { display: none; } }
.marca-side { flex-direction: column; align-items: flex-start; gap: 14px; padding: 4px 6px 0; }
.marca-side img.logo-ss { height: 64px; }
.marca-side > div { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.marca-side small { letter-spacing: .14em; margin-top: 2px; }

/* radar */
.cal-dia .fer.data { color: var(--pink); }
.conflito.tipo-feriado .tipo { color: var(--sun); background: rgba(255, 200, 87, .1); }
.conflito.tipo-data .tipo { color: var(--pink); background: rgba(255, 95, 162, .1); }
.conflito .fonte { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.conflito .fonte a { font-size: 11.5px; font-weight: 700; color: var(--violet-2); display: inline-flex; align-items: center; gap: 3px; }
.radar-linhas { display: flex; flex-direction: column; gap: 8px; position: relative; }
.radar-linhas > div { display: grid; grid-template-columns: 108px 1fr; gap: 2px 10px; font-size: 13px; align-items: baseline; }
.radar-linhas small { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.radar-linhas .link-mais { grid-column: 2; justify-self: start; font-size: 11.5px; }
.vira-lista { gap: 12px; }
@media (min-width: 1024px) {
  .faixa-rolagem.vira-lista { display: flex; flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .faixa-rolagem.vira-lista > * { width: auto; }
  .faixa-rolagem.vira-lista > *:nth-child(n+5) { display: none; }
}

/* ================= TELAS MAIORES ================= */
@media (min-width: 720px) {
  .conteudo { padding: 8px 24px 120px; }
  .titulo-pagina { font-size: 32px; }
  .hero { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; padding: 26px; }
  .mare { width: 230px; margin: 0; }
  .grade-campos { grid-template-columns: repeat(3, 1fr); }
  .extraidos { grid-template-columns: repeat(4, 1fr); }
  .fundo-modal { align-items: center; padding: 24px; }
  .folha { width: min(760px, 100%); border-radius: 28px; border-bottom: 1px solid var(--line-2); padding: 22px 26px 20px; }
  .folha .pegador { display: none; }
  .sim-kpis { grid-template-columns: repeat(4, 1fr); }
  .comparativo { grid-template-columns: 1fr; }
  .cal-dia { aspect-ratio: 1 / .82; padding: 7px; }
  .cal-dia .n { font-size: 13px; }
  .cal-dia .meu { font-size: 11px; padding: 3px 6px; }
  .cal-dia .fer { font-size: 10px; }
}

@media (min-width: 1024px) {
  .shell { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
  .side {
    display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; padding: 22px 16px;
    border-right: 1px solid var(--line); background: rgba(10, 9, 18, .55); backdrop-filter: blur(20px);
  }
  .side nav { display: flex; flex-direction: column; gap: 4px; }
  .side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .15s, color .15s; }
  .side nav a svg { width: 19px; height: 19px; }
  .side nav a:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
  .side nav a.ativo { background: linear-gradient(90deg, rgba(139, 108, 255, .22), rgba(139, 108, 255, .05)); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(139, 108, 255, .3); }
  .side nav a.ativo svg { color: var(--violet-2); }
  .side .rotulo-nav { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); padding: 0 14px; margin-top: 4px; }
  .side .rodape-side { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
  .side .eu { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
  .side .eu b { font-size: 13.5px; display: block; }
  .side .eu small { font-size: 11.5px; color: var(--muted); }
  .side .eu button { margin-left: auto; background: none; border: 0; color: var(--muted); padding: 6px; border-radius: 10px; }
  .side .eu button:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
  .side .eu button svg { width: 18px; height: 18px; }
  .side .btn.prim { width: 100%; }
  .side .temporada-side { padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
  .side .temporada-side select { width: 100%; background: transparent; border: 0; font-weight: 800; font-size: 15px; outline: none; cursor: pointer; padding: 4px 0 0; }
  .side .temporada-side option { background: #14121F; }
  .tabbar { display: none; }
  .topo .marca, .topo .chip-temporada, .topo .avatar { display: none; }
  .topo { padding: 18px 32px 6px; background: transparent; backdrop-filter: none; position: static; }
  .conteudo { padding: 8px 32px 48px; }
  .so-desk { display: initial !important; }
  .so-cel { display: none !important; }

  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  .s-12 { grid-column: span 12; } .s-8 { grid-column: span 8; } .s-7 { grid-column: span 7; } .s-6 { grid-column: span 6; }
  .s-5 { grid-column: span 5; } .s-4 { grid-column: span 4; } .s-3 { grid-column: span 3; }
  .faixa-rolagem.vira-grade { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); overflow: visible; margin: 0; padding: 0; }
  .faixa-rolagem.vira-grade > * { width: auto; }
  .hero { min-height: 100%; }
  .mare { width: 250px; }
  .sim-grade { grid-template-columns: 1fr 1fr; }
  .evento-grade { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .evento-grade > div { display: flex; flex-direction: column; gap: 16px; }
  .cal-layout { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
}
@media (max-width: 1023px) {
  .evento-grade, .evento-grade > div, .cal-layout { display: flex; flex-direction: column; gap: 14px; }
}
@media (min-width: 1400px) {
  .mare { width: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ======================= fechamento (planilhas Surf + Vibe) ======================= */
.colchao .frase b.pos { color: var(--mint); }
.colchao .frase b.neg { color: var(--rose); }
.colchao .grande small { -webkit-text-fill-color: var(--muted); font-family: var(--font); letter-spacing: 0; }
.colchao .acoes-colchao { margin-top: auto; }

.fech { display: flex; flex-direction: column; gap: 16px; }
.fech h4 { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.fech-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fech-kpis.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.fech-kpis > div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); min-width: 0; }
.fech-kpis small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.fech-kpis b { display: block; font-size: clamp(14px, 2.2vw, 19px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fech-kpis .destaque { background: linear-gradient(135deg, rgba(76, 240, 180, .1), rgba(255, 255, 255, .02)); border-color: rgba(76, 240, 180, .28); }
.fech-kpis .destaque.neg { background: linear-gradient(135deg, rgba(255, 92, 119, .12), rgba(255, 255, 255, .02)); border-color: rgba(255, 92, 119, .3); }

.divisao { display: flex; flex-direction: column; gap: 10px; }
.div-barra { display: flex; height: 34px; border-radius: 12px; overflow: hidden; gap: 3px; }
.div-barra i { display: flex; align-items: center; padding: 0 12px; font-style: normal; font-size: 11.5px; font-weight: 800; background: rgba(139, 108, 255, .35); min-width: 0; white-space: nowrap; overflow: hidden; }
.div-barra i.surf { background: var(--grad); }
.divisao.neg .div-barra i { background: rgba(255, 92, 119, .22); }
.divisao.neg .div-barra i.surf { background: rgba(255, 92, 119, .55); }
.div-valores { display: flex; justify-content: space-between; gap: 12px; }
.div-valores div:last-child { text-align: right; }
.div-valores small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.div-valores b { font-size: 17px; }

.conferir { display: flex; flex-direction: column; gap: 8px; }
.conferir > div { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 200, 87, .08); border: 1px solid rgba(255, 200, 87, .3); font-size: 13px; line-height: 1.45; }
.conferir svg { width: 17px; height: 17px; flex: none; color: var(--sun); margin-top: 1px; }

.fech-colunas { display: grid; grid-template-columns: 1fr; gap: 20px; }
.faixa { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; margin-bottom: 12px; }
.faixa i { background: var(--c); min-width: 3px; }
.barras { display: flex; flex-direction: column; gap: 9px; }
.barra-topo { display: grid; grid-template-columns: minmax(0, 1fr) auto 38px; gap: 10px; align-items: baseline; font-size: 13px; }
.barra-topo span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barra-topo b { font-size: 13px; }
.barra-topo small { color: var(--dim); font-weight: 700; text-align: right; font-size: 11.5px; }
.barra-trilha { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); margin-top: 4px; }
.barra-trilha i { display: block; height: 100%; border-radius: inherit; background: var(--c); }

.grupos-custo { display: flex; flex-direction: column; gap: 6px; }
.grupos-custo details { border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.grupos-custo summary { list-style: none; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto 40px; gap: 10px; align-items: center; padding: 10px 12px; cursor: pointer; font-size: 13.5px; }
.grupos-custo summary::-webkit-details-marker { display: none; }
.grupos-custo summary i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.grupos-custo summary span { font-weight: 700; }
.grupos-custo summary small { color: var(--dim); font-weight: 700; font-size: 11px; }
.grupos-custo summary em { font-style: normal; color: var(--dim); font-size: 11.5px; font-weight: 700; text-align: right; }
.grupos-custo details[open] summary { border-bottom: 1px solid var(--line); }
.itens-custo { display: flex; flex-direction: column; padding: 4px 12px 10px; }
.itens-custo > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 12.5px; border-bottom: 1px dashed rgba(255, 255, 255, .05); }
.itens-custo > div:last-child { border-bottom: 0; }
.itens-custo span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.itens-custo span small { color: var(--dim); }
.itens-custo b { font-size: 12.5px; text-align: right; min-width: 82px; }
.pag { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.pag-surf { color: var(--orange); background: rgba(255, 138, 61, .12); }
.pag-vibe { color: var(--violet-2); background: rgba(139, 108, 255, .14); }
.pag-topedindo { color: var(--cyan); background: rgba(63, 213, 255, .1); }
.pag-evento { color: var(--sun); background: rgba(255, 200, 87, .1); }
.fech-rodape { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.fech-rodape > span { display: inline-flex; align-items: center; gap: 6px; }
.fech-rodape svg { width: 15px; height: 15px; color: var(--violet-2); }
.fech-rodape b { color: var(--ink); }
.quem-pagou { flex-basis: 100%; display: block !important; }

/* tabela de resultados */
.res-tabela { display: flex; flex-direction: column; gap: 4px; }
.res-cab, .res-linha, .res-total { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(110px, 1.1fr) 84px; gap: 10px; align-items: center; }
.res-cab { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 0 10px 4px; }
.res-cab span:nth-last-child(-n+2), .res-num, .res-parte { text-align: right; }
.res-linha { padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
.res-linha:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.res-data { display: flex; flex-direction: column; align-items: center; font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.res-data b { font-family: var(--display); font-size: 18px; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.res-nome { min-width: 0; }
.res-nome b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-nome small { color: var(--dim); font-size: 11.5px; }
.res-num { font-size: 13px; color: var(--muted); white-space: nowrap; }
.res-lucro b, .res-parte { white-space: nowrap; }
.res-lucro { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13.5px; min-width: 0; }
.divergente { position: relative; width: 100%; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.divergente::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 255, 255, .25); }
.divergente i { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.divergente i.pos { left: 50%; background: var(--mint); }
.divergente i.neg { right: 50%; background: var(--rose); }
.res-parte { font-weight: 800; font-size: 14px; }
.res-total { padding: 12px 10px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.res-total small { display: block; color: var(--dim); font-size: 11.5px; }
.so-desk-cel { display: none; }

.linhas-evento { display: grid; grid-template-columns: 1fr; gap: 10px; }
.linha-evento { padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.le-topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.le-topo b { font-size: 15px; }
.le-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.le-nums small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.le-nums b { font-size: 16px; }

/* importação em lote */
.import-lista { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.import-item { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.import-item > svg { width: 18px; height: 18px; margin-top: 2px; }
.import-item.ok > svg { color: var(--mint); }
.import-item.nok > svg { color: var(--sun); }
.import-item.nok { grid-template-columns: 20px minmax(0, 1fr); }
.import-item b { display: block; font-size: 14px; }
.import-item small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.import-item small.aviso { color: var(--sun); display: flex; gap: 6px; }
.import-item small.aviso svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.import-item > span { text-align: right; white-space: nowrap; }
.import-item > span small { color: var(--dim); }

@media (min-width: 720px) {
  .fech-colunas { grid-template-columns: 1fr 1fr; gap: 24px; }
  .res-cab, .res-linha, .res-total { grid-template-columns: 52px minmax(0, 1.6fr) 1fr 1fr minmax(140px, 1.3fr) 104px; gap: 12px; }
  .so-desk-cel { display: block; }
  .res-tabela.compacta :is(.res-cab, .res-linha, .res-total) { grid-template-columns: 48px minmax(0, 1fr) minmax(130px, 1fr) 92px; }
  .linhas-evento { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .le-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .res-cab { display: none; }
  .res-linha, .res-total { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "d n p" "d l l"; row-gap: 6px; }
  .res-data { grid-area: d; } .res-nome { grid-area: n; } .res-parte { grid-area: p; } .res-lucro { grid-area: l; }
  .res-lucro { flex-direction: row; align-items: center; gap: 10px; }
  .res-lucro .divergente { flex: 1; }
  .res-lucro b { font-size: 12.5px; }
  .res-linha .res-lucro b::before { content: "no evento "; font-size: 10.5px; font-weight: 700; color: var(--dim); }
  .fech-kpis.k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fech-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fech-kpis > div:last-child:nth-child(3) { grid-column: 1 / -1; }
}

/* ======================= caminho do evento ======================= */
.caminho { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; padding: 14px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.caminho > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 9px; align-items: center; }
.caminho i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--grad); color: #0A0912; }
.caminho b { font-size: 13.5px; }
.caminho span { grid-column: 2; font-size: 12px; color: var(--muted); line-height: 1.35; }
.caminho-x { position: absolute; right: 8px; top: 8px; background: none; border: 0; color: var(--dim); padding: 4px; }

.et-abas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.et-abas button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 2px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); min-width: 0; }
.et-abas b { font-size: 18px; color: var(--c); line-height: 1; }
.et-abas span { font-size: 10px; font-weight: 700; color: var(--muted); line-height: 1.2; text-align: center; }
.et-abas button.ativo { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.et-abas button.ativo span { color: var(--ink); }
.et-quadro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.et-col { display: none; min-width: 0; padding: 14px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); border-top: 3px solid var(--c); }
.et-col.aberta { display: block; }
.et-col header div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.et-col header b { font-size: 14px; }
.et-col header span { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); }
.et-col header small { font-size: 12px; color: var(--muted); font-weight: 700; }
.et-col > p { font-size: 11.5px; color: var(--dim); margin: 4px 0 12px; line-height: 1.35; }
.et-lista { display: flex; flex-direction: column; gap: 8px; }
.et-vazio { padding: 14px; text-align: center; color: var(--dim); font-size: 12px; border: 1px dashed var(--line); border-radius: 14px; }
.et-card { display: flex; gap: 11px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: border-color .2s, background .2s; min-width: 0; }
.et-card:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .07); }
.et-data { flex: none; width: 42px; text-align: center; font-size: 11px; font-weight: 700; color: var(--c); line-height: 1.1; border-right: 2px solid color-mix(in srgb, var(--c) 45%, transparent); padding-right: 8px; }
.et-data b { display: block; font-size: 18px; color: var(--ink); }
.et-corpo { min-width: 0; flex: 1; }
.et-corpo > b { display: block; font-size: 13.5px; line-height: 1.25; }
.et-corpo > small { display: block; font-size: 11.5px; color: var(--muted); }
.et-corpo em { display: inline-block; font-style: normal; font-size: 12px; font-weight: 800; margin-right: 8px; }
.et-corpo em i { font-style: normal; font-weight: 600; color: var(--dim); }
.et-falta { color: var(--sun); }
.et-pe { color: var(--muted); font-weight: 700 !important; }

.passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.passos button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); min-width: 0; }
.passos i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.passos i svg { width: 14px; height: 14px; }
.passos .ok i { background: var(--mint); border-color: var(--mint); color: #062A1E; }
.passos .atual { border-color: var(--violet); background: rgba(139, 108, 255, .12); }
.passos .atual i:empty { border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(139, 108, 255, .22); }
.passos span { min-width: 0; width: 100%; }
.passos b { display: block; font-size: 13px; }
.passos small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.proximo { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 18px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); }
.proximo b { font-size: 16px; }
.proximo p { margin: 2px 0 0; font-size: 13px; color: var(--muted); max-width: 62ch; }
.comparativo.so-prev .comp-linha { grid-template-columns: 1fr auto; padding: 9px 14px; }
.comparativo.so-prev .comp-linha > div:last-child, .comparativo.so-prev .comp-linha small { display: none; }
.mais-det { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.mais-det summary, .sim-custos summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--violet-2); list-style: none; }
.mais-det summary::before, .sim-custos summary::before { content: "▸ "; }
.mais-det[open] summary::before, .sim-custos[open] summary::before { content: "▾ "; }
.mais-det[open] > :nth-child(2) { margin-top: 12px; }
.dica { font-size: 11px; color: var(--dim); text-transform: none; letter-spacing: 0; font-weight: 600; }

/* ======================= ponto de equilíbrio ======================= */
.pv-topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pv-blocos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-items: stretch; }
.pv-blocos > div { padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--c) 12%, rgba(0, 0, 0, .25)); border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: center; }
.pv-blocos small { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.pv-blocos small svg { width: 14px; height: 14px; }
.pv-blocos b { font-family: var(--display); font-size: 19px; grid-row: 1 / 3; grid-column: 2; text-align: right; white-space: nowrap; }
.pv-blocos b em { font: 700 11px var(--font); color: var(--muted); font-style: normal; display: block; }
.pv-blocos span { font-size: 12px; color: var(--muted); }
.pv-blocos .mais { display: none; font-style: normal; align-self: center; color: var(--dim); font-weight: 800; }
.pv-barra { display: flex; height: 22px; border-radius: 11px; overflow: hidden; margin-top: 12px; gap: 2px; }
.pv-barra i { min-width: 3px; display: grid; place-items: center; overflow: hidden; }
.pv-barra span { font: 800 11px var(--font); font-style: normal; color: #0A0912; }
.pv-pe { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; }
.pv-pe b { color: var(--ink); }
.pv-frase { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 11px 13px; border-radius: 16px; font-size: 13px; line-height: 1.45; background: rgba(76, 240, 180, .07); border: 1px solid rgba(76, 240, 180, .25); }
.pv-frase svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--mint); }
.pv-frase.ruim { background: rgba(255, 92, 119, .08); border-color: rgba(255, 92, 119, .32); }
.pv-frase.ruim svg { color: var(--rose); }
.eq-vazio { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.eq-vazio svg { width: 18px; height: 18px; flex: none; color: var(--violet-2); }
.eq-vazio b { color: var(--ink); }
.eq { width: 100%; }
.eq-svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.eq-grade { stroke: rgba(255, 255, 255, .07); }
.eq-eixo { fill: rgba(255, 255, 255, .5); font: 700 11px var(--font); }
.eq-custo { fill: #FF8DA0; font: 800 11px var(--font); letter-spacing: .04em; }
.eq-zona { font: 800 13px var(--font); letter-spacing: .12em; }
.eq-zona.pos { fill: #B9FFE5; } .eq-zona.neg { fill: #FFB3BF; }
.eq-etq rect { fill: #FFC857; } .eq-etq text { fill: #0A0912; font: 800 12px var(--font); }
.eq-etq.alvo rect { fill: #4CF0B4; }
.eq-toque { cursor: crosshair; }
.eq-legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.eq-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.eq-legenda i { width: 12px; height: 12px; border-radius: 4px; opacity: .85; }
.eq-legenda i.tr { height: 0; border-radius: 0; border-top: 2px dashed #FF5C77; opacity: 1; }
.eq-legenda i.pt { border-radius: 50%; background: #FFC857; }
.eq-leitura { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 10px 13px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); margin-top: 8px; min-height: 44px; }
.eq-leitura b { color: var(--ink); }
.eq-leitura .eq-q { font-size: 14px; }
.eq-leitura span { display: inline-flex; gap: 5px; align-items: center; }
.eq-leitura span i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.eq-leitura small { color: var(--dim); }
.eq-leitura .eq-res { margin-left: auto; font-weight: 800; }
.eq-leitura .eq-res b { color: inherit; font-size: 15px; }
.alav { display: flex; flex-direction: column; gap: 7px; }
.alav-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 54px; gap: 4px 10px; align-items: center; padding: 10px 13px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.alav-item > div:first-child b { font-size: 13.5px; display: block; }
.alav-item small { font-size: 11.5px; color: var(--muted); display: block; }
.alav-alvo { text-align: right; }
.alav-alvo b { font-size: 15px; }
.alav-item em { font-style: normal; font-size: 12px; font-weight: 800; text-align: right; color: var(--mint); }
.alav-item.ruim em { color: var(--rose); }
.alav-item .btn { grid-column: 1 / -1; }
.mapa-wrap { overflow-x: auto; }
.mapa { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 12.5px; }
.mapa th { font-weight: 700; color: var(--muted); padding: 5px 4px; font-size: 11.5px; white-space: nowrap; }
.mapa thead th:first-child { font-size: 10px; line-height: 1.3; color: var(--dim); text-align: left; }
.mapa th.atual { color: var(--ink); }
.mapa td { text-align: center; padding: 10px 4px; border-radius: 10px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mapa td.p { background: rgba(76, 240, 180, var(--k)); }
.mapa td.n { background: rgba(255, 92, 119, var(--k)); }
.mapa td.aqui { outline: 2px solid #fff; outline-offset: -2px; }

/* ======================= simulador ======================= */
.sim2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sim-dir, .sim-esq { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sim-resumo { display: grid; gap: 12px; }
.sr-lucro small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.sr-lucro > b { font-family: var(--display); font-size: clamp(30px, 8vw, 44px); letter-spacing: -.02em; line-height: 1.1; display: block; }
.sr-lucro span { font-size: 13px; color: var(--muted); }
.sr-nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sr-nums > div { padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.sr-nums small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sr-nums b { font-size: 17px; white-space: nowrap; }
.sr-nums .pe { background: rgba(255, 200, 87, .1); border-color: rgba(255, 200, 87, .4); }
.sr-nums .pe b { color: var(--sun); }
.sim-grupo { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.sim-grupo h4 { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.sim-grupo h4 em { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(139, 108, 255, .25); color: var(--violet-2); }
.ds { display: flex; flex-direction: column; gap: 2px; }
.ds-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ds-topo > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ds-num { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; height: 36px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); flex: none; }
.ds-num i { font-style: normal; font-size: 12px; color: var(--dim); font-weight: 700; }
.ds-num input { width: 84px; border: 0; background: none; text-align: right; font-weight: 800; font-size: 15px; outline: none; -moz-appearance: textfield; }
.ds-num input::-webkit-outer-spin-button, .ds-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ds-num:focus-within { border-color: var(--violet); }
.ds small { font-size: 11.5px; color: var(--dim); }
.ds small b { color: var(--muted); }
.sim-custos .grade-campos { margin-top: 12px; }
.sim-custos .campo label { color: var(--c); }
.sim-acoes { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; }
.sim-acoes .btn { flex: 1; min-width: 180px; justify-content: center; }

/* ======================= assistente ======================= */
.as-passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.as-passos i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); transition: background .25s; }
.as-passos i.on { background: var(--grad); }
.as-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.as-chips button { text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); min-width: 0; }
.as-chips button:hover { background: rgba(255, 255, 255, .07); }
.as-chips button.on { border-color: var(--violet); background: rgba(139, 108, 255, .18); }
.as-chips b { display: block; font-size: 13px; line-height: 1.25; }
.as-chips small { font-size: 11.5px; color: var(--muted); display: block; }
.as-chips em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--violet-2); display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; }
.as-achados { border-color: rgba(63, 213, 255, .3); }
.as-aviso { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.as-aviso span { display: inline-flex; gap: 6px; align-items: flex-start; }
.as-aviso svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.as-aviso .ruim svg { color: var(--sun); } .as-aviso .ok svg { color: var(--mint); }
.as-lucro { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); margin-bottom: 12px; }
.as-lucro small { font-size: 12.5px; color: var(--muted); }
.as-lucro b { font-size: 18px; }
.as-resumo { padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.as-resumo h4 { font-family: var(--display); font-size: 18px; margin-top: 4px; }
.as-resumo .as-lucro { margin: 10px 0 0; }
.as-depois { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.as-depois b { color: var(--ink); }

/* ======================= vendas ======================= */
.aovivo { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--muted); margin-left: 4px; white-space: nowrap; }
.aovivo i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(76, 240, 180, .6); animation: pulsa 2s infinite; }
.aovivo.erro i, .aovivo.aviso i { background: var(--sun); animation: none; }
@keyframes pulsa { 70% { box-shadow: 0 0 0 7px rgba(76, 240, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 240, 180, 0); } }
.vd-topo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vd-topo > div { padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); min-width: 0; }
.vd-topo > div.ok { border-color: rgba(76, 240, 180, .4); background: rgba(76, 240, 180, .08); }
.vd-topo small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.vd-topo b { font-family: var(--display); font-size: 22px; }
.vd-topo b em { font: 700 12px var(--font); color: var(--muted); }
.vd-topo span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.bv { position: relative; padding: 26px 0 8px; }
.bv-trilha { height: 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bv-trilha i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #6A4DF0, var(--violet-2)); transition: width .4s; }
.bv-trilha i.ok { background: linear-gradient(90deg, #1FA77A, var(--mint)); }
.bv-pe { position: absolute; top: 20px; bottom: 2px; width: 2px; background: var(--sun); }
.bv-pe em { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 800; color: var(--sun); white-space: nowrap; }
.bv-pe.fim em { left: auto; right: 0; transform: none; }
.curva-vendas { display: block; width: 100%; height: auto; }
.lotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 14px; }
.lote { padding: 11px 13px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.lote > div:first-child { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 6px; }
.lote > div:first-child b { font-size: 12.5px; }
.lote-l { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; font-size: 12.5px; padding: 3px 0; align-items: baseline; }
.lote-l span { color: var(--muted); text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; }
.lote-l span::first-letter { text-transform: uppercase; }
.lote-l small { grid-column: 2; text-align: right; font-size: 10.5px; color: var(--dim); }
.mudancas { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.mudancas > div:not(.eyebrow) { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; font-size: 12.5px; align-items: center; }
.mudancas svg { width: 15px; height: 15px; color: var(--sun); }
.mudancas small { color: var(--dim); }
.vd-rod { display: flex; justify-content: space-between; margin-top: 12px; }
.vd-rod button { color: var(--dim); }
.linha-form { display: flex; gap: 8px; }
.codigo { margin: 0; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .4); font-size: 11.5px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; color: var(--violet-2); }
.bd { display: flex; flex-direction: column; gap: 4px; }
.bd-tot { display: flex; gap: 14px; align-items: baseline; font-size: 15px; }
.bd .btn { margin-top: 8px; align-self: flex-end; }
.vd-lista { display: flex; flex-direction: column; gap: 10px; }
.vd-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 14px 16px; border-left: 3px solid var(--c); }
.vd-data { text-align: center; font-size: 12px; font-weight: 700; color: var(--c); line-height: 1.15; }
.vd-data b { display: block; font-size: 22px; color: var(--ink); }
.vd-data small { display: block; font-size: 10.5px; color: var(--dim); }
.vd-nome { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.vd-nome > b { font-size: 15px; }
.vd-frase { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.vd-frase b { color: var(--ink); } .vd-frase .neg b, .vd-frase .pos b { color: inherit; }
.vd-frase .sun { color: var(--sun); }
.vd-seta { width: 18px; height: 18px; color: var(--dim); }
.fontes-vd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fontes-vd b { display: block; margin-top: 6px; font-size: 14px; }
.fontes-vd p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.pv-faixa { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pv-faixa a { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); min-width: 0; }
.pv-faixa a > div:first-child { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.pv-faixa b { font-size: 13.5px; } .pv-faixa small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.pv-faixa .bv-trilha { height: 9px; }
.pv-faixa span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ======================= radar: notas e viabilidade ======================= */
.nota-radar { display: flex; gap: 4px; flex: none; }
.nota-radar button { width: 30px; height: 30px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); display: grid; place-items: center; }
.nota-radar button:hover { color: var(--ink); border-color: var(--line-2); }
.nota-radar button.on { background: rgba(76, 240, 180, .18); border-color: rgba(76, 240, 180, .5); color: var(--mint); }
.conflito.rel-alta { border-left: 3px solid var(--rose); }
.conflito.rel-baixa { opacity: .62; }
.cal-dia .reg i.alta { background: var(--rose); }
.cal-dia .reg i.baixa { opacity: .4; }
.vb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; }
.vb div { padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.vb b { font-size: 19px; display: block; }
.vb small { font-size: 11px; color: var(--muted); line-height: 1.25; display: block; }
.execs { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; }
.execs > div { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 9px 11px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-size: 12px; }
.execs b { font-size: 12.5px; } .execs small { grid-column: 1; color: var(--dim); }
.execs span { grid-row: 1; grid-column: 2; color: var(--mint); font-weight: 700; }
.execs .erro span { color: var(--rose); }
.execs p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); }

@media (max-width: 719px) {
  .passos button { padding: 10px; }
  .passos b { font-size: 12px; } .passos small { font-size: 10.5px; }
  .passos { grid-template-columns: 1fr 1fr; }
  .vd-topo > div:first-child { grid-column: 1 / -1; }
  .eq-leitura .eq-res { margin-left: 0; width: 100%; }
  .sim-resumo { position: sticky; top: calc(env(safe-area-inset-top) + 62px); z-index: 12; background: rgba(18, 15, 32, .94); }
  .sim-resumo .sr-nums { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .sim-resumo .sr-nums > div { padding: 6px 7px; border-radius: 11px; }
  .sim-resumo .sr-nums small { font-size: 8.5px; letter-spacing: .02em; }
  .sim-resumo .sr-nums b { font-size: 13px; }
  .sim-resumo { gap: 8px; padding: 12px 14px; }
  .sim2 { display: flex; flex-direction: column; }
  .sim-dir, .sim-esq { display: contents; }
  .sim-resumo { order: 0; } .sim-dir > .card:nth-child(2) { order: 1; } .sim-dir > .card:nth-child(3) { order: 2; } .sim-esq > .card { order: 3; } .sim-dir > .card:nth-child(4) { order: 4; } .sim-dir > .card:nth-child(5) { order: 5; }
  .comparativo .comp-linha { gap: 10px; }
}
@media (min-width: 720px) {
  .caminho { grid-template-columns: repeat(4, 1fr); padding: 16px 30px 16px 18px; }
  .pv-blocos { display: flex; gap: 8px; }
  .pv-blocos > div { flex: 1; display: block; }
  .pv-blocos b { display: block; text-align: left; margin: 4px 0 2px; }
  .pv-blocos b em { display: inline; }
  .pv-blocos .mais { display: block; }
  .passos button { flex-direction: row; align-items: center; }
  .sr-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vd-topo { grid-template-columns: repeat(3, 1fr); }
  .pv-faixa { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fontes-vd { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .alav-item { grid-template-columns: minmax(0, 1fr) auto 60px auto; }
  .alav-item .btn { grid-column: auto; }
}
@media (min-width: 1024px) {
  .sim2 { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
  .sim-resumo { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1200px) {
  .et-abas { display: none; }
  .et-quadro { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
  .et-col { display: block; }
}
@media (min-width: 1024px) and (max-width: 1199px) { .et-lista { display: grid; grid-template-columns: 1fr 1fr; } }

.side > .btn { flex: none; }
.et-card { align-items: flex-start; }

.alav-item em { white-space: nowrap; }
@media (min-width: 1500px) { .sim-resumo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; } }

.grupo-form > summary { cursor: pointer; list-style: none; }
.grupo-form > summary h4 { font-size: 13px; font-weight: 800; align-items: center; gap: 8px; }
.grupo-form > summary h4 svg { width: 16px; height: 16px; color: var(--violet-2); }
.grupo-form > summary::after { content: "▾"; float: right; color: var(--dim); }
.conflito .fonte .nota-radar { margin-left: auto; }
.evento-grade > div { display: flex; flex-direction: column; }

.ev-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; position: relative; }
.caminho > div { align-content: start; }
.vendas-card .card-cab { flex-wrap: wrap; }
@media (max-width: 719px) {
  .ev-pills { margin-right: 104px; }
  .sim-resumo .sr-nums { grid-template-columns: repeat(3, 1fr); }
  .sim-resumo .sr-nums > div:last-child { display: none; }
  .sim-resumo .sr-nums small { font-size: 9.5px; }
  .sim-resumo .sr-nums b { font-size: 14px; }
  .eq-zona { font-size: 11px; letter-spacing: .06em; }
}

/* janela média (painel do Claude, notebook pequeno): o destaque ocupa a linha toda */
@media (min-width: 1024px) and (max-width: 1279px) {
  .bento > .hero.s-8, .bento > .colchao.s-4 { grid-column: 1 / -1; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sim2 { grid-template-columns: minmax(0, 1fr) 300px; }
  .sr-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-blocos { display: grid; }
  .pv-blocos .mais { display: none; }
  .pv-blocos > div { display: grid; }
  .pv-blocos b { text-align: right; }
  .pv-blocos b em { display: block; }
  .checklist .check { flex-wrap: wrap; }
}
