/* beep.ninja — folha única do site. Sem estilo inline nas páginas: a política de segurança
   (CSP) de cada página só aceita CSS e JS servidos daqui. */

:root {
  --bg: #0b0e0d;
  --bg-2: #111614;
  --surface: #161c19;
  --surface-2: #1c2420;
  --line: #2a3530;
  --text: #f1f5f3;
  --muted: #b4c0ba;
  --faint: #8d9a94;
  --green: #00ff88;
  --green-2: #00d873;
  --green-ink: #03130b;
  --danger: #ff8a80;
  --navy: #1b2a4a;
  --navy-2: #24375f;
  --gold: #e9b949;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1160px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: #7dffc0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

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

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 14, 13, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topo-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.marca img:first-child { border-radius: 10px; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a:not(.btn) {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px; border-radius: var(--radius-sm); white-space: nowrap;
}
.menu a:not(.btn):hover, .menu a[aria-current="page"] { color: var(--green); background: var(--surface); }
.menu .btn { margin-left: 8px; white-space: nowrap; }
.menu-btn {
  display: none; background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 9px 14px; font: inherit; font-weight: 700; cursor: pointer;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-pri { background: var(--green); color: var(--green-ink); }
.btn-pri:hover { color: var(--green-ink); box-shadow: 0 10px 26px rgba(0, 255, 136, .28); }
.btn-sec { background: transparent; color: var(--text); border-color: var(--line); }
.btn-sec:hover { color: var(--text); border-color: var(--green); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.botoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Seções ---------- */
.secao { padding: 88px 0; }
.secao-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.secao-cab { max-width: 760px; margin-bottom: 44px; }
.secao-cab.centro { margin-left: auto; margin-right: auto; text-align: center; }
.sobre { color: var(--green); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.lead { font-size: 1.18rem; color: var(--muted); }
.muted { color: var(--muted); }
.pequeno { font-size: .9rem; color: var(--faint); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(0, 255, 136, .10), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(0, 255, 136, .06), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 .verde { color: var(--green); }
.hero .lead { max-width: 620px; margin-bottom: 28px; }
.selos { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.selos li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
/* o print real da contagem, numa moldura de celular */
.celular {
  justify-self: center; width: 100%; max-width: 300px; padding: 11px;
  border-radius: 42px; background: #101513; border: 2px solid #33413a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(0, 255, 136, .08);
}
.celular img { width: 100%; height: auto; border-radius: 31px; }

.cab-pagina { padding: 56px 0 40px; border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 90% at 90% 0%, rgba(0, 255, 136, .08), transparent 70%); }
.cab-pagina .lead { max-width: 760px; }
.trilha { font-size: .9rem; color: var(--faint); margin-bottom: 18px; }
.trilha a { color: var(--muted); }

/* ---------- Grades e cartões ---------- */
.grade { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.cartao {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s, transform .2s;
}
.cartao p:last-child { margin-bottom: 0; }
.cartao p { color: var(--muted); }
a.cartao { display: block; text-decoration: none; color: inherit; }
a.cartao:hover { border-color: var(--green); transform: translateY(-3px); }
a.cartao h3 { color: var(--text); }
.cartao .mais { color: var(--green); font-weight: 700; }
.icone {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0, 255, 136, .1); color: var(--green); margin-bottom: 16px;
}
.icone svg { width: 24px; height: 24px; }

.passos { counter-reset: passo; list-style: none; padding: 0; }
.passos li { counter-increment: passo; position: relative; padding-top: 20px; }
.passos li::before {
  content: counter(passo); position: absolute; top: 0; left: 26px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--green-ink); font-weight: 800;
}
.passos .cartao { height: 100%; padding-top: 36px; }

.lista-ok { list-style: none; padding: 0; }
.lista-ok li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--muted); }
.lista-ok li strong { color: var(--text); }
.lista-ok li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0, 255, 136, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Números do sistema ---------- */
.numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0 0 12px; padding: 0; }
.numeros li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.numeros strong { display: block; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; line-height: 1.1; color: var(--green); margin-bottom: 6px; }
.numeros span { color: var(--muted); font-size: .95rem; line-height: 1.35; display: block; }
.centro-texto { text-align: center; margin-bottom: 40px; }

/* ---------- Clientes ---------- */
.faixa-logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.faixa-logos ul { display: flex; gap: 16px; width: max-content; list-style: none; margin: 0; padding: 0; animation: rolar 90s linear infinite; }
.faixa-logos:hover ul { animation-play-state: paused; }
.logo-cli { width: 120px; height: 120px; border-radius: 12px; background: #fff; overflow: hidden; flex: none; }
.logo-cli img { width: 100%; height: 100%; object-fit: contain; }
@keyframes rolar { to { transform: translateX(calc(-50% - 8px)); } }
.grade-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.grade-logos .logo-cli { width: 100%; height: auto; aspect-ratio: 1; }

/* ---------- Relatório de finalização (identidade do PDF: marinho e dourado) ---------- */
.destaque-rel {
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(233, 185, 73, .12), transparent 60%),
    linear-gradient(160deg, #0f1a30, #0b0e0d 70%);
  border-top: 1px solid #22314f; border-bottom: 1px solid #22314f;
}
.selo-ouro {
  display: inline-block; background: var(--gold); color: #241a00; font-weight: 800; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.destaque-rel h2 .ouro, .ouro { color: var(--gold); }
.destaque-rel .lista-ok li::before { background-color: rgba(233, 185, 73, .16); }
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rel-arte { border-radius: 12px; box-shadow: var(--shadow); }
.legenda-arte { font-size: .82rem; color: var(--faint); text-align: center; margin-top: 10px; }

/* ---------- Preços ---------- */
.precos { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.preco { display: flex; flex-direction: column; }
.preco .btn { margin-top: auto; }
.preco.destaque { border: 2px solid var(--green); box-shadow: 0 0 0 6px rgba(0, 255, 136, .06); }
.valor { font-size: 2.6rem; font-weight: 900; line-height: 1; margin: 6px 0 4px; }
.valor small { font-size: 1rem; font-weight: 600; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
thead th { color: var(--muted); font-size: .85rem; font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
.off { color: var(--green); font-weight: 800; }
.tabela-rolagem { overflow-x: auto; }
.tabela-rolagem td { white-space: nowrap; }
/* item de grade não pode crescer além da coluna por causa de uma tabela ou texto longo */
.grade > *, .precos > *, .credito > *, .contato-grid > *, .hero-grid > *, .rel-grid > * { min-width: 0; }
.aviso { border-left: 4px solid var(--gold); background: rgba(233, 185, 73, .08); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); }
.credito { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.calc label { display: block; font-weight: 700; margin-bottom: 6px; }
.calc-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.calc-res { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.calc-res .total, .cartao .valor { color: var(--text); }
.calc-res .total { font-size: 1.9rem; font-weight: 900; line-height: 1.1; }
.calc-res p { margin: 0 0 6px; color: var(--muted); }
.calc-res p:last-child { margin: 0; }

/* ---------- Formulários ---------- */
input, textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid #3a4842; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
}
input:focus, textarea:focus, select:focus { border-color: var(--green); outline: 2px solid rgba(0, 255, 136, .35); outline-offset: 0; }
textarea { min-height: 130px; resize: vertical; }
.campo { margin-bottom: 16px; }
.campo label { display: block; font-weight: 700; margin-bottom: 6px; }
.campo .opc { color: var(--faint); font-weight: 500; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contato-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.canal { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--text); margin-bottom: 12px; }
.canal:hover { border-color: var(--green); color: var(--text); }
.canal strong { display: block; }
.canal span { color: var(--muted); font-size: .92rem; }
.canal svg { width: 28px; height: 28px; flex: none; color: var(--green); }

.aviso-tela {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 400;
  max-width: min(520px, calc(100% - 32px)); padding: 16px 20px; border-radius: 12px;
  font-weight: 700; box-shadow: var(--shadow); color: var(--green-ink); background: var(--green);
}
.aviso-tela.erro { background: var(--danger); color: #2b0603; }
.cartao .erro-login { color: var(--danger); font-weight: 700; margin: 12px 0 0; min-height: 1.6em; }

/* ---------- Dúvidas ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Texto longo (guias e política) ---------- */
.texto { max-width: 760px; }
.texto h2 { font-size: 1.6rem; margin-top: 1.8em; }
.texto h3 { margin-top: 1.4em; }
.texto p, .texto li { color: #d5ddd9; }
.texto table { font-size: .95rem; }
.texto td, .texto th { text-align: left; }
.chamada {
  margin: 40px 0; padding: 28px; border-radius: var(--radius); border: 1px solid #1f5c40;
  background: linear-gradient(135deg, rgba(0, 255, 136, .10), rgba(0, 255, 136, .02));
}
.chamada h2, .chamada h3 { margin-top: 0; }
.formula { font-family: ui-monospace, Consolas, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; overflow-x: auto; }
.data-art { color: var(--faint); font-size: .92rem; }

/* ---------- Rodapé ---------- */
.rodape { border-top: 1px solid var(--line); background: #080a09; padding: 56px 0 24px; margin-top: 0; }
.rodape-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.rodape h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: 8px; }
.rodape a { color: var(--muted); text-decoration: none; }
.rodape a:hover { color: var(--green); }
.rodape p { color: var(--muted); font-size: .95rem; }
.rodape-fim { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; color: var(--faint); font-size: .88rem; }

/* ---------- Área de downloads ---------- */
.caixa-login { max-width: 440px; margin: 24px auto; }
.caixa-login h1 { font-size: 1.8rem; }
.btn-largo { width: 100%; }
.baixar-cab { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.cartao.baixar { margin-top: 14px; }
/* texto e botões lado a lado; quando os botões não cabem (Remotiza tem três), descem para baixo do texto */
.baixar { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: space-between; }
.baixar > div:first-child { flex: 1 1 320px; }
.baixar h3 { font-size: 1.15rem; margin-bottom: 4px; }
.baixar p { margin: 0; }
.recomendado { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--green); color: var(--green-ink); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* ---------- Telas menores ---------- */
/* O menu inteiro numa linha precisa de ~900 px, além da marca (medido), e só tem isso com o
   .wrap na largura máxima: abaixo dela o menu vira o botão. */
@media (max-width: 1160px) {
  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .menu.aberto { display: flex; }
  .menu a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu .btn { margin: 16px 0 0; }
}
@media (max-width: 1020px) {
  .g4, .numeros { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .rodape-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero-grid, .rel-grid, .precos, .contato-grid, .credito { grid-template-columns: 1fr; }
  .celular { max-width: 280px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .secao { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .g2, .g3, .g4, .duas, .calc-campos { grid-template-columns: 1fr; }
  .rodape-grid { grid-template-columns: 1fr; }
  .botoes .btn { flex: 1 1 100%; }
  .baixar > div { flex: 1 1 100%; }
  .logo-cli { width: 96px; height: 96px; }
  .valor { font-size: 2.2rem; }
  .celular { max-width: 250px; }
  .cartao { padding: 22px 18px; }
  th, td { padding: 10px 4px; font-size: .92rem; }
  thead th { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .faixa-logos { -webkit-mask-image: none; mask-image: none; }
  .faixa-logos ul { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .faixa-logos [aria-hidden="true"] { display: none; }
}
