/* ============================================================
   Social Flow — landing

   Regras da página:
   · Raio travado: botões/chips = pill · cartões = 18px · telas = 12px
   · O destaque é um gradiente só (--grad), do violeta ao âmbar. Ele
     aparece em poucos lugares — marca, botão, um pedaço do título.
     As cores fortes que sobram são identidade das marcas de exemplo,
     não decoração.
   · Página clara e com muito respiro. Cor forte só dentro do produto:
     os slides usam a paleta real da conta, e é isso que dá cor à tela.
   · Movimento nativo (`animation-timeline`, transições) em tudo, menos
     a janela do Diretor no hero — essa mora em /lp/hero.js e é opcional.
   ============================================================ */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/lp/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/lp/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/lp/fonts/geist-mono-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-2: #f7f8fb;
  --surface: #ffffff;
  --line: rgba(10, 12, 18, 0.09);
  --line-2: rgba(10, 12, 18, 0.16);

  --fg: #0a0c12;
  --fg-2: #4a5261;
  --fg-3: #7c8494;

  /* O escuro é levemente azulado: preto puro faz o gradiente parecer
     neon barato em cima dele. */
  --ink: #07080d;
  --ink-2: #0d1018;
  --on-ink: #ffffff;
  --on-ink-2: rgba(255, 255, 255, 0.64);
  --on-ink-3: rgba(255, 255, 255, 0.42);
  --ink-line: rgba(255, 255, 255, 0.1);

  --g1: #7b3ff2;
  --g2: #ef2d78;
  --g3: #ff8a3d;
  --grad: linear-gradient(100deg, var(--g1), var(--g2) 54%, var(--g3));

  --accent: #7b3ff2;
  --accent-hi: #6a2ee0;
  --accent-soft: rgba(123, 63, 242, 0.09);

  /* Cor da marca que está na frente do baralho. O hero.js troca. */
  --live: 245 158 11;

  --shadow-sm: 0 1px 2px rgba(10, 12, 18, 0.05);
  --shadow-md: 0 18px 40px -28px rgba(20, 24, 40, 0.45);
  --shadow-lg: 0 44px 90px -40px rgba(0, 0, 0, 0.65);

  --r-pill: 999px;
  --r-card: 18px;
  --r-shot: 12px;

  --wrap: 1200px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --nav-h: 4.75rem;

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--fg);
  color: #fff;
  border-radius: 0 0 var(--r-shot) 0;
}
.skip:focus {
  left: 0;
}

:where(a, button):focus-visible {
  outline: 2px solid var(--g2);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ── tipografia ───────────────────────────────────────── */

.h1 {
  /* Sem imagem no hero, este é o LCP. */
  display: grid;
  font-size: clamp(2.15rem, 4.6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

/* O gradiente entra numa linha só. Em duas ele vira papel de parede e
   o título para de ter um ponto de fuga. */
.ln--hi > span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 700;
  text-wrap: balance;
}

.lede {
  margin-top: 1.1rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--fg-2);
}
.lede b {
  color: var(--fg);
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

.fine {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--fg-3);
}

/* ── botões e links ───────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--grad);
  background-size: 160% 100%;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 0;
  box-shadow: 0 10px 30px -14px rgba(239, 45, 120, 0.85);
  transition:
    background-position 0.55s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.14s var(--ease);
}
.btn:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 38px -14px rgba(239, 45, 120, 0.95);
}
.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--bg-2);
  box-shadow: none;
}

.lnk {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg-2);
  transition: color 0.2s var(--ease);
}
.lnk:hover {
  color: var(--fg);
}
.lnk--arrow::after {
  content: " →";
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.lnk--arrow:hover::after {
  transform: translateX(3px);
}

/* ── nav ──────────────────────────────────────────────── */
/* Barra flutuante de vidro claro. Fixa, para o topo da página não ter
   uma faixa cinza permanente por cima da tela do produto. */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 0.85rem;
  pointer-events: none;
}

