/* ═══════════════════════════════
   RESET + TOKENS
═══════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0A0A0A;
  --white: #F0EDE6;
  --red: #E8320A;
  --lime: #C8F135;
  --orange: #FF6B1A;
  --gray: #1A1A1A;
  --gray2: #2A2A2A;
  --muted: #666;
  --font-h: 'Barlow Condensed', sans-serif;
  --font-b: 'Barlow', sans-serif;
  --font-m: 'DM Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  overflow-x: hidden;
  cursor: none;
}

/* ═══════════════════════════════
   CURSOR
═══════════════════════════════ */
.cur {
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: difference;
}
.cur.big {
  width: 60px;
  height: 60px;
}

/* ═══════════════════════════════
   NAV
═══════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.3s ease, padding 0.3s ease;
}

nav.scrolled {
  background: var(--black);
  padding: 12px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  position: relative;
  animation: glitch-anim 5s infinite;
}

.logo em {
  color: var(--red);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(243, 241, 235, 0.678);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}

.nav-links a:not(.nav-btn-special):not(.nav-btn-outline)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a.active-link:not(.nav-btn-special):not(.nav-btn-outline)::after {
  width: 100%;
}

.nav-links a.active-link:not(.nav-btn-special):not(.nav-btn-outline) {
  color: var(--lime);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.nav-btn-special {
  background: var(--lime);
  color: var(--black);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 800;
}

.nav-links a.nav-btn-special:hover {
  background: var(--white);
  transform: scale(1.05);
}

.nav-links a.nav-btn-outline {
  background: rgba(10, 10, 10, 0.15);
  backdrop-filter: blur(4px);
  border: 1.5px solid var(--lime);
  color: var(--lime);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-links a.nav-btn-outline:hover {
  background: var(--lime);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200, 241, 53, 0.4);
}

/* ═══════════════════════════════
   EFEITO GLITCH DO LOGO
═══════════════════════════════ */
@keyframes glitch-anim {
  0%, 92%, 98%, 100% {
    transform: translate(0);
    text-shadow: none;
  }
  94% {
    transform: translate(2px, 1px);
    text-shadow: -2px 0 var(--red), 2px 0 var(--lime);
  }
  96% {
    transform: translate(-2px, -1px);
    text-shadow: 2px 0 var(--red), -2px 0 var(--lime);
  }
}

/* ═══════════════════════════════
   SECTION WRAPPER (Padrão para todas as páginas)
═══════════════════════════════ */
.section {
  padding: 80px 48px;
}
.section-label {
  font-family: var(--font-m);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '//';
  opacity: .4;
}
.section-h2 {
  font-family: var(--font-h);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.section-h2 em {
  font-style: normal;
  color: var(--red);
}
.section-h2 .lime {
  color: var(--lime);
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  background: #050505;
  border-top: 1px solid var(--gray2);
  padding: 60px 48px 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand h2 {
  font-family: var(--font-h);
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.footer-brand h2 em {
  color: var(--red);
  font-style: normal;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(240, 237, 230, .4);
  max-width: 280px;
  line-height: 1.6;
}
.footer-links h4 {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, .3);
  margin-bottom: 14px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(240, 237, 230, .6);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid var(--gray2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--font-m);
  font-size: 11px;
  color: rgba(240, 237, 230, .2);
}

/* ═══════════════════════════════
   RESPONSIVE GLOBAL (Menu e Footer)
═══════════════════════════════ */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  z-index: 101;
  cursor: pointer;
}

@media (max-width: 900px) {
  nav, footer, .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    padding-top: 100px;
    align-items: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 18px;
  }
}

/* Fundo preto quando o menu mobile está aberto */
nav.menu-open {
  background: var(--black) !important;
}