/* ============================================================
   TRATAMENTO — PILECCO NOBRE × POLIVERSO
   Sistema visual: fundo preto · acento verde-limão #DCFF3C
   Type: Space Grotesk (display/texto) + Space Mono (rótulos)
   ============================================================ */

:root {
  --bg:        #0a0a0b;
  --bg-soft:   #101012;
  --card:      #121215;
  --card-hi:   #17171b;
  --line:      rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --ink:       #f4f4f1;
  --ink-2:     #c9c9c4;
  --muted:     #86867f;
  --muted-2:   #5a5a55;
  --accent:    #dcff3c;
  --accent-d:  rgba(220, 255, 60, 0.14);
  --accent-dd: rgba(220, 255, 60, 0.06);
  --maxw:      1240px;
  --pad:       clamp(20px, 5vw, 80px);
  --font-disp: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-disp);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle film grain + vignette over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(220,255,60,0.05), transparent 55%),
    radial-gradient(140% 120% at 50% 120%, rgba(0,0,0,0.55), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.035;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #0a0a0b; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- shared type ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ============================================================
   TOP NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  background: linear-gradient(180deg, rgba(10,10,11,0.92), rgba(10,10,11,0.0));
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,11,0.86);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px) saturate(1.1);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 26px; width: auto; display: block; }
.nav-brand .sep { width: 1px; height: 34px; background: var(--line); }
.nav-brand .client { height: 46px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 780px) { .nav-links { display: none; } }

/* scroll progress */
.progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent); width: 0%;
  z-index: 60;
  box-shadow: 0 0 12px var(--accent);
}

/* ============================================================
   HERO / CAPA
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-inner { width: 100%; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(52px, 11vw, 168px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero h1 .thin { font-weight: 300; color: var(--ink-2); display: block; }
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  max-width: 620px;
  margin-top: 30px;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-2);
  font-weight: 300;
}
.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.hero-meta .cell { background: var(--bg); padding: 18px 20px; }
.hero-meta .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; display: block;
}
.hero-meta .val { font-size: 16px; color: var(--ink); }
@media (max-width: 720px) { .hero-meta { grid-template-columns: repeat(2, 1fr); } }

.hero-client {
  position: absolute;
  top: 120px; right: var(--pad);
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.hero-client img { height: clamp(70px, 11vw, 132px); width: auto; }
.hero-client span {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 720px) {
  .hero-client { position: static; align-items: flex-start; margin-bottom: 36px; }
}

.scrollcue {
  position: absolute; bottom: 28px; left: var(--pad);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.scrollcue .bar { position: relative; width: 46px; height: 1px; background: var(--line); overflow: hidden; }
.scrollcue .bar::after {
  content:""; position:absolute; inset:0; width: 40%; background: var(--accent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0%{transform:translateX(-110%)} 60%,100%{transform:translateX(280%)} }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; }
.block { padding-block: clamp(72px, 11vw, 150px); border-top: 1px solid var(--line-soft); }
.sec-head { display: flex; gap: clamp(20px, 4vw, 60px); align-items: flex-start; margin-bottom: 54px; flex-wrap: wrap; }
.sec-num {
  font-family: var(--font-mono);
  font-size: 14px; color: var(--accent);
  letter-spacing: 0.1em; padding-top: 10px;
  white-space: nowrap;
}
.sec-titles { flex: 1; min-width: 260px; }
.sec-head h2 {
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.0; font-weight: 600; letter-spacing: -0.02em;
}
.sec-head .lead {
  margin-top: 22px; max-width: 720px;
  font-size: clamp(18px, 2.1vw, 24px); font-weight: 300; color: var(--ink-2);
  line-height: 1.5;
}

.prose { max-width: 720px; color: var(--ink-2); font-weight: 300; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--ink); font-weight: 500; }

/* generic two-col */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .cols2, .cols3 { grid-template-columns: 1fr; } }

