/* ===== Tokens ===== */
:root {
  --bg: #f7f6f1;
  --bg-raised: #f0eee6;
  --bg-card: #ffffff;
  --line: rgba(23,25,15,0.11);
  --line-soft: rgba(23,25,15,0.07);
  --ink: #191b12;
  --ink-soft: #55584a;
  --ink-dim: #8a8c7c;

  --c-posts: #b9873f;
  --c-editorial: #a06a2e;
  --c-bots: #1f8a5f;
  --c-crm: #6b7d40;
  --c-juridico: #8a5a2e;
  --c-dados: #1f7d6c;
  --c-votacao: #7a5c26;
  --c-transcricao: #3f7a37;
  --c-contabilidade: #93701f;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-heading: 'Jost', sans-serif;
  --ff-body: 'Roboto', sans-serif;

  --accent: #1f8a5f;
  --accent-soft: rgba(31,138,95,0.13);
  --accent-ink: #14523a;

  --radius-btn: 8px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  color-scheme: light;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 300 500;
  font-display: block;
  src: url('/fonts/MaterialSymbolsRounded.woff2') format('woff2');
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark-text { font-family: var(--ff-heading); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
em { font-family: var(--ff-display); font-style: italic; font-weight: 500; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-band { padding: 96px 0; }

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
}

/* ===== Topbar ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark-text { font-size: 18px; color: var(--ink); }
.wordmark-chips { display: flex; gap: 3px; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); display: block; }

.topbar-nav { display: flex; gap: 32px; }
.topbar-nav a { font-size: 14.5px; color: var(--ink-soft); transition: color .15s; }
.topbar-nav a:hover { color: var(--ink); }

.topbar-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 14.5px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-solid:hover { background: #000; }
.btn-accent {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.btn-text { color: var(--ink-soft); padding: 10px 8px; border-color: transparent; }
.btn-text:hover { color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-dim); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }

.btn-label-short { display: none; }

/* ===== Mobile nav ===== */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 61px; left: 0; right: 0;
  z-index: 49;
  flex-direction: column;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 24px 18px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  color: var(--ink-soft);
  font-size: 15.5px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ===== Hero (kept as a dark photographic moment, fades into the light page) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b0b0a;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.85);
}
.hero-bg-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,10,0.72) 0%, rgba(11,11,10,0.62) 38%, rgba(11,11,10,0.97) 84%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,11,10,0.7) 0%, rgba(11,11,10,0.28) 45%, rgba(11,11,10,0.28) 55%, rgba(11,11,10,0.7) 100%);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 40px 96px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--ff-heading);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: rgba(244,243,239,0.75);
  margin: 0 0 22px;
}
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #4fcf9a; box-shadow: 0 0 0 4px rgba(79,207,154,0.22); }
.hero-h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
  color: #f4f3ef;
  text-wrap: balance;
  margin-bottom: 22px;
}
.hero-body {
  font-size: 17.5px;
  color: rgba(244,243,239,0.8);
  max-width: 56ch;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-actions .btn-solid { background: #f4f3ef; color: #14150f; border-color: #f4f3ef; }
.hero-actions .btn-solid:hover { background: #fff; }
.hero-actions .btn-accent { background: rgba(79,207,154,0.16); border-color: #4fcf9a; color: #bdf2da; }
.hero-actions .btn-accent:hover { background: rgba(79,207,154,0.26); }
.hero-actions .btn-ghost { border-color: rgba(244,243,239,0.35); color: #f4f3ef; }
.hero-actions .btn-ghost:hover { border-color: rgba(244,243,239,0.6); }
.hero-stats { display: flex; gap: 40px; }
.hero-stat-num { font-family: var(--ff-heading); font-size: 26px; font-weight: 600; color: #f4f3ef; }
.hero-stat-num span { font-size: 15px; font-weight: 400; color: rgba(244,243,239,0.7); }
.hero-stat-label { font-size: 12.5px; color: rgba(244,243,239,0.55); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }

/* ===== Section head ===== */
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-label {
  display: inline-flex;
  font-family: var(--ff-heading);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.18; color: var(--ink); text-wrap: balance; }
.section-sub { color: var(--ink-soft); font-size: 15.5px; margin-top: 14px; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { border-top: 2px solid var(--line); padding-top: 22px; }
.step-num { font-family: var(--ff-display); font-style: italic; font-size: 15px; color: var(--ink-dim); margin-bottom: 10px; }
.step h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.step p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ===== Catalog ===== */
.catalog-band { padding: 96px 0; background: var(--bg-raised); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c, var(--ink-dim)) 45%, var(--line));
  box-shadow: 0 20px 36px -20px color-mix(in srgb, var(--c, #000) 55%, transparent);
}
.cat-body { padding: 20px 22px 24px; }
.cat-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 7px; }
.cat-card > .cat-body > p { color: var(--ink-soft); font-size: 13.5px; margin: 0 0 14px; }
.cat-sub { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.cat-sub li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}
.cat-sub li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c, var(--ink-dim));
}
.cat-sub-note { color: var(--ink-dim); font-style: italic; }

/* ---- Visual mockup band on top of each card ---- */
.cat-visual {
  position: relative;
  height: 128px;
  background: color-mix(in srgb, var(--c, var(--ink-dim)) 10%, var(--bg-raised));
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cat-visual::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--c, var(--ink-dim));
}

/* Instagram-style grid (Criação de posts) */
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 108px; }
.mock-grid span { display: block; width: 32px; height: 32px; border-radius: 4px; }
.mock-grid span:nth-child(1) { background: color-mix(in srgb, var(--c) 75%, white); }
.mock-grid span:nth-child(2) { background: color-mix(in srgb, var(--c) 45%, white); }
.mock-grid span:nth-child(3) { background: color-mix(in srgb, var(--c) 90%, black 10%); }
.mock-grid span:nth-child(4) { background: color-mix(in srgb, var(--c) 30%, white); }
.mock-grid span:nth-child(5) { background: color-mix(in srgb, var(--c) 60%, white); }
.mock-grid span:nth-child(6) { background: color-mix(in srgb, var(--c) 80%, white); }
.mock-grid span:nth-child(7) { background: color-mix(in srgb, var(--c) 50%, black 8%); }
.mock-grid span:nth-child(8) { background: color-mix(in srgb, var(--c) 65%, white); }
.mock-grid span:nth-child(9) { background: color-mix(in srgb, var(--c) 40%, white); }

/* Article mockup (Conteúdo editorial) */
.mock-article { width: 132px; display: flex; flex-direction: column; gap: 6px; }
.mock-article .line { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--c) 55%, white); }
.mock-article .line.w60 { width: 60%; }
.mock-article .line.w100 { width: 100%; }
.mock-article .line.w80 { width: 80%; }
.mock-article .thumb { width: 100%; height: 34px; border-radius: 5px; background: color-mix(in srgb, var(--c) 30%, white); margin-bottom: 4px; }

