/* ============================================================
   URBAN CINE — landing page
   Direção editorial: tipografia grande e protagonista, fundo
   quase preto, formas orgânicas sobrepostas e um único acento —
   o laranja de sinalização da marca, em variações tonais.
   Tipografia: Space Grotesk (display) + DM Mono (dado/rótulo).
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Tokens ---------- */
:root {
  --grafite: #060605;        /* base */
  --grafite-claro: #121110;  /* superfície */
  --grafite-mais-claro: #1c1a17;
  --papel: #F4F1EA;          /* texto principal */
  --areia: #9A9184;          /* secundário */
  --laranja: #FF4A1C;        /* ação — cor de marca */
  --laranja-clara: #FFB443;  /* extremo claro do gradiente */
  --laranja-funda: #C81E3A;  /* extremo escuro do gradiente */
  --grafite-texto: #17140f;

  --grad-laranja: linear-gradient(100deg, var(--laranja-clara) 0%, var(--laranja) 48%, var(--laranja-funda) 100%);

  --hairline: rgba(244, 241, 234, 0.12);
  --hairline-forte: rgba(244, 241, 234, 0.26);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --tracking-display: -0.055em;
  --tracking-title: -0.028em;
  --tracking-body: 0em;
  --tracking-label: 0.3em;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
html { background: var(--grafite); color-scheme: dark; }
body {
  background: var(--grafite);
  color: var(--papel);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--laranja);
  color: var(--grafite-texto);
  padding: 12px 20px;
  z-index: 999;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-size: 11px;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

/* ---------- Typographic scale ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--papel); }

.display {
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.title {
  font-weight: 500;
  letter-spacing: var(--tracking-title);
  line-height: 1.15;
  text-wrap: balance;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-size: 11px;
  color: var(--areia);
}

.grad-text {
  background: var(--grad-laranja);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.section-kicker .num { color: var(--laranja); }
.section-kicker .rule { flex: 0 0 40px; height: 1px; background: var(--hairline-forte); }

/* ---------- Buttons ---------- */
.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--papel);
  transition: color 0.2s var(--ease);
}
.pill-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--laranja); flex: none; }
.pill-cta:hover, .pill-cta:focus-visible { color: var(--laranja); }

.btn-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  border: 1px solid var(--hairline-forte);
  background: transparent;
  color: var(--papel);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-box .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--laranja); flex: none; }
.btn-box:hover, .btn-box:focus-visible { border-color: var(--laranja); color: var(--laranja); }
.btn-box:focus-visible { outline: 2px solid var(--papel); outline-offset: 2px; }

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  background: var(--laranja);
  border: 1px solid var(--laranja);
  color: var(--grafite-texto);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-solid:hover, .btn-solid:focus-visible { background: transparent; color: var(--laranja); }

/* ---------- Symbol (quadro + play) ---------- */
.symbol {
  --size: 36px;
  width: var(--size);
  height: var(--size);
  background: var(--laranja);
  position: relative;
  flex: none;
}
.symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--grafite);
  transform: translate(-42%, -50%);
}
.symbol.symbol-sm { --size: 26px; }
.symbol.symbol-sm::after { border-width: 6px 0 6px 9px; }

.lockup { display: flex; align-items: center; gap: 12px; }
.lockup .wordmark {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  line-height: 1;
}
.lockup .wordmark .cine { color: var(--laranja); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 6, 5, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
}
.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
}
.header-row .lockup { justify-self: center; }
.header-row .pill-cta { justify-self: end; }
.header-row .pill-cta span:last-child { display: none; }
@media (min-width: 640px) {
  .header-row .pill-cta span:last-child { display: inline; }
}

.nav-toggle {
  justify-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 100%; height: 1px; background: var(--papel); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--grafite);
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 90;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-overlay-links { display: flex; flex-direction: column; }
.nav-overlay a.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 8vw, 64px);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.nav-overlay a.nav-link:hover, .nav-overlay a.nav-link:focus-visible { color: var(--laranja); padding-left: 12px; }
.nav-overlay-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* ---------- Blobs (formas orgânicas de fundo) ---------- */
.blob {
  position: absolute;
  pointer-events: none;
  border-radius: 62% 38% 55% 45% / 45% 40% 60% 55%;
}
.blob-ridged {
  background:
    repeating-linear-gradient(122deg, rgba(244,241,234,0.05) 0 1px, transparent 1px 30px),
    radial-gradient(closest-side, var(--grafite-mais-claro), var(--grafite) 72%);
  animation: blobshift 26s ease-in-out infinite alternate;
}
@keyframes blobshift {
  from { border-radius: 62% 38% 55% 45% / 45% 40% 60% 55%; transform: rotate(0deg) scale(1); }
  to   { border-radius: 42% 58% 46% 54% / 55% 42% 58% 45%; transform: rotate(5deg) scale(1.03); }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 150px;
  padding-bottom: 48px;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 58%; /* mantém o skyline e a ponte enquadrados em recortes mais estreitos (mobile) */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* uma única camada — duas sobrepostas somam opacidade e escondem a foto */
  background: linear-gradient(100deg, rgba(6,6,5,0.72) 0%, rgba(6,6,5,0.5) 30%, rgba(6,6,5,0.22) 58%, rgba(6,6,5,0.05) 85%);
}
@media (max-width: 700px) {
  /* No mobile o título ocupa quase a largura toda: escurece de forma mais
     uniforme (topo/rodapé um pouco mais escuros), mas sem tampar a foto. */
  .hero-overlay {
    background: linear-gradient(180deg, rgba(6,6,5,0.42) 0%, rgba(6,6,5,0.22) 30%, rgba(6,6,5,0.28) 65%, rgba(6,6,5,0.5) 100%);
  }
}
.hero-tag {
  position: absolute;
  top: 108px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag .dot { width: 6px; height: 6px; background: var(--laranja); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-inner { width: 100%; }

.hero-title { font-size: clamp(44px, 9vw, 130px); }
.hero-title .line { display: block; }

.hero-stat { display: flex; flex-direction: column; gap: 6px; }
.hero-stat-num { font-family: var(--font-mono); font-size: clamp(32px, 5vw, 48px); font-weight: 500; letter-spacing: -0.02em; }
.hero-stat-label { max-width: 20ch; }

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 16px 0;
  background: var(--grafite-claro);
}
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--areia);
  padding-inline: 24px;
  white-space: nowrap;
}
.ticker-track span em { color: var(--laranja); font-style: normal; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Generic section spacing ---------- */
.section { padding-block: clamp(64px, 10vw, 128px); }
.section-alt { background: var(--grafite-claro); }

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 860px) {
  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
}
.section-head h2 { font-size: clamp(30px, 4vw, 50px); }
.section-head p { color: var(--areia); max-width: 46ch; }

