:root {
  --bg: #090b10;
  --bg-2: #11141c;
  --bg-3: #181d28;
  --bg-4: #212735;
  --line: #262d3c;
  --line-soft: #1d2331;
  --fg: #f0f3f9;
  --muted: #98a2b7;
  --accent: #8b2fff;
  --accent-ink: #ffffff;
  --accent-claro: #b47cff;
  --accent-escuro: #6a1fd0;
  --accent-suave: rgba(139, 47, 255, .18);
  --gold: #ffb020;
  --gold-ink: #2b1a00;
  --danger: #ff5a5f;
  --blue: #5b9cff;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* o atributo hidden precisa vencer as classes com display proprio */
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(139, 47, 255, .10), transparent 60%),
    radial-gradient(800px 400px at 100% 0%, rgba(180, 124, 255, .06), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
svg.i { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; fill: none;
        stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
svg.i.lg { width: 22px; height: 22px; }
svg.i.sm { width: 15px; height: 15px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 16px; }
.muted { color: var(--muted); font-size: 13px; }
.row { display: flex; gap: 12px; align-items: center; }
.row.tight { gap: 8px; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.center { text-align: center; }
.stack { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

h1 { font-size: 21px; margin: 0; letter-spacing: -.02em; }
h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted);
     margin: 20px 0 10px; display: flex; align-items: center; gap: 8px; }
h3 { font-size: 16px; margin: 0 0 4px; }
.big { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.ok { color: var(--accent); } .warn { color: var(--gold); } .bad { color: var(--danger); }

/* ---------------------------------------------------------- superfícies */
.card {
  background: linear-gradient(180deg, var(--bg-2), rgba(17, 20, 28, .6));
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px;
}
.card + .card { margin-top: 10px; }
.card.pad-lg { padding: 20px; }

/* ---------------------------------------------------------- botões */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 11px 17px; font: inherit; font-weight: 650; letter-spacing: -.01em;
  background: var(--bg-3); color: var(--fg); cursor: pointer;
  transition: transform .12s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
button:hover, .btn:hover { filter: brightness(1.12); }
button:active, .btn:active { transform: scale(.97); }
button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:disabled { opacity: .45; cursor: default; transform: none; filter: none; }

.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-escuro));
               color: var(--accent-ink); box-shadow: 0 6px 18px var(--accent-suave); }
.btn-gold { background: linear-gradient(180deg, #ffc044, #f5a000); color: var(--gold-ink);
            box-shadow: 0 6px 18px rgba(255, 176, 32, .22); }
.btn-soft { background: var(--bg-3); border-color: var(--line); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--fg); }
.btn-danger { background: transparent; border-color: rgba(255, 90, 95, .5); color: var(--danger); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; gap: 6px; }
.btn-lg { padding: 15px 22px; font-size: 16px; }
.btn-icon { padding: 9px; border-radius: 12px; background: var(--bg-3); border-color: var(--line); }
.btn-stack { display: grid; gap: 7px; }

/* preço dentro do botão */
.btn .price { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- campos */
input[type=text], input[type=search], input[type=number], input[type=tel],
input[type=email], input[type=password], input[type=url], select {
  width: 100%; padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--bg-3); color: var(--fg);
  font: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder { color: #65708a; }
input:focus, select:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 215, 96, .15); }
label.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.input-icon { position: relative; }
.input-icon svg.i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input { padding-left: 44px; }

/* segmented control */
.seg { display: flex; gap: 4px; padding: 4px; background: var(--bg-3);
       border: 1px solid var(--line); border-radius: 999px; }
.seg button {
  flex: 1; padding: 9px 12px; font-size: 13.5px; border-radius: 999px;
  background: transparent; border: 0; color: var(--muted); box-shadow: none;
}
.seg button[aria-pressed=true] { background: var(--bg-4); color: var(--fg); }
.seg button[aria-pressed=true].on-accent { background: var(--accent); color: var(--accent-ink); }

/* switch */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px;
          padding: 13px 15px; background: var(--bg-3); border: 1px solid var(--line);
          border-radius: var(--r); cursor: pointer; width: 100%; font-weight: 600; }