.nav__bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 3.5rem;
  padding-right: 0.6rem;
  padding-left: 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  pointer-events: auto;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

/* No topo a barra não existe; depois que a página rola ela ganha vidro
   e sombra. Sem isso, ou pesa em cima do hero, ou some no meio do
   conteúdo claro. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .nav__bar {
      animation: nav-weight linear both;
      animation-timeline: scroll();
      animation-range: 0 140px;
    }
    @keyframes nav-weight {
      to {
        background: rgba(255, 255, 255, 0.78);
        border-color: var(--line);
        box-shadow: 0 20px 40px -34px rgba(20, 24, 40, 0.6);
        backdrop-filter: blur(18px) saturate(140%);
      }
    }
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
}
.brand__mark svg {
  width: 1.15rem;
  height: 1.15rem;
}

.nav__links {
  display: none;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--fg-2);
}
.nav__links a {
  transition: color 0.2s var(--ease);
}
.nav__links a:hover {
  color: var(--fg);
}

.nav__act {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav__act .lnk {
  display: none;
}

@media (min-width: 900px) {
  .nav__links,
  .nav__act .lnk {
    display: flex;
  }
}

/* ── hero ─────────────────────────────────────────────── */
/* Título centrado e curto; o peso visual é a janela do produto logo
   abaixo. Nenhuma imagem no caminho crítico: a janela é HTML. */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: calc(var(--nav-h) + clamp(1.75rem, 4vw, 3rem)) clamp(3rem, 6vw, 4.5rem);
}

/* Um brilho muito baixo atrás do título. É o único lugar da página em
   que o gradiente aparece fora de um elemento sólido. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 42rem;
  background:
    radial-gradient(46rem 26rem at 50% -6rem, rgba(123, 63, 242, 0.13), transparent 70%),
    radial-gradient(38rem 22rem at 78% 2rem, rgba(239, 45, 120, 0.1), transparent 72%),
    radial-gradient(34rem 20rem at 20% 6rem, rgba(255, 138, 61, 0.09), transparent 74%);
}

.hero__in {
  display: grid;
  justify-items: center;
  text-align: center;
  /* Aperto de propósito: a janela do produto precisa aparecer na
     primeira dobra, senão o hero volta a ser só um título. */
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.hero .lede {
  margin-inline: auto;
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.6rem;
  margin-top: 1.7rem;
}

/* ── a janela do Diretor ───────────────────────────────── */
/* Não é print: é a tela remontada em HTML, e ela roda de verdade. Print
   envelhece em uma semana; isto acompanha o produto. */

.app {
  --b1: #d7dee6;
  --b2: #ff4546;
  --tint: #10161d;

  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow:
    0 2px 6px rgba(20, 24, 40, 0.04),
    0 50px 100px -50px rgba(20, 24, 40, 0.4);
}

.app__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.app__dots {
  display: flex;
  gap: 0.35rem;
}
.app__dots i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--line-2);
}
.app__bar p {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

.app__body {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .app__body {
    grid-template-columns: 12rem minmax(0, 1fr);
  }
}

.app__side {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.1rem 0.9rem;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}
@media (min-width: 860px) {
  .app__side {
    display: flex;
  }
}
.app__logo {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 7px;
  background: var(--grad);
}
.app__side ul {
  display: grid;
  gap: 0.15rem;
  font-size: 0.78rem;
  color: var(--fg-3);
}
.app__side li {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.app__side li.on {
  background: var(--surface);
  color: var(--fg);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.app__main {
  display: grid;
  gap: 1px;
  background: var(--line);
}
@media (min-width: 860px) {
  .app__main {
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  }
}

.pane {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  background: var(--surface);
}
.pane__lbl {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fg-3);
}
.pane__lbl:first-child {
  margin-top: 0;
}

.acct {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.82rem;
}
.acct i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--c, var(--b2));
}

