:root {
  --roxo-900: #16001f;
  --roxo-800: #240035;
  --roxo-700: #4b0078;
  --roxo: #7b16d4;
  --roxo-claro: #b437ff;
  --laranja: #ff7900;
  --laranja-2: #ff9d00;
  --texto: #f8f4ff;
  --muted: #cfc4da;
  --branco: #ffffff;
  --cinza: #f6f3fb;
  --escuro: #0d0614;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--escuro);
  color: var(--texto);
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(13, 6, 20, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand img {
  height: 46px;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.menu a {
  color: #eee4ff;
  opacity: 0.9;
  transition: 0.25s ease;
}

.menu a:hover {
  color: var(--laranja-2);
}

.btn-menu {
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--laranja), var(--laranja-2));
  color: #1a071f !important;
  opacity: 1 !important;
}

.page {
  min-height: 100vh;
  padding: 110px 5vw 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 28%, rgba(123, 22, 212, 0.42), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(255, 121, 0, 0.25), transparent 28%),
    linear-gradient(135deg, #100017 0%, #210033 55%, #0c0612 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: center;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 121, 0, 0.45);
  border-radius: 999px;
  background: rgba(255, 121, 0, 0.10);
  color: var(--laranja-2);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
}

.hero-actions,
.contact-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--laranja), var(--laranja-2));
  color: #16001f;
  box-shadow: 0 18px 45px rgba(255, 121, 0, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
}

.hero-card,
.image-panel,
.tech-box,
.contact-card {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 34px;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-dark {
  background:
    radial-gradient(circle at 8% 20%, rgba(123, 22, 212, 0.35), transparent 30%),
    linear-gradient(140deg, #0d0614, #220033);
}

.section-light {
  background: linear-gradient(135deg, #ffffff, #f5ecff);
  color: #1d1028;
}

.section-light p {
  color: #5d536a;
}

.voltar {
  width: fit-content;
  margin-bottom: 32px;
  color: var(--laranja-2);
  font-weight: 800;
}

.voltar-light {
  color: var(--roxo-700);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.section-grid.invert {
  grid-template-columns: 0.9fr 1.1fr;
}

.image-panel {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

.image-panel.white {
  background: #fff;
}

.image-panel img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
}

.highlights {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.highlights div {
  padding: 20px;
  border-radius: 22px;
  background: rgba(123, 22, 212, 0.10);
  border: 1px solid rgba(123, 22, 212, 0.15);
}

.highlights strong,
.highlights span {
  display: block;
}

.highlights strong {
  color: var(--roxo-700);
  margin-bottom: 5px;
}

.highlights span {
  color: #6a6074;
  font-size: 14px;
}

.section-title {
  text-align: center;
  margin-bottom: 34px;
}

.section-title p {
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 230px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  border: 1px solid rgba(255,255,255,0.12);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 121, 0, 0.55);
}

.card span {
  font-size: 34px;
  display: inline-block;
  margin-bottom: 18px;
}

.card p {
  font-size: 16px;
}

.tech-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  list-style: none;
}

.tech-list li {
  padding: 15px 18px;
  border-left: 5px solid var(--laranja);
  border-radius: 14px;
  background: rgba(123, 22, 212, 0.08);
  font-weight: 700;
  color: #31253d;
}

.tech-box {
  min-height: 360px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(255, 121, 0, 0.25), transparent 34%),
    linear-gradient(145deg, #230035, #100017);
  color: #fff;
}

.tech-box p {
  color: #ddd0ea;
}

.contact {
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 121, 0, 0.24), transparent 32%),
    linear-gradient(135deg, #100017, #250039);
  align-items: center;
  text-align: center;
}

.contact .voltar {
  align-self: flex-start;
}

.contact-card {
  width: min(820px, 100%);
  padding: 52px;
}

.contact-card img {
  max-width: 320px;
  margin-bottom: 28px;
}

.contact-card p {
  margin: 0 auto;
}

.contact-actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .topbar {
    height: auto;
    padding: 16px 5vw;
    flex-direction: column;
    gap: 14px;
  }

  .menu {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page {
    padding-top: 145px;
  }

  .hero-content,
  .section-grid,
  .section-grid.invert {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .menu {
    font-size: 12px;
  }

  .brand img {
    height: 38px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 260px;
    padding: 24px;
  }

  .contact-card {
    padding: 32px 22px;
  }
}
