/* =========================================================
   RM Studio.io — Folha de estilos
   Paleta extraída do logo · sem framework runtime (PageSpeed alto)
   ========================================================= */

/* ---------- Design Tokens (paleta extraída do logo) ------------- */
:root {
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --cyan: #06b6d4;
  --teal: #10b981;
  --teal-light: #34d399;

  --ink: #0f172a;        /* títulos */
  --slate: #475569;      /* texto corpo */
  --slate-light: #94a3b8;
  --line: #e2e8f0;       /* bordas */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-mute: #f1f5f9;

  --grad: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 55%, var(--teal) 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(37, 99, 235, .18);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: .98rem; padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--slate); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .only-mobile { display: none; } /* só aparece no menu mobile */
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 88px 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(6, 182, 212, .12), transparent 60%),
    radial-gradient(50% 50% at 10% 20%, rgba(37, 99, 235, .10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--slate); }
.hero-badge svg { color: var(--teal); flex-shrink: 0; }

/* Card visual do hero */
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
/* Logo em destaque dentro do mockup do hero */
.hero-logo {
  display: block; height: 72px; width: auto; margin: 14px auto 28px;
}
.hero-window { display: flex; gap: 7px; margin-bottom: 22px; }
.hero-window span { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-mute); }
.hero-window span:nth-child(1) { background: #fca5a5; }
.hero-window span:nth-child(2) { background: #fcd34d; }
.hero-window span:nth-child(3) { background: #86efac; }
.code-line { height: 12px; border-radius: 6px; background: var(--bg-mute); margin-bottom: 12px; }
.code-line.w-90 { width: 90%; } .code-line.w-70 { width: 70%; }
.code-line.w-80 { width: 80%; } .code-line.w-50 { width: 50%; }
.code-line.grad { background: var(--grad); opacity: .85; }
.hero-stats { display: flex; gap: 14px; margin-top: 24px; }
.hero-stat { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; }
.hero-stat strong { display: block; font-size: 1.5rem; color: var(--ink); }
.hero-stat small { font-size: .78rem; color: var(--slate-light); }

/* ---------- Serviços ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--grad);
  display: grid; place-items: center; color: #fff; margin-bottom: 20px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { font-size: .98rem; margin-bottom: 18px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .8rem; font-weight: 500; color: var(--blue); background: rgba(37, 99, 235, .08); padding: 5px 12px; border-radius: 999px; }

/* ---------- Processo (fluxo) ---------- */
.process { background: var(--bg-soft); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--teal)); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #fff;
  border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700;
  font-size: 1.15rem; color: var(--blue); box-shadow: var(--shadow-sm); transition: .25s;
}
.step:hover .step-num { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.06); }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .88rem; }