/* ---------- placeholder block (striped) ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 10px, transparent 10px 20px),
    var(--card);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted);
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 18px;
}
.ph.ratio-169 { aspect-ratio: 16 / 9; }
.ph.ratio-32  { aspect-ratio: 3 / 2; }
.ph.ratio-11  { aspect-ratio: 1 / 1; }
.ph.ratio-45  { aspect-ratio: 4 / 5; }
.ph .pin {
  position:absolute; top:10px; left:10px;
  width:7px;height:7px;border:1px solid var(--accent);border-radius:50%;
}

/* ============================================================
   ÍNDICE
   ============================================================ */
.toc { display: flex; flex-direction: column; }
.toc a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 22px 4px;
  border-top: 1px solid var(--line-soft);
  transition: padding-left 0.25s ease, color 0.2s ease;
}
.toc a:last-child { border-bottom: 1px solid var(--line-soft); }
.toc a:hover { padding-left: 18px; }
.toc a:hover .toc-title { color: var(--accent); }
.toc .toc-n { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.toc .toc-title { font-size: clamp(22px, 3.4vw, 38px); font-weight: 500; letter-spacing: -0.01em; transition: color 0.2s ease; }
.toc .toc-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 600px) { .toc a { grid-template-columns: 40px 1fr; } .toc .toc-meta { display: none; } }

/* ============================================================
   STORYBOARD / CENAS
   ============================================================ */
.scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .scenes { grid-template-columns: 1fr; } }
.scene {
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.scene:hover { border-color: rgba(220,255,60,0.4); background: var(--card-hi); }
.scene .frame { position: relative; }
.scene .frame .vframe { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.scene .frame .vframe video {
  position: absolute;
  width: 161.3%; height: 161.3%;
  left: -17.4%; top: -40%;
  object-fit: cover; max-width: none; display: block;
}
.scene .frame .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #0a0a0b;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; padding: 5px 10px;
}
.scene .frame .time {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink);
  background: rgba(0,0,0,0.55); padding: 5px 9px; border: 1px solid var(--line);
}
.scene .body { padding: 20px 22px 24px; }
.scene .body h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.scene .body p { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.55; }
.scene .body .dir {
  margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap;
}
.scene .body .dir span {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); padding: 4px 9px;
}

/* ============================================================
   LOCAÇÕES (vídeo)
   ============================================================ */
.video-wrap {
  position: relative; border: 1px solid var(--line); overflow: hidden;
  background: #000; aspect-ratio: 16 / 9;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-tag {
  position: absolute; bottom: 16px; left: 16px; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
  background: rgba(0,0,0,0.5); padding: 8px 12px; border: 1px solid var(--line);
}
.video-tag .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
@media (max-width: 760px) { .loc-grid { grid-template-columns: 1fr 1fr; } }
.loc { position: relative; }
.loc .cap {
  margin-top: 10px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted);
}
.loc .cap b { color: var(--ink); font-weight: 400; }

/* ---------- tone / list items ---------- */
.taglist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.taglist .t {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px;
  transition: all 0.2s ease;
}
.taglist .t:hover { border-color: var(--accent); color: var(--accent); }

.numlist { display: grid; gap: 2px; }
.numlist .row {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px;
  padding: 20px 0; border-top: 1px solid var(--line-soft); align-items: start;
}
.numlist .row:last-child { border-bottom: 1px solid var(--line-soft); }
.numlist .n { font-family: var(--font-mono); color: var(--accent); font-size: 13px; padding-top: 4px; }
.numlist h4 { font-size: 19px; font-weight: 600; margin-bottom: 5px; }
.numlist p { font-size: 15px; color: var(--muted); font-weight: 300; }

