/* =========================================================================
   Home / Landing page pública — DFe Captura
   Reaproveita a paleta do app (mesmos tokens do style.css).
   ========================================================================= */

:root {
  /* Paleta do app (espelha web/css/style.css) */
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e7e9ee;
  --border-strong: #d6dae1;

  --text: #111827;
  --text-2: #475467;
  --muted-c: #8a93a3;

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --primary-on: #ffffff;
  --primary-grad: linear-gradient(135deg, #4f46e5, #7c73ff);

  --success: #15803d;
  --success-soft: #dcfce7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --warning: #b45309;
  --warning-soft: #fef3c7;
  --info: #1d4ed8;
  --info-soft: #dbeafe;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 10px 24px rgba(16, 24, 40, .10);
  --shadow-xl: 0 24px 60px rgba(16, 24, 40, .14);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1120px;
  --nav-h: 64px;

  /* Easings com punch (emil-design-eng) — nunca ease-in em UI */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Fundo de listras diagonais com fade (inspirado no anexo, na paleta) ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 21px,
      rgba(79, 70, 229, .05) 21px,
      rgba(79, 70, 229, .05) 22px
    );
  -webkit-mask-image: radial-gradient(120% 90% at 50% -10%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% -10%, #000 35%, transparent 78%);
}

a { color: var(--primary); text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--text); line-height: 1.15; }

p { margin: 0; }

img { max-width: 100%; display: block; }

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

.muted { color: var(--muted-c); }
.center { text-align: center; }

/* Acessibilidade: pular para o conteúdo */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s var(--ease-out), color .16s var(--ease-out);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-on);
  box-shadow: 0 6px 16px rgba(79, 70, 229, .28);
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 10px 22px rgba(79, 70, 229, .34); }

.btn-grad {
  background: var(--primary-grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .32);
}
.btn-grad:hover { box-shadow: 0 12px 28px rgba(79, 70, 229, .4); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, .82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(246, 247, 249, .92); }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
}
.nav-inner > .brand { justify-self: start; }
.nav-inner > .nav-links { justify-self: center; }
.nav-inner > .nav-actions { justify-self: end; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand .logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary-grad);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px;
  box-shadow: var(--shadow-sm);
}
.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background .12s ease, color .12s ease;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .signin { color: var(--text-2); font-weight: 600; font-size: 14px; padding: 10px 12px; }
.nav-actions .signin:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }

/* listras mais marcadas + fade radial atrás do hero (igual ao anexo) */
.hero::before {
  content: "";
  position: absolute;
  inset: -40px 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 21px,
      rgba(79, 70, 229, .07) 21px,
      rgba(79, 70, 229, .07) 22px
    );
  -webkit-mask-image: radial-gradient(70% 70% at 50% 32%, #000 0%, rgba(0,0,0,.5) 45%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 50% 32%, #000 0%, rgba(0,0,0,.5) 45%, transparent 75%);
}

.hero-art {
  position: relative;
  height: 230px;
  margin: 0 auto 8px;
  max-width: 760px;
}
.hero-art .lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .lines path { stroke: var(--border-strong); stroke-width: 1.5; fill: none; stroke-dasharray: 4 5; }
.hero-art .lines circle { fill: var(--primary); }

