/* ============================================
   3&7 FILMES: Stylesheet
   Editorial / monocromático
   ============================================ */

:root {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --bg-card: #111111;
  --border: #262626;
  --text: #f7f7f5;
  --text-muted: #8a8a8a;
  --text-faint: #555;
  --accent: #ffffff;
  --whatsapp: #25d366;
  --radius: 2px;
  --container: 1320px;
  --nav-h: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sauce Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger-heading span {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
}

.stagger-heading.in-view span:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger-heading.in-view span:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .18s; }
.stagger-heading.in-view span:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .36s; }

.serif-italic {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: 'Open Sauce Sans', 'Inter Tight', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-transform: uppercase;
}

h2 { font-size: clamp(30px, 4.6vw, 52px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }

p.lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 620px;
  font-weight: 400;
}

.section {
  padding: 130px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--text);
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
  color: var(--text);
}

.btn:hover { background: var(--text); color: #000; }

.btn-solid {
  background: var(--text);
  color: #000;
}

.btn-solid:hover {
  background: transparent;
  color: var(--text);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid var(--text);
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}

.arrow-link:hover { opacity: 0.6; }

/* ---------- NAV (barra utilitária) ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0));
}

.nav.solid { background: #000; border-bottom: 1px solid var(--border); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-mark {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.menu-logo {
  position: absolute;
  top: 20px;
  left: 32px;
  height: 46px;
  width: auto;
}

.nav-clock {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- MENU OVERLAY (fullscreen) ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
}

.menu-overlay.open { transform: translateY(0); }

.menu-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-links {
  list-style: none;
}

.menu-links li {
  border-top: 1px solid var(--border);
}
.menu-links li:last-child { border-bottom: 1px solid var(--border); }

.menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  transition: opacity 0.2s ease;
}

.menu-links a:hover { opacity: 0.5; }
.menu-links a span { font-size: 13px; color: var(--text-muted); text-transform: none; letter-spacing: 0; }

.menu-social {
  display: flex;
  gap: 28px;
  margin-top: 40px;
}

.menu-social a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.menu-social a:hover { color: #fff; }

/* ---------- HERO COVER ---------- */

.hero-cover {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border);
}

.hero-cover .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-cover .hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.9) 100%);
}

.hero-cover .hero-media .placeholder,
.hero-cover .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- REEL MODAL ---------- */

.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.reel-modal.open { display: flex; }

.reel-modal video {
  width: 100%;
  max-width: 1100px;
  max-height: 82vh;
  background: #000;
}

