/* ============================================================================
   SmartCRM — site de vendas (smartcrm.com.br)
   Identidade: _docs/Identidade/SmartCRM-Direcao-Visual.md (fonte da verdade).
   Base fria e limpa; lime e forest sao ACENTOS.

   REGRA DE OURO: --lime (#76E400) so existe como FUNDO (com tinta escura por
   cima). Lime como texto sobre branco da 1.63:1 — ilegivel. Todo verde que for
   TEXTO, icone ou traco usa --accent-text (forest, 7.78:1).
   ============================================================================ */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eceff4;
  --surface-3: #edf0f5;

  --ink: #14231c;
  --text: #1b2430;
  --text-2: #5b6472;
  --text-3: #8a96a5;

  --border: #e4e8f0;
  --border-2: #d3dae4;

  --lime: #76e400;
  --lime-ink: #14231c;
  --lime-soft: #eaf9d6;
  --forest: #2d5b47;
  --forest-ink: #eaf3ec;
  --accent-text: var(--forest);
  --focus: var(--forest);

  /* Superficies escuras (secoes de contraste e rodape) */
  --dark: #0f1520;
  --dark-2: #171f2c;
  --dark-3: #1e2837;
  --dark-border: #2a3341;
  --dark-text: #eaeef4;
  --dark-text-2: #9aa6b6;
  --dark-text-3: #6b7686;
  --dark-lime: #7ceb07;

  /* Semanticas */
  --ok: #1f9d57;      --ok-bg: #e4f4ea;
  --warn: #d98a12;    --warn-bg: #faefd8;
  --err: #dc3a3a;     --err-bg: #fae5e5;
  --info: #2f72e0;    --info-bg: #e4edfb;
  --roxo: #7c5ce0;    --roxo-bg: #ece7fb;

  --r-sm: 9px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --pill: 999px;

  --sh-sm: 0 1px 2px rgba(20,35,28,.06), 0 1px 3px rgba(20,35,28,.05);
  --sh-md: 0 4px 14px rgba(20,35,28,.08), 0 1px 3px rgba(20,35,28,.05);
  --sh-lg: 0 18px 50px rgba(20,35,28,.10), 0 4px 14px rgba(20,35,28,.06);
  --sh-xl: 0 34px 80px rgba(20,35,28,.14), 0 8px 24px rgba(20,35,28,.07);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --container: 1200px;
  --nav-h: 72px;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.06; letter-spacing: -.025em; color: var(--ink); font-weight: 800; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* Numeros tecnicos: sempre tabulares e em mono (identidade §3) */
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Primitivas de layout ---------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 780px; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--dark { background: var(--dark); color: var(--dark-text-2); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--dark-text); }
.section--soft { background: var(--surface); }
.section--edge { border-top: 1px solid var(--border); }

/* Textura de fundo: malha de pontos fria — atmosfera sem ruido visual */
.section--grid {
  background-image: radial-gradient(circle at 1px 1px, rgba(45,91,71,.10) 1px, transparent 0);
  background-size: 32px 32px;
}

/* ---------- Tipografia --------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent-text); margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--dark-lime); }
.display { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); line-height: 1.6; }
.section--dark .lead { color: var(--dark-text-2); }
.muted { color: var(--text-2); }
.small { font-size: .85rem; }

.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { margin-top: 1rem; }

/* ---------- Botoes ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: var(--pill); border: 1px solid transparent;
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primario = lime de FUNDO, tinta escura por cima (10:1) */
.btn--primary { background: var(--lime); color: var(--lime-ink); box-shadow: 0 4px 16px rgba(118,228,0,.28); }
.btn--primary:hover { background: #6ad300; box-shadow: 0 10px 26px rgba(118,228,0,.38); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1d3329; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--forest); color: var(--forest); background: rgba(45,91,71,.04); }

.section--dark .btn--ghost,
.cta-band .btn--ghost,
.calc .btn--ghost { color: var(--dark-text); border-color: var(--dark-border); }
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.calc .btn--ghost:hover { border-color: var(--dark-lime); color: var(--dark-lime); background: rgba(124,235,7,.08); }

.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* Link com seta que avanca no hover */
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; }
.link-arrow:hover { text-decoration: none; }
.link-arrow .material-symbols-outlined { font-size: 1.05rem; transition: transform .2s ease; }
.link-arrow:hover .material-symbols-outlined { transform: translateX(4px); }

