/* ============================================================================
   Salvar Links — site oficial · base
   Reset, fundo com brilhos e ondas, cabeçalho, botões, títulos de seção,
   rodapé e animação de entrada.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: rgba(139, 92, 246, 0.45); }

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

/* ---- fundo: brilhos roxo/azul + ondas, como nas artes da loja ---- */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% -6%, rgba(124, 77, 255, 0.42), transparent 70%),
    radial-gradient(circle at 96% 38%, rgba(61, 90, 254, 0.22), transparent 34%),
    radial-gradient(circle at 0% 78%, rgba(139, 92, 246, 0.20), transparent 36%),
    var(--bg);
}
.bg svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46vh; }

/* ---- cabeçalho ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 12, 29, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--soft); font-weight: 500; font-size: 15.5px; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

/* ---- botões ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 16px;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px var(--glow); }
.btn--primary:hover { box-shadow: 0 14px 36px rgba(110, 90, 255, 0.6); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--sm { padding: 10px 16px; font-size: 14.5px; border-radius: 13px; }
.ic-gplay { width: 20px; height: 20px; flex-shrink: 0; }
.btn--sm .ic-gplay { width: 17px; height: 17px; }

/* ---- títulos de seção ---- */
.block { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: 14px; font-weight: 600;
}
.section-head .chip { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--soft); font-size: 18px; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- rodapé ---- */
footer { border-top: 1px solid var(--line-soft); padding: 48px 0 40px; background: rgba(8, 12, 29, 0.6); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--soft); font-size: 15px; }
.foot-links a:hover { color: var(--text); }
.foot-links svg { width: 17px; height: 17px; }
.foot-legal { margin-top: 28px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---- animação de entrada (respeita quem prefere menos movimento) ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .searchpill .caret { animation: none !important; }
}

/* ---- celular ---- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .site-header .wrap { height: 64px; justify-content: space-between; }
  .brand { font-size: 18px; }
  .brand img { width: 36px; height: 36px; }
  .block { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 16.5px; }
}
