/* ===== Design tokens ===== */
:root {
  --fb: #1877f2;
  --fb-2: #4f9bff;
  --violet: #7c3aed;
  --ink: #0b1220;
  --ink-2: #131c2e;
  --panel: #ffffff;
  --bg: #f5f7fb;
  --bg-soft: #eef2f9;
  --text: #1b2435;
  --muted: #5d6b85;
  --line: #e4e9f2;
  --radius: 18px;
  --shadow: 0 20px 45px -25px rgba(20, 40, 90, 0.45);
  --shadow-soft: 0 12px 30px -20px rgba(20, 40, 90, 0.35);
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-text { font-family: "Plus Jakarta Sans", sans-serif; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.grad {
  background: linear-gradient(100deg, var(--fb), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  padding: 12px 22px;
  font-size: 15px;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(100deg, var(--fb), var(--fb-2));
  color: #fff;
  box-shadow: 0 12px 25px -12px rgba(24, 119, 242, .8);
}
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, .8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--fb), var(--violet));
  color: #fff; font-weight: 800; font-family: "Plus Jakarta Sans";
  box-shadow: 0 8px 18px -8px rgba(24, 119, 242, .9);
}
.brand-text { font-weight: 700; }
.brand-text strong { color: var(--fb); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 80px 0 70px; }
.hero-glow {
  position: absolute; inset: -20% 0 auto -10%;
  height: 600px;
  background:
    radial-gradient(45% 45% at 20% 20%, rgba(24,119,242,.20), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(124,58,237,.18), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--fb);
  font-weight: 600;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.hero-copy h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 20px 0 18px;
}
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 36px; }
.hero-trust { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 24px; font-family: "Plus Jakarta Sans"; color: var(--text); }
.hero-trust span { font-size: 13px; color: var(--muted); }

/* Hero dashboard card */
.hero-card {
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 35px 60px -30px rgba(11, 18, 32, .8);
  transform: rotate(.5deg);
}
.dash-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #aebbd4;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-fb { background: var(--fb); box-shadow: 0 0 0 4px rgba(24,119,242,.2); }
.live { margin-left: auto; color: #4ade80; font-size: 12px; }
.dash-metric { margin: 18px 0; }
.dash-metric span { display: block; color: #8ea0c0; font-size: 13px; }
.dash-metric strong { font-size: 32px; font-family: "Plus Jakarta Sans"; }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dash-cell { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 12px 14px; }
.dash-cell span { font-size: 12px; color: #8ea0c0; }
.dash-cell strong { display: block; font-size: 20px; font-family: "Plus Jakarta Sans"; margin-top: 2px; }
.up { color: #4ade80; }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 20px; }
.dash-bars span {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, var(--fb-2), var(--fb));
  border-radius: 6px 6px 3px 3px;
  opacity: .9;
  animation: rise .8s ease backwards;
}
@keyframes rise { from { height: 0; opacity: 0; } }

/* ===== Strip ===== */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
  padding: 18px 24px; color: var(--muted); font-weight: 500; font-size: 14px;
}

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: 12px; font-weight: 700; color: var(--fb); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ===== Grid + cards ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(24,119,242,.12), rgba(124,58,237,.12));
  margin-bottom: 16px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== Steps ===== */
.steps .step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step-num {
  font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 30px;
  color: transparent;
  background: linear-gradient(120deg, var(--fb), var(--violet));
  -webkit-background-clip: text; background-clip: text;
}
.step h3 { margin: 8px 0 6px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; }

/* ===== Stats ===== */
.stats { margin-bottom: 50px; }
.stat { text-align: center; padding: 24px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.stat strong { display: block; font-family: "Plus Jakarta Sans"; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--fb); }
.stat span { color: var(--muted); font-size: 14px; }

.quote {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  color: #fff; border-radius: 24px; padding: 44px 40px;
  box-shadow: var(--shadow);
}
.quote p { font-size: clamp(18px, 2.4vw, 24px); font-family: "Plus Jakarta Sans"; line-height: 1.4; }
.quote footer { margin-top: 18px; color: #9fb0cd; font-size: 15px; }

/* ===== Sobre ===== */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.about-copy h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 16px; }
.about-copy p { color: var(--muted); margin-bottom: 14px; font-size: 16px; }
.checks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--fb), var(--violet));
  color: #fff; font-size: 12px; display: grid; place-items: center;
}
.about-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.about-box h3 { font-size: 18px; margin-bottom: 16px; }
.about-box dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.about-box dl div:last-child { border-bottom: 0; }
.about-box dt { color: var(--muted); font-size: 14px; }
.about-box dd { font-weight: 600; font-size: 14px; text-align: right; }

/* ===== CTA / Contato ===== */
.cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  border-radius: 26px; padding: 48px; color: #fff;
  box-shadow: var(--shadow);
}
.cta-copy h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.cta-copy > p { color: #aebbd4; font-size: 16px; margin-bottom: 26px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: #d7e0f0; }
.contact-list a:hover { color: #fff; text-decoration: underline; }
.ci { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }

.cta-form { background: #fff; border-radius: 18px; padding: 28px; color: var(--text); }
.cta-form h3 { font-size: 20px; margin-bottom: 18px; }
.cta-form label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.cta-form input, .cta-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 15px; background: var(--bg); color: var(--text);
  transition: border .2s, box-shadow .2s;
}
.cta-form input:focus, .cta-form textarea:focus {
  outline: none; border-color: var(--fb);
  box-shadow: 0 0 0 4px rgba(24,119,242,.12); background: #fff;
}
.form-note { margin-top: 14px; color: #16a34a; font-weight: 600; font-size: 14px; text-align: center; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #c4cee0; padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-inner .brand-text { color: #fff; }
.footer-desc { color: #8ea0c0; margin-top: 14px; max-width: 320px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-cols h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-cols a, .footer-cols span { display: block; color: #8ea0c0; font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 24px;
  font-size: 13px; color: #76849f;
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px; box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; }
  .nav-links a.btn-primary { justify-content: center; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
