@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/InterTight-variable.woff2) format('woff2');
}

:root {
  --ink: #0c0c0d;
  --paper: #f4f3ef;
  --sun: #ffd733;
  --sun-2: #ffe066;
  --mute: #b4b3ae;
  --alert: #ffb4a6;
  --line: rgba(244, 243, 239, .14);
  --line-strong: rgba(244, 243, 239, .28);
  --field: rgba(244, 243, 239, .06);
  --field-hover: rgba(244, 243, 239, .085);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  background: var(--ink);
  color: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  accent-color: var(--sun);
}

::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute; left: -999px; top: 10px; z-index: 20;
  background: var(--sun); color: var(--ink); padding: 10px 14px; border-radius: 10px;
  font-weight: 800; text-decoration: none;
}
.skip:focus { left: 12px; }

.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52vmax 52vmax at 82% 30%, rgba(255, 215, 51, .13), transparent 62%),
    radial-gradient(44vmax 44vmax at 6% 96%, rgba(244, 243, 239, .045), transparent 60%);
}

.page {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 40px) 44px;
}

/* Topo */
.top {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0 clamp(30px, 6vh, 68px);
}
.brand {
  font-weight: 900; font-size: 21px; letter-spacing: -.03em; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
.brand span {
  background: var(--sun); color: var(--ink);
  padding: .02em .14em; margin-left: .08em; border-radius: .2em;
}
.brand img { display: block; height: 30px; width: auto; }
.foot .brand img { height: 38px; }
.top-link {
  font-size: 15px; font-weight: 600; color: var(--mute); text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.top-link:hover { color: var(--paper); border-color: var(--paper); }

/* Primeira dobra */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "pitch panel" "steps panel";
  column-gap: clamp(36px, 6vw, 92px);
  row-gap: clamp(36px, 5vh, 56px);
  align-items: start;
}
.pitch { grid-area: pitch; }
.panel-wrap { grid-area: panel; }
.steps { grid-area: steps; }

h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
}
h1 .nw { white-space: nowrap; }
h1 mark {
  background: var(--sun); color: var(--ink);
  padding: 0 .08em; margin: 0 -.02em; border-radius: .14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead {
  margin: 24px 0 0;
  max-width: 46ch;
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--mute);
  text-wrap: pretty;
}

/* Os quatro passos */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li {
  display: grid; grid-template-columns: 18px 1fr; gap: 16px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.steps .box {
  width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid var(--paper);
  margin-top: 3px;
}
.steps strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.022em; line-height: 1.15; }
.steps span:not(.box) { display: block; margin-top: 4px; font-size: 15px; color: var(--mute); text-wrap: pretty; }

/* Painel de vidro com a folha atrás */
.panel-wrap { position: relative; padding-top: 22px; }
.sheet {
  position: absolute; z-index: 0; pointer-events: none;
  width: 50%; right: -16%; top: -5%;
  transform: rotate(6deg);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .55);
  opacity: .92;
}
.goal {
  position: absolute; z-index: 2; left: -18px; top: -42px;
  width: 96px; height: 96px; border-radius: 24px;
  background: var(--ink); color: var(--sun); text-align: center;
  border: 1px solid rgba(244, 243, 239, .2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .5);
}
.goal b { display: block; font-size: 46px; font-weight: 900; letter-spacing: -.04em; line-height: 1; padding-top: 15px; }
.goal b i { font-style: normal; font-size: 22px; vertical-align: top; margin-left: 1px; }
.goal small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: 5px; color: var(--paper); }
.panel {
  position: relative; z-index: 1;
  border-radius: 26px;
  padding: clamp(26px, 3vw, 36px);
  background: rgba(12, 12, 13, .68);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  backdrop-filter: blur(28px) saturate(1.15);
  border: 1px solid rgba(244, 243, 239, .17);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(244, 243, 239, .22);
}
.panel-head { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: start; }
.panel-head .box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--paper); margin-top: 6px; }
.panel h2 { margin: 0; font-size: 27px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.panel .hint { margin: 8px 0 20px; font-size: 15px; color: var(--mute); text-wrap: pretty; }

label { display: block; margin-top: 14px; font-size: 14px; font-weight: 700; letter-spacing: .005em; }
label em { font-style: normal; font-weight: 500; color: var(--mute); margin-left: 6px; }
input {
  display: block; width: 100%; margin-top: 7px;
  padding: 14px 16px;
  font: inherit; font-size: 17px; color: var(--paper);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  caret-color: var(--sun);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input::placeholder { color: rgba(180, 179, 174, .72); }
input:hover { background: var(--field-hover); }
input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 215, 51, .24); background: var(--field-hover); }
input.is-invalid { border-color: var(--alert); box-shadow: 0 0 0 3px rgba(255, 180, 166, .18); }
input:-webkit-autofill, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--paper);
  -webkit-box-shadow: 0 0 0 1000px #1c1c1e inset;
  transition: background-color 9999s ease-in-out 0s;
}

