/* Visual 2: aurora no fundo, painéis em gradiente com trilhas de corrente, cápsula de abas. */

:root { --aurora-a: rgba(20, 163, 139, .20); --aurora-b: rgba(11, 107, 150, .16); --vidro: rgba(255,255,255,.74); --ring: rgba(16,34,33,.07); --brilho: 0 24px 50px -28px rgba(11,107,150,.75); }
@media (prefers-color-scheme: dark) { :root { --aurora-a: rgba(20, 163, 139, .22); --aurora-b: rgba(40, 120, 200, .18); --vidro: rgba(20,32,32,.74); --ring: rgba(255,255,255,.07); --brilho: 0 24px 50px -28px rgba(0,0,0,.8); } }

.aurora {
  position: fixed; inset: 0 0 auto 0; height: 520px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 15% 0%, var(--aurora-a), transparent 70%),
    radial-gradient(50% 60% at 90% 10%, var(--aurora-b), transparent 70%);
}

.sobre {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--acc-ink); margin-bottom: 4px;
}
.sobre.claro { color: rgba(255,255,255,.85); }
.sobre.centro { display: block; margin-top: 18px; }
.cabecalho { margin: 4px 0 18px; }
.cabecalho h1 { font-size: 34px; margin: 2px 0 6px; letter-spacing: -.02em; }
.cabecalho .sub { margin: 0; }

.corrente { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .42; pointer-events: none; }
.corrente .trilha { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.2; }
.corrente .pulso { fill: none; stroke: rgba(255,255,255,.95); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 26 520; animation: pulso 6s linear infinite; filter: drop-shadow(0 0 4px rgba(255,255,255,.7)); }
.corrente .no { fill: rgba(255,255,255,.55); }
@keyframes pulso { from { stroke-dashoffset: 546; } to { stroke-dashoffset: 0; } }

.painel {
  position: relative; overflow: hidden; border-radius: 28px; padding: 22px 20px 18px; color: #fff;
  background: var(--grad); box-shadow: var(--brilho); margin-bottom: 16px;
}
.painel > *:not(.corrente) { position: relative; }
.painel h1 { margin: 2px 0 2px; font-size: 32px; }
.painel p { margin: 0 0 16px; opacity: .92; }
.numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.numeros div { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 10px; min-width: 0; overflow: hidden; }
.numeros b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.numeros span { font-size: 13.5px; opacity: .85; }