/* ---------- Icones ------------------------------------------------------- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  line-height: 1; vertical-align: middle; user-select: none;
}
.ic-tile {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: grid; place-items: center; flex: none;
  background: var(--lime-soft); color: var(--forest);
}
.ic-tile .material-symbols-outlined { font-size: 1.4rem; }
.section--dark .ic-tile { background: rgba(124,235,7,.12); color: var(--dark-lime); }

/* ---------- Chips / badges ---------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem; border-radius: var(--pill);
  font-size: .75rem; font-weight: 700; letter-spacing: .01em;
  background: var(--surface-2); color: var(--text-2);
}
.chip--ok   { background: var(--ok-bg);   color: var(--ok); }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--err  { background: var(--err-bg);  color: var(--err); }
.chip--info { background: var(--info-bg); color: var(--info); }
.chip--roxo { background: var(--roxo-bg); color: var(--roxo); }
.chip--lime { background: var(--lime-soft); color: var(--forest); }

/* Selo de destaque no hero (borda viva, tinta legivel) */
.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .5rem .45rem .95rem; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--sh-sm); font-size: .82rem; font-weight: 600; color: var(--text-2);
}
.badge b { color: var(--ink); font-weight: 800; }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; box-shadow: 0 0 0 3px rgba(118,228,0,.22); }

/* ---------- Cards -------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 1.8rem); box-shadow: var(--sh-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--border-2); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-2); font-size: .95rem; margin: 0; }
.section--dark .card { background: var(--dark-2); border-color: var(--dark-border); box-shadow: none; }
.section--dark .card p { color: var(--dark-text-2); }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Navbar ------------------------------------------------------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,248,252,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 20px rgba(20,35,28,.05); }
.navbar__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  height: var(--nav-h); display: flex; align-items: center; gap: 2rem;
}
.navbar__logo { display: flex; align-items: center; flex: none; }
.navbar__logo img { height: 30px; width: auto; }
.navbar__menu { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.navbar__menu-login { display: none; }
.navbar__menu a {
  font-size: .93rem; font-weight: 600; color: var(--text-2); position: relative; padding: .25rem 0;
  transition: color .18s ease;
}
.navbar__menu a:hover { color: var(--ink); text-decoration: none; }
.navbar__menu a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--lime); border-radius: 2px; transition: right .22s ease;
}
.navbar__menu a:hover::after { right: 0; }
.navbar__actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.navbar__login { font-size: .9rem; font-weight: 700; color: var(--ink); padding: .5rem .4rem; }
.navbar__login:hover { color: var(--forest); text-decoration: none; }
.navbar__toggle {
  display: none; background: none; border: 1px solid var(--border-2); border-radius: var(--r-sm);
  width: 42px; height: 42px; place-items: center; cursor: pointer; color: var(--ink);
}
@media (max-width: 1000px) {
  .navbar__toggle { display: grid; }
  .navbar__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .5rem 1.5rem 1.5rem; box-shadow: var(--sh-lg); margin: 0;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    display: none;
  }
  .navbar__menu.open { display: flex; }
  .navbar__menu a { padding: .9rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .navbar__menu a::after { display: none; }
  .navbar__login { display: none; }
  .navbar__menu-login { display: block; color: var(--accent-text) !important; font-weight: 700; }
}
/* No celular o CTA e o que mais importa — em vez de esconde-lo, encolhe a marca e o botao
   para os tres caberem (logo ~130px + CTA + toggle < 327px uteis a 375px). */
@media (max-width: 520px) {
  .navbar__inner { gap: .75rem; padding: 0 1rem; }
  .navbar__logo img { height: 26px; }
  .navbar__actions { gap: .4rem; }
  .navbar__actions .btn { padding: .5rem .85rem; font-size: .8rem; }
  .navbar__toggle { width: 38px; height: 38px; }
}