.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.error { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--alert); }
.error[hidden] { display: none; }

.cta {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 22px;
  padding: 17px 20px;
  border: 0; border-radius: 14px;
  background: var(--sun); color: var(--ink);
  font: inherit; font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s;
}
.cta:hover { background: var(--sun-2); transform: translateY(-1px); box-shadow: 0 16px 32px rgba(0, 0, 0, .42); }
.cta:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.cta:disabled { cursor: progress; }
.cta-inline { display: inline-flex; width: auto; padding: 14px 22px; }
.cta-spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(12, 12, 13, .22); border-top-color: var(--ink);
  animation: spin .8s linear infinite;
}
.cta.is-busy .cta-spinner { display: block; }
.cta-check { display: none; width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cta-check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.cta.is-done .cta-label, .cta.is-done .cta-spinner { display: none; }
.cta.is-done .cta-check { display: block; }
.cta.is-done .cta-check path { animation: draw .45s var(--ease) forwards; }

.legal { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }

/* Estado de sucesso */
.done[hidden] { display: none; }
.done-head { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.done-box {
  width: 22px; height: 22px; border-radius: 6px; margin-top: 4px;
  border: 2px solid var(--paper); background: var(--sun);
  display: grid; place-items: center;
}
.done-box svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.done-box svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .15s var(--ease) forwards; }
.done h2 { padding-right: 0; }
.done .hint { margin-top: 10px; }
.done .cta { margin-top: 18px; }
.proof { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.proof strong { display: block; font-size: 14px; font-weight: 800; letter-spacing: .005em; }
.proof p { margin: 6px 0 0; font-size: 14px; color: var(--mute); text-wrap: pretty; }
.proof code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; color: var(--paper);
  background: rgba(244, 243, 239, .09); padding: 2px 6px; border-radius: 6px;
}

/* Rodapé */
.foot {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: end;
  margin-top: clamp(72px, 12vh, 140px);
  padding-top: 22px;
  border-top: 2px solid rgba(244, 243, 239, .85);
}
.foot .brand { font-size: 20px; }
.foot .tag { margin: 8px 0 0; font-size: 14px; color: var(--mute); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.foot-links a { font-size: 14px; font-weight: 600; color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s; }
.foot-links a:hover { border-color: var(--paper); }
.foot .fine { margin: 0; font-size: 13px; color: var(--mute); text-align: right; }

/* 404 */
.page-404 h1 { font-size: clamp(36px, 5vw, 64px); }
.page-404 .lead { margin-bottom: 28px; }

/* Movimento, uma entrada só, orquestrada */
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .reveal { animation: rise .85s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { animation: none; }
  .cta, .top-link, .foot-links a, input { transition: none; }
  html { scroll-behavior: auto; }
}

/* Celular e telas estreitas */
@media (max-width: 900px) {
  .page { padding: 16px 18px 36px; }
  .top { padding-bottom: 12px; }
  .brand img { height: 26px; }
  .foot .brand img { height: 26px; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "pitch" "panel" "steps";
    row-gap: 20px;
  }
  h1 { font-size: clamp(34px, 10vw, 44px); }
  .lead { margin-top: 12px; font-size: 15.5px; max-width: 36ch; }
  .panel-wrap { padding-top: 24px; margin-top: 0; }
  .sheet { width: 40%; right: 0; top: 0; }
  .goal { width: 78px; height: 78px; border-radius: 20px; left: -6px; top: -24px; }
  .goal b { font-size: 37px; padding-top: 12px; }
  .goal small { font-size: 8px; margin-top: 4px; }
  .panel { padding: 30px 18px 18px; border-radius: 22px; }
  label { margin-top: 10px; }
  input { padding: 12px 14px; }
  .cta { margin-top: 16px; padding: 15px 18px; }
  .panel h2 { font-size: 24px; }
  input { font-size: 16px; }
  .steps strong { font-size: 17px; }
  .foot { grid-template-columns: 1fr; gap: 18px; align-items: start; margin-top: 64px; }
  .foot-links { justify-content: flex-start; gap: 16px; }
  .foot .fine { text-align: left; }
}
@media (max-width: 380px) {
  .page { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 35px; }
}
