/*
 * HotBoys — Home v4 Design System
 * Sem Bootstrap. CSS Grid / Flexbox / scroll-snap nativos.
 * Inspirado na interface Netflix, adaptado para conversão máxima.
 */

/* ================================================================
   0. RESET + VARIÁVEIS
   ================================================================ */
:root {
  --hb-red:       #E2382F;
  --hb-red-dark:  #b02923;
  --hb-red-glow:  rgba(226, 56, 47, 0.55);
  --hb-orange:    #FF6A00;
  --hb-amber:     #FFC857;
  --hb-fire:      linear-gradient(90deg, #E2382F 0%, #FF6A00 100%);
  --hb-fire-soft: linear-gradient(135deg, #E2382F 0%, #FF8A32 60%, #FFB347 100%);
  --hb-bg:        #0B0C0F;
  --hb-bg2:       #111216;
  --hb-bg3:       #181a1f;
  --hb-glass:     rgba(17, 18, 22, 0.75);
  --hb-border:    rgba(255,255,255,0.07);
  --hb-text:      #F1F1F1;
  --hb-muted:     #9CA3AF;
  --hb-card-w:    220px;
  --hb-card-h:    124px;
  --hb-radius:    8px;
  --hb-radius-lg: 14px;
  --hb-font:      'Poppins', 'Roboto', Arial, sans-serif;
  --hb-ease:      cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.hb-v4 {
  background: var(--hb-bg);
  color: var(--hb-text);
  font-family: var(--hb-font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ================================================================
   1. HERO FULLSCREEN
   ================================================================ */
.hb-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}

/* Vídeo/imagem de fundo */
.hb-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
  /* desfocar levemente para dar profundidade ao texto */
  filter: brightness(.55);
  transition: opacity .6s var(--hb-ease);
}

/* ---- Carrossel multi-slides ---- */
.hb-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hb-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s var(--hb-ease);
  pointer-events: none;
}

.hb-hero__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.hb-hero__slide picture,
.hb-hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(.55);
}

/* Vídeo preview (overlay sobre imagem, só desktop) */
.hb-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  filter: brightness(.55);
  transition: opacity .8s var(--hb-ease);
  pointer-events: none;
}

/* ---- Indicadores (dots) ---- */
.hb-hero__indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hb-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, border-color .3s, transform .3s;
}

.hb-hero__dot:hover {
  border-color: rgba(255,255,255,.8);
  transform: scale(1.2);
}

.hb-hero__dot--active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

/* Barra de progresso do auto-play */
.hb-hero__progress {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,.12);
  border-radius: 1px;
  overflow: hidden;
}

.hb-hero__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--hb-red);
  border-radius: 1px;
}

/* Vinheta lateral esquerda — estilo Netflix */
.hb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(11,12,15,.95) 0%,
    rgba(11,12,15,.7)  30%,
    rgba(11,12,15,.2)  55%,
    transparent        75%
  );
  pointer-events: none;
}

/* Gradiente de baixo para cima (legibilidade do nome da cena) */
.hb-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(11,12,15,1)   0%,
    rgba(11,12,15,.4)  25%,
    transparent        50%
  );
  pointer-events: none;
}

/* Conteúdo do hero */
.hb-hero__content {
  position: absolute;
  bottom: 15%;
  left: 5%;
  z-index: 2;
  max-width: 540px;
}

/* Badge de status */
.hb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hb-red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.hb-hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: hb-blink 1.4s ease-in-out infinite;
}

@keyframes hb-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

/* Série/categoria acima do título */
.hb-hero__series {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--hb-amber);
  margin-bottom: 10px;
}

/* Título principal */
.hb-hero__title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.7);
  margin-bottom: 14px;
}

/* Descrição */
.hb-hero__desc {
  font-size: clamp(.85rem, 1.5vw, 1rem);
  color: rgba(255,255,255,.8);
  line-height: 1.55;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta: duração + qualidade */
.hb-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: .8rem;
  color: var(--hb-muted);
}

