/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080808;
  --fg: #f0ede8;
  --accent: #c8ff00;
  --muted: #555;
  --border: rgba(255,255,255,0.08);
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html {
  scroll-behavior: smooth;
  cursor: none;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===========================
   NOISE OVERLAY
=========================== */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: noise-anim 0.5s steps(2) infinite;
}

@keyframes noise-anim {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2px, 2px); }
  50%  { transform: translate(2px, -2px); }
  75%  { transform: translate(-1px, -1px); }
  100% { transform: translate(1px, 1px); }
}

/* ===========================
   CUSTOM CURSOR
=========================== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 255, 0, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor.hover {
  width: 16px;
  height: 16px;
}

.cursor-follower.hover {
  width: 60px;
  height: 60px;
  opacity: 0.5;
}

/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { width: 100%; }

.btn-outline {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fade-up 0.8s ease 0.2s forwards;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span,
.hero-title .line {
  opacity: 0;
  transform: translateY(60px);
  animation: slide-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.4s; }
.hero-title .line:nth-child(2) { animation-delay: 0.55s; }
.hero-title .line:nth-child(3) { animation-delay: 0.7s; }

.hero-title .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 400px;
  opacity: 0;
  animation: fade-up 0.8s ease 0.9s forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: fade-up 0.8s ease 1.1s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: var(--accent); }
.btn-primary span, .btn-primary .arrow { position: relative; z-index: 1; }

.btn-ghost {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.btn-ghost:hover { color: var(--fg); }

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 500px;
  opacity: 0;
  animation: fade-in 1.2s ease 0.6s forwards;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.15), transparent 70%);
  top: 50px;
  right: 50px;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(100, 100, 255, 0.1), transparent 70%);
  bottom: 80px;
  left: 80px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.counter-block {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  gap: 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 24px 32px;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.counter-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.counter-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.counter-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===========================
   MARQUEE
=========================== */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: rgba(255,255,255,0.01);
}

.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.marquee-track .sep { color: var(--accent); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================
   SKILLS
=========================== */
.skills {
  padding: 120px 48px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 0;
}

.skill-category {
  border: 1px solid var(--border);
  padding: 40px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.skill-category:hover {
  background: rgba(200, 255, 0, 0.02);
  border-color: rgba(200, 255, 0, 0.15);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.skill-cat-icon {
  font-size: 16px;
  color: var(--accent);
  line-height: 1;
}

.skill-cat-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--fg);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: none;
}

.skill-tag:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ===========================
   WORK (mantido para compatibilidade)
=========================== */
.work {
  padding: 120px 48px;
}

.section-header {
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.project-card.large {
  grid-column: span 2;
}

.project-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.project-card.large .project-img {
  aspect-ratio: 21/9;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.p1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.p2 { background: linear-gradient(135deg, #0d0d0d 0%, #1a0a00 50%, #2d1200 100%); }
.p3 { background: linear-gradient(135deg, #0a0a0a 0%, #001a0a 50%, #003d1a 100%); }
.p4 { background: linear-gradient(135deg, #1a001a 0%, #2d0030 50%, #1a0030 100%); }

.project-card:hover .project-placeholder {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.project-card:hover .project-link { transform: translateY(0); }

.project-info {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.project-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.project-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.project-type {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ===========================
   SERVICES
=========================== */
.services {
  padding: 120px 48px;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
  cursor: none;
}

.service-item:first-child { border-top: 1px solid var(--border); }

.service-item:hover { background: rgba(200, 255, 0, 0.02); }

.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.service-body h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.service-item:hover .service-body h3 { color: var(--accent); }

.service-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.service-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ===========================
   PROCESS
=========================== */
.process {
  padding: 120px 48px;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
}

.process-step {
  flex: 1;
  padding: 40px;
  border: 1px solid var(--border);
  border-right: none;
  transition: background 0.3s ease, border-color 0.3s ease;
  cursor: none;
}

.process-step:last-child { border-right: 1px solid var(--border); }

.process-step:hover {
  background: rgba(200, 255, 0, 0.03);
  border-color: rgba(200, 255, 0, 0.2);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.process-arrow {
  display: flex;
  align-items: center;
  padding: 40px 0;
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
  opacity: 0.4;
}

/* ===========================
   CONTACT
=========================== */
.contact {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-inner.contact-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  gap: 0;
}

.contact-inner.contact-centered .section-tag {
  margin-bottom: 16px;
}

.contact-inner.contact-centered .contact-title {
  margin-bottom: 20px;
}

.contact-inner.contact-centered .contact-sub {
  margin-bottom: 48px;
}

.contact-inner.contact-centered .contact-links {
  width: 100%;
}

.contact-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
}

.contact-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 380px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: none;
}

.contact-link-item:hover {
  border-color: var(--accent);
  background: rgba(200, 255, 0, 0.04);
}

.contact-link-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.contact-link-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-link-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg);
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.contact-link-item:hover .contact-link-value {
  color: var(--accent);
}

/* FORM — removido */

/* ===========================
   FOOTER
=========================== */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-logo span { color: var(--accent); }

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--fg); }

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 120px 32px 80px; }
  .hero-visual { display: none; }
  .services-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .process-steps { flex-direction: column; }
  .process-step { border-right: 1px solid var(--border); border-bottom: none; }
  .process-step:last-child { border-bottom: 1px solid var(--border); }
  .process-arrow { transform: rotate(90deg); padding: 0 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .skills { padding: 80px 24px; }
  .skills-grid { grid-template-columns: 1fr; }
  .work { padding: 80px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; }
  .services { padding: 80px 24px; }
  .process { padding: 80px 24px; }
  .contact { padding: 80px 24px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .service-item { grid-template-columns: 40px 1fr; }
  .service-tags { display: none; }
}
