@font-face {
  font-family: "Space Grotesk";
  src: url("/static/fonts/SpaceGrotesk.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/static/fonts/IBMPlexSans.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/static/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}

.lp, .lp * { box-sizing: border-box; }
.lp {
  --ink: #0b1120;
  --ink-2: #131d30;
  --paper: #f5f8fb;
  --mist: #eaf1f7;
  --line: #dde3ea;
  --muted: #5a6272;
  --teal: #19C9C3;
  --teal-deep: #0AA9A8;
  --teal-mist: #E6FCFA;
  /* Uma marca só (RPV Sistemas) — sem override por página/segmento. */
  --acc: #19C9C3;
  --acc-deep: #0AA9A8;
  --acc-mist: #E6FCFA;
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px circle at 8% 4%, rgba(13,148,136,.13), transparent 52%),
    radial-gradient(900px circle at 95% 18%, rgba(14,165,233,.12), transparent 50%),
    radial-gradient(1000px circle at 30% 65%, rgba(99,102,241,.09), transparent 52%),
    radial-gradient(900px circle at 85% 90%, rgba(13,148,136,.09), transparent 50%),
    var(--paper);
  background-attachment: fixed;
  font-size: 16px;
  line-height: 1.5;
}
.lp .disp { font-family: "Space Grotesk", "IBM Plex Sans", sans-serif; }
.lp .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.lp img { max-width: 100%; display: block; }
.lp section { position: relative; }

.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── brilho que segue o mouse — aplicado no hero de cada segmento junto
   da classe própria dele (.of-hero/.ps-hero/.sa-hero/.cv-hero) ── */
.lp-mouse-glow { --mx: 50%; --my: 0%; position: relative; }
.lp-mouse-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(560px circle at var(--mx) var(--my), var(--acc-mist), transparent 62%);
  opacity: .35;
}
.lp-kicker {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--acc-deep);
}
.lp-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lp-h2 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.01em; line-height: 1.14; }
.lp-lead { color: var(--muted); font-size: 15.5px; max-width: 56ch; line-height: 1.6; }
.lp-cabecalho-secao { max-width: 640px; margin-bottom: 48px; }

/* ── botões — .lp-btn.lp-btn-xxx de propósito (precisa vencer o "a{color:inherit}" abaixo,
   que empata em especificidade com seletor de classe única e ganharia por ordem) ── */
a.lp-btn {
  font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 14.5px;
  padding: 13px 24px; border-radius: 10px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease; border: none; cursor: pointer;
  white-space: nowrap; color: inherit;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn.lp-btn-primario { background: var(--acc); color: #fff; box-shadow: 0 10px 26px rgba(11,17,32,.18); }
.lp-btn-primario:hover { filter: brightness(1.08); }
.lp-btn.lp-btn-fantasma { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.lp-btn-fantasma:hover { border-color: var(--ink); }
.lp-btn.lp-btn-claro { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.lp-btn-claro:hover { border-color: #fff; }
.lp-btn.lp-btn-escuro { background: var(--ink); color: #fff; }
.lp-btn-escuro:hover { filter: brightness(1.2); }
.lp-btn-bloco { width: 100%; justify-content: center; }

/* ── header ── */
.lp-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.lp-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.lp-logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--acc); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 15px; }
.lp-logo-texto { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; }
.lp-nav-links { display: flex; align-items: center; gap: 30px; }
.lp-nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; transition: color .2s; }
.lp-nav-links a:hover { color: var(--acc-deep); }
.lp-header-ctas { display: flex; align-items: center; gap: 18px; }
.lp-header-ctas .lp-entrar { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.lp-burger { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.lp-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4.5px 0; }
.lp-mobile-nav { display: none; }

@media (max-width: 900px) {
  .lp-nav-links { display: none; }
  .lp-header-ctas .lp-entrar { display: none; }
  .lp-burger { display: block; }
  .lp-mobile-nav.open {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; box-shadow: 0 16px 30px rgba(0,0,0,.06);
  }
  .lp-mobile-nav a { padding: 12px 4px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--mist); }
  .lp-mobile-nav .lp-btn { margin-top: 10px; }
}

/* ── feature grid genérico (bento) ── */
.lp-features { padding: 88px 0; }
.lp-grid-features { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.lp-feature-card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .3s ease;
}
.lp-feature-card::before {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; filter: blur(56px);
  top: -60px; right: -60px; background: var(--acc); opacity: 0; transition: opacity .35s ease;
}
.lp-feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,17,32,.08); }
.lp-feature-card:hover::before { opacity: .14; }
.lp-feature-card > * { position: relative; z-index: 1; }
.lp-grid-features .lp-feature-card:first-child { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; }
.lp-grid-features .lp-feature-card:first-child .lp-feature-titulo { font-size: 18px; }
.lp-feature-icone { width: 40px; height: 40px; border-radius: 10px; background: var(--acc-mist); color: var(--acc-deep); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 16px; }
.lp-feature-titulo { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 15.5px; margin-bottom: 6px; }
.lp-feature-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 980px) { .lp-grid-features { grid-template-columns: repeat(2, 1fr); } .lp-grid-features .lp-feature-card:first-child { grid-column: span 2; } }
@media (max-width: 600px) { .lp-grid-features { grid-template-columns: 1fr; } .lp-grid-features .lp-feature-card:first-child { grid-column: span 1; } }

