:root {
  --bg: #061322;
  --surface: rgba(11, 28, 48, 0.72);
  --surface-2: rgba(9, 22, 38, 0.72);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-2: rgba(0, 212, 255, 0.22);
  --text: rgba(234, 243, 255, 0.92);
  --muted: rgba(234, 243, 255, 0.68);
  --accent-1: #00d4ff;
  --accent-2: #0a63ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --sidebar-w: 132px;
  --radius: 18px;
  --panel-pad: clamp(22px, 3.2vw, 44px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1100px 520px at 78% 25%, rgba(0, 212, 255, 0.14), transparent 60%),
    radial-gradient(980px 520px at 20% 72%, rgba(10, 99, 255, 0.16), transparent 55%), var(--bg);
  color: var(--text);
  overflow: hidden;
}

.app {
  height: 100vh;
  width: 100vw;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  z-index: 40;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-right: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px 26px;
  gap: 14px;
}

.brand {
  width: 100%;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}

.brand__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.nav__item {
  width: 100%;
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  user-select: none;
}

.nav__item i {
  font-size: 20px;
  line-height: 1;
}

.nav__item span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--stroke);
  transform: translateY(-1px);
  color: var(--text);
}

.nav__item.is-active {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.14), rgba(10, 99, 255, 0.08));
  border-color: rgba(0, 212, 255, 0.28);
  color: var(--text);
}

.sidebar__footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar__copyright {
  width: 100%;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(234, 243, 255, 0.5);
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.35;
  white-space: normal;
}

.mobile-page-end {
  display: none;
}

.meta__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: var(--muted);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.meta__link:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.meta__link i {
  font-size: 16px;
}

.meta__link span {
  display: none;
}

.panels {
  position: relative;
  height: 100vh;
  width: calc(100vw - var(--sidebar-w));
  margin-left: var(--sidebar-w);
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.panels::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.panel {
  scroll-snap-align: start;
  flex: 0 0 100%;
  height: 100%;
  padding: var(--panel-pad);
  display: grid;
  align-items: center;
}

.panel--top {
  align-items: start;
  padding-bottom: calc(var(--panel-pad) + 56px);
}

.panel__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.panel--hero .panel__inner {
  width: min(1180px, 100%);
}

.panel--hero {
  position: relative;
  background-color: #02040c;
  background-image: url("https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=ultra%20realistic%20cinematic%20deep%20space%20landscape%2C%20wide%20view%20of%20starfield%20with%20bright%20blue%20stars%2C%20swirling%20spiral%20galaxy%20and%20purple%20nebula%2C%20distant%20small%20planets%2C%20one%20large%20planet%20at%20left%20edge%2C%20icy%20rocky%20moon%20surface%20foreground%2C%20high%20contrast%2C%20astrophotography%2C%20sharp%20focus%2C%20natural%20colors%2C%20no%20text%2C%20no%20watermark&image_size=landscape_16_9");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.panel--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 4, 12, 0.72) 0%, rgba(2, 4, 12, 0.3) 45%, rgba(2, 4, 12, 0.66) 100%),
    radial-gradient(900px 520px at 22% 26%, rgba(0, 0, 0, 0.2), transparent 60%),
    radial-gradient(900px 520px at 78% 70%, rgba(0, 0, 0, 0.25), transparent 60%);
  z-index: 0;
}

.panel__header {
  margin-bottom: 22px;
  max-width: 860px;
}

.panel__header--wide {
  max-width: 1120px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.03;
}

h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

h3 {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.82);
}

.lead {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.panel--hero .panel__inner {
  position: relative;
  z-index: 1;
}

.character-layer {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  width: calc(100vw - var(--sidebar-w));
  height: 100vh;
  z-index: 20;
  pointer-events: none;
}

.rocket-home {
  position: absolute;
  left: 74%;
  top: 46%;
  width: min(302px, 19.2vw);
  height: auto;
  transform: translate(-50%, -50%) rotate(50deg);
  opacity: 1;
  will-change: left, top, transform, opacity;
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.6));
  z-index: 25;
  overflow: visible;
}

