/* Início único. Dimensões de TV; webfit escala o conjunto para 720p/4K. */
#screen-home { background: #080d14; color: #f5f7fa; }
#screen-home button { font-family: inherit; outline: none; }
#screen-home [hidden] { display: none !important; }
.home-header { height: 100px; padding: 0 72px; position: relative; z-index: 2; background: #080d14; border-bottom: 1px solid #1c2530; }
.home-brand { display: flex; align-items: center; margin-right: 34px; }
.home-brand .logo-sm { width: 82px; height: 72px; }
.home-brand-name { font-size: 29px; font-weight: 750; letter-spacing: 1px; margin-left: 12px; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-header-nav { display: flex; align-items: center; }
.home-nav { height: 98px; padding: 0 22px; background: transparent; border: 2px solid transparent; color: #a4afbf; font-size: 22px; position: relative; }
.home-nav.is-current { color: #fff; }
.home-nav.is-current::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 17px; height: 3px; border-radius: 2px; background: #a8d5f2; }
.home-header-tools { margin-left: auto; display: flex; align-items: center; }
.home-tool { height: 48px; display: flex; align-items: center; justify-content: center; color: #cbd4df; background: transparent; border: 2px solid transparent; border-radius: 8px; font-size: 19px; padding: 0 14px; margin-left: 12px; }
.home-tool svg, .home-action svg { width: 24px; height: 24px; flex-shrink: 0; margin-right: 10px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-tool-search { width: 300px; justify-content: flex-start; white-space: nowrap; background: #131c27; border-color: #263241; color: #a9b6c6; }
.home-tool-exit { width: 48px; padding: 0; }
.home-tool-exit svg { margin: 0; }
.home-clock { margin-left: 26px; color: #e9eef4; font-size: 25px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-scroll { position: absolute; top: 100px; bottom: 42px; left: 0; right: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
.home-scroll::-webkit-scrollbar, .home-rail::-webkit-scrollbar { display: none; }
.home-hero { height: 400px; position: relative; overflow: hidden; }
.home-hero-art { position: absolute; width: 1500px; height: 844px; right: 0; top: -55px; background: url("../img/home-cinema-v1.jpg") center/cover no-repeat; }
.home-hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, #080d14 0%, rgba(8,13,20,.96) 18%, rgba(8,13,20,.46) 43%, transparent 68%), linear-gradient(0deg, #080d14 0%, transparent 35%); pointer-events: none; }
.home-hero-copy { position: relative; z-index: 1; padding: 43px 0 0 78px; width: 860px; }
.home-eyebrow { color: #a7c9df; font-size: 17px; font-weight: 650; letter-spacing: 3.6px; text-transform: uppercase; margin-bottom: 17px; }
.home-eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: #a7c9df; margin-right: 14px; vertical-align: middle; }
.home-hero h1 { font-size: 64px; line-height: 1.08; letter-spacing: -1.9px; font-weight: 650; margin-bottom: 18px; }
.home-hero h1 span { display: block; color: #b3cfdf; }
.home-hero-description { color: #b2bdca; font-size: 22px; line-height: 1.5; max-width: 625px; }
.home-actions { display: flex; margin-top: 27px; }
.home-action { display: flex; align-items: center; justify-content: center; height: 55px; padding: 0 24px; color: #111a24; background: #d7e9f5; border: 2px solid transparent; border-radius: 8px; font-size: 21px; font-weight: 650; margin-right: 16px; }
.home-action-primary svg { fill: currentColor; stroke: none; }
.home-action-secondary { background: #19222ee0; border-color: #394452; color: #f1f5fa; }
.home-shortcuts { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-gap: 16px; margin: 12px 78px 32px; }
.home-shortcut { height: 118px; padding: 18px 10px 14px; border: 2px solid #25313f; border-radius: 10px; background: linear-gradient(150deg, #172330, #101722 80%); color: #eaf0f6; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.home-shortcut svg { width: 30px; height: 30px; flex-shrink: 0; margin-bottom: 10px; color: #adcfe6; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.home-shortcut-title { font-size: 21px; line-height: 1.2; font-weight: 600; white-space: nowrap; width: 100%; min-height: 26px; flex: 0 0 auto; overflow: hidden; text-overflow: ellipsis; }
.home-shortcut-sub { margin-top: 5px; font-size: 15px; color: #8d9daf; white-space: nowrap; }
.home-shortcut[data-go="fav"] svg { color: #d6ba7a; }
.home-shelf { margin: 0 0 28px; }
.home-shelf-heading { margin: 0 78px 14px; display: flex; align-items: baseline; }
.home-shelf-heading h2 { font-size: 27px; line-height: 1.3; font-weight: 600; letter-spacing: -.4px; }
.home-shelf-note { margin-left: 20px; color: #8797aa; font-size: 18px; }
.home-rail { display: flex; padding: 16px 78px 18px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.home-poster { width: 188px; flex: 0 0 188px; border: 2px solid transparent; border-radius: 9px; background: transparent; color: #dce4ee; text-align: left; padding: 0; margin-right: 20px; overflow: hidden; }
.home-poster-art { height: 276px; display: block; position: relative; background: linear-gradient(135deg, #21364a, #101b28); border-radius: 7px; overflow: hidden; }
.home-poster-art img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; }
.home-poster-fallback { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; color: #90afc6; font-size: 70px; font-weight: 300; }
.home-poster-title { display: block; padding: 12px 7px 8px; font-size: 19px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-poster-play { position: absolute; right: 14px; bottom: 14px; width: 43px; height: 43px; padding: 10px; border-radius: 50%; background: #e5f3fc; color: #101a24; opacity: 0; }
.home-poster-play svg { width: 100%; height: 100%; fill: currentColor; }
.home-poster-live { width: 280px; flex-basis: 280px; }
.home-poster-live .home-poster-art { height: 154px; background: #121c28; }
.home-poster-live img { object-fit: contain; padding: 24px; }
.home-more { width: 202px; flex: 0 0 202px; min-height: 200px; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #131d29; color: #a7cce4; border: 2px solid #253649; border-radius: 9px; }
.home-more svg { width: 34px; height: 34px; margin-bottom: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.home-more span { font-size: 21px; }
.home-skeleton { width: 188px; height: 316px; flex: 0 0 188px; background: linear-gradient(145deg, #172330, #101722); border-radius: 8px; margin-right: 20px; }
#home-shelf-live .home-skeleton { height: 180px; }
.home-footer { position: absolute; bottom: 0; left: 0; right: 0; height: 42px; display: flex; align-items: center; padding: 0 78px; background: #080d14; border-top: 1px solid #1c2530; }
.home-footer .user-chip { margin: 0; opacity: 1; color: #8190a2; font-size: 15px; max-width: 660px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-remote-hint { margin-left: auto; margin-right: 100px; font-size: 15px; color: #8190a2; }
.home-remote-hint b { color: #c1cedc; font-size: 13px; border: 1px solid #3b4a5c; border-radius: 4px; padding: 1px 4px; margin: 0 5px 0 18px; }
#screen-home .focusable.focused { border-color: #d5efff !important; box-shadow: 0 0 0 2px #d5efff, 0 10px 22px rgba(0,0,0,.55) !important; }
#screen-home .home-nav.focused, #screen-home .home-tool.focused { background: #233447; border-radius: 8px; }
#screen-home .home-nav.focused { height: 56px; }
#screen-home .home-nav.focused::after { bottom: 3px; }
#screen-home .home-shortcut.focused { background: linear-gradient(150deg, #314e67, #21364a); }
#screen-home .home-shortcut.focused .home-shortcut-sub { color: #c2d6e6; }
#screen-home .home-poster.focused { background: #22374a; }
#screen-home .home-poster.focused .home-poster-play { opacity: 1; }
#screen-home .home-action-primary.focused { background: #fff; }
.home-shortcut, .home-action, .home-tool, .home-poster { transition: transform .18s ease-out, box-shadow .18s ease-out, background-color .12s, border-color .12s; }
/* Margens explícitas: funciona também nas TVs sem gap em flexbox. */
.home-header.topbar { gap: 0; }
.no-flex-gap .home-header.topbar > * + * { margin-left: 0; }
.no-flex-gap .home-header .home-header-tools { margin-left: auto; }
@media (prefers-reduced-motion: reduce) {
  .home-shortcut, .home-action, .home-tool, .home-poster { transition: none; }
}

.home-hero h1 b { font-weight: inherit; }
