/* =====================================================
   PARTE 3 · PERSONAGENS
   ===================================================== */
@font-face { font-family: "Rage"; src: url("../assets/fonts/rage.otf") format("opentype"); font-display: swap; }

/* ---------- JASON & LUCIA ---------- */
.duo { position: relative; }
.duo__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 60% at 50% 60%, #2a1052 0%, #0d0717 70%); }

.duo__names {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  gap: 1vw; pointer-events: none; white-space: nowrap;
}
.duo__name {
  font-family: var(--fonte-titulo); font-weight: 900; text-transform: uppercase; line-height: .8;
  font-size: clamp(72px, min(17vw, 30vh), 300px); letter-spacing: -.02em; color: #fff;
}
.duo__name--j { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.duo__amp {
  font-family: "Rage", cursive; font-size: clamp(120px, min(26vw, 46vh), 460px); line-height: .6;
  background: var(--grad-vi); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .25em .08em .1em; margin: -.25em -.12em -.1em; position: relative; z-index: 2;
  filter: drop-shadow(0 10px 40px rgba(255,79,163,.45));
}
.duo__kicker {
  position: absolute; z-index: 6; left: 50%; top: clamp(70px, 11vh, 110px); translate: -50% 0;
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  font: 700 11px/1 var(--fonte-texto); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.duo__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vi-rosa); box-shadow: 0 0 14px var(--vi-rosa); }

.duo__panels {
  position: absolute; z-index: 3; inset: clamp(96px, 16vh, 150px) clamp(14px, 3vw, 48px) clamp(40px, 8vh, 80px);
  display: flex; gap: clamp(8px, 1vw, 16px);
}
.duo__panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 8px;
  transition: flex-grow .9s var(--ease-out);
  background: #140a24;
}
.duo__panel--l { clip-path: inset(0 0 0 100%); }
.duo__panel--j { clip-path: inset(0 100% 0 0); }
.duo__panel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.duo__panel--l video { object-position: 45% 50%; }
.duo__panel--j video { object-position: 58% 50%; }
.duo__panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(10,4,22,.92) 0%, rgba(10,4,22,.35) 45%, rgba(10,4,22,0) 70%);
}
@media (hover: hover) {
  .duo__panels.is-ready:hover .duo__panel { flex-grow: .62; }
  .duo__panels.is-ready .duo__panel:hover { flex-grow: 1.6; }
  .duo__panel:hover video { transform: scale(1); }
}
.duo__info { position: absolute; z-index: 2; left: clamp(16px, 2.4vw, 36px); right: clamp(16px, 2.4vw, 36px); bottom: clamp(16px, 3.4vh, 36px); }
.duo__tag { font: 700 10px/1 var(--fonte-texto); letter-spacing: .3em; text-transform: uppercase; color: var(--vi-rosa); }
.duo__title {
  margin-top: 10px; font-family: var(--fonte-titulo); font-weight: 900; text-transform: uppercase;
  font-size: clamp(30px, min(3.6vw, 7vh), 64px); line-height: .9; white-space: nowrap;
}
.duo__sign {
  position: absolute; right: 0; bottom: 100%; font-family: "Rage", cursive; line-height: 1;
  font-size: clamp(40px, min(5vw, 10vh), 96px); color: var(--vi-laranja); rotate: -8deg;
  text-shadow: 0 4px 24px rgba(0,0,0,.5); opacity: .9;
}
.duo__bio, .duo__chips {
  max-width: 46ch; display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: opacity .5s, grid-template-rows .7s var(--ease-out), margin .7s var(--ease-out);
}
.duo__bio { font-size: clamp(14px, 1.05vw, 16px); color: rgba(255,244,236,.86); overflow: hidden; max-height: 0; margin-top: 0; transition: max-height .8s var(--ease-out), opacity .5s, margin .6s; }
.duo__chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-height: 0; overflow: hidden; margin: 0; transition: max-height .8s var(--ease-out), opacity .5s, margin .6s; }
.duo__chips li { font: 700 10px/1 var(--fonte-texto); letter-spacing: .18em; text-transform: uppercase; padding: 7px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; background: rgba(255,255,255,.06); }
.duo__panel:hover .duo__bio, .duo__panel.is-open .duo__bio { max-height: 9em; opacity: 1; margin-top: 12px; }
.duo__panel:hover .duo__chips, .duo__panel.is-open .duo__chips { max-height: 6em; opacity: 1; margin-top: 14px; }

.duo__together { position: absolute; inset: 0; z-index: 5; clip-path: inset(0 50% 0 50%); }
.duo__together video { width: 100%; height: 100%; object-fit: cover; }
.duo__together::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,4,22,.85) 0%, rgba(10,4,22,0) 50%), linear-gradient(180deg, rgba(10,4,22,.5) 0%, rgba(10,4,22,0) 25%); }
.duo__quote {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(36px, 9vh, 90px); margin: 0; padding: 0 24px; text-align: center;
  font-family: var(--fonte-titulo); font-weight: 900; text-transform: uppercase;
  font-size: clamp(28px, min(4.6vw, 8.5vh), 84px); line-height: .95;
}
.duo__quote span { display: block; }
.duo__quote .grad { padding-top: .22em; margin-top: -.22em; }
.duo__hint {
  position: absolute; z-index: 4; left: 50%; bottom: clamp(12px, 2.6vh, 26px); translate: -50% 0; opacity: 0;
  font: 700 10px/1 var(--fonte-texto); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); white-space: nowrap;
}

