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

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #0891b2;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-light: #475569;
  --border: #e2e8f0;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
  --shadow-lg: 0 20px 45px rgba(2, 6, 23, 0.12);
  --container: 1140px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }

h1, h2, h3, h4 { line-height: 1.2; margin-bottom: .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.5rem); }
p { color: var(--text-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { border-color: var(--border); background: #fff; }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-large { padding: 1rem 1.8rem; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, .7);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.92);
}
nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { font-size: 1.3rem; font-weight: 900; }
.logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 1.15rem; }
.nav-links a:not(.btn) { color: var(--text-light); font-weight: 700; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.45rem; }

.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(37,99,235,.08), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(8,145,178,.1), transparent 35%),
    var(--bg-alt);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 2rem;
}
.badge {
  display: inline-flex;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
  color: #0c4a6e;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  margin-bottom: 1rem;
}
.gradient-text {
  background: linear-gradient(120deg, var(--primary) 20%, var(--secondary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.08rem; margin-bottom: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: .7rem; font-size: .9rem; }
.trust-badges span {
  background: #fff;
  border: 1px solid var(--border);
  color: #0f766e;
  font-weight: 700;
  padding: .42rem .7rem;
  border-radius: 999px;
}

.hero-mockup {
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.mockup-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: .8rem;
  font-size: .86rem;
  color: var(--text-light);
}
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.kpi {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .75rem;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.kpi strong { font-size: 1.15rem; display: block; color: var(--text); }
.kpi span { font-size: .8rem; color: var(--text-light); }

section { padding: 4.4rem 0; }
section h2 { text-align: center; margin-bottom: 1.8rem; }

.features { background: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--primary);
  margin-bottom: .85rem;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card p { margin-bottom: 0; }

.benefits { background: var(--bg-alt); }
.benefits-list { max-width: 860px; margin: 0 auto; }
.benefit {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.benefit:last-child { border-bottom: 0; }
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.pricing { background: #fff; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 18px 40px rgba(37,99,235,.16);
  position: relative;
}
.pricing-card.featured::before {
  content: "Mais escolhido";
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--primary);
  color: white;
  font-size: .7rem;
  font-weight: 800;
  border-radius: 999px;
  padding: .3rem .65rem;
}
.price { font-size: 2.1rem; font-weight: 900; color: var(--primary); margin: .7rem 0 1rem; }
.price span { font-size: .95rem; color: var(--text-light); font-weight: 600; }
.pricing-card li { margin-bottom: .45rem; color: var(--text-light); }

.cta {
  background: linear-gradient(120deg, #1d4ed8, #0e7490);
  color: #fff;
  text-align: center;
}
.cta p { color: rgba(255,255,255,.9); }
.cta .btn-primary { background: #fff; color: #0f172a; }

.blog-header { padding: 4.5rem 0 2.4rem; background: var(--bg-alt); text-align: center; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2.2rem 0 3rem;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.blog-thumb {
  height: 130px;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
  border-bottom: 1px solid var(--border);
}
.blog-content { padding: 1rem; }
.blog-meta { color: var(--text-light); font-size: .85rem; margin-bottom: .4rem; }
.read-more { color: var(--primary); font-weight: 800; }

.article-page { padding: 2.8rem 0; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-content h1 { margin-bottom: .6rem; }
.article-content h2 { margin-top: 2rem; text-align: left; }
.article-content h3 { margin-top: 1.2rem; }
.article-content ul, .article-content ol { margin: .8rem 0 .8rem 1.25rem; color: var(--text-light); }
.article-content li { margin-bottom: .4rem; }
.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin: 1rem 0;
}

.page-hero { padding: 4.2rem 0 2.4rem; background: var(--bg-alt); text-align: center; }
.page-wrap { padding: 2.2rem 0 3.5rem; }
.page-card {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.35rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .72rem .85rem;
  font: inherit;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-full { grid-column: 1 / -1; }

footer { background: #0f172a; color: #fff; padding: 3rem 0 1.2rem; }
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1rem;
}
.footer-brand .logo { color: #fff; display: inline-block; margin-bottom: .4rem; }
.footer-brand p { color: #94a3b8; }
.footer-links h4 { margin-bottom: .5rem; }
.footer-links a { color: #94a3b8; display: block; padding: .2rem 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 1rem; border-top: 1px solid #334155; padding-top: .9rem; text-align: center; color: #94a3b8; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}