/* ── planos ── */
.lp-planos { padding: 96px 0; background: transparent; }
.lp-cards-plano { display: grid; grid-template-columns: repeat(var(--n-planos, 2), 1fr); gap: 22px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.lp-card-plano { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.lp-card-plano.destaque { border-color: var(--acc); box-shadow: 0 20px 44px rgba(11,17,32,.1); }
.lp-plano-selo { position: absolute; top: -13px; left: 26px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 100px; }
.lp-plano-nome { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.lp-plano-desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.lp-plano-preco { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.lp-plano-preco .val { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 36px; letter-spacing: -.01em; }
.lp-plano-preco .per { color: var(--muted); font-size: 13px; }
.lp-plano-usuarios { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.lp-plano-lista { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.lp-plano-lista li { font-size: 13.5px; color: #3a4150; padding-left: 22px; position: relative; line-height: 1.4; }
.lp-plano-lista li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-weight: 700; }
.lp-plano-lista li.em-breve { color: var(--muted); }
.lp-plano-lista li.em-breve::before { content: "○"; color: #c3c9d3; }
@media (max-width: 760px) { .lp-cards-plano { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.lp-faq { padding: 96px 0; background: transparent; }
.lp-faq-wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.lp-faq-lista { margin-top: 36px; border-top: 1px solid var(--line); }
.lp-faq-item { border-bottom: 1px solid var(--line); }
.lp-faq-pergunta {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: "IBM Plex Sans", sans-serif; font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.lp-faq-plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.lp-faq-plus::before, .lp-faq-plus::after { content: ""; position: absolute; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.lp-faq-plus::before { top: 50%; left: 0; width: 100%; height: 1.6px; transform: translateY(-50%); }
.lp-faq-plus::after { left: 50%; top: 0; height: 100%; width: 1.6px; transform: translateX(-50%); }
.lp-faq-item.open .lp-faq-plus::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.lp-faq-resposta { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.lp-faq-resposta p { color: var(--muted); font-size: 14px; line-height: 1.65; padding: 0 4px 22px; max-width: 62ch; }
.lp-faq-item.open .lp-faq-resposta { max-height: 240px; }

/* ── CTA final ── */
.lp-cta { padding: 76px 24px; text-align: center; background: var(--acc-mist); }
.lp-cta-titulo { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(24px, 3.2vw, 34px); max-width: 22ch; margin: 0 auto 14px; letter-spacing: -.01em; }
.lp-cta-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }

/* ── footer ── */
.lp-footer { background: var(--ink); color: #b7bfcc; padding: 56px 0 0; }
.lp-footer-topo { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lp-footer-marca .lp-logo-texto { color: #fff; }
.lp-footer-marca .lp-logo { color: #fff; }
.lp-footer-desc { font-size: 13.5px; color: #8891a0; margin: 14px 0 0; max-width: 32ch; line-height: 1.6; }
.lp-footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.lp-footer-links a { font-size: 13.5px; text-decoration: none; color: #b7bfcc; transition: color .2s; }
.lp-footer-links a:hover { color: #fff; }
.lp-footer-base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; font-size: 12.5px; color: #6b7385; }

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-grupo > * { transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