/* ---------- Rodape ------------------------------------------------------- */
.footer { background: var(--dark); color: var(--dark-text-2); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; }
.footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__main { grid-template-columns: 1fr; } }
.footer__logo img { height: 32px; width: auto; }
.footer__desc { margin-top: 1.1rem; font-size: .9rem; line-height: 1.7; max-width: 34ch; color: var(--dark-text-2); }
.footer h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dark-text-3); font-weight: 700; margin-bottom: 1.1rem; }
.footer ul li { margin-bottom: .6rem; }
.footer ul a { color: var(--dark-text-2); font-size: .9rem; font-weight: 500; }
.footer ul a:hover { color: var(--dark-lime); text-decoration: none; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--dark-border);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--dark-text-3);
}
.footer__bottom a { color: var(--dark-text-2); font-weight: 600; }
.footer__social { display: flex; gap: .5rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--dark-border); color: var(--dark-text-2); transition: all .18s ease;
}
.footer__social a:hover { border-color: var(--dark-lime); color: var(--dark-lime); background: rgba(124,235,7,.08); text-decoration: none; }

/* ---------- WhatsApp flutuante ------------------------------------------ */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); text-decoration: none; }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ============================================================================
   HERO — a matematica do preco na primeira dobra + o produto renderizado ao lado
   ============================================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem); }
.hero::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: -30%; right: -10%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(118,228,0,.16) 0%, rgba(118,228,0,.05) 42%, transparent 68%);
}
.hero::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  bottom: -40%; left: -15%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(45,91,71,.10) 0%, transparent 66%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__title { font-size: clamp(2.3rem, 5.2vw, 3.75rem); letter-spacing: -.035em; line-height: 1.02; }
.hero__title em { font-style: normal; position: relative; white-space: nowrap; }
/* Grifo lime por tras da palavra-chave: cor de marca sem virar texto lime */
.hero__title em::after {
  content: ''; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .34em;
  background: var(--lime); opacity: .32; border-radius: 3px; z-index: -1;
}
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.02rem, 1.6vw, 1.17rem); color: var(--text-2); line-height: 1.65; max-width: 52ch; }
.hero__cta { margin-top: 2rem; }
.hero__note { margin-top: 1.1rem; font-size: .85rem; color: var(--text-3); display: flex; align-items: center; gap: .45rem; }
.hero__note .material-symbols-outlined { font-size: 1.05rem; color: var(--ok); }

/* Faixa de preco: a "matematica simples" — mono, tabular, sem rodeio */
.hero__price {
  margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap;
}
.hero__price-value { font-family: var(--mono); font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 500; color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero__price-value sup { font-size: .5em; font-weight: 500; top: -.7em; margin-right: .1em; }
.hero__price-unit { font-size: .95rem; color: var(--text-2); font-weight: 600; }
.hero__price-tag { margin-left: auto; }

/* ---------- Mock do produto (kanban em CSS puro) ------------------------- */
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.mock__dots { display: flex; gap: .35rem; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); display: block; }
.mock__url {
  flex: 1; text-align: center; font-family: var(--mono); font-size: .7rem; color: var(--text-3);
  background: var(--surface); border-radius: var(--pill); padding: .25rem .8rem; border: 1px solid var(--border);
}
.mock__body { padding: 1rem; }