.hb-hero__meta-hd {
  border: 1px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.7);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* Botões do hero */
.hb-hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hb-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s var(--hb-ease), transform .15s var(--hb-ease);
}

.hb-btn-play:hover {
  background: rgba(255,255,255,.85);
  transform: scale(1.03);
  color: #000;
  text-decoration: none;
}

.hb-btn-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109,109,110,.7);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s var(--hb-ease);
}

.hb-btn-info:hover {
  background: rgba(109,109,110,.9);
  color: #fff;
  text-decoration: none;
}

/* Chevron "scroll para baixo" */
.hb-hero__scroll {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: hb-bounce 2s ease-in-out infinite;
  opacity: .6;
}

.hb-hero__scroll svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

@keyframes hb-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Indicadores de progresso numérico Netflix */
.hb-hero__counter {
  position: absolute;
  bottom: 15%;
  right: 5%;
  z-index: 2;
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px rgba(255,255,255,.12);
  user-select: none;
  display: none;
}

@media (min-width: 1024px) { .hb-hero__counter { display: block; } }

/* Dialog (modal nativo) para "Mais Informações" */
.hb-dialog {
  border: none;
  border-radius: var(--hb-radius-lg);
  background: var(--hb-bg2);
  color: var(--hb-text);
  max-width: 700px;
  width: 90vw;
  padding: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,.8);
}

.hb-dialog::backdrop {
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
}

.hb-dialog__header {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--hb-radius-lg) var(--hb-radius-lg) 0 0;
}

.hb-dialog__header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-dialog__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--hb-bg2) 0%, transparent 50%);
}

.hb-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb-dialog__body {
  padding: 20px 24px 28px;
}

.hb-dialog__title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.hb-dialog__desc {
  font-size: .9rem;
  color: var(--hb-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hb-dialog__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hb-red);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s;
}

.hb-dialog__cta:hover {
  background: var(--hb-red-dark);
  color: #fff;
  text-decoration: none;
}

/* ================================================================
   2. SEÇÃO CRIADORES ONLINE (mantida, override visual)
   ================================================================ */
.hb-section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: 4px;
}

/* ================================================================
   3. ROWS DE CENAS (Netflix horizontal scroll)
   ================================================================ */
.hb-row {
  padding: 0 4% 32px;
  position: relative;
}

.hb-row + .hb-row { margin-top: -8px; }

/* Cabeçalho da row */
.hb-row__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.hb-row__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e5e5e5;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.hb-row__title:hover { color: #fff; }

/* Seta "Ver todos" que aparece no hover da row */
.hb-row__more {
  font-size: .8rem;
  font-weight: 600;
  color: var(--hb-amber);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
  white-space: nowrap;
}

.hb-row:hover .hb-row__more {
  opacity: 1;
  transform: translateX(0);
}

/* Track com scroll horizontal */
.hb-row__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--hb-card-w);
  gap: var(--hb-row-gap, 6px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  /* Esconde scrollbar mas mantém funcionalidade */
  scrollbar-width: none;
}

.hb-row__track::-webkit-scrollbar { display: none; }

/* Botões de seta do row (prev/next) */
.hb-row__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20,20,20,.85);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .2s, background .2s;
}

.hb-row:hover .hb-row__arrow { opacity: 1; }
.hb-row__arrow:hover { background: rgba(40,40,40,.95); }
.hb-row__arrow--prev { left: 8px; }
.hb-row__arrow--next { right: 8px; }

/* ================================================================
   4. CARD DE CENA
   ================================================================ */
.hb-card {
  position: relative;
  width: var(--hb-card-w);
  height: var(--hb-card-h);
  border-radius: var(--hb-radius);
  overflow: visible;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform .25s var(--hb-ease), z-index 0s .25s;
  flex-shrink: 0;
  text-decoration: none;
}