/* ---------- Diferenciais ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 8px; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-mute); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; }

/* ---------- CTA / Contato ---------- */
.contact { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 16px; }
.contact-copy p { font-size: 1.05rem; margin-bottom: 28px; }
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.contact-item strong { display: block; color: var(--ink); font-size: .98rem; }
.contact-item span { font-size: .92rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { font-size: .95rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-size: .98rem; font-family: inherit; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.field textarea { resize: vertical; min-height: 96px; }
.field .optional { color: var(--slate-light); font-weight: 400; }
.form-note { font-size: .8rem; color: var(--slate-light); margin-top: 14px; text-align: center; }
/* honeypot anti-spam (escondido de humanos) */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; padding-block: 56px 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
/* Logo do rodapé num selo claro: preserva o degradê original da marca */
.footer-logo {
  display: inline-flex; align-items: center; background: #fff;
  padding: 12px 20px; border-radius: 14px; margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.footer-logo img { height: 44px; width: auto; }
.footer-brand p { font-size: .92rem; max-width: 320px; color: var(--slate-light); }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .92rem; margin-bottom: 9px; color: var(--slate-light); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-size: .85rem; color: var(--slate-light); text-align: center; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Mini dashboard no hero ---------- */
.mini-kpis { display: grid; gap: 10px; margin-bottom: 22px; }
.mini-kpi {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
}
.mini-kpi small { font-size: .82rem; color: var(--slate); }
.mini-kpi strong { font-size: 1.15rem; color: var(--ink); }

/* ---------- Recursos: grid de 5 KPIs ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Garante que as 2 últimas cards do grid de 5 fiquem centralizadas em telas largas */
.kpi-grid .card:nth-child(4) { grid-column: 1 / 2; }
@media (min-width: 941px) {
  .kpi-grid { grid-template-columns: repeat(6, 1fr); }
  .kpi-grid .card { grid-column: span 2; }
  .kpi-grid .card:nth-child(4) { grid-column: 2 / 4; }
  .kpi-grid .card:nth-child(5) { grid-column: 4 / 6; }
}

/* Processo com 4 etapas (ajusta a linha guia) */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-4::before { left: 12%; right: 12%; }

/* ---------- Preços ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid transparent; background:
  linear-gradient(#fff, #fff) padding-box,
  var(--grad) border-box; box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.price-name { font-size: 1.1rem; color: var(--slate); font-weight: 600; }
.price-value { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1.1; margin: 10px 0 6px; letter-spacing: -.02em; }
.price-currency { font-size: 1.25rem; font-weight: 700; color: var(--slate); vertical-align: super; margin-right: 4px; }
.price-period { font-size: 1rem; font-weight: 500; color: var(--slate-light); }
.price-desc { font-size: .92rem; color: var(--slate); margin-bottom: 22px; }
.price-list { display: grid; gap: 12px; margin-bottom: 28px; }
.price-list li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--slate); }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px no-repeat;
}

/* ---------- CTA final ---------- */
.cta-final { padding-top: 0; }
.cta-band {
  background: var(--grad); border-radius: var(--radius-lg); padding: 56px 32px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { font-size: 1.05rem; color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--blue); }
.cta-band .btn-primary:hover { background: #fff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* ---------- Showcase (telas do sistema) ---------- */
.showcase { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: center; }
.sc-frame {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.sc-bar { display: flex; gap: 7px; padding: 13px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.sc-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-mute); }
.sc-bar span:nth-child(1) { background: #fca5a5; }
.sc-bar span:nth-child(2) { background: #fcd34d; }
.sc-bar span:nth-child(3) { background: #86efac; }
.sc-app { display: flex; height: 380px; }
.sc-side { width: 132px; flex-shrink: 0; border-right: 1px solid var(--line); padding: 16px 12px; }
.sc-logo { height: 20px; width: auto; margin-bottom: 20px; }
.sc-side nav { display: grid; gap: 4px; }
.sc-nav { font-size: .8rem; color: var(--slate); padding: 8px 10px; border-radius: 9px; transition: .3s; }
.sc-nav.active { background: var(--bg-mute); color: var(--blue); font-weight: 600; }
.sc-stage { position: relative; flex: 1; overflow: hidden; }
.sc-shot {
  position: absolute; inset: 0; padding: 20px; opacity: 0; transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease; pointer-events: none;
}
.sc-shot.active { opacity: 1; transform: none; }
.sc-head { font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.sc-online { font-size: .62rem; font-weight: 600; color: var(--teal); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.sc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.sc-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.sc-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: .85rem; margin-bottom: 8px; }
.sc-ic.green { background: #ecfdf5; color: var(--teal); }
.sc-ic.gray { background: var(--bg-mute); color: var(--slate); }
.sc-kpi small { display: block; font-size: .68rem; color: var(--slate-light); }
.sc-kpi strong { display: block; font-size: 1rem; color: var(--ink); margin-top: 2px; }
.sc-kpi em { font-size: .62rem; color: var(--slate-light); font-style: normal; }
.sc-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sc-card.sc-pad { padding: 6px 16px; }
.sc-row { display: flex; justify-content: space-between; font-size: .82rem; padding: 11px 16px; border-bottom: 1px solid var(--bg-mute); color: var(--slate); }
.sc-row:last-child { border-bottom: 0; }
.sc-line { display: flex; justify-content: space-between; font-size: .84rem; padding: 9px 0; color: var(--slate); border-bottom: 1px solid var(--bg-mute); }
.sc-line b { color: var(--ink); font-weight: 600; }
.sc-total { display: flex; justify-content: space-between; align-items: center; padding: 13px 0 4px; font-weight: 700; color: var(--ink); }
.sc-total b { font-size: 1.4rem; font-weight: 800; }
.sc-herocard {
  background: var(--grad); color: #fff; border-radius: 16px; padding: 20px; margin-bottom: 14px;
}
.sc-herocard small { font-size: .72rem; color: rgba(255,255,255,.85); }
.sc-herocard strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin: 4px 0; }
.sc-herocard em { font-size: .72rem; color: rgba(255,255,255,.75); font-style: normal; }
.pos { color: var(--teal); } .neg { color: #ef4444; } .brand { color: var(--blue); }

.sc-tabs { display: grid; gap: 12px; }
.sc-tab {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.sc-tab strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.sc-tab span { font-size: .88rem; color: var(--slate); }
.sc-tab:hover { transform: translateX(3px); }
.sc-tab.active { border-color: transparent; box-shadow: var(--shadow-md); }
.sc-tab.active::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px;
  border-radius: 999px; background: var(--grad);
}

/* ---------- FAQ (dúvidas) ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-item summary {
  list-style: none; cursor: pointer; font-weight: 600; color: var(--ink);
  padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--blue);
  line-height: 1; transition: transform .25s ease; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--slate); font-size: .98rem; padding: 0 0 18px; margin: 0; }
.faq-item a { color: var(--blue); font-weight: 500; }

.faq-support {
  max-width: 760px; margin: 32px auto 0; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow-sm);
}
.faq-support strong { display: block; color: var(--ink); font-size: 1.05rem; }
.faq-support span { color: var(--slate); font-size: .92rem; }

/* ---------- Animação on-scroll (reveal) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 940px) {
  /* minmax(0,1fr) permite a coluna encolher abaixo do min-content do mock */
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .hero-visual { min-width: 0; max-width: 100%; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps-4 { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .steps::before { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid .card:nth-child(4) { grid-column: auto; }
  .pricing { grid-template-columns: minmax(0, 420px); }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .sc-side { width: 92px; }
  .sc-app { height: 420px; }
  .sc-kpis { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .nav { height: 76px; }
  .brand img { height: 44px; }
  /* Mobile: mostra o "Entrar" no topo; "Começar agora" fica no menu */
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-ghost { font-size: .82rem; padding: 9px 16px; }
  .nav-links .only-mobile { display: block; font-weight: 700; color: var(--blue); }
  .nav-toggle { display: block; padding: 8px 0; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 18px; box-shadow: var(--shadow-md);
  }
  .cards, .features, .steps, .steps-4, .kpi-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  /* Mock do hero: cards de stats compactos para caber em telas estreitas */
  .hero-card { padding: 20px; }
  .hero-stats { gap: 8px; flex-wrap: wrap; }
  .hero-stat { padding: 12px 6px; min-width: 0; }
  .hero-stat strong { font-size: 1.1rem; }
  .hero-stat small { font-size: .68rem; }
}
@media (max-width: 430px) {
  .brand img { height: 38px; }
  .nav-cta .btn-ghost { font-size: .78rem; padding: 8px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