.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.kanban__col { background: var(--bg); border-radius: var(--r); padding: .55rem; min-width: 0; }
.kanban__head { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .7rem; }
.kanban__name { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.kanban__sum { font-family: var(--mono); font-size: .6rem; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.kanban__col--won .kanban__name { color: var(--ok); }

.deal {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: .65rem; margin-bottom: .5rem; box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.deal:last-child { margin-bottom: 0; }
.deal:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.deal__title { font-size: .74rem; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: .35rem; }
.deal__meta { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.deal__value { font-family: var(--mono); font-size: .7rem; font-weight: 500; color: var(--forest); font-variant-numeric: tabular-nums; white-space: nowrap; }
.deal__stars { font-family: var(--mono); font-size: .62rem; color: var(--warn); white-space: nowrap; flex: none; font-variant-numeric: tabular-nums; }
.deal__av { width: 18px; height: 18px; border-radius: 50%; background: var(--forest); color: #fff; font-size: .58rem; font-weight: 800; display: grid; place-items: center; flex: none; }

/* O card que "se move": micro-animacao unica, o gesto que vende o kanban */
.deal--moving { animation: dealFloat 5.5s ease-in-out infinite; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(118,228,0,.16), var(--sh-md); }
@keyframes dealFloat {
  0%, 42%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%, 92%      { transform: translate(6px, -4px) rotate(-1.2deg); }
}
@media (prefers-reduced-motion: reduce) { .deal--moving { animation: none; } }

@media (max-width: 480px) {
  .kanban { grid-template-columns: repeat(2, 1fr); }
  .kanban__col:last-child { display: none; }
}

/* ============================================================================
   NUMEROS — faixa de metricas do produto
   ============================================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 1.5rem 0; border-top: 2px solid var(--border); }
.stat__number {
  font-family: var(--mono); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500;
  color: var(--ink); letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1;
}
.stat__label { margin-top: .6rem; font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.section--dark .stat { border-top-color: var(--dark-border); }
.section--dark .stat__number { color: var(--dark-text); }
.section--dark .stat__label { color: var(--dark-text-2); }

/* ============================================================================
   RECURSOS — grade de capacidades
   ============================================================================ */
.feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat__body h3 { margin-bottom: .4rem; }
.feat__body p { color: var(--text-2); font-size: .93rem; margin: 0; line-height: 1.65; }
.section--dark .feat__body p { color: var(--dark-text-2); }
.feat__list { margin-top: .7rem; }
.feat__list li { font-size: .87rem; color: var(--text-2); padding-left: 1.1rem; position: relative; margin-top: .3rem; }
.feat__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

/* ============================================================================
   AUTOMACAO — a regra "Quando -> Se -> Entao" montada de verdade
   ============================================================================ */
.rule { display: grid; gap: 0; }
.rule__step { position: relative; padding-left: 2.5rem; padding-bottom: 1.5rem; }
.rule__step:last-child { padding-bottom: 0; }
/* trilho vertical ligando os passos */
.rule__step::before {
  content: ''; position: absolute; left: 13px; top: 30px; bottom: -6px; width: 2px;
  background: linear-gradient(180deg, var(--border-2), var(--border));
}
.rule__step:last-child::before { display: none; }
.rule__dot {
  position: absolute; left: 0; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: .68rem; font-weight: 800;
  background: var(--surface); border: 2px solid var(--border-2); color: var(--text-2);
}
.rule__step--when .rule__dot { border-color: var(--info); color: var(--info); background: var(--info-bg); }
.rule__step--if   .rule__dot { border-color: var(--warn); color: var(--warn); background: var(--warn-bg); }
.rule__step--then .rule__dot { border-color: var(--forest); color: var(--forest); background: var(--lime-soft); }
.rule__label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); margin-bottom: .5rem; }
.rule__card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: .85rem 1rem; box-shadow: var(--sh-sm); font-size: .93rem; color: var(--text);
  display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem;
}
.rule__card:last-child { margin-bottom: 0; }
.rule__card .material-symbols-outlined { font-size: 1.15rem; color: var(--accent-text); flex: none; }
.rule__card code {
  font-family: var(--mono); font-size: .84em; background: var(--surface-2);
  padding: .1rem .4rem; border-radius: 5px; color: var(--forest); font-weight: 500;
}
.section--dark .rule__card { background: var(--dark-2); border-color: var(--dark-border); color: var(--dark-text); box-shadow: none; }
.section--dark .rule__card code { background: var(--dark-3); color: var(--dark-lime); }
.section--dark .rule__dot { background: var(--dark-3); }
.section--dark .rule__step::before { background: var(--dark-border); }

/* Painel "o que ela viu" — o log de eventos ao lado da regra */
.eventlog {
  background: var(--dark); border-radius: var(--r-lg); padding: 1.25rem; color: var(--dark-text-2);
  font-family: var(--mono); font-size: .78rem; line-height: 1.5; overflow: hidden;
}
.eventlog__head {
  display: flex; align-items: center; gap: .5rem; padding-bottom: .85rem; margin-bottom: .85rem;
  border-bottom: 1px solid var(--dark-border); font-size: .7rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--dark-text-3); font-family: var(--font); font-weight: 700;
}
.eventlog__live { width: 7px; height: 7px; border-radius: 50%; background: var(--dark-lime); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(124,235,7,.5); } 50% { opacity: .6; box-shadow: 0 0 0 6px rgba(124,235,7,0); } }
@media (prefers-reduced-motion: reduce) { .eventlog__live { animation: none; } }
.eventlog__row { display: flex; gap: .7rem; padding: .32rem 0; align-items: baseline; }
.eventlog__t { color: var(--dark-text-3); flex: none; }
.eventlog__e { color: var(--dark-lime); flex: none; }
.eventlog__d { color: var(--dark-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================================
   VERTICAIS — cards de segmento
   ============================================================================ */
.vert { display: block; padding: 1.6rem; height: 100%; }
.vert:hover { text-decoration: none; }
.vert h3 { color: var(--ink); margin: 1rem 0 .5rem; }
.vert p { color: var(--text-2); font-size: .92rem; margin: 0 0 1rem; }
.vert__go { font-size: .85rem; font-weight: 700; color: var(--accent-text); display: inline-flex; align-items: center; gap: .35rem; }
.vert:hover .vert__go .material-symbols-outlined { transform: translateX(4px); }
.vert__go .material-symbols-outlined { font-size: 1rem; transition: transform .2s ease; }

/* ============================================================================
   PASSOS — como comecar
   ============================================================================ */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step { position: relative; padding: 1.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--accent-text);
  background: var(--lime-soft); padding: .2rem .55rem; border-radius: var(--pill);
  display: inline-block; margin-bottom: .9rem;
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--text-2); font-size: .93rem; margin: 0; }

