:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --secondary: #06b6d4;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #14172b;
  --text-secondary: #5b6072;
  --border: #e8ebf2;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 35px rgba(15, 23, 42, .07);
  --shadow-soft: 0 10px 35px rgba(15, 23, 42, .045);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-secondary); margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--text-secondary); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; display: inline-block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,247,251,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--text); }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a { text-decoration: none; color: var(--text-secondary); font-weight: 600; font-size: .95rem; }
nav.main-nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(79,70,229,.34); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 90px 0 70px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 560px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(79,70,229,.16), transparent 70%),
              radial-gradient(50% 50% at 80% 10%, rgba(6,182,212,.14), transparent 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 30px; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); padding: 7px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--text-secondary); box-shadow: var(--shadow-soft); }
.badge svg { width: 14px; height: 14px; color: var(--primary); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-shot { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transform: rotate(0.4deg); }
.browser-bar { background: #f4f4f8; padding: 10px 14px; display: flex; gap: 6px; border-bottom: 1px solid var(--border); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: #dcdce6; }
.browser-bar span:nth-child(1) { background: #f5877f; }
.browser-bar span:nth-child(2) { background: #f6c667; }
.browser-bar span:nth-child(3) { background: #8fd08a; }

/* Sections */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

/* Feature grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); }
.icon-box { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: rgba(79,70,229,.1); color: var(--primary); }
.icon-box svg { width: 22px; height: 22px; }
.icon-box.cyan { background: rgba(6,182,212,.12); color: #0891b2; }
.icon-box.amber { background: rgba(217,119,6,.12); color: #d97706; }
.icon-box.green { background: rgba(5,150,105,.12); color: #059669; }

/* Steps */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 90px; }
.showcase.reverse { grid-template-columns: 1fr 1fr; }
.showcase.reverse .showcase-copy { order: 2; }
.showcase-shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { display: flex; gap: 10px; margin-bottom: 10px; color: var(--text); font-weight: 600; font-size: .95rem; }
.checklist svg { width: 18px; height: 18px; color: var(--secondary); flex-shrink: 0; margin-top: 2px; }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--primary); box-shadow: 0 14px 34px rgba(79,70,229,.18); position: relative; }
.price-card.featured::before { content: "Mais popular"; position: absolute; top: -13px; right: 24px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.price-value { font-size: 2.2rem; font-weight: 800; margin: 14px 0 4px; }
.price-value span { font-size: .95rem; font-weight: 600; color: var(--text-secondary); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; flex: 1; }
.price-card li { padding: 7px 0; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-secondary); }
.price-card li:first-child { border-top: none; }
.price-note { text-align: center; color: var(--text-secondary); font-size: .88rem; margin-top: 30px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary), #4338ca 60%, var(--primary-dark)); border-radius: 24px; padding: 60px 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }

/* Footer */
footer.site-footer { border-top: 1px solid var(--border); padding: 50px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-secondary); margin-bottom: 14px; }
.footer-col a { display: block; text-decoration: none; color: var(--text-secondary); font-size: .92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border); padding-top: 24px; font-size: .85rem; color: var(--text-secondary); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 30px; text-align: center; }
.page-hero .lead { max-width: 620px; margin: 0 auto; }

@media (max-width: 900px) {
  .hero-grid, .showcase, .showcase.reverse { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-copy { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { position: fixed; inset: 64px 0 0 0; background: var(--bg); flex-direction: column; padding: 30px 24px; gap: 20px; transform: translateX(100%); transition: transform .25s ease; }
  nav.main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }
}
