:root {
  --ink: #0b0c10;
  --ink-2: #08090d;
  --ink-soft: #12141b;
  --line: #26282f;
  --text: #d4d4d8;
  --muted: #a1a1aa;
  --white: #ffffff;
  --faz: #f4e000;
  --blue: #3b82f6;
  --pink: #ff4d9a;
  --orange: #ff9a2e;
  --green: #22c55e;
  --wa: #25d366;
  --wa-deep: #1ebe57;
  --font-heading: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 50;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}

.site-bg__texture,
.site-bg__wave {
  position: absolute;
  inset: -8%;
  background-image: url("/images/bg-camadas.jpg");
  background-position: 50%;
  background-size: cover;
  opacity: 0.28;
  animation: layer-drift 48s ease-in-out infinite;
}

.site-bg__wave {
  opacity: 0.14;
  mix-blend-mode: screen;
  filter: contrast(1.15);
  animation-duration: 72s;
  animation-direction: reverse;
}

@keyframes layer-drift {
  0%,
  100% {
    transform: scale(1.04) translate(0);
  }
  50% {
    transform: scale(1.12) translate(-2.4%, 1.6%);
  }
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 1.4rem;
}

.brand {
  display: flex;
  justify-content: center;
  padding-bottom: 1.6rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  border-radius: 0.6rem;
}

.logo:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}

.logo__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo__wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo--footer {
  gap: 0.45rem;
}

.logo--footer .logo__mark {
  width: 22px;
  height: 22px;
}

.logo--footer .logo__wordmark {
  font-size: 0.95rem;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 2.1rem 1.5rem 1.35rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(var(--ink-soft), var(--ink-soft)) padding-box,
    linear-gradient(135deg, var(--blue), var(--pink) 36%, var(--orange) 68%, var(--green)) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 18px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.card__glow {
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(59, 130, 246, 0.16), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(255, 77, 154, 0.12), transparent 40%),
    radial-gradient(circle at 80% 84%, rgba(255, 154, 46, 0.1), transparent 42%),
    radial-gradient(circle at 16% 86%, rgba(34, 197, 94, 0.12), transparent 40%);
  filter: blur(8px);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 12, 16, 0.7);
  color: #e4e4e7;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 0 18px rgba(255, 77, 154, 0.12);
}

h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 5.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.lead {
  margin: 0.7rem 0 0;
  color: #f4f4f5;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  font-weight: 700;
}

.copy {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1rem;
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 26rem;
  margin-top: 1.55rem;
  padding: 1.05rem 1.35rem;
  border-radius: 1.05rem;
  background: linear-gradient(180deg, #2fe074, var(--wa) 46%, var(--wa-deep));
  color: #052e16;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 10px 28px rgba(37, 211, 102, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-wa:hover {
  filter: brightness(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 14px 34px rgba(37, 211, 102, 0.38);
}

.btn-wa:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 4px;
}

.btn-wa:active {
  transform: translateY(1px);
}

.btn-wa__icon {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
}

.btn-wa__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.btn-wa__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.btn-wa__number {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.link-home {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  color: #d4d4d8;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-home:hover,
.link-home:focus-visible {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.link-home:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.link-home__arrow {
  transition: transform 0.18s ease;
}

.link-home:hover .link-home__arrow {
  transform: translateX(3px);
}

.worlds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  width: 100%;
  margin-top: 1.55rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.worlds img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0.85rem;
  background: #0a0b0f;
  mix-blend-mode: screen;
  opacity: 0.88;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .page {
    width: min(640px, calc(100% - 3rem));
    padding-top: 2.4rem;
  }

  .logo__mark {
    width: 48px;
    height: 48px;
  }

  .logo__wordmark {
    font-size: 1.55rem;
  }

  .card {
    padding: 2.5rem 2.4rem 1.6rem;
  }

  .worlds {
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-bg__texture,
  .site-bg__wave,
  .btn-wa,
  .link-home,
  .link-home__arrow {
    animation: none !important;
    transition: none !important;
  }
}

body.tab-hidden .site-bg__texture,
body.tab-hidden .site-bg__wave {
  animation-play-state: paused;
}
