
:root {
  --bg: #08090d;
  --surface: #12141d;
  --text: #f5f5fa;
  --muted: #999baa;
  --purple: #895cff;
  --blue: #439cff;
  --border: rgba(255,255,255,.09);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
}

a { text-decoration: none; color: inherit; }

.container {
  width: min(1100px, 90%);
  margin: auto;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(8,9,13,.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
}

nav {
  height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -2px;
}

.logo span, h2 span { color: var(--purple); }

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.links a:hover { color: white; }

.nav-button {
  padding: 12px 18px;
  background: var(--purple);
  border-radius: 7px;
  color: white;
}

.hero {
  min-height: 750px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 80% 35%, rgba(137,92,255,.19), transparent 45%),
    var(--bg);
  padding: 130px 0 90px;
}

.tag {
  display: inline-block;
  color: #b69aff;
  background: rgba(137,92,255,.1);
  border: 1px solid rgba(137,92,255,.3);
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 28px;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: -4px;
}

.hero h1 span, .about h2 span, .contact h2 span {
  background: linear-gradient(100deg, #ad8bff, #50a9ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero p, .subtitle {
  color: var(--muted);
  line-height: 1.8;
  max-width: 590px;
  margin-top: 24px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 35px;
}

.button {
  display: inline-block;
  padding: 15px 23px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  transition: .3s;
}

.button:hover { transform: translateY(-3px); }

.primary {
  background: linear-gradient(100deg, var(--purple), #477fff);
  color: white;
}

.secondary {
  border: 1px solid var(--border);
  color: white;
}

section { padding: 100px 0; }

.projects {
  display: grid;
}

#projetos { background: #0c0e14; }

.section-tag {
  color: #ac91ff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -2px;
  margin-top: 15px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 45px;
}

.project {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  transition: .3s;
}

.project:hover {
  transform: translateY(-7px);
  border-color: var(--purple);
}

.project-image {
  height: 260px;
  display: grid;
  place-items: center;
  padding: 25px;
}

.image-one {
  background: linear-gradient(135deg, #283c32, #839c76);
}

.image-two {
  background: linear-gradient(135deg, #29203f, #7253a5);
}

.preview {
  background: #f8f6f0;
  color: #333;
  width: 100%;
  max-width: 380px;
  min-height: 185px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px;
  box-shadow: 0 20px 40px #0005;
}

.preview small {
  letter-spacing: 3px;
  font-size: 9px;
}

.preview h3 {
  font-family: Georgia, serif;
  font-size: 29px;
  margin: 15px 0;
}

.preview p {
  font-size: 12px;
  color: #777;
}

.project-content { padding: 25px; }

.project-content span {
  color: #ac91ff;
  font-size: 11px;
  letter-spacing: 2px;
}

.project-content h3 {
  margin: 12px 0;
  font-size: 22px;
}

.project-content p, .service p, .about p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.project-content a {
  color: #b49aff;
  font-size: 13px;
  font-weight: bold;
}

.services-section { background: var(--bg); }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 30px;
  transition: .3s;
}

.service:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
}

.service-icon {
  color: #b69aff;
  background: #895cff22;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service h3 { margin-bottom: 14px; }

.about { background: #0c0e14; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.about-visual {
  height: 340px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #895cff44, #171925 70%);
  border: 1px solid var(--border);
}

.about-visual span {
  font-size: 140px;
  font-weight: 900;
  color: #ffffff17;
}

.about p { margin-top: 20px; }

.about .button { margin-top: 10px; }

.contact {
  text-align: center;
  padding: 70px 30px;
  border: 1px solid #895cff55;
  border-radius: 20px;
  background: radial-gradient(ellipse at bottom, #895cff25, transparent 70%), var(--surface);
}

.contact h2 {
  max-width: 650px;
  margin: 20px auto;
}

.contact p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 30px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: .7s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media(max-width: 760px) {
  .links { display: none; }
  .projects, .services, .about-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { letter-spacing: -2px; }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  section { padding: 75px 0; }
}
