:root {
  --ink: #03070c;
  --ink-soft: #08101b;
  --blue: #158fff;
  --blue-light: #64b7ff;
  --white: #f7fbff;
  --muted: #8e9cac;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 46%, rgba(16, 110, 203, 0.14), transparent 32%),
    linear-gradient(135deg, #03070c 0%, #050b13 60%, #02060a 100%);
}

.grid-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 88%);
}

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.ambient-one {
  top: -22rem;
  right: -18rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(21, 143, 255, 0.16);
  box-shadow: inset 0 0 9rem rgba(21, 143, 255, 0.04);
}

.ambient-two {
  bottom: -22rem;
  left: 20%;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.topbar,
.hero,
.footer {
  width: min(100% - 8vw, 1480px);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 800;
}

.brand img {
  width: 43px;
  height: 28px;
  object-fit: contain;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #aeb9c5;
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(21, 143, 255, 0.1), 0 0 20px var(--blue);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding-block: clamp(3.5rem, 8vh, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 1.6rem;
  color: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.7rem, 6.4vw, 7.5rem);
  font-weight: 560;
  letter-spacing: -0.075em;
  line-height: 0.89;
  text-wrap: balance;
}

h1 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-text {
  max-width: 590px;
  margin: clamp(1.8rem, 4vh, 3rem) 0 0;
  color: #a9b6c4;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(2rem, 4.5vh, 3.4rem);
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 215px;
  min-height: 58px;
  padding: 0 18px 0 21px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.79rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-button strong {
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-3px);
}

.contact-button:hover strong,
.contact-button:focus-visible strong {
  transform: translate(2px, -2px);
}

.contact-button:focus-visible,
.brand:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

.contact-primary {
  color: #00101e;
  background: var(--blue);
}

.contact-primary:hover {
  background: #3da4ff;
}

.contact-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.025);
}

.contact-secondary:hover {
  border-color: rgba(100, 183, 255, 0.55);
  background: rgba(21, 143, 255, 0.07);
}

.brand-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(40vw, 580px);
  aspect-ratio: 1;
  justify-self: end;
}

.orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-outer {
  inset: 0;
  border: 1px solid rgba(100, 183, 255, 0.19);
  animation: rotate 22s linear infinite;
}

.orbit-outer::before,
.orbit-inner::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: inherit;
}

.orbit-inner {
  inset: 12%;
  border: 1px dashed rgba(100, 183, 255, 0.17);
  animation: rotate 36s linear infinite reverse;
}

.orbit-point {
  position: absolute;
  top: 6.5%;
  left: 22%;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 22px var(--blue);
}

.stage-card {
  position: relative;
  display: grid;
  place-items: center;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01)),
    rgba(6, 15, 25, 0.68);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), inset 0 0 70px rgba(21, 143, 255, 0.04);
  backdrop-filter: blur(18px);
  transform: rotate(45deg);
  animation: float 5.5s ease-in-out infinite;
}

.stage-card img {
  width: 70%;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(21, 143, 255, 0.25));
  transform: rotate(-45deg);
}

.stage-card p {
  position: absolute;
  right: -18%;
  bottom: 6%;
  margin: 0;
  color: #718194;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-45deg);
  white-space: nowrap;
}

.corner {
  position: absolute;
  width: 25px;
  height: 25px;
  border-color: var(--blue);
}

.corner-top {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-bottom {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.stage-status {
  position: absolute;
  color: #637184;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-status {
  bottom: 9%;
  left: 3%;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 96px;
  border-top: 1px solid var(--line);
  color: #728092;
  font-size: 0.66rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services,
.direct-contact {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.8rem);
}

.services span::before {
  content: "+";
  margin-right: 8px;
  color: var(--blue);
}

.direct-contact {
  letter-spacing: 0.04em;
  text-transform: none;
}

.direct-contact a {
  transition: color 180ms ease;
}

.direct-contact a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 850ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-one { animation-delay: 120ms; }
.reveal-two { animation-delay: 220ms; }
.reveal-three { animation-delay: 360ms; }
.reveal-four { animation-delay: 500ms; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1rem;
  }

  .brand-stage {
    width: min(41vw, 480px);
  }

  .services span:nth-child(3) {
    display: none;
  }
}

@media (max-width: 780px) {
  .site-shell {
    min-height: 100svh;
    overflow-y: auto;
  }

  .topbar,
  .hero,
  .footer {
    width: min(100% - 40px, 680px);
  }

  .topbar {
    min-height: 80px;
  }

  .status-pill {
    font-size: 0;
  }

  .status-pill::after {
    content: "Em construção";
    font-size: 0.62rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 3.5rem 2.6rem;
  }

  h1 {
    max-width: 640px;
    font-size: clamp(3.4rem, 16vw, 6rem);
  }

  .hero-text {
    max-width: 540px;
  }

  .brand-stage {
    width: min(86vw, 440px);
    margin: 1.8rem auto 0;
    justify-self: center;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 1.7rem;
  }

  .services {
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
  }

  .direct-contact {
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .topbar,
  .hero,
  .footer {
    width: min(100% - 28px, 440px);
  }

  .brand {
    gap: 10px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .brand img {
    width: 36px;
    height: 24px;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .eyebrow {
    margin-bottom: 1.25rem;
  }

  h1 {
    font-size: clamp(3.25rem, 16.8vw, 4.55rem);
  }

  .contact-actions,
  .contact-button {
    width: 100%;
  }

  .brand-stage {
    width: min(92vw, 360px);
  }

  .stage-card p,
  .stage-status {
    display: none;
  }

  .services span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