.rocket-home__img {
  display: block;
  width: 100%;
  height: auto;
}

.rocket-home__smoke {
  position: absolute;
  left: 20%;
  top: 78%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%) rotate(-50deg);
  pointer-events: none;
  opacity: 0.34;
  border-radius: 999px;
  filter: blur(1.4px);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 72%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 72%);
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.08) 44%, rgba(255,255,255,0.02) 64%, rgba(255,255,255,0) 88%),
    radial-gradient(circle at 58% 64%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 46%, rgba(255,255,255,0.02) 66%, rgba(255,255,255,0) 90%),
    radial-gradient(circle at 42% 58%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 42%, rgba(255,255,255,0.02) 64%, rgba(255,255,255,0) 90%);
  animation: rocketSmoke 980ms ease-in-out infinite;
  will-change: transform, opacity;
}


@keyframes rocketSmoke {
  0% {
    opacity: 0.14;
    transform: translate(-50%, -50%) rotate(-50deg) translate(0, 0) scale(0.72);
  }
  60% {
    opacity: 0.24;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-50deg) translate(-34px, 38px) scale(1.12);
  }
}

@keyframes rocketIntro {
  0% {
    left: 10%;
    top: 120%;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(50deg);
  }
  30% {
    opacity: 1;
  }
  100% {
    left: 74%;
    top: 46%;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(50deg);
  }
}

.rocket-home.is-intro {
  animation: rocketIntro 3432ms cubic-bezier(0.16, 1, 0.3, 1) 1000ms both;
}

.astro-qs {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  opacity: 0;
  transition: opacity 220ms ease;
  will-change: transform, opacity;
}

.astro-qs.is-in {
  opacity: 1;
}

.astro-qs.is-out {
  opacity: 0;
}

.astro-qs__img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.58));
  will-change: transform;
}

.astro-qs.is-float .astro-qs__img {
  animation: astroFloat 5200ms ease-in-out infinite;
}

@keyframes astroFloat {
  0% {
    transform: translateY(0) rotate(-1.4deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.6deg);
  }
  100% {
    transform: translateY(0) rotate(-1.4deg);
  }
}

.home-hero {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: min(560px, 70vh);
}

.home-hero__content {
  max-width: 560px;
  padding-top: 78px;
}

.home-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(234, 243, 255, 0.7);
}

