/* ==========================================================================
   Externa Network — sistema visual do site
   Um único arquivo para a página inicial, a página do RMM e as páginas
   internas. As classes antigas das páginas internas foram mantidas.
   ========================================================================== */

:root {
  /* Cores da marca Externa Network (logo oficial) */
  --navy: #032566;
  --green: #22842c;
  --green-d: #1a6a23;
  --green-tint: #e5f2e6;
  --green-light: #8bd17c;

  --paper: #f5f7fa;
  --white: #ffffff;
  --mist: #edf1f6;
  --ink: #0a1e46;
  --ink-2: #4a5878;
  --line: #d5dce7;
  --line-2: #bcc6d6;
  --focus: #2f6fdb;

  --night: var(--navy);
  --night-2: #0b3176;
  --night-line: #26488c;
  --night-text: #dfe6f3;
  --night-muted: #aebbd8;

  --ok: #2e9d3a;
  --warn: #b45f06;
  --warn-dot: #f0a43a;
  --warn-bg: #fff3e0;
  --crit: #b42318;
  --crit-dot: #e5484d;
  --crit-bg: #fdecea;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  --max: 1200px;
  --gutter: 24px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { font-stretch: 118%; font-weight: 760; letter-spacing: -0.022em; line-height: 1.04; }
h2 { font-stretch: 112%; font-weight: 720; letter-spacing: -0.018em; line-height: 1.12; font-size: clamp(1.75rem, 1.15rem + 2.1vw, 2.5rem); }
h3 { font-stretch: 104%; font-weight: 650; line-height: 1.3; font-size: 1.2rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--green-light); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { left: 12px; }
.muted { color: var(--ink-2); }
.kicker, .thanks-card .kicker { color: var(--green); font-weight: 650; margin: 0 0 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 20px; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-d); color: var(--white); }
.btn-secondary { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--green-light); color: var(--night); }
.btn-light:hover { background: #a6dd99; color: var(--night); }
.btn-ghost-dark { background: transparent; border-color: var(--night-line); color: var(--night-text); }
.btn-ghost-dark:hover { border-color: var(--green-light); color: var(--white); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 650; color: var(--green-d); }

/* ---------- Topo ---------- */
.topbar { background: var(--night); color: var(--night-text); font-size: .875rem; }
.topbar .container { padding: 7px 0; text-align: center; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; text-decoration: none; }
.brand-logo { display: block; height: 40px; width: auto; max-width: 100%; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 9px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav a.nav-cta { margin-left: 10px; background: var(--green); color: var(--white); padding: 10px 16px; border-radius: 10px; display: inline-flex; gap: 8px; align-items: center; }
.nav a.nav-cta:hover { background: var(--green-d); color: var(--white); }
.nav a.nav-cta svg { width: 18px; height: 18px; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line-2); background: var(--white); border-radius: 10px; font-weight: 650; cursor: pointer; }
.menu-toggle::before { content: ""; width: 18px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat; }
.menu-toggle[aria-expanded="true"]::before { background: linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat; }

/* ---------- Páginas internas: herói e seções ---------- */
.breadcrumbs { padding-top: 20px; color: var(--ink-2); font-size: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumbs a { color: var(--ink-2); }

.hero { padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(2rem, 1.1rem + 2.5vw, 3.1rem); font-stretch: 112%; margin-bottom: 20px; max-width: 22ch; }
.grecaptcha-badge { visibility: hidden; }
.hero p.lead, .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 60ch; margin: 0 0 28px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-weight: 650; font-size: .95rem; }
.hero-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.hero-panel h2 { font-size: 1.15rem; font-stretch: 104%; margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2322842c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; max-width: 720px; border-top: 1px solid var(--line); }
.trust-row div { padding: 14px 16px 0 0; }
.trust-row strong { display: block; font-size: 1.15rem; font-stretch: 110%; }
.trust-row span { color: var(--ink-2); font-size: .9rem; }

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--mist); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); }
.card .icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; background: var(--green-tint); color: var(--green-d); font-weight: 700; font-size: .95rem; }
.service-card { display: flex; flex-direction: column; }
.service-card a { margin-top: auto; padding-top: 20px; font-weight: 650; }
.step { position: relative; padding-left: 62px; }
.step-number { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--green); color: var(--green-d); display: grid; place-items: center; font-weight: 750; font-stretch: 112%; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; background: var(--white); font-size: .95rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.feature-list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }

