/* ═══════════════════════════════════════════════════════════════
   CLÃ ASLLAM — LINK NA BIO (marcello.html · links.html)
   Abertura de filme: cortina abre, letterbox fica, título entra.
═══════════════════════════════════════════════════════════════ */

:root {
  --ink:        #040507;
  --navy:       #0A0E14;
  --gold:       #D4AF37;
  --gold-pale:  #F2D88B;
  --red:        #C8102E;
  --red-deep:   #8B0000;
  --cream:      #F5F2EA;
  --mute:       #A9A6A0;
  --hair:       rgba(212, 175, 55, .28);

  --f-title: 'Cinzel', serif;
  --f-bill:  'Bebas Neue', 'Oswald', sans-serif;
  --f-body:  'Inter', system-ui, sans-serif;

  --bar: clamp(26px, 4.2vh, 44px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; }

/* ───── Plano de fundo: vídeo/foto com grade de cinema ───── */
.scene {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: var(--ink);
}
.scene video, .scene img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.12) saturate(.78) brightness(var(--dim, .72));
}
.scene img { object-position: var(--focus, 50% 40%); }
.scene::before {                       /* vinheta + queda pro preto */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 30%, transparent 35%, rgba(4,5,7,.75) 100%),
    linear-gradient(180deg, rgba(4,5,7,.25) 0%, rgba(4,5,7,.1) 30%, rgba(4,5,7,.88) 62%, var(--ink) 100%);
}
.scene::after {                        /* granulação de película */
  content: ''; position: absolute; inset: -50%; z-index: 2; pointer-events: none;
  opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───── Letterbox: abre como cortina e fica fino ───── */
.bar {
  position: fixed; left: 0; right: 0; z-index: 20;
  height: 50vh;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-bill);
  font-size: .82rem; letter-spacing: .32em;
  white-space: nowrap; overflow: hidden;
  color: rgba(242, 216, 139, .55);
  animation: shutter 1.5s cubic-bezier(.77, 0, .18, 1) .25s forwards;
}
.bar-top    { top: 0; }
.bar-bottom { bottom: 0; }
.bar span { opacity: 0; animation: fadein .8s ease 1.6s forwards; }
@keyframes shutter { to { height: var(--bar); } }
@keyframes fadein  { to { opacity: 1; } }

/* ───── Coluna ───── */
.reel {
  position: relative; z-index: 5;
  width: 100%; max-width: 480px;
  margin: 0 auto;
  padding: calc(var(--bar) + 1.25rem) 16px calc(var(--bar) + 2.5rem);
}