.home-hero__title {
  margin: 0;
  font-family: Orbitron, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(30px, 3.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: rgba(234, 243, 255, 0.96);
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
  will-change: opacity, transform, filter;
}

.panel__title-holo {
  font-family: Orbitron, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(234, 243, 255, 0.96);
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  will-change: opacity, transform, filter;
}

.home-hero__char {
  display: inline-block;
  will-change: opacity, transform, filter;
}

.home-hero__word {
  display: inline-block;
  white-space: nowrap;
}

.home-hero__title.is-fading {
  filter: blur(0.8px) saturate(1.08) contrast(1.03);
  text-shadow:
    0 18px 60px rgba(0, 0, 0, 0.6),
    1px 0 0 rgba(120, 242, 255, 0.65),
    -1px 0 0 rgba(255, 122, 232, 0.6);
}

.home-hero__title.is-reveal {
  filter: blur(0.6px) saturate(1.05) contrast(1.02);
  text-shadow:
    0 18px 60px rgba(0, 0, 0, 0.6),
    1px 0 0 rgba(120, 242, 255, 0.55),
    -1px 0 0 rgba(255, 122, 232, 0.5);
}

@keyframes homeTitleCharOut {
  0% {
    opacity: 1;
    filter: blur(0);
  }
  55% {
    opacity: 0.42;
    filter: blur(0.9px);
  }
  100% {
    opacity: 0;
    filter: blur(3px);
  }
}

@keyframes homeTitleCharIn {
  0% {
    opacity: 0;
    filter: blur(4px);
  }
  55% {
    opacity: 1;
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.home-hero__title.is-fading .home-hero__char {
  animation: homeTitleCharOut 520ms cubic-bezier(0.2, 1, 0.2, 1) both;
  animation-delay: var(--d, 0ms);
}

.panel__title-holo.is-fading .home-hero__char {
  animation: homeTitleCharOut 520ms cubic-bezier(0.2, 1, 0.2, 1) both;
  animation-delay: var(--d, 0ms);
}

.home-hero__title.is-reveal .home-hero__char {
  animation: homeTitleCharIn 640ms cubic-bezier(0.2, 1, 0.2, 1) both;
  animation-delay: var(--d, 0ms);
}

.panel__title-holo.is-reveal .home-hero__char {
  animation: homeTitleCharIn 640ms cubic-bezier(0.2, 1, 0.2, 1) both;
  animation-delay: var(--d, 0ms);
}

.panel__title-holo.is-fading {
  filter: blur(0.8px) saturate(1.08) contrast(1.03);
  text-shadow:
    0 18px 60px rgba(0, 0, 0, 0.6),
    1px 0 0 rgba(120, 242, 255, 0.65),
    -1px 0 0 rgba(255, 122, 232, 0.6);
}

.panel__title-holo.is-reveal {
  filter: blur(0.6px) saturate(1.05) contrast(1.02);
  text-shadow:
    0 18px 60px rgba(0, 0, 0, 0.6),
    1px 0 0 rgba(120, 242, 255, 0.55),
    -1px 0 0 rgba(255, 122, 232, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__title.is-fading {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(2px);
  }

  .home-hero__title.is-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .panel__title-holo.is-fading {
    opacity: 0.8;
    filter: blur(1px);
  }

  .panel__title-holo.is-reveal {
    opacity: 1;
    filter: none;
  }

  .home-hero__title .home-hero__char,
  .panel__title-holo .home-hero__char {
    animation: none !important;
    filter: none !important;
  }
}

.about-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

.about-text {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--surface-2), rgba(11, 28, 48, 0.34));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 18px 18px;
}

.about-text p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  text-align: left;
}

.about-text p + p {
  margin-top: 12px;
}

.about-list {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.about-cards {
  display: grid;
  gap: 16px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.hero__text {
  padding-right: 8px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero__card {
  background: linear-gradient(180deg, var(--surface), rgba(11, 28, 48, 0.38));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  gap: 14px;
  backdrop-filter: blur(14px);
}

.stat {
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.stat__value {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
}

.stat__label {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel[data-panel="servicos"] .panel__inner {
  margin: 0;
  width: min(1240px, 100%);
}

.panel[data-panel="sites"] {
  align-items: start;
  padding-top: clamp(10px, 1.2vw, 18px);
}

.panel[data-panel="sites"] .panel__inner {
  margin-top: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.sites-empty {
  display: grid;
  place-items: center;
  min-height: clamp(280px, 48vh, 460px);
}

.sites-empty__text {
  margin: 0;
  max-width: 720px;
  text-align: center;
  font-family: Orbitron, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.2;
  color: rgba(234, 243, 255, 0.92);
  text-shadow:
    0 18px 60px rgba(0, 0, 0, 0.6),
    0 0 18px rgba(0, 212, 255, 0.16);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 390px);
  align-items: stretch;
  gap: clamp(22px, 3.2vw, 56px);
}

.panel[data-panel="servicos"] .panel__header,
.services-layout__list {
  position: relative;
  z-index: 3;
}

.services-layout__media {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: min(800px, calc(100vh - (var(--panel-pad) * 2) + 72px));
  margin-left: clamp(-96px, -6.5vw, -40px);
  isolation: isolate;
}

.services-layout__media::before {
  content: "";
  position: absolute;
  inset: clamp(-30px, -2.4vw, -12px) 0 clamp(-34px, -2.8vw, -14px) clamp(-96px, -6.5vw, -40px);
  border-radius: 34px;
  background-color: #02040c;
  background-image: url("https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=ultra%20realistic%20cinematic%20deep%20space%20landscape%2C%20wide%20view%20of%20starfield%20with%20bright%20blue%20stars%2C%20swirling%20spiral%20galaxy%20and%20purple%20nebula%2C%20distant%20small%20planets%2C%20one%20large%20planet%20at%20left%20edge%2C%20icy%20rocky%20moon%20surface%20foreground%2C%20high%20contrast%2C%20astrophotography%2C%20sharp%20focus%2C%20natural%20colors%2C%20no%20text%2C%20no%20watermark&image_size=landscape_16_9");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 120px rgba(0, 0, 0, 0.34),
    0 26px 64px rgba(0, 0, 0, 0.36);
}

.services-layout__media::after {
  content: "";
  position: absolute;
  inset: clamp(-30px, -2.4vw, -12px) 0 clamp(-34px, -2.8vw, -14px) clamp(-96px, -6.5vw, -40px);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(2, 4, 12, 0.88) 0%, rgba(2, 4, 12, 0.24) 32%, rgba(2, 4, 12, 0.46) 100%),
    radial-gradient(420px 460px at 50% 50%, rgba(0, 212, 255, 0.14), transparent 62%),
    radial-gradient(540px 720px at 50% 52%, rgba(0, 212, 255, 0.08), transparent 70%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 212, 255, 0.16),
    inset 0 0 34px rgba(120, 242, 255, 0.08);
}

.services-astro-wrap {
  position: absolute;
  inset: clamp(-30px, -2.4vw, -12px) 0 clamp(-34px, -2.8vw, -14px) clamp(-96px, -6.5vw, -40px);
  z-index: 1;
  display: grid;
  align-items: center;
  justify-items: end;
  width: auto;
  padding-right: clamp(18px, 2vw, 32px);
}

.services-astro-wrap.is-float {
  animation: servicesAstroFloat 6200ms ease-in-out infinite;
}

.services-astro {
  width: min(338px, 24.5vw);
  max-width: 362px;
  height: auto;
  filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.55));
  opacity: 0;
  transform: translate(96px, -140px) scale(0.95);
  transition: opacity 2200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 3200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  pointer-events: none;
  user-select: none;
}

.services-astro.is-in {
  opacity: 1;
  transform: translateY(-140px) scale(1);
}

@keyframes servicesAstroFloat {
  0% {
    transform: translateY(0) rotate(-0.9deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.1deg);
  }
  100% {
    transform: translateY(0) rotate(-0.9deg);
  }
}

.card,
.project {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--surface), rgba(11, 28, 48, 0.44));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.card {
  padding: 18px 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card--icon .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 212, 255, 0.24);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.16), rgba(10, 99, 255, 0.08));
  color: rgba(234, 243, 255, 0.94);
  margin-bottom: 12px;
}