.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p, .faq details > div { margin: 0; padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq details > div p:last-child { margin-bottom: 0; }

.cta { padding: 40px; border-radius: var(--r-lg); background: var(--night); color: var(--night-text); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: var(--white); margin: 0 0 8px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.cta p { margin: 0; color: var(--night-muted); }
.cta .kicker { color: var(--green-light); }
.cta .btn-primary { background: var(--green-light); color: var(--night); flex: 0 0 auto; }
.cta .btn-primary:hover { background: #a6dd99; }

.feature-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--r-lg); }
.feature-banner h2 { font-size: 1.6rem; margin-bottom: 6px; }
.feature-banner p:last-child { margin: 0; color: var(--ink-2); max-width: 62ch; }
.notice { border: 1px solid #e9c48a; background: var(--warn-bg); color: var(--ink); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 28px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 32%; font-weight: 650; }
.data-table td { color: var(--ink-2); }
.example-label { display: inline-block; color: var(--warn); background: var(--warn-bg); border: 1px solid #e9c48a; padding: 2px 8px; border-radius: 6px; font-size: .78rem; font-weight: 650; }
.metric { font-size: 2.4rem; line-height: 1; font-weight: 760; font-stretch: 115%; margin-bottom: 8px; }
.case-card { position: relative; }
.case-card .example-label { position: absolute; right: 18px; top: 18px; }
.case-result { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--green-d); font-weight: 650; }
.page-index { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.page-index article h2 { font-size: 1.4rem; margin: 32px 0 10px; }
.page-index article h2:first-of-type { margin-top: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; }
.toc a { color: var(--ink-2); text-decoration: none; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--ink); border-left-color: var(--green); }

/* ---------- Formulários ---------- */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.contact-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: .95rem; }
.field .optional { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: 10px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34, 132, 44, .2); }
.field [aria-invalid="true"] { border-color: var(--crit); }
.field-error { color: var(--crit); font-size: .9rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.fineprint { color: var(--ink-2); font-size: .875rem; margin: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 4px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--crit); background: var(--crit-bg); border-radius: var(--r-sm); padding: 12px 14px; }
.form-status.is-success { color: var(--green-d); background: var(--green-tint); border-radius: var(--r-sm); padding: 12px 14px; }

/* ---------- Rodapé ---------- */
/* Rodapé claro: a logo oficial aparece com as cores originais */
.footer { background: var(--white); color: var(--ink-2); border-top: 4px solid var(--navy); padding: 56px 0 28px; }
.brand-footer { display: inline-block; }
.brand-footer img { display: block; width: 280px; max-width: 100%; height: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.footer h3 { font-size: .95rem; font-stretch: 100%; color: var(--ink); margin: 0 0 14px; }
.footer p { color: var(--ink-2); margin: 16px 0 20px; max-width: 42ch; }
.footer a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.footer a:not(.btn):hover { color: var(--green-d); text-decoration: underline; }
.footer-links { display: grid; gap: 9px; }
.footer-contact { display: grid; gap: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 20px; color: var(--ink-2); font-size: .85rem; }

/* ==========================================================================
   Página inicial
   ========================================================================== */
.home-hero { padding: 64px 0 72px; }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: center; gap: 64px; }
.home-hero h1 { font-size: clamp(2.1rem, 1.1rem + 2.6vw, 3.25rem); font-stretch: 112%; max-width: 19ch; margin-bottom: 22px; }
.home-hero .lead { margin-bottom: 30px; }
.assurances { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.assurances li { font-size: .95rem; color: var(--ink-2); line-height: 1.4; }
.assurances strong { display: block; color: var(--ink); font-size: 1.05rem; font-stretch: 108%; margin-bottom: 2px; }

/* Registro de atendimento (ilustração do herói) */
.log-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 48px -32px rgba(3, 37, 102, .35); overflow: hidden; }
.log-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.log-head h2 { font-size: 1.05rem; font-stretch: 104%; }
.illus-label { font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
.log-list { list-style: none; margin: 0; padding: 8px 0; position: relative; }
.log-list::before { content: ""; position: absolute; left: 85px; top: 20px; bottom: 20px; width: 1.5px; background: var(--line); }
.log-row { display: grid; grid-template-columns: 52px 18px 1fr; gap: 12px; padding: 11px 22px; align-items: start; }
.log-row time { font-family: var(--mono); font-size: .85rem; color: var(--ink-2); padding-top: 2px; }
.log-dot { width: 12px; height: 12px; margin: 5px 0 0 3px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--line-2); position: relative; z-index: 1; }
.log-row[data-state="warn"] .log-dot { border-color: var(--warn-dot); background: var(--warn-dot); }
.log-row[data-state="act"] .log-dot { border-color: var(--green); }
.log-row[data-state="ok"] .log-dot { border-color: var(--ok); background: var(--ok); }
.log-row p { margin: 0; font-size: .97rem; line-height: 1.45; }
.log-row p small { display: block; color: var(--ink-2); font-size: .85rem; margin-top: 2px; }
.log-foot { margin: 0; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--paper); font-size: .88rem; color: var(--ink-2); }