/* ───── Cartela de título ───── */
.title-card {
  min-height: calc(100svh - var(--bar) * 2 - 2rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 1.75rem;
  text-align: center;
}
.title-card .emblem {
  width: 64px; height: 64px; margin: 0 auto 1.1rem;
  filter: drop-shadow(0 0 18px rgba(200, 16, 46, .45));
}
.presents {
  font-family: var(--f-title);
  font-size: .95rem; font-weight: 500;
  font-style: normal;
  color: var(--gold-pale);
  letter-spacing: .06em;
  margin-bottom: .6rem;
}
.title-card h1 {
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(2.5rem, 12.5vw, 4rem);
  line-height: .95;
  letter-spacing: .03em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .7);
}
.title-card h1 small {
  display: block;
  font-size: .34em; font-weight: 600;
  letter-spacing: .2em;
  margin-top: .55em;
  color: var(--gold);
}
.rule {
  width: 72px; height: 1px; margin: 1.3rem auto 1rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.tagline {
  max-width: 34ch; margin: 0 auto;
  color: var(--cream); opacity: .82;
  font-size: .95rem;
}

/* entrada da cartela (o único momento coreografado) */
.title-card > * { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.title-card > :nth-child(1) { animation-delay: 1.35s; }
.title-card > :nth-child(2) { animation-delay: 1.55s; }
.title-card > :nth-child(3) { animation-delay: 1.75s; }
.title-card > :nth-child(4) { animation-delay: 2.0s; }
.title-card > :nth-child(5) { animation-delay: 2.1s; }
.reel > :not(.title-card) { opacity: 0; animation: fadein .9s ease 2.3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ───── Lista de links (billing block) ───── */
.billing { list-style: none; border-top: 1px solid var(--hair); }
.billing li { border-bottom: 1px solid var(--hair); }
.cut {
  position: relative;
  display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: .9rem;
  padding: 1rem .9rem 1rem .75rem;
  background: rgba(4, 5, 7, .42);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s ease;
}
.cut::before {                         /* fita dourada que cresce no hover */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .3s ease;
}
.cut:hover { background: rgba(212, 175, 55, .08); }
.cut:hover::before { transform: scaleY(1); }
.cut:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.cut .ico { width: 40px; height: 40px; display: grid; place-items: center; color: var(--gold); }
.cut .ico svg { width: 22px; height: 22px; }
.cut .ico img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.cut .lbl {
  display: block;
  font-family: var(--f-bill);
  font-size: 1.42rem; line-height: 1.05;
  letter-spacing: .05em;
}
.cut .sub { display: block; color: var(--mute); font-size: .8rem; margin-top: .15rem; }
.cut .go { width: 16px; height: 16px; color: var(--gold); opacity: .7; transition: transform .25s ease; }
.cut:hover .go { transform: translateX(3px); }

/* chamada principal: vermelho de sangue */
.cut.lead {
  background: var(--red);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding-top: 1.15rem; padding-bottom: 1.15rem;
}
.cut.lead:hover { background: #d81434; }
.cut.lead .ico, .cut.lead .go { color: var(--cream); }
.cut.lead .sub { color: rgba(245, 242, 234, .82); }
.cut.lead::before { background: var(--gold-pale); }

/* ───── Bloco de horário ───── */
.call-sheet {
  margin-top: 2.2rem;
  padding: 1.25rem 1.1rem 1.1rem;
  border: 1px solid var(--hair);
  background: rgba(10, 14, 20, .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.call-sheet h2, .section-h {
  font-family: var(--f-title);
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold-pale);
  margin-bottom: .85rem;
}
.call-sheet dl { display: grid; grid-template-columns: 92px 1fr; row-gap: .65rem; column-gap: .8rem; }
.call-sheet dt { font-family: var(--f-bill); font-size: 1.05rem; letter-spacing: .08em; color: var(--gold); }
.call-sheet dd { font-size: .88rem; color: var(--cream); }
.call-sheet dd b { font-weight: 600; }
.call-sheet .note { margin-top: .95rem; font-size: .78rem; color: var(--mute); }

/* ───── Elenco / modalidades ───── */
.section-h { margin: 2.4rem 0 .8rem; text-align: center; }
.cast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.cast a {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: 1rem .4rem .9rem;
  background: rgba(4, 5, 7, .7);
  text-align: center;
  transition: background .25s ease;
}
.cast a:hover { background: rgba(212, 175, 55, .08); }
.cast a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.cast img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 1px solid var(--gold); filter: saturate(.85); }
.cast .who { font-family: var(--f-bill); font-size: 1.12rem; letter-spacing: .05em; line-height: 1; }
.cast .art { font-size: .72rem; color: var(--mute); line-height: 1.25; }

.arts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.arts a {
  font-family: var(--f-bill); font-size: 1.05rem; letter-spacing: .08em;
  padding: .55rem .95rem;
  border: 1px solid var(--hair);
  background: rgba(4, 5, 7, .55);
  transition: border-color .2s ease, color .2s ease;
}
.arts a:hover { border-color: var(--gold); color: var(--gold-pale); }
.arts a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.address {
  margin-top: 2.2rem; text-align: center;
  font-size: .85rem; color: var(--mute);
}
.address strong { display: block; color: var(--cream); font-weight: 600; font-size: .95rem; }
.address .new {
  display: inline-block; margin-bottom: .5rem;
  font-family: var(--f-bill); letter-spacing: .14em; font-size: .9rem;
  color: var(--ink); background: var(--gold); padding: .12rem .55rem;
}

.end {
  margin-top: 2.4rem; text-align: center;
  font-size: .75rem; color: var(--mute);
}
.end a { color: var(--gold-pale); border-bottom: 1px solid var(--hair); }

/* ───── Crédito Venturi ───── */
.made { margin-top: 1.6rem; text-align: center; }
.venturi-credit {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: .55rem;
  font-size: .72rem; color: var(--mute);
  transition: color .2s ease;
}
.venturi-credit img { height: 14px; width: auto; opacity: .85; }
.venturi-credit .vc-num { border-left: 1px solid var(--hair); padding-left: .55rem; }
.venturi-credit:hover { color: var(--cream); }
.venturi-credit:hover img { opacity: 1; }
.venturi-credit:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ───── Movimento reduzido ───── */
@media (prefers-reduced-motion: reduce) {
  .bar { animation: none; height: var(--bar); }
  .bar span, .title-card > *, .reel > :not(.title-card) { animation: none; opacity: 1; transform: none; }
  .scene video { display: none; }
  .cut, .cut::before, .cut .go { transition: none; }
}

@media (max-width: 420px) {
  .bar { font-size: .72rem; letter-spacing: .2em; }
}

@media (min-width: 720px) {
  .title-card { min-height: calc(100vh - var(--bar) * 2 - 6rem); }
}