/* ============================================================================
   PRECO — plano unico + calculadora (usuarios x mensalidade)
   ============================================================================ */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } }

.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--sh-lg);
  display: flex; flex-direction: column;
}
/* fio lime no topo do card do plano — o unico ornamento */
.plan::before {
  content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px;
  background: var(--lime); border-radius: 0 0 3px 3px;
}
.plan__name { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-text); }
.plan__price { margin: 1.1rem 0 .3rem; display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }
.plan__amount {
  font-family: var(--mono); font-size: clamp(2.6rem, 6vw, 3.5rem); font-weight: 500;
  color: var(--ink); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums;
}
.plan__amount sup { font-size: .38em; top: -1.1em; margin-right: .12em; font-weight: 600; }
.plan__per { font-size: .95rem; color: var(--text-2); font-weight: 600; }
.plan__note { font-size: .88rem; color: var(--text-2); margin: 0 0 1.5rem; }
.plan__list { margin: 0 0 1.75rem; display: grid; gap: .65rem; }
.plan__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--text); }
.plan__list .material-symbols-outlined { font-size: 1.15rem; color: var(--ok); flex: none; margin-top: .08em; }
.plan__cta { margin-top: auto; }
.plan__cta .btn { width: 100%; }
.plan__fine { margin: .9rem 0 0; font-size: .8rem; color: var(--text-3); text-align: center; }