/* Única animação automática da página: o registro aparece linha a linha.
   O estado final é o estado normal do elemento; sem animação, tudo fica visível. */
@media (prefers-reduced-motion: no-preference) {
  .log-row { animation: log-in .45s ease backwards; }
  .log-row:nth-child(1) { animation-delay: .25s; }
  .log-row:nth-child(2) { animation-delay: .7s; }
  .log-row:nth-child(3) { animation-delay: 1.15s; }
  .log-row:nth-child(4) { animation-delay: 1.6s; }
  .log-row:nth-child(5) { animation-delay: 2.05s; }
}
@keyframes log-in { from { opacity: 0; transform: translateY(6px); } }

/* Situações */
.situations { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.situations-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.situations-intro h2 { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.25rem); margin-bottom: 16px; }
.situations-intro p { color: var(--ink-2); font-size: 1.1rem; }
.segments { color: var(--ink-2); font-size: .95rem; margin-top: 24px; }
.segments strong { color: var(--ink); display: block; margin-bottom: 4px; }
.sit-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.sit-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sit-list .sit-problem { font-weight: 650; font-size: 1.05rem; line-height: 1.45; }
.sit-list .sit-answer { color: var(--ink-2); line-height: 1.5; }
.sit-list .sit-answer a { font-weight: 600; }
.sit-head { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 0 10px; font-size: .88rem; color: var(--ink-2); font-weight: 600; }

/* Serviços */
.svc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.svc-group h3 { font-size: 1rem; font-stretch: 100%; color: var(--ink-2); font-weight: 600; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.svc-group ul { list-style: none; margin: 0; padding: 0; }
.svc-group li { border-bottom: 1px solid var(--line); }
.svc-group a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; text-decoration: none; color: var(--ink); }
.svc-group a strong { font-size: 1.15rem; font-stretch: 108%; font-weight: 680; }
.svc-group a span { grid-column: 1; color: var(--ink-2); font-size: .97rem; }
.svc-group a::after { content: ""; grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 10px; height: 10px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg); transition: transform .15s ease; }
.svc-group a:hover strong { color: var(--green-d); }
.svc-group a:hover::after { transform: translateX(3px) rotate(45deg); }
.svc-group a.is-featured strong::after { content: "Produto da Externa"; margin-left: 10px; font-size: .75rem; font-weight: 600; font-stretch: 100%; color: var(--green-d); background: var(--green-tint); padding: 3px 8px; border-radius: 999px; vertical-align: 3px; }