.hb-card:hover {
  transform: scale(1.2);
  z-index: 20;
  transition: transform .25s var(--hb-ease), z-index 0s;
}

/* Expande o track pai para ter espaço pro hover scale */
.hb-row__track { padding-top: 20px; padding-bottom: 20px; }

.hb-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--hb-radius);
  display: block;
}

/* Overlay que aparece no hover */
.hb-card__overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--hb-radius);
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.4) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .2s var(--hb-ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}

.hb-card:hover .hb-card__overlay { opacity: 1; }

.hb-card__play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .15s;
}

.hb-card__play:hover { background: rgba(255,255,255,.8); }

.hb-card__play svg {
  width: 12px;
  height: 12px;
  fill: #000;
}

.hb-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.hb-card__title {
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.hb-card__duration {
  font-size: .65rem;
  color: var(--hb-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Badges */
.hb-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1;
}

.hb-badge--new {
  background: var(--hb-red);
  color: #fff;
}

.hb-badge--hot {
  background: var(--hb-orange);
  color: #fff;
}

.hb-badge--watching {
  background: rgba(255,255,255,.15);
  color: #fff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
}

/* ---- Ranked card (Top 10 style) ---- */
.hb-card--ranked {
  position: relative;
  padding-left: 36px;
}

.hb-card__rank {
  position: absolute;
  left: -8px;
  bottom: -6px;
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2.5px rgba(255,255,255,.18);
  z-index: 1;
  user-select: none;
  pointer-events: none;
  transition: -webkit-text-stroke-color .25s ease;
}

.hb-card--ranked:hover .hb-card__rank {
  -webkit-text-stroke-color: var(--hb-red);
}

@media (max-width: 768px) {
  .hb-card--ranked { padding-left: 28px; }
  .hb-card__rank { font-size: 3rem; left: -4px; }
}

/* ---- Comment count badge ---- */
.hb-card__comments {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: .65rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 10px;
  line-height: 1;
  z-index: 2;
}

/* Card wide (destacado no topo) */
.hb-card--wide {
  --hb-card-w: 340px;
  --hb-card-h: 191px;
}

/* ================================================================
   5. SEÇÃO CTA — "Cena Grátis do Dia"
   ================================================================ */
.hb-free-section {
  margin: 0 4% 40px;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background: var(--hb-bg3);
}

.hb-free-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45);
}

.hb-free-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,12,15,.95) 0%, rgba(11,12,15,.3) 70%, transparent 100%);
  z-index: 1;
}

.hb-free-section__content {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
  max-width: 520px;
}

.hb-free-section__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 209, 0, 0.15);
  border: 1px solid rgba(255,209,0,.4);
  color: var(--hb-amber);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hb-free-section__title {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hb-free-section__countdown {
  font-size: .8rem;
  color: var(--hb-muted);
  margin-bottom: 18px;
}

.hb-free-section__countdown span {
  color: var(--hb-amber);
  font-weight: 700;
}

/* ================================================================
   6. SEÇÃO DE PLANOS — 3 cards Netflix
   ================================================================ */
.hb-plans {
  padding: 60px 4%;
  background: linear-gradient(180deg, var(--hb-bg) 0%, #0d0e12 100%);
}

.hb-plans__head {
  text-align: center;
  margin-bottom: 48px;
}

.hb-plans__overline {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: 12px;
}

.hb-plans__title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hb-plans__subtitle {
  font-size: 1rem;
  color: var(--hb-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Grid 3 colunas — card do meio 5% maior */
.hb-plans__grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 40px;
  align-items: center;
}

/* Card base */
.hb-plan-card {
  background: var(--hb-bg3);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  padding: 28px 22px 24px;
  position: relative;
  transition: transform .2s var(--hb-ease), box-shadow .2s var(--hb-ease);
}

.hb-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

/* Card POPULAR (centro) */
.hb-plan-card--featured {
  background: #14161c;
  border-color: var(--hb-red);
  box-shadow: 0 0 0 1px var(--hb-red), 0 0 50px var(--hb-red-glow);
  transform: scale(1.03);
  z-index: 2;
}

.hb-plan-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 0 1px var(--hb-red), 0 0 70px var(--hb-red-glow);
}

/* Badge do card */
.hb-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--hb-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(226,56,47,.6);
}

.hb-plan-badge--neutral {
  background: rgba(255,255,255,.1);
  color: var(--hb-muted);
  box-shadow: none;
}

.hb-plan-badge--trial {
  background: var(--hb-fire);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,106,0,.5);
}