/* ---------- ELENCO ---------- */
.elenco { position: relative; }
.elenco__pin {
  position: relative; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #0d0717 0%, #1a0b33 55%, #2b0f45 100%);
}
.elenco__bg {
  position: absolute; z-index: 0; top: 50%; left: 0; translate: 0 -50%; white-space: nowrap; pointer-events: none;
  font-family: var(--fonte-titulo); font-weight: 900; text-transform: uppercase; line-height: 1;
  font-size: clamp(120px, 34vh, 380px); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.08);
  will-change: transform;
}
.elenco__track {
  position: relative; z-index: 1; height: 100%; display: flex; align-items: center;
  gap: clamp(14px, 2vw, 32px); padding: 0 clamp(20px, 6vw, 110px); width: max-content; will-change: transform;
}
.elenco__head { flex: none; width: clamp(280px, 30vw, 460px); padding-right: 2vw; }
.elenco__title {
  margin-top: 2.2vh; font-family: var(--fonte-titulo); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, min(5vw, 10vh), 92px); line-height: .9;
}
.elenco__lead { margin-top: 2.4vh; max-width: 32ch; color: var(--cor-suave); font-size: clamp(14px, 1.1vw, 17px); }
.elenco__count { margin-top: 3vh; font: 900 14px/1 var(--fonte-titulo); letter-spacing: .14em; color: rgba(255,255,255,.5); }
.elenco__count b { color: #fff; font-size: 28px; }

.card {
  --gx: 50%; --gy: 50%;
  position: relative; flex: none; display: block;
  width: clamp(240px, min(24vw, 50vh), 400px); aspect-ratio: 3 / 4.3;
  border-radius: 10px; overflow: hidden; background: #140a24;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08);
  transform-style: preserve-3d; will-change: transform;
}
.card:nth-of-type(even) { margin-top: 7vh; }
.card:nth-of-type(odd) { margin-bottom: 7vh; }
.card__media { position: absolute; inset: 0; }
.card__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1s var(--ease-out), filter .6s; filter: saturate(.85); }
.card:hover .card__media video { transform: scale(1.02); filter: saturate(1.15); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10,4,22,.95) 0%, rgba(10,4,22,.35) 42%, rgba(10,4,22,0) 62%); }
.card__body { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; }
.card__n { font: 900 11px/1 var(--fonte-titulo); letter-spacing: .2em; color: var(--vi-rosa); }
.card__name { margin-top: 8px; font-family: var(--fonte-titulo); font-weight: 900; text-transform: uppercase; font-size: clamp(24px, min(2.2vw, 4.6vh), 38px); line-height: .92; }
.card__role { margin-top: 6px; font: 700 10px/1.3 var(--fonte-texto); letter-spacing: .2em; text-transform: uppercase; color: var(--vi-laranja); }
.card__bio {
  font-size: 13.5px; line-height: 1.45; color: rgba(255,244,236,.85);
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height .7s var(--ease-out), opacity .5s, margin .6s;
}
.card:hover .card__bio, .card.is-open .card__bio { max-height: 7em; opacity: 1; margin-top: 10px; }
.card__sign {
  position: absolute; z-index: 2; top: 10px; right: 14px; font-family: "Rage", cursive; line-height: 1;
  font-size: clamp(40px, min(4vw, 8vh), 70px); color: #fff; rotate: -10deg; opacity: .9;
  text-shadow: 0 4px 20px rgba(0,0,0,.5); transform: translateZ(40px);
}
.card__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.28), transparent 45%);
  mix-blend-mode: overlay;
}
.card:hover .card__glare { opacity: 1; }
.card--end { border: 1px solid rgba(255,79,163,.5); }
.card--end .card__name { background: var(--grad-vi); -webkit-background-clip: text; background-clip: text; color: transparent; padding-top: .1em; }

.elenco__bar { position: absolute; z-index: 2; left: clamp(20px, 6vw, 110px); right: clamp(20px, 6vw, 110px); bottom: clamp(18px, 4vh, 40px); height: 2px; background: rgba(255,255,255,.14); }
.elenco__bar i { position: absolute; inset: 0; background: var(--grad-vi); transform-origin: left; transform: scaleX(0); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 820px) {
  .duo__names { flex-direction: column; gap: 0; }
  .duo__name { font-size: clamp(64px, 22vw, 180px); }
  .duo__amp { font-size: clamp(96px, 28vw, 220px); line-height: .9; margin: -.12em 0 -.08em; padding: .1em .1em 0; }
  .duo__panels { flex-direction: column; inset: clamp(96px, 13vh, 130px) 14px 40px; }
  .duo__panel--l { clip-path: inset(0 0 100% 0); }
  .duo__panel--j { clip-path: inset(100% 0 0 0); }
  .duo__title { font-size: clamp(28px, 8vw, 48px); }
  .duo__sign { font-size: 44px; }
  .duo__bio { font-size: 13.5px; }
  .duo__chips { display: none; }
  .duo__hint { display: none; }
  .card { width: min(74vw, 46vh); }
  .card:nth-of-type(even), .card:nth-of-type(odd) { margin: 0; }
  .elenco__head { width: 78vw; }
}
@media (max-height: 640px) {
  .duo__kicker { top: 64px; }
  .duo__panels { inset: 92px 3vw 40px; }
  .duo__bio { font-size: 13px; }
  .duo__panel:hover .duo__bio { max-height: 6em; }
  .card:nth-of-type(even) { margin-top: 5vh; }
  .card:nth-of-type(odd) { margin-bottom: 5vh; }
}