.reel-modal-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-topline {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-headline h1 {
  font-size: clamp(34px, 6vw, 64px);
  max-width: 640px;
  margin-bottom: 28px;
  text-transform: none;
  font-weight: 800;
}

.hero-headline h1 .serif-italic {
  font-size: 1.08em;
  display: inline-block;
}

.hero-meta-side {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.hero-meta-side .tick { opacity: 0.5; }

.hero-bottom-row {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  right: 32px;
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-bottom-row .reel-link {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
  text-transform: none;
  letter-spacing: 0;
}

.giant-wordmark {
  position: absolute;
  z-index: 1;
  left: 0; right: 0;
  bottom: 0;
  transform: translateY(28%);
  font-family: 'Archivo Black', 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: clamp(160px, 24vw, 420px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
  padding-left: 24px;
  pointer-events: none;
  white-space: nowrap;
}

/* ---------- MARQUEE ---------- */

.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 28px 0;
  background: #000;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 34px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
  padding-right: 40px;
  white-space: nowrap;
}

.marquee-track span.dim { color: var(--text-faint); }

.marquee-track span.brand {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 40px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SERVICES (lista editorial numerada) ---------- */

.services-list {
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.4fr 160px;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
}

.services-list.in-view .service-row {
  opacity: 1;
  transform: translateY(0);
}

.services-list.in-view .service-row:nth-child(1) { transition-delay: 0s; }
.services-list.in-view .service-row:nth-child(2) { transition-delay: .18s; }
.services-list.in-view .service-row:nth-child(3) { transition-delay: .36s; }

.services-list.in-view .service-row:hover { opacity: 0.75; }

.service-row .num {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
}

.service-row h3 { text-transform: uppercase; }

.service-row p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 480px;
}

.service-row .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: right;
}

/* ---------- ABOUT ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-media {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-text p.lead { margin-bottom: 40px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
  color: var(--text);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ---------- CLIENTS ---------- */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: transparent;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.client-logo {
  background: #000;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: inset -1px -1px 0 var(--border);
  letter-spacing: 0.08em;
  padding: 28px;
  text-align: center;
  transition: opacity 0.2s ease;
}

.client-logo img {
  max-width: 80%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.client-logo:hover img { opacity: 1; }

/* ---------- CASES / PORTFOLIO ---------- */

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--text); border-color: var(--text); color: #000; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card { cursor: pointer; }

.case-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.case-thumb .placeholder { transition: transform 0.4s ease; }
.case-card:hover .case-thumb .placeholder { transform: scale(1.05); }

.case-thumb .play-mini {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
}

.case-cat {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.case-card h3 { font-size: 18px; margin-bottom: 6px; text-transform: uppercase; }
.case-card p { color: var(--text-muted); font-size: 14px; }

.hidden { display: none !important; }

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, #141414, #141414 12px, #0d0d0d 12px, #0d0d0d 24px);
  color: var(--text-faint);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 20px;
}

/* ---------- SCROLL REVEAL (efeito cinematográfico) ---------- */

.scroll-reveal {
  position: relative;
  height: 200vh;
  background: #000;
}

.scroll-reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-reveal-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  max-height: 78vh;
  overflow: hidden;
  will-change: transform;
  transform: scale(1);
  cursor: pointer;
}

.scroll-reveal-media .placeholder,
.scroll-reveal-media video,
.scroll-reveal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-reveal-caption {
  position: absolute;
  z-index: 2;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.scroll-reveal-caption .eyebrow { margin-bottom: 10px; }

.scroll-reveal-caption h2 {
  font-size: clamp(24px, 4vw, 44px);
  color: #fff;
}

/* ---------- TERRITÓRIOS ---------- */

.territories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.territory-card { position: relative; }

.territory-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 24px;
}

.territory-media .placeholder { width: 100%; height: 100%; }

.territory-num {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Open Sauce Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 6vw, 84px);
  color: #fff;
  line-height: 1;
}

.territory-card h3 { margin-bottom: 8px; }

.territory-card .serif-italic {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.territory-card p { color: var(--text-muted); font-size: 14px; }

/* ---------- CONTACT / CTA ---------- */

.contact-cta { text-align: left; padding: 140px 0; }
.contact-cta h2 { max-width: 900px; }
.contact-cta p.lead { margin: 24px 0 48px; }

.contact-info {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  margin-top: 72px;
}

.contact-block a, .contact-block p {
  font-size: 17px;
  font-weight: 600;
}

/* ---------- FOOTER ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social { display: flex; gap: 20px; }
.footer-social a { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-social a:hover { color: #fff; }

.footer-copy {
  color: var(--text-muted);
  font-size: 12px;
}

/* ---------- WHATSAPP FLOAT ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .hero-topline { flex-direction: column; padding-top: calc(var(--nav-h) + 32px); }
  .hero-meta-side { text-align: left; }
  .giant-wordmark { font-size: clamp(90px, 30vw, 200px); }
  .hero-bottom-row { left: 32px; right: 32px; text-align: left; }

  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .service-row .tag { text-align: left; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .territories-grid { grid-template-columns: 1fr; gap: 48px; }
  .scroll-reveal-media { width: 94%; aspect-ratio: 16/10; }
  .scroll-reveal { height: 160vh; }
  .logo-img { height: 34px; }
  :root { --nav-h: 76px; }
  .cases-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .contact-info { gap: 32px; }
  .menu-links a { font-size: 40px; }
}