.field {
  min-height: 4.2rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--fg-2);
}
.field.is-typing {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 0.1em;
  vertical-align: -0.1em;
  background: var(--accent);
  animation: caret 0.85s steps(1, end) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

.chips {
  display: flex;
  gap: 0.35rem;
}
.chips span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--fg-3);
}
.chips span.on {
  border-color: transparent;
  background: var(--fg);
  color: #fff;
}

.gen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}
.gen i {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
}
.gen.is-busy i {
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}
.gen.is-done {
  background: var(--fg);
}
.gen.is-done i {
  border-color: transparent;
  border-radius: 0;
  width: 0.5rem;
  height: 0.8rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(42deg) translate(-1px, -2px);
}

/* A identidade não é enfeite do painel: é a resposta para "como ele
   sabe a cor da marca?". As amostras seguem a conta da vez. */
.ident {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--fg-3);
}
.ident__sw {
  display: flex;
  flex: none;
}
.ident__sw i {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1.5px solid var(--surface);
  transition: background 0.6s var(--ease);
}
.ident__sw i + i {
  margin-left: -0.3rem;
}
.ident__sw .sw1 {
  background: var(--b1);
}
.ident__sw .sw2 {
  background: var(--b2);
}
.ident__sw .sw3 {
  background: var(--tint);
}

.canvas {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  background: var(--bg-2);
}

.big {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 14rem);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  border-radius: 12px;
  background: linear-gradient(150deg, var(--b1), color-mix(in srgb, var(--b1) 74%, #000));
  color: var(--tint);
  box-shadow: 0 24px 50px -30px rgba(20, 24, 40, 0.6);
  transition: background 0.6s var(--ease);
}
.big.is-empty {
  background: var(--surface);
  border: 1px dashed var(--line-2);
  box-shadow: none;
}
.big.is-swap .big__h {
  animation: swap 0.45s var(--ease) both;
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.big__top {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  opacity: 0.75;
}
.big.is-empty .big__top,
.big.is-empty .big__foot {
  color: var(--fg-3);
  opacity: 1;
}
.big__h {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
.big__foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  opacity: 0.75;
}
.big__foot i {
  width: 1.6rem;
  height: 3px;
  border-radius: 2px;
  background: var(--b2);
}

@media (min-width: 860px) {
  .big {
    width: min(100%, 17rem);
  }
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}
.thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 0.4rem;
  border: 1px dashed var(--line-2);
  border-radius: 7px;
  background: var(--surface);
  font-size: 0.42rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: transparent;
}
.thumb.is-on {
  border: 0;
  background: linear-gradient(150deg, var(--b1), color-mix(in srgb, var(--b1) 74%, #000));
  color: var(--tint);
  animation: pop 0.45s var(--ease) both;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* ── contas → fila ────────────────────────────────────── */

.merge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.merge__accts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.merge__accts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  color: var(--fg-2);
  white-space: nowrap;
}
.merge__accts li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--c);
}

/* Um ponto atravessa a seta o tempo todo: é a fila andando. */
.merge__to {
  position: relative;
  width: 2.25rem;
  height: 1px;
  background: var(--line-2);
}
.merge__to::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 3.5px solid transparent;
  border-left-color: var(--line-2);
}
.merge__to i {
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--g2);
}

.merge__out {
  font-size: 0.95rem;
  color: var(--fg-2);
}
.merge__out b {
  color: var(--fg);
}

/* ── seções ───────────────────────────────────────────── */

.sec {
  padding-block: clamp(4rem, 9vw, 7rem);
}
.sec--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.sec__head {
  max-width: 52rem;
}
.sec__head .tag {
  margin-bottom: 1.25rem;
}
.sec__lede {
  margin-top: 1.25rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  color: var(--fg-2);
}
.sec__lede b {
  color: var(--fg);
  font-weight: 600;
}

/* ── passos ───────────────────────────────────────────── */

