/* =============================================================================
 * marketing.css — landing institucional PÚBLICA (/). Usa os TOKENS do DS Merion
 * (--brand, --foreground, --card, --muted-foreground, --border, --radius…) —
 * nada de cor hardcoded fora dos tokens de marca. Classes namespaced `mkt-`
 * p/ não colidir com o app-chrome. Servido de /public (self-host, CSP-safe).
 * ========================================================================== */

.mkt {
  --mkt-max: 1120px;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--ui-font);
}

/* Reset de LINKS de texto (nav/footer) — NÃO os botões do DS. `.mkt a` é
   (0,1,1) e venceria `.btn-brand` (0,1,0), forçando `color: inherit` (=fg claro)
   nos botões-âncora → texto branco ilegível no botão ciano. Excluímos `.btn` do
   reset de cor; os botões mantêm a cor da própria variante (btn-brand →
   var(--brand-contrast)). O text-decoration:none vale p/ todos os <a>. */
.mkt a { text-decoration: none; }
.mkt a:not(.btn) { color: inherit; }

.mkt-shell { max-width: var(--mkt-max); margin: 0 auto; padding: 0 24px; }

/* ── Top nav ─────────────────────────────────────────────────────────────── */
.mkt-nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
}
.mkt-nav-inner {
  max-width: var(--mkt-max); margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mkt-brand { display: inline-flex; align-items: center; gap: 12px; }
.mkt-brand-name {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.mkt-nav-links { display: flex; align-items: center; gap: 26px; }
.mkt-nav-link {
  font-size: 14px; font-weight: 500; color: var(--muted-foreground);
  transition: color .14s ease;
}
.mkt-nav-link:hover { color: var(--foreground); }
.mkt-nav-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 780px) { .mkt-nav-links { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.mkt-hero { position: relative; overflow: hidden; }
.mkt-hero-glow {
  position: absolute; z-index: 0; top: -260px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, transparent), transparent 62%);
}
.mkt-hero-inner {
  position: relative; z-index: 1;
  padding: 96px 0 80px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.mkt-h1 {
  font-size: clamp(36px, 6vw, 60px); font-weight: 700; line-height: 1.03;
  letter-spacing: -.02em; margin: 0; max-width: 900px;
}
.mkt-h1 .mkt-accent { color: var(--brand); }
.mkt-lede {
  font-size: clamp(16px, 2.2vw, 19px); font-weight: 300; line-height: 1.75;
  color: var(--muted-foreground); max-width: 640px; margin: 0;
}
.mkt-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mkt-hero-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted-foreground);
}
.mkt-hero-note .ic { color: var(--brand); font-size: 15px; }

/* domain pill under the hero */
.mkt-domain {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-pill, 999px);
  background: var(--card); font-size: 14px; font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}
.mkt-domain .mkt-slug { color: var(--foreground); font-weight: 600; }
.mkt-domain .mkt-zone { color: var(--brand); font-weight: 600; }

/* ── Section frame ───────────────────────────────────────────────────────── */
.mkt-section { padding: 84px 0; }
.mkt-section + .mkt-section { border-top: 1px solid var(--border); }
.mkt-section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.mkt-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 12px;
}
.mkt-h2 {
  font-size: clamp(26px, 4vw, 36px); font-weight: 700; line-height: 1.12;
  letter-spacing: -.02em; margin: 0 0 14px;
}
.mkt-h2-sub { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--muted-foreground); margin: 0; }

/* ── Features grid ───────────────────────────────────────────────────────── */
.mkt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .mkt-grid { grid-template-columns: 1fr; } }
.mkt-feature {
  border: 1px solid var(--border); border-radius: var(--radius-lg, 16px);
  background: var(--card); padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.mkt-feature-ic {
  width: 44px; height: 44px; border-radius: var(--radius-md, 12px);
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent);
  color: var(--brand); font-size: 20px;
}
.mkt-feature-title { font-size: 17px; font-weight: 600; margin: 0; }
.mkt-feature-text { font-size: 14.5px; line-height: 1.65; color: var(--muted-foreground); margin: 0; }

/* ── How it works (steps) ───────────────────────────────────────────────── */
.mkt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .mkt-steps { grid-template-columns: 1fr; } }
.mkt-step { display: flex; flex-direction: column; gap: 12px; }
.mkt-step-n {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  color: var(--brand-contrast, #081A1F); background: var(--brand);
}
.mkt-step-title { font-size: 17px; font-weight: 600; margin: 0; }
.mkt-step-text { font-size: 14.5px; line-height: 1.65; color: var(--muted-foreground); margin: 0; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.mkt-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .mkt-plans { grid-template-columns: 1fr; } }
.mkt-plan {
  position: relative;
  border: 1px solid var(--border); border-radius: var(--radius-lg, 16px);
  background: var(--card); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.mkt-plan.is-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 20px 60px -30px color-mix(in srgb, var(--brand) 60%, transparent);
}
.mkt-plan.is-placeholder { opacity: .82; }
.mkt-plan-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: var(--brand-contrast, #081A1F);
}
.mkt-plan-name { font-size: 20px; font-weight: 700; margin: 0; }
.mkt-plan-price { display: flex; align-items: baseline; gap: 8px; }
.mkt-plan-price-main { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.mkt-plan-price-note { font-size: 13px; color: var(--muted-foreground); }
.mkt-plan-badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted-foreground);
}
.mkt-plan-feats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mkt-plan-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.mkt-plan-feat .ic { color: var(--brand); font-size: 16px; margin-top: 1px; flex: none; }
.mkt-plan-feat .k { color: var(--muted-foreground); }
.mkt-plan-feat .v { font-weight: 600; }
.mkt-plan-cta { margin-top: auto; }
.mkt-plan-cta .btn { width: 100%; }

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.mkt-cta {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-xl, 20px);
  background:
    radial-gradient(600px 300px at 50% -40%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    var(--card);
  padding: 64px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.mkt-cta .mkt-h2 { margin-bottom: 0; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.mkt-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.mkt-footer-inner {
  max-width: var(--mkt-max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.mkt-footer-copy { font-size: 13px; color: var(--muted-foreground); }
.mkt-footer-links { display: flex; gap: 20px; }
.mkt-footer-link { font-size: 13px; color: var(--muted-foreground); transition: color .14s ease; }
.mkt-footer-link:hover { color: var(--foreground); }
