/* ============================================================
   TEMA TEATRAL — Mirella Almada (Fantasma da Ópera)
   Cores no :root abaixo. Dourado = --gold, veludo = --wine.
   ============================================================ */
:root {
  --bg:        #f4ede0;   /* pergaminho claro */
  --bg-dark:   #150d0f;   /* preto de palco (toque vinho) */
  --surface:   #fbf7ef;
  --text:      #241c18;
  --text-soft: #6e635a;
  --gold:      #c9a24b;   /* dourado de teatro */
  --gold-dk:   #a8822f;
  --wine:      #7a1416;   /* veludo da cortina */
  --wine-dk:   #4c0a0c;
  --line:      #e2d8c8;

  --display: "Playfair Display", Georgia, serif;
  --sans:    "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1140px;
  --radius: 4px;
  --shadow: 0 20px 55px rgba(21, 13, 15, 0.12);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-style: italic; }

.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-subtitle {
  font-size: 0.78rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold-dk); margin-bottom: 12px;
}
.section-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1;
}
.section-lead { color: var(--text-soft); margin-top: 14px; }

/* Botões */
.btn {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 15px 34px; border: 1px solid transparent;
  transition: var(--transition); cursor: pointer;
}
.btn--primary { background: var(--gold); color: #1a1205; }
.btn--primary:hover { background: var(--gold-dk); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: #1a1205; }

/* ============================================================
   CORTINA DE ABERTURA (animação pura em CSS, roda no load)
   ============================================================ */
.cortina { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.cortina-painel {
  position: absolute; top: 0; bottom: 0; width: 52%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, rgba(0,0,0,.45)),
    repeating-linear-gradient(90deg, #560d0f 0, #7a1416 16px, #911b1d 30px, #640f11 46px);
  box-shadow: inset 0 0 120px rgba(0,0,0,.5);
}
.cortina-painel--esq { left: 0;  transform-origin: left;  animation: abrirEsq 1.5s cubic-bezier(.76,0,.2,1) .35s forwards; }
.cortina-painel--dir { right: 0; transform-origin: right; animation: abrirDir 1.5s cubic-bezier(.76,0,.2,1) .35s forwards; }
.cortina-sanefa {
  position: absolute; top: 0; left: 0; right: 0; height: 74px; z-index: 3;
  background: repeating-linear-gradient(90deg, #560d0f 0, #7a1416 16px, #911b1d 30px, #640f11 46px);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  animation: subirSanefa 1.2s ease .4s forwards;
}
.cortina-sanefa::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 28px;
  background: radial-gradient(circle at 28px -4px, #7a1416 26px, transparent 27px) repeat-x;
  background-size: 56px 28px;
}
.cortina-brasao {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%,-50%);
  font-size: clamp(3rem, 10vw, 6rem); z-index: 4;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.6));
  animation: sumirBrasao 1s ease .25s forwards;
}
.cortina { animation: sumirCortina 0s linear 1.9s forwards; }
@keyframes abrirEsq { to { transform: translateX(-102%); } }
@keyframes abrirDir { to { transform: translateX(102%); } }
@keyframes subirSanefa { to { transform: translateY(-105%); } }
@keyframes sumirBrasao { 0%{opacity:1} 60%{opacity:1} 100%{opacity:0} }
@keyframes sumirCortina { to { visibility: hidden; pointer-events: none; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 24px 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(21,13,15,.92); backdrop-filter: blur(10px); padding: 14px 0; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.nav-container { width: 90%; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: #fff; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.85); position: relative; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-link--cta { border: 1px solid rgba(255,255,255,.4); padding: 8px 18px; }
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--gold); border-color: var(--gold); color: #1a1205; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle .bar { width: 26px; height: 2px; background: #fff; transition: var(--transition); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  color: #fff; overflow: hidden;
  background: radial-gradient(130% 120% at 50% -10%, #3a2122 0%, #1c1012 45%, #0d080a 100%);
}
.hero-spot {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 90vw; height: 110vh;
  background: radial-gradient(50% 45% at 50% 30%, rgba(201,162,75,.28), rgba(201,162,75,.06) 45%, transparent 70%);
  pointer-events: none; animation: brilho 6s ease-in-out infinite;
}
@keyframes brilho { 0%,100%{opacity:.75} 50%{opacity:1} }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero-subtitle { font-size: 0.82rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(3.2rem, 9vw, 6.4rem); line-height: 0.95; margin-bottom: 24px; }
.hero-text { font-size: 1.08rem; color: rgba(255,255,255,.8); max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Moldura dourada da foto do hero */
.hero-foto { display: flex; justify-content: center; }
.moldura {
  position: relative; width: 100%; max-width: 360px; aspect-ratio: 3 / 4;
  padding: 10px; background: linear-gradient(145deg, #d9b25a, #9a7628);
  border-radius: 3px; box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.2);
}
.moldura img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }
.moldura--vazia {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #2a1c1d 0 16px, #241719 16px 32px);
}
.moldura--vazia::after {
  content: attr(data-label); content: "🎭  foto do início"; color: var(--gold);
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 0 16px;
}
.moldura-legenda { display: none; }

.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-down span { display: block; width: 22px; height: 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.scroll-down span::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; background: var(--gold); border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:1;transform:translate(-50%,0)} 100%{opacity:0;transform:translate(-50%,14px)} }

/* ============================================================
   SOBRE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: center; }
.about-content .section-title { margin-bottom: 22px; }
.about-text { color: var(--text-soft); margin-bottom: 18px; font-size: 1.04rem; }
.about-text strong { color: var(--wine); font-weight: 500; }
.stats { display: flex; gap: 34px; margin: 30px 0; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-family: var(--display); font-size: 2.5rem; font-weight: 700; color: var(--gold-dk); line-height: 1; }
.stat-label { font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); margin-top: 6px; }
.about-facts { border-top: 1px solid var(--line); padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.about-facts li { font-size: 0.94rem; color: var(--text-soft); }
.about-facts strong { color: var(--text); font-weight: 500; }

/* Pilha de fotos (polaroids) */
.pilha-area { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pilha { position: relative; width: 100%; height: 440px; cursor: pointer; }
.polaroid {
  position: absolute; left: 50%; top: 50%; width: 260px; margin: 0;
  padding: 12px 12px 46px; background: #fff; border-radius: 3px;
  box-shadow: 0 14px 34px rgba(21,13,15,.26);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.polaroid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.polaroid.polaroid--vazia::before {
  content: "✦"; display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 3 / 4; border-radius: 2px; color: var(--gold-dk); font-size: 1.6rem;
  background: repeating-linear-gradient(135deg, #f1ece2 0 14px, #e7ddcd 14px 28px);
}
.polaroid figcaption { position: absolute; left: 12px; right: 12px; bottom: 14px; text-align: center; font-size: .72rem; color: #9a8f82; font-family: var(--sans); }
.polaroid[data-pos="0"] { z-index: 5; transform: translate(-50%,-50%) rotate(2deg); }
.polaroid[data-pos="1"] { z-index: 4; transform: translate(-62%,-47%) rotate(-7deg); }
.polaroid[data-pos="2"] { z-index: 3; transform: translate(-37%,-53%) rotate(8deg); }
.polaroid[data-pos="3"] { z-index: 2; transform: translate(-55%,-57%) rotate(-12deg); }
.pilha:hover .polaroid[data-pos="0"] { transform: translate(-50%,-52%) rotate(0deg); }
.pilha-botao {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--gold-dk); border-radius: 999px; background: transparent; color: var(--text);
  font: inherit; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: var(--transition);
}
.pilha-botao:hover { background: var(--gold); border-color: var(--gold); color: #1a1205; }

/* ============================================================
   EM CARTAZ (destaques recentes)
   ============================================================ */
.highlights { background: var(--bg-dark); color: #fff; }
.highlights .section-subtitle { color: var(--gold); }
.highlights .section-title { color: #fff; }
.highlights .section-lead { color: rgba(255,255,255,.7); }
.cartazes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cartaz {
  position: relative; padding: 34px 24px; text-align: center; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(201,162,75,.25); transition: var(--transition);
}
.cartaz:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 20px 44px rgba(0,0,0,.35); }
.cartaz-tag { display: inline-block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: #1a1205; background: var(--gold); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.cartaz-icone { font-size: 2.4rem; margin-bottom: 14px; }
.cartaz h3 { font-family: var(--display); font-weight: 600; font-size: 1.32rem; margin-bottom: 10px; color: #fff; }
.cartaz p { color: rgba(255,255,255,.72); font-size: .95rem; }
.cartaz--estrela { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,162,75,.16), rgba(201,162,75,.04)); box-shadow: 0 0 0 1px rgba(201,162,75,.3), 0 18px 40px rgba(0,0,0,.3); }
.cartaz--estrela::after { content: "★"; position: absolute; top: 12px; right: 14px; color: var(--gold); font-size: 1rem; }
.highlights-nota { text-align: center; margin-top: 34px; color: rgba(255,255,255,.55); font-size: .9rem; }

/* ============================================================
   TRABALHOS
   ============================================================ */
.work { background: var(--surface); }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.work-card { padding: 40px 26px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: var(--transition); background: var(--bg); }
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold); }
.work-icon { font-size: 2.3rem; margin-bottom: 16px; }
.work-card-title { font-family: var(--display); font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.work-card-text { color: var(--text-soft); font-size: 0.96rem; }

/* ============================================================
   TRAJETÓRIA
   ============================================================ */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,.2); }
.timeline-year { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--gold-dk); margin-bottom: 6px; }
.timeline-content h3 { font-size: 1.18rem; font-weight: 500; margin-bottom: 4px; }
.timeline-content p { color: var(--text-soft); }

/* ============================================================
   GALERIA
   ============================================================ */
.gallery { background: var(--surface); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.placeholder-img { width: 100%; aspect-ratio: 3 / 4; background: linear-gradient(135deg, #e9e1d5, #d8ccba); border: 1px dashed var(--gold-dk); display: flex; align-items: center; justify-content: center; color: var(--gold-dk); }
.placeholder-img::after { content: attr(data-label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; padding: 0 10px; text-align: center; }
.gallery-item img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================================
   CONTATO
   ============================================================ */
.contact { background: radial-gradient(130% 120% at 50% 0%, #3a2122 0%, #150d0f 60%); color: #fff; text-align: center; }
.contact .section-title { color: #fff; }
.contact-lead { color: rgba(255,255,255,.75); max-width: 520px; margin: 18px auto 42px; }
.contact-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 42px; }
.contact-item { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 22px 38px; min-width: 240px; transition: var(--transition); }
.contact-item:hover { border-color: var(--gold); background: rgba(201,162,75,.08); }
.contact-item-label { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-item-value { font-size: 1.1rem; }
.socials { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.social-link { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); position: relative; padding-bottom: 4px; }
.social-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.social-link:hover { color: #fff; }
.social-link:hover::after { width: 100%; }

/* ============================================================
   FOOTER + LIGHTBOX
   ============================================================ */
.footer { background: #0b0607; color: rgba(255,255,255,.6); text-align: center; padding: 40px 20px; }
.footer p:first-child { font-family: var(--display); font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.footer-credit { font-size: .82rem; }
.lightbox { position: fixed; inset: 0; background: rgba(11,6,7,.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 200; padding: 30px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 24px; right: 34px; background: none; border: none; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* ============================================================
   FADE-IN
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 920px) {
  .section { padding: 84px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-foto { order: -1; }
  .moldura { max-width: 280px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .pilha-area { order: -1; }
  .cartazes { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 80%; max-width: 320px;
    background: var(--bg-dark); flex-direction: column; justify-content: center; gap: 26px;
    transition: right var(--transition); box-shadow: -20px 0 60px rgba(0,0,0,.5);
  }
  .nav-menu.open { right: 0; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active .bar:nth-child(2) { opacity: 0; }
  .nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cartazes { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-facts { grid-template-columns: 1fr; }
  .contact-item { min-width: 0; width: 100%; }
}

/* Acessibilidade: menos movimento */
@media (prefers-reduced-motion: reduce) {
  .cortina { display: none; }
  .hero-spot { animation: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .polaroid { transition: none; }
}

/* ============================================================
   Links nos cartazes + seção Maquiagem
   ============================================================ */
.cartaz a { color: var(--gold); border-bottom: 1px solid rgba(201,162,75,.4); transition: color .3s, border-color .3s; }
.cartaz a:hover { color: #fff; border-color: #fff; }
.makeup-nota { text-align: center; margin-top: 28px; color: var(--text-soft); font-size: .9rem; }
.gallery-item--vazia { aspect-ratio: 3 / 4; background: linear-gradient(135deg, #e9e1d5, #d8ccba); border: 1px dashed var(--gold-dk); display: flex; align-items: center; justify-content: center; }
.gallery-item--vazia::after { content: attr(data-label); color: var(--gold-dk); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   Beijos ao lado do nome (hero)
   ============================================================ */
.hero-nome { position: relative; display: inline-block; }
.beijo { position: absolute; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); pointer-events: none; }
.beijo--tr { top: -0.45em; right: -0.75em; transform: rotate(12deg); }
.beijo--bl { bottom: -0.25em; left: -0.75em; transform: rotate(-10deg); }

/* ============================================================
   Seção de Vídeos (embed do YouTube)
   ============================================================ */
.videos { background: var(--surface); }
.video-destaque { max-width: 820px; margin: 0 auto; }
.video-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item figcaption { padding: 16px 20px; background: var(--bg); color: var(--text-soft); font-size: .95rem; text-align: center; }
.video-item figcaption strong { color: var(--wine); font-weight: 500; }

/* ============================================================
   Galeria de vídeos: player em destaque + lista de aparições
   ============================================================ */
.video-player { max-width: 860px; margin: 0 auto 30px; }
.video-atual { text-align: center; margin-top: 14px; color: var(--text-soft); font-size: .95rem; }
.video-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.video-card { display: flex; gap: 12px; align-items: center; text-align: left; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: inherit; transition: var(--transition); }
.video-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.video-card.ativo { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.video-thumb { position: relative; flex: 0 0 100px; width: 100px; height: 62px; border-radius: 3px; background: #000 center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); border-radius: 3px; }
.video-play { position: relative; z-index: 1; color: #fff; font-size: .85rem; }
.video-card-info { display: flex; flex-direction: column; }
.video-card-info strong { font-weight: 500; color: var(--text); font-size: .95rem; }
.video-card-info span { color: var(--text-soft); font-size: .82rem; }

/* ============================================================
   Trabalhos (blocos por marca, com reels verticais)
   ============================================================ */
.trabalhos { background: var(--bg-dark); color: #fff; }
.trabalhos .section-title { color: #fff; }
.trabalho { max-width: 1000px; margin: 0 auto; }
.trabalho + .trabalho { margin-top: 56px; }
.trabalho-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid rgba(201,162,75,.3); padding-bottom: 12px; margin-bottom: 20px; }
.trabalho-nome { font-family: var(--display); font-size: 1.8rem; font-weight: 600; color: #fff; }
.trabalho-selo { font-family: var(--sans); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #1a1205; background: var(--gold); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.trabalho-ig { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .3s; }
.trabalho-ig:hover { border-color: var(--gold); }
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.reel { position: relative; aspect-ratio: 9 / 16; border: 0; padding: 0; margin: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; background: rgba(12,8,8,.22); opacity: 0; transition: opacity .3s; }
.reel:hover .reel-play, .reel:focus-visible .reel-play { opacity: 1; }
.trabalho-nota { margin-top: 16px; color: rgba(255,255,255,.55); font-size: .88rem; }
.lightbox-content video { display: block; }

/* Blocos de make na seção clara de Maquiagem */
.makeup .trabalho { max-width: 1000px; }
.makeup .trabalho + .trabalho { margin-top: 40px; }
.makeup .trabalho-nome { color: var(--text); }
.makeup .trabalho-head { border-color: var(--line); }
.makeup .trabalho-selo { color: #1a1205; }

/* Fotos dentro dos blocos de trabalho/make */
.trabalho-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 16px; }
.foto { border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 4 / 5; }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.foto:hover img { transform: scale(1.06); }

/* ============================================================
   v4 — Toques editoriais/cinematograficos + easter eggs
   Inspiracao: zine do Rafa Donas (editorial/colagem),
   transicoes suaves do ntch.design, clima dark/typographic
   dos portfolios do Awwwards. Tudo respeitando o tema teatral.
   ============================================================ */

/* Barra de progresso de leitura (topo) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), #f0d98a);
  box-shadow: 0 0 10px rgba(201,162,75,.6);
  will-change: transform;
}

/* Grao de filme sutil por cima de tudo (nao bloqueia cliques) */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Brilho dourado que segue o cursor (so mouse; some no touch) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; z-index: 40;
  margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(201,162,75,.16), rgba(201,162,75,0) 60%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* Letreiro / marquee (tipografia editorial rolando) */
.marquee {
  background: var(--bg-dark); color: #fff; overflow: hidden;
  border-top: 1px solid rgba(201,162,75,.3); border-bottom: 1px solid rgba(201,162,75,.3);
  padding: 20px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: 0 0 auto; }
.marquee-group span {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: clamp(1.3rem, 3.4vw, 2.1rem); white-space: nowrap; padding: 0 .55em;
  color: rgba(255,255,255,.9);
}
.marquee-group i { color: var(--gold); font-style: normal; font-size: 1rem; opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Easter eggs: confete + aviso central + coracoes */
.egg-layer { position: fixed; inset: 0; z-index: 10000; pointer-events: none; overflow: hidden; }
.confetti { position: absolute; top: -8vh; will-change: transform, opacity; animation: queda linear forwards; }
@keyframes queda {
  0%   { transform: translateY(-10vh) rotate(0); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: .85; }
}
.egg-toast {
  position: fixed; left: 50%; top: 24%; transform: translate(-50%, -10px); pointer-events: none;
  background: linear-gradient(180deg, rgba(34,20,22,.97), rgba(21,13,15,.97));
  border: 1px solid var(--gold); border-radius: 8px; padding: 22px 30px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(201,162,75,.3);
  opacity: 0; transition: opacity .4s, transform .4s; z-index: 10001; max-width: 86vw;
}
.egg-toast.show { opacity: 1; transform: translate(-50%, 0); }
.egg-toast strong { display: block; font-family: var(--display); color: var(--gold); font-size: 1.5rem; margin-bottom: 6px; }
.egg-toast span { color: rgba(255,255,255,.85); font-size: .95rem; }
.heart { position: fixed; z-index: 10000; pointer-events: none; font-size: 1.2rem; will-change: transform, opacity; animation: sobe 1.1s ease-out forwards; }
@keyframes sobe {
  0%   { transform: translateY(0) scale(.6); opacity: 1; }
  100% { transform: translateY(-120px) scale(1.2); opacity: 0; }
}

/* Beijos viram clicaveis (easter egg) */
.beijo { pointer-events: auto; cursor: pointer; }

/* Letreiro responsivo */
@media (max-width: 640px) {
  .marquee { padding: 14px 0; }
  .marquee-track { animation-duration: 24s; }
}

/* Movimento reduzido / touch: desliga enfeites animados */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .cursor-glow { display: none; }
  .confetti, .heart { display: none; animation: none; }
  .scroll-progress { transition: none; }
}
@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ============================================================
   v5 — FANZINE TEATRAL (inspiracao: zine do Rafa Donas)
   Mantem a alma teatral (dourado/vinho/Playfair) e sobrepoe a
   oficina do fanzine: maquina de escrever, caneta vermelha,
   sombras duras, grao de toner, tudo torto e numeracao editorial.
   ============================================================ */
:root {
  --f-anton: 'Anton', Impact, sans-serif;
  --f-abril: 'Abril Fatface', Georgia, serif;
  --f-elite: 'Special Elite', 'Courier New', monospace;
  --f-rubik: 'Rubik Mono One', 'Arial Black', sans-serif;
  --f-caneta: 'Permanent Marker', 'Comic Sans MS', cursive;
  --marker: #d81f12;          /* caneta vermelha = cor de destaque */
  --mola: cubic-bezier(.34, 1.56, .64, 1);
}

/* Papel: colunas tenues de impressao no fundo claro */
body {
  background:
    repeating-linear-gradient(90deg, transparent 0 168px, rgba(36,28,24,.028) 168px 170px),
    var(--bg);
}

/* Grao de toner tremendo (fotocopia) */
.grain {
  inset: -14px; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 0 .4 .9'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: tonerJitter 1.3s steps(3) infinite;
}
@keyframes tonerJitter { 0%{transform:translate(0,0)} 33%{transform:translate(-6px,3px)} 66%{transform:translate(4px,-5px)} }

/* Utilitarios do zine */
.caneta { font-family: var(--f-caneta); color: var(--marker); line-height: 1.1; }
.maquina { font-family: var(--f-elite); letter-spacing: .02em; }

/* Etiquetas e legendas viram maquina de escrever */
.section-subtitle, .nav-link, .social-link, .contact-item-label,
.stat-label, .about-facts li, .trabalho-ig, .cartaz-tag, .trabalho-selo {
  font-family: var(--f-elite);
}
.section-subtitle { letter-spacing: .14em; }
.nav-link { letter-spacing: .06em; }

/* Numeracao editorial "No 01" nas secoes */
body { counter-reset: zine; }
.section-header { counter-increment: zine; }
.section-header::before {
  content: "No " counter(zine, decimal-leading-zero);
  display: inline-block; margin-bottom: 14px; padding: 5px 12px;
  font-family: var(--f-rubik); font-size: .68rem; letter-spacing: .02em;
  background: var(--wine); color: #f6ecd8; transform: rotate(-2.5deg);
  box-shadow: 3px 3px 0 var(--gold-dk);
}
.highlights .section-header::before, .trabalhos .section-header::before {
  background: var(--gold); color: #1a1205; box-shadow: 3px 3px 0 var(--marker);
}

/* Botoes estilo cartaz: sombra dura, torto, mola */
.btn {
  font-family: var(--f-anton); font-weight: 400; font-size: .95rem; letter-spacing: .06em;
  border: 2px solid transparent; transform: rotate(-1deg);
  box-shadow: 4px 4px 0 var(--wine);
  transition: transform .35s var(--mola), box-shadow .35s var(--mola), background .3s, color .3s;
}
.btn--primary { background: var(--gold); color: #1a1205; border-color: #1a1205; }
.btn--ghost { border-color: currentColor; box-shadow: 4px 4px 0 rgba(0,0,0,.4); }
.btn:hover { transform: rotate(1deg) translate(-2px,-2px); box-shadow: 7px 7px 0 var(--wine); }
.btn:active { transform: rotate(0) translate(3px,3px); box-shadow: 0 0 0 var(--wine); }

/* Cards: sombra dura + leve torto + hover de mola */
.cartaz { box-shadow: 5px 5px 0 rgba(0,0,0,.55); transform: rotate(-1deg); }
.cartaz:nth-child(even) { transform: rotate(1.2deg); }
.cartaz:hover { transform: rotate(0) translate(-3px,-3px); box-shadow: 9px 9px 0 var(--gold-dk); }
.cartaz--estrela { transform: rotate(0); }
.cartaz--estrela:hover { transform: translate(-3px,-3px); }

.work-card { box-shadow: 5px 5px 0 rgba(36,28,24,.22); transform: rotate(-1deg); }
.work-card:nth-child(even) { transform: rotate(1.4deg); }
.work-card:hover { transform: rotate(0) translate(-3px,-3px); box-shadow: 9px 9px 0 var(--wine); border-color: var(--gold-dk); }

/* Reels e fotos pregados tortos */
.reel { box-shadow: 5px 5px 0 rgba(0,0,0,.5); transform: rotate(-1.2deg); transition: transform .4s var(--mola), box-shadow .4s var(--mola); }
.reel:nth-child(even) { transform: rotate(1.2deg); }
.reel:hover { transform: rotate(0) translate(-2px,-2px); box-shadow: 9px 9px 0 var(--marker); }
.foto { box-shadow: 4px 4px 0 rgba(0,0,0,.42); transform: rotate(-1.5deg); transition: transform .4s var(--mola), box-shadow .4s var(--mola); }
.foto:nth-child(even) { transform: rotate(1.5deg); }
.foto:nth-child(3n) { transform: rotate(-.5deg); }
.foto:hover { transform: rotate(0) translate(-2px,-2px); box-shadow: 7px 7px 0 var(--gold); }

/* Fita adesiva no topo das polaroids */
.polaroid::after {
  content: ""; position: absolute; top: -11px; left: 50%; width: 92px; height: 26px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(201,162,75,.28); border: 1px solid rgba(201,162,75,.45);
  box-shadow: 0 1px 3px rgba(0,0,0,.2); z-index: 6;
}

/* Trajetoria: ano em etiqueta mono torta (ficha corrida) */
.timeline-year {
  font-family: var(--f-rubik); font-size: .95rem; display: inline-block;
  padding: 4px 9px; color: var(--marker); border: 2px solid var(--marker);
  transform: rotate(-3deg); margin-bottom: 10px;
}

/* Marquee vira fita do zine (Rubik Mono + separador vermelho) */
.marquee { transform: rotate(-1.2deg); margin: 10px -3vw; }
.marquee-group span {
  font-family: var(--f-rubik); font-style: normal; font-weight: 400;
  font-size: clamp(1rem, 2.6vw, 1.55rem); letter-spacing: .01em;
  text-transform: uppercase; color: #f3e9d6; padding: 0 .42em;
}
.marquee-group i { color: var(--marker); font-size: 1.2rem; }

/* Nota manuscrita no hero */
.hero-nota { font-family: var(--f-caneta); color: var(--gold); font-size: 1.15rem; transform: rotate(-2deg); margin-top: 22px; display: inline-block; }

/* Selecao estilo marca-texto */
::selection { background: var(--gold); color: #1a1205; }

/* Movimento reduzido: congela o grao e tira as molas */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .cartaz, .work-card, .reel, .foto, .btn { transition: none; }
}

/* ============================================================
   v6 — Faixa "Ja trabalhei com" (marcas) na secao Em cartaz
   ============================================================ */
.marcas { margin-top: 52px; text-align: center; }
.marcas-titulo {
  font-family: var(--f-elite); letter-spacing: .22em; text-transform: uppercase;
  font-size: .72rem; color: var(--gold); margin-bottom: 20px;
}
.marcas-lista { display: flex; flex-wrap: wrap; gap: 12px 14px; justify-content: center; }
.marcas-lista li {
  font-family: var(--f-anton); text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.05rem; color: #f3e9d6; padding: 8px 16px;
  border: 2px solid rgba(201,162,75,.5); background: rgba(201,162,75,.06);
  transform: rotate(-1.5deg); box-shadow: 3px 3px 0 rgba(0,0,0,.45);
  transition: transform .3s var(--mola), box-shadow .3s var(--mola), border-color .3s;
}
.marcas-lista li:nth-child(even) { transform: rotate(1.5deg); }
.marcas-lista li:nth-child(3n) { transform: rotate(-.6deg); }
.marcas-lista li:hover { transform: rotate(0) translate(-2px,-2px); box-shadow: 5px 5px 0 var(--marker); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .marcas-lista li { transition: none; } }



/* ============================================================
   v8 — Carrossel de logos das marcas (substitui os chips de texto)
   Cada logo num quadrinho branco uniforme, rolando em loop.
   ============================================================ */
.marcas { text-align: center; }
.marcas-carrossel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marcas-trilho { display: flex; width: max-content; align-items: center; gap: 18px; animation: marcasScroll 26s linear infinite; }
.marcas-carrossel:hover .marcas-trilho { animation-play-state: paused; }
.marca-logo {
  flex: 0 0 auto; width: 172px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 22px; background: #fff;
  border: 2px solid rgba(201,162,75,.55); border-radius: 10px;
  box-shadow: 4px 4px 0 rgba(0,0,0,.4); overflow: hidden;
}
.marca-logo img { max-height: 48px; max-width: 128px; width: auto; object-fit: contain; display: block; }
.marca-logo img[src*="oppo"] { height: 132px; max-height: none; max-width: none; }
.marca-logo img[src*="noodtv"] { max-height: 66px; }
@keyframes marcasScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marcas-trilho { animation: none; flex-wrap: wrap; justify-content: center; }
  .marcas-carrossel { -webkit-mask-image: none; mask-image: none; }
}

/* ============================================================
   v9 — Natura e Bis um pouco maiores no carrossel
   (os PNGs deles tem muita margem interna, entao ficavam pequenos)
   ============================================================ */
.marca-logo img[src*="natura"], .marca-logo img[src*="bis"] { max-height: 66px; }

/* ============================================================
   v10 — Carrossel interativo: arrastar com o mouse + nome no hover
   ============================================================ */
.marcas-carrossel { cursor: grab; }
.marcas-carrossel.arrastando { cursor: grabbing; }
.marca-logo { position: relative; }
.marca-logo img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.marca-nome {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(21,13,15,.93); color: var(--gold);
  font-family: var(--f-elite); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: 5px 4px; transform: translateY(100%);
  transition: transform .25s var(--mola); pointer-events: none;
}
.marca-logo:hover .marca-nome { transform: translateY(0); }

/* ============================================================
   v11 — Logos viram links (vao ate o material da marca na pagina)
   ============================================================ */
.section { scroll-margin-top: 80px; }
.trabalho { scroll-margin-top: 90px; }
.marca-logo { -webkit-user-drag: none; text-decoration: none; }
.marca-logo:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.marca-logo:focus-visible .marca-nome { transform: translateY(0); }
