/* HABILIDADES (14/11/2026): quatro botões (fidelidade, agendamento, catálogo, mesas) sobre um palco com água.
   Um cursor animado mostra onde clicar; o clique solta a água (efeito da Sara, vendas/agua.js) e abre a demo no celular.
   Sem WebGL ou com "reduzir movimento": fica a foto de fundo e a troca simples. */
.habil .lead { max-width:640px; }
.hb-palco { --hb-c:#33E2B2; position:relative; margin-top:clamp(26px, 4vw, 44px); border-radius:clamp(22px, 3vw, 32px); overflow:hidden;
  border:1px solid var(--line); background:#07090b; isolation:isolate; scroll-margin-top:76px; }
.hb-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .7s ease; }
.hb-bg.on { opacity:1; }
.hb-palco .agua, .hb-palco .vidro-ondas { position:absolute; inset:0; z-index:1; width:100%; height:100%; opacity:0; transition:opacity .8s; pointer-events:none; }
.hb-palco[data-agua="on"] .agua, .hb-palco[data-vidro="on"] .vidro-ondas { opacity:1; }
.hb-palco::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(180deg, rgba(7,9,11,.15), rgba(7,9,11,.5)); }
.hb-conteudo { position:relative; z-index:2; padding:clamp(14px, 3vw, 34px); }

/* botões: vidro líquido */
.hb-botoes { display:grid; grid-template-columns:repeat(4, 1fr); gap:clamp(8px, 1.4vw, 14px); }
.hb-bt { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; gap:12px; min-height:68px; padding:12px 16px; text-align:left;
  border:0; border-radius:20px; cursor:pointer; color:#f5f5f0; font-family:'DM Sans',sans-serif;
  background:linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  -webkit-backdrop-filter:blur(16px) saturate(1.7); backdrop-filter:blur(16px) saturate(1.7);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.15), 0 14px 34px -16px rgba(0,0,0,.7);
  transition:scale .6s cubic-bezier(.34,1.4,.64,1), box-shadow .35s ease; }
html.vidro-real .hb-bt { background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 60%, rgba(255,255,255,.05));
  box-shadow:inset 1px 1px 0 rgba(255,255,255,.6), inset -1px -1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(255,255,255,.16), inset 3px 0 5px -3px rgba(255,130,180,.4), inset -3px 0 5px -3px rgba(110,200,255,.45), 0 14px 34px -16px rgba(0,0,0,.7);
  text-shadow:0 1px 8px rgba(4,13,22,.6); }
.hb-bt svg { flex:none; width:28px; height:28px; color:var(--c); }
.hb-bt b { display:block; font:700 17px 'Space Grotesk',sans-serif; letter-spacing:-.02em; }
.hb-bt small { display:block; font-size:12.5px; line-height:1.25; color:rgba(245,245,240,.78); }
.hb-bt[aria-selected="true"] { box-shadow:inset 0 0 0 2px var(--c), inset 0 0 26px -6px var(--c), 0 14px 34px -16px rgba(0,0,0,.7); }
.hb-bt.hb-toque { scale:.95; }
.hb-bt:focus-visible { outline:3px solid var(--c); outline-offset:3px; }
@media (hover:hover) { .hb-bt:hover { scale:1.04; } }