/* Faixa escura do RMM */
.rmm-band { background: var(--night); color: var(--night-text); padding: 96px 0; }
.rmm-band h2, .rmm-band h3 { color: var(--white); }
.rmm-band .lead { color: var(--night-muted); }
.rmm-band a:not(.btn) { color: var(--green-light); }
.rmm-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 56px; align-items: center; margin-bottom: 64px; }
.rmm-top h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); margin-bottom: 18px; max-width: 18ch; }
.rmm-top .actions { margin-top: 28px; }
.rmm-note { margin-top: 18px; font-size: .92rem; color: var(--night-muted); }
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.caps > div { border-top: 1.5px solid var(--green-light); padding-top: 18px; }
.caps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.caps p { color: var(--night-muted); font-size: .97rem; margin-bottom: 12px; }
.caps ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; color: var(--night-text); }
.caps li { padding: 5px 0; border-bottom: 1px solid var(--night-line); }

/* Ficha de computador (ilustração) */
.device-card { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-lg); overflow: hidden; color: var(--night-text); }
.device-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--night-line); }
.device-card .host { font-family: var(--mono); font-size: .98rem; color: var(--white); }
.device-card .host small { display: block; font-family: var(--font); color: var(--night-muted); font-size: .82rem; margin-top: 2px; }
.device-card .illus-label { color: var(--night-muted); }
.device-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.device-card dl > div { padding: 13px 20px; border-bottom: 1px solid var(--night-line); }
.device-card dl > div:nth-child(odd) { border-right: 1px solid var(--night-line); }
.device-card dt { font-size: .8rem; color: var(--night-muted); }
.device-card dd { margin: 2px 0 0; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.meter { flex: 1; height: 6px; border-radius: 3px; background: var(--night-line); overflow: hidden; max-width: 90px; }
.meter i { display: block; height: 100%; background: var(--green-light); }
.meter.is-warn i { background: var(--warn-dot); }
.state { display: inline-flex; align-items: center; gap: 6px; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.state.is-warn::before { background: var(--warn-dot); }
.device-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 20px; background: rgba(240, 164, 58, .12); color: #ffd9a6; font-size: .92rem; }
.device-alert::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--warn-dot); }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan h3 { font-size: 1.35rem; font-stretch: 112%; }
.plan .plan-for { color: var(--ink-2); margin: 0; min-height: 3em; }
.plan .price { font-size: 2.1rem; font-weight: 760; font-stretch: 112%; line-height: 1.1; }
.plan .price small { display: block; font-size: .85rem; font-weight: 500; font-stretch: 100%; color: var(--ink-2); margin-top: 4px; }
.plan .checklist { margin: 4px 0 8px; }
.plan .btn { margin-top: auto; }
.plan.is-highlight { background: linear-gradient(var(--green-tint), var(--white) 160px); box-shadow: inset 0 3px 0 var(--green); }
.plan .badge { position: absolute; top: 16px; right: 18px; font-size: .8rem; font-weight: 650; color: var(--green-d); background: var(--white); border: 1px solid var(--green); padding: 2px 10px; border-radius: 999px; }
.plans-note { margin-top: 18px; color: var(--ink-2); font-size: .95rem; max-width: 80ch; }

/* Processo */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process li { counter-increment: step; padding: 0 22px 0 0; position: relative; }
.process li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--green); color: var(--green-d); font-weight: 750; margin-bottom: 18px; position: relative; z-index: 1; }
.process li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1.5px; background: var(--line-2); }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1.1rem; margin-bottom: 6px; }
.process p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* Dúvidas */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }

