/* ==========================================================================
   HB Telecom · topo do celular: o slide de hoje continua igual e entra um
   segundo slide (700 Mega + chip até 80GB), com troca automática, deslizar
   com o dedo e bolinhas com a bolinha que pula (como no computador).
   O slide novo fica por cima do de hoje (absoluto), então a altura do topo
   não muda.
   ========================================================================== */
.hb-bm-on .hb-hero-media--mobile .hb-hero-carousel-track { position: relative; }

/* troca entre os slides */
.hb-bm-on .hb-hero-media--mobile .hb-hero-slide--mobile-promo,
.hb-bm { transition: opacity .45s ease, visibility 0s linear 0s; }
.hb-bm-on .hb-hero-media--mobile .hb-hero-slide--mobile-promo.hb-bm-fora,
.hb-bm.hb-bm-fora {
  opacity: 0 !important; pointer-events: none;
  transition: opacity .45s ease;
}

/* ---------- slide novo ---------- */
.hb-bm {
  position: absolute; inset: 0; z-index: 2; overflow: hidden; will-change: opacity;
  background: #000; color: #fff;
  font-family: Montserrat, Inter, "Segoe UI", system-ui, sans-serif;
  --v: #FF2A1F; --vv: #9E0000;
}
.hb-bm * { box-sizing: border-box; margin: 0; padding: 0; }
.hb-bm-media { position: absolute; left: 0; right: 0; top: var(--hb-bm-topo, 81px); height: 441px; overflow: hidden; }
.hb-bm-foto { position: absolute; width: 1101px; height: 615px; left: calc(50% - 792px); top: -30px; transform-origin: 72% 30%; }
.hb-bm-foto img, .hb-bm-foto svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hb-bm-foto img { transform: translateZ(0); }
.hb-bm-fade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 18%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.92) 14%, rgba(0,0,0,0) 48%),
    linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%); }

.hb-bm-copy { position: absolute; left: 0; right: 0; top: calc(var(--hb-bm-topo, 81px) + 330px); padding: 0 20px; text-align: center; z-index: 1; }
.hb-bm-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(20, 0, 0, .55); border: 1px solid rgba(255, 70, 60, .35); backdrop-filter: blur(6px); }
.hb-bm-tag b { font-weight: 800; }
.hb-bm-tag .mais { color: var(--v); font-weight: 700; }
.hb-bm h2 { margin-top: 14px; font-size: 29px; line-height: 1.04; font-weight: 900; letter-spacing: -.8px; color: #fff; }
.hb-bm h2 .p { display: inline-block; }
.hb-bm h2 em { font-style: normal; color: var(--v); text-shadow: 0 0 22px rgba(255, 42, 31, .45); }

/* caixa da oferta (versão compacta da do computador) */
.hb-bm-oferta { margin: 16px auto 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; max-width: 100%; border-radius: 12px;
  border: 1px solid rgba(255, 42, 31, .6);
  background: linear-gradient(180deg, rgba(40,0,0,.6), rgba(10,0,0,.8)); box-shadow: 0 0 24px rgba(255,42,31,.3), inset 0 0 16px rgba(255,42,31,.12); text-align: left; }
.hb-bm .col { display: flex; flex-direction: column; justify-content: center; }
.hb-bm .mini { white-space: nowrap; width: max-content; font-size: 6.5px; font-weight: 700; color: #fff; letter-spacing: 0; text-transform: uppercase; line-height: 1.1; margin-bottom: 2px; }
.hb-bm .mega { width: max-content; font-size: 30px; font-weight: 900; line-height: .86; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; }
.hb-bm .mega small { display: block; width: max-content; font-size: 15px; letter-spacing: 0; line-height: 1; margin-top: 2px; }
.hb-bm .plus { font-size: 20px; font-weight: 900; color: var(--v); margin: 0; line-height: 1; }
.hb-bm .movel { flex-direction: row; align-items: center; gap: 6px; }
.hb-bm-chip { width: 23px; height: 30px; flex: none; }
.hb-bm-chip svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 0 6px rgba(255,42,31,.6)); }
.hb-bm .gb .ate { font-size: 9px; font-weight: 800; line-height: 1; }
.hb-bm .gb .n { font-size: 27px; font-weight: 900; line-height: .9; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; }
.hb-bm .gb .n span:last-child { font-size: 15px; letter-spacing: -.3px; }
.hb-bm .gb .l { white-space: nowrap; font-size: 6.5px; font-weight: 700; letter-spacing: .2px; text-transform: uppercase; margin-top: 2px; }
.hb-bm .div { width: 1px; align-self: stretch; background: rgba(255,255,255,.6); margin: 2px 0; }
.hb-bm .preco { flex-direction: row; align-items: center; gap: 3px; }
.hb-bm .por { color: var(--v); font-weight: 800; font-size: 11px; line-height: .95; display: flex; flex-direction: column; }
.hb-bm .por span { width: max-content; line-height: .9; font-weight: 800; font-size: 11px; }   /* o R$ é esticado no JS para a largura do POR */
.hb-bm .valor { font-size: 40px; font-weight: 900; letter-spacing: -2px; line-height: .8; }
.hb-bm .cent { display: flex; flex-direction: column; line-height: .95; }
.hb-bm .cent b { font-size: 17px; font-weight: 900; letter-spacing: -.5px; }
.hb-bm .cent span { font-size: 11px; font-weight: 700; color: var(--v); margin-top: 4px; margin-left: 1px; }   /* /MÊS um pouco mais baixo, solto */

