/* webgrowth — landing page
   Design language: Stripi (Stripe-inspired financial-infrastructure).
   Deep navy ink, single electric-indigo CTA, gradient-mesh hero, thin (300)
   negative-tracked display type, tabular figures on money, pill buttons.
   Sohne is proprietary; Inter 300 + ss01 + negative tracking is the documented substitute. */

:root {
  /* Brand & accent */
  --primary: #533afd;
  --primary-deep: #4434d4;
  --primary-press: #2e2b8c;
  --primary-soft: #665efd;
  --primary-subdued: #e7e7fe;
  --brand-dark: #1c1e54;
  --ruby: #ea2261;
  --magenta: #f96bee;

  /* Surface */
  --canvas: #ffffff;
  --canvas-soft: #f6f9fc;
  --canvas-cream: #f5e9d4;
  --hairline: #e3e8ee;
  --hairline-input: #a8c3de;

  /* Text */
  --ink: #0d253d;
  --ink-2: #273951;
  --ink-mute: #5a6b83;
  --on-primary: #ffffff;

  /* Elevation (blue-tinted, never pure black) */
  --sh-1: 0 1px 3px rgba(0,55,112,.10);
  --sh-2: 0 8px 24px rgba(0,55,112,.10), 0 2px 6px rgba(0,55,112,.05);
  --sh-3: 0 24px 60px rgba(0,55,112,.14), 0 6px 16px rgba(0,55,112,.06);

  /* Radius */
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 9999px;

  --maxw: 1200px;
  --font: "Inter", "SF Pro Display", system-ui, -apple-system, sans-serif;
}

