@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&family=Oswald:wght@500;700&display=swap');

:root {
  --bg-dark: #050506;
  --bg-soft: #0d0d10;
  --glass: rgba(255,255,255,.075);
  --glass-strong: rgba(255,255,255,.12);
  --line: rgba(255,255,255,.14);
  --text: #f7f7f2;
  --muted: #a8a8a8;
  --cyan: #00f0ff;
  --gold: #f2d16b;
  --shadow: rgba(0,240,255,.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; background: var(--bg-dark); }
body { font-family: 'Inter', sans-serif; background: radial-gradient(circle at 50% 0%, rgba(0,240,255,.10), transparent 34%), var(--bg-dark); color: var(--text); overflow-x: hidden; }
a { color: inherit; }

.grain { position: fixed; inset: 0; pointer-events: none; opacity: .16; z-index: 9999; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.promo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 8px 14px; background: linear-gradient(90deg, var(--cyan), var(--gold)); color: #050506; font-size: .73rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.promo-bar strong { letter-spacing: .16em; }

.topbar { position: fixed; top: 34px; left: 0; right: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(to bottom, rgba(5,5,6,.76), rgba(5,5,6,0)); backdrop-filter: blur(8px); }
.logo-text { font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; text-decoration: none; }
.nav-buy { text-decoration: none; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; border: 1px solid var(--line); padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,.06); }

main { position: relative; }
.cinema-hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 120px 18px 54px; }
.hero-film, .hero-video-container, .hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-film { filter: brightness(.48) contrast(1.12) saturate(1.12); transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, #050506 0%, rgba(5,5,6,.78) 23%, rgba(5,5,6,.18) 62%, rgba(5,5,6,.58) 100%); }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow, .chapter { color: var(--cyan); font-size: .76rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.hero-copy h1 { font-family: 'Oswald', sans-serif; font-size: clamp(3.4rem, 17vw, 7.8rem); line-height: .86; letter-spacing: -.055em; text-transform: uppercase; max-width: 740px; text-shadow: 0 0 38px rgba(0,240,255,.28); }
.hero-text { margin-top: 20px; color: rgba(247,247,242,.82); line-height: 1.62; font-size: 1rem; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.primary-cta, .secondary-cta, .btn-futuristic { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-height: 50px; padding: 0 18px; border-radius: 999px; font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.primary-cta, .btn-futuristic { background: var(--text); color: #050506; box-shadow: 0 18px 55px rgba(255,255,255,.14); }
.secondary-cta { border: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--text); backdrop-filter: blur(12px); }
.swipe-cue { position: absolute; right: 16px; bottom: 22px; z-index: 2; writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.film-intro, .store-head { padding: 84px 18px 34px; max-width: 760px; margin: 0 auto; }
.film-intro h2, .store-head h2, .story-card h2, .section-title { font-family: 'Oswald', sans-serif; font-size: clamp(2.2rem, 11vw, 5rem); line-height: .94; letter-spacing: -.04em; text-transform: uppercase; }
.film-intro p:not(.chapter), .store-head p, .story-card p { color: var(--muted); line-height: 1.72; margin-top: 18px; font-size: 1rem; }

.living-gallery { display: grid; gap: 18px; padding: 22px 14px 66px; }
.living-card { min-height: 78svh; position: sticky; top: 70px; overflow: hidden; border-radius: 30px; border: 1px solid var(--line); background: #111; box-shadow: 0 34px 90px rgba(0,0,0,.5); transform-origin: center top; }
.living-card video, .living-card img { width: 100%; height: 100%; min-height: 78svh; object-fit: cover; display: block; background: #111; filter: brightness(.82) contrast(1.06); }
.living-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,6,.92) 0%, rgba(5,5,6,.46) 34%, rgba(5,5,6,.04) 64%); pointer-events: none; }
.living-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 22px 30px; }
.living-copy span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); font-weight: 900; margin-bottom: 16px; background: rgba(255,255,255,.06); backdrop-filter: blur(12px); }
.living-copy h3 { font-family: 'Oswald', sans-serif; font-size: clamp(2rem, 10vw, 4.4rem); line-height: .93; letter-spacing: -.04em; text-transform: uppercase; max-width: 680px; }
.living-copy p { color: rgba(247,247,242,.78); line-height: 1.55; margin-top: 12px; max-width: 520px; }