/* Nome do plano */
.hb-plan__name {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hb-muted);
  margin-bottom: 10px;
  margin-top: 10px;
}

/* Preço */
.hb-plan__price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
  margin-bottom: 4px;
}

.hb-plan__currency {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  padding-top: 8px;
}

.hb-plan__amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}

.hb-plan-card--featured .hb-plan__amount {
  background: var(--hb-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hb-plan__period {
  font-size: .78rem;
  color: var(--hb-muted);
  align-self: flex-end;
  padding-bottom: 6px;
}

/* Pix tag */
.hb-plan__pix {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 180, 90, 0.12);
  border: 1px solid rgba(0,180,90,.3);
  color: #4ade80;
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* Divisor */
.hb-plan__divider {
  height: 1px;
  background: var(--hb-border);
  margin: 16px 0;
}

/* Lista de features */
.hb-plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.hb-plan__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}

.hb-plan__features li::before {
  content: '✓';
  color: #4ade80;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}

/* CTA do plano */
.hb-plan__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: all .2s var(--hb-ease);
  cursor: pointer;
  border: none;
}

.hb-plan__cta--primary {
  background: var(--hb-red);
  color: #fff;
}

.hb-plan__cta--primary:hover {
  background: var(--hb-red-dark);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(226,56,47,.5);
}

.hb-plan__cta--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}

.hb-plan__cta--outline:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  border-color: rgba(255,255,255,.4);
}

.hb-plan__cta--ghost {
  background: rgba(226,56,47,.12);
  color: var(--hb-red);
  border: 1px solid rgba(226,56,47,.3);
}

.hb-plan__cta--ghost:hover {
  background: rgba(226,56,47,.2);
  color: var(--hb-red);
  text-decoration: none;
}

/* Contador urgência nos planos */
.hb-plans__urgency {
  text-align: center;
  font-size: .82rem;
  color: var(--hb-muted);
  margin-bottom: 18px;
}

.hb-plans__urgency strong {
  color: var(--hb-amber);
  font-weight: 700;
}

#hb-plans-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--hb-amber);
}

/* Lista de "o que está incluso" abaixo dos cards */
.hb-plans__included {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.hb-plans__included-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: var(--hb-muted);
}

.hb-plans__included-item svg {
  width: 16px;
  height: 16px;
  stroke: #4ade80;
  fill: none;
  flex-shrink: 0;
}

/* ================================================================
   7. SEÇÃO DESTAQUE — Card de comentário / "Gozei com a cena"
   ================================================================ */
.hb-spotlight {
  margin: 0 4% 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.hb-spotlight__video-wrap {
  position: relative;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}

.hb-spotlight__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--hb-ease);
}

.hb-spotlight__video-wrap:hover .hb-spotlight__thumb { transform: scale(1.04); }

.hb-spotlight__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .2s;
}

.hb-spotlight__video-wrap:hover .hb-spotlight__play-overlay { background: rgba(0,0,0,.2); }

.hb-spotlight__play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s;
}

.hb-spotlight__play-btn:hover { transform: scale(1.1); }

.hb-spotlight__play-btn svg {
  width: 24px;
  height: 24px;
  fill: #000;
  margin-left: 3px;
}

