/* =========================================================
   JAMV Records — TESTE 25/11/2026 (nao publicado)
   1) Fumaca na abertura + nevoa ambiente
   2) Banners de discos no estilo "streaming premium"
   ========================================================= */

/* ---------- 1a. Abertura com fumaca ---------- */
.jv-intro{
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  background: #000;
  animation: jv-intro-fundo 3.4s cubic-bezier(.4,0,.2,1) forwards;
}
.jv-intro img{
  position: absolute;
  width: 120vw; max-width: none;
  left: 50%; top: 50%;
  opacity: 0;
  will-change: transform, opacity;
}
.jv-intro .i1{ width: 140vw; transform: translate(-50%,-50%) scale(1.1); animation: jv-i1 3.6s cubic-bezier(.3,0,.2,1) forwards; }
.jv-intro .i2{ transform: translate(-80%,-30%) scale(1.2) rotate(-6deg); animation: jv-i2 3.8s cubic-bezier(.3,0,.2,1) .05s forwards; }
.jv-intro .i3{ transform: translate(-20%,-70%) scale(1.15) rotate(180deg); animation: jv-i3 3.8s cubic-bezier(.3,0,.2,1) .1s forwards; }
.jv-intro .i4{ transform: translate(-50%,-10%) scale(1.3); animation: jv-i4 4s cubic-bezier(.3,0,.2,1) .15s forwards; }

@keyframes jv-intro-fundo{
  0%{ background: rgba(0,0,0,1); }
  35%{ background: rgba(0,0,0,.85); }
  100%{ background: rgba(0,0,0,0); }
}
@keyframes jv-i1{
  0%{ opacity: 0; transform: translate(-50%,-50%) scale(1.05); }
  18%{ opacity: .82; }
  100%{ opacity: 0; transform: translate(-50%,-56%) scale(1.6); }
}
@keyframes jv-i2{
  0%{ opacity: 0; }
  20%{ opacity: .9; }
  100%{ opacity: 0; transform: translate(-135%,-36%) scale(1.5) rotate(-12deg); }
}
@keyframes jv-i3{
  0%{ opacity: 0; }
  20%{ opacity: .85; }
  100%{ opacity: 0; transform: translate(30%,-78%) scale(1.45) rotate(172deg); }
}
@keyframes jv-i4{
  0%{ opacity: 0; }
  25%{ opacity: .8; }
  100%{ opacity: 0; transform: translate(-50%,25%) scale(1.7); }
}
.jv-intro.is-fim{ display: none; }

/* conteudo do primeiro slide surge do meio da fumaca */
body.jv-abrindo #topo .hero-content{
  animation: jv-surge 2.6s cubic-bezier(.2,.6,.2,1) .7s both;
}
@keyframes jv-surge{
  from{ opacity: 0; filter: blur(14px); transform: translateY(18px) scale(.985); }
  to  { opacity: 1; filter: blur(0);   transform: none; }
}

/* ---------- 1b. Nevoa ambiente (fica depois da abertura) ---------- */
#topo{ isolation: isolate; }
.jv-nevoa-hero{
  position: absolute; inset: 0;
  z-index: 3;            /* acima do fundo do slide, abaixo do texto */
  pointer-events: none;
  overflow: hidden;
}
#topo .hero-content, #topo .mf-hero-dots{ z-index: 4; }