/* ---------- Sobre / manifesto ---------- */
.about-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }

.about-wordmark { font-size: clamp(48px, 7vw, 96px); margin-bottom: 40px; }
.about-wordmark .line { display: block; }

.about-text p { margin-top: 20px; color: var(--areia); max-width: 58ch; }
.about-text p:first-of-type { margin-top: 28px; }

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.about-graphic {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 320px;
}
.about-graphic .disc { position: absolute; border-radius: 50%; }
.disc-1 {
  width: 82%; height: 52%; top: 6%; left: 9%;
  background: conic-gradient(from 210deg, var(--grafite-mais-claro), var(--laranja) 35%, var(--grafite) 78%);
  transform: rotate(-10deg);
  opacity: 0.95;
}
.disc-2 {
  width: 64%; height: 40%; top: 26%; left: 20%;
  background: conic-gradient(from 150deg, var(--grafite), var(--laranja-funda) 25%, var(--grafite-mais-claro) 70%);
  transform: rotate(8deg);
  opacity: 0.92;
}
.disc-3 {
  width: 44%; height: 27%; top: 42%; left: 30%;
  background: radial-gradient(circle at 35% 32%, var(--laranja-clara), var(--laranja) 45%, var(--grafite) 85%);
  transform: rotate(-6deg);
}
.about-graphic::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 60% 55%, rgba(255,74,28,0.35), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.about-graphic .corner-label {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ---------- Soluções ---------- */
.solucoes { background: var(--grafite-claro); }

/* ---------- Services / Soluções (cartões com glifo) ---------- */
.services-grid {
  display: grid;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--grafite);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background 0.3s var(--ease);
  position: relative;
}
.service-card:hover { background: var(--grafite-claro); }
.service-card .num { color: var(--areia); }
.service-card .glyph {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 76px;
  line-height: 1;
  margin: 18px 0 24px;
}
.service-card h3 { font-size: 19px; font-weight: 500; letter-spacing: var(--tracking-title); margin-top: auto; margin-bottom: 8px; }
.service-card p { color: var(--areia); font-size: 13.5px; margin-bottom: 20px; }

.note { margin-top: 24px; color: var(--areia); font-size: 13px; max-width: 60ch; }

/* ---------- CTA / Contact ---------- */
.cta { background: var(--grafite); overflow: hidden; }
.cta-blob { width: 900px; height: 900px; right: -20%; bottom: -40%; z-index: -1; opacity: 0.7; }
.cta-title { font-size: clamp(38px, 6.4vw, 92px); }
.cta-title .line { display: block; }
.cta-text { margin-top: 24px; max-width: 46ch; color: var(--areia); }

.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; font-style: normal; }
.contact-list a { font-family: var(--font-mono); font-size: 15px; border-bottom: 1px solid var(--hairline-forte); padding-bottom: 6px; display: inline-flex; width: fit-content; color: var(--papel); }
.contact-list a:hover { border-color: var(--laranja); color: var(--laranja); }

.cta-grid { display: grid; gap: 48px; margin-top: 56px; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1fr 1fr; } }

.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--areia); }
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-forte);
  padding: 10px 0;
  color: var(--papel);
  font-size: 15px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244,241,234,0.35); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--laranja); }
.field textarea { resize: vertical; min-height: 96px; }

.form-note { font-size: 12px; color: var(--areia); }
.form-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; min-height: 1em; color: var(--laranja); }

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 40px; border-top: 1px solid var(--hairline); }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--hairline); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { margin-top: 18px; color: var(--areia); max-width: 40ch; font-size: 14px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--areia); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--papel); }
.footer-col a:hover { color: var(--laranja); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; }
.footer-bottom .mono { color: var(--areia); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