.grande-seg button { justify-content: flex-start; padding: 10px 12px; gap: 12px; min-height: 64px; text-align: left; }
.grande-seg .txt { display: flex; flex-direction: column; line-height: 1.25; }
.ico-tipo { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; }
.ico-tipo.ac { background: linear-gradient(135deg, #1BB08F, #0E7C86); }
.ico-tipo.dc { background: linear-gradient(135deg, #2A8FD6, #0B5F96); }
.grande-seg .ico-tipo { width: 38px; height: 38px; border-radius: 12px; }
.grande-seg button[aria-pressed="false"] .ico-tipo { filter: saturate(.2); opacity: .55; }

.linha-modelo { justify-content: space-between; align-items: flex-end; margin: 28px 4px 10px; gap: 12px; }
.linha-modelo h2 { font-size: 22px; letter-spacing: -.01em; }
.linha-modelo .sobre { margin: 0; font-size: 12px; color: var(--ink-3); }
.linha-modelo .dica { text-align: right; }

.grade-produtos { display: grid; gap: 10px; }
.produto + .produto { margin-top: 0; }
.produto {
  gap: 14px; padding: 14px 16px; border-radius: 20px; border-color: var(--ring);
  transition: transform .15s ease, box-shadow .15s ease; animation: entra .35s ease-out both; animation-delay: var(--atraso, 0ms);
}
.produto:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(16,34,33,.05), 0 16px 32px -16px rgba(16,34,33,.25); }
.produto:active { transform: scale(.985); }
.produto .corpo { flex: 1; min-width: 0; }
.produto .kw { font-size: 24px; }
.produto .meta { margin-top: 2px; }
.medidor { height: 6px; border-radius: 3px; background: var(--bg-2); margin-top: 10px; overflow: hidden; max-width: 160px; }
.medidor i { display: block; height: 100%; border-radius: 3px; background: var(--grad); }
.produto .preco { margin-left: 0; }
.produto .preco b { font-size: 19px; }
@media (min-width: 960px) { .grade-produtos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.heroi { border-radius: 30px; padding: 24px 22px 22px; box-shadow: var(--brilho); }
.heroi > *:not(.corrente) { position: relative; }
.heroi .grande { font-size: 64px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.2); font-size: 15px; font-weight: 500; }

.preco-opcao { position: relative; border-radius: 20px; padding: 16px; transition: border-color .15s, background .15s; }
.preco-opcao .marcador {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--line); color: transparent;
}
.preco-opcao .marcador svg { width: 16px; height: 16px; stroke-width: 3; }
.preco-opcao[aria-pressed="true"] .marcador { background: var(--acc); border-color: var(--acc); color: #fff; }

.ico-quadro {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--card); border: 1px solid var(--line); color: var(--acc-ink); box-shadow: var(--shadow);
}
.bloco-titulo { gap: 12px; }
.atalho { display: flex; align-items: center; gap: 12px; margin-top: 14px; text-decoration: none; color: inherit; }

.cartao { border-color: var(--ring); border-radius: 24px; }
.btn.pri { position: relative; overflow: hidden; }
.btn.pri::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%); animation: reflexo 4.5s ease-in-out infinite 1.2s;
}
@keyframes reflexo { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.total { position: relative; overflow: hidden; border-radius: 28px; box-shadow: var(--brilho); }
.total .grande { font-size: 44px; }

.resultado .destaque { background: var(--grad); color: #fff; position: relative; overflow: hidden; box-shadow: var(--brilho); }
.resultado .destaque .grande { color: #fff; font-size: 52px; }
.resultado .destaque .rotulo, .resultado .destaque .dica { color: rgba(255,255,255,.88); }
.resultado .destaque .ruim { color: #FFD5CC; }

@media (max-width: 959px) {
  .abas {
    left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); padding: 6px; border-radius: 26px;
    border: 1px solid var(--line); background: var(--vidro);
    box-shadow: 0 18px 40px -18px rgba(16,34,33,.35);
  }
  .aba { border-radius: 20px; font-size: 12.5px; }
  .aba.ativa { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -10px rgba(11,107,150,.8); }
  .aba.ativa .bolinha { background: #fff; color: var(--acc-ink); }
  .main { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 40px); }
}
@media (min-width: 960px) {
  .aba.ativa::before { content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--grad); }
}

.entrar { position: relative; overflow: hidden; }
.entrar-trilhas { position: absolute; inset: 0 0 auto 0; height: 360px; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.entrar-trilhas .corrente { opacity: 1; }
.entrar-trilhas .trilha { stroke: var(--acc-soft-2); }
.entrar-trilhas .pulso { stroke: var(--acc); filter: none; }
.entrar-trilhas .no { fill: var(--acc-soft-2); }
.entrar .caixa { position: relative; }
.entrar h1 { font-size: 36px; letter-spacing: -.02em; margin-top: 4px; }

.resultado .destaque > *:not(.corrente), .total > *:not(.corrente) { position: relative; }

.btn.baixar { width: 100%; margin-bottom: 14px; justify-content: flex-start; gap: 14px; padding: 12px 18px 12px 12px; min-height: 68px; text-align: left; }
.btn.baixar .txt { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.btn.baixar small { font-weight: 400; font-size: 14px; color: var(--ink-3); }
.lista-simples > a:first-child, .lista-simples > button.linha:first-child { border-top: 0; }
.valor-salva { display: block; margin-top: 4px; font-size: 18px; color: var(--acc-ink); }