.hb-spotlight__comment {
  background: var(--hb-bg3);
  border-radius: var(--hb-radius-lg);
  padding: 28px;
  border: 1px solid var(--hb-border);
  border-top: 3px solid var(--hb-red);
  position: relative;
}

.hb-spotlight__comment-quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--hb-red);
  font-family: Georgia, serif;
  position: absolute;
  top: 12px;
  left: 20px;
  opacity: .4;
}

.hb-spotlight__comment-text {
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  font-style: italic;
  padding-top: 32px;
  margin-bottom: 18px;
}

.hb-spotlight__comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hb-spotlight__author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--hb-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}

.hb-spotlight__author-info { flex: 1; }

.hb-spotlight__author-name {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
}

.hb-spotlight__author-location {
  font-size: .75rem;
  color: var(--hb-muted);
}

.hb-spotlight__stars {
  color: var(--hb-amber);
  font-size: .85rem;
  letter-spacing: 2px;
}

/* ================================================================
   8. STRIP "ASSINE JÁ" — social proof + urgência
   ================================================================ */
.hb-assine-strip {
  background: linear-gradient(135deg, #0d0e12 0%, #14161c 100%);
  padding: 48px 5%;
  text-align: center;
  border-top: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
  margin-bottom: 40px;
}

.hb-assine-strip__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hb-assine-strip__stat {
  text-align: center;
}

.hb-assine-strip__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  background: var(--hb-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hb-assine-strip__stat-label {
  font-size: .78rem;
  color: var(--hb-muted);
  font-weight: 500;
  margin-top: 3px;
}

.hb-assine-strip__title {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.hb-assine-strip__sub {
  font-size: .92rem;
  color: var(--hb-muted);
  margin-bottom: 28px;
}

.hb-assine-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hb-red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 36px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(226,56,47,.5);
  animation: hb-glow-pulse 2.5s ease-in-out infinite;
  transition: transform .15s;
}

.hb-assine-strip__cta:hover {
  transform: scale(1.04);
  color: #fff;
  text-decoration: none;
}

@keyframes hb-glow-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(226,56,47,.5); }
  50%       { box-shadow: 0 0 55px rgba(226,56,47,.8); }
}

/* ================================================================
   9. ATORES DO MOMENTO — Cards portrait estilo Netflix
   ================================================================ */
.hb-actors {
  padding: 0 4% 48px;
}

.hb-actors__track { padding: 10px 0; }

/* Cada slide do Slick */
.hb-ator-momento {
  padding: 4px 6px;
}

.hb-ator-momento__link {
  display: block;
  text-decoration: none !important;
  color: #fff !important;
}

.hb-ator-momento__inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 1px solid rgba(229,9,20,.15);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  text-align: center;
  padding: 0 0 14px;
}

.hb-ator-momento__inner:hover {
  transform: scale(1.05);
  border-color: rgba(229,9,20,.5);
  box-shadow: 0 8px 30px rgba(229,9,20,.25);
}

/* Rank number */
.hb-ator-momento__rank {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: 'Anton', var(--hb-font);
  font-size: 1.6rem;
  color: rgba(255,255,255,.12);
  line-height: 1;
  z-index: 2;
  -webkit-text-stroke: 1px rgba(229,9,20,.3);
}

/* Photo container — portrait aspect ratio */
.hb-ator-momento__photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.hb-ator-momento__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}

.hb-ator-momento__inner:hover .hb-ator-momento__photo img {
  transform: scale(1.08);
}

/* Gradient overlay at bottom of photo */
.hb-ator-momento__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, #1a1a2e);
  pointer-events: none;
}

/* Info area */
.hb-ator-momento__info {
  padding: 8px 10px 0;
  position: relative;
  z-index: 2;
}

