/* Página inicial: atalhos, "Para hoje" e convite para visitantes */
.hm-tone-green { --t: #16a34a; } .hm-tone-violet { --t: #7c3aed; } .hm-tone-orange { --t: #ea580c; }
.hm-tone-pink { --t: #db2777; } .hm-tone-blue { --t: #2563eb; } .hm-tone-teal { --t: #0d9488; }
.hm-tone-amber { --t: #d97706; }

.hm-title { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }

/* atalhos: rolagem horizontal no celular, sem barra */
.hm-shortcuts { padding: 18px 0 4px; }
.hm-shortcuts--after-hero { padding-top: 20px; }
.hm-sc-list { list-style: none; margin: 0; padding: 2px 2px 8px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hm-sc-list::-webkit-scrollbar { display: none; }
.hm-sc-list li { flex: none; scroll-snap-align: start; }
.hm-sc { display: grid; justify-items: center; gap: 7px; width: 78px; padding: 12px 4px 10px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-size: .78rem; font-weight: 700; text-align: center; transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease; }
.hm-sc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--t) 55%, var(--border)); box-shadow: 0 14px 24px -18px var(--t); }
.hm-sc:active { transform: scale(.95); }
.hm-sc-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--t), color-mix(in srgb, var(--t) 60%, #000)); box-shadow: 0 10px 18px -10px var(--t); }
.hm-sc-ico .icon { width: 22px; height: 22px; }

/* Para hoje */
.hm-daily { padding: 14px 0 0; }
.hm-daily-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.hm-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--t) 28%, var(--border)); background: linear-gradient(135deg, color-mix(in srgb, var(--t) 12%, var(--surface)), var(--surface)); color: var(--text); text-decoration: none; transition: transform .18s ease, box-shadow .2s ease; }
.hm-card:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -20px var(--t); }
.hm-card:active { transform: scale(.98); }
.hm-card > .icon { margin-left: auto; width: 18px; height: 18px; flex: none; color: var(--muted); }
.hm-card-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--t), color-mix(in srgb, var(--t) 60%, #000)); }
.hm-card-ico .icon { width: 21px; height: 21px; }
.hm-card-txt { min-width: 0; display: grid; gap: 2px; }
.hm-card-txt strong { font-size: .98rem; }
.hm-card-txt small { color: var(--muted); font-size: .8rem; }

/* convite */

@media (min-width: 720px) {
  .hm-sc-list { flex-wrap: wrap; overflow: visible; }
  .hm-sc { width: 96px; }
  .hm-daily-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .hm-sc, .hm-card { transition: none; } }

/* ==================================================================
   Visual da página inicial (alpha.115): só aparência, nenhum bloco novo.
   Destaque mais cinematográfico, títulos das fileiras com marca,
   "Ver tudo" em pílula, setas em vidro, pôsteres com brilho na cor
   do tema e Top 10 com número preenchido.
   ================================================================== */

/* destaque */
.cine-kicker {
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cine-title { text-shadow: 0 4px 28px color-mix(in srgb, var(--bg) 55%, transparent); }
.cine-meta > span + span:not(.cine-cert)::before { content: "•"; margin-right: 16px; color: var(--muted); font-weight: 400; }
.cine-meta { gap: 8px 0; }
.cine-meta > span { margin-right: 16px; }
.cine-cert { font-weight: 800; }
.cine-play { box-shadow: 0 14px 30px -14px var(--accent); transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.cine-play:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 18px 36px -14px var(--accent); }
.cine-play:active { transform: scale(.98); }
.cine-dot.is-active::before { background: color-mix(in srgb, var(--accent) 30%, var(--border-strong)); }
.cine-dot i { box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); }
/* emenda do destaque com a primeira fileira: some a linha dura */
.cine-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3;
  background: var(--bg); pointer-events: none;
}

/* celular: o destaque vira um cartão de verdade, com borda fina e base na cor do cartão */
@media (max-width: 700px) {
  .cine-hero { background: var(--surface); border-radius: 24px; box-shadow: 0 24px 44px -28px rgba(0, 0, 0, .55); }
  .cine-hero::after {
    top: 0; height: auto; background: none; border-radius: inherit; z-index: 5;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 9%, transparent);
  }
  .cine-slide::before { background: linear-gradient(0deg, var(--surface) 4%, color-mix(in srgb, var(--surface) 78%, transparent) 36%, transparent 68%); }
  .cine-slide::after { background: linear-gradient(0deg, color-mix(in srgb, var(--surface) 50%, transparent) 0, transparent 40%); }
  .cine-title { font-size: clamp(1.8rem, 8.8vw, 2.4rem); letter-spacing: -.01em; }
  .cine-meta > span { margin-right: 10px; }
  .cine-meta > span + span:not(.cine-cert)::before { margin-right: 10px; }
}