/* cursor que mostra onde clicar */
.hb-cursor { position:absolute; left:0; top:0; z-index:4; width:30px; height:30px; pointer-events:none; opacity:0;
  transition:transform 1s cubic-bezier(.5,0,.2,1), opacity .4s ease; filter:drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.hb-cursor.on { opacity:1; }
.hb-cursor svg { width:100%; height:100%; transition:transform .16s ease; transform-origin:0 0; }
.hb-cursor.clica svg { transform:scale(.8); }
.hb-cursor::after { content:""; position:absolute; left:-17px; top:-17px; width:38px; height:38px; border-radius:50%; border:2px solid #fff; opacity:0; }
.hb-cursor.clica::after { animation:hb-anel .6s ease-out; }
@keyframes hb-anel { from { opacity:.9; transform:scale(.3); } to { opacity:0; transform:scale(1.9); } }

/* painel: celular + texto */
.hb-painel { display:grid; grid-template-columns:minmax(230px, 290px) 1fr; gap:clamp(22px, 5vw, 64px); align-items:center; margin-top:clamp(20px, 3.4vw, 40px); }
.hb-fone { padding:9px; border-radius:40px; background:#0b0b0d; border:2px solid #34343b; box-shadow:0 36px 80px rgba(0,0,0,.7), 0 0 60px -18px var(--hb-c);
  transition:transform .38s cubic-bezier(.5,0,.2,1), opacity .38s ease, filter .38s ease, box-shadow .6s ease; }
.hb-palco.troca .hb-fone { transform:translateY(34px) scale(.96); opacity:0; filter:blur(8px); }
.hb-tela { position:relative; aspect-ratio:9 / 16; border-radius:31px; overflow:hidden; background:#101216; color:#f4f4ef; font-size:13px; line-height:1.35;
  display:flex; flex-direction:column; }
.hb-txt { transition:transform .38s ease, opacity .38s ease; }
.hb-palco.troca .hb-txt { transform:translateY(18px); opacity:0; }
.hb-txt h3 { font-size:clamp(26px, 3.6vw, 40px); text-shadow:0 2px 18px rgba(0,0,0,.6); }
.hb-txt ul { list-style:none; padding:0; margin:18px 0 0; display:grid; gap:10px; font-size:clamp(15px, 1.7vw, 17px); color:#e6e6e0; text-shadow:0 1px 10px rgba(0,0,0,.7); }
.hb-txt li { display:flex; gap:12px; align-items:flex-start; }
.hb-txt li::before { content:""; flex:none; width:9px; height:9px; margin-top:7px; border-radius:50%; background:var(--hb-c); box-shadow:0 0 12px var(--hb-c); }
.hb-txt .hb-ex { margin:18px 0 0; font-size:14px; color:#d4d4cf; text-shadow:0 1px 10px rgba(0,0,0,.7); }
.hb-txt .hb-ex a { color:var(--hb-c); font-weight:700; }
.hb-txt .btn { margin-top:20px; }
.hb-teste { display:inline-flex; align-items:center; gap:8px; margin:0 0 12px; padding:6px 12px; border-radius:99px; font:700 12px 'DM Sans',sans-serif; letter-spacing:.08em;
  text-transform:uppercase; color:#07090b; background:var(--hb-c); }

/* ---------- demos dentro do celular ---------- */
.hd-topo { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:14px 14px 10px; font:700 14px 'Space Grotesk',sans-serif; }
.hd-topo span { font:600 11px 'DM Sans',sans-serif; padding:3px 9px; border-radius:99px; background:var(--hb-c); color:#07090b; }
.hd-corpo { flex:1; min-height:0; padding:0 14px 12px; display:flex; flex-direction:column; gap:10px; overflow:hidden; }
.hd-rod { padding:10px 14px 14px; display:grid; gap:8px; }
.hd-btn { min-height:42px; border:0; border-radius:14px; background:var(--hb-c); color:#07090b; font:700 14px 'DM Sans',sans-serif; cursor:pointer; padding:0 12px; }
.hd-btn[disabled] { opacity:.4; cursor:default; }
.hd-btn.linha { background:rgba(255,255,255,.08); color:#f4f4ef; box-shadow:inset 0 0 0 1px rgba(255,255,255,.16); }
.hd-pulsa { animation:hd-pulsa 1.5s ease-in-out infinite; }
@keyframes hd-pulsa { 50% { box-shadow:0 0 0 7px color-mix(in srgb, var(--hb-c) 28%, transparent); } }
.hd-nota { margin:0; font-size:12px; color:#a9a9b2; }
.hd-card { padding:12px; border-radius:16px; background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); }
.hd-ok { margin:auto 0; text-align:center; display:grid; gap:8px; justify-items:center; animation:hd-entra .5s cubic-bezier(.34,1.4,.64,1); }
.hd-ok i { display:grid; place-items:center; width:58px; height:58px; border-radius:50%; background:var(--hb-c); color:#07090b; font:700 30px 'Space Grotesk',sans-serif; font-style:normal; }
.hd-ok b { font:700 18px 'Space Grotesk',sans-serif; }
@keyframes hd-entra { from { opacity:0; transform:scale(.7); } }

/* fidelidade */
.hd-selos { display:grid; grid-template-columns:repeat(5, 1fr); gap:8px; }
.hd-selo { aspect-ratio:1; border-radius:50%; border:2px dashed rgba(255,255,255,.28); display:grid; place-items:center; font:700 12px 'Space Grotesk',sans-serif; color:#8d8d97; }
.hd-selo.cheio { border:0; background:var(--hb-c); color:#07090b; animation:hd-carimbo .45s cubic-bezier(.34,1.6,.64,1); }
@keyframes hd-carimbo { from { transform:scale(2.2) rotate(-25deg); opacity:0; } }
.hd-barra { height:7px; border-radius:99px; background:rgba(255,255,255,.1); overflow:hidden; }
.hd-barra i { display:block; height:100%; background:var(--hb-c); border-radius:99px; transition:width .5s ease; }

/* agenda */
.hd-linha { display:flex; gap:6px; flex-wrap:wrap; }
.hd-chip { min-height:36px; padding:0 11px; border:0; border-radius:11px; background:rgba(255,255,255,.07); color:#f4f4ef; font:600 12.5px 'DM Sans',sans-serif; cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12); }
.hd-chip[aria-pressed="true"] { background:var(--hb-c); color:#07090b; box-shadow:none; }
.hd-chip[disabled] { opacity:.35; text-decoration:line-through; cursor:default; }
.hd-horas { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; }
.hd-rot { margin:2px 0 -4px; font:700 11px 'DM Sans',sans-serif; letter-spacing:.12em; text-transform:uppercase; color:#a9a9b2; }

/* catálogo e mesa */
.hd-item { display:flex; align-items:center; gap:10px; padding:7px; border-radius:14px; background:rgba(255,255,255,.05); }
.hd-foto { flex:none; width:44px; height:44px; border-radius:11px; display:grid; place-items:center; color:#07090b; }
.hd-foto svg { width:24px; height:24px; }
.hd-item b { display:block; font:600 13px 'DM Sans',sans-serif; }
.hd-item small { color:#a9a9b2; font-size:12px; }
.hd-item div { flex:1; min-width:0; }
.hd-mais { flex:none; width:34px; height:34px; border:0; border-radius:50%; background:var(--hb-c); color:#07090b; font:700 19px/1 'Space Grotesk',sans-serif; cursor:pointer; }
.hd-mais.tem { background:#f4f4ef; font-size:14px; }
.hd-balao { align-self:flex-end; max-width:92%; padding:10px 12px; border-radius:14px 14px 4px 14px; background:#0b5d3b; white-space:pre-line; font-size:12.5px; animation:hd-entra .45s ease; }
.hd-abas { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:0 14px 10px; padding:4px; border-radius:13px; background:rgba(255,255,255,.07); }
.hd-abas button { min-height:32px; border:0; border-radius:10px; background:none; color:#c9c9c4; font:600 12px 'DM Sans',sans-serif; cursor:pointer; }
.hd-abas button[aria-pressed="true"] { background:#f4f4ef; color:#07090b; }
.hd-mesas { display:grid; grid-template-columns:repeat(4, 1fr); gap:7px; }
.hd-mesa { aspect-ratio:1; border-radius:12px; background:rgba(255,255,255,.06); display:grid; place-items:center; font:700 14px 'Space Grotesk',sans-serif; color:#8d8d97; }
.hd-mesa.viva { background:var(--hb-c); color:#07090b; animation:hd-pulsa 1.2s ease-in-out infinite; }
.hd-aviso { padding:10px 12px; border-radius:14px; background:color-mix(in srgb, var(--hb-c) 18%, transparent); box-shadow:inset 0 0 0 1px var(--hb-c); animation:hd-entra .45s ease; }
.hd-aviso b { display:block; font:700 14px 'Space Grotesk',sans-serif; }

@media (max-width: 860px) {
  .hb-botoes { grid-template-columns:1fr 1fr; }
  .hb-bt { min-height:62px; padding:10px 12px; gap:9px; border-radius:17px; }
  .hb-bt svg { width:24px; height:24px; }
  .hb-bt b { font-size:15px; } .hb-bt small { font-size:11.5px; }
  .hb-painel { grid-template-columns:1fr; }
  .hb-fone { width:min(264px, 74vw); margin-inline:auto; }
  .hb-txt { text-align:left; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-fone, .hb-txt, .hb-bg, .hb-bt { transition:none; }
  .hd-pulsa, .hd-mesa.viva, .hd-selo.cheio, .hd-ok, .hd-balao, .hd-aviso { animation:none; }
  .hb-cursor { display:none; }
}
