/* ==========================================================================
   SmartPlus ERP — RG Tech
   Cores extraídas do logo: cinza #4B4B4B (RGB 75,75,75) e verde #7CC14A
   ========================================================================== */

:root {
  --gray-950: #262626;
  --gray-900: #333333;
  --gray-800: #4B4B4B;
  --gray-700: #5F5F5F;
  --gray-100: #ECECEC;

  --green-500: #7CC14A;
  --green-600: #5FA530;
  --green-700: #3F7F22;   /* verde para texto pequeno sobre branco */
  --green-100: #EAF6E1;

  --ink: #262626;
  --ink-2: #4F4F4F;
  --ink-3: #6E6E6E;
  --line: #E4E4E4;
  --bg: #FFFFFF;
  --bg-soft: #F5F5F5;

  --warn: #B26A00;
  --warn-bg: #FFF3DC;
  --info: #4B4B4B;
  --info-bg: #ECECEC;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .18);

  --container: 1180px;
  --gutter: 24px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

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

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gray-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9em 1.5em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-500); color: var(--gray-900); box-shadow: 0 6px 18px rgba(124, 193, 74, .35); }
.btn-primary:hover { background: #8BCC5B; box-shadow: 0 10px 24px rgba(124, 193, 74, .45); }
.btn-ghost { background: transparent; color: var(--gray-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gray-800); }
.btn-light { background: #fff; color: var(--gray-900); }
.btn-light:hover { background: var(--green-100); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--gray-800); }
.brand img { height: 54px; width: auto; }
.brand-product { padding-left: 14px; border-left: 1.5px solid var(--line); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--gray-800); }
.brand-product b { color: var(--green-600); }
.nw { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .15s; }
.nav a:not(.btn):hover { color: var(--gray-800); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--gray-800); cursor: pointer; font-size: 1.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(124, 193, 74, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(75, 75, 75, .08), transparent 60%),
    var(--bg-soft);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .45;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .85rem; font-weight: 700; color: var(--gray-800); margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px var(--green-100); }
.hl { color: var(--green-600); background: linear-gradient(transparent 70%, rgba(124, 193, 74, .25) 70%); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.doc-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.doc-chips li { font-size: .8rem; font-weight: 700; color: var(--gray-700); background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; }

/* Mock de aplicação */
.hero-visual { position: relative; }
.app-window { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--gray-800); color: #D2D2D2; font-size: .78rem; font-weight: 600; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.app-bar span { margin-left: 10px; }
.app-body { display: grid; grid-template-columns: 130px 1fr; min-height: 340px; }
.app-side { background: var(--bg-soft); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; font-size: .78rem; color: var(--ink-3); }
.app-side b { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 8px 6px; }
.app-side span { padding: 6px 8px; border-radius: 8px; }
.app-side .on { background: var(--gray-800); color: #fff; font-weight: 600; }
.app-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.kpi small { color: var(--ink-3); font-size: .68rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi strong { font-size: 1rem; color: var(--gray-900); white-space: nowrap; }
.kpi em { font-style: normal; font-size: .7rem; color: var(--ink-3); }
.kpi em.up { color: var(--green-700); font-weight: 700; }
.chart { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .7rem; color: var(--ink-3); font-weight: 600; }
.legend { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 10px; height: 4px; border-radius: 2px; }
.legend .l1 { background: var(--gray-800); }
.legend .l2 { background: var(--green-500); margin-left: 6px; }
.bars { position: relative; height: 110px; display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--gray-700), var(--gray-800)); border-radius: 6px 6px 3px 3px; transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.bars span:nth-child(2) { animation-delay: .05s } .bars span:nth-child(3) { animation-delay: .1s } .bars span:nth-child(4) { animation-delay: .15s }
.bars span:nth-child(5) { animation-delay: .2s } .bars span:nth-child(6) { animation-delay: .25s } .bars span:nth-child(7) { animation-delay: .3s } .bars span:nth-child(8) { animation-delay: .35s }
.bars span:last-of-type { background: linear-gradient(180deg, var(--green-500), var(--green-600)); }
.bars .goal { position: absolute; left: 0; right: 0; bottom: var(--g); border-top: 2px dashed var(--green-500); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.rows { display: flex; flex-direction: column; gap: 6px; }
.rows div { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--ink-2); padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: .64rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; flex: none; }
.tag.ok { background: var(--green-100); color: var(--green-700); }
.tag.info { background: var(--info-bg); color: var(--info); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-md); border: 1px solid var(--line); font-size: .82rem; animation: float 6s ease-in-out infinite; }
.float-card b { display: block; color: var(--gray-900); }
.float-card small { color: var(--ink-3); }
.float-card .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--green-100); color: var(--green-700); }
.fc-1 { left: -36px; bottom: -52px; }
.fc-2 { right: -18px; top: -22px; animation-delay: -3s; }
.fc-2 .ico { background: var(--gray-100); color: var(--gray-800); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--green-700); margin-bottom: 12px; }
.kicker.light { color: var(--green-500); }