/* Contato */
.contact-section { padding: 96px 0; background: var(--mist); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-grid h2 { margin-bottom: 16px; }
.contact-grid > div > p { color: var(--ink-2); font-size: 1.08rem; }
.channels { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.channels li { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.channels span { display: block; font-size: .88rem; color: var(--ink-2); }
.channels a { font-weight: 650; font-size: 1.1rem; }
.next-steps { margin: 28px 0 0; padding: 0 0 0 20px; color: var(--ink-2); }
.next-steps li { margin-bottom: 6px; }
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 18px; }
.lead-form h3 { font-size: 1.3rem; font-stretch: 108%; }
.lead-form .btn { width: 100%; }

/* ==========================================================================
   Página do RMM
   ========================================================================== */
.rmm-hero { padding: 40px 0 72px; }
.rmm-hero h1 { font-size: clamp(2rem, 1.1rem + 2.5vw, 3.1rem); max-width: 22ch; margin-bottom: 20px; }
.rmm-hero .hero-grid { align-items: center; }
.price-hint { margin: 18px 0 0; font-size: .95rem; color: var(--ink-2); }

/* Parque (ilustração) */
.fleet { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 24px 48px -32px rgba(3, 37, 102, .35); }
.fleet-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 16px; }
.fleet-head h2 { font-size: 1.05rem; font-stretch: 104%; }
.fleet-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.fleet-grid span { aspect-ratio: 1; border-radius: 6px; background: var(--green-tint); border: 1.5px solid #b5d9b9; }
.fleet-grid span.w { background: var(--warn-bg); border-color: var(--warn-dot); }
.fleet-grid span.o { background: var(--mist); border-color: var(--line-2); border-style: dashed; }
.fleet-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); list-style: none; }
.fleet-legend li { display: inline-flex; align-items: center; gap: 8px; }
.fleet-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--green-tint); border: 1.5px solid #b5d9b9; }
.fleet-legend i.w { background: var(--warn-bg); border-color: var(--warn-dot); }
.fleet-legend i.o { background: var(--mist); border: 1.5px dashed var(--line-2); }
.fleet-events { list-style: none; margin: 14px 0 0; padding: 0; font-size: .9rem; }
.fleet-events li { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); }
.fleet-events code { font-family: var(--mono); font-size: .85rem; color: var(--ink); }

