:root {
  --bg: #05080f;
  --surface: #090d18;
  --card: #0e1422;
  --border: rgba(82, 130, 255, 0.12);
  --border-hover: rgba(82, 130, 255, 0.35);
  --blue: #5282ff;
  --blue-dim: #3a62d4;
  --blue-glow: rgba(82, 130, 255, 0.20);
  --cyan: #00e5ff;
  --orange: #ff8c42;
  --violet: #b57bee;
  --text: #dde3f0;
  --gray: #6a7590;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Syne', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(82, 130, 255, 0.013) 3px,
      rgba(82, 130, 255, 0.013) 4px);
  pointer-events: none;
  z-index: 9000;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, opacity .25s;
  opacity: 0.40;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
}

.blue {
  color: var(--blue);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
}

.tag::before {
  content: '//';
  opacity: .5;
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 20px;
}

.logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
}

.logo .prompt {
  color: var(--blue);
}

.logo .blink {
  display: inline-block;
  width: 9px;
  height: 1em;
  background: var(--blue);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gray);
  transition: color .25s;
  position: relative;
  white-space: nowrap;
}

.nav-links a:not(.nav-cta)::before {
  content: attr(data-n);
  color: var(--blue);
  font-size: 10px;
  margin-right: 6px;
  opacity: .7;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  border: 1px solid var(--blue);
  padding: 8px 18px;
  border-radius: 3px;
  color: var(--blue);
  font-weight: 600;
  transition: all .2s;
}

.nav-cta:hover {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 24px var(--blue-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue);
  display: block;
  transition: .3s;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 28px 80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 22s linear infinite;
  opacity: .5;
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 60px 60px;
  }
}

.hero::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 130, 255, .08) 0%, transparent 70%);
  top: -180px;
  right: -180px;
  pointer-events: none;
  filter: blur(50px);
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 123, 238, .06) 0%, transparent 70%);
  bottom: 60px;
  left: -100px;
  pointer-events: none;
  filter: blur(50px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
  animation: fadeUp .5s ease both;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blue);
}

.opp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82, 130, 255, .09);
  border: 1px solid rgba(82, 130, 255, .25);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .08em;
  margin-bottom: 32px;
  animation: fadeUp .5s .05s ease both;
}

.opp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(82, 130, 255, .5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(82, 130, 255, 0);
  }
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.03em;
  margin-bottom: 28px;
  animation: fadeUp .5s .1s ease both;
}

#typeText {
  display: block;
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 14px;
  color: var(--gray);
  min-height: 22px;
  animation: fadeUp .5s .2s ease both;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  animation: fadeUp .5s .25s ease both;
}

.stack-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 5px 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
  color: var(--gray);
  background: rgba(82, 130, 255, .04);
  transition: border-color .2s, color .2s;
}

.stack-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.stack-badge.hl {
  border-color: rgba(82, 130, 255, .3);
  color: var(--blue);
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .5s .3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}

.btn-primary {
  background: var(--blue);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(82, 130, 255, .45);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .15);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#sobre {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
}

#sobre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.sobre-inner {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
}

.sobre-card {
  flex: 0 0 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.sobre-card-top {
  background: linear-gradient(135deg, #0b1530, #070d1e);
  padding: 36px 28px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.sobre-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 0 28px rgba(82, 130, 255, .30);
}

.sobre-name {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
}

.sobre-role {
  font-size: 11px;
  color: var(--blue);
  letter-spacing: .1em;
  margin-top: 4px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(82, 130, 255, .08);
  border: 1px solid rgba(82, 130, 255, .22);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--blue);
  margin-top: 12px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s ease infinite;
}

.sobre-card-rows {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.srow {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.srow .label {
  color: var(--gray);
}

.srow .val {
  color: var(--text);
  font-weight: 600;
}

.srow .val.b {
  color: var(--blue);
}

.sdiv {
  height: 1px;
  background: var(--border);
}

.sobre-text-wrap {
  flex: 1 1 360px;
}

.sobre-text-wrap .tag {
  margin-top: 24px;
}

.sobre-text-wrap .section-title {
  margin-bottom: 24px;
}

.sobre-body {
  font-size: 14px;
  line-height: 1.7;
}

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

#servicos {
  padding: 120px 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .tag {
  margin-bottom: 14px;
  justify-content: center;
}

.section-header p {
  font-size: 13px;
  color: var(--gray);
  margin-top: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(82, 130, 255, .08);
}

.card:hover::after {
  transform: scaleX(1);
}

.card-num {
  font-family: var(--sans);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(82, 130, 255, .08);
  line-height: 1;
  margin-bottom: 16px;
  transition: color .3s;
}

.card:hover .card-num {
  color: rgba(82, 130, 255, .2);
}

.card h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ctag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  background: rgba(82, 130, 255, .06);
  border: 1px solid var(--border);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 3px;
}

.card.featured {
  background: linear-gradient(135deg, #0b1530, #070e22);
  border-color: var(--blue-dim);
}

#projetos {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
}

#projetos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

#projetos .card {
  flex: 1 1 300px;
}

.card-preview {
  background: rgba(5, 8, 15, .7);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.9;
}

.cp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.cp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cp-dot-r {
  background: #ff5f57;
}

.cp-dot-y {
  background: #febc2e;
}

.cp-dot-g {
  background: #28c840;
}

.cp-fname {
  font-size: 10px;
  color: var(--gray);
  margin-left: 6px;
  letter-spacing: .04em;
}

.cp-line {
  display: block;
}

.cp-kw {
  color: var(--violet);
}

.cp-fn {
  color: var(--cyan);
}

.cp-str {
  color: var(--orange);
}

.cp-cm {
  color: #344060;
  font-style: italic;
}

.cp-wh {
  color: var(--text);
}

.cp-ann {
  color: #e5a44f;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.card-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 229, 255, .07);
  border: 1px solid rgba(0, 229, 255, .15);
  padding: 3px 10px;
  border-radius: 3px;
}

.card-year {
  font-size: 11px;
  color: var(--gray);
}

.projects .card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  text-transform: uppercase;
  transition: gap .2s;
  margin-top: 16px;
}