/* Valor */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.value:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.value p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.value-ico, .spec-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gray-800); color: var(--green-500); margin-bottom: 18px; font-size: 1.2rem; }

/* Módulos (tabs) */
.modules { background: var(--bg-soft); }
.tabs { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 6px; }
.tab-list button {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent;
  font: inherit; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.tab-list button .ico { font-size: 1.1rem; color: var(--ink-3); transition: color .15s; }
.tab-list button:hover { background: #fff; color: var(--gray-800); }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--gray-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tab-list button[aria-selected="true"] .ico { color: var(--green-600); }
.panel { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 36px; display: grid; grid-template-columns: 1fr 240px; gap: 32px; animation: fadeIn .3s ease; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 1.5rem; }
.panel-copy > p { color: var(--ink-2); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F7F22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.panel-result { align-self: stretch; border-radius: var(--radius); background: var(--gray-800); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.panel-result::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 193, 74, .45), transparent 70%); }
.panel-result span { position: relative; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--green-500); margin-bottom: 8px; }
.panel-result p { position: relative; margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.4; }

/* Reforma */
.reform { padding: 0; background: linear-gradient(var(--bg-soft) 50%, var(--bg) 50%); }
.reform-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(120deg, var(--gray-900), var(--gray-700));
  color: #fff; border-radius: var(--radius-lg); padding: 48px; position: relative; overflow: hidden;
}
.reform-inner::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(124, 193, 74, .12); pointer-events: none; }
.reform-inner > div { max-width: 640px; position: relative; z-index: 1; }
.reform-inner p { color: #D2D2D2; margin: 0; }
.reform-inner .btn { position: relative; z-index: 1; }

/* Especializados */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; }
.spec:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.spec p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.spec-ico { background: var(--green-100); color: var(--green-700); }
.spec.featured { background: var(--gray-800); border-color: var(--gray-800); color: #fff; }
.spec.featured p { color: #D2D2D2; }
.spec.featured .spec-ico { background: rgba(124, 193, 74, .18); color: var(--green-500); }
.badge { position: absolute; top: 22px; right: 22px; background: var(--green-500); color: var(--gray-900); font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.segments { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 18px 22px; border-radius: var(--radius); background: var(--bg-soft); flex-wrap: wrap; }
.segments > span { font-weight: 800; color: var(--gray-800); }
.segments ul { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.segments li { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.segments li .ico { color: var(--green-600); }

/* Integrações */
.integrations { background: var(--bg-soft); }
.int-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.int-grid .section-head { margin-bottom: 0; }
.int-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.int { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.int .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--gray-100); color: var(--gray-800); }
.int b { display: block; color: var(--gray-900); line-height: 1.3; }
.int small { color: var(--ink-3); font-size: .85rem; line-height: 1.4; display: block; margin-top: 2px; }

/* Parceria */
.partner { background: var(--gray-900); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.partner::before { content: ""; position: absolute; left: -200px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 193, 74, .18), transparent 65%); }
.partner-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.partner-logos { display: flex; align-items: center; gap: 18px; }
.logo-card { flex: 1; min-width: 0; height: 150px; display: grid; place-items: center; border-radius: var(--radius-lg); background: #fff; padding: 22px; }
.logo-card.dark { background: var(--gray-800); border: 1px solid rgba(255, 255, 255, .1); }
.logo-card img { max-height: 100%; width: auto; object-fit: contain; }
.logo-card.dark img { max-height: 92px; }
a.logo-card { text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.logo-card:hover { transform: translateY(-2px); border-color: rgba(45, 212, 191, .5); box-shadow: 0 12px 28px -12px rgba(45, 212, 191, .35); }
a.logo-card:focus-visible { outline: 2px solid #2dd4bf; outline-offset: 3px; }
.plus { font-size: 2rem; font-weight: 300; color: var(--green-500); }
.partner-copy p { color: #D2D2D2; font-size: 1.05rem; margin: 0; }

/* Passos */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step-list li { position: relative; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step-list b { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-500); color: var(--gray-900); font-weight: 800; margin-bottom: 16px; }
.step-list p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* FAQ */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 20px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; color: var(--gray-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--green-600); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* Contato */
.contact { background: linear-gradient(135deg, var(--gray-900), var(--gray-800)); color: #fff; padding: 96px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-copy p { color: #D2D2D2; font-size: 1.05rem; }
.contact-points { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.contact-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-points .ico { color: var(--green-500); }
.whats { color: var(--green-500); font-weight: 700; }
.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: var(--shadow-lg); }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.field.half { grid-column: span 1; }
.field label { font-size: .85rem; font-weight: 700; color: var(--gray-800); }
.field label small { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .15s, background .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); background: #fff; }
.field .invalid { border-color: #D14343; }
.contact-form .btn { grid-column: 1 / -1; margin-top: 6px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--ink-3); min-height: 1.2em; }
.form-note.error { color: #C03535; }
.form-note.ok { color: var(--green-700); }

/* Rodapé */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-brand { max-width: 380px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: flex-start; }
.footer-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer-nav a:hover { color: var(--gray-800); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; font-size: .85rem; color: var(--ink-3); }

/* Destaques (RENAVE e PDV) */
.chip-hl { background: var(--gray-800) !important; color: #fff !important; border-color: var(--gray-800) !important; }
.badge-inline { display: inline-block; margin-left: 8px; background: var(--green-500); color: var(--gray-900); font-size: .68rem; padding: 2px 9px; border-radius: 999px; letter-spacing: .06em; vertical-align: 1px; }
.spotlight { padding: 104px 0; position: relative; overflow: hidden; }
.spot-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.spot-lead { font-size: 1.08rem; color: var(--ink-2); }
.spot-copy h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }

.spot-renave { background: var(--gray-900); color: #fff; }
.spot-renave::before { content: ""; position: absolute; right: -220px; top: -160px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 193, 74, .16), transparent 65%); }
.spot-renave .spot-lead { color: #D2D2D2; }
.flow { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 18px 18px 18px 58px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.flow li::before { content: counter(f); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-500); color: var(--gray-900); font-weight: 800; font-size: .85rem; }
.flow b { display: block; margin-bottom: 4px; }
.flow p { margin: 0; color: #BFBFBF; font-size: .9rem; line-height: 1.5; }
.spot-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.spot-tags li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #DEDEDE; }
.spot-tags .ico { color: var(--green-500); }

.vehicle-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); padding: 24px; }
.vc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.vc-head > div { flex: 1; min-width: 0; }
.vc-head b { display: block; font-size: .95rem; color: var(--gray-900); }
.vc-head small { color: var(--ink-3); font-size: .8rem; }
.vc-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gray-800); color: var(--green-500); font-size: 1.2rem; flex: none; }
.vc-steps { list-style: none; padding: 0; margin: 18px 0; }
.vc-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.vc-steps li:last-child { padding-bottom: 0; }
.vc-steps li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.vc-steps li:last-child::before { display: none; }
.vc-steps li.done::before { background: var(--green-500); }
.vc-steps i { position: relative; z-index: 1; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.vc-steps .done i { background: var(--green-500); border-color: var(--green-500); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-size: 13px; background-repeat: no-repeat; background-position: center; }
.vc-steps .now i { border-color: var(--green-500); box-shadow: 0 0 0 5px var(--green-100); }
.vc-steps b { display: block; font-size: .9rem; color: var(--gray-900); line-height: 1.3; }
.vc-steps small { font-size: .8rem; color: var(--ink-3); }
.vc-steps li:not(.done):not(.now) b { color: var(--ink-3); }
.vc-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: .82rem; color: var(--ink-3); }
.vc-foot b { color: var(--green-700); }

.spot-pdv .spot-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "copy visual" "grid grid"; row-gap: 56px; }
.spot-pdv .spot-copy { grid-area: copy; }
.spot-pdv .spot-visual { grid-area: visual; }
.pdv-grid { grid-area: grid; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pdv-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; }
.pdv-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pdv-item .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--green-100); color: var(--green-700); }
.pdv-item b { display: block; color: var(--gray-900); margin-bottom: 4px; line-height: 1.3; }
.pdv-item p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.5; }

.pdv-screen { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.ps-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--gray-800); color: #DEDEDE; font-size: .8rem; font-weight: 600; }
.ps-body { display: grid; grid-template-columns: 1.35fr 1fr; }
.ps-items { padding: 14px; border-right: 1px solid var(--line); }
.ps-row { display: grid; grid-template-columns: 1fr auto 74px; gap: 10px; padding: 9px 6px; font-size: .78rem; color: var(--ink); border-bottom: 1px dashed var(--line); }
.ps-row span:nth-child(2), .ps-row span:nth-child(3) { text-align: right; white-space: nowrap; }
.ps-row.head { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); border-bottom-style: solid; }
.ps-side { padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-soft); }
.ps-total { background: var(--gray-800); color: #fff; border-radius: 12px; padding: 12px 14px; }
.ps-total small { display: block; color: #BFBFBF; font-size: .7rem; font-weight: 600; }
.ps-total strong { font-size: 1.5rem; letter-spacing: -.02em; }
.ps-pay { display: flex; justify-content: space-between; gap: 8px; font-size: .76rem; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.ps-pay b { color: var(--gray-900); white-space: nowrap; }
.ps-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.ps-keys span { font-size: .68rem; font-weight: 700; text-align: center; padding: 8px 4px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--gray-800); }
.ps-keys span:last-child { background: var(--green-500); border-color: var(--green-500); color: var(--gray-900); }

.spec-grid.four { grid-template-columns: repeat(4, 1fr); }
.int.wide { grid-column: 1 / -1; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; }
  .panel-result { min-height: 0; }
  .nav { gap: 20px; }
  .spec-grid.four, .pdv-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-grid { gap: 44px; }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .brand img { height: 44px; }
  .brand { gap: 10px; }
  .brand-product { padding-left: 10px; font-size: 1.15rem; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { margin-top: 16px; }

  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .app-window { transform: none; }
  .fc-1 { left: -6px; } .fc-2 { right: -6px; }

  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tab-list button { flex: none; }

  .int-grid, .partner-inner, .faq-grid, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .reform-inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .section, .partner, .contact, .spotlight { padding: 72px 0; }
  .spot-grid { grid-template-columns: 1fr; }
  .spot-pdv .spot-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "grid"; row-gap: 40px; }
  .faq { padding-top: 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .value-grid, .spec-grid, .spec-grid.four, .step-list, .int-list, .flow, .pdv-grid { grid-template-columns: 1fr; }
  .ps-body { grid-template-columns: 1fr; }
  .ps-items { border-right: 0; border-bottom: 1px solid var(--line); }
  .vehicle-card { padding: 18px; }
  .vc-head .tag { display: none; }
  .hero-actions .btn { width: 100%; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis .kpi:nth-child(3) { display: none; }
  .float-card { display: none; }
  .panel { padding: 24px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .field.half { grid-column: 1 / -1; }
  .partner-logos { flex-direction: column; align-items: stretch; }
  .plus { text-align: center; }
  .logo-card { height: 120px; }
  .reform-inner .btn { width: 100%; }
}
