/* Cores e fontes do site original (Base44) */
:root {
  --background: hsl(21 18% 11%);
  --foreground: hsl(21 32% 91%);
  --primary: hsl(21 31% 67%);
  --primary-70: hsl(21 31% 67% / .7);
  --primary-60: hsl(21 31% 67% / .6);
  --primary-fg: hsl(21 18% 11%);
  --muted-fg: hsl(21 18% 66%);
  --muted-fg-70: hsl(21 18% 66% / .7);
  --accent: hsl(22 21% 57%);
  --accent-50: hsl(22 21% 57% / .5);
  --accent-10: hsl(22 21% 57% / .1);
  --border: hsl(21 12% 26%);
  --border-60: hsl(21 12% 26% / .6);
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; cursor: pointer; padding: 0; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--primary-60); }

/* Linhas de "scan" por cima de tudo */
.scanlines { position: relative; min-height: 100vh; }
.scanlines::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 3px);
}

.container { max-width: 80rem; margin: 0 auto; }
.center { text-align: center; }

/* ---------- Cabeçalho ---------- */
#topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: all .3s;
}
#topbar.scrolled {
  background: hsl(21 18% 11% / .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--border-60);
}
.nav { position: relative; max-width: 80rem; margin: 0 auto; display: flex; align-items: center; justify-content: center; padding: 1.25rem 1.5rem; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a, .mobile-menu a {
  display: flex; align-items: baseline; gap: .5rem;
  font-family: var(--font-mono); font-size: .75rem; line-height: 1rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted-fg); transition: color .15s;
}
.nav-links a:hover, .mobile-menu a:hover { color: var(--foreground); }
.num { color: var(--primary-70); }
.menu-btn { position: absolute; right: 1.5rem; padding: .5rem; border-radius: .375rem; color: var(--muted-fg); transition: color .15s; }
.menu-btn:hover { color: var(--primary); }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { border-top: 1px solid var(--border-60); background: hsl(21 18% 11% / .95); padding: 1rem 1.5rem; }
.mobile-menu ul { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a { gap: .75rem; padding: .75rem 0; font-size: .875rem; line-height: 1.25rem; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: .5rem; font-weight: 600;
  transition: all .3s;
}
.btn:hover { transform: scale(1.05); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-outline { border: 1px solid var(--accent-50); background: var(--accent-10); color: var(--foreground); }
.btn-lg { padding: .75rem 1.5rem; font-size: 1rem; line-height: 1.5rem; }

/* ---------- Topo ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; padding: 8rem 1.5rem 2.5rem; text-align: center; z-index: 10;
}
.portrait { width: 140px; height: 140px; margin-bottom: 1.5rem; border-radius: 9999px; overflow: hidden; border: 1px solid var(--border); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow {
  margin-bottom: .5rem; font-family: var(--font-mono); font-size: .75rem; line-height: 1rem;
  text-transform: uppercase; letter-spacing: .35em; color: var(--accent);
}
.hero-title { font-family: var(--font-display); font-weight: 800; line-height: 1.25; font-size: clamp(2rem, 5vw, 3rem); }
.btn-hero { margin-top: 1.5rem; padding: .75rem 1.75rem; font-size: .875rem; line-height: 1.25rem; }
.btn-hero .arrow { transition: transform .15s; }
.btn-hero:hover .arrow { transform: translateY(.25rem); }

/* ---------- Vídeos ---------- */
.videos { position: relative; padding: 2.5rem 1.5rem 4rem; }
.section-sub { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.5; }
.long-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .long-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  position: relative; overflow: hidden; border-radius: .75rem;
  border: 1px solid var(--border); background: #000; transition: border-color .3s;
}
figure:hover .card { border-color: var(--primary); }
.ratio { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; }
.ratio.vertical { padding-bottom: 177.78%; }
.ratio > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.play { cursor: pointer; }
.play img { width: 100%; height: 100%; object-fit: cover; }
.play .shade {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); transition: background-color .3s;
}
.play:hover .shade { background: rgba(0,0,0,.25); }
.play .dot {
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: var(--primary); color: var(--primary-fg); transition: transform .3s;
}
.play:hover .dot { transform: scale(1.1); }
.play .dot svg { margin-left: .125rem; }

.short-block { margin-top: 3rem; }
.short-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.25rem; }
.arrows { display: flex; gap: .75rem; }
.round-btn { border-radius: 9999px; border: 1px solid var(--border); padding: .625rem; color: var(--muted-fg); transition: all .15s; display: flex; }
.round-btn:hover { border-color: var(--primary); color: var(--primary); }
.short-row { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.short-row figure { position: relative; width: 260px; flex-shrink: 0; scroll-snap-align: center; }
@media (min-width: 640px) { .short-row figure { width: 300px; } }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* ---------- Sobre ---------- */
.about { position: relative; border-top: 1px solid var(--border-60); padding: 4rem 1.5rem; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.5; }
.about-text { max-width: 48rem; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 1.25rem; }
.about-text p { font-size: 1.125rem; line-height: 1.625; color: var(--muted-fg); }

/* ---------- Contato ---------- */
.contact { position: relative; border-top: 1px solid var(--border-60); padding: 5rem 1.5rem; }
.contact-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.contact-title { margin-top: .75rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.5; }
.contact-lead { max-width: 36rem; margin: 1.5rem auto 0; font-size: 1.5rem; line-height: 1.375; color: var(--muted-fg); }
.contact-buttons { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .contact-buttons { flex-direction: row; justify-content: center; } }

.flash {
  pointer-events: none; position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; opacity: 0;
}
.flash span {
  font-family: var(--font-mono); font-size: .875rem; text-transform: uppercase; letter-spacing: .4em;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(197,163,145,.5), 0 0 40px rgba(197,163,145,.25);
}
.flash.on { animation: glitchFlash .5s steps(2) 1; }
@keyframes glitchFlash {
  0% { opacity: 0; transform: translate(0); }
  25% { opacity: 1; transform: translate(-3px); }
  50% { opacity: 1; transform: translate(3px); }
  75% { opacity: 1; transform: translate(-1px); }
  100% { opacity: 0; transform: translate(0); }
}

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--border-60); background: var(--background); padding: 3rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.footer a { font-family: var(--font-mono); font-size: .75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-fg); transition: color .15s; }
.footer a:hover { color: var(--primary); }
.footer p { font-size: .875rem; line-height: 1.25rem; color: var(--muted-fg-70); }

/* ---------- Entrada suave das seções ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