/* fileiras */
.rows--after-hero { padding-top: 30px; }
.row-title { display: flex; align-items: center; gap: 12px; letter-spacing: -.01em; }
.row-title::before {
  content: ""; flex: none; width: 5px; height: .78em; border-radius: 99px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 45%, transparent));
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent);
}
.row-more {
  padding: 7px 12px 7px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  transition: background .15s ease, border-color .15s ease;
}
.row-more:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.row-btn {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.row-btn:not(:disabled):hover { border-color: var(--accent); color: var(--accent-text); background: var(--surface); }
.row-btn:not(:disabled):active { transform: scale(.94); }

/* cartões */
.card-poster { border-radius: 14px; background: linear-gradient(160deg, var(--surface-3, var(--surface-2)), var(--surface-2)); }
.card-poster::after { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 10%, transparent); }
.card-title { transition: color .15s ease; }
.card-meta { font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-poster, .card:focus-within .card-poster {
    box-shadow: 0 24px 46px -20px rgba(0, 0, 0, .65), 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent);
  }
  .card:hover .card-title { color: var(--accent-text); }
}
.card:active .card-poster { transform: scale(.97); }

/* Top 10: número com preenchimento suave na cor do tema */
.card-rank {
  color: color-mix(in srgb, var(--accent) 14%, transparent);
  text-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 25%, transparent);
}

/* banners entre fileiras */
.promo-card { box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }


@media (prefers-reduced-motion: reduce) {
  .cine-play, .row-more, .row-btn, .card-title { transition: none; }
}

/* ------------------------------ alpha.115 revisão 9 ------------------------------ */
/* Faixa "Últimos reels adicionados" no fim da inicial. Toca prévias curtas em mudo. */
.home-reels { margin-top: 48px; padding: 28px 0 36px; border-top: 1px solid var(--border); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 4%, transparent), transparent 55%); }
.home-reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.home-reels-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-reels-kicker .icon { width: 16px; height: 16px; }
.home-reels-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin: 0; color: var(--text); }
.home-reels-all { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .18s, border-color .18s, transform .18s; }
.home-reels-all:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); transform: translateX(2px); }
.home-reels-all .icon { width: 16px; height: 16px; }
.home-reels-track { display: grid; grid-auto-flow: column; grid-auto-columns: 170px; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 12px; scrollbar-width: thin; }
.home-reels-track::-webkit-scrollbar { height: 8px; }
.home-reels-track::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text) 20%, transparent); border-radius: 999px; }
.home-reel { position: relative; display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; scroll-snap-align: start; }
.home-reel-stage { position: relative; aspect-ratio: 9 / 16; width: 100%; overflow: hidden; border-radius: 14px; background: #0a0a0a; isolation: isolate; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5), inset 0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent); transition: transform .22s, box-shadow .22s; }
.home-reel:hover .home-reel-stage { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55), inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.home-reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.home-reel-poster--empty { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--surface-2)), var(--surface-2)); }
.home-reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.home-reel-mute { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); }
.home-reel-mute .icon { width: 14px; height: 14px; }
.home-reel-timer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; opacity: 0; transition: opacity .18s; }
.home-reel.is-playing .home-reel-timer { opacity: 1; }
.home-reel-bar { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.home-reel-meta { display: grid; gap: 2px; }
.home-reel-meta strong { font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-reel-meta small { font-size: .76rem; color: var(--muted); }
@media (max-width: 640px) {
  .home-reels { margin-top: 32px; padding: 20px 0 28px; }
  .home-reels-title { font-size: 1.25rem; }
  .home-reels-track { grid-auto-columns: 140px; gap: 10px; }
  .home-reels-all span { display: none; }
  .home-reels-all { padding: 8px; }
}

/* Rodapé: no celular os links úteis ficam em duas colunas, lado a lado, em vez de empilhados. */
@media (max-width: 640px) {
  .footer-inner { gap: 20px 24px; }
  .footer-useful ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .footer-useful li { min-width: 0; }
  .footer-useful a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .footer-links { gap: 6px 16px; }
}