.switch .track { width: 46px; height: 27px; border-radius: 999px; background: var(--bg-4);
                 border: 1px solid var(--line); position: relative; transition: background .18s ease; flex: 0 0 46px; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px;
                        border-radius: 50%; background: var(--muted); transition: transform .18s ease, background .18s ease; }
.switch[aria-pressed=true] .track { background: rgba(30, 215, 96, .25); border-color: var(--accent); }
.switch[aria-pressed=true] .track::after { transform: translateX(19px); background: var(--accent); }

/* ---------------------------------------------------------- listas */
ul.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
          grid-template-columns: minmax(0, 1fr); }
ul.list li {
  display: flex; gap: 13px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 10px 12px; transition: border-color .15s ease;
  min-width: 0;   /* sem isto o item de grid nao encolhe e o botao vaza da tela */
}
ul.list li:hover { border-color: var(--line); }
ul.list li.is-prio { border-color: rgba(255, 176, 32, .4);
  background: linear-gradient(90deg, rgba(255, 176, 32, .07), var(--bg-2) 45%); }
ul.list li.is-mine { border-color: var(--accent); }
ul.list li.empty { justify-content: center; color: var(--muted); padding: 20px 16px; display: grid;
  gap: 5px; text-align: center; }

.thumb { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 44px;
         background: var(--bg-3) center/cover no-repeat; display: grid; place-items: center;
         color: var(--muted); border: 1px solid var(--line-soft); }
.thumb.lg { width: 58px; height: 58px; flex-basis: 58px; border-radius: 13px; }
.pos { width: 24px; flex: 0 0 24px; text-align: center; color: var(--muted);
       font-variant-numeric: tabular-nums; font-weight: 800; font-size: 17px; }
.pos.prio { color: var(--gold); }
.title { font-weight: 650; }
.sub { color: var(--muted); font-size: 13px; }

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700;
       padding: 3px 8px; border-radius: 999px; background: var(--bg-4); color: var(--muted);
       vertical-align: 1px; letter-spacing: .02em; }
.tag.prio { background: rgba(255, 176, 32, .16); color: var(--gold); }
.tag.mine { background: var(--accent-suave); color: var(--accent); }
.tag.sp { background: var(--accent-suave); color: var(--accent); }
.tag.yt { background: rgba(255, 90, 95, .16); color: #ff8a8e; }
.tag.off { background: rgba(255, 90, 95, .14); color: var(--danger); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: 0 0 7px; }
.dot.on { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-suave); }
.dot.off { background: var(--danger); }

/* ---------------------------------------------------------- tocando agora */
.now { display: flex; gap: 13px; align-items: center; padding: 13px;
  background: linear-gradient(135deg, var(--accent-suave), rgba(180, 124, 255, .05) 60%, var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); }
.bar { height: 5px; background: rgba(255, 255, 255, .09); border-radius: 3px; overflow: hidden; margin-top: 9px; }
.bar > i { display: block; height: 100%; border-radius: 3px;
           background: linear-gradient(90deg, var(--accent), var(--accent-claro));
           width: 0; transition: width .9s linear; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .25s; } .eq i:nth-child(3) { animation-delay: .5s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(146px, 1fr)); gap: 10px; }
.stat { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 13px; }
.stat .k { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; }
.stat b { display: block; font-size: 23px; letter-spacing: -.02em; margin: 7px 0 2px; }

/* ---------------------------------------------------------- layout com aba lateral */
.shell { display: block; min-height: 100vh; }
.side {
  /* fixa na tela: nao acompanha a rolagem do conteudo */
  position: fixed; top: 0; left: 0; bottom: 0; width: 248px; z-index: 30;
  background: #0b0e14; border-right: 1px solid var(--line);
  padding: 20px 14px; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 6px;
}
.side .brand { display: flex; gap: 11px; align-items: center; padding: 0 8px 16px; }
.side .brand .logo { width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--accent); flex: 0 0 40px; }
.side .brand .logo svg { width: 34px; height: 34px; stroke-width: 1.7; }
.side .brand .nm { font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.navbtn {
  display: flex; align-items: center; gap: 11px; width: 100%; justify-content: flex-start;
  padding: 11px 13px; border-radius: 12px; background: transparent; border: 0;
  color: var(--muted); font-weight: 600; font-size: 14.5px; box-shadow: none;
}
.navbtn:hover { background: var(--bg-3); color: var(--fg); filter: none; }
.navbtn[aria-current=true] { background: var(--bg-3); color: var(--fg); box-shadow: inset 3px 0 0 var(--accent); }
.navbtn .count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted);
  background: var(--bg-4); padding: 2px 8px; border-radius: 999px; }