.tile {
  position: absolute;
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.tile svg { width: 24px; height: 24px; }
.tile.sm { width: 54px; height: 54px; }
.tile.md { width: 62px; height: 62px; }
.tile.center-node {
  width: 92px; height: 92px;
  border-radius: 22px;
  background: var(--primary-grad);
  border: none;
  color: #fff;
  box-shadow: 0 18px 40px rgba(79, 70, 229, .4);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.tile.center-node svg { width: 40px; height: 40px; }

/* leve flutuação contínua das tiles */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.tile.float { animation: floaty 6s ease-in-out infinite; }
.tile.float.d1 { animation-delay: -1.2s; }
.tile.float.d2 { animation-delay: -2.4s; }
.tile.float.d3 { animation-delay: -3.6s; }
.tile.float.d4 { animation-delay: -4.8s; }
@keyframes pulse-node {
  0%,100% { box-shadow: 0 18px 40px rgba(79,70,229,.4); }
  50% { box-shadow: 0 18px 52px rgba(79,70,229,.6); }
}
.tile.center-node { animation: pulse-node 4s ease-in-out infinite; }

/* posições das tiles (desktop) */
.tile.t1 { left: 6%;  top: 38%; background: var(--surface); color: var(--text-2); }
.tile.t2 { left: 20%; top: 70%; background: var(--info-soft); color: var(--info); }
.tile.t3 { left: 19%; top: 8%;  background: var(--warning-soft); color: var(--warning); }
.tile.t4 { right: 19%; top: 6%; background: var(--danger-soft); color: var(--danger); }
.tile.t5 { right: 6%; top: 36%; background: var(--surface); color: var(--text-2); }
.tile.t6 { right: 20%; top: 70%; background: var(--success-soft); color: var(--success); }

.hero-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.hero-copy h1 {
  font-size: clamp(30px, 6vw, 56px);
  letter-spacing: -.025em;
  margin-bottom: 18px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
/* risco estético disciplinado: palavra-chave com gradiente da marca */
.grad-text {
  background: linear-gradient(135deg, #4f46e5, #7c73ff);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-copy .sub {
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 28px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted-c); }

/* ---------- Seções genéricas ---------- */
.section { padding: 72px 0; position: relative; }
.section.tight { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker {
  text-transform: uppercase; letter-spacing: .08em; font-size: 12px;
  font-weight: 700; color: var(--primary); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 17px; }

.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Proposta de valor (texto) ---------- */
.lead-block { max-width: 760px; margin: 0 auto; text-align: center; }
.lead-block p { font-size: clamp(17px, 2.6vw, 21px); color: var(--text); margin-bottom: 16px; }
.lead-block p.muted { color: var(--text-2); font-size: 16px; }
.lead-block strong { color: var(--text); }

/* ---------- Proposta de valor: Antes -> Depois ---------- */
.beforeafter {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.ba-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.ba-after {
  border-color: #c7d2fe;
  box-shadow: 0 16px 40px rgba(79, 70, 229, .12);
  position: relative;
}
.ba-tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 18px;
}
.ba-tag-bad { background: var(--danger-soft); color: var(--danger); }
.ba-tag-ok { background: var(--primary-soft); color: var(--primary); }
.ba-scatter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ba-chip {
  font-size: 13px; font-weight: 500; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 11px;
  display: inline-flex; gap: 6px; align-items: center;
}
.ba-chip svg { width: 14px; height: 14px; color: var(--muted-c); }
.ba-scatter .ba-chip:nth-child(odd) { transform: rotate(-1.5deg); }
.ba-scatter .ba-chip:nth-child(3n) { transform: rotate(2deg); }
.ba-list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 11px; }
.ba-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); align-items: flex-start; }
.ba-list li .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.ba-before .ic { color: var(--danger); }
.ba-after .ba-list li .ic { color: var(--success); }
.ba-unified { display: grid; gap: 10px; margin-bottom: 20px; }
.ba-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.ba-row .lbl { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
.ba-row .ic-box { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ba-row .ic-box svg { width: 15px; height: 15px; }
.ba-row .ok { color: var(--success); display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; }
.ba-row .ok svg { width: 14px; height: 14px; }
.ba-arrow { display: grid; place-items: center; color: var(--primary); }
.ba-arrow svg { width: 40px; height: 40px; }
@keyframes arrow-nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.ba-arrow svg { animation: arrow-nudge 1.8s ease-in-out infinite; }

@media (max-width: 820px) {
  .beforeafter { grid-template-columns: 1fr; gap: 16px; }
  .ba-arrow svg { transform: rotate(90deg); animation: none; }
}

/* ---------- Dor (lista) ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.pain-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.pain-item .emoji { font-size: 20px; line-height: 1.3; flex: none; }
.pain-item p { color: var(--text-2); font-size: 15px; }
.pain-closer { text-align: center; margin-top: 28px; font-size: 18px; font-weight: 600; }

/* ---------- Solução (split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.split h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.02em; margin-bottom: 16px; }
.split .lede { color: var(--text-2); font-size: 17px; margin-bottom: 22px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.check-list .ck {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--success-soft); color: var(--success);
  display: grid; place-items: center;
}
.check-list .ck svg { width: 14px; height: 14px; }

/* card "painel" decorativo da solução */
.panel-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 18px;
}
.panel-mock .bar { display: flex; gap: 6px; margin-bottom: 16px; }
.panel-mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.panel-mock .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px; border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 10px;
  background: var(--surface-2);
}
.panel-mock .row .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
}
.panel-mock .row .ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.panel-mock .row .ico svg { width: 17px; height: 17px; }
.panel-mock .pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.pill-ok { background: var(--success-soft); color: var(--success); }
.ico-nfe { background: var(--info-soft); color: var(--info); }
.ico-cte { background: var(--warning-soft); color: var(--warning); }
.ico-nfse { background: var(--primary-soft); color: var(--primary); }