.card--icon .icon i {
  font-size: 20px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn i {
  font-size: 16px;
}

.btn--accent {
  color: rgba(6, 19, 34, 0.96);
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

.btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.btn--ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.floating-socials {
  position: fixed;
  right: 26px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 45;
}

.floating-socials__link {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(124, 232, 255, 0.72);
  background: linear-gradient(180deg, rgba(88, 214, 255, 0.92), rgba(16, 127, 219, 0.94));
  backdrop-filter: blur(16px);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(183, 245, 255, 0.18) inset,
    0 0 18px rgba(0, 212, 255, 0.48),
    0 0 34px rgba(0, 153, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease,
    border-color 180ms ease;
}

.floating-socials__link i {
  font-size: 31px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.38));
}

.floating-socials__link:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(180deg, rgba(27, 120, 199, 0.96), rgba(7, 67, 132, 0.98));
  border-color: rgba(120, 229, 255, 0.9);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(183, 245, 255, 0.22) inset,
    0 0 20px rgba(0, 170, 255, 0.42);
  filter: saturate(1.08);
}

.floating-socials__link--whatsapp {
  background: linear-gradient(180deg, rgba(88, 214, 255, 0.92), rgba(16, 127, 219, 0.94));
}

.floating-socials__link--instagram {
  background: linear-gradient(180deg, rgba(88, 214, 255, 0.92), rgba(16, 127, 219, 0.94));
}