.side .foot { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--line-soft); }
.main { padding: 24px 28px 48px; max-width: 900px; margin-left: 248px; }
.main > section { display: none; }
.main > section.active { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page-head { margin-bottom: 14px; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }

/* aba lateral vira barra inferior no celular */
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side {
    position: fixed; bottom: 0; top: auto; left: 0; right: 0; width: auto; height: auto;
    flex-direction: row; gap: 2px; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    border-right: 0; border-top: 1px solid var(--line); overflow-x: auto; z-index: 40;
  }
  .side .brand, .side .foot { display: none; }
  .navbtn { flex-direction: column; gap: 4px; font-size: 10.5px; padding: 7px 4px; min-width: 64px;
            border-radius: 10px; text-align: center; }
  .navbtn[aria-current=true] { box-shadow: none; color: var(--accent); background: var(--bg-3); }
  .navbtn .count { margin: 0; position: absolute; transform: translate(16px, -8px); padding: 1px 6px; }
  .main { padding: 18px 16px 110px; margin-left: 0; }
  .toast { bottom: 104px; }
}

/* ---------------------------------------------------------- folha (sheet) */
.sheet-bg { position: fixed; inset: 0; background: rgba(4, 6, 10, .74); backdrop-filter: blur(4px);
            display: none; align-items: flex-end; z-index: 60; }
.sheet-bg.open { display: flex; animation: fade .18s ease; }
.sheet { background: var(--bg-2); width: 100%; max-width: 480px; margin: 0 auto;
         border-radius: var(--r-lg) var(--r-lg) 0 0; border: 1px solid var(--line);
         padding: 20px; max-height: 92vh; overflow: auto; box-shadow: var(--shadow); }
@media (min-width: 640px) { .sheet-bg { align-items: center; } .sheet { border-radius: var(--r-lg); } }
.qrbox { background: #fff; padding: 14px; border-radius: var(--r); display: grid; place-items: center; }
.qrbox img, .qrbox canvas { display: block; width: 100%; max-width: 230px; height: auto; }
.pixcode { font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace; word-break: break-all;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 11px; max-height: 80px; overflow: auto; color: var(--muted); }
.steps { display: grid; gap: 10px; margin: 16px 0; }
.step { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.step .n { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-4); color: var(--fg);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: 0 0 22px; }

.spin { width: 18px; height: 18px; border-radius: 50%; display: inline-block;
  border: 2px solid var(--line); border-top-color: var(--accent); animation: sp .8s linear infinite;
  vertical-align: -3px; }
@keyframes sp { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--bg-4); border: 1px solid var(--line); color: var(--fg);
  padding: 12px 18px; border-radius: 999px; z-index: 99; max-width: 92vw; font-weight: 600;
  box-shadow: var(--shadow); animation: fade .2s ease; }
.banner { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r);
  font-size: 13.5px; background: rgba(255, 176, 32, .1); border: 1px solid rgba(255, 176, 32, .3);
  color: var(--gold); }
.banner.info { background: rgba(91, 156, 255, .1); border-color: rgba(91, 156, 255, .3); color: var(--blue); }

/* ---------------------------------------------------------- caixa do e-mail */
.mailbox {
  display: flex; align-items: center; gap: 13px; padding: 13px 15px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r);
}
.mailbox.pendente { border-color: rgba(255, 176, 32, .4);
  background: linear-gradient(90deg, rgba(255, 176, 32, .09), var(--bg-3) 55%); }
