/* Base do template BG Site Creator — estilos estruturais e de motion. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }

/* Tipografia */
.headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 0.4em;
}
.headline em { font-style: italic; color: var(--accent); }
.caps-meta {
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-size: 11px;
  opacity: 0.7;
}
.sub { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted); max-width: 52ch; }

/* Nav pill */
.pill-nav {
  position: fixed; top: 16px; left: 50%; translate: -50% 0; z-index: 50;
  display: flex; gap: 22px; align-items: center;
  padding: 12px 26px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  font-size: 14px;
}
.pill-nav a { text-decoration: none; opacity: 0.85; }
.pill-nav a:hover { opacity: 1; }

/* Hero pin (scroll-scrub) */
.hero-pin { height: 400vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}
.hero-sticky canvas, .hero-sticky video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: relative; z-index: 2; text-align: center; padding: 0 24px;
  text-shadow: 0 2px 24px rgb(0 0 0 / 45%);
}
.hero-social-proof {
  display: flex; gap: 18px; justify-content: center; align-items: center;
  margin-top: 2rem; flex-wrap: wrap;
}
.hero-social-proof span { white-space: nowrap; }
.hero-social-proof .sep { opacity: 0.35; }

/* Seções */
section { padding: var(--section-pad) clamp(20px, 6vw, 80px); }
.section-label { composes: caps-meta; }
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
  border-radius: var(--radius); padding: 28px;
  background: color-mix(in srgb, var(--fg) 4%, transparent);
}
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: var(--bg);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Pricing */
.pricing { align-items: stretch; }
.pricing .card.featured {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* Botões */
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 999px;
  background: var(--accent); color: var(--bg);
  font-weight: 700; text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); }

/* Footer */
footer { position: relative; overflow: hidden; padding: var(--section-pad) clamp(20px, 6vw, 80px) 3rem; }
.watermark {
  position: absolute; bottom: -0.18em; left: 50%; translate: -50% 0;
  font-family: var(--font-display); font-size: clamp(4rem, 18vw, 16rem);
  opacity: 0.06; white-space: nowrap; pointer-events: none; line-height: 1;
}

@media (max-width: 768px) {
  .pill-nav { gap: 12px; padding: 8px 10px 8px 20px; font-size: 13px; white-space: nowrap; }
  .pill-nav a:not(.btn) { display: none; }
  .hero-pin { height: 300vh; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pin { height: auto; }
  .hero-sticky { position: relative; height: 100vh; }
}
