/* ═══════════════════════════════════════════════════════════════════════
   SPOON · Site Creator — home
   ═══════════════════════════════════════════════════════════════════════ */

.pular { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.pular:focus { top: 12px; }

/* ── topo ─────────────────────────────────────────────────────────── */
.topo { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.topo.rolou { border-bottom-color: var(--line); }
.topo-in { max-width: var(--max); margin: 0 auto; padding: 14px var(--borda-tela); display: flex; align-items: center; gap: 28px; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink-2); padding: 10px 14px; border-radius: 999px; transition: color .15s ease, background-color .15s ease; }
.menu a:hover { color: var(--ink); background: var(--mist); }
.topo-cta { min-height: 46px; padding: 0 22px; font-size: 15px; }
.menu-botao { display: none; }

/* ── hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.fita { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.fita-traco { fill: none; stroke: url(#g-fita); stroke-width: 54; stroke-linecap: round; opacity: .9; stroke-dasharray: 1; stroke-dashoffset: 1; animation: desenhar 2.2s cubic-bezier(.65, 0, .35, 1) .25s forwards; }
@keyframes desenhar { to { stroke-dashoffset: 0; } }

.hero-in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--borda-tela) clamp(150px, 16vw, 230px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 26px; max-width: 13ch; text-wrap: balance; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 46ch; margin: 0 0 34px; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-historia { margin: 0; max-width: 40ch; font-size: 16px; color: var(--ink-2); background: rgba(255, 255, 255, .78); border-radius: 14px; }
.hero-historia strong { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.15em; }
.hero-marca { justify-self: center; position: relative; }
.hero-marca::before { content: ""; position: absolute; inset: 12% -6% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(123, 47, 247, .22), rgba(18, 214, 240, .12) 55%, transparent); filter: blur(30px); z-index: -1; }
.hero-marca img { width: clamp(180px, 24vw, 340px); height: auto; animation: chegar 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes chegar { from { opacity: 0; transform: translateY(18px) rotate(-4deg) scale(.96); } to { opacity: 1; transform: none; } }

/* ── seções ───────────────────────────────────────────────────────── */
.secao { padding: clamp(72px, 9vw, 124px) 0; }
.secao-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--borda-tela); }
.secao-cab { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.secao h2, .chamada h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; text-wrap: balance; }
.secao-cab p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 56ch; }