.mailbox.ok { border-color: rgba(30, 215, 96, .4);
  background: linear-gradient(90deg, rgba(30, 215, 96, .09), var(--bg-3) 55%); }
.mailbox-icone { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
  display: grid; place-items: center; }
.mailbox-icone.aviso { background: rgba(255, 176, 32, .16); color: var(--gold); }
.mailbox-icone.bom { background: rgba(30, 215, 96, .16); color: var(--accent); }
.mailbox-tit { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mailbox-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }

.mailcodigo { margin-top: 10px; padding: 14px 15px; border-radius: var(--r);
  background: var(--bg-2); border: 1px dashed var(--line); }
.mailcodigo-topo { margin-bottom: 9px; font-size: 13px; }
input.codigo { max-width: 170px; font-size: 22px; font-weight: 800; text-align: center;
  letter-spacing: .34em; padding: 11px 8px 11px 14px;
  font-variant-numeric: tabular-nums; }
input.codigo::placeholder { letter-spacing: .34em; font-weight: 600; color: #4d5668; }

/* ---------------------------------------------------------- blocos de ajuste */
.bloco { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 12px; }
.bloco-cab { display: flex; gap: 13px; align-items: center; padding: 15px 17px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-bottom: 1px solid var(--line-soft); }
.bloco-cab h3 { margin: 0; font-size: 15.5px; }
.bloco-cab p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.bloco-ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid;
  place-items: center; background: var(--bg-4); color: var(--accent); }
.bloco-corpo { padding: 17px; }

.campo-linha { display: grid; gap: 6px; }
.campo-linha + .campo-linha { margin-top: 14px; }
.campo-titulo { font-size: 13.5px; font-weight: 650; color: var(--fg);
  display: inline-flex; align-items: center; gap: 6px; }
.campo-dica { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

.campo-logo { display: flex; gap: 15px; align-items: flex-start; padding-bottom: 16px;
  margin-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.campo-logo #logoPreview { width: 68px; height: 68px; flex: 0 0 68px; border-radius: 16px;
  background: var(--bg-3) center/contain no-repeat; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); }

.precos-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 11px; }
.preco-campo { background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 12px 13px; gap: 9px; }
.preco-campo.destaque { border-color: rgba(255,176,32,.3);
  background: linear-gradient(180deg, rgba(255,176,32,.07), var(--bg-3)); }
.preco-campo.destaque .campo-titulo { color: var(--gold); }
.input-moeda { display: flex; align-items: center; gap: 8px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 11px; padding: 0 12px;
  transition: border-color .15s ease, box-shadow .15s ease; }