.project {
  display: block;
  padding: 18px 18px;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.project:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.24);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.07), rgba(11, 28, 48, 0.44));
}

.project__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.project__top i {
  font-size: 18px;
  opacity: 0.9;
}

.project p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.panel[data-panel="tour-virtual"] .panel__inner {
  position: relative;
}

.panel[data-panel="tour-virtual"] .panel__header {
  max-width: min(820px, calc(100% - 240px));
}

.panel[data-panel="hospedagem"] .panel__inner {
  position: relative;
  margin: 0;
  width: min(1240px, 100%);
}

.panel[data-panel="hospedagem"] .panel__header {
  max-width: min(840px, calc(100% - 280px));
}

.tour-satellite-wrap {
  position: absolute;
  top: clamp(-8px, 0.2vw, 6px);
  right: clamp(0px, 1.6vw, 20px);
  width: min(210px, 18vw);
  display: grid;
  justify-items: end;
  pointer-events: none;
  z-index: 2;
}

.tour-satellite-wrap.is-float {
  animation: tourSatelliteFloat 6200ms ease-in-out infinite;
}

.tour-satellite {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translate3d(86px, -92px, 0) scale(0.82) rotate(16deg);
  transform-origin: center;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.44));
  transition:
    opacity 1400ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 2200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.tour-satellite.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

@keyframes tourSatelliteFloat {
  0% {
    transform: translateY(0) rotate(-1.1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.3deg);
  }
  100% {
    transform: translateY(0) rotate(-1.1deg);
  }
}

.hosting-ornament-wrap {
  position: absolute;
  top: clamp(-22px, -0.7vw, -8px);
  right: calc(-0.72 * min(218px, 18.5vw) + 38px);
  width: min(218px, 18.5vw);
  display: grid;
  justify-items: end;
  pointer-events: none;
  z-index: 2;
}

.hosting-ornament-wrap.is-float {
  animation: hostingOrnamentFloat 6400ms ease-in-out infinite;
}

.hosting-ornament {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translate3d(92px, -98px, 0) scale(0.82) rotate(14deg);
  transform-origin: center;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.44));
  transition:
    opacity 1400ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 2200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hosting-ornament.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

@keyframes hostingOrnamentFloat {
  0% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.2deg);
  }
  100% {
    transform: translateY(0) rotate(-1deg);
  }
}

.tour-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--surface), rgba(11, 28, 48, 0.44));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tour-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.24);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.07), rgba(11, 28, 48, 0.44));
}

.tour-card__media {
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tour-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-card__body {
  padding: 16px 16px;
}

.hosting-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hosting-plan {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(2, 10, 24, 0.92), rgba(3, 16, 34, 0.96));
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.38);
  min-height: 100%;
}

.hosting-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 7, 18, 0.08), rgba(2, 7, 18, 0.7));
  pointer-events: none;
}

.hosting-plan__media,
.hosting-plan__body {
  position: relative;
  z-index: 1;
}

.hosting-plan__media {
  display: grid;
  justify-items: center;
  width: 100%;
  padding: 16px 16px 4px;
}

.hosting-plan__media img {
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.32));
}

.hosting-plan--simple .hosting-plan__media img {
  max-width: 86px;
}

.hosting-plan--medium .hosting-plan__media img {
  max-width: 102px;
}

.hosting-plan--top .hosting-plan__media img {
  max-width: 118px;
}

.hosting-plan--premium .hosting-plan__media img {
  max-width: 134px;
}

.hosting-plan__body {
  display: grid;
  justify-items: center;
  width: 100%;
  padding: 6px 16px 18px;
  text-align: center;
}

.hosting-plan__body h3 {
  margin-bottom: 10px;
  font-family: Orbitron, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  color: rgba(0, 225, 255, 0.95);
  text-shadow: 0 8px 24px rgba(0, 212, 255, 0.18);
  text-align: center;
  width: 100%;
}

.hosting-plan__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
  justify-items: center;
  width: 100%;
}

.hosting-plan__list li {
  width: 100%;
  text-align: center;
  color: rgba(244, 248, 255, 0.96);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hosting-plan__list li:first-child {
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.98);
}