.definition { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.definition h2 { margin-bottom: 18px; }
.definition .big { font-size: clamp(1.2rem, 1rem + .7vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.who-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.who-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.who-list strong { color: var(--ink); display: block; }

.module { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; padding-top: 0; }
.module-intro h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: 12px; }
.module-intro p { color: var(--ink-2); }
.module-intro .why { color: var(--ink); border-left: 3px solid var(--green); padding-left: 14px; margin-top: 18px; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.spec-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list strong { display: block; font-weight: 650; }
.spec-list span { color: var(--ink-2); font-size: .95rem; }
.spec-list .tier { font-style: normal; display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--mist); border-radius: 999px; padding: 1px 8px; }
.module-note { grid-column: 2; margin: 18px 0 0; font-size: .93rem; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }

/* Relatório (ilustração) */
.report { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.report-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 12px; }
.report-head strong { font-size: .98rem; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 170px 1fr 34px; gap: 12px; align-items: center; font-size: .9rem; }
.bars .track { height: 10px; background: var(--mist); border-radius: 5px; overflow: hidden; }
.bars .track i { display: block; height: 100%; background: var(--green); border-radius: 5px; }
.bars .track i.w { background: var(--warn-dot); }
.bars .track i.o { background: var(--line-2); }
.bars b { text-align: right; font-weight: 650; }

/* Productivity */
.prod-band { background: var(--white); border-block: 1px solid var(--line); }
.day-bar { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; background: var(--paper); }
.day-track { display: flex; height: 18px; border-radius: 5px; overflow: hidden; margin: 12px 0; }
.day-track i { display: block; height: 100%; }
.day-track .a { background: var(--green); }
.day-track .i { background: var(--warn-dot); }
.day-track .b { background: var(--line-2); }
.day-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
.day-legend li { display: inline-flex; align-items: center; gap: 7px; }
.day-legend i { width: 10px; height: 10px; border-radius: 2px; }
.governance { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.governance > div { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.governance h3 { font-size: 1.05rem; margin-bottom: 6px; }
.governance p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* Monitoramento visual avançado */
.adv-band { background: var(--night); color: var(--night-text); padding: 96px 0; }
.adv-band h2, .adv-band h3 { color: var(--white); }
.adv-band .section-head p { color: var(--night-muted); }
.adv-band a:not(.btn) { color: var(--green-light); }
.addon-flag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 12px; border: 1px solid var(--warn-dot); color: #ffd9a6; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.adv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.adv-item { padding: 28px 0; border-top: 1px solid var(--night-line); }
.adv-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.adv-item p { color: var(--night-muted); font-size: .98rem; }
.adv-item ul { margin: 0; padding-left: 18px; color: var(--night-text); font-size: .95rem; }
.adv-item li { margin-bottom: 5px; }
.adv-item .limit { margin-top: 12px; font-size: .9rem; color: #ffd9a6; }
.mosaic { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 360px; }
.mosaic span { aspect-ratio: 16 / 10; border-radius: 4px; background: var(--night-2); border: 1px solid var(--night-line); position: relative; }
.mosaic span::before { content: ""; position: absolute; left: 12%; right: 30%; top: 22%; height: 10%; border-radius: 2px; background: var(--night-line); }
.mosaic span::after { content: ""; position: absolute; left: 12%; right: 12%; top: 44%; bottom: 18%; border-radius: 2px; background: rgba(98, 183, 255, .12); }
.mosaic span.sel { border-color: var(--green-light); box-shadow: 0 0 0 1px var(--green-light); }
.keylog { grid-column: 1 / -1; margin-top: 8px; padding: 28px; border: 1px solid var(--warn-dot); border-radius: var(--r-lg); background: rgba(240, 164, 58, .06); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; }
.keylog h3 { font-size: 1.25rem; margin-bottom: 8px; }
.keylog p { color: var(--night-muted); }
.keylog ul { margin: 0; padding-left: 18px; }
.keylog li { margin-bottom: 6px; }
.legal-note { margin-top: 36px; padding: 22px 24px; border-left: 3px solid var(--green-light); background: var(--night-2); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--night-text); }
.legal-note p:last-child { margin-bottom: 0; }

/* Comparação */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.table-scroll:focus-visible { outline-offset: 4px; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.compare caption { text-align: left; padding: 18px 20px 6px; color: var(--ink-2); font-size: .9rem; caption-side: top; }
.compare th, .compare td { padding: 12px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-size: .95rem; font-stretch: 104%; background: var(--paper); border-bottom: 1.5px solid var(--ink); }
.compare thead th small { display: block; font-weight: 500; color: var(--ink-2); font-size: .82rem; font-stretch: 100%; }
.compare tbody th { font-weight: 600; width: 34%; }
.compare .grp th { background: var(--mist); font-size: .85rem; color: var(--ink-2); font-weight: 650; padding-top: 10px; padding-bottom: 10px; }
.compare td { color: var(--ink-2); }
.yes { color: var(--green-d); font-weight: 650; }
.yes::before { content: ""; display: inline-block; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); margin: 0 8px 3px 1px; }
.no { color: var(--line-2); }

.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.limits h3 { margin-bottom: 12px; }
.limits ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.limits li { margin-bottom: 8px; }

/* ==========================================================================
   Chat
   ========================================================================== */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 650; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 12px 28px -12px rgba(3, 37, 102, .6); }
.chat-toggle::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 3px rgba(139, 209, 124, .3); }
.chat-toggle:hover { background: var(--night-2); }
.chat-widget.is-open .chat-toggle { display: none; }
.chat-panel { display: none; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -24px rgba(3, 37, 102, .45); overflow: hidden; flex-direction: column; }
.chat-widget.is-open .chat-panel { display: flex; }
.chat-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--white); }
.chat-title { margin: 0; font-weight: 700; font-stretch: 108%; }
.chat-subtitle { font-size: .85rem; color: var(--night-muted); }
.chat-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.chat-close:hover { background: var(--night-2); }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.chat-message { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-line; }
.chat-message.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-message.user { align-self: flex-end; background: var(--green); color: var(--white); border-bottom-right-radius: 4px; }
.chat-typing { display: inline-flex; gap: 4px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); animation: chat-blink 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; background: var(--paper); }
.chat-options:not(:empty) { padding-bottom: 12px; }
.chat-option { border: 1.5px solid var(--green); background: var(--white); color: var(--green-d); border-radius: 999px; padding: 7px 13px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.chat-option:hover { background: var(--green-tint); }
.chat-footer { border-top: 1px solid var(--line); padding: 12px 16px 14px; display: grid; gap: 8px; }
.chat-input-row { display: flex; gap: 8px; }
.chat-input-row input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; }
.chat-input-row input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34, 132, 44, .2); }
.chat-send { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--green); color: var(--white); font-weight: 650; cursor: pointer; }
.chat-send:hover { background: var(--green-d); }
.chat-row-2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chat-skip { border: 0; background: none; padding: 4px 0; color: var(--ink-2); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.chat-lgpd { margin: 0; font-size: .78rem; color: var(--ink-2); line-height: 1.4; }
.chat-lgpd a { color: var(--ink-2); }
.chat-send:disabled, .chat-skip:disabled, .chat-input-row input:disabled { opacity: .5; cursor: not-allowed; }

/* Página de agradecimento */
.thanks { min-height: 70vh; display: grid; place-items: center; padding: 64px 0; }
.thanks-card { max-width: 640px; }
.thanks-card h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 16px; }
.thanks-card p { color: var(--ink-2); font-size: 1.1rem; }
.thanks-card .actions { margin-top: 28px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { display: grid; grid-template-columns: 40px 1fr; gap: 0 18px; padding: 0 0 26px; }
  .process li::before { grid-row: 1 / span 2; margin: 0; }
  .process li::after { top: 40px; bottom: 0; left: 20px; right: auto; width: 1.5px; height: auto; }
  .process h3 { padding-top: 8px; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: calc(var(--header-h) - 4px); left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 24px 40px -24px rgba(3, 37, 102, .4); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); }
  .nav a.nav-cta { margin: 6px 0 0; justify-content: center; }
  .hero-grid, .home-hero .hero-grid, .contact-layout, .page-index, .situations, .rmm-top, .faq-wrap, .contact-grid, .definition, .module, .limits, .keylog { grid-template-columns: 1fr; }
  .hero-grid, .home-hero .hero-grid { gap: 40px; }
  .situations-intro, .faq-wrap .section-head { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-groups { grid-template-columns: 1fr; gap: 36px; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan .plan-for { min-height: 0; }
  .module { gap: 24px; }
  .module-note { grid-column: 1; }
  .governance { grid-template-columns: 1fr; gap: 20px; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .toc { position: static; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .brand-logo { height: 30px; }
  .brand-footer img { width: 240px; }
  body { font-size: 1rem; }
  .section, .rmm-band, .adv-band, .contact-section { padding: 64px 0; }
  .home-hero { padding: 40px 0 56px; }
  .hero { padding: 40px 0 48px; }
  .actions .btn { width: 100%; }
  .assurances { grid-template-columns: 1fr; gap: 12px; }
  .grid-2, .grid-3, .grid-4, .feature-list, .form-grid, .caps, .spec-list { grid-template-columns: 1fr; }
  .sit-head { display: none; }
  .sit-list li { grid-template-columns: 1fr; gap: 6px; }
  .trust-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .lead-form, .contact-card { padding: 22px; }
  .log-list::before { left: 77px; }
  .log-row { grid-template-columns: 46px 16px 1fr; gap: 10px; padding: 10px 16px; }
  .log-head, .log-foot { padding-inline: 16px; }
  .fleet-grid { gap: 5px; }
  .bars li { grid-template-columns: 1fr 34px; }
  .bars li .track { grid-column: 1 / -1; grid-row: 2; }
  .device-card dl > div { padding: 12px 14px; }
  .device-card dd { flex-wrap: wrap; gap: 4px 8px; }
  .device-card .meter { flex-basis: 100%; max-width: none; }
  .keylog { padding: 22px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }
  .data-table th { width: auto; border-bottom: 0; padding-bottom: 2px; }
  .data-table td { padding-top: 2px; }
  .chat-widget { right: 12px; bottom: 12px; }
  .chat-toggle { min-height: 44px; padding: 10px 14px; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .topbar, .chat-widget, .footer, .actions { display: none !important; }
  body { background: #fff; }
}
