:root {
  --ink: #0b1f33;
  --ink-soft: #173b5b;
  --muted: #5e758b;
  --line: #dbe8f2;
  --line-strong: #c3d9e9;
  --surface: #ffffff;
  --surface-soft: #f5f9fd;
  --surface-blue: #ecf6ff;
  --primary: #137bd1;
  --primary-dark: #0d5ea4;
  --cyan: #06b6d4;
  --violet: #5b63e8;
  --success: #0f9f74;
  --shadow-sm: 0 10px 30px rgba(10, 42, 69, .08);
  --shadow-lg: 0 28px 70px rgba(10, 42, 69, .14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: #b9e7ff; color: #06213a; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-soft { background: var(--surface-soft); }
.section-ink { color: white; background: var(--ink); }
.section-title { max-width: 760px; margin-bottom: 46px; }
.section-title.center { margin-inline: auto; text-align: center; }
.section-title h2, .page-hero h1, .hero h1 {
  margin: 0;
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-title h2 { font-size: clamp(2rem, 3.7vw, 3.2rem); }
.section-title p { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-title.center p { margin-inline: auto; }
.section-ink .section-title p, .section-ink .muted { color: #aac1d5; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 2px; content: ""; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.section-ink .eyebrow { color: #6ee7f5; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--muted); }
.muted { color: var(--muted); }
.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #147bd2 0%, #10a9c5 55%, #5b63e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: rgba(197, 217, 233, .8); box-shadow: 0 8px 28px rgba(10, 42, 69, .06); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 196px; height: auto; display: block; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-trigger {
  padding: 11px 12px;
  border: 0;
  color: #294961;
  background: transparent;
  font-size: .89rem;
  font-weight: 700;
  border-radius: 10px;
}
.nav-link:hover, .nav-trigger:hover, .nav-link.active, .nav-trigger.active { color: var(--primary-dark); background: var(--surface-blue); }
.nav-item { position: relative; }
.nav-trigger::after { margin-left: 7px; content: "⌄"; font-size: .8em; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  width: 290px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .2s ease;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 12px; border-radius: 10px; color: #2c506b; font-size: .9rem; font-weight: 680; }
.dropdown a:hover { color: var(--primary-dark); background: var(--surface-blue); }
.nav-cta { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; content: ""; background: var(--ink); transition: .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(120deg, var(--primary-dark), var(--primary) 58%, #169dc3); box-shadow: 0 12px 28px rgba(19, 123, 209, .24); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(19, 123, 209, .32); }
.btn-secondary { color: var(--ink); border-color: var(--line-strong); background: rgba(255, 255, 255, .78); }
.btn-secondary:hover { border-color: #86bce2; background: white; }
.btn-light { color: var(--ink); background: white; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.btn-ghost-light { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.arrow { transition: transform .2s ease; }
a:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero {
  min-height: 720px;
  padding: 104px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(61, 177, 238, .17), transparent 30%),
    radial-gradient(circle at 5% 82%, rgba(92, 99, 232, .1), transparent 26%),
    linear-gradient(#fff, #f8fbfe);
}
.hero::before, .page-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .4;
  background-image: linear-gradient(rgba(28, 102, 158, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 102, 158, .07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.hero-copy h1 { max-width: 680px; font-size: clamp(3.1rem, 6vw, 5.7rem); }
.hero-copy .lead { max-width: 640px; margin: 25px 0 0; }
.trust-line { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 34px; color: #49677e; font-size: .88rem; font-weight: 700; }
.trust-line span::before { margin-right: 8px; color: var(--success); content: "✓"; font-weight: 900; }
.hero-visual { position: relative; min-height: 510px; }
.orbit { position: absolute; inset: 20px; border: 1px solid rgba(32, 129, 198, .15); border-radius: 50%; animation: spin 28s linear infinite; }
.orbit::before, .orbit::after { position: absolute; width: 12px; height: 12px; border: 5px solid white; border-radius: 50%; content: ""; background: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.orbit::before { top: 15%; left: 8%; }
.orbit::after { right: 4%; bottom: 26%; background: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }
.dashboard {
  position: absolute;
  z-index: 2;
  inset: 65px 8px 30px 42px;
  padding: 24px;
  border: 1px solid rgba(186, 214, 233, .9);
  border-radius: 26px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 40px 90px rgba(10, 57, 91, .18);
  backdrop-filter: blur(16px);
  transform: rotate(1.5deg);
}
.dash-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.dash-title { font-size: .86rem; font-weight: 800; }
.dash-live { padding: 5px 9px; color: #087753; background: #e8fbf4; border-radius: 999px; font-size: .7rem; font-weight: 800; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.metric { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdff; }
.metric small { display: block; color: var(--muted); font-size: .7rem; font-weight: 700; }
.metric strong { display: block; margin-top: 5px; font-size: 1.05rem; }
.chart { position: relative; height: 178px; margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #fafdff, #f5faff); }
.chart-grid { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(100, 151, 188, .1) 36px); }
.chart svg { position: absolute; inset: 16px 12px 8px; width: calc(100% - 24px); height: calc(100% - 24px); overflow: visible; }
.channel-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.channel { padding: 9px 6px; color: #49677e; border-radius: 10px; background: #f0f6fb; text-align: center; font-size: .65rem; font-weight: 800; }
.float-card { position: absolute; z-index: 3; padding: 15px 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.float-card strong { display: block; font-size: .86rem; }
.float-card span { color: var(--muted); font-size: .72rem; }
.float-a { top: 26px; right: 2px; animation: bob 5s ease-in-out infinite; }
.float-b { bottom: 5px; left: 0; animation: bob 5.8s ease-in-out infinite reverse; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* Cards and layouts */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 36px rgba(10, 42, 69, .05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: #acd2ed; box-shadow: var(--shadow-sm); }
.card h3 { margin: 18px 0 10px; font-size: 1.23rem; line-height: 1.3; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--primary-dark); font-size: .9rem; font-weight: 800; }
.icon-box { display: inline-grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--primary); background: linear-gradient(135deg, #e8f5ff, #e9fbfe); }
.icon-box svg { width: 23px; height: 23px; }
.pillar { padding-top: 26px; border-top: 2px solid var(--line); }
.pillar-number { color: var(--primary); font-size: .75rem; font-weight: 900; letter-spacing: .16em; }
.pillar h3 { margin: 12px 0 8px; font-size: 1.23rem; }
.pillar p { margin: 0; color: var(--muted); }
.stage-card { overflow: hidden; padding: 34px; }
.stage-card::after { position: absolute; right: -36px; bottom: -46px; width: 140px; height: 140px; border-radius: 50%; content: ""; background: linear-gradient(135deg, rgba(19,123,209,.12), rgba(6,182,212,.04)); }
.stage-tag { color: var(--primary-dark); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.check-list, .plain-list { margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 7px 0 7px 28px; color: #405f76; }
.check-list li::before { position: absolute; left: 0; color: var(--success); content: "✓"; font-weight: 900; }
.plain-list li { padding: 7px 0; color: #405f76; border-bottom: 1px solid #edf3f7; }
.plain-list li:last-child { border-bottom: 0; }
.logo-cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.platform-pill { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: #385972; background: white; font-size: .85rem; font-weight: 800; box-shadow: 0 8px 18px rgba(10,42,69,.04); }

/* Split and process */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.split.reverse { grid-template-columns: 1.05fr .95fr; }
.feature-panel { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, white, #f0f8fe); box-shadow: var(--shadow-sm); }
.feature-panel.dark { color: white; border-color: #244761; background: linear-gradient(145deg, #0c253a, #123c5b); }
.feature-panel.dark .muted, .feature-panel.dark p { color: #b1c8d9; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.stat strong { display: block; color: var(--primary-dark); font-size: 1.55rem; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.process { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.process::before { position: absolute; top: 25px; right: 6%; left: 6%; height: 1px; content: ""; background: linear-gradient(90deg, var(--primary), var(--cyan), var(--violet)); }
.process-step { position: relative; text-align: center; }
.process-number { position: relative; z-index: 1; display: grid; width: 50px; height: 50px; margin: 0 auto 16px; place-items: center; color: white; border: 7px solid var(--surface-soft); border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--cyan)); font-size: .76rem; font-weight: 900; box-sizing: content-box; }
.process-step h3 { margin: 0 0 6px; font-size: .95rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }

/* Page hero */
.page-hero { position: relative; padding: 94px 0 80px; overflow: hidden; background: linear-gradient(180deg, #f8fcff, #f2f8fd); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; font-size: clamp(2.8rem, 5.6vw, 5.2rem); }
.page-hero p { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 1.18rem; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 30px; color: #71889b; font-size: .8rem; font-weight: 700; }
.breadcrumb a:hover { color: var(--primary); }
.page-hero.compact { padding: 74px 0 64px; }
.page-hero.compact h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }

/* CTA */
.cta-panel {
  position: relative;
  padding: 58px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  background:
    radial-gradient(circle at 90% 0, rgba(66, 211, 234, .26), transparent 32%),
    linear-gradient(120deg, #0b2740, #0c4870 62%, #0b5d7a);
  box-shadow: 0 30px 70px rgba(8, 43, 68, .23);
}
.cta-panel::after { position: absolute; right: -80px; bottom: -120px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 86px rgba(255,255,255,.02); }
.cta-content { position: relative; z-index: 1; max-width: 760px; }
.cta-panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.04em; }
.cta-panel p { max-width: 650px; margin: 16px 0 0; color: #c3d7e6; font-size: 1.08rem; }

/* Results */
.result-card { min-height: 280px; display: flex; flex-direction: column; }
.result-sector { color: var(--primary-dark); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.result-card h3 { font-size: 1.4rem; }
.result-card .card-link { margin-top: auto; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: white; text-align: center; }
.kpi strong { display: block; color: var(--primary-dark); font-size: 1.45rem; }
.kpi span { color: var(--muted); font-size: .8rem; font-weight: 700; }

/* Forms */
.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 40px; align-items: start; }
.form-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: #315069; font-size: .83rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  background: #fbfdff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(19,123,209,.11); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; color: var(--muted); font-size: .8rem; }
.checkbox input { margin-top: 4px; }
.form-status { display: none; margin-top: 15px; padding: 12px 14px; border-radius: 10px; color: #087753; background: #e8fbf4; font-size: .84rem; font-weight: 700; }
.contact-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); }
.contact-card + .contact-card { margin-top: 14px; }
.contact-card strong { display: block; margin-bottom: 4px; }
.contact-card a { color: var(--primary-dark); font-weight: 800; }

/* FAQ */
.faq { max-width: 900px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-weight: 800; }
.faq-button::after { color: var(--primary); content: "+"; font-size: 1.35rem; transition: transform .2s ease; }
.faq-button[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 0 22px; color: var(--muted); }
.faq-button[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }

/* ERP */
.erp-frame-wrap { position: relative; min-height: 940px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.erp-frame-wrap iframe { display: block; width: 100%; min-height: 940px; border: 0; background: white; }
.erp-loading { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; color: var(--muted); }
.erp-loading span { display: inline-block; width: 28px; height: 28px; margin-right: 10px; border: 3px solid var(--line); border-top-color: var(--primary); border-radius: 50%; vertical-align: middle; animation: spin 1s linear infinite; }
.erp-fallback { display: none; margin-top: 18px; padding: 18px; border: 1px solid #f2d69a; border-radius: 14px; color: #735421; background: #fff9eb; }

/* Legal/content */
.prose { max-width: 840px; }
.prose h2 { margin: 42px 0 12px; font-size: 1.7rem; letter-spacing: -.025em; }
.prose h3 { margin: 30px 0 8px; font-size: 1.2rem; }
.prose p, .prose li { color: #49677e; }
.prose a { color: var(--primary-dark); text-decoration: underline; }
.prose li + li { margin-top: 7px; }
.article-card { overflow: hidden; padding: 0; }
.article-art { height: 170px; background: linear-gradient(135deg, #e8f4fe, #e7fbfc); }
.article-art::before { display: block; width: 62%; height: 62%; margin: auto; border: 1px solid rgba(19,123,209,.22); border-radius: 50%; content: ""; transform: translateY(32px); box-shadow: 0 0 0 24px rgba(19,123,209,.05), 0 0 0 48px rgba(6,182,212,.04); }
.article-body { padding: 26px; }
.article-body h3 { margin-top: 8px; }
.article-meta { color: var(--primary-dark); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

/* Footer and fixed actions */
.site-footer { padding: 72px 0 24px; color: #d9e6ef; background: #071a2b; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 46px; }
.footer-brand img { width: 185px; padding: 8px; border-radius: 10px; background: white; }
.footer-brand p { max-width: 340px; color: #91acc0; font-size: .9rem; }
.footer-title { margin: 0 0 14px; color: white; font-size: .85rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: #a9bfce; font-size: .87rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #7f9bad; font-size: .76rem; }
.whatsapp-float { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: inline-flex; min-height: 52px; align-items: center; gap: 9px; padding: 12px 17px; color: white; border-radius: 999px; background: #0c9f69; box-shadow: 0 16px 34px rgba(12,159,105,.3); font-size: .84rem; font-weight: 850; }
.whatsapp-float:hover { transform: translateY(-2px); }
.cookie-banner { position: fixed; z-index: 1100; right: 18px; bottom: 18px; left: 18px; display: none; max-width: 780px; margin: auto; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-lg); }
.cookie-banner.show { display: flex; align-items: center; gap: 18px; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .8rem; }
.cookie-banner .btn { min-height: 42px; white-space: nowrap; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open { position: fixed; inset: 82px 0 auto; display: block; max-height: calc(100vh - 82px); padding: 18px 20px 28px; overflow-y: auto; border-top: 1px solid var(--line); background: white; box-shadow: var(--shadow-lg); }
  .main-nav.open .nav-link, .main-nav.open .nav-trigger { width: 100%; display: block; padding: 13px 12px; text-align: left; }
  .main-nav.open .nav-item { display: block; }
  .main-nav.open .dropdown { position: static; width: 100%; display: block; padding: 0 0 0 10px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .main-nav.open + .nav-cta { display: inline-flex; position: fixed; z-index: 2; right: 20px; bottom: 18px; left: 20px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-visual { width: min(100%, 650px); margin: -20px auto 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .process::before { display: none; }
  .footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .footer-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .section-sm { padding: 56px 0; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 170px; }
  .main-nav.open { inset: 72px 0 auto; max-height: calc(100vh - 72px); }
  .hero { min-height: auto; padding: 78px 0 60px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 13.5vw, 4.2rem); }
  .hero-visual { min-height: 440px; }
  .dashboard { inset: 55px 0 32px 18px; padding: 18px; }
  .float-a { top: 14px; right: 0; }
  .float-b { left: 0; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid .metric:last-child { display: none; }
  .grid-2, .grid-3, .split, .split.reverse, .form-layout { grid-template-columns: 1fr; }
  .split { gap: 38px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-row, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 70px 0 60px; }
  .page-hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .cta-panel { padding: 38px 26px; }
  .form-card { padding: 25px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .erp-frame-wrap, .erp-frame-wrap iframe { min-height: 1180px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; justify-content: center; padding: 0; }
  .whatsapp-float span { display: none; }
  .cookie-banner.show { flex-direction: column; align-items: stretch; }
}

@media (max-width: 520px) {
  .grid-4, .stat-row, .kpi-grid, .process { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .metric { padding: 11px; }
  .channel-row { grid-template-columns: repeat(2, 1fr); }
  .float-card { padding: 11px 13px; }
  .trust-line { display: grid; gap: 8px; }
  .card { padding: 25px; }
  .button-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
}
