@font-face {
  font-family: "Unbounded";
  src: url("lib/fontes/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("lib/fontes/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --vazio: #03050b;
  --superficie: #0a1020;
  --gelo: #e3ebf7;
  --aco: #8f9cb6;
  --linha: rgba(150, 175, 220, 0.16);
  --azul: #4c7dff;
  --ciano: #9adcff;
  --ion: #ff2d86;
  --ion-suave: rgba(255, 45, 134, 0.14);
  --gutter: clamp(16px, 4vw, 64px);
  --display: "Unbounded", "Sora", system-ui, sans-serif;
  --texto: "Sora", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--vazio); -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--vazio);
  color: var(--gelo);
  font-family: var(--texto);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--ion); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ion);
  outline-offset: 3px;
  border-radius: 4px;
}

.pular {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--gelo); color: var(--vazio);
  padding: .6rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 600;
}
.pular:focus { top: 16px; }

/* ---------- campo de partículas ---------- */
.campo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(76, 125, 255, 0.10), transparent 60%),
    radial-gradient(90% 70% at 10% 100%, rgba(154, 220, 255, 0.05), transparent 60%),
    var(--vazio);
}
.campo canvas { display: block; width: 100%; height: 100%; }
.leve .campo { position: absolute; height: 100svh; }
.leve .campo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(transparent, var(--vazio));
}

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

/* ---------- topo ---------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 2rem;
  padding: 18px var(--gutter);
  background: rgba(3, 5, 11, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(150, 175, 220, 0.08);
}
.marca {
  font-family: var(--display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: -0.03em; text-decoration: none;
}
.menu { display: flex; gap: 1.75rem; margin-left: auto; }
.menu a {
  text-decoration: none; color: var(--aco); font-size: .92rem;
  transition: color .2s;
}
.menu a:hover { color: var(--gelo); }
.acesso { display: flex; gap: .6rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 .95rem/1 var(--texto);
  padding: .85rem 1.25rem; border-radius: 999px;
  border: 1px solid transparent; background: none; color: var(--gelo);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn[disabled] { cursor: not-allowed; }
.btn-contorno { border-color: rgba(227, 235, 247, 0.28); }
a.btn-contorno:hover { border-color: var(--gelo); background: rgba(227, 235, 247, 0.06); }
.btn-fantasma { color: var(--aco); padding-inline: .8rem; }
.btn-ion { background: var(--ion); color: #fff; font-weight: 600; }
.btn-ion[disabled] { background: rgba(255, 45, 134, 0.78); }
.topo .btn { padding: .6rem 1rem; font-size: .85rem; }
.topo .btn[disabled], .plano .btn-contorno[disabled] { color: var(--aco); }

.breve {
  display: inline-block;
  font: 500 .68rem/1 var(--texto); letter-spacing: .02em;
  padding: .3rem .5rem; border-radius: 999px;
  background: rgba(227, 235, 247, 0.1); color: var(--gelo);
  vertical-align: middle;
}
.btn-ion .breve { background: rgba(3, 5, 11, 0.28); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 104px var(--gutter) clamp(32px, 6vh, 72px);
}
.selo {
  display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start;
  font-size: .82rem; color: var(--gelo);
  padding: .45rem .9rem .45rem .7rem; border-radius: 999px;
  border: 1px solid var(--linha); background: rgba(10, 16, 32, 0.55);
}
.pulso {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ion);
  box-shadow: 0 0 0 0 rgba(255, 45, 134, .6);
  animation: pulso 2.4s ease-out infinite;
}
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 134, .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(255, 45, 134, 0); }
}
/* âncora da arte 14C: no desktop cobre o hero todo; em telas estreitas vira uma faixa acima do texto */
.hero-arte { position: absolute; inset: 0; pointer-events: none; }
.hero-base {
  margin-top: auto;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px); align-items: end;
}
.hero-titulo {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.1rem, 4.9vw, 5.6rem);
  line-height: 1.02; letter-spacing: -0.035em;
}
.linha { display: block; overflow: hidden; padding-bottom: .06em; }
.linha > span { display: block; }
.hero-sub { color: var(--aco); font-size: clamp(1rem, 1.1vw, 1.12rem); max-width: 34rem; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.dica {
  position: absolute; right: var(--gutter); top: 50%;
  writing-mode: vertical-rl; font-size: .75rem; color: rgba(143, 156, 182, .6);
  letter-spacing: .04em;
}
.leve .dica, .medio .dica { display: none; }

/* entrada orquestrada: o título sobe enquanto a nuvem se condensa */
.js .linha > span { transform: translateY(105%); }
.js .hero-sub, .js .acoes, .js .selo { opacity: 0; }
.pronto .linha > span { transform: none; transition: transform 1.1s cubic-bezier(.2, .8, .1, 1); }
.pronto .linha:nth-child(2) > span { transition-delay: .08s; }
.pronto .linha:nth-child(3) > span { transition-delay: .16s; }
.pronto .hero-sub, .pronto .acoes, .pronto .selo { opacity: 1; transition: opacity 1s .45s; }

/* ---------- números ---------- */
.numeros { padding: 28vh var(--gutter); }
.faixa {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--linha);
}
.num { padding: 1.75rem 1.5rem 0 0; }
.num dt {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 5.4rem); line-height: 1; letter-spacing: -0.04em;
  white-space: nowrap;
}
.num dd { margin-top: .9rem; color: var(--aco); max-width: 16rem; font-size: .95rem; }
.num:last-child dt { color: var(--ion); }