/* ---------- Benefícios (cards) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card .ico {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- Prova social ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 860px; margin: 0 auto 28px;
}
.stat {
  text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 18px;
}
.stat .num { font-size: clamp(28px, 5vw, 40px); font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.stat .lbl { color: var(--text-2); font-size: 14px; margin-top: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 10px 18px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
}
.badge svg { width: 16px; height: 16px; color: var(--success); flex: none; }

/* ---------- Oferta / Pricing ---------- */
.price-wrap { max-width: 520px; margin: 0 auto; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.price-head {
  background: var(--primary-grad);
  color: #fff;
  padding: 28px 30px;
  text-align: center;
}
.price-head .top-label { font-size: 14px; opacity: .9; }
.price-head .amount { font-size: clamp(38px, 8vw, 46px); font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.price-head .amount span { font-size: 18px; font-weight: 600; opacity: .9; }
.price-head .setup {
  display: inline-block; margin-top: 12px;
  background: rgba(255,255,255,.18); border-radius: var(--radius-pill);
  padding: 6px 16px; font-size: 14px; font-weight: 600;
}
.price-body { padding: 28px 30px; }
.price-body ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 13px; }
.price-body li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.price-body li .ck {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--success-soft); color: var(--success);
  display: grid; place-items: center;
}
.price-body li .ck svg { width: 13px; height: 13px; }
.pay-line { text-align: center; color: var(--muted-c); font-size: 13px; margin-top: 16px; }
.pay-line strong { color: var(--text-2); }

/* ---------- Objeções ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 940px; margin: 0 auto; }
.obj {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.obj .q { font-weight: 700; color: var(--text); margin-bottom: 8px; }
.obj .a { color: var(--text-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 600; font-size: 16px; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s ease; flex: none; color: var(--muted-c); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; }

/* ---------- CTA final ---------- */
.cta-final { padding: 80px 0; }
.cta-box {
  max-width: 880px; margin: 0 auto; text-align: center;
  background: var(--primary-grad); color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 21px, rgba(255,255,255,.06) 21px, rgba(255,255,255,.06) 22px);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 70%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; letter-spacing: -.02em; }
.cta-box p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 560px; margin: 0 auto 26px; }
.cta-box .btn-light { background: #fff; color: var(--primary); }
.cta-box .btn-light:hover { background: #f3f3ff; }
.cta-box .fine { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.85); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer .brand { margin-bottom: 12px; }
.footer .brand-text { font-weight: 700; font-size: 16px; color: var(--text); }
.footer .about { color: var(--text-2); font-size: 14px; max-width: 320px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-c); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted-c); font-size: 13px;
}
.footer-bottom a { color: var(--muted-c); }
.footer-bottom a:hover { color: var(--text-2); }

