/* ============================================================
   [V17-HOME] Paridade da HOME com honeytoon.com/pt — SÓ banner (hero) + TOP 3.
   Medidas lidas do CSS/DOM da referência (1440 e 390). Escopo: main.page-home.
   Marca/arte/obras continuam ToonHub (título em texto no lugar do logo-imagem da ref).
   ============================================================ */

/* ---------- container da página ---------- */
html body main.section-pad.page-home { padding: 0; } /* [V24] era 30px abaixo da última seção — faixa branca antes do rodapé */
html body main.page-home > .hero-wrap:first-child { padding: 0; margin: 0 0 16px; }
@media (min-width: 1200px) { html body main.page-home > .hero-wrap:first-child { margin-bottom: 40px; } }

/* ---------- HERO (ref .main-slider) ---------- */
/* altura: 430 (mobile) · proporção 36/13 (768–1439) · 520 fixos (>=1440) */
html body main.page-home .hero { height: 430px; max-height: none; min-height: 0; background: #000; overflow: hidden; }
@media (min-width: 768px) { html body main.page-home .hero { height: auto; aspect-ratio: 36 / 13; } }
@media (min-width: 1440px) { html body main.page-home .hero { height: 520px; aspect-ratio: auto; } }
html body main.page-home .hero-slide { align-items: flex-start; justify-content: flex-start; background: #000; }
html body main.page-home .hero-bg { object-fit: cover; object-position: 50% 50%; }
@media (min-width: 1440px) {
  html body main.page-home .hero-bg { left: 50%; right: auto; width: 1440px; transform: translateX(-50%); }
}
/* degradê branco de rodapé do banner (ref: 100px mobile / 170px desktop) */
html body main.page-home .hero-slide::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 100px; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, #fff 0, rgba(255,255,255,.74) 19%, rgba(255,255,255,.54) 34%, rgba(255,255,255,.38) 47%, rgba(255,255,255,.28) 56.5%, rgba(255,255,255,.19) 65%, rgba(255,255,255,.13) 73%, rgba(255,255,255,.08) 80.2%, rgba(255,255,255,.04) 86.1%, rgba(255,255,255,.02) 91%, rgba(255,255,255,.01) 95.2%, rgba(255,255,255,0) 98.2%, transparent);
}
@media (min-width: 992px) { html body main.page-home .hero-slide::after { height: 170px; } }
/* leve escurecimento lateral só p/ legibilidade da sinopse sobre capas claras (a ref usa só text-shadow) */
html body main.page-home .hero .hero-shade {
  background: linear-gradient(90deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.14) 40%, rgba(0,0,0,0) 62%);
}

/* conteúdo à esquerda: título (no lugar do logo) + sinopse + botão */
html body main.page-home .hero-slide .hero-info {
  position: absolute; display: block; z-index: 2;
  top: 24px; left: 16px; right: 15px; bottom: auto; width: auto; max-width: none; margin: 0; padding: 0; gap: 0;
}
@media (min-width: 768px) { html body main.page-home .hero-slide .hero-info { left: 24px; } }
@media (min-width: 1312px) {
  html body main.page-home .hero-slide .hero-info { left: 0; right: 0; margin: 0 auto; max-width: 1280px; width: 100%; top: 40px; }
}
html body main.page-home .hero-info .hero-title {
  display: flex; align-items: flex-end; height: 60px; max-width: 296px; margin: 0 0 16px; padding: 0;
  font-size: 24px; line-height: 28px; font-weight: 700; color: #fff; text-transform: none;
  text-shadow: 2px 0 2px #0000004d, 0 2px 2px #0000004d, -2px 0 2px #0000004d, 0 -2px 2px #0000004d;
}
html body main.page-home .hero-info .hero-title > span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
@media (min-width: 768px) { html body main.page-home .hero-info .hero-title { font-size: 32px; line-height: 36px; } }
@media (min-width: 992px) { html body main.page-home .hero-info .hero-title { height: 100px; max-width: 300px; } }
@media (min-width: 1200px) { html body main.page-home .hero-info .hero-title { height: 140px; max-width: 350px; font-size: 40px; line-height: 44px; } }

html body main.page-home .hero-info .hero-desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
  margin: 0 0 20px; padding: 0 0 0 2px; max-width: none;
  color: #fff; font-size: 12px; line-height: 16px; font-weight: 500;
  text-shadow: 2px 0 2px #0000004d, 0 2px 2px #0000004d, -2px 0 2px #0000004d, 0 -2px 2px #0000004d;
  overflow-wrap: normal; word-break: normal;
}
@media (min-width: 768px) { html body main.page-home .hero-info .hero-desc { max-width: 288px; } }
@media (min-width: 992px) { html body main.page-home .hero-info .hero-desc { font-size: 14px; line-height: 20px; max-width: 360px; } }