/* Tema único: light. O dark mode foi removido a pedido. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.tnum { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* Display type: thin weight, negative tracking is the signature */
h1, h2, h3 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 60px); letter-spacing: -0.03em; line-height: 1.03; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.025em; line-height: 1.08; }
h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.lead { font-size: clamp(17px, 1.8vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.sub { color: var(--ink-mute); font-size: 17px; line-height: 1.55; max-width: 58ch; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Eyebrow = soft indigo tag (rationed: max 3 on the page) */
.eyebrow {
  display: inline-block; font-weight: 500; font-size: 12px; letter-spacing: 0.02em;
  color: var(--primary-deep); background: var(--primary-subdued);
  padding: 5px 11px; border-radius: var(--r-pill);
}

/* ---------- Buttons (pill, 8px 16px) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1;
  padding: 12px 20px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); box-shadow: var(--sh-2); }
.btn-primary:active { background: var(--primary-press); }
.btn-secondary { background: var(--canvas); color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-subdued); }
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-white:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }

.link-i { color: var(--primary); font-weight: 400; }
.link-i:hover { color: var(--primary-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 68px;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 400; font-size: 19px; letter-spacing: -0.03em; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; color: var(--primary); flex: none; }
.nav { display: flex; gap: 28px; margin-left: 30px; }
.nav a { font-weight: 400; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions .signin { font-size: 15px; color: var(--ink-2); padding: 8px 6px; }
.header-actions .signin:hover { color: var(--primary); }
/* ---------- Gradient mesh (the brand's signature hero backdrop) ---------- */
.hero { position: relative; overflow: hidden; }
.mesh {
  position: absolute; inset: 0 0 auto 0; height: 115%; pointer-events: none; z-index: 0;
  filter: blur(46px) saturate(1.15); opacity: .85;
}
.mesh::before, .mesh::after { content: ""; position: absolute; inset: 0; }
.mesh::before {
  background:
    radial-gradient(38% 55% at 8% 6%, var(--canvas-cream) 0%, transparent 60%),
    radial-gradient(34% 48% at 30% 0%, #f7c98b 0%, transparent 58%),
    radial-gradient(40% 60% at 55% 4%, #c9bdfb 0%, transparent 60%),
    radial-gradient(46% 66% at 78% 0%, var(--primary-soft) 0%, transparent 58%),
    radial-gradient(36% 54% at 96% 10%, var(--ruby) 0%, transparent 56%),
    radial-gradient(30% 44% at 68% 18%, var(--magenta) 0%, transparent 55%);
}
.mesh::after {
  /* fade the mesh into the canvas over the lower part */
  background: linear-gradient(180deg, transparent 0%, transparent 42%, var(--canvas) 92%);
  filter: none;
}

/* ---------- Hero (asymmetric split) ---------- */
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 92px);
}
.hero h1 { margin: 18px 0 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-accent { color: var(--primary); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Real product preview: live iframe of a real demo site in browser chrome */
.preview { position: relative; }
.browser {
  border-radius: var(--r-xl); overflow: hidden; background: var(--canvas);
  border: 1px solid var(--hairline); box-shadow: var(--sh-3);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: var(--canvas-soft); border-bottom: 1px solid var(--hairline);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline-input); display: block; }
.browser-url {
  flex: 1; font-size: 12px; color: var(--ink-mute); background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 5px 12px; text-align: center;
}
.preview-frame { position: relative; height: 430px; background: var(--canvas); }
.preview-frame iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.preview-open {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 18px; opacity: 0; transition: opacity .2s ease;
  background: linear-gradient(180deg, transparent 60%, rgba(13,37,61,.28));
}
.preview-open:hover, .preview-open:focus-visible { opacity: 1; outline: none; }
.preview-open span { background: #fff; color: var(--brand-dark); font-size: 14px; font-weight: 400; padding: 9px 18px; border-radius: var(--r-pill); box-shadow: var(--sh-2); }
.preview-tag {
  position: absolute; left: -14px; bottom: 26px; z-index: 2;
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
.preview-tag b { font-weight: 400; font-size: 14px; color: var(--ink); }
.preview-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #1fbe6b; flex: none; box-shadow: 0 0 0 3px rgba(31,190,107,.18); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.soft { background: var(--canvas-soft); }
.section-head { max-width: 60ch; }
.section-head.center { margin: 0 auto; }
.section-head .sub { margin-top: 14px; }

/* ---------- Feature split cards (dois braços) ---------- */
.arms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.arm {
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--sh-1); display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.arm:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.arm.flagship { border-color: color-mix(in srgb, var(--primary) 42%, var(--hairline)); }
.arm .tag { align-self: flex-start; margin-bottom: 16px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.tag.indigo { color: var(--primary-deep); background: var(--primary-subdued); }
.tag.muted { color: var(--ink-mute); background: color-mix(in srgb, var(--ink-mute) 12%, transparent); }
.arm h3 { margin-bottom: 10px; }
.arm > p { color: var(--ink-mute); font-size: 15px; }
.feature-list { list-style: none; margin: 20px 0 24px; display: grid; gap: 11px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15px; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: var(--r-sm);
  background: var(--primary-subdued);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23533afd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.arm .link-i { margin-top: auto; }
.arm .link-i:hover { text-decoration: underline; }

/* ---------- Portfolio ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.pf-card {
  display: flex; flex-direction: column; background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--pf1) 50%, var(--hairline)); }
.pf-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.pf-thumb { height: 128px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--pf1), var(--pf2)); display: grid; place-items: center; }
.pf-thumb::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.35) 1px, transparent 0);
  background-size: 17px 17px; mask-image: linear-gradient(160deg, #000, transparent 78%);
}
.pf-emoji { font-size: 42px; position: relative; z-index: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
.pf-body { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 20px; }
.pf-body b { font-weight: 400; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.pf-body > span:not(.pf-go) { color: var(--ink-mute); font-size: 14px; }
.pf-go { margin-top: 12px; font-size: 14px; color: var(--primary); }
.pf-note { margin-top: 30px; color: var(--ink-mute); font-size: 15px; }

/* ---------- Steps (process) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 46px; }
.step { position: relative; padding-top: 20px; border-top: 1px solid var(--hairline); }
.step .n { font-size: 13px; font-weight: 400; color: var(--primary); letter-spacing: 0.04em; }
.step h3 { font-size: 19px; margin: 12px 0 8px; }
.step p { color: var(--ink-mute); font-size: 15px; }

/* ---------- Incluso (soft tags) ---------- */
.included { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.included li { list-style: none; }
.included li span {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2);
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 9px 16px 9px 14px;
}
.included li span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center; flex: none;
}

/* ---------- Planos (pricing; featured = dark navy) ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; align-items: stretch; }
.plan {
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column; box-shadow: var(--sh-1);
}
.plan.featured { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; box-shadow: var(--sh-3); }
.plan .tag { align-self: flex-start; margin-bottom: 18px; }
.plan.featured .tag { color: #cfd0ff; background: rgba(255,255,255,.12); }
.plan h3 { font-size: 22px; }
.plan.featured h3 { color: #fff; }
.plan-desc { color: var(--ink-mute); font-size: 15px; margin-top: 6px; }
.plan.featured .plan-desc { color: #b9c2e6; }
.price-row { display: flex; gap: 28px; flex-wrap: wrap; margin: 22px 0 4px; }
.price-block { display: flex; flex-direction: column; gap: 3px; }
.price-label { font-size: 12px; font-weight: 400; letter-spacing: 0.04em; color: var(--ink-mute); }
.plan.featured .price-label { color: #a8b2da; }
.price { font-size: clamp(28px, 3.4vw, 34px); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); }
.plan.featured .price { color: #fff; }
.price small { font-size: 15px; color: var(--ink-mute); }
.plan.featured .price small { color: #b9c2e6; }
.plan .feature-list { margin-top: 22px; }
.plan.featured .feature-list li { color: #dfe4f5; }
.plan.featured .feature-list li::before { background: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b9b9f9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center; }
.plan .btn { margin-top: auto; }

/* ---------- Diferenciais (borderless 2x2, spacing not cards) ---------- */
.diffs { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; margin-top: 46px; }
.diff { padding-top: 22px; border-top: 1px solid var(--hairline); }
.diff h3 { font-size: 20px; margin-bottom: 8px; }
.diff p { color: var(--ink-mute); font-size: 15px; max-width: 42ch; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; background: var(--brand-dark); border-radius: var(--r-xl); padding: clamp(48px, 7vw, 76px) 32px; text-align: center; }
.cta-final .mesh-cta {
  position: absolute; inset: auto -10% -70% -10%; height: 360px; z-index: 0; filter: blur(60px); opacity: .55; pointer-events: none;
  background: radial-gradient(40% 70% at 30% 100%, var(--primary-soft), transparent 60%), radial-gradient(40% 70% at 75% 100%, var(--ruby), transparent 60%);
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { color: #fff; }
.cta-final p { color: #c2caea; font-size: 18px; margin: 14px auto 28px; max-width: 46ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 64px 0 40px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--ink-mute); font-size: 14px; margin-top: 12px; max-width: 30ch; }
.footer-col h4 { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hairline); color: var(--ink-mute); font-size: 13px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(37,211,102,.6); transition: transform .18s ease; }
.wa-float:hover { transform: scale(1.07) translateY(-2px); }
.wa-float:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.wa-float svg { width: 31px; height: 31px; }

/* ---------- Reveal ---------- */
[data-animate] { opacity: 0; transform: translateY(18px); }
[data-animate].in-view { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .06s; } .reveal.d2 { animation-delay: .13s; } .reveal.d3 { animation-delay: .2s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  [data-animate], .reveal { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .arm:hover, .pf-card:hover, .btn:active, .wa-float:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .preview { max-width: 520px; }
  .arms, .plans, .diffs { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 620px) {
  .pf-grid, .steps { grid-template-columns: 1fr; }
  .header-actions .signin { display: none; }
  .preview-tag { left: 8px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
