:root {
  --navy: #07070f;
  --navy-soft: #0d0d20;
  --navy-soft-2: #1a1a38;
  --gold: #f5b400;
  --gold-dark: #c98f00;
  --blue: #3b82f6;
  --blue-soft: #60a5fa;
  --white: #f5f6f8;
  --muted: #9497ad;
  --muted-2: #5f6377;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 1.25rem;
  --font-heading: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Grade fina cobrindo o fundo, dá a sensação de "painel" técnico. */
.grid-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 90%);
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.glow--gold {
  width: 520px;
  height: 520px;
  top: -200px;
  right: -140px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.22), transparent 70%);
}

.glow--blue {
  width: 620px;
  height: 620px;
  bottom: -280px;
  left: -220px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24), transparent 70%);
}

.main,
.footer {
  position: relative;
  z-index: 1;
}

/* Navbar fixa no topo, indo de ponta a ponta da tela; o conteúdo interno
   é que fica centralizado e alinhado com o restante da página. */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: rgba(7, 7, 15, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1080px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  overflow: visible;
}

.navbar__logo {
  height: 80px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar__logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 18px rgba(245, 180, 0, 0.45)) drop-shadow(0 0 10px rgba(59, 130, 246, 0.35));
}

.navbar__tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 180, 0, 0.08);
  border: 1px solid rgba(245, 180, 0, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 24px 80px;
}

.hero {
  text-align: center;
  padding: 32px 0 28px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.shimmer-text {
  background: linear-gradient(90deg, var(--gold) 0%, #fde9a8 20%, var(--gold) 40%, var(--blue-soft) 60%, var(--gold) 80%, var(--gold) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: -300% 50%; }
}

.hero__subtitle {
  color: var(--muted);
  font-size: 16px;
  max-width: 460px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.status-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(96, 165, 250, 0); }
  100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Card com borda em degradê (dourado -> azul): duplo background, um no padding-box
   (preenchimento navy) e outro no border-box (o degradê), sem precisar de wrapper extra. */
.slot-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, var(--navy-soft-2), var(--navy-soft) 65%) padding-box,
    linear-gradient(135deg, rgba(245, 180, 0, 0.55), rgba(59, 130, 246, 0.5)) border-box;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  min-height: 240px;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.slot-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -35%;
  right: -25%;
  width: 65%;
  height: 65%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 72%);
  filter: blur(30px);
}

.slot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px -28px rgba(59, 130, 246, 0.45), 0 0 36px -14px rgba(245, 180, 0, 0.3);
}

.slot-card__index {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.slot-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.slot-card__label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.slot-card__desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-width: 220px;
}

.footer {
  text-align: center;
  padding: 32px 24px 48px;
  color: var(--muted-2);
  font-size: 13px;
}

@media (max-width: 480px) {
  .header {
    padding-top: 20px;
  }

  .hero {
    padding: 48px 0 40px;
  }
}