.input-moeda:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,215,96,.14); }
.input-moeda b { color: var(--muted); font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.input-moeda input { border: 0; background: transparent; padding: 11px 0; font-weight: 700;
  font-size: 16px; }
.input-moeda input:focus { outline: none; box-shadow: none; }

.explica { margin-top: 13px; padding: 12px 14px; border-radius: var(--r);
  background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.25);
  color: #e8d3a6; font-size: 13px; line-height: 1.6; }
.explica b { color: var(--gold); }

.barra-salvar { position: sticky; bottom: 16px; display: flex; justify-content: flex-end;
  padding-top: 4px; }
.barra-salvar .btn-primary { box-shadow: 0 10px 28px rgba(30,215,96,.3); }
@media (max-width: 860px) { .barra-salvar { bottom: 96px; } .barra-salvar .btn-primary { width: 100%; } }

/* o campo com ícone precisa ocupar a linha inteira */
.campo-linha .input-icon { display: block; width: 100%; }
.campo-linha .input-icon input { width: 100%; }

/* ---------------------------------------------------------- seletor de cor */
.campo-cor { display: flex; align-items: center; gap: 14px; padding-bottom: 16px;
  margin-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.campo-cor input[type=color] { width: 56px; height: 56px; flex: 0 0 56px; padding: 0;
  border: 1px solid var(--line); border-radius: 15px; background: var(--bg-3); cursor: pointer; }
.campo-cor input[type=color]::-webkit-color-swatch-wrapper { padding: 5px; }
.campo-cor input[type=color]::-webkit-color-swatch { border: 0; border-radius: 10px; }
#corAtual { color: var(--accent); font-weight: 700; }

/* a logo do estabelecimento no lugar do ícone, na lateral */
.side .logo-img { width: auto; height: 40px; max-width: 150px; flex: 0 0 auto;
  object-fit: contain; display: block; }

/* ============================================ fundo de ondas de som */
/* ---------- fundo: ondas de som ----------
   Camadas: brilhos roxos difusos + linhas de onda com amplitudes diferentes.
   Nenhuma se repete e cada uma anda num tempo proprio, entao nao forma padrao. */

.fundo { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.fundo .brilho { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .85; }
.fundo .b1 { width: 52vw; height: 52vw; left: -14vw; top: -18vw;
  background: radial-gradient(circle, var(--accent), transparent 68%); opacity: .5;
  animation: respira1 26s ease-in-out infinite alternate; }
.fundo .b2 { width: 44vw; height: 44vw; right: -12vw; top: 4vh;
  background: radial-gradient(circle, var(--accent-claro), transparent 66%); opacity: .38;
  animation: respira2 34s ease-in-out infinite alternate; }
.fundo .b3 { width: 60vw; height: 60vw; left: 18vw; top: 58vh;
  background: radial-gradient(circle, var(--accent-escuro), transparent 70%); opacity: .42;
  animation: respira3 42s ease-in-out infinite alternate; }
.fundo .veu { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,12,.42), rgba(7,8,12,.66) 48%, rgba(7,8,12,.82)); }

.fundo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.onda path { fill: none; stroke-linecap: round;
filter: drop-shadow(0 0 10px rgba(139,47,255,.45)); }
.o1 { animation: anda1 28s ease-in-out infinite alternate; }
.o2 { animation: anda2 36s ease-in-out infinite alternate; }
.o3 { animation: anda3 44s ease-in-out infinite alternate; }
.o4 { animation: anda4 52s ease-in-out infinite alternate; }

@keyframes respira1 { from { transform: translate3d(0,0,0) scale(1); }
                      to   { transform: translate3d(5vw,4vh,0) scale(1.18); } }
@keyframes respira2 { from { transform: translate3d(0,0,0) scale(1.1); }
                      to   { transform: translate3d(-6vw,7vh,0) scale(.92); } }
@keyframes respira3 { from { transform: translate3d(0,0,0) scale(.95); }
                      to   { transform: translate3d(7vw,-6vh,0) scale(1.14); } }
@keyframes anda1 { from { transform: translate(0,0); } to { transform: translate(-70px,18px); } }
@keyframes anda2 { from { transform: translate(0,0); } to { transform: translate(90px,-24px); } }
@keyframes anda3 { from { transform: translate(0,0); } to { transform: translate(-110px,-14px); } }
@keyframes anda4 { from { transform: translate(0,0); } to { transform: translate(60px,26px); } }

@media (prefers-reduced-motion: reduce) {
  .fundo .brilho, .onda { animation: none !important; }
}


/* as superfícies ficam translúcidas para o fundo aparecer */
.card, .bloco, ul.list li, .stat, .passo, .dor, .depo, .caixa, .conta, .celular,
.faq details, .side, .tabbar, .mailbox, .mailcodigo {
  backdrop-filter: blur(10px);
}
.card { background: linear-gradient(180deg, rgba(17,20,28,.82), rgba(17,20,28,.62)); }
.bloco { background: rgba(17,20,28,.78); }
ul.list li { background: rgba(17,20,28,.72); }
.stat { background: rgba(17,20,28,.72); }
.side { background: rgba(10,12,17,.78); }

.rodape a { color: #7d8799; text-decoration: none; }
.rodape a:hover { color: var(--accent); }

/* as ondas e o brilho delas seguem a cor da marca do estabelecimento */
.fundo stop.p0 { stop-color: var(--accent-claro); }
.fundo stop.p1 { stop-color: var(--accent-claro); }
.fundo stop.p2 { stop-color: var(--accent); }
.fundo stop.p3 { stop-color: var(--accent-escuro); }
.onda path { filter: drop-shadow(0 0 10px var(--accent-suave)); }