/* ── vitrine de trabalhos (prints reais em moldura de navegador) ─── */
.vitrine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 34px); }
.peca { margin: 0; }
.nav-mock { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; background: #EDECF6; border-radius: 16px 16px 0 0; }
.nav-mock i { width: 9px; height: 9px; border-radius: 50%; background: #CFCDE2; }
.nav-mock b { flex: 1; height: 12px; margin-left: 10px; max-width: 200px; border-radius: 6px; background: #fff; }
.print { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 833; object-fit: cover; object-position: top center; border-radius: 0 0 16px 16px; background: var(--mist); box-shadow: 0 1px 0 var(--line), 0 22px 44px -26px rgba(22, 19, 63, .45); }
.peca figcaption { margin-top: 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 54ch; }
.peca figcaption strong { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--ink); margin-bottom: 2px; }
.peca-tipo { display: block; font-weight: 700; color: var(--violeta); font-size: 14.5px; margin-bottom: 6px; }

/* ── como funciona (fundo índigo) ─────────────────────────────────── */
.secao-tinta { background: var(--ink); color: #fff; }
.secao-tinta .secao-cab p { color: rgba(255, 255, 255, .72); }
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.passos::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 4px; border-radius: 4px; background: var(--fita); opacity: .9; }
.passos li { position: relative; }
.passo-n { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 22px; position: relative; }
.passos h3 { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; margin: 0 0 10px; }
.passos p { margin: 0; color: rgba(255, 255, 255, .74); font-size: 16px; max-width: 30ch; }

/* ── área do cliente ──────────────────────────────────────────────── */
.cliente { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cliente-texto > p { color: var(--ink-2); font-size: 18px; margin: 0 0 30px; max-width: 48ch; }
.cliente-form { display: grid; gap: 18px; max-width: 520px; }
.cliente-linha { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s ease; overflow: hidden; }
.cliente-linha:focus-within { border-color: var(--violeta); }
.cliente-prefixo { display: flex; align-items: center; padding: 0 4px 0 16px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.cliente-linha input { border: 0; min-height: 50px; padding: 0 14px 0 2px; flex: 1; min-width: 0; font-size: 16px; background: transparent; }
.cliente-linha input:focus { outline: none; }
.cliente-form .btn { justify-self: start; }
.campo-erro { color: #C2185B; }

.cliente-ilustra { display: grid; place-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--mist); position: relative; overflow: hidden; }
.cliente-ilustra::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px; background: var(--fita); filter: blur(40px); opacity: .35; }
.cadeado-mock { position: relative; z-index: 1; width: min(320px, 100%); background: #fff; border-radius: 22px; padding: 30px 28px; display: grid; justify-items: center; gap: 14px; box-shadow: 0 24px 50px -28px rgba(22, 19, 63, .45); }
.cadeado-mock strong { font-family: var(--display); font-weight: 600; font-size: 17px; }
.cm-campo { width: 100%; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; color: var(--ink-3); letter-spacing: .2em; }
.cm-botao { width: 100%; text-align: center; padding: 13px; border-radius: 999px; background: var(--azul); color: #fff; font-weight: 700; font-size: 15px; }

/* ── chamada final (a outra aparição da fita) ─────────────────────── */
.chamada { background: linear-gradient(100deg, var(--azul) 0%, var(--violeta) 38%, var(--magenta) 62%, var(--rosa) 78%, var(--laranja) 92%, var(--sol) 100%); color: #fff; }
.chamada-in { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--borda-tela); }
.chamada h2 { font-size: clamp(36px, 5.4vw, 72px); max-width: 14ch; margin-bottom: 20px; text-shadow: 0 2px 24px rgba(22, 19, 63, .25); }
.chamada p { font-size: 19px; max-width: 46ch; margin: 0 0 34px; text-shadow: 0 1px 12px rgba(22, 19, 63, .3); }

/* ── rodapé ───────────────────────────────────────────────────────── */
.rodape { border-top: 1px solid var(--line); }
.rodape-in { max-width: var(--max); margin: 0 auto; padding: 36px var(--borda-tela); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.rodape p { margin: 0; color: var(--ink-3); font-size: 15px; }

/* ── responsivo ───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .passos::before { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-botao { display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 12px; background: var(--mist); cursor: pointer; }
  .menu-risco, .menu-risco::before, .menu-risco::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s ease, background-color .2s ease; }
  .menu-risco::before, .menu-risco::after { content: ""; position: absolute; left: 0; }
  .menu-risco::before { top: -6px; }
  .menu-risco::after { top: 6px; }
  .menu-botao[aria-expanded="true"] .menu-risco { background: transparent; }
  .menu-botao[aria-expanded="true"] .menu-risco::before { transform: translateY(6px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] .menu-risco::after { transform: translateY(-6px) rotate(-45deg); }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--borda-tela) 18px; background: #fff; border-bottom: 1px solid var(--line); }
  .menu.aberto { display: flex; }
  .menu a { padding: 14px 4px; border-radius: 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .topo-cta { display: none; }

  .hero-in { grid-template-columns: 1fr; padding-bottom: 250px; }
  .fita { top: auto; height: 240px; }
  .hero-marca { order: -1; justify-self: start; }
  .hero-marca img { width: 108px; }
  .fita-traco { stroke-width: 40; }

  .vitrine { grid-template-columns: 1fr; }
  .passos { grid-template-columns: 1fr; }
  .cliente { grid-template-columns: 1fr; }
  .cliente-ilustra { display: none; }
  .cliente-form .btn { justify-self: stretch; }
}
