/* =====================================================================
   STE Pages — Botões da Home (componente gerado pelo admin "Botões")
   Prefixo .stb  ·  modelos: gradiente, contorno, branco, vidro, magenta,
   whatsapp, linha, link  ·  tamanhos: g, m, p  ·  largura: auto, inteira, metade
   ===================================================================== */
.stb{
  --stb-grad:linear-gradient(90deg,#F5A000,#E8440A,#E8187A,#8B2FC9,#00B8E8);
  --stb-grad-fill:linear-gradient(100deg,#8B2FC9 0%,#E8187A 52%,#F5A000 100%);
  --stb-dark:#0C0E1C;
  --stb-border:rgba(238,240,255,.14);
  --stb-soft:rgba(238,240,255,.66);
  --stb-ease:cubic-bezier(.45,0,.55,1);
  --stb-gap:12px;display:flex;flex-wrap:wrap;gap:var(--stb-gap);align-items:stretch;
  font-family:'Nunito','DM Sans',system-ui,sans-serif;
  margin:0 auto;max-width:1240px;
}
.stb.stb-al-centro{justify-content:center}
.stb.stb-al-esquerda{justify-content:flex-start;margin-left:0}
.stb *{box-sizing:border-box}

/* ---------- Botão base ---------- */
.stb-btn{
  position:relative;display:inline-flex;align-items:center;gap:12px;
  text-decoration:none!important;color:#fff;border-radius:100px;
  border:1.5px solid transparent;cursor:pointer;line-height:1.15;
  transition:transform .45s var(--stb-ease),box-shadow .45s var(--stb-ease),border-color .45s var(--stb-ease),background .45s var(--stb-ease);
  -webkit-tap-highlight-color:transparent;
}
.stb-btn:hover{transform:translateY(-1px)}
.stb-btn:focus-visible{outline:2px solid #00B8E8;outline-offset:3px}
.stb-tx{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;text-align:left}
.stb-over{font-weight:700;font-size:.62em;letter-spacing:.22em;text-transform:uppercase;opacity:.72}
.stb-tt{font-weight:800;letter-spacing:.02em}
.stb-sub{font-weight:600;font-size:.72em;letter-spacing:.1em;text-transform:uppercase;opacity:.78}
.stb-ic{flex:none;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.16)}
.stb-ic svg{width:55%;height:55%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stb-ic svg.fill{fill:currentColor;stroke:none}
.stb-ar{flex:none;width:16px;height:1.5px;background:currentColor;position:relative;margin-left:4px;transition:width .45s var(--stb-ease)}
.stb-ar::after{content:'';position:absolute;right:0;top:-3.5px;width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.stb-btn:hover .stb-ar{width:22px}
.stb-selo{position:absolute;top:-9px;right:18px;font:800 10px/1 'Nunito',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#07080E;background:#F5A000;padding:5px 9px;border-radius:100px;box-shadow:0 4px 14px rgba(0,0,0,.35)}

/* quebra de linha opcional antes de um botão */
.stb-br{flex-basis:100%;height:0;margin-top:calc(var(--stb-gap) * -1)}

/* ---------- Tamanhos ---------- */
.stb-t-g{min-height:64px;padding:10px 26px 10px 12px;font-size:17px}
.stb-t-g .stb-ic{width:44px;height:44px}
.stb-t-m{min-height:52px;padding:8px 22px 8px 10px;font-size:15px}
.stb-t-m .stb-ic{width:34px;height:34px}
.stb-t-p{min-height:38px;padding:6px 16px;font-size:13px;gap:8px}
.stb-t-p .stb-ic{width:24px;height:24px;background:none}
.stb-t-p .stb-over,.stb-t-p .stb-sub{display:none}
.stb-t-p .stb-ar{width:10px}
.stb-sem-ic.stb-t-g{padding-left:28px}.stb-sem-ic.stb-t-m{padding-left:22px}

/* ---------- Largura ---------- */
.stb-w-inteira{flex:1 1 100%}
.stb-w-metade{flex:1 1 calc(50% - var(--stb-gap) / 2)}
.stb-w-auto{flex:0 1 auto}
.stb-w-terco{flex:1 1 calc(33.333% - var(--stb-gap) * 2 / 3)}
.stb-w-quarto{flex:1 1 calc(25% - var(--stb-gap) * 3 / 4)}
@media (max-width:1080px) and (min-width:721px){.stb-w-quarto{flex-basis:calc(50% - var(--stb-gap) / 2)}}

/* ---------- Modelos ---------- */
.stb-m-gradiente{background:var(--stb-grad-fill) border-box;border:0;box-shadow:0 10px 34px rgba(232,24,122,.28)}
.stb-m-gradiente:hover{box-shadow:0 14px 44px rgba(232,24,122,.4)}
.stb-m-contorno{background:linear-gradient(var(--stb-dark),var(--stb-dark)) padding-box,var(--stb-grad) border-box}
.stb-m-contorno .stb-ic{background:var(--stb-grad-fill)}
.stb-m-contorno:hover{box-shadow:0 10px 36px rgba(232,24,122,.2)}
.stb-m-branco{background:#fff;color:#07080E;box-shadow:0 12px 40px rgba(232,24,122,.22)}
.stb-m-branco .stb-ic{background:var(--stb-grad-fill);color:#fff}
.stb-m-vidro{background:rgba(17,19,38,.55);border-color:var(--stb-border);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.stb-m-vidro:hover{border-color:rgba(238,240,255,.34)}
.stb-m-vidro .stb-ic{background:rgba(255,255,255,.08)}
.stb-m-magenta{background:#E8187A;box-shadow:0 10px 30px rgba(232,24,122,.3)}
.stb-m-whatsapp{background:#1FAF57;box-shadow:0 10px 28px rgba(31,175,87,.28)}
/* "linha": estilo editorial premium, sem fundo, com fio no topo */
.stb-m-linha{border-radius:0;border:0;border-top:1px solid var(--stb-border);background:none;padding-left:0!important;padding-right:4px!important;min-height:0;padding-top:16px!important;padding-bottom:16px!important}
.stb-m-linha .stb-ic{background:none;border:1px solid var(--stb-border)}
.stb-m-linha .stb-tt{font-weight:400;font-size:1.12em;letter-spacing:0}
.stb-m-linha .stb-over{color:#00B8E8;opacity:1}
.stb-m-linha .stb-sub{text-transform:none;letter-spacing:0;font-weight:400;opacity:.6}
.stb-m-linha:hover{border-top-color:rgba(238,240,255,.4);transform:none}
.stb-m-linha .stb-ar{opacity:.55}
.stb-m-linha:hover .stb-ar{opacity:1}
/* "link": texto simples, para atalhos secundários */
.stb-m-link{border:0;background:none;min-height:0!important;padding:6px 2px!important;font-size:14px!important;gap:8px;color:var(--stb-soft)}
.stb-m-link .stb-ic{width:20px!important;height:20px!important;background:none;color:#00B8E8}
.stb-m-link .stb-tt{font-weight:400;letter-spacing:0;color:#00B8E8;border-bottom:1px solid rgba(0,184,232,.4)}
.stb-m-link .stb-over{font-size:1em;letter-spacing:0;text-transform:none;font-weight:400;opacity:1}
.stb-m-link .stb-tx{flex-direction:row;flex-wrap:wrap;gap:6px;align-items:baseline}
.stb-m-link .stb-sub,.stb-m-link .stb-ar{display:none}
.stb-m-link:hover{transform:none}

/* ---------- Visibilidade ---------- */
@media (min-width:721px){.stb-v-mobile{display:none!important}}

/* ---------- Mobile ---------- */
@media (max-width:720px){
  .stb{--stb-gap:10px}
  .stb-v-desktop{display:none!important}
  .stb-t-g{min-height:56px;font-size:15px;padding:8px 20px 8px 8px}
  .stb-t-g .stb-ic{width:38px;height:38px}
  .stb-t-m{min-height:46px;font-size:14px;padding:6px 18px 6px 7px}
  .stb-t-m .stb-ic{width:30px;height:30px}
  .stb-t-m .stb-over{display:none}
  /* lista: um embaixo do outro */
  .stb-mm-lista .stb-btn{flex:1 1 100%}
  /* grade 2 colunas: botões Grandes e "linha inteira" ocupam a linha; o resto vira quadradinho 2 por linha */
  .stb-mm-grade .stb-t-g{flex-basis:100%}
  .stb-mm-grade .stb-btn:not(.stb-w-inteira):not(.stb-m-link):not(.stb-t-g){flex:1 1 calc(50% - var(--stb-gap) / 2);border-radius:16px;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px!important;min-height:0}
  .stb-mm-grade .stb-btn:not(.stb-w-inteira):not(.stb-m-link):not(.stb-t-g) .stb-ar{position:absolute;right:14px;top:22px}
  .stb-mm-grade .stb-btn:not(.stb-w-inteira):not(.stb-m-link):not(.stb-t-g) .stb-sub{display:none}
  .stb-mm-grade .stb-m-linha:not(.stb-w-inteira):not(.stb-t-g){border:1px solid var(--stb-border);border-radius:14px;background:rgba(17,19,38,.55);padding:12px 14px!important}
  /* carrossel: todos os botões numa linha que desliza na horizontal */
  .stb-mm-carrossel{overflow-x:auto;flex-wrap:nowrap;scroll-snap-type:x mandatory;padding:10px 2px 6px;margin:-10px -2px 0;scrollbar-width:none}
  .stb-mm-carrossel::-webkit-scrollbar{display:none}
  .stb-mm-carrossel .stb-btn{flex:0 0 auto;scroll-snap-align:start;max-width:82vw}
  .stb-m-link{flex-basis:100%!important;justify-content:center}
  .stb-m-link .stb-tx{flex:0 1 auto;justify-content:center}
  .stb-selo{right:12px}
}
@media (prefers-reduced-motion:reduce){.stb-btn,.stb-ar{transition:none}}