.hb-ator-momento__name {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb-ator-momento__stat {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  margin: 0;
}

@media (max-width: 768px) {
  .hb-ator-momento__name { font-size: .75rem; }
  .hb-ator-momento__stat { font-size: .65rem; }
  .hb-ator-momento__rank { font-size: 1.3rem; }
}

/* Legacy fallback — keep .actor-item for any other usage */
.actor-item {
  padding: 4px 8px;
  text-align: center;
}

.actor-item img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hb-border);
  transition: border-color .2s, transform .2s;
  margin: 0 auto;
  display: block;
}

.actor-item:hover img {
  border-color: var(--hb-red);
  transform: scale(1.06);
}

.actor-item p.actor-name {
  font-size: .75rem;
  font-weight: 600;
  color: var(--hb-muted);
  margin-top: 8px;
  transition: color .2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.actor-item:hover p.actor-name { color: #fff; }

/* ================================================================
   9b. PROMOÇÃO — Cards de planos
   ================================================================ */

/* Promo bar (countdown real) */
.hb-plans__promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #1a0a0a, #2d0a0a, #1a0a0a);
  border: 1px solid rgba(229,9,20,.3);
  border-radius: 8px;
  padding: 12px 20px;
  margin: 0 auto 28px;
  max-width: 700px;
  animation: hb-promo-glow 2s ease-in-out infinite alternate;
}

@keyframes hb-promo-glow {
  from { border-color: rgba(229,9,20,.3); box-shadow: 0 0 10px rgba(229,9,20,.1); }
  to   { border-color: rgba(229,9,20,.6); box-shadow: 0 0 20px rgba(229,9,20,.2); }
}

.hb-plans__promo-bar--urgent {
  background: linear-gradient(90deg, #2d0a0a, #3d0a0a, #2d0a0a) !important;
  border-color: #e50914 !important;
  animation: hb-promo-urgent .5s ease-in-out infinite alternate !important;
}

@keyframes hb-promo-urgent {
  from { box-shadow: 0 0 10px rgba(229,9,20,.3); }
  to   { box-shadow: 0 0 30px rgba(229,9,20,.5); }
}

.hb-plans__promo-label {
  background: var(--hb-red);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
  animation: hb-badge-pulse 1.5s ease-in-out infinite;
}

@keyframes hb-badge-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.hb-plans__promo-text {
  font-size: .85rem;
  color: rgba(255,255,255,.9);
}

.hb-plans__promo-text strong {
  color: #ff4444;
  font-variant-numeric: tabular-nums;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: .05em;
}

/* Promo card modifier */
.hb-plan-card--promo {
  border-color: rgba(229,9,20,.4) !important;
  box-shadow: 0 0 20px rgba(229,9,20,.15);
}

/* Promo badge */
.hb-plan-badge--promo {
  background: linear-gradient(90deg, #e50914, #ff6a00) !important;
  color: #fff !important;
  animation: hb-badge-pulse 1.5s ease-in-out infinite;
}

/* Discount percentage tag */
.hb-plan__discount-tag {
  display: inline-block;
  background: #46d369;
  color: #000;
  font-size: .75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}

/* Original price (strikethrough) */
.hb-plan__price-original {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  text-decoration: line-through;
  margin-bottom: 2px;
}

/* Promo price override — green */
.hb-plan__price--promo .hb-plan__amount {
  color: #46d369;
}

.hb-plan__price--promo .hb-plan__currency {
  color: #46d369;
}

/* Pix original price (strikethrough next to promo pix) */
.hb-plan__pix-original {
  text-decoration: line-through;
  opacity: .5;
  margin-left: 6px;
  font-size: .75rem;
}

/* ================================================================
   10. CTA STICKY (barra flutuante no rodapé)
   ================================================================ */
.hb-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  transform: translateY(100%);
  transition: transform .4s var(--hb-ease);
  background: linear-gradient(90deg, #0B0C0F 0%, #14161c 100%);
  border-top: 1px solid rgba(226,56,47,.4);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -8px 30px rgba(0,0,0,.5);
}

.hb-sticky-cta.is-visible { transform: translateY(0); }

.hb-sticky-cta__text {
  flex: 1;
  font-size: .88rem;
  color: var(--hb-muted);
}

.hb-sticky-cta__text strong {
  color: #fff;
  font-weight: 700;
}

.hb-sticky-cta__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--hb-red);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 22px;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}

.hb-sticky-cta__cta:hover {
  background: var(--hb-red-dark);
  color: #fff;
  text-decoration: none;
}

.hb-sticky-cta__close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--hb-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}

