/* ====== QRBCERTO landing ====== */
:root {
  --bg: #07101e;
  --bg-2: #0a1729;
  --panel: #0e1d33;
  --panel-2: #11233f;
  --line: #1c2e4c;
  --line-2: #2a3e60;
  --ink: #eaf0fb;
  --muted: #97a6c4;
  --brand: #3f7bea;
  --brand-2: #1d4fae;
  --brand-soft: rgba(63, 123, 234, 0.14);
  --navy: #012b5f;
  --red: #ff5d5d;
  --amber: #ffb23e;
  --green: #5aa83a;
  --green-soft: rgba(90, 168, 58, 0.16);
  --radius: 16px;
  --wrap: 1140px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.big { font-size: 18px; }
.small { font-size: 13px; }

.hl { color: var(--brand); }

/* ====== Botões ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.full { width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(47, 99, 224, 0.4);
}
.btn-primary:hover { background: linear-gradient(180deg, #5f93ff 0%, #3a6ef0 100%); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ====== Topbar ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 27, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: block; height: 40px; width: auto; filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.4)); }
.brand-text { font-size: 19px; font-weight: 600; letter-spacing: 0.04em; }
.brand-text strong { color: var(--brand); font-weight: 800; }

.nav-links { display: flex; gap: 26px; margin-left: 18px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 550; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; gap: 10px; margin-left: auto; }

.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  width: 42px;
  height: 38px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ====== Hero ====== */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.hero-glow {
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(closest-side, rgba(63, 123, 234, 0.2), transparent 70%);
  pointer-events: none;
}
.hero-shield {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  height: 540px;
  width: auto;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 920px) { .hero-shield { display: none; } }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 76px 22px 84px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 650;
  font-size: 14px;
  background: var(--brand-soft);
  border: 1px solid var(--line-2);
  padding: 6px 13px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(54, 211, 153, 0.18); }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.hero-badges li { color: var(--muted); font-size: 14px; font-weight: 550; display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ====== Device mockup ====== */
.hero-art { display: flex; justify-content: center; }
.device {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.device-top { display: flex; align-items: center; gap: 9px; padding: 4px 6px 12px; }
.device-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 16px 0 0 var(--amber), 32px 0 0 var(--green); }
.device-title { margin-left: 44px; font-size: 13px; color: var(--muted); font-weight: 600; }
.device-map {
  position: relative;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, #16294d, transparent 45%),
    radial-gradient(circle at 75% 70%, #122444, transparent 50%),
    #0b1a36;
  border: 1px solid var(--line);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 134, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 134, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-link { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-link line { stroke: rgba(79, 134, 255, 0.6); stroke-width: 0.6; stroke-dasharray: 2 2; }
.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  border: 2px solid rgba(255, 255, 255, 0.85);
  animation: pulse 2.6s infinite;
}
.pin-red { background: var(--red); }
.pin-amber { background: var(--amber); animation-delay: 0.4s; }
.pin-blue { background: var(--brand); animation-delay: 0.8s; }
.pin-green { background: var(--green); animation-delay: 1.2s; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18); } 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
.map-card {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: rgba(8, 16, 33, 0.92);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-card strong { font-size: 13px; color: var(--brand); }
.map-card span { font-size: 12px; color: var(--muted); }
.device-legend { display: flex; gap: 16px; padding: 12px 6px 4px; }
.device-legend span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lg { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg-red { background: var(--red); }
.lg-amber { background: var(--amber); }
.lg-blue { background: var(--brand); }

/* ====== Strip ====== */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px 22px; }
.strip-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 550; }
.strip-ic { font-size: 18px; }

/* ====== Seções ====== */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.kicker { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
.section h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; margin-bottom: 14px; }

/* ====== Cards ====== */
.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card-ic {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 13px;
  background: var(--brand-soft);
  border: 1px solid var(--line-2);
  margin-bottom: 16px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ====== Passos ====== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; }
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ====== Duas colunas ====== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: var(--muted); font-size: 15.5px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
}
.check-list strong { color: var(--ink); }

/* ====== CTA ====== */
.cta-box { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }
.cta-note { color: var(--muted); font-size: 14px; }

/* ====== Rodapé ====== */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 52px; }
.foot-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 40px; }
.foot-logo { display: flex; align-items: center; gap: 10px; }
.foot-logo img { height: 38px; width: auto; }
.foot-brand .muted { margin: 12px 0 0; max-width: 280px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { font-size: 14px; margin-bottom: 14px; }
.foot-cols a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.foot-cols a:hover { color: var(--ink); }
.foot-legal { border-top: 1px solid var(--line); padding: 20px 22px; color: var(--muted); font-size: 13px; }

/* ====== Modais ====== */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 8, 18, 0.72); backdrop-filter: blur(3px); }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  max-height: 92vh;
  overflow-y: auto;
  animation: pop 0.2s ease;
}
.modal-card.wide { max-width: 620px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.modal-x { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.modal-x:hover { color: var(--ink); }
.modal-card h3 { font-size: 23px; margin-bottom: 8px; }

/* ====== Formulários ====== */
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.form.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.span-2 { grid-column: 1 / -1; }
.form input, .form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.15s ease;
}
.form input:focus, .form textarea:focus { border-color: var(--brand); }
.form textarea { resize: vertical; }
.check { flex-direction: row !important; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.check span { font-size: 13.5px; line-height: 1.4; }
.form-msg { font-size: 13.5px; margin: 2px 0 0; min-height: 1px; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--green); }

.ok-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(54, 211, 153, 0.15);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 16px;
}
.modal-card.center .btn { margin-top: 18px; }

/* ====== Responsivo ====== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 8px 22px 16px;
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-cta {
    display: flex;
    position: absolute;
    top: calc(66px + 200px);
    left: 0; right: 0;
    background: var(--bg-2);
    padding: 12px 22px 18px;
    gap: 10px;
  }
  .nav.open .nav-cta .btn { flex: 1; }
  .section { padding: 60px 0; }
  .grid.cards, .steps { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 28px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .form.grid-2 { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 20px; }
}