/* Calculadora */
.calc {
  background: var(--ink); color: var(--dark-text); border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column;
}
.calc h3 { color: #fff; font-size: 1.25rem; margin-bottom: .4rem; }
.calc__intro { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 2rem; }
.calc__readout { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: .35rem; }
.calc__total {
  font-family: var(--mono); font-size: clamp(2.4rem, 5.5vw, 3.2rem); font-weight: 500;
  color: var(--dark-lime); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums;
}
.calc__total sup { font-size: .4em; top: -1em; margin-right: .1em; }
.calc__period { font-size: .95rem; color: rgba(255,255,255,.55); font-weight: 600; }
.calc__break { font-family: var(--mono); font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 2rem; font-variant-numeric: tabular-nums; }
.calc__field { margin-bottom: 1.5rem; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .9rem; }
.calc__label span { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: rgba(255,255,255,.5); }
.calc__count { font-family: var(--mono); font-size: 1.1rem; color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }

.calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: var(--pill); background: rgba(255,255,255,.14); outline: none; cursor: pointer; }
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--lime); border: 3px solid var(--ink); cursor: grab;
  box-shadow: 0 0 0 4px rgba(118,228,0,.22); transition: transform .15s ease;
}
.calc__range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.calc__range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--lime);
  border: 3px solid var(--ink); cursor: grab; box-shadow: 0 0 0 4px rgba(118,228,0,.22);
}
.calc__range:focus-visible { outline: 2px solid var(--dark-lime); outline-offset: 4px; }
.calc__scale { display: flex; justify-content: space-between; margin-top: .6rem; font-family: var(--mono); font-size: .72rem; color: rgba(255,255,255,.35); }
.calc__foot { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.calc__foot .btn { width: 100%; }
.calc__disclaimer { margin: .9rem 0 0; font-size: .78rem; color: rgba(255,255,255,.4); text-align: center; }

/* Tabela comparativa (plano unico x tiers do mercado) */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
.tbl th, .tbl td { padding: .95rem 1.15rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .92rem; }
.tbl thead th {
  background: var(--surface-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 800; color: var(--text-2); border-bottom: 1px solid var(--border-2);
}
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl td:first-child { font-weight: 700; color: var(--ink); }
.tbl .material-symbols-outlined { font-size: 1.2rem; vertical-align: -.28em; }
.tbl .yes { color: var(--ok); }
.tbl .no  { color: var(--text-3); }

/* ============================================================================
   FAQ — acordeao sem JS
   ============================================================================ */
.faq { display: grid; gap: .75rem; max-width: 820px; margin: 0 auto; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item[open] { border-color: var(--border-2); box-shadow: var(--sh-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; font-weight: 700; color: var(--ink);
  font-size: 1rem; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--forest); }
.faq__ic { flex: none; color: var(--accent-text); transition: transform .25s ease; }
.faq__item[open] .faq__ic { transform: rotate(45deg); }
.faq__a { padding: 0 1.35rem 1.35rem; color: var(--text-2); font-size: .95rem; line-height: 1.7; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { font-weight: 600; text-decoration: underline; }

/* ============================================================================
   CTA final
   ============================================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.7); text-align: center; }
.cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 120%, rgba(118,228,0,.20) 0%, transparent 60%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,.6); font-size: 1.08rem; max-width: 52ch; margin: 1.25rem auto 2rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band__fine { margin-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.4); }

/* ============================================================================
   PAGE HERO (paginas internas) + prose (richtext) + split
   ============================================================================ */
.page-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--border); background: var(--surface); }
.crumb { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--text-3); margin-bottom: 1.25rem; flex-wrap: wrap; }
.crumb a { color: var(--text-2); font-weight: 600; }
.crumb a:hover { color: var(--forest); text-decoration: none; }
.crumb .material-symbols-outlined { font-size: 1rem; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 1.15rem; max-width: 62ch; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--rev .split__media { order: 2; }
@media (max-width: 900px) { .split--rev .split__media { order: 0; } }

.prose { color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.22rem; margin: 2rem 0 .75rem; }
.prose p { margin: 0 0 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.prose ul li { list-style: disc; margin-bottom: .5rem; }
.prose ol li { list-style: decimal; margin-bottom: .5rem; }
.prose a { text-decoration: underline; font-weight: 600; }
.prose img { border-radius: var(--r); margin: 1.75rem 0; }
.prose blockquote {
  margin: 1.75rem 0; padding: .25rem 0 .25rem 1.5rem;
  border-left: 3px solid var(--lime); color: var(--text-2); font-size: 1.08rem;
}
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: .15rem .4rem; border-radius: 5px; color: var(--forest); }
.prose pre { background: var(--dark); color: var(--dark-text); padding: 1.25rem; border-radius: var(--r); overflow-x: auto; font-family: var(--mono); font-size: .85rem; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: .93rem; }
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--surface-2); font-weight: 700; }