.projects .card a:hover {
  gap: 10px;
}

#contato {
  padding: 120px 0;
  background: var(--bg);
}

.contact {
  display: flex;
  gap: 72px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info .tag {
  margin-bottom: 16px;
}

.contact-info .section-title {
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 380px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color .2s, background .2s;
}

.c-item:hover {
  border-color: var(--blue);
  background: rgba(82, 130, 255, .03);
}

.c-icon {
  font-size: 1.1rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.c-info strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 2px;
}

.c-info span {
  font-size: 13px;
  color: var(--text);
}

.contact-form-wrap {
  flex: 1 1 380px;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.form-topbar {
  background: var(--surface);
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
}

.form-topbar .dot {
  color: var(--blue);
  font-size: 9px;
}

#form {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 36px;
}

.form-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 7px;
  margin-top: 18px;
  display: block;
}

.form-label:first-of-type {
  margin-top: 0;
}

#form input,
#form textarea {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  -webkit-appearance: none;
}

#form input::placeholder,
#form textarea::placeholder {
  color: rgba(255, 255, 255, .18);
}

#form input:focus,
#form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(82, 130, 255, .08);
}

#form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.form-note {
  font-size: 11px;
  color: var(--gray);
}

#form button[type="submit"] {
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  padding: 13px 28px;
  border-radius: 3px;
  cursor: none;
  transition: box-shadow .2s, transform .2s;
}

#form button[type="submit"]:hover {
  box-shadow: 0 0 24px rgba(82, 130, 255, .45);
  transform: translateY(-2px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 28px;
}

.form-success .s-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.form-success h3 {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}

.form-success p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 700;
}

.footer-logo .prompt {
  color: var(--blue);
}

.footer-copy {
  font-size: 12px;
  color: var(--gray);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.soc {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--gray);
  transition: border-color .2s, color .2s, background .2s;
}

.soc:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(82, 130, 255, .06);
}

#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--blue);
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 9999;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#topBtn:hover {
  border-color: var(--blue);
  box-shadow: 0 0 16px var(--blue-glow);
  transform: translateY(-2px);
}

#topBtn.show {
  display: flex;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;

    background: rgba(5, 8, 15, .98);
    backdrop-filter: blur(18px);

    flex-direction: column;
    align-items: center;
    gap: 28px;

    padding: 40px 0;

    border-bottom: 1px solid var(--border);

    transform: translateY(-120%);
    transition: transform .35s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 15px;
  }

}

@media (max-width: 768px) {

  #cursorDot,
  #cursorRing {
    display: none !important;
  }

  .sobre-body {
    font-size: 13px;
  }

  .nav-links a.active {
    position: relative;
  }

  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    width: 10px;
    height: 10px;
    background: var(--blue);
    border-radius: 50%;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  #typeText {
    font-size: 13px;
  }

  .buttons {
    gap: 12px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 11px;
  }

  .grid {
    gap: 16px;
  }

  .card {
    flex: 1 1 100%;
  }

  .sobre-inner {
    flex-direction: column;
    gap: 40px;
  }

  .sobre-card {
    width: 100%;
    max-width: 320px;
    margin: auto;
  }

  .contact {
    flex-direction: column;
    gap: 40px;
  }

  .contact-desc {
    max-width: 100%;
  }

  .contact-form-wrap {
    width: 100%;
  }

}

@media (max-width: 480px) {

  body {
    line-height: 1.6;
  }

  .container {
    padding: 0 16px;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 8, 15, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }

  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
  }

  .hero {
    padding: 90px 16px 60px;
    margin-top: -60px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
    line-height: 1.1;
  }

  .hero-stack {
    gap: 6px;
  }

  .stack-badge {
    font-size: 10px;
    padding: 4px 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .card {
    padding: 26px 20px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 12px;
  }

  .sobre-body {
    font-size: 13px;
  }

  .contact-desc {
    font-size: 12px;
  }

  .c-item {
    padding: 12px 14px;
  }

  #form {
    padding: 24px 18px;
  }

  #form input,
  #form textarea {
    font-size: 12px;
  }

  #form button[type="submit"] {
    width: 100%;
  }

  footer {
    padding: 30px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-socials {
    justify-content: center;
  }

  #topBtn {
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  @supports (padding: max(0px)) {
    #topBtn {
      bottom: max(16px, env(safe-area-inset-bottom));
      right: max(16px, env(safe-area-inset-right));
    }
  }
}