/* ---------- Banner de cookies (LGPD) ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 720px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.cookie.show { transform: translateY(0); }
.cookie p { color: var(--text-2); font-size: 14px; flex: 1 1 320px; }
.cookie p a { font-weight: 600; }
.cookie .actions { display: flex; gap: 10px; flex: none; }
.cookie .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- WhatsApp flutuante + popup ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.wa-btn:hover { transform: scale(1.06); box-shadow: 0 12px 28px rgba(37, 211, 102, .55); }
.wa-btn svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0% { box-shadow: 0 8px 22px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 8px 22px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 8px 22px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }
.wa-btn { animation: wa-pulse 2.6s ease-out infinite; }

.wa-pop {
  width: 290px; max-width: calc(100vw - 44px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  padding: 16px 16px 16px; position: relative;
  opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.wa-pop.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-pop .wa-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wa-pop .wa-ico { width: 34px; height: 34px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; }
.wa-pop .wa-ico svg { width: 20px; height: 20px; }
.wa-pop .wa-title { font-weight: 700; font-size: 15px; color: var(--text); }
.wa-pop .wa-text { color: var(--text-2); font-size: 13.5px; margin-bottom: 14px; }
.wa-pop .wa-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: #fff; font-weight: 600; font-size: 14px;
  padding: 11px 16px; border-radius: var(--radius-sm); width: 100%;
}
.wa-pop .wa-cta:hover { filter: brightness(1.04); }
.wa-pop .wa-cta svg { width: 17px; height: 17px; }
.wa-pop-close {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; border: none; background: var(--surface-2);
  color: var(--muted-c); border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1;
  display: grid; place-items: center;
}
.wa-pop-close:hover { background: var(--border); color: var(--text); }

@media (max-width: 620px) {
  .wa-float { right: 14px; bottom: 14px; }
  .wa-btn { width: 52px; height: 52px; }
  .wa-btn svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-btn { animation: none; }
}
/* Enquanto o banner de cookies está na tela, esconde o WhatsApp (evita sobreposição) */
body.cookie-on .wa-float { display: none; }

/* =========================================================================
   Animações de entrada (reveal on scroll)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
  will-change: opacity, transform;
}
/* variantes direcionais de entrada (aplicar junto com .reveal) */
.reveal.dir-left { transform: translateX(-32px); }
.reveal.dir-right { transform: translateX(32px); }
.reveal.dir-scale { transform: scale(.95); }
.reveal.in { opacity: 1; transform: none; }
/* stagger para filhos diretos marcados (50–80ms entre itens) */
.stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .03s; }
.stagger.in > *:nth-child(2) { transition-delay: .09s; }
.stagger.in > *:nth-child(3) { transition-delay: .15s; }
.stagger.in > *:nth-child(4) { transition-delay: .21s; }
.stagger.in > *:nth-child(5) { transition-delay: .27s; }
.stagger.in > *:nth-child(6) { transition-delay: .33s; }

/* hero entra no load */
.hero .eyebrow, .hero h1, .hero .sub, .hero .hero-cta, .hero .hero-note, .hero-art {
  opacity: 0; transform: translateY(18px);
  animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-art { animation-delay: .05s; }
.hero .eyebrow { animation-delay: .12s; }
.hero h1 { animation-delay: .20s; }
.hero .sub { animation-delay: .30s; }
.hero .hero-cta { animation-delay: .40s; }
.hero .hero-note { animation-delay: .50s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split .panel-mock { order: -1; }
}

@media (max-width: 860px) {
  .nav-inner { display: flex; justify-content: space-between; }
  .nav-links { display: none; }
  .nav-actions .signin { display: none; }
  .pain-grid, .obj-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-art { height: 200px; max-width: 460px; }
  .tile.t1, .tile.t5 { display: none; }
  .tile.t3 { left: 4%; }
  .tile.t4 { right: 4%; }
  .tile.t2 { left: 8%; }
  .tile.t6 { right: 8%; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 36px; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-final { padding: 56px 0; }
  .hero { padding: 24px 0 56px; }
  .hero-art { height: 168px; max-width: 360px; }
  .tile.md, .tile.sm { width: 48px; height: 48px; }
  .tile svg { width: 20px; height: 20px; }
  .tile.center-node { width: 74px; height: 74px; }
  .tile.center-node svg { width: 30px; height: 30px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
  .hero-cta .btn { width: 100%; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .price-head, .price-body { padding: 24px 20px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .cookie .actions { flex: 1 1 100%; }
  .cookie .actions .btn { flex: 1; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}

/* Em telas de toque, não prender estados de hover (emil-design-eng) */
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: inherit; }
  .card:hover { transform: none; box-shadow: var(--shadow); border-color: var(--border); }
  .nav-links a:hover { background: transparent; color: var(--text-2); }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > *,
  .hero .eyebrow, .hero h1, .hero .sub, .hero .hero-cta, .hero .hero-note, .hero-art {
    opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important;
  }
  .tile.float, .tile.center-node, .ba-arrow svg { animation: none !important; }
  .cookie { transition: none; }
}