/* fios da foto acendendo (uma vez, quando o slide entra) */
.hb-bm-fio { stroke-dasharray: 16 130; stroke-dashoffset: 16; opacity: 0; }
.hb-bm.is-on .hb-bm-fio { animation: hb-bm-fio 1.1s cubic-bezier(.4, 0, .6, 1) both; animation-delay: calc(.35s + var(--f, 0) * .18s); }
@keyframes hb-bm-fio { 0% { stroke-dashoffset: 16; opacity: 0; } 8% { opacity: 1; } 88% { stroke-dashoffset: -90; opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.hb-bm-chega { opacity: 0; transform-box: fill-box; transform-origin: center; mix-blend-mode: screen; }
.hb-bm.is-on .hb-bm-chega { animation: hb-bm-chega 1.4s ease-out 1.25s 1 both; }
@keyframes hb-bm-chega { 0% { opacity: 0; transform: scale(.5); } 20% { opacity: .8; transform: scale(1); } 60% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.6); } }

/* entrada do texto toda vez que o slide aparece */
.hb-bm [data-e] { opacity: 0; }
.hb-bm.is-on [data-e] { animation: hb-bm-sobe .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * .55ms); }
.hb-bm.is-on [data-e="pop"] { animation-name: hb-bm-pop; animation-duration: .45s; }
.hb-bm.is-on [data-e="caixa"] { animation-name: hb-bm-caixa; animation-duration: .55s; }
.hb-bm.is-on h2 em { animation: hb-bm-sobe .5s cubic-bezier(.2, .8, .2, 1) both, hb-bm-neon 2.6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * .55ms), calc(var(--d, 0) * .55ms + 600ms); }
@keyframes hb-bm-sobe { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hb-bm-pop  { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes hb-bm-caixa { from { opacity: 0; transform: translateY(20px) scale(.94); clip-path: inset(0 100% 0 0 round 12px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 12px); } }
@keyframes hb-bm-neon { 0%, 100% { text-shadow: 0 0 14px rgba(255,42,31,.35); } 50% { text-shadow: 0 0 26px rgba(255,42,31,.9), 0 0 6px rgba(255,140,120,.6); } }

/* ---------- 3º slide: Watch (Internet + Streaming) ---------- */
.hb-bm-w { background: radial-gradient(120% 60% at 50% 25%, #2a0303 0%, #000 70%); }
.hb-bm-mural { position: absolute; left: 50%; top: 54px; width: min(300px, calc(100% - 56px)); transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hb-bm-w .tela { position: relative; aspect-ratio: 236 / 212; border-radius: 12px; overflow: hidden; background: #111;
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 24px rgba(0,0,0,.6); opacity: 0; transform: translateZ(0); }
.hb-bm-w .tela .foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-bm-w .tela .nome { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 9px 7px; background: linear-gradient(0deg, rgba(0,0,0,.92) 20%, rgba(0,0,0,0)); }
.hb-bm-w .tela .nome em { display: block; font-style: normal; font-size: 7px; font-weight: 700; letter-spacing: .2px; color: #ffd7d2; text-transform: uppercase; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-bm-w .tela .logo { display: block; height: 16px; width: auto; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.hb-bm-w .t-futebol .logo { height: 11px; }
.hb-bm-w .t-planeta .logo, .hb-bm-w .t-turbo .logo { filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,.6)); height: 18px; }
.hb-bm-w .t-turbo .logo { height: 19px; }
.hb-bm-w .t-cinema .logo { height: 20px; margin: -1px 0 -2px -3px; }
/* as telinhas entram uma a uma e cada uma ganha destaque na sua vez (o slide fica 12s) */
.hb-bm-w.is-on .tela { animation: hb-bm-tela .55s cubic-bezier(.2, .8, .2, 1) both, hb-bm-foco 2.2s ease-in-out both;
  animation-delay: calc(.15s + var(--i) * .1s), calc(1.4s + var(--i) * 2.5s); }
@keyframes hb-bm-tela { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes hb-bm-foco { 0%, 100% { opacity: 1; transform: none; border-color: rgba(255,255,255,.16); box-shadow: 0 10px 24px rgba(0,0,0,.6); }
  25%, 75% { opacity: 1; transform: scale(1.05); border-color: rgba(255,120,100,.95); box-shadow: 0 12px 26px rgba(0,0,0,.7), 0 0 18px rgba(255,42,31,.7); } }
.hb-bm-w .hb-bm-fade { background:
  linear-gradient(0deg, #000 0%, rgba(0,0,0,.9) 16%, rgba(0,0,0,0) 40%); }
/* caixa: o logo da Watch no lugar do chip */
.hb-bm-w .marca { display: block; height: 40px; width: auto; min-width: 0; max-width: 100%; object-fit: contain; object-position: left center; }
.hb-bm-w .hb-bm-oferta { gap: 8px; }

/* ---------- 4º slide: globoplay (Internet + Streaming) ---------- */
.hb-bm-g { background: radial-gradient(120% 60% at 50% 28%, #33020c 0%, #000 70%); }
.hb-bm-g .hb-bm-cf { position: absolute; left: 50%; top: 58px; width: 0; height: 300px; perspective: 900px; }
.hb-bm-g .pst { position: absolute; left: -84px; top: 0; width: 168px; height: 249px; opacity: 0;
  --a: 2; --o: 0;
  transform: translateX(calc(var(--o) * 112px)) translateZ(calc(var(--a) * -90px)) rotateY(calc(var(--o) * -26deg));
  transition: transform .8s cubic-bezier(.3, .7, .2, 1), opacity .8s, filter .8s; filter: brightness(.5) saturate(.8); }
.hb-bm-g .pst img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 14px 30px rgba(0,0,0,.7);
  -webkit-box-reflect: below 6px linear-gradient(transparent 70%, rgba(0,0,0,.25)); }
.hb-bm-g .pst.on { filter: none; }
.hb-bm-g .pst.on img { border-color: rgba(255,120,140,.9); box-shadow: 0 16px 34px rgba(0,0,0,.75), 0 0 24px rgba(251,2,52,.6); }
.hb-bm-g .pst .brilho { position: absolute; inset: 0; border-radius: 11px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.28) 48%, rgba(255,255,255,0) 60%);
  background-size: 300% 100%; background-position: 120% 0; }
.hb-bm-g.is-on .pst.on .brilho { animation: hb-bm-gvidro 1s .3s ease-in-out both; }
@keyframes hb-bm-gvidro { from { background-position: 120% 0; } to { background-position: -30% 0; } }
.hb-bm-g.is-on .pst.vis { opacity: 1; }
.hb-bm-g.is-on .pst.vis img { animation: hb-bm-gchega .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.15s + var(--n) * .1s); }
@keyframes hb-bm-gchega { from { opacity: 0; transform: translateY(24px) scale(.88); } to { opacity: 1; transform: none; } }
.hb-bm-g .hb-bm-chao { position: absolute; left: 50%; width: 340px; margin-left: -170px; top: 288px; height: 44px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(251,2,52,.5), rgba(251,2,52,0)); filter: blur(5px); }
.hb-bm-g .hb-bm-fade { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.9) 16%, rgba(0,0,0,0) 40%); }
/* caixa: o logo oficial do globoplay no lugar do chip */
.hb-bm-g .gp { justify-content: center; min-width: 0; }
.hb-bm-g .marca { display: block; height: 26px; width: auto; max-width: 100%; filter: drop-shadow(0 0 10px rgba(251,2,52,.35)); }
.hb-bm-g .hb-bm-oferta { gap: 8px; }
.hb-bm-g .gp-in { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; max-width: 100%; }
.hb-bm-g .gp .l { font-size: 8.5px; font-weight: 500; color: #f1e8e8; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .hb-bm-g .pst, .hb-bm-g .pst img { transition: none; animation: none !important; } }

/* ---------- bolinhas (barrinha de tempo que vira bolinha e pula) ---------- */
.hb-bm-dots { contain: layout style; position: absolute; left: 0; right: 0; bottom: 10px; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 8px; pointer-events: none; }
.hb-bm-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; padding: 0; border: 0; cursor: pointer; pointer-events: auto;
  background: rgba(255, 255, 255, .38); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
  transition: width .14s ease, height .14s ease, border-radius .14s ease; -webkit-tap-highlight-color: transparent; }
.hb-bm-dot::after { content: ""; position: absolute; inset: -10px -4px; }   /* área de toque maior */
.hb-bm-dot.is-active { width: 42px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.hb-bm-dots.hb-bm-sem-trans .hb-bm-dot { transition: none !important; }
.hb-bm-dot.hb-bm-pouso::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .8); opacity: 0; animation: hb-bm-pouso .45s ease-out .42s forwards; pointer-events: none; }
@keyframes hb-bm-pouso { from { transform: scale(.8); opacity: 1; } to { transform: scale(2.8); opacity: 0; } }
.hb-bm-ind { position: absolute; z-index: 2; border-radius: 6px; overflow: hidden; background: transparent; pointer-events: none; will-change: transform, left, top, width; }
.hb-bm-ind::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; transform-origin: left center; transform: scaleX(0); }
.hb-bm-ind.hb-bm-cheia::after { transform: none; }
.hb-bm-ind.hb-bm-tempo::after { animation: hb-bm-tempo var(--hb-bm-barra, 8000ms) linear forwards; }
@keyframes hb-bm-tempo { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hb-bm [data-e] { opacity: 1; }
  .hb-bm *, .hb-bm *::before, .hb-bm *::after, .hb-bm-ind::after { animation: none !important; }
}
/* só no celular */
/* botão pausar / continuar (igual ao do computador) */
.hb-bm-play { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 6; pointer-events: auto;
  width: 34px; height: 34px; padding: 0; margin: 0; display: inline-flex; align-items: center; justify-content: center;
  background: none !important; border: 0 !important; box-shadow: none !important; color: #fff; opacity: .85; cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); -webkit-tap-highlight-color: transparent; }
.hb-bm-play svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.hb-bm-play:active { transform: translateY(-50%) scale(.9); }
.hb-bm-pausado .hb-bm, .hb-bm-pausado .hb-bm * { animation-play-state: paused !important; }
@media (min-width: 981px) { .hb-bm, .hb-bm-dots { display: none !important; } }