/* Chat bubbles (Bots) */
.mock-chat { display: flex; flex-direction: column; gap: 6px; width: 140px; }
.mock-chat .bub { border-radius: 10px; padding: 6px 10px; font-family: var(--ff-heading); font-size: 10.5px; }
.mock-chat .in { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); border-bottom-left-radius: 2px; }
.mock-chat .out { align-self: flex-end; background: var(--c); color: #fff; border-bottom-right-radius: 2px; }

/* Kanban / leads (CRM) */
.mock-kanban { display: flex; flex-direction: column; gap: 6px; width: 140px; }
.mock-kanban .row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; }
.mock-kanban .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.mock-kanban .bar { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }

/* Document / stamp (Jurídico) */
.mock-doc { width: 82px; height: 100px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 9px; display: flex; flex-direction: column; gap: 5px; box-shadow: 4px 4px 0 -2px color-mix(in srgb, var(--c) 30%, white); }
.mock-doc .l { height: 4px; border-radius: 2px; background: var(--line); }
.mock-doc .l.short { width: 55%; }
.mock-doc .seal { margin-top: auto; align-self: flex-end; width: 22px; height: 22px; border-radius: 50%; background: var(--c); display: flex; align-items: center; justify-content: center; }
.mock-doc .seal .material-symbols-rounded { font-size: 13px; color: #fff; }

/* Lock / security (Dados) */
.mock-lock { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mock-lock .shield { width: 46px; height: 46px; border-radius: 12px; background: var(--c); display: flex; align-items: center; justify-content: center; }
.mock-lock .shield .material-symbols-rounded { font-size: 24px; color: #fff; }
.mock-lock .rows { display: flex; flex-direction: column; gap: 4px; width: 90px; }
.mock-lock .rows .l { height: 4px; border-radius: 2px; background: var(--line); }
.mock-lock .rows .l.blur { background: color-mix(in srgb, var(--c) 35%, white); }

/* Ballot (Votação) */
.mock-ballot { width: 108px; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.mock-ballot .opt { display: flex; align-items: center; gap: 7px; }
.mock-ballot .box { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--ink-dim); flex-shrink: 0; }
.mock-ballot .opt.checked .box { background: var(--c); border-color: var(--c); position: relative; }
.mock-ballot .opt.checked .box::after { content: ''; position: absolute; left: 3px; top: 0.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mock-ballot .l { height: 5px; flex: 1; border-radius: 3px; background: var(--line); }

/* Transcrição — animated WhatsApp-style bubble sequence */
.mock-transcribe { display: flex; flex-direction: column; gap: 7px; width: 148px; }
.mock-transcribe .bub { border-radius: 10px; padding: 7px 10px; align-self: flex-end; max-width: 100%; }
.mock-transcribe .voice {
  background: var(--c); display: flex; align-items: center; gap: 6px;
  border-bottom-right-radius: 2px;
}
.mock-transcribe .voice .material-symbols-rounded { font-size: 14px; color: #fff; }
.mock-transcribe .wave { display: flex; align-items: center; gap: 2px; height: 14px; }
.mock-transcribe .wave i { display: block; width: 2px; background: rgba(255,255,255,0.85); border-radius: 1px; animation: wave 1.2s ease-in-out infinite; }
.mock-transcribe .wave i:nth-child(1){height:40%;animation-delay:0s;}
.mock-transcribe .wave i:nth-child(2){height:80%;animation-delay:.1s;}
.mock-transcribe .wave i:nth-child(3){height:55%;animation-delay:.2s;}
.mock-transcribe .wave i:nth-child(4){height:100%;animation-delay:.3s;}
.mock-transcribe .wave i:nth-child(5){height:65%;animation-delay:.4s;}
.mock-transcribe .wave i:nth-child(6){height:35%;animation-delay:.5s;}
@keyframes wave { 0%,100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.mock-transcribe .typing {
  align-self: flex-start; background: #fff; border: 1px solid var(--line);
  border-bottom-left-radius: 2px; display: flex; gap: 3px; padding: 8px 11px;
  animation: fadeOut 3s ease-in-out infinite;
}
.mock-transcribe .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-dim); animation: bounce 1.2s ease-in-out infinite; }
.mock-transcribe .typing i:nth-child(2) { animation-delay: .15s; }
.mock-transcribe .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.mock-transcribe .result {
  align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  border-bottom-left-radius: 2px; font-family: var(--ff-heading); font-size: 10px;
  opacity: 0; animation: fadeIn 3s ease-in-out infinite;
}
@keyframes fadeOut { 0%, 55% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes fadeIn { 0%, 60% { opacity: 0; } 75%, 100% { opacity: 1; } }

/* Spreadsheet (Contabilidade) */
.mock-sheet { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.mock-sheet .bar { width: 12px; border-radius: 3px 3px 0 0; background: color-mix(in srgb, var(--c) 65%, white); }

/* Browser (Site) */
.mock-browser { width: 148px; background: #fff; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.mock-browser .chrome { display: flex; gap: 4px; padding: 6px 8px; background: var(--bg-raised); border-bottom: 1px solid var(--line-soft); }
.mock-browser .chrome i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.mock-browser .block { padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.mock-browser .hline { height: 5px; border-radius: 3px; background: var(--c); width: 40%; }
.mock-browser .pline { height: 4px; border-radius: 2px; background: var(--line); }
.mock-browser .pline.w70 { width: 70%; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
}
.pricing-card-featured { border-color: var(--c-bots); border-width: 2px; }
.pricing-card-badge {
  position: absolute; top: -12px; left: 26px;
  background: var(--c-bots); color: #fff;
  font-family: var(--ff-heading); font-size: 11.5px; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-btn); letter-spacing: .03em;
}
.pricing-card-name { font-size: 15px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.pricing-card-price { margin-bottom: 14px; }
.pricing-card-amount { font-family: var(--ff-heading); font-size: 30px; color: var(--ink); }
.pricing-card-period { font-size: 14px; color: var(--ink-soft); }
.pricing-card-body { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.pricing-fine { margin-top: 26px; color: var(--ink-dim); font-size: 13.5px; }

/* ===== Final CTA ===== */
.final-cta { padding: 100px 0 120px; }
.final-cta-panel {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  background: radial-gradient(700px 300px at 50% 0%, rgba(31,138,95,0.08), transparent 70%), var(--bg-card);
}
.final-cta-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.final-cta-panel p { color: var(--ink-soft); font-size: 16px; margin: 0 0 32px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line-soft); padding-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; padding-bottom: 40px; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; margin: 10px 0 0; max-width: 34ch; }
.footer-meta-item { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--line-soft); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 22px 24px; font-size: 13px; color: var(--ink-dim); }
.footer-credit a { color: var(--ink-soft); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .topbar-nav { display: none; }
  .menu-toggle, .mobile-nav { display: flex; }
  .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-container { padding: 0 24px 64px; }
  .section-band { padding: 64px 0; }
  .catalog-band { padding: 64px 0; }
}

@media (max-width: 640px) {
  .topbar { padding: 12px 18px; }
  .topbar-actions .btn-text { display: none; }
  .btn-label-full { display: none; }
  .btn-label-short { display: inline; }
  .catalog-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
}