.story-section { padding: 74px 18px; display: flex; justify-content: center; }
.glass-panel { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); border-radius: 28px; box-shadow: 0 30px 90px rgba(0,0,0,.34); }
.story-card { max-width: 720px; padding: 34px 24px; }
.manifesto-call { color: var(--gold) !important; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

.store { padding: 20px 14px 76px; }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1120px; margin: 0 auto; }
.product-card { position: relative; height: 470px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #111; box-shadow: 0 18px 55px rgba(0,0,0,.34); }
.product-link { display: block; width: 100%; height: 100%; text-decoration: none; }
.product-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s cubic-bezier(.16,1,.3,1); }
.product-card:hover .product-image { transform: scale(1.05); }
.product-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,6,.92), rgba(5,5,6,.05) 58%); pointer-events: none; }
.product-badge { position: absolute; top: 14px; left: 14px; z-index: 3; padding: 9px 11px; border-radius: 999px; background: rgba(5,5,6,.58); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.product-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 26px 20px; }
.product-name { font-family: 'Oswald', sans-serif; font-size: 1.55rem; letter-spacing: -.02em; }
.product-price { color: var(--gold); font-weight: 900; margin-top: 6px; }
.product-buy-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--text); color: #050506; font-size: 1.25rem; font-weight: 900; flex: 0 0 auto; }

.music-section { padding: 28px 14px 140px; text-align: center; }
.spotify-container { max-width: 560px; margin: 28px auto 0; padding: 14px; overflow: hidden; }
.sticky-cta-container { position: fixed; left: 14px; right: 14px; bottom: 16px; z-index: 850; transform: translateY(145%); transition: transform .55s cubic-bezier(.16,1,.3,1); }
.sticky-cta-container.visible { transform: translateY(0); }
.btn-futuristic { width: 100%; min-height: 58px; }

@media (min-width: 760px) {
  .topbar { padding-left: 34px; padding-right: 34px; }
  .cinema-hero { padding-left: 48px; padding-bottom: 72px; }
  .living-gallery { padding-left: 40px; padding-right: 40px; gap: 28px; }
  .living-card { min-height: 82vh; top: 84px; }
  .living-card video, .living-card img { min-height: 82vh; }
  .living-copy { padding: 46px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .product-card { height: 560px; }
  .sticky-cta-container { left: 50%; right: auto; width: 430px; transform: translate(-50%, 145%); }
  .sticky-cta-container.visible { transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Desktop refinement: preserva a experiência mobile e corrige a rolagem excessiva em PC. */
@media (min-width: 1024px) {
  .cinema-hero {
    min-height: 92vh;
    padding: 118px 56px 78px;
  }

  .hero-copy h1 {
    font-size: clamp(5rem, 8vw, 7.6rem);
  }

  .film-intro,
  .store-head {
    padding-top: 96px;
    padding-bottom: 42px;
  }

  .living-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 42px 92px;
  }

  .living-card {
    position: relative;
    top: auto;
    min-height: 0;
    height: clamp(500px, 56vw, 640px);
    border-radius: 26px;
  }

  .living-card video,
  .living-card img {
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .living-copy {
    padding: 30px 26px 32px;
  }

  .living-copy h3 {
    font-size: clamp(2.2rem, 3.1vw, 3.7rem);
  }

  .living-copy p {
    font-size: .96rem;
    line-height: 1.5;
  }

  .story-section {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .store {
    padding: 22px 42px 96px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1320px;
    gap: 24px;
  }

  .product-card {
    height: clamp(430px, 36vw, 520px);
    border-radius: 26px;
  }

  .music-section {
    padding-top: 48px;
    padding-bottom: 120px;
  }
}

@media (min-width: 1440px) {
  .living-gallery,
  .product-grid {
    max-width: 1400px;
  }

  .living-card {
    height: 620px;
  }

  .product-card {
    height: 500px;
  }
}

@media (min-width: 1024px) {
  .sticky-cta-container {
    left: auto;
    right: 32px;
    bottom: 28px;
    width: 260px;
    transform: translateY(150%);
  }

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

  .sticky-cta-container .btn-futuristic {
    min-height: 48px;
    font-size: .68rem;
    box-shadow: 0 18px 54px rgba(0,0,0,.36);
  }
}

@media (min-width: 1024px) {
  .sticky-cta-container {
    display: none;
  }
}