/* ---------- blocos genéricos ---------- */
.bloco {
  min-height: 100vh; display: flex; align-items: center;
  padding: 14vh var(--gutter);
}
.texto { max-width: 36rem; }
h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3.3vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em;
}
.corpo { margin-top: 1.5rem; color: var(--aco); font-size: 1.08rem; line-height: 1.7; max-width: 32rem; }
sup { font-size: .55em; line-height: 0; }

/* recursos */
.recursos .texto { max-width: 40rem; }
.lista-recursos {
  margin-top: 2.75rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.25rem;
}
.lista-recursos li { padding-top: 1rem; border-top: 1px solid var(--linha); }
.lista-recursos h3 { font-size: 1.02rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.lista-recursos p { margin-top: .4rem; color: var(--aco); font-size: .93rem; }
.dominio { color: var(--ciano); }

/* infra: texto à direita, escudo à esquerda */
.infra { justify-content: flex-end; }
.camadas { margin-top: 2.25rem; }
.camadas li {
  position: relative; padding: .8rem 0 .8rem 1.25rem;
  border-left: 1px solid var(--linha);
  font-size: .98rem;
}
.camadas li::before {
  content: ""; position: absolute; left: -3px; top: 50%; width: 5px; height: 5px;
  margin-top: -2.5px; border-radius: 50%; background: var(--ciano);
}
.camadas li:nth-child(2) { margin-left: .9rem; }
.camadas li:nth-child(3) { margin-left: 1.8rem; }
.camadas li:nth-child(4) { margin-left: 2.7rem; }
.camadas li:nth-child(5) { margin-left: 3.6rem; }
.camadas li:last-child::before { background: var(--ion); }

/* planos */
.planos { flex-direction: column; align-items: stretch; justify-content: center; }
.planos-cabeca p { color: var(--aco); max-width: 24rem; margin-top: 1rem; }
.grade-planos {
  margin-top: clamp(180px, 34vh, 360px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px);
}
.plano {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem clamp(1.25rem, 2vw, 2rem);
  border: 1px solid var(--linha); border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.5), rgba(3, 5, 11, 0.86) 40%);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.plano h3 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; }
.para { color: var(--aco); margin-top: .35rem; }
.plano ul { margin: 1.5rem 0 2rem; }
.plano li { padding: .55rem 0; border-top: 1px solid var(--linha); font-size: .95rem; }
.preco {
  margin-top: auto; font-family: var(--display); font-weight: 400; font-size: 1.6rem;
  color: rgba(227, 235, 247, .55); letter-spacing: -0.02em;
}
.plano .btn { margin-top: 1.25rem; align-self: flex-start; }
.plano-destaque { border-color: rgba(255, 45, 134, 0.55); }
.escolhido {
  position: absolute; top: -0.8rem; left: 1.5rem;
  font-size: .75rem; font-weight: 600; color: #fff; background: var(--ion);
  padding: .3rem .7rem; border-radius: 999px;
}

/* sobre */
.isotopo {
  font-family: var(--display); font-weight: 300; font-size: clamp(4rem, 9vw, 9rem);
  line-height: .9; letter-spacing: -0.05em; color: rgba(227, 235, 247, .14);
  margin-bottom: 1.25rem;
}
.isotopo sup { font-size: .42em; vertical-align: .95em; }

/* final */
.final {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; padding: 10vh var(--gutter) 16vh;
}
.final h2 { font-size: clamp(1.9rem, 4vw, 4.2rem); max-width: 18ch; }
.final p { margin: 1rem 0 2rem; color: var(--aco); }

/* rodapé */
.rodape {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--linha);
  font-size: .85rem; color: var(--aco); background: var(--vazio);
}
.marca-p { font-family: var(--display); font-weight: 700; color: var(--gelo); margin-right: .5rem; }
.legal { display: flex; gap: 1.5rem; }
.apagado { color: rgba(143, 156, 182, .55); cursor: not-allowed; }

/* ---------- versão leve / telas menores ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
  .hero-base { grid-template-columns: 1fr; }
  .hero-arte { position: static; flex: 1 0 auto; min-height: clamp(240px, 36svh, 420px); margin-bottom: 20px; }
  .faixa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  .topo { gap: .75rem; padding-block: 14px; }
  .acesso { margin-left: auto; }
  .acesso .btn-fantasma { display: none; }
  .hero { padding-top: 92px; }
  .hero-titulo { font-size: clamp(2rem, 9.4vw, 3rem); }
  .numeros { padding: 12vh var(--gutter); }
  .bloco { min-height: 0; padding: 12vh var(--gutter); }
  .lista-recursos { grid-template-columns: 1fr; gap: 1.5rem; }
  .grade-planos { grid-template-columns: 1fr; margin-top: 2.5rem; gap: 2rem; }
  .final { min-height: 70svh; justify-content: center; }
  .rodape { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .num dt { font-size: 2rem; }
  .camadas li:nth-child(n) { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .pulso { animation: none; }
  .js .linha > span { transform: none; }
  .js .hero-sub, .js .acoes, .js .selo { opacity: 1; }
}