.tour-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.tour-card__top i {
  font-size: 18px;
  opacity: 0.9;
}

.tour-card__body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.tour-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--surface-2), rgba(11, 28, 48, 0.34));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(234, 243, 255, 0.7);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(0, 212, 255, 0.34);
  background: rgba(0, 0, 0, 0.26);
}

.field--full {
  grid-column: 1 / -1;
}

.form__hint {
  margin: 0;
  font-size: 12px;
  color: rgba(234, 243, 255, 0.62);
  line-height: 1.55;
}

.contact {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
}

.contact__row i {
  font-size: 18px;
  margin-top: 2px;
  color: rgba(0, 212, 255, 0.82);
}

.contact-visual {
  margin-top: 18px;
  display: grid;
  justify-items: center;
}

.contact-visual img {
  width: min(100%, 220px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.38));
}

.divider {
  height: 1px;
  background: var(--stroke);
  margin: 18px 0 12px;
}

.small {
  margin: 0;
  color: rgba(234, 243, 255, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  :root {
    --sidebar-w: 110px;
  }

  .hosting-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  }

  .services-astro {
    width: min(254px, 24vw);
  }

  .tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-satellite-wrap {
    width: min(172px, 20vw);
  }

  .hosting-ornament-wrap {
    width: min(184px, 21vw);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  :root {
    --sidebar-w: 0px;
  }

  .hosting-plans {
    grid-template-columns: 1fr;
  }

  .hosting-plan__body {
    padding: 8px 18px 22px;
  }

  body {
    overflow: hidden;
  }

  .sidebar {
    inset: auto 0 0 0;
    width: 100%;
    height: 84px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    border-right: none;
    border-top: 1px solid var(--stroke);
  }

  .brand {
    width: 74px;
    height: 64px;
    margin-left: 10px;
  }

  .nav {
    flex-direction: row;
    width: auto;
    height: 100%;
    flex: 1;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .nav__item {
    flex: 1;
    width: auto;
    height: 100%;
    padding: 0;
    border-radius: 0;
    border-left: 1px solid var(--stroke);
    gap: 0;
  }

  .nav__item:first-child {
    border-left: 1px solid var(--stroke);
  }

  .nav__item i {
    font-size: 22px;
  }

  .nav__item span {
    display: none;
  }

  .sidebar__footer {
    display: none;
  }

  .panels {
    margin-left: 0;
    width: 100vw;
    height: calc(100vh - 84px);
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y proximity;
    padding-bottom: 84px;
  }

  .mobile-page-end {
    display: block;
    padding: 8px 18px 112px;
    text-align: center;
    font-size: 10px;
    line-height: 1.35;
    color: rgba(234, 243, 255, 0.5);
  }

  .panel {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 84px);
    scroll-snap-align: start;
  }

  .character-layer {
    left: 0;
    width: 100vw;
    height: calc(100vh - 84px);
  }

  .rocket-home {
    left: 64%;
    top: 52%;
    width: min(312px, 45.6vw);
  }

  .astro-qs {
    width: 104px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .panel[data-panel="servicos"] .panel__inner {
    margin: 0 auto;
    width: min(1120px, 100%);
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-layout__media {
    display: none;
  }

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

  .panel[data-panel="tour-virtual"] .panel__header {
    max-width: 100%;
  }

  .tour-satellite-wrap {
    display: none;
  }

  .panel[data-panel="hospedagem"] .panel__header {
    max-width: 100%;
  }

  .hosting-ornament-wrap {
    top: -16px;
    right: 24px;
    width: 122px;
  }

  .panel[data-panel="contato"] {
    padding-bottom: calc(var(--panel-pad) + 112px);
  }

  .panel[data-panel="contato"] .grid--2 {
    margin-bottom: 16px;
  }

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

  .floating-socials {
    right: 14px;
    bottom: 102px;
    gap: 10px;
  }

  .floating-socials__link {
    width: 48px;
    height: 48px;
  }

  .floating-socials__link i {
    font-size: 29px;
  }
}