.steps {
  display: grid;
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
}
.steps__n {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.steps h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.steps p {
  margin-top: 0.4rem;
  font-size: 0.925rem;
  color: var(--fg-2);
}

/* ── telas ────────────────────────────────────────────── */

.shot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-shot);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* ── preço ────────────────────────────────────────────── */

.plans {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 760px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 46rem;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.plan--hi {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
}
.plan__flag {
  position: absolute;
  top: -0.7rem;
  left: clamp(1.5rem, 3vw, 2rem);
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan h3 {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.plan__p {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.plan__p b {
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.035em;
}
.plan__p span {
  color: var(--fg-3);
  font-size: 0.9rem;
}
.plan ul {
  display: grid;
  gap: 0.55rem;
  margin-block: 0.25rem auto;
  font-size: 0.925rem;
  color: var(--fg-2);
}
.plan li {
  display: flex;
  gap: 0.6rem;
}
.plan li::before {
  content: "";
  flex: none;
  margin-top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--grad);
}
.plan .btn {
  margin-top: 0.5rem;
}

/* ── fim ──────────────────────────────────────────────── */

.end {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(5rem, 11vw, 8.5rem);
  border-top: 1px solid var(--line);
  text-align: center;
}
.end__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40%;
  width: min(70rem, 130%);
  aspect-ratio: 2 / 1;
  translate: -50% 0;
  background: var(--grad);
  filter: blur(120px);
  opacity: 0.14;
}
.end__in {
  display: grid;
  justify-items: center;
  gap: 1.9rem;
}
.end .h2 {
  max-width: 20ch;
}
.end .fine {
  margin: 0;
}

/* ── rodapé ───────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 2.25rem;
  color: var(--fg-3);
}
.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  font-size: 0.875rem;
}
.foot__in > p {
  margin-right: auto;
}
.brand--sm {
  margin-right: 0;
  font-size: 0.95rem;
  color: var(--fg);
}
.brand--sm .brand__mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 7px;
}
.brand--sm .brand__mark svg {
  width: 0.95rem;
  height: 0.95rem;
}
.foot__links {
  display: flex;
  gap: 1.25rem;
}
.foot__links a {
  transition: color 0.2s var(--ease);
}
.foot__links a:hover {
  color: var(--fg);
}

/* ── movimento ────────────────────────────────────────── */
/* Fora do @media/@supports nada se move e nada fica escondido: o estado
   inicial só existe onde a animação de fato roda. */

@media (prefers-reduced-motion: no-preference) {
  /* Entrada do hero: uma escada curta. O h1 é o LCP, então ele sobe
     primeiro e rápido — meio segundo, não dois. */
  .rv {
    animation: rv 0.6s var(--ease) both;
    animation-delay: var(--d, 0ms);
  }
  @keyframes rv {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }

  .ln {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
  }
  .ln > span {
    display: block;
    animation: ln 0.62s var(--ease) both;
    animation-delay: var(--d, 0ms);
  }
  @keyframes ln {
    from {
      transform: translateY(105%);
    }
  }

  /* A janela chega deitada e levanta. Meio segundo depois do título,
     para os dois não competirem pela atenção na primeira dobra. */
  .app {
    animation: land 1s var(--ease) 0.45s both;
    transform-origin: 50% 100%;
  }
  @keyframes land {
    from {
      opacity: 0;
      transform: perspective(1800px) rotateX(11deg) translateY(34px) scale(0.96);
    }
  }

  .merge__to i {
    animation: run 2.4s var(--ease) infinite;
  }
  @keyframes run {
    0% {
      left: 0;
      opacity: 0;
    }
    20%,
    75% {
      opacity: 1;
    }
    100% {
      left: 100%;
      opacity: 0;
    }
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec__head,
    .steps,
    .shot,
    .plans,
    .end__in {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 26%;
    }

    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(28px);
      }
    }

    /* A tela do produto avança de leve enquanto sobe na viewport. */
    .shot img {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    @keyframes settle {
      from {
        transform: scale(1.045);
      }
      to {
        transform: scale(1);
      }
    }
  }
}