/* botão "Leia agora" = .btn.btn-yellow da ref (pílula amarela 36px, sem sombra) */
html body main.page-home .hero-info .btn-hero {
  display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 0; max-width: none;
  padding: 6px 16px; border: 2px solid #ffdb26; border-radius: 999px;
  background: #ffdb26 !important; color: #000 !important; box-shadow: none !important;
  font-size: 16px; font-weight: 700; line-height: 20px; white-space: nowrap; text-decoration: none;
}

/* bolinhas: centradas embaixo (ref: bullets brancos c/ contorno preto, ativa amarela) */
html body main.page-home .hero .hero-dots {
  left: 0; right: 0; bottom: 24px; transform: none; width: 100%; justify-content: center; gap: 0; z-index: 3;
}
@media (min-width: 1200px) { html body main.page-home .hero .hero-dots { bottom: 40px; } }
html body main.page-home .hero .hero-dot {
  width: 8px; height: 8px; margin: 0 4px; padding: 0; border-radius: 50%;
  background: #fff; border: 1px solid #000; box-shadow: 1px 1px 0 #000; opacity: 1; transition: box-shadow .2s;
}
html body main.page-home .hero .hero-dot.on { width: 8px; background: #ffdb26; border-radius: 50%; }
@media (min-width: 1200px) { html body main.page-home .hero .hero-dot { width: 16px; height: 16px; margin: 0 8px; } html body main.page-home .hero .hero-dot.on { width: 16px; } }
html body main.page-home .hero .hero-dot:hover { box-shadow: 2px 2px 0 #000; }

/* setas grandes nas bordas (ref: só >=1370px; 36x100, brancas, contorno preto) */
html body main.page-home .hero .hero-arrow { display: none; }
@media (min-width: 1370px) {
  html body main.page-home .hero .hero-arrow {
    display: flex; align-items: center; justify-content: center; z-index: 3;
    position: absolute; top: 50%; transform: translateY(-50%); margin: 0; padding: 0;
    width: 36px; height: 100px; background: #fff; color: #000;
    border: 1px solid #000; border-left-width: 0; font-size: 0; line-height: 0; transition: all .3s ease; cursor: pointer;
  }
  html body main.page-home .hero .hero-arrow:hover { background: #fff; }
  html body main.page-home .hero .hero-arrow.next { right: 0; left: auto; border-radius: 8px 0 0 8px; box-shadow: -2px 2px 0 #000; }
  html body main.page-home .hero .hero-arrow.prev { left: 0; right: auto; border-radius: 0 8px 8px 0; box-shadow: 2px 2px 0 #000; }
  html body main.page-home .hero .hero-arrow.next:hover { box-shadow: -4px 4px 0 #000; }
  html body main.page-home .hero .hero-arrow.prev:hover { box-shadow: 4px 4px 0 #000; }
  html body main.page-home .hero .hero-arrow:active, html body main.page-home .hero .hero-arrow:focus { box-shadow: none; }
  html body main.page-home .hero .hero-arrow svg { display: block; width: 20px; height: 20px; }
}

/* ---------- TOP 3 QUADRINHOS (ref .section-top-tranding) ---------- */
html body main.page-home .hp-section { position: relative; z-index: 1; margin: 0 0 32px; }
@media (min-width: 1200px) { html body main.page-home .hp-section { margin-bottom: 40px; } }
html body main.page-home .hp-container { box-sizing: border-box; width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 16px; }
html body main.page-home .hp-head { margin: 0 0 16px; }
@media (min-width: 768px) { html body main.page-home .hp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; } }
html body main.page-home .hp-title {
  margin: 0; padding: 0; color: #000; font-size: 20px; line-height: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: normal;
}
html body main.page-home .hp-title::before { display: none; }
@media (min-width: 768px) { html body main.page-home .hp-title { font-size: 40px; line-height: 48px; } }

html body main.page-home .pv-grid {
  box-sizing: border-box; display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 16px;
  margin: 0 -16px; padding: 0 16px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
}
html body main.page-home .pv-grid::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { html body main.page-home .pv-grid { gap: 24px; padding-bottom: 24px; } }
@media (min-width: 992px) { html body main.page-home .pv-grid { gap: 40px; margin: 0 -6px 0 0; padding: 0 6px 24px 0; overflow: visible; } }

html body main.page-home .pv-card {
  box-sizing: border-box; position: relative; overflow: hidden; display: block;
  flex: 0 0 calc(32% - 6px); min-width: calc(32% - 6px); height: auto;
  border: 2px solid #000; border-radius: 8px;
  background: linear-gradient(180.52deg, transparent 55.16%, rgba(0,0,0,.7) 100.49%);
  filter: drop-shadow(2px 2px 0 #000); transition: filter .2s linear; will-change: filter;
}
@media (min-width: 768px) { html body main.page-home .pv-card { filter: drop-shadow(4px 4px 0 #000); } }
@media (min-width: 992px) { html body main.page-home .pv-card { flex: 1 0 calc(33% - 40px); min-width: calc(33% - 40px); } }
/* mobile/tablet: pódio #2 · #1 · #3 como na ref */
@media (max-width: 991.98px) {
  html body main.page-home .pv-card.pv-rank-1, html body main.page-home .pv-card.pv-rank-3 { order: 1; }
}
@media (hover: hover) { html body main.page-home .pv-card:hover { filter: drop-shadow(4px 4px 0 #000); } }
@media (hover: hover) and (min-width: 768px) { html body main.page-home .pv-card:hover { filter: drop-shadow(6px 6px 0 #000); } }
html body main.page-home .pv-card:active { filter: none; }
html body main.page-home .pv-link { display: block; position: relative; padding-bottom: 5px; box-sizing: border-box; width: 100%; height: 100%; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
html body main.page-home .pv-link::before {
  content: ""; display: block; position: absolute; left: -2px; bottom: -2px; width: calc(100% + 3px); height: calc(100% + 3px);
  background: linear-gradient(180.52deg, transparent 55.16%, rgba(0,0,0,.86) 100.49%);
}
html body main.page-home .pv-img { display: block; width: 100%; height: 100%; aspect-ratio: 62 / 91; object-fit: cover; border-radius: 0; background: #222; }

html body main.page-home .pv-labels { position: absolute; left: 4px; top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
html body main.page-home .pv-label {
  display: flex; align-items: center; justify-content: center; padding: 2px; border-radius: 4px;
  background: #739ab3; color: #fff; font-size: 10px; line-height: 10px; font-weight: 500; text-transform: uppercase; text-align: center;
}
@media (min-width: 768px) { html body main.page-home .pv-label { display: block; padding: 2px 8px; font-size: 16px; line-height: 16px; } }

html body main.page-home .pv-num {
  position: absolute; right: 4px; top: 4px; z-index: 2; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: #ffdb26; border: 1px solid #000; box-shadow: 2px 2px 0 #000; color: #000;
  font-size: 14px; line-height: 14px; font-weight: 700; text-transform: uppercase;
}
@media (min-width: 768px) { html body main.page-home .pv-num { right: 12px; top: 8px; width: 80px; height: 80px; font-size: 32px; line-height: 32px; } }

html body main.page-home .pv-body { position: absolute; z-index: 1; left: 4px; right: 8px; bottom: 4px; display: block; }
@media (min-width: 768px) { html body main.page-home .pv-body { left: 12px; bottom: 12px; } }
html body main.page-home .pv-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
  margin: 0 0 2px; max-height: 28px; color: #fff; font-size: 16px; line-height: 20px; font-weight: 700; text-transform: capitalize;
}
@media (min-width: 768px) { html body main.page-home .pv-title { -webkit-line-clamp: 3; margin-bottom: 4px; max-height: 96px; font-size: 24px; line-height: 32px; } }
html body main.page-home .pv-cats { display: flex; flex-wrap: wrap; gap: 7px; height: 20px; overflow: hidden; }
html body main.page-home .pv-cat { font-size: 12px; line-height: 16px; font-weight: 500; color: #ffc68c; }
@media (min-width: 768px) { html body main.page-home .pv-cat { font-size: 16px; line-height: 20px; } }
html body main.page-home .pv-eps {
  position: absolute; right: 0; bottom: 0; z-index: 0; padding: 4px; border-radius: 4px 0 0 0;
  background: rgba(255,219,38,.8); color: #000; font-size: 10px; line-height: 12px; font-weight: 700;
}
@media (min-width: 768px) { html body main.page-home .pv-eps { font-size: 12px; } }

/* [V17b-CAPAS] poster vertical 560x830 preenche o card 62/91 inteiro (arte e título da capa completos) */
html body main.page-home .pv-img { object-fit: cover; object-position: 50% 50%; }
/* fallback raro (obra sem poster _v): capa horizontal enquadrada pelo topo */
html body main.page-home .pv-img.pv-img-h { object-position: 50% 0; }

/* [V21-HOME] fileiras da home (ALGO NOVO etc.) no mesmo container 1312 e no mesmo card da ref (6 no desktop, 3+3 no mobile) */
html body main.page-home .pv-grid.pv-six {
  flex-wrap: wrap; justify-content: flex-start; gap: 6px;
  margin: 0; padding: 0; overflow: visible;
}
html body main.page-home .pv-grid.pv-six .pv-card {
  flex: 0 0 calc(33.333% - 6px); min-width: calc(33.333% - 6px); max-width: none; /* [V22] = ref .card-inner-grid--six (113.3x169.5 @390) */
}
@media (min-width: 768px) {
  html body main.page-home .pv-grid.pv-six { gap: 16px; }
}
@media (min-width: 992px) {
  html body main.page-home .pv-grid.pv-six .pv-card {
    flex: 1 0 calc(16.66% - 16px); min-width: 0; max-width: calc(16.66% - 16px);
  }
}
/* banner do hero: arte horizontal 2080x1300 enquadrada no 36/13, personagens inteiros (centro) */
html body main.page-home .hero .hero-bg { object-fit: cover; object-position: 50% 50%; }