/* ============================================================================
   BLOG
   ============================================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.post-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.post-card > a:hover { text-decoration: none; }
.post-card__img { aspect-ratio: 16/9; background: var(--surface-2); position: relative; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__img--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--forest), var(--ink)); }
.post-card__img--empty img { width: 56px; height: 56px; object-fit: contain; opacity: .9; }
.post-card__cat { position: absolute; top: .75rem; left: .75rem; z-index: 1; background: rgba(255,255,255,.95); color: var(--forest); font-size: .7rem; font-weight: 800; padding: .28rem .7rem; border-radius: var(--pill); text-transform: uppercase; letter-spacing: .06em; }
.post-card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-family: var(--mono); font-size: .72rem; color: var(--text-3); margin-bottom: .6rem; }
.post-card__title { font-size: 1.08rem; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: .55rem; }
.post-card__excerpt { font-size: .9rem; color: var(--text-2); line-height: 1.6; margin: 0 0 1.1rem; }
.post-card__read { margin-top: auto; font-size: .84rem; font-weight: 700; color: var(--accent-text); display: inline-flex; align-items: center; gap: .35rem; }
.post-card:hover .post-card__read .material-symbols-outlined { transform: translateX(4px); }
.post-card__read .material-symbols-outlined { font-size: 1rem; transition: transform .2s ease; }

.post-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } }
.post-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.aside-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; }
.aside-box h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 1rem; }
.aside-box li { margin-bottom: .95rem; padding-bottom: .95rem; border-bottom: 1px solid var(--border); }
.aside-box li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.aside-box a { color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.4; display: block; }
.aside-box a:hover { color: var(--forest); text-decoration: none; }
.aside-box .post-card__date { margin-bottom: .25rem; }
.aside-cta { background: var(--ink); color: rgba(255,255,255,.65); border-radius: var(--r-lg); padding: 1.5rem; margin-top: 1.25rem; }
.aside-cta h4 { color: #fff; font-size: 1.02rem; text-transform: none; letter-spacing: -.01em; margin-bottom: .5rem; font-weight: 800; }
.aside-cta p { font-size: .88rem; margin-bottom: 1.1rem; line-height: 1.6; }
.aside-cta .btn { width: 100%; }

.post-hero__cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--sh-md); }
.post-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: .88rem; color: var(--text-2); margin-top: 1.25rem; }
.post-meta__av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.autor-box { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 3rem; padding: 1.5rem; background: var(--surface-2); border-radius: var(--r-lg); }
.autor-box__foto { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; }
.autor-box__rotulo { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 700; }
.autor-box__nome { display: block; font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: .2rem 0 .4rem; }
.autor-box__bio { font-size: .9rem; color: var(--text-2); margin: 0; }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-2); }
.empty-state .material-symbols-outlined { font-size: 3rem; color: var(--text-3); margin-bottom: 1rem; }

/* ============================================================================
   FORMULARIO
   ============================================================================ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__group { display: flex; flex-direction: column; gap: .45rem; }
.form__group--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } .form__group { grid-column: 1 / -1; } }
.form label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.form label .hint { font-weight: 500; color: var(--text-3); }
.form input, .form textarea, .form select {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--border-2); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); font-size: .95rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(45,91,71,.12);
}
.form textarea { min-height: 140px; resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__captcha { grid-column: 1 / -1; }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form__status { grid-column: 1 / -1; font-size: .9rem; padding: 0; }
.form__status:not(:empty) { padding: .85rem 1.1rem; border-radius: var(--r-sm); font-weight: 600; }
.form__status.ok  { background: var(--ok-bg);  color: var(--ok); }
.form__status.err { background: var(--err-bg); color: var(--err); }
.form__fine { font-size: .8rem; color: var(--text-3); }

.contact-channels { display: grid; gap: 1rem; }
.channel { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: border-color .18s ease, transform .18s ease; }
.channel:hover { border-color: var(--border-2); transform: translateX(3px); text-decoration: none; }
.channel__label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 700; }
.channel__value { font-size: .98rem; font-weight: 700; color: var(--ink); }

/* ============================================================================
   Reveal on scroll
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