/* ---------- palette swatches ---------- */
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 760px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
.sw { border: 1px solid var(--line); }
.sw .chip { aspect-ratio: 3 / 2; }
.sw .meta { padding: 10px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.sw .meta .nm { color: var(--ink); display: block; }
.sw .meta .hx { color: var(--muted); }

/* ============================================================
   CRONOGRAMA
   ============================================================ */
.timeline { position: relative; margin-top: 12px; }
.timeline .step {
  display: grid; grid-template-columns: 130px 1fr; gap: 26px;
  padding: 26px 0; border-top: 1px solid var(--line-soft); position: relative;
}
.timeline .step:last-child { border-bottom: 1px solid var(--line-soft); }
.timeline .ph-date { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.timeline .ph-body h4 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.timeline .ph-body p { font-size: 15px; color: var(--muted); font-weight: 300; }
@media (max-width: 600px) { .timeline .step { grid-template-columns: 1fr; gap: 8px; } }

/* ============================================================
   PACK SHOT — full-width image
   ============================================================ */
.pack-img {
  margin-top: 36px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  aspect-ratio: 2666 / 1100;
}
.pack-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pack-foot {
  margin-top: 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); padding-block: clamp(60px, 9vw, 120px); }
.foot-cta { font-size: clamp(28px, 5vw, 64px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; max-width: 800px; }
.foot-cta .accent { color: var(--accent); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.foot-brand img { height: 34px; width: auto; display: block; }
.foot-info { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-align: right; line-height: 1.9; }
.foot-info a:hover { color: var(--accent); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: 0.08s; }
  .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; }
}

/* ============================================================
   DEPOIMENTOS — grid 3×2
   ============================================================ */
.dep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .dep-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .dep-grid { grid-template-columns: 1fr; } }

.dep-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.dep-card:hover { border-color: rgba(220,255,60,0.35); }
.dep-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #000;
}
.dep-card .dep-n {
  position: absolute;
  top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--accent); color: #0a0a0b;
  padding: 4px 9px;
  pointer-events: none;
}

/* ============================================================
   DUALIDADE — DOIS MUNDOS (interno / externo)
   ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }
.world { border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.world-title {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.world-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.world.interno .world-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.world.externo .world-dot { background: #e9c97a; box-shadow: 0 0 10px rgba(233,201,122,0.7); }
.world .frame { position: relative; }
.world-img { position: relative; overflow: hidden; background: #000; line-height: 0; }
.world-img img { display: block; width: 100%; height: auto; }
.world .frame .lbl {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 6px 11px; color: #0a0a0b;
}
.world.interno .frame .lbl { background: var(--accent); }
.world.externo .frame .lbl { background: #e9c97a; }
.world .ph.ratio-169 { border: 0; }
.world .desc { padding: 22px 24px 26px; }
.world .desc h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.world .desc p { font-size: 15.5px; color: var(--muted); font-weight: 300; line-height: 1.6; }
.world .desc .specs { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.world .desc .specs span {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); padding: 4px 9px;
}

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pull {
  margin: 8px 0; max-width: 1000px;
  font-size: clamp(26px, 4.4vw, 52px); font-weight: 400; line-height: 1.18;
  letter-spacing: -0.015em; color: var(--ink);
}
.pull .accent { color: var(--accent); }
.pull-mark { font-family: var(--font-mono); color: var(--accent); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 22px; }

/* full-bleed video band */
.video-full { position: relative; }
.video-full .video-wrap { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .video-full .video-wrap { aspect-ratio: 16 / 10; } }

/* ---------- moodboard image ---------- */
.moodboard { margin-top: 36px; border: 1px solid var(--line); background: var(--card); position: relative; border-radius: 16px; overflow: hidden; }
.mb-crop { width: 100%; aspect-ratio: 1920 / 1020; overflow: hidden; display: block; }
.mb-crop img { width: 100%; height: auto; display: block; }
.moodboard figcaption {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.moodboard figcaption .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }

/* note banner for placeholders */
.draft-note {
  display: flex; align-items: flex-start; gap: 14px;
  border: 1px dashed rgba(220,255,60,0.4);
  background: var(--accent-dd);
  padding: 16px 18px; margin-top: 40px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: var(--ink-2);
  letter-spacing: 0.02em;
}
.draft-note b { color: var(--accent); font-weight: 700; }