.hb-sticky-cta__close:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* ================================================================
   11. RESPONSIVO
   ================================================================ */
@media (max-width: 1024px) {
  .hb-plans__grid { grid-template-columns: 1fr 1fr; }
  .hb-plans__grid .hb-plan-card--featured { grid-column: span 2; max-width: 380px; margin: 0 auto; }
  .hb-spotlight { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --hb-card-w: 160px; --hb-card-h: 90px; }
  .hb-hero__content { bottom: 20%; left: 5%; max-width: 90%; }
  .hb-hero__title { font-size: 1.6rem; }
  .hb-hero__desc { display: none; }
  .hb-hero__indicators { bottom: 24px; gap: 8px; }
  .hb-hero__dot { width: 8px; height: 8px; }
  .hb-hero__video { display: none; } /* sem vídeo preview em mobile */
  .hb-plans__grid { grid-template-columns: 1fr; gap: 20px; }
  .hb-plans__grid .hb-plan-card--featured { grid-column: span 1; max-width: 100%; transform: none; }
  .hb-plan-card--featured { transform: scale(1) !important; }
  .hb-row { padding: 0 3% 24px; }
  .hb-spotlight { margin: 0 3% 30px; }
  .hb-assine-strip__stats { gap: 24px; }
  .hb-sticky-cta__text { font-size: .78rem; }
}

@media (max-width: 480px) {
  :root { --hb-card-w: 140px; --hb-card-h: 79px; }
  .hb-hero__btns { flex-direction: column; }
  .hb-btn-play, .hb-btn-info { width: 100%; justify-content: center; }
  .hb-plans__grid { gap: 16px; }
}

/* ================================================================
   12. UTILIDADES
   ================================================================ */
.hb-section-wrap {
  padding: 40px 0 0;
}

.hb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Separador gradiente entre seções */
.hb-sep {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hb-border), transparent);
  margin: 0 4% 40px;
}

/* Overrides do menu v3 para funcionar sem padding errado */
body.hb-v4 #mainContent { display: none; } /* remove container legado */

/* ================================================================
   10. CATEGORY BAR — Filtro Rápido Netflix
   ================================================================ */
.hb-category-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 4% 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hb-category-bar::-webkit-scrollbar { display: none; }

.hb-category-bar__item {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 20px;
  font-family: var(--hb-font);
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.hb-category-bar__item:hover,
.hb-category-bar__item--active {
  color: #fff;
  background: rgba(229,9,20,.2);
  border-color: rgba(229,9,20,.5);
  text-decoration: none;
}

/* ================================================================
   11. HERO LIVE STATS
   ================================================================ */
.hb-hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  animation: hb-hero-fade-up .8s .5s ease-out both;
}

@keyframes hb-hero-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hb-hero__stat {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hb-hero__stat--live {
  color: #46d369;
  font-weight: 600;
}

.hb-hero__stat-sep {
  color: rgba(255,255,255,.2);
  font-size: .8rem;
}

.hb-pulse-dot {
  width: 7px;
  height: 7px;
  background: #46d369;
  border-radius: 50%;
  display: inline-block;
  animation: hb-pulse-dot 1.5s infinite;
  box-shadow: 0 0 6px rgba(70,211,105,.6);
}

@keyframes hb-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.8); }
}

/* ================================================================
   12. SCROLL REVEAL ANIMATION
   ================================================================ */
.hb-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s ease;
}

.hb-reveal.hb-visible {
  opacity: 1;
  transform: translateY(0);
}