.jv-nevoa{
  position: absolute;
  pointer-events: none;
  user-select: none;
  max-width: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
/* a que passa devagar de um lado para o outro, na base do slide */
.jv-nevoa--passa{
  width: 1500px;
  bottom: -120px; left: 0;
  opacity: .42;
  animation: jv-passa 70s linear infinite;
}
@keyframes jv-passa{
  0%  { transform: translateX(-1500px); }
  100%{ transform: translateX(100vw); }
}
/* segunda camada da passagem, mais lenta e no sentido contrario */
.jv-nevoa--passa2{
  width: 1100px;
  bottom: 40px; left: 0;
  opacity: .18;
  transform: scaleX(-1);
  animation: jv-passa2 110s linear infinite;
  animation-delay: -40s;
}
@keyframes jv-passa2{
  0%  { transform: translateX(100vw) scaleX(-1); }
  100%{ transform: translateX(-1100px) scaleX(-1); }
}

/* faixas de altura zero entre secoes: a fumaca "vaza" da borda */
.jv-nevoa-ponte{
  position: relative;
  height: 0;
  z-index: 6;
  pointer-events: none;
  overflow-x: clip;
  overflow-y: visible;
}
/* canto esquerdo, um pouco abaixo do primeiro slide */
.jv-nevoa--canto{
  width: min(900px, 95vw);
  left: -18%;
  top: -260px;
  opacity: .55;
  animation: jv-respira 16s ease-in-out infinite alternate;
}
/* mais abaixo, do lado direito, para equilibrar */
.jv-nevoa--baixo{
  width: min(820px, 90vw);
  right: -16%;
  top: -320px;
  opacity: .38;
  transform: scaleX(-1);
  animation: jv-respira2 19s ease-in-out infinite alternate;
}
@keyframes jv-respira{
  from{ transform: translate(0,0) scale(1); opacity: .45; }
  to  { transform: translate(40px,-14px) scale(1.06); opacity: .6; }
}
@keyframes jv-respira2{
  from{ transform: scaleX(-1) translate(0,0) scale(1); opacity: .3; }
  to  { transform: scaleX(-1) translate(36px,12px) scale(1.07); opacity: .42; }
}

@media (max-width: 720px){
  .jv-nevoa--passa{ width: 900px; bottom: -60px; animation-duration: 50s; }
  @keyframes jv-passa{ 0%{ transform: translateX(-900px);} 100%{ transform: translateX(100vw);} }
  .jv-nevoa--passa2{ display: none; }
  .jv-nevoa--canto{ top: -160px; left: -40%; }
  .jv-nevoa--baixo{ top: -200px; right: -45%; }
}

@media (prefers-reduced-motion: reduce){
  .jv-intro{ display: none; }
  body.jv-abrindo #topo .hero-content{ animation: none; }
  .jv-nevoa{ animation: none !important; }
}

/* ---------- 2. Banners "cinema" ---------- */
.jv-cine{
  --jv-fino: 'Inter', -apple-system, system-ui, sans-serif;
  --jv-titulo: 'Fraunces', Georgia, serif;
  --jv-mono: 'Space Grotesk', monospace;
  position: relative;
  background:
    radial-gradient(70% 120% at 78% 50%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(90deg, #12151b 0%, #0b0d11 55%, #000 100%);
  color: #fff;
  overflow: hidden;
  font-family: var(--jv-fino);
}
.jv-cine::before{ /* sombra suave no topo e na base, como faixa de cinema */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 14%, transparent 86%, rgba(0,0,0,.6) 100%);
  pointer-events: none; z-index: 1;
}
.jv-cine__inner{
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  padding: 44px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.jv-cine__capas{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.jv-cine__capa{
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.07);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
}
.jv-cine__capa img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; filter: saturate(.92); }
.jv-cine__capa::after{
  content: attr(data-nome);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  font: 400 13px/1.2 var(--jv-fino);
  letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .4s;
}
.jv-cine__capa:hover, .jv-cine__capa:focus-visible{ transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.18); }
.jv-cine__capa:hover img, .jv-cine__capa:focus-visible img{ transform: scale(1.04); filter: saturate(1.05); }
.jv-cine__capa:hover::after, .jv-cine__capa:focus-visible::after{ opacity: 1; transform: none; }

.jv-cine__marca{ text-align: center; }
.jv-cine__logo{
  width: min(260px, 70%);
  height: auto;
  display: block; margin: 0 auto 18px;
  filter: grayscale(1) brightness(1.6) contrast(1.1) drop-shadow(0 6px 24px rgba(255,255,255,.12));
}
.jv-cine__frase{
  font: 600 clamp(22px, 2.3vw, 34px)/1.22 var(--jv-titulo);
  letter-spacing: .02em;
  margin: 0 0 30px;
  color: #f4f4f4;
  text-wrap: balance;
}
.jv-cine__frase small{ display: block; font-family: var(--jv-mono); font-weight: 500; font-size: .5em; letter-spacing: .32em; text-transform: uppercase; color: #9ea3ab; margin-top: 14px; }
.jv-btn-cine{
  display: inline-block;
  background: #fff; color: #000 !important;
  font: 600 13px/1 var(--jv-mono) !important;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 3px !important;
  text-decoration: none;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.jv-btn-cine:hover, .jv-btn-cine:focus-visible{ background: #d9dce1; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,.15); }

@media (max-width: 900px){
  .jv-cine__inner{ grid-template-columns: 1fr; gap: 34px; padding: 40px 20px; }
  .jv-cine__marca{ order: -1; }
  .jv-cine__capas{ gap: 12px; }
  .jv-cine__capa::after{ display: none; }
  .jv-cine__logo{ width: min(190px, 56%); }
}

/* ---------- 2b. Faixa com mosaico inclinado ---------- */
.jv-mosaico{
  position: relative;
  height: clamp(340px, 34vw, 460px);
  overflow: hidden;
  background: #050506;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: #fff;
}
.jv-mosaico__fundo{
  position: absolute;
  left: 50%; top: 50%;
  width: 190%;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 14px;
  transform: translate(-50%,-50%) rotate(-14deg);
  opacity: .62;
  filter: saturate(.85) brightness(.85);
  animation: jv-mosaico-desliza 90s linear infinite alternate;
}
.jv-mosaico__fundo img{
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  border-radius: 3px;
  box-shadow: 0 10px 24px rgba(0,0,0,.6);
}
@keyframes jv-mosaico-desliza{
  from{ transform: translate(-52%,-50%) rotate(-14deg); }
  to  { transform: translate(-44%,-50%) rotate(-14deg); }
}
.jv-mosaico::before{ /* vinheta escura: centro legivel, bordas densas */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(38% 55% at 50% 50%, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.15) 100%),
    linear-gradient(180deg, rgba(0,0,0,.7), transparent 25%, transparent 75%, rgba(0,0,0,.75));
}
.jv-mosaico__centro{
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 20px;
}
.jv-mosaico__centro .jv-cine__logo{ width: min(190px, 46vw); margin-bottom: 12px; }
.jv-mosaico__texto{
  font: 400 italic clamp(15px, 1.5vw, 19px)/1.4 'Fraunces', Georgia, serif;
  letter-spacing: .04em;
  color: #e9e9ea;
  margin: 0 0 22px;
}
@media (prefers-reduced-motion: reduce){
  .jv-mosaico__fundo{ animation: none; }
